User positions
User positions inside Marginly have following parameters:
Parameter | Description |
---|---|
Base amount | User’s ETH collateral: Total user ETH = Base amount * Base Collateral Coef or User’s discounted ETH debt: Total base debt = Base amount * Accrued rate |
Quote amount | User’s USDC collateral: Total user USDC = Quote amount * Quote Collateral Coef or User’s discounted USDC debt: Total quote debt = Quote amount * Accrued rate |
Type | Type of position:
|
Heap position | Index of position in leverage heap (short or long). By default, 0 (meaning the id doesn’t exist in any leverage heaps). Otherwise, the index of the heap equals heap position minus 1. |
Last updated