-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Add JUMPBOX (Yield Farming on Base) #16517
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
Conversation
|
The adapter at projects/jumpbox exports TVL: |
|
The adapter at projects/jumpbox exports TVL: |
Special Note: V3 NFT PositionsThe staking contract holds Uniswap V3 position NFTs rather than raw tokens:
Starting with manual TVL reporting ($1,600 verified on-chain). Question for reviewers: What's the best helper function for Current NFTs held can be verified on Basescan. |
|
const { sumTokens2 } = require('./helper/unwrapLPs') |
jumpboxtech
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Switched to resolveUniV3 parameter as suggested
- Now properly tracks Uniswap V3 position value
- Automated TVL calculation instead of manual reporting
Thanks for the guidance!
|
Does this work for you locally when you test it? I see an error |
|
The adapter at projects/jumpbox exports TVL: |
|
Fixed! The issue was that I needed to query the Uniswap V3 NFT positions held by the wrapper contract and calculate TVL based on the wrapper's liquidity share of the pool. Tests now pass locally with TVL of $1.42k. |
projects/jumpbox/index.js
Outdated
| methodology: "TVL is calculated from the value of JUMPBOX-WETH Uniswap V3 liquidity positions held in the Rebase staking wrapper contract. Users stake V3 LP positions and earn 118% APY.", | ||
|
|
||
| base: { | ||
| tvl: async (api) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use tvl: () => ({}) and export the function here as pool2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes Applied ✅
Changed tvl to tvl: () => ({})
Moved TVL logic to separate pool2 function
Exported as pool2 in base object
Test output:
base-pool2: 1.56k
base: 0
All functionality working as expected.
Thank you!
Tracks JUMPBOX-WETH Uniswap V3 LP positions staked in Rebase wrapper contract. - pool2: Calculates TVL from staked V3 NFT positions - Uses proportional share of pool reserves based on liquidity - 118% APY staking rewards
|
The adapter at projects/jumpbox exports TVL: |
Protocol Information
Description
JUMPBOX.ETH is a yield farming protocol on Base offering 124% APY through Uniswap V3 LP staking. Users provide JUMPBOX-WETH liquidity on Uniswap V3, deposit their positions into a Rebase-powered staking wrapper, and earn high yield.
TVL Calculation Method
The adapter tracks JUMPBOX and WETH tokens held in the staking wrapper contract (0x80d25c6615ba03757619ab427c2d995d8b695162), which represents the value of Uniswap V3 LP positions staked in the protocol.
Current Metrics
Contract Addresses (Base Chain)
0x5B9957A7459347163881d19a87f6DC13291C2B070x80d25c6615ba03757619ab427c2d995d8b6951620xe610ddc70eb7f2cff4a18d55b0cf0cef1f6e0f5fVerification
All contracts are verified on Basescan:
Checklist
Notes
Started with basic token tracking for stable TVL calculation. Can upgrade to full V3 position tracking if needed.
Thank you for reviewing! 🙏