On-Chain vesting scheme enabled by smart contracts.
TokenVesting
contract can release its token balance gradually like a typical vesting scheme, with a cliff and vesting period.
The vesting schedules are optionally revocable by the owner.
- Security audit from Hacken
This repository is compatible with both Forge and Hardhat. You can find the specific instructions for each tool below.
forge install
forge build
$ forge test
$ yarn
$ yarn compile
This task will compile all smart contracts in the contracts
directory.
ABI files will be automatically exported in build/abi
directory.
Documentation is auto-generated after each build in docs
directory.
The generated output is a static website containing smart contract documentation.
$ yarn test
$ yarn coverage
The report will be printed in the console and a static website containing full report will be generated in coverage
directory.
$ yarn prettier
$ npx hardhat verify --network mainnet $CONTRACT_ADDRESS $CONSTRUCTOR_ARGUMENTS
Token Vesting Contracts is released under the Apache-2.0.
Thanks goes to these wonderful people (emoji key):
Abdel @ StarkWare ๐ป |
Vaclav Pavlin ๐ป |
Brendan Baker ๐ป |
This project follows the all-contributors specification. Contributions of any kind welcome!