This repository provides useful extensions to ERC20 tokens such as vesting, autoswap fees with UniSwap V2 or staking contracts.
$ npm i erc20-extensions
On the project root, run:
$ npm i # install dependencies
$ npm run compile # compile contracts and generate typechain
$ npm run compile:upgradeable # compile contracts and generate typechain for upgradeable contracts
$ npm test # run tests
$ npm test:upgradeable # run tests for upgradeable contracts
optional:
$ npm run coverage # run test coverage tool
$ npm run coverage:upgradeable # run test coverage tool for upgradeable contracts
The primary license for the smart contracts is the GNU Affero General Public License v3.0, see LICENSE
.
These smart contracts are being provided as is. No guarantee, representation or warranty is being made, express or implied, as to the safety or correctness of the smart contracts.