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