You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the interest-bearing lending tokens as vault collateral.
Motivation
Locking collateral in the BTC bridge incurs an opportunity cost for vaults. Opportunity cost can be offset by combining protocols. Here, we suggest using supplied tokens to the lending protocol (qTokens) not used as collateral to be eligible as vault collateral.
Specification
Vaults CAN lock the underlying token (e.g., DOT, USDT) in the lending protocol
Vaults MUST receive the claim on the underlying token into their free balance as a qToken (LendToken type)
Governance MUST define adequate thresholds and ceilings for the qTokens
Vaults CAN lock the qToken in the vault registry as collateral.
Vaults MUST NOT be able to lock the qToken as collateral in both the bridge and the lending protocol.
Users CAN issue iBTC with a vault that has locked qToken collateral
Users MUST receive qTokens from the Vault in case of failed redeems
Liquidators MUST receive qTokens when the vault is liquidated
Extensions
Atomically swap underlying for qToken as vault collateral
With the introduction of the lending market and adding qTokens as collateral to the bridge, vaults can, e.g., lock DOT in the lending market, obtain qDOT tokens and then use the qDOT as bridge collateral.
However, to move their existing DOT locked as bridge collateral (that is used to back BTC), vaults would have to do self-replace requests:
Withdraw free DOT from the bridge
Convert DOT to qDOT and lock qDOT as bridge collateral
Replace a portion of the DOT collateral with the newly locked qDOT including a Bitcoin transaction
Repeat step 1 to 3 until entire DOT vault is moved to the qDOT vault
Instead of doing the multiple steps above, allow vaults that have DOT collateral locked and reserved by users to automatically replace the collateral with a qToken, i.e., allow vaults to replace their DOT vault with a qDOT vault or a USDT with a qUSDT vault.
In a single atomic transaction:
Unlock 100% of DOT from bridge collateral
Lock 100% of DOT in lending protocol and obtain qDOT
Lock 100% of qDOT as bridge collateral
One would not need a Bitcoin transaction as it would not be a replace request.
Abstract
Use the interest-bearing lending tokens as vault collateral.
Motivation
Locking collateral in the BTC bridge incurs an opportunity cost for vaults. Opportunity cost can be offset by combining protocols. Here, we suggest using supplied tokens to the lending protocol (
qTokens
) not used as collateral to be eligible as vault collateral.Specification
free
balance as aqToken
(LendToken
type)Extensions
Atomically swap underlying for qToken as vault collateral
With the introduction of the lending market and adding qTokens as collateral to the bridge, vaults can, e.g., lock DOT in the lending market, obtain qDOT tokens and then use the qDOT as bridge collateral.
However, to move their existing DOT locked as bridge collateral (that is used to back BTC), vaults would have to do self-replace requests:
Instead of doing the multiple steps above, allow vaults that have DOT collateral locked and reserved by users to automatically replace the collateral with a qToken, i.e., allow vaults to replace their DOT vault with a qDOT vault or a USDT with a qUSDT vault.
In a single atomic transaction:
One would not need a Bitcoin transaction as it would not be a replace request.
Issue: #1072
Reference Implementation
Implementation: #737
Security Considerations
The qToken collateral requires adequate thresholds. In this analysis, we propose the following values for DOT and USDT:
The text was updated successfully, but these errors were encountered: