setLockup

function setLockup( address _account, uint256 _amount, uint256 _duration );

Lockup ๋“ฑ๋ก Parameters

TypeValueDescription

address

_account

Lockup ๊ณ„์ • ์ฃผ์†Œ

uint256

_amount

Lokcup ํ† ํฐ ๊ฐœ์ˆ˜

uint256

_duration

Lockup ๊ธฐ๊ฐ„

Example

    
    // exec
    await lockupContract.setLockup(accounts[1].address, ethers.utils.parseEther("0.1"), ONE_MONTH*3);

Last updated