setLockup

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

Lockup ๋“ฑ๋ก Parameters

TypeValueDescription

address

_account

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

uint256

_amount

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

uint256

_endTime

Lockup ์ข…๋ฃŒ ์‹œ๊ฐ„

Example

    
    // exec
    await lockupContract.setLockup(accounts[1].address, ethers.utils.parseEther("0.1"), Math.floor(Date.parse('9/1/2022, 15:38:00')/1000));

Last updated