-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dApp staking v3 period 2 updates (#1302)
* New staking component (#1291) * Basic selectable components * Categories and dApps lists * Basic navigation flow * Enter amount and dapp search * Started with useVote and OverviewPanel * Review panel * Chose amount updates * Working sample * Go back button * Optimize for mobile * Preselect a dApp to vote * Cleanup * Transfer stake * Minor styling and logic updated * PR comments resolved * Sub period info components (#1301) * Period info component * Period info component * Show only on voting period * Build and earn period component * Remove data toggle button * Null ref fix * Period stats component (#1306) * Components definition * Merge * Period statistics component and data fetching * Default API improvements, TVL ratio calculation * Put toggle button back * Update dapp staking v3 period2 styling (#1309) * add background image to the dApp staking top page * adjust info width and mergin * update leaderboard styles * update dapps list style * update data style * update dark style * fix width and margin * staking flow styling for desktop * fix dapp card whitespace * update voting wizard mobile style * update voting page styles * update stats styles * add go back button * replace values to placeholder * add voting note to voting wizard component * voting period info styles * update text color for the dark theme * Add missing values * Display previous period number --------- Co-authored-by: Bobo <[email protected]> * APR calculations at given block + voting period ad (#1310) * APR calculations for the given block * Apr hook refactoring * Tokens to be burned calculation for any block * Voting period ad * adjust banner styling * Added missing values * Fix calculation if current period is 1 (no previous period) --------- Co-authored-by: Ayumi Takahashi <[email protected]> * Navigate to assets after voting * Display tier threshold * Strings update * Fix for assets page error (BitInt) * Show message to console * Check received message type * Revert usePrice * Bonus reward calculation fix * Clear category on go back * Tier styling fix * Staking period styling fixes * fix leaderboard tier layout * add step background color for mobile * Claim rewards messages update * Fix/dapp staking animation (#1314) * add three.js dependency * refacor to not use iframe * update iframe styles * fix renderer small issue * update renderer size to reduce period of only depp blue * Vote banner update --------- Co-authored-by: Ayumi Takahashi <[email protected]> Co-authored-by: Taegeon Alan Go <[email protected]>
- Loading branch information
1 parent
e010848
commit 06454e2
Showing
101 changed files
with
4,640 additions
and
947 deletions.
There are no files selected for viewing
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
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
Binary file not shown.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export const PERIOD1_START_BLOCKS = new Map<string, number>([ | ||
['astar', 5514935], | ||
['shiden', 5876079], | ||
['shibuya', 5335616], | ||
]); |
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
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
Oops, something went wrong.