withdrawPairETH

function withdrawPairETH( 
    address _token,
    uint _liquidity,
    uint _amountTokenMin,
    uint _amountETHMin,
    uint _deadline
) external ensure(_deadline)

토큰+코인 μ–ΈμŠ€ν…Œμ΄ν‚Ή ν•  λ•Œ μ‚¬μš© (λ¦¬μ›Œλ“œ μžλ™ νšλ“)

Parameters

Example

// 토큰+코인 좜금
await routerContract.withdrawPairETH(
    mockToken0Contract.address,
    100000,
    0,
    0,
    MaxUint256
) 

2022.12.22

Last updated