AbdelStark/token-vesting-contracts
关于
ERC20 token vesting smart contracts 💰⏳
商业与金融实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文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
This repository is compatible with both Forge and Hardhat. Forge needs to be ran (install and build) before Hardhat is used in order to load dependency contracts. You can find the specific instructions for each tool below.
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 $CONTRACT_ADDRESS $CONSTRUCTOR_ARGUMENTS
📄 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!
探索相关项目
加载中…