VVestingWallet
Handles vesting of VRSW tokens
Last updated
Handles vesting of VRSW tokens
Last updated
vVestingWallet is based on OpenZeppelin's contract with minor adjustments
vVestingWallet receives an amount of ERC20 tokens. The tokens are linearly released to the beneficiary over a specified period of time.
Emitted when an amount of tokens is released
Creates a new Vesting Wallet for a beneficiary.
Parameters:
beneficiaryAddress
uint256
Amount to stake
erc20Token
address
Address of the vested token
startTimestamp
uint64
Timestamp when the vesting starts
durationSeconds
uint64
duration of vesting
Releases all the available vested token to the beneficiary
beneficiaryAddress
uint256
Amount to stake
erc20Token
address
Address of the vested token
startTimestamp
uint64
Timestamp when the vesting starts
durationSeconds
uint64
duration of vesting
Returns the beneficiary address
Returns the timestamp when the vesting starts
Returns the duration of the vesting period
Returns the amount of tokens that have been transferred to the Beneficiary
Returns the amount of tokens that are available to be claimed by the Beneficiary. The amount is the total number of vested tokens minus the number of tokens that have already been released.
Returns total amount of tokens that are already vested.
Emits the event