Skip to content

Commit

Permalink
remove old convert code
Browse files Browse the repository at this point in the history
  • Loading branch information
silochad committed Jun 30, 2023
1 parent a411656 commit 2677e62
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 227 deletions.
89 changes: 0 additions & 89 deletions projects/ui/src/components/Silo/Actions/Deposits.stories.tsx

This file was deleted.

130 changes: 0 additions & 130 deletions projects/ui/src/lib/Beanstalk/Silo/Convert.ts

This file was deleted.

9 changes: 1 addition & 8 deletions projects/ui/src/state/farmer/silo/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,6 @@ export type LegacyDepositCrate = LegacyCrate & {
seeds: BigNumberJS;
};

/**
* A "Withdrawal" represents an amount of a "Deposit"
* that was removed from the Silo. Withdrawals remain pending
* for several seasons until they are ready to be Claimed.
*/
export type LegacyWithdrawalCrate = LegacyCrate & {};

/**
* A "Silo Balance" provides all information
* about a Farmer's ownership of a Whitelisted Silo Token.
Expand All @@ -56,7 +49,7 @@ export type FarmerSiloBalance = {
/** */
bdv: BigNumberJS;
/** All Withdrawal crates. */
crates: LegacyWithdrawalCrate[];
crates: any[];
};

/** @deprecated */
Expand Down
1 change: 1 addition & 0 deletions projects/ui/src/util/Crates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
export const STALK_PER_SEED_PER_SEASON = 1 / 10_000;

/**
* @deprecated TODO: Refactor this to a selector, use the SDK
*/
export const selectCratesForEnroot = (
beanstalk: Beanstalk,
Expand Down

0 comments on commit 2677e62

Please sign in to comment.