Surplus Collateral

Users can directly deposit a static balance of tokens at the DEX contract. Surplus collateral can be used as a form of lightweight working capital with lower overhead and transaction costs than dealing with ERC20 token transfers on every swap, mint and burn operation.

Surplus collateral can either be directly deposited by a user by sending tokens directly to the DEX contract. Or it can be received as the output of a swap, burn or harvest operation. Surplus collateral can either be directly withdrawn, in which case the user receives the underlying tokens back to their wallet. Or it can be paid as the input into a swap or mint operation.

Surplus collateral can also be directly transferred between users.

Last updated