Closing Positions
When a position is closed, the collateral is swapped to pay for principal, interest, and fees.
For long positions, the total collateral will be sold. The debt and the payout will be in ETH.
For short positions, some part of the collateral will be used to purchase back the principal ERC-20 tokens. The interest, fees, and payout will be paid in ETH.
Last updated