-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Add ZenFinance adapter #16622
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
Add ZenFinance adapter #16622
Conversation
Add ZenFinance TVL calculation and staking integration
The adapter at projects/zenfinance exports TVL:
|
Updated the owners array in the tvl function to include only the ZENSWAP_CONTRACT. Modified the methodology description to reflect the changes in token holdings.
The adapter at projects/zenfinance exports TVL:
|
Updated TVL calculation to include ZenRecharge and removed staking reference.
the totalStaked call seems to fail |
Error while running adapter at projects/zenfinance:
|
The adapter at projects/zenfinance exports TVL:
|
Error while running adapter at projects/zenfinance:
|
The adapter at projects/zenfinance exports TVL:
|
This adapter tracks 19 different tokens across 3 main contracts: Native tokens: CRO, WCRO Current approach: Explicitly listing all supported token addresses to ensure accurate TVL calculation. Alternative considered: fetchCoValentTokens: true but this is not supported on Cronos chain. |
Yes this makes sense to me |
projects/zenfinance/index.js
Outdated
tokens: [ | ||
"0x0000000000000000000000000000000000000000", | ||
"0x5C7F8A570d578ED84E63fdFA7b1eE72dEae1AE23", | ||
"0x41bc026dABe978bc2FAfeA1850456511ca4B01bc", |
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.
ARY TVL should be excluded from the tvl() function and instead returned as staking
since its your own token
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.
Correct, I perform the change, Thank you
The adapter at projects/zenfinance exports TVL:
|
Name (to be shown on DefiLlama):
ZenFinance
Twitter Link:
https://x.com/CronosAry
List of audit links if any:
Website Link:
https://www.zenfinance.space/
Logo (High resolution, will be shown with rounded borders):
https://i.postimg.cc/02yLZvHR/Logo-1.png
Current TVL:
10,355,573,219 ARY tokens
Treasury Addresses (if the protocol has treasury)
Chain:
Cronos
Coingecko ID:
aryoshin
Coinmarketcap ID:
Short Description:
ZenFinance - Swap, Stake & Earn , Sophisticated technology made simple Your DeFi Experience on Cronos.
Token address and ticker:
0x41bc026dABe978bc2FAfeA1850456511ca4B01bc (ARY)
Category:
Yield
Oracle Provider(s):
DEX-based pricing through VVS Router integration
Implementation Details:
Token prices derived from VVS DEX pools for swap routing and staking reward calculations
Documentation/Proof:
Contracts verified on Cronos Explorer
forkedFrom:
methodology:
ZenFinance TVL includes ARY staked in ZenStake and ZenRecharge contracts, plus CRO held in ZenSwap for trading competitions
Github org/user:
Aryioshin