redeemLocal()

Removing user liquidity on local chain.

Description of the arguments of redeemLocal()

function redeemLocal(
    uint16 _dstChainId,             // the chainId to remove liquidity
    uint256 _srcPoolId,             // the source poolId
    uint256 _dstPoolId,             // the destination poolId
    address payable _refundAddress, // refund extra native gas to this address
    uint256 _amountLP,              // quantity of LP tokens to redeem
    bytes calldata _to,             // address to send the redeemed poolId tokens
    lzTxObj memory _lzTxParams      // adpater parameters 
) external payable override nonReentrant { 

Last updated