-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Added cybro-lpmanager #17170
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
base: main
Are you sure you want to change the base?
Added cybro-lpmanager #17170
Conversation
|
The adapter at projects/cybro-lpmanager exports TVL: |
| try { | ||
| const chainId = chainIdMap[chain]; | ||
| const response = await axios.get(API_ENDPOINT, { params: { chain_id: chainId } }); | ||
| return response.data.aum_usd || 0; |
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 count token balances on chain rather than returning a USD value from an 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.
We can't calculate this metric on-chain, cause our LPManager contract doesn't hold any state
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.
Where are the tokens that are AUM?
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.
AUM represents the total value of all active liquidity positions that were managed through Cybro’s LPManager smart contract, so the tokens are in uniswap liquidity pools
|
Please dont rename any files |
|
The adapter at projects/cybro-lpmanager exports TVL: |
|
hmm, when a user creates a position, they hold the LP NFT? https://arbiscan.io/tx/0xd0bf20c802ba66eda95b95a5c33314dcbf200a7c2723a4978ee9e762c7e99300 what is counted as tvl here? |
AUM. It represents the total value of all active liquidity positions that were managed through Cybro’s LPManager smart contract. Yes, users hold the LP NFT |
NOTE
Please enable "Allow edits by maintainers" while putting up the PR.
package-lock.jsonfile as part of your changes, we use lockfileVersion 2, and most use v1 and using that messes up our CIName (to be shown on DefiLlama): Cybro LP
Twitter Link: https://x.com/Cybro_io
List of audit links if any: https://github.com/cybro-io/dapp-contracts-audits
Website Link: https://app.cybro.io/
Logo (High resolution, will be shown with rounded borders): https://cybro.io/images/token_dark.png
Current TVL: $455,279
Treasury Addresses (if the protocol has treasury)
Chain: Arbitrum, Base, Unichain
Coingecko ID (so your TVL can appear on Coingecko, leave empty if not listed): (https://api.coingecko.com/api/v3/coins/list) cybro
Coinmarketcap ID (so your TVL can appear on Coinmarketcap, leave empty if not listed): (https://api.coinmarketcap.com/data-api/v3/map/all?listing_status=active,inactive,untracked&start=1&limit=10000) cybro
Short Description (to be shown on DefiLlama): Smart Hub for Liquidity Providers
Token address and ticker if any: 0x963eec23618BbC8e1766661d5f263f18094Ae4d5, CYBRO
Category (full list at https://defillama.com/categories) *Please choose only one: 25 Liquidity manager
Oracle Provider(s): Specify the oracle(s) used (e.g., Chainlink, Band, API3, TWAP, etc.):
Implementation Details: Briefly describe how the oracle is integrated into your project:
Documentation/Proof: Provide links to documentation or any other resources that verify the oracle's usage:
forkedFrom (Does your project originate from another project):
methodology (what is being counted as tvl, how is tvl being calculated): represents the total value of all active liquidity positions that were managed through Cybro’s LPManager smart contract within the last 30 days
Github org/user (Optional, if your code is open source, we can track activity):