-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Create readme.md #13074
base: main
Are you sure you want to change the base?
Create readme.md #13074
Conversation
add endpoint info
The adapter at projects/elys-dex exports TVL:
|
Thank you, it appears the adapter may not be picking up the USDC single
asset pool, so the TVL number is short by a significant amount. That
endpoint was updated today to report USDC staking pool TVLalong with all
liquidity pools (currently 6 liquidity pools, and USDC single asset stake
pool).
…On Mon, Jan 13, 2025, 8:28 PM llamabutler ***@***.***> wrote:
The adapter at projects/elys-dex exports TVL:
elys 662.42 k
total 662.42 k
—
Reply to this email directly, view it on GitHub
<#13074 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZCEI5JCV3SEOINMZ6LZBX32KRR4XAVCNFSM6AAAAABVD2QAKCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBYGU3DIMJSHA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
hi @ollieottersync I can create a new listing called "Elys Leverage Farming" and track only the USDC not yet lent out (if it is used for LPing, we are already tracking this tvl under the dex so excluding from yield farming tvl) So, how can I pull amount of USDC on the staking contract not yet borrowed? |
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.
.
The USDC pool is not used for LP, only for Leverage.
After we added a couple new liquidity pools (XION:USDC and SAGA:USDC), it
appears that the Defi Llama adapter is not picking up the complete TVL of
all 6 pools since the change went into effect?
I'll get the query for you for unborrowed USDC. Thank you!
…On Mon, Jan 13, 2025, 11:42 PM g1nt0ki ***@***.***> wrote:
hi @ollieottersync <https://github.com/ollieottersync>
IMO calling it USDC staking is bit misleading since it lets leverage
farmers borrow the funds and funds are at risk (in theory)
I can create a new listing called "Elys Leverage Farming" and track only
the USDC not yet lent out (if it is used for LPing, we are already tracking
this tvl under the dex so excluding from yield farming tvl)
So, how can I pull amount of USDC on the staking contract not yet borrowed?
—
Reply to this email directly, view it on GitHub
<#13074 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZCEI5OJ6SFDPSEPTFWKSXT2KS5WJAVCNFSM6AAAAABVD2QAKCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBZGIZDINJQG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
The following link now includes all staking values (ELYS staking, EDEN Staking, USDC Earn pools) https://api.elys.network/elys-network/elys/masterchef/chain_tvl |
hi @ollieottersync wdym by USDC is used for leverage? sorry, it is not very clear. Can you share the contract where staked USDC is stored? |
It's a borrow pool, where users can borrow up to 80% to enter a liquidity
pool with up to 3x leverage.
The pool ID is 32767
I can get you queries. The TVL endpoint has the total amount in there now.
Pool APRs are available here
https://api.elys.network/elys-network/elys/masterchef/pool_aprs
…On Fri, Jan 24, 2025, 3:10 AM g1nt0ki ***@***.***> wrote:
hi @ollieottersync <https://github.com/ollieottersync> wdym by USDC is
used for leverage? sorry, it is not very clear. Can you share the contract
where staked USDC is stored?
—
Reply to this email directly, view it on GitHub
<#13074 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZCEI5OE4LGTWAXWM6INEY32MINS3AVCNFSM6AAAAABVD2QAKCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJSGI3DMNJTGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
hmm, this sounds more like a lending product rather than staking (staking - token stays in the contract and does nothing) Can you share the query to get total liquidity (supplied - borrowed) & borrowed usdc value? |
add endpoint info
NOTE
Please enable "Allow edits by maintainers" while putting up the PR.
package-lock.json
file 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):
Twitter Link:
List of audit links if any:
Website Link:
Logo (High resolution, will be shown with rounded borders):
Current TVL:
Treasury Addresses (if the protocol has treasury)
Chain:
Coingecko ID (so your TVL can appear on Coingecko, leave empty if not listed): (https://api.coingecko.com/api/v3/coins/list)
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)
Short Description (to be shown on DefiLlama):
Token address and ticker if any:
Category (full list at https://defillama.com/categories) *Please choose only one:
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):
Github org/user (Optional, if your code is open source, we can track activity):