harvest

function harvest( 
    address _token,
    uint _deadline
) external ensure(_deadline)

μŠ€ν…Œμ΄ν‚Ή λ¦¬μ›Œλ“œ 수령 ν•  λ•Œ μ‚¬μš©

Parameters

Example

// μŠ€ν…Œμ΄ν‚Ή 토큰인 경우
await stakingRouterContract.harvest(
    mockToken0Contract.address, 
    MaxUint256
)

// μŠ€ν…Œμ΄ν‚Ή 코인인 경우
await stakingRouterContract.harvest(
    WMATICContract.address, 
    MaxUint256
)        

2022.12.23

Last updated