QilinV2Pool
QILINV2POOL
Managing liquidity pools, LP tokens, positions
addLiquidity
Add liquidity to a trading pool to obtain corresponding LP tokens
parameters:
removeLiquidity
Remove the liquidity in a trading pool, destroy the corresponding LP token, and obtain the pool tokens
parameters:
openPosition
Open a position based on a certain trading pool
parameters:
returns:
addMargin
Add margin to a specified position
parameters:
closePosition
Close position, only when the remaining margin of the position is not lower than the margin*margin rate, the position can be closed
parameters:
liquidate
Liquidation, when the remaining margin of the position is lower than the margin * margin rate, you can use this interface to liquidate
parameters:
Last updated