-
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
Add: Avalon CeDeFi of Avalon Finance #11301
Conversation
The adapter at projects/avalon-finance-cedefi exports TVL:
|
|
The adapter at projects/avalon-finance-cedefi exports TVL:
|
I am bit lost, when user converts FBTC to LFBTC, is it automatic? why is FBTC burnt instead of locked in a contract? What happens when the amount of USDT borrowed is higher than the collateral, how are the users liquidated? |
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.
@tpktpj thanks for the PR, is the protocol active? also check my earlier comment
HI @g1nt0ki, can you our founder DM @jzpp_1234 on Telegram? He will explain the LFBTC to you, thanks! |
When borrowers pledge FBTC into our pool, we perform the burning of FBTC / minting of LFBTC simultaneously. It will also trigger a transfer of corresponding amount of underlying BTC from a master address to a dedicated address reserved as lending collateral. For different use cases (eg. Avalon lending, Babylon staking), a different “Locked FBTC” will be minted, and the specific Locked FBTC will be mapped to underlying BTC in dedicated addresses. FBTC can be locked in dedicated contract. But FBTC team design it as “burn standard FBTC and mint equivalent amount of Locked FBTC” to segregate risks among different use cases. Pls refer to Section 3.3 of https://fbtc.com/home/FBTC-Whitepaper.pdf In short, LFBTC represents the amount of FBTC (and also the underlying BTC) pledged in our lending pool. In the event of liquidation, the lender can trigger liquidation of the respective amount of native BTC to restore the LTV back to healthy level. Once the native BTC is sold/liquidated, the same amount of LFBTC will be forced burned, to maintain the 1:1 peg of LFBTC to underlying BTC. |
Avalon CeDeFi market is already live: https://cedefi.avalonfinance.xyz/ |
We would like to add the CeDeFi Market as a sub-protocol under the Avalon Labs.
|
The adapter at projects/avalon-finance-cedefi exports TVL:
|
@g1nt0ki Hi, we have added the Avalon CeDeFi BTC TVL address on the Bitcoin chain.
|
hi @tpktpj thanks for the update, these bitcoin addresses represent the lfBTC backing? if so, you can skip counting on ethereum as well? |
@g1nt0ki Hi, YES, the bitcoin addresses represent the lfBTC backing. The code has been updated, we skipped the lfBTC count on Ethereum and counted BTC on bitcoin instead. |
The adapter at projects/avalon-finance-cedefi exports TVL:
|
@g1nt0ki Hi! Could you please add this adapter (Avalon CeDeFi) as a new product under our current protocol(https://defillama.com/protocol/avalon-finance)? Also, we've finished our rebranding, the protocol name and logo are updated. The protocol name is Avalon Labs. Rebranding PR: DefiLlama/defillama-server#7932 (comment) We want to display our protocol 2 product in this format: Protocol Name: Avalon Labs
|
Co-authored-by: g1nt0ki <[email protected]>
Co-authored-by: g1nt0ki <[email protected]>
Avalon CeDeFi
Intro: user can deposit Ignition FBTC, receive collateral token
lfbtc-Avalon-eth
and borrow USDT.TVL Methodology:
lfbtc
collateral and USDT debt of Avalon CeDefi pool contract.lfbtc
represent the amount of supplied FBTCProtocol Update request
lfbtc-Avalon-eth
token, treat it as Ignition FBTCWhat's
lfbtc
?lfbtc
is 1:1 to Ignition FBTC(https://www.coingecko.com/en/coins/ignition-fbtc).lfbtc
can be used as collateral in the CeDeFi pool of Avalon Finance.Deposit FBTC to CeDeFi pool, FBTC burnt, lfbtc can minted.
Example Supply FBTC tx: https://etherscan.io/tx/0x8ed4ebd29ad695db5c5e085e6631f632edac750c72d7bb3b6c74b64cbaf9f576
Example Borrow USDT tx: https://etherscan.io/tx/0x6b99b747ab78a4f1aa0a7ea15c032004fe1314821c74fa6263da6186826ab8c0
Contracts of Avalon CeDeFi
CeDeFi Lending Pool:
https://etherscan.io/address/0x02feDCff97942fe28e8936Cdc3D7A480fdD248f0
lfbtc-Avalon-eth:
https://etherscan.io/address/0x3119a1AD5B63A000aB9CA3F2470611eB997B93B9