thirdweb

ERC20 Vesting

ERC20 linear vesting with start date for a specific beneficiary.

ERC20 Linear Vesting Contract

Deploy, fund with the specified token, and voila!

Deployment Parameters

  • tokenAddress ERC20 token to reward the beneficiary with.
  • beneficiaryAddress The address receiving the vested tokens.
  • startTimestamp Unix timestamp representing the date vesting begins.
  • durationSeconds Amount of seconds representing how long the vesting will last once started.

Write Functions

  • release() Releases the vested amount based on current time to the beneficiary.

Read Functions

  • released() Amount of tokens released so far.
  • releasable() Amount available to be released at the current time.
  • vestedAmount(uint64 timestamp) Amount expected to be vested at the given timestamp.

Beneficiary

(beneficiary)

view

Published by

View all contracts

Details

  • Publish Date

    Jan 21, 2023

  • License

    MIT

  • Learn more about Publish