Last updated 1 year ago
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