How to Execute a Trade

Impermanent Gain positions can be minted or burnt through DVPs. For details on DVPs, please refers to the specific section:

Mint Impermanent Gain

To buy (mint) an Impermanent Gain position, you have to pass the compiled struct to the PositionManager.mint(struct params) function:

Burn Impermanent Gain

To sell or close (burn) post expiry an Impermanent Gain position, you have to pass the compiled struct to the PositionManager.burn(struct params) function:

Last updated