-
Notifications
You must be signed in to change notification settings - Fork 78
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
[WIP]: BS3 UI + SDK #1052
Merged
Merged
[WIP]: BS3 UI + SDK #1052
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Space-Bean
changed the base branch from
dr-t-remediations
to
reseed-final-fixes
September 13, 2024 17:40
Space-Bean
changed the base branch from
reseed-final-fixes
to
reseed-testnet-deployment
September 19, 2024 18:32
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Base Branch for UI + SDK changes for BS3
Setup
yarn
to install all new dependencies_;
for all function modifiersfundsSafu()
noNetFlow()
noOutFlow()
noSupplyChange()
noSupplyIncrease()
yarn compile
andyarn generate
to generateyarn all:build
yarn & yarn ui:generate
. You may need to runyarn
as wellyarn & yarn generate
. You may need to runyarn
as wellyarn cli:build
Local Forks + Running the UI Locally
yarn anvil-arbitrum
from the project rootyarn anvil-eth-mainnet
from the project root./protocol
, runnpx hardhat reseedL1 --network localhostL1
. This should be done relatively quickly../protocol
, runnpx hardhat reseedL2 --network localhost
. This will take anywhere from 10-20 mins, depending on your machine../projects/dex-ui
, runyarn dev
. Make sure you've installed dependencies and have runyarn install
./projects/ui
, runyarn dev
. Make sure you've installed dependencies and have runyarn install
Misc + CLI Usage
Normally, you should be able to force call sunrise via the cli, (
yarn g:bean sunrise -f
) or (npx hardhat sunrise2 --network localhost
from ./protocol) but this is not currently working. Therefore, it is recommended to use a wallet that already has deposits, pods, etc..You can set your balance via the cli:
yarn g:bean setbalance -a <wallet-address> -t <token-symbol-caps> -m <amount>
-t
:Note that other functions in the CLI have not been updated, namely
Testing
Bean-UI
Nav Bar
- Price should load a non-zero value
- In dropdown, Instantaneous values are non-zero
- In dropdown, TWA values are non-zero
1. Next Season Forecast should have accurate values
2. Seasons from the previous seasons should be displayed
Forecast Page
Silo Page
Silo Token Page
{symbol}
is correctUI - Broken
UI - Not available
Basin
L2
url/wells (Nav bar Liquidity)
url/wells/token
Switching networks doesn't cause the app to crash
All Well data should populate
Contract data should be up to date
Should be able to remove / add liquidity
Should be able to utilize create well flow.
swaps w/ 0 hops should work.
Basin - Broken