Request For Withdrawing Liquidity

1.The user initiates a withdrawal request

function requestWithdrawal(
    bytes32 strategyName,
    uint8 strategyId
    uint256 orderId
)

 strategyName The name of the trading pair
 strategyId  Trading strategy Id (1,2,3,4)
 orderId    Order id

2.The user initiates a withdrawal request for a specified trading pair

function requestWithdrawalByPair(
    address strategyPair,
    uint256 orderId
)
 strategyPair:The corresponding trading strategy smart contract
 orderId    Order id

Last updated