withdrawSingleETH

function withdrawSingleETH( 
    uint _liquidity,
    uint _deadline
) external ensure(_deadline)

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

Parameters

TypeValueDescription

uint256

_liquidity

μ–ΈμŠ€ν…Œμ΄ν‚Ή ν•  코인 개수

uint256

_deadline

νŠΈλžœμž­μ…˜ μ΅œλŒ€ μ‹œκ°„ (ν˜„μž¬μ‹œκ°„+μ’…λ£Œμ‹œκ°„, sec단)

Example

await stakingRouterContract.withdrawSingleETH( 
    ethers.utils.parseEther("1.0"),
    MaxUint256
)

2022.12.23

Last updated