-
Notifications
You must be signed in to change notification settings - Fork 6k
New OTTV contract #14875
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
New OTTV contract #14875
Conversation
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.
Pull Request Overview
This PR updates the staking logic for the Golden Otter Hub project by incorporating multiple staking contracts and LP pairs.
- Introduces a new token (OTTERVERSE) and its corresponding staking contract and LP pair.
- Refactors the staking function to use multiple token-owner pairs and updates the methodology description accordingly.
tokens: [GOLDEN_OTTER], | ||
owner: STAKING_CONTRACT, | ||
lps: [PAIR_GOTR_WLD], | ||
tokensAndOwners: [ |
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.
Verify that the 'sumUnknownTokens' helper function correctly supports multiple token-owner pairs as provided here.
Copilot uses AI. Check for mistakes.
|
||
module.exports = { | ||
methodology: 'Count TVL by counting the balance of the token in the staking contract and calculating its value in WLD based on the reserves of the GOTR/WLD pair.', | ||
methodology: 'TVL is calculated by checking the balances of GOLDEN_OTTER and OTTERVERSE tokens staked in their respective contracts, and valuing them using their LP pairs against WLD.', |
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.
[nitpick] Consider clarifying which LP pair is associated with each token to provide further transparency on the valuation process.
Copilot uses AI. Check for mistakes.
The adapter at projects/golden-otter-hub exports TVL:
|
* 'main' of github.com:DefiLlama/DefiLlama-Adapters: (164 commits) add gate wallets (DefiLlama#14961) Add adapter for nebula on nibiru (DefiLlama#14924) ci fix (DefiLlama#14957) DegenPrime - Add new lending pools and tokens (DefiLlama#14951) *bugfix: remove doublecount bugfix Bitkub lending (DefiLlama#14949) add aave on soneium (DefiLlama#14947) track aave umbrella Update Concrete (DefiLlama#14944) clean-up Trading strategy (DefiLlama#14943) update @defillama/sdk fix ens fix bug Add Marinade Select tvl adapter (DefiLlama#14928) Support Spark Liquidity Layer on Optimism and Unichain (DefiLlama#14938) update adapters on nibiru chains (DefiLlama#14940) Added missing Corn coreAssets to fix Uniswap TVL (DefiLlama#14930) update nibiru rpc Add new pools (DefiLlama#14925) feat: add luckystake adapter (DefiLlama#14919) keep old contracts for now (DefiLlama#14937) feat: batch listing (DefiLlama#14927) Add Swirl Liquid Staking Protocol (DefiLlama#14904) add X3X on World Chain (DefiLlama#14929) Add new Hydration adapters (DefiLlama#14923) add benji update lock version code refactor code refactor Optimize unicrypt + pinksale (DefiLlama#14922) Fix aptos Fungible helper (DefiLlama#14918) add indxs.app (DefiLlama#14915) Add granite (DefiLlama#14917) Amped sseed (DefiLlama#14916) Add files via upload (DefiLlama#14899) Add stellar tvl (DefiLlama#14646) add unichain morpho vaults for curators (DefiLlama#14911) temp disable nibiru adapters (DefiLlama#14910) projects(uniswap): add Uniswap deployment on Nibiru (DefiLlama#14890) projects(silverswap): Nibiru has a SilverSwap deployment on mainnet (DefiLlama#14889) kamino lend - borrows (DefiLlama#14909) ZEROBASE adaptor for DeFiLama (DefiLlama#14832) feat: Add fungible support aptos (DefiLlama#14905) up vestingHelper limit for bsc (DefiLlama#14903) feat(satlayer): add BOB to `satlayer` tvl (DefiLlama#14900) Add milkINIT TVL for MilkyWay (DefiLlama#14902) [Bucket]" add xBTC collateral (DefiLlama#14897) add v2 liquidity and plume (DefiLlama#14824) Update ExtraFi Xlend TVL to include Morpho Vaults (DefiLlama#14886) stability: keep old markets and adapter name (DefiLlama#14892) disable pool2, add hallmark (DefiLlama#14898) [Update] desyn add goat chain (DefiLlama#14896) Add Tokenized Balance Sheet Vaults for Origami (DefiLlama#14895) fix cex usdt aptos (DefiLlama#14894) Add Dre Finance (DefiLlama#14883) Fix Sei TVL + Add Sonic TVL (DefiLlama#14368) New OTTV contract (DefiLlama#14875) Add new berancia vaults (DefiLlama#14877) symbiosis add hyper evm support (DefiLlama#14887) remove dup vaults (DefiLlama#14888) fix aptos token (DefiLlama#14884) add price usdt aptos (DefiLlama#14882) Smardex / USDN: Use recipient as owner of the position (DefiLlama#14881) Catex/unichain migration (DefiLlama#14859) remove dai blacklist (DefiLlama#14880) Fix Moar TVL calculation (DefiLlama#14879) add hallmarks tracking on starknet (DefiLlama#14878) dynamic get vaults lists (DefiLlama#14869) Update: D2Finance (DefiLlama#14876) Sui Rewards Me - Project Listing resubmission with requested updates (DefiLlama#14874) Add aptos address of flipster (DefiLlama#14872) disable historical queries (DefiLlama#14871) update curator tvl sources (DefiLlama#14870) add iteration 2 pools (DefiLlama#14862) fix: Add Credbull Plume TVL. Map Plume Stargate USDC.e. (DefiLlama#14861) update sdk to latest version (DefiLlama#14866) feat: update milkBABY and add milkINIT commented out because of issues (DefiLlama#14767) add wstASTR vault (DefiLlama#14864) Fix: Wasabi, dedup + bera (DefiLlama#14865) fix ironbank feature: add Arkis Wrapped Hype Vault to Arkis adapter (DefiLlama#14796) doublecount protocols first batch (DefiLlama#14705) Update olab (DefiLlama#14860) correct native token mappings where possible (DefiLlama#14850) Add new berancia vaults (DefiLlama#14855) Ensuro: adds Compound Blue (compUSDC) to the TVL calculation (DefiLlama#14851) fix: Swissborg - Use cosmos addresses instead of evm (DefiLlama#14858) Commit Hybra V2 (DefiLlama#14854) addresses fixed (DefiLlama#14853) Curve: track hyperliquid (DefiLlama#14852) fix concentrated pool recognition (DefiLlama#14849) code cleanup chore: add yearn curating vaults (DefiLlama#14845) code cleanup migrate coin mapping Saros Dlmm (DefiLlama#14847) add Jiko (DefiLlama#14843) code refactor ...
Merged PR: #14210
Name (to be shown on DefiLlama):
Golden Otter Hub
Twitter Link:
https://x.com/GoldenOtterWld
Website Link:
https://otter.trading/
Logo (High resolution, will be shown with rounded borders):
https://otter.trading/build/images/coin.png
Current TVL:
19.31 k WLD
Chain:
world chain
Short Description (to be shown on DefiLlama):
Golden Otter Hub is a mini app integrated within the World App wallet that utilizes smart contracts for staking, explicitly designed for the World Chain blockchain. Built around the ERC-20 Golden Otter (GOTR) token, Golden Otter Hub provides users with a compelling reason to participate in World Chain’s expanding ecosystem.
The project’s core innovation lies in its dynamic APY staking model, offering attractive yet sustainable staking rewards paid exclusively in Baby Otter tokens. The Baby Otter token was initially created with zero supply, and new tokens are generated exclusively through the staking process. With clearly defined APY tiers ranging from an initial 15% up to 100%, the system incentivizes both small and large holders to stake their GOTR tokens. Over time, APY rewards are linearly reduced across a five-year span, carefully balancing short-term engagement with long-term value appreciation, resulting in stable and growing Total Value Locked (TVL).
Token address and ticker if any:
https://worldchain-mainnet.explorer.alchemy.com/token/0x57268aFa4E496684611aAFB1E20D2116283C487e GOTR (staked token)
https://worldchain-mainnet.explorer.alchemy.com/token/0x00471C596755C5EB197a3e43683534b4858C2c0f BOTR (reward token)
new stake token
Category (full list at https://defillama.com/categories) *Please choose only one:
8 Yield
methodology (what is being counted as tvl, how is tvl being calculated):
Counting the balance of the tokens in the staking contracts and calculating its value in WLD based on the reserves of the GOTR/WLD and OTTV/WLD pairs.