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