feat: shapeshift multichain update #13157
Merged
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.
Adds the missing data from the various chains where the FOX token, ShapeShift DAO's native token, lives (Ethereum, Aribtrum, Gnosis and Polygon) and where it has locked value (even if none qualifies as our protocol TVL per DefiLlama's methodology):
0xe7e16e2b05440c2e484c5c41ac3e5a4d15da2744
). This is an evergreen contract so we shouldn't need to add new ones on Ethereum after that (hopefully).0xf929de51d91c77e42f5090069e0ad7a09e513c73
) staking contract deployed on Arbitrum (Proxy:0xac2a4fd70bcd8bab0662960455c363735f0e2b56
, Implementation:0x4f9c6a6cc987de98c8109e121516008906a899c9
). It is single asset staking, 28 days lock minimum, with yield distributed in RUNE on Thorchain. It serves as a way for our DAO to do both revenue sharing with stakers and FOX burning monthly.Few things of note:
ethereum
tostaking
because they are effectively a staking farm and not just a liquidity pool... and since we should not double count them, underpool2
we have another pool that is not used for farming/staking.staking
to list these? Aren't we missing out on counting tokens that might be in the Uniswap v2 pool but aren't staked in any of the staking farms? If so, shouldn't we instead just remove all the staking/farms and only list the two pools underpool2
(Uniswap v2 and v3)?stakings()
, but I do not know all of the details of this functions and maybe the particularities of the RFOX contract.If that might be useful for the tests, we maintain a dashboard with the LP on these various chains here: https://flipsidecrypto.xyz/Rayyyk/shapeshift-lp-dashboard-ciW_N4 . It isn't live data, it has to be refreshed, and doesn't list USD values for the FOX share of the pools unfortunately, but it could still be of use. For RFOX we maintain a dashboard here with the total FOX locked: https://dune.com/shapeshift/rfox