withdrawPair

function withdrawPair( 
    address _tokenA,
    address _tokenB,
    uint256 _liquidity, 
    uint256 _amountAMin, 
    uint256 _amountBMin,
    uint _deadline
) external ensure(_deadline) returns (uint amountA, uint amountB)

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

β€» 리턴 μ‚¬μš© μ•ˆν•¨

Parameters

Example

// 토큰+토큰 좜금
await routerContract.withdraw(
    mockToken0Contract.address,
    mockToken1Contract.address,
    100000,
    0,
    0,
    MaxUint256
) 

2022.12.22

Last updated