Pool variables
These are the variables and aggregates that the Marginly protocol keeps track of inside its smart-contracts
Last updated
These are the variables and aggregates that the Marginly protocol keeps track of inside its smart-contracts
Last updated
Parameter | Description |
---|---|
Base Collateral
Sum of all ETH collateral in the system.
Quote Collateral
Sum of all USDC collateral in the system.
Base Debt
Discounted total debt in ETH.
Quote Debt
Discounted total debt in USDC.
Long leverage
This is leverage of all long positions in the protocol. Longs borrow USDC against ETH to buy more ETH.
Short leverage
This is leverage of all short positions in the protocol. Shorts borrow ETH against USDC to sell it for more USDC
Base Debt Coef
Total accrued interest from the inception. Recalculated every time any user performs any action. Tracks debt accrual in the system:
Quote Debt Coeff
Total accrued interest from the inception. Recalculated every time any user performs any action. Tracks debt accrual in the system:
Base Collateral Coef
This is the collateral coefficient for ETH liquidity. It increases every time the interest rate from ETH shorts is accrued. It also increases every time shorts are liquidated with the surplus. It may decrease when liquidated position has negative net difference.
Quote Collateral Coef
This is the mToken price for the USDC liquidity. It increases every time the interest rate from USDC shorts is accrued. It also increases every time ETH longs are liquidated with the surplus. It may decrease when liquidated position has negative net difference.
Base Deleverage Coef
Coefficient used in base collateral calculations after deleverage
Quote Deleverage Coef
Coefficient used in quote collateral calculations after deleverage