-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* staking components * add staking components * fix translation * move files around * Revert "move files around" This reverts commit b8b7948. * revert * Revert "revert" This reverts commit 8a47fd3. * idfk * rename folders * remove the older folders * Update StakeInput.tsx * translations * use already defined translations * update others * Update AddressSelection.tsx * [skip ci] wip: wire-up rfox staking * feat: don't display gas row when approval required * [skip ci] feat: more todo * [skip ci] fix: derp * [skip ci] fix: forgotten mergefix * [skip ci] fix: and another one * feat: abi types inference in wagmi * feat: disable when no runeAddress * feat: add thorchain validateAddress * feat: wire-up validation * feat: approve * feat: actual approve * fix: i'm derp * feat: she works * fix: types * feat: use constant * feat: more cleanup * feat: tackle many TODOs * fix: generatedAssetData.json workaround * feat: regen asset data * feat: implement form validation in TradeAmountInput * feat: regen assetData * feat: fox on arb market-data monkey patch * feat: monkey-patch for now vs. regenerating all * feat: nullish access of control when in the context of an undefined form context * fix: shit * feat: input display either approval or actual stake fees * feat: improve loading stateroos * feat: don't fire queries when amount invalid * feat: improve loading states some more * feat: share of pool percentage * feat: cleanup useless mutation * feat: actually revert mutation to benefit from loading states This reverts commit 8f3d830. * feat: leverage form some more * feat: bump viem and wagmi to latest * feat: move stakeFees to getFees * feat: move getFees into react-queries * fix: wallet doesn't serialize in JSON derp * fix: types * feat: pass validation down * feat: last cleanup * feat: share of pool at confirm step * feat: cleanup TODO * feat: remove comment * fix: only show recent transactions from connected wallet (#6938) * chore: use effective coalesing for selector cache keys and download button (#6936) chore: use effective coalesing * feat: form-based fee balance validation * feat: invalidate queries on from change * fix: user share of pool * fix: user share of pool * feat: rm todo * feat: cherry-pick renaming bits from unstaking PR * feat: cherry-pick cleanup bits from unstaking PR * fix: types * fix: types after mergefix * feat: fallback controller to unrug change address current view-layer * fix: hydrate FOX market data in StakingInput * feat: pass cryptoAmount in too in TradeAmountInput * fix: tradeamountinput add missing prefix for crypto as opposite currency when `isFiat` * fix: missing interpolation in translation * fix: use stakingInfo vs. balanceOf for user balanceOf * feat: rm debug logs * feat: add toast * feat: add isTransitioning * feat: add base to wagmi-config * feat: clearer naming * feat: conventional event-handler naming * feat: omit undefined param in sendStakeTx and rename to handleStake --------- Co-authored-by: reallybeard <[email protected]> Co-authored-by: kevin <[email protected]> Co-authored-by: woody <[email protected]>
- Loading branch information
1 parent
eb88ad2
commit e396ffb
Showing
31 changed files
with
3,010 additions
and
302 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -146,6 +146,7 @@ | |
"eth-url-parser": "^1.0.4", | ||
"ethers": "^6.11.1", | ||
"ethers5": "npm:[email protected]", | ||
"eventemitter2": "5.0.1", | ||
"framer-motion": "^11.0.3", | ||
"friendly-challenge": "0.9.2", | ||
"grapheme-splitter": "^1.0.4", | ||
|
@@ -206,7 +207,8 @@ | |
"styled-components": "^6.0.7", | ||
"uuid": "^9.0.0", | ||
"vaul": "^0.9.0", | ||
"viem": "^1.16.6", | ||
"viem": "^2.10.9", | ||
"wagmi": "^2.9.2", | ||
"web-vitals": "^2.1.4" | ||
}, | ||
"devDependencies": { | ||
|
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
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
Oops, something went wrong.