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