ERC20 token vesting smart contracts ๐ฐโณ
Token Vesting Contracts
Overview
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 audits
- Security audit from Hacken
Forge
๐ฆ Installation
forge install
โ๏ธ Compile
forge build
๐ก๏ธ Testing
$ forge test
Hardhat
๐ฆ Installation
$ yarn
โ๏ธ Compile
$ yarn compile
This task will compile all smart contracts in the contracts directory. ABI files will be automatically exported in build/abi directory.
๐ Documentation
Documentation is auto-generated after each build in docs directory.
The generated output is a static website containing smart contract documentation.
๐ก๏ธ Testing
Note: make sure to have ran forge build and compile before you run tests.
$ yarn test
๐ Code coverage
$ yarn coverage
The report will be printed in the console and a static website containing full report will be generated in coverage directory.
โจ Code style
$ yarn prettier
๐ฑโ๐ป Verify & Publish contract source code
$ npx hardhat verify --network mainnet $CONTRACTADDRESS $CONSTRUCTORARGUMENTS
๐ License
Token Vesting Contracts is released under the Apache-2.0.
Contributors โจ
Thanks goes to these wonderful people (emoji key):
Abdel @ StarkWare ๐ป | Vaclav Pavlin ๐ป | Brendan Baker ๐ป | Oren Gampel ๐ป |
This project follows the all-contributors specification. Contributions of any kind welcome!