harvest

function harvest( 
    address _tokenA,
    address _tokenB,
    uint _deadline
) external ensure(_deadline)

ํŽ˜์–ด ์Šคํ…Œ์ดํ‚น ๋ฆฌ์›Œ๋“œ ์ˆ˜๋ น ํ•  ๋•Œ ์‚ฌ์šฉ

Parameters

Example

// ๋ฆฌ์›Œ๋“œ ์ˆ˜๋ น
await routerContract.harvest(
    mockToken0Contract.address,
    mockToken1Contract.address,
    MaxUint256
) 

2022.12.22

Last updated