-
Notifications
You must be signed in to change notification settings - Fork 5k
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
feat: add polynomial liquidity layer tvl #11670
Conversation
The adapter at projects/polynomial-liquidity-layer exports TVL:
|
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.
what is this product? what are you counting as tvl here? are you counting all bridged tokens as tvl?
Hey @g1nt0ki this is our liquidity layer, (which is lp side of our trade product) it is total of amount staked by each account currently. not the bridged tvl |
can we compute this on chain? |
we can compute this off chain but this will keep on changing as we add collaterals to deposit in which will require us to make changes to this repo quite often @g1nt0ki and the speed of computing will slow down as we add more collaterals |
yes, but at the moment it is complete blackbox, we have no idea what is counted towards tvl, if it is the right methodology or how to fix it if the api goes down |
The adapter at projects/polynomial-liquidity-layer exports TVL:
|
Hey @g1nt0ki i found a easier way to calc just by having balances of tokens on the contract, i used same method as other projects where using am i missing something its not showing balance https://polynomialscan.io/address/0xc133983D6d9140923b5eaE52664221d9099cf119 this contract have balances |
The adapter at projects/polynomial-liquidity-layer exports TVL:
|
@Aniket965 thanks for the update. We didnt have the token mapping, I fixed it. |
Name (to be shown on DefiLlama):
Polynomial
Chain:
Polynomial