Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BIP–48: Whitelist BEANwstETH and Migrate Unripe Liquidity #758

Merged
merged 244 commits into from
Jul 26, 2024
Merged
Show file tree
Hide file tree
Changes from 243 commits
Commits
Show all changes
244 commits
Select commit Hold shift + click to select a range
fd7c5fc
First attempt steth oracle + eth/usd changes
BrendanSanderson Nov 15, 2023
d58220f
Merge branch 'bip39-seedgauge' into add-steth-oracle
BrendanSanderson Jan 25, 2024
c1b6521
add oracle tests
BrendanSanderson Jan 26, 2024
3bcf6a2
merged with seedGauge
BrendanSanderson Jan 26, 2024
4a663dc
fix failing tests
BrendanSanderson Jan 26, 2024
f3cb50d
remove extraneous file
BrendanSanderson Feb 7, 2024
e36d92c
init migration
BrendanSanderson Feb 8, 2024
ef43b1d
Skip reset tests when RPC missing. minor fixes elsewhere.
publiuss Feb 8, 2024
1103605
Merge branch 'add-steth-oracle' into wsteth-migration
BrendanSanderson Feb 8, 2024
6eb4e60
skipping Bean:3crv -> Bean:Eth migration b/c it already happened
BrendanSanderson Feb 8, 2024
24b3602
update stem tests
BrendanSanderson Feb 8, 2024
924af92
Merge branch 'seedGauge-v0.1-review' into add-steth-oracle
BrendanSanderson Feb 10, 2024
6cdcff9
Merge branch 'add-steth-oracle' into wsteth-migration
BrendanSanderson Feb 10, 2024
11064bc
broken merge
BrendanSanderson Feb 10, 2024
deca380
update
BrendanSanderson Feb 12, 2024
c896cde
tests passing
BrendanSanderson Feb 12, 2024
053bdbc
add wells version
BrendanSanderson Feb 12, 2024
5817cb8
yarn updates
BrendanSanderson Feb 12, 2024
0fe0c71
Fix failing migration test
BrendanSanderson Feb 12, 2024
267077d
Comments
BrendanSanderson Feb 12, 2024
60ecae0
Merge branch 'seedGauge-V0.1-review' into add-steth-oracle
BrendanSanderson Feb 13, 2024
28d33a8
Merge branch 'add-steth-oracle' into wsteth-migration
BrendanSanderson Feb 13, 2024
f62086f
add tests for turning off bean:eth oracle
BrendanSanderson Feb 13, 2024
a570d17
Lib Eval fix, update USD Oracle, Reduce size of Season facet
BrendanSanderson Feb 13, 2024
dadef06
fix test
BrendanSanderson Feb 13, 2024
c35ad4f
Merge branch 'bip39-seedGauge' into add-steth-oracle
BrendanSanderson Feb 14, 2024
c7f7060
Merge branch 'add-steth-oracle' into wsteth-migration
BrendanSanderson Feb 14, 2024
350eab6
remove sop constants
BrendanSanderson Feb 14, 2024
9ddaa34
review changes
BrendanSanderson Feb 17, 2024
1f6135f
Changes for Review (#779)
Brean0 Feb 19, 2024
8787bd4
Merge branch 'add-steth-oracle' into wsteth-migration
Brean0 Feb 19, 2024
e1324cd
update tests from merge
Brean0 Feb 19, 2024
65f5ef2
generalize metadata tests
Brean0 Feb 19, 2024
bb600e7
Merge branch 'update-metadata-test' into wsteth-migration
Brean0 Feb 19, 2024
204b580
format app storage
BrendanSanderson Feb 20, 2024
4ea7406
rename urBeanEth to urLP
BrendanSanderson Feb 20, 2024
71930ff
updated documentation for init sol
BrendanSanderson Feb 20, 2024
e46ee6b
add helper init function
BrendanSanderson Feb 20, 2024
9a39c57
auto add new wells to oracle
BrendanSanderson Feb 20, 2024
e0a4006
Remove BEANSTALK_PUMP from C.sol
BrendanSanderson Feb 20, 2024
97f905d
Swap sync for addLiquidity
BrendanSanderson Feb 20, 2024
c797265
Fix failing test
BrendanSanderson Feb 20, 2024
7d11d62
Update Beanstalk Price
BrendanSanderson Feb 20, 2024
0874a98
fix appsStorage
Brean0 Feb 21, 2024
0ab6512
update comment
Brean0 Feb 21, 2024
dc43e94
update initial gauge points
Brean0 Feb 21, 2024
3ab6c01
Changes to Wsteth Migration (#783)
Brean0 Feb 21, 2024
9277577
Add whitelisted Well requirement to switch Barn Raise Well
BrendanSanderson Feb 21, 2024
e6513e4
add more validation
BrendanSanderson Feb 21, 2024
4faeb3d
Merge branch 'wsteth-migration-changes' of github.com:BeanstalkFarms/…
Brean0 Feb 21, 2024
41dc181
Add whitelisted Well requirement to switch Barn Raise Well (#785)
Brean0 Feb 23, 2024
399202a
Bean:Eth -> Bean:wStEth Migration (#765)
Brean0 Feb 23, 2024
1eeb90a
remove lib from oracle helpers
Brean0 Feb 23, 2024
2370d0c
LibWsteth Comments
Brean0 Feb 23, 2024
bcd3ef3
rearrange libWstethEth
Brean0 Feb 23, 2024
530c4cc
changes (#787)
Brean0 Feb 23, 2024
68388be
merged
BrendanSanderson Mar 21, 2024
1d0734b
remove s.barnRaiseWell
Brean0 Mar 21, 2024
b95a667
add LibGerminate
BrendanSanderson Mar 21, 2024
bb66b8d
Merge branch 'add-steth-oracle' into removeBarnRaiseStorage
BrendanSanderson Mar 21, 2024
ed0a1a0
remove barnRaiseWell from appstorage
BrendanSanderson Mar 21, 2024
8dc9cbf
remove s.barnRaiseWell (#800)
Brean0 Mar 21, 2024
4a251a8
fix tests.
Brean0 Mar 21, 2024
9e42ac9
Add soil fix changes
nickkatsios Mar 22, 2024
47e905e
Revert "Add soil fix changes"
nickkatsios Mar 22, 2024
a0409a6
Merge branch 'master' into add-steth-oracle-merge
Brean0 May 8, 2024
fc235a7
Merge branch 'bip39-seedGauge' into add-steth-oracle-merge
Brean0 May 8, 2024
a05b2f4
fix merge.
Brean0 May 8, 2024
4a7ad83
Fix M-02 wsteth/eth price in extreme conditions
pizzaman1337 Jun 11, 2024
f453c54
Fix M-03: Protocol unintentionally implements an asymmetric method of…
pizzaman1337 Jun 11, 2024
900c9c9
Update comment in previous commit to include audit comment
pizzaman1337 Jun 11, 2024
0c7fe76
L-01 and L-02
pizzaman1337 Jun 11, 2024
a934244
L-04 fix getBeanAmountOut
pizzaman1337 Jun 12, 2024
3bf4755
L-05 Fix lookback for wsteth
pizzaman1337 Jun 12, 2024
ce023d2
wstETH Migration Remediations (#922)
pizzaman1337 Jun 25, 2024
e669467
Revert "wstETH Migration Remediations"
Brean0 Jun 25, 2024
527b239
Revert "wstETH Migration Remediations" (#932)
Brean0 Jun 25, 2024
73d8a10
add-steth-oracle-merge (#858)
Brean0 Jun 25, 2024
d747a60
feat: add deploy-script
Space-Bean Jun 28, 2024
db13023
Merge branch 'master' into add-steth-oracle-merge
Brean0 Jun 29, 2024
0c52bc4
merge master.
Brean0 Jun 29, 2024
7df1462
Merge branch 'add-steth-oracle' into add-steth-oracle-merge
Brean0 Jun 29, 2024
4c9aba5
Merge branch 'add-steth-oracle-merge' into add-steth-oracle
Brean0 Jun 29, 2024
da46b76
Merge branch 'add-steth-oracle' into ui-dex-ui/add-steth-oracle
Space-Bean Jun 29, 2024
ec56116
feat: add deploy script
Space-Bean Jun 29, 2024
f3e27ae
feat: add lido abi / addresses / contracts
Space-Bean Jul 1, 2024
14063aa
feat: unwrap & send eth junction abi + contracts + address
Space-Bean Jul 1, 2024
4a5c1d1
feat: update contracts + add unwrap & send eth junction
Space-Bean Jul 1, 2024
a388b67
feat: add steth & wsteth tokens + remove unused abi
Space-Bean Jul 1, 2024
222260f
feat: add tokens
Space-Bean Jul 1, 2024
758234a
feat: update contracts
Space-Bean Jul 3, 2024
8142769
feat: add unwrapWsteth workflow step
Space-Bean Jul 3, 2024
b321e53
feat: add sdk presets + actions
Space-Bean Jul 3, 2024
dbb085a
feat: update sdktokens + pools
Space-Bean Jul 8, 2024
1512f5d
feat: add actions
Space-Bean Jul 8, 2024
e2038d5
feat: update actions
Space-Bean Jul 8, 2024
05fee67
feat: update sdk-wells tokens
Space-Bean Jul 8, 2024
d4b483c
feat: update WSTETH MockContract
Space-Bean Jul 8, 2024
e875f4c
feat: un-lint impersonate.js
Space-Bean Jul 8, 2024
e1115e3
feat: update blockchain-utils
Space-Bean Jul 8, 2024
3c1902d
feat: unlint
Space-Bean Jul 8, 2024
6dbd1fb
feat: unlint v2
Space-Bean Jul 8, 2024
4f7acf6
feat: update naming
Space-Bean Jul 8, 2024
78099bc
feat: add presets
Space-Bean Jul 8, 2024
3b5d28f
feat: [sdks]: STETH / WSTETH / LP Integration (#945)
Space-Bean Jul 8, 2024
08f80f8
feat: update basin ui
Space-Bean Jul 9, 2024
03c267e
feat: update graph
Space-Bean Jul 9, 2024
124eb46
feat: update ui token metadatas
Space-Bean Jul 9, 2024
12b70bc
feat: update ui constants
Space-Bean Jul 9, 2024
28e70b1
feat: update ui tokens
Space-Bean Jul 9, 2024
f6d9e0e
feat: [ui/dex-ui]: Integrate sdk changes to ui / dex-ui (#949)
Space-Bean Jul 9, 2024
4f54de3
feat: fix build error
Space-Bean Jul 11, 2024
89f374d
feat: declare mergeing token types
Space-Bean Jul 11, 2024
0414c17
feat: update dex-ui types
Space-Bean Jul 11, 2024
023c58a
feat: update ui constants
Space-Bean Jul 11, 2024
d1aa688
feat: lint silo/updater
Space-Bean Jul 11, 2024
44e5a99
Revert "Revert "wstETH Migration Remediations""
pizzaman1337 Jul 12, 2024
5b20cb7
Revert "Revert "wstETH Migration Remediations"" (#955)
pizzaman1337 Jul 12, 2024
33317fd
Merge branch 'add-steth-oracle' into ui-dex-ui/add-steth-oracle
Space-Bean Jul 12, 2024
31e4f92
Merge branch 'ui-dex-ui/add-steth-oracle' into spacebean/steth/update…
Space-Bean Jul 12, 2024
d64c135
feat: fix dex-ui remove liquidity
Space-Bean Jul 12, 2024
3ab5a27
Update wsteth well and barn raise well address
pizzaman1337 Jul 12, 2024
6aa757c
Update pump address
pizzaman1337 Jul 12, 2024
a8d0cbe
feat: update buy
Space-Bean Jul 13, 2024
e7c17bc
feat: update constants + farm steps
Space-Bean Jul 13, 2024
0e3f7df
feat: update addresses comments
Space-Bean Jul 13, 2024
899215f
feat: add getstartmintingseason hook
Space-Bean Jul 13, 2024
c9db3ac
feat: add to chop, convert, and deposit
Space-Bean Jul 13, 2024
7005476
feat: add update price contract
Space-Bean Jul 13, 2024
8c4e96b
feat: update useLPPositionSummary
Space-Bean Jul 14, 2024
dc2b5a7
feat: add new scoped query approach
Space-Bean Jul 14, 2024
8b4acad
feat: update query
Space-Bean Jul 14, 2024
cd6a32b
feat: inplement new query method
Space-Bean Jul 14, 2024
0008d0f
feat: update token names + symbols
Space-Bean Jul 14, 2024
c383f78
feat: update tokens + pools in UI
Space-Bean Jul 14, 2024
277910d
feat: update token image wsteth
Space-Bean Jul 14, 2024
137e2d9
feat: index by address instead of symbol
Space-Bean Jul 14, 2024
68eaa50
feat: update keys to use address instead of symbol
Space-Bean Jul 14, 2024
2e83c71
feat: update
Space-Bean Jul 14, 2024
76bd426
feat: update learn yield + static BEAN:ETH references
Space-Bean Jul 14, 2024
0675a1e
feat: update urbeanweth to urbeanwsteth
Space-Bean Jul 14, 2024
a790a99
feat: update urBEANWETH to urBeanWsTeth in sdk
Space-Bean Jul 14, 2024
6ea3192
feat: update cli to use urBeanWstETH
Space-Bean Jul 14, 2024
72c5fcd
feat: add missed urbeaneth fixes
Space-Bean Jul 14, 2024
4e0f687
feat: replace more missed beaneth references
Space-Bean Jul 14, 2024
64011f6
feat: urbeaneth passthrough v4
Space-Bean Jul 14, 2024
77922ae
feat: update unripe underlying poools
Space-Bean Jul 14, 2024
b7a2430
Update wells v1.1 package to prerelease1, fixes checksum issue
pizzaman1337 Jul 15, 2024
59b8157
Update gauge points and optimal percent deposited bdv for wsteth
pizzaman1337 Jul 15, 2024
dc5a17e
feat: declare types in UI
Space-Bean Jul 15, 2024
f53d041
feat: remove _source from token declaration
Space-Bean Jul 15, 2024
5f10bd8
feat: update useBeanstalkBalancesBreakdown
Space-Bean Jul 15, 2024
a24786f
feat: update deposit graph to allow wsteth -> bean:weth
Space-Bean Jul 15, 2024
4aa630d
feat: update wstethPool constant
Space-Bean Jul 15, 2024
f006e47
feat: remove unused library presets in sdk
Space-Bean Jul 15, 2024
09e4a64
feat: fix convert
Space-Bean Jul 15, 2024
66a17ac
feat: update minting season logic
Space-Bean Jul 15, 2024
1531974
feat: remove accidental transfer step to buy fert
Space-Bean Jul 15, 2024
614ffff
feat: fix dex build
Space-Bean Jul 15, 2024
7dfc7cd
feat: update transfer tokens
Space-Bean Jul 15, 2024
e130c01
Merge pull request #64 from AgrarianAlliance/add-steth-oracle-updates
pizzaman1337 Jul 15, 2024
da0b8c2
Merge pull request #63 from AgrarianAlliance/add-steth-oracle-addresses
pizzaman1337 Jul 15, 2024
d0ec587
feat: update token pikcer to use address not symbol
Space-Bean Jul 15, 2024
e2155a9
feat: [sdk/ui/dex-ui]: Fix deposit / Update Convert / Integrate Barn …
Space-Bean Jul 15, 2024
ab222b0
Add impersonateBeanWstethWell to fert test
pizzaman1337 Jul 15, 2024
26bbab8
feat: fix css errs
Space-Bean Jul 16, 2024
a8fcdf8
All tests passing again
pizzaman1337 Jul 16, 2024
d76fd45
Merge branch 'july-ebip' into add-steth-oracle
pizzaman1337 Jul 16, 2024
e6e3589
update wsteth-migration bip with proper linking.
Space-Bean Jul 16, 2024
2ae2505
Fix tests
pizzaman1337 Jul 16, 2024
71bf653
Merge branch 'ebip-17' into add-steth-oracle
pizzaman1337 Jul 17, 2024
b126bd8
Merge branch 'add-steth-oracle' of github.com:BeanstalkFarms/Beanstal…
pizzaman1337 Jul 17, 2024
2cebe70
Merge branch 'add-steth-oracle' origin into add-steth-oracle
pizzaman1337 Jul 17, 2024
c6d8b73
feat: update new whitelisted well components
Space-Bean Jul 18, 2024
64eaac4
feat: update dex-ui
Space-Bean Jul 18, 2024
d47810c
feat: update sdk addresses
Space-Bean Jul 18, 2024
53913cb
feat: update ui deposits
Space-Bean Jul 18, 2024
0052856
feat: update utils
Space-Bean Jul 18, 2024
349510c
merge add-steth-oracle
Space-Bean Jul 18, 2024
cc1077c
feat: fix merge conflicts
Space-Bean Jul 18, 2024
8315129
feat: fix build errs + imports
Space-Bean Jul 18, 2024
1204111
Merge branch 'master' into add-steth-oracle
pizzaman1337 Jul 18, 2024
a7a2411
feat: fix failing tests + update token name
Space-Bean Jul 18, 2024
051fb5d
feat: rename + fix errors v2
Space-Bean Jul 18, 2024
ce25abb
Revert M-02 codehawks suggestion in favor of returning 0 if max diffe…
pizzaman1337 Jul 18, 2024
c4d0b68
feat: update Fiat calculations
Space-Bean Jul 18, 2024
70b5773
Merge branch 'add-steth-oracle' into ui-dex-ui/add-steth-oracle
Space-Bean Jul 18, 2024
69724dd
Tests passing
pizzaman1337 Jul 18, 2024
467f4ad
feat: remove libchainlink oracle changes
Space-Bean Jul 18, 2024
3692fc7
Merge branch 'add-steth-oracle' into ui-dex-ui/add-steth-oracle
Space-Bean Jul 18, 2024
ae1e78d
Remove migration facet from deployment script
pizzaman1337 Jul 18, 2024
0eba48b
Merge branch 'add-steth-oracle' into ui-dex-ui/add-steth-oracle
Space-Bean Jul 18, 2024
7099445
Remove duplicate require statement
pizzaman1337 Jul 18, 2024
c9cc2ce
Add deployWstethMigration to hardhat config
pizzaman1337 Jul 18, 2024
073cd06
feat: update tokens
Space-Bean Jul 18, 2024
440c0a8
Merge branch 'add-steth-oracle' into ui-dex-ui/add-steth-oracle
Space-Bean Jul 18, 2024
dcd48d5
feat: unlint
Space-Bean Jul 18, 2024
4de9068
feat: skip convert tests
Space-Bean Jul 18, 2024
f95e657
Update selectors to remove
pizzaman1337 Jul 18, 2024
d958cf9
Set mock back to true
pizzaman1337 Jul 18, 2024
45afeaf
Add back oracle deployment
pizzaman1337 Jul 18, 2024
32b432c
feat: update deposit + tests
Space-Bean Jul 18, 2024
d747818
feat: patch sdk withdraw test
Space-Bean Jul 18, 2024
51a46c2
Merge branch 'add-steth-oracle' into ui-dex-ui/add-steth-oracle
Space-Bean Jul 18, 2024
8948d72
feat: update silo test
Space-Bean Jul 19, 2024
7afc749
test: update convert test
Space-Bean Jul 19, 2024
5cb4526
feat: update token logo
Space-Bean Jul 19, 2024
d8ee4a2
test: update silo test
Space-Bean Jul 22, 2024
36cfc6b
test: update silo test
Space-Bean Jul 22, 2024
3c3995f
feat: separate deploy ui script
Space-Bean Jul 22, 2024
180659b
feat: update tokens test
Space-Bean Jul 22, 2024
a5dcbb4
feat: update silo utils test
Space-Bean Jul 22, 2024
95429ff
test: update sdk transfer tests
Space-Bean Jul 22, 2024
1824c7e
feat: remove forge-std
Space-Bean Jul 22, 2024
6d2eeb6
feat: update convert test
Space-Bean Jul 22, 2024
239c790
feat: update transfer test + blockchain utils
Space-Bean Jul 22, 2024
b403343
feat: update deposit test
Space-Bean Jul 22, 2024
e1ba007
feat: update convert test
Space-Bean Jul 22, 2024
08d9c06
test: update transfer test
Space-Bean Jul 22, 2024
62e343c
test: update convert test
Space-Bean Jul 22, 2024
2eca14a
feat: update token image
Space-Bean Jul 22, 2024
bb18232
feat: [dex-ui]: fix silo balances not loading
Space-Bean Jul 23, 2024
b24e689
feat: [dex-ui]: use ledger
Space-Bean Jul 23, 2024
4706119
feat: create hook useIsMigrating
Space-Bean Jul 23, 2024
671ae4b
feat: remove console logs on add liquidity page
Space-Bean Jul 23, 2024
719b162
feat: remove beanwstETHcp2w.svg
Space-Bean Jul 23, 2024
4a42703
feat: re-add token img
Space-Bean Jul 23, 2024
2766c44
feat: wstETH migration UI final passthrough (#967)
Space-Bean Jul 23, 2024
5cb0583
feat: update addresses + abi
Space-Bean Jul 23, 2024
fbbbe59
feat: update scripts
Space-Bean Jul 23, 2024
c6f2d2a
feat: update scripts
Space-Bean Jul 23, 2024
b0113e8
feat: unlint hardhat config
Space-Bean Jul 23, 2024
56b0090
feat: update script
Space-Bean Jul 23, 2024
1e59193
feat: update token utils
Space-Bean Jul 24, 2024
58386c6
feat: add utils
Space-Bean Jul 24, 2024
79a540b
feat: CLI: update sunrise function cli
Space-Bean Jul 25, 2024
ec44e51
feat: update price button links
Space-Bean Jul 25, 2024
ced5de3
feat: bugg passthrough
Space-Bean Jul 25, 2024
8f2250e
feat: update token declarations
Space-Bean Jul 25, 2024
37995c5
feat: update well addresses section + remove duplicates
Space-Bean Jul 26, 2024
8a2d2ae
feat: add removed protocol libs
Space-Bean Jul 26, 2024
e5d74e2
feat: [UI/Dex-UI]: add-steth-oracle (#941)
Space-Bean Jul 26, 2024
37f884e
Merge branch 'master' into add-steth-oracle
Space-Bean Jul 26, 2024
af78b9a
feat: add abi
Space-Bean Jul 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions projects/cli/src/commands/balance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ import { table } from "table";

export const balance = async (sdk, { account, symbol }) => {
console.log(`${chalk.bold.whiteBright("Account:")} ${chalk.greenBright(account)}`);
let res = [[chalk.bold("Token"), chalk.bold("Internal"), chalk.bold("External"), chalk.bold("Total")]];
let res = [
[chalk.bold("Token"), chalk.bold("Internal"), chalk.bold("External"), chalk.bold("Total")]
];

if (symbol) {
res.push(await getBal(sdk, symbol, account));
Expand All @@ -18,7 +20,7 @@ export const balance = async (sdk, { account, symbol }) => {
"DAI",
"CRV3",
"UNRIPE_BEAN",
"UNRIPE_BEAN_WETH",
"UNRIPE_BEAN_wstETH",
"BEAN_CRV3_LP",
"BEAN_ETH_WELL_LP",
"ROOT"
Expand Down
21 changes: 18 additions & 3 deletions projects/cli/src/commands/setbalance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,30 @@ export const setbalance = async (sdk, chain, { account, symbol, amount }) => {
if (!symbol) {
await chain.setAllBalances(account, amount);
} else {
const symbols = ["ETH", "WETH", "BEAN", "USDT", "USDC", "DAI", "CRV3", "BEAN3CRV", "BEANWETH", "urBEAN", "urBEANWETH", "ROOT"];
const symbols = [
"ETH",
"WETH",
"BEAN",
"USDT",
"USDC",
"DAI",
"CRV3",
"BEAN3CRV",
"BEANWETH",
"urBEAN",
"urBEANwstETH",
"ROOT"
];
if (!symbols.includes(symbol)) {
console.log(`${chalk.bold.red("Error")} - ${chalk.bold.white(symbol)} is not a valid token. Valid options are: `);
console.log(
`${chalk.bold.red("Error")} - ${chalk.bold.white(symbol)} is not a valid token. Valid options are: `
);
console.log(symbols.map((s) => chalk.green(s)).join(", "));
process.exit(-1);
}
let t = sdk.tokens[symbol] as Token;
if (symbol === "urBEAN") t = sdk.tokens.UNRIPE_BEAN;
if (symbol === "urBEANWETH") t = sdk.tokens.UNRIPE_BEAN_WETH;
if (symbol === "urBEANwstETH") t = sdk.tokens.UNRIPE_BEAN_WSTETH;
if (symbol === "BEAN3CRV") t = sdk.tokens.BEAN_CRV3_LP;
if (symbol === "BEANWETH") t = sdk.tokens.BEAN_ETH_WELL_LP;
if (typeof chain[`set${symbol}Balance`] !== "function")
Expand Down
5 changes: 4 additions & 1 deletion projects/cli/src/commands/sunrise.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export const sunrise = async (sdk, chain, { force }) => {
}

await callSunrise(sdk);
await sdk.provider.send("evm_mine", []);

if (diff > 1) {
console.log(`You are still behind by ${diff - 1} seasons. May need to call it again.`);
Expand All @@ -27,7 +28,9 @@ async function callSunrise(sdk: BeanstalkSDK) {
const res = await sdk.contracts.beanstalk.sunrise();
await res.wait();
const season = await sdk.contracts.beanstalk.season();
console.log(`${chalk.bold.greenBright("sunrise()")} called. New season is ${chalk.bold.yellowBright(season)}`);
console.log(
`${chalk.bold.greenBright("sunrise()")} called. New season is ${chalk.bold.yellowBright(season)}`
);
} catch (err: any) {
console.log(`sunrise() call failed: ${err.reason}`);
}
Expand Down
8 changes: 8 additions & 0 deletions projects/dex-ui/src/assets/images/tokens/BEANwstETHCP2w.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 10 additions & 8 deletions projects/dex-ui/src/assets/images/tokens/wstETH.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import { useMemo } from "react";
import BeanstalkFarmsLogo from "src/assets/images/beanstalk-farms.png";
import HalbornLogo from "src/assets/images/halborn-logo.png";
import {
MULTI_FLOW_PUMP_ADDRESS,
CONSTANT_PRODUCT_2_ADDRESS,
WELL_DOT_SOL_ADDRESS,
toAddressMap
toAddressMap,
MULTI_FLOW_PUMP_V_1PT1_ADDRESS,
CONSTANT_PRODUCT_2_V2_ADDRESS
} from "src/utils/addresses";
import BrendanTwitterPFP from "src/assets/images/brendan-twitter-pfp.png";
import CyrfinLogo from "src/assets/images/cyrfin-logo.svg";
Expand Down Expand Up @@ -110,10 +110,10 @@ const WellDotSol: WellComponentInfo = {
};

const MultiFlowPump: WellComponentInfo = {
address: MULTI_FLOW_PUMP_ADDRESS,
address: MULTI_FLOW_PUMP_V_1PT1_ADDRESS,
component: {
name: "Multi Flow",
fullName: "Multi Flow Pump",
fullName: "Multi Flow Pump V1.1",
summary: "An inter-block MEV manipulation resistant oracle implementation.",
description: [
"Comprehensive multi-block MEV manipulation-resistant oracle implementation which serves up Well pricing data with an EMA for instantaneous prices and a TWAP for weighted averages over time."
Expand All @@ -136,14 +136,14 @@ const MultiFlowPump: WellComponentInfo = {
{ label: "Audited by", value: basinAuditInfo }
],
links: {
etherscan: `https://etherscan.io/address/${MULTI_FLOW_PUMP_ADDRESS}`,
etherscan: `https://etherscan.io/address/${MULTI_FLOW_PUMP_V_1PT1_ADDRESS}`,
github: "https://github.com/BeanstalkFarms/Basin/blob/master/src/pumps/MultiFlowPump.sol",
learnMore: "https://github.com/BeanstalkFarms/Basin/blob/master/src/pumps/MultiFlowPump.sol"
}
};

const ConstantProduct2: WellComponentInfo = {
address: CONSTANT_PRODUCT_2_ADDRESS,
address: CONSTANT_PRODUCT_2_V2_ADDRESS,
component: {
name: "Constant Product 2",
summary: "A standard x*y = k token pricing function for two tokens.",
Expand All @@ -162,7 +162,7 @@ const ConstantProduct2: WellComponentInfo = {
{ label: "Audited by", value: basinAuditInfo }
],
links: {
etherscan: `https://etherscan.io/address/${CONSTANT_PRODUCT_2_ADDRESS}`,
etherscan: `https://etherscan.io/address/${CONSTANT_PRODUCT_2_V2_ADDRESS}`,
github:
"https://github.com/BeanstalkFarms/Basin/blob/master/src/functions/ConstantProduct2.sol",
learnMore:
Expand Down
Loading
Loading