1.1.3 • Published 1 year ago

erc20-extensions v1.1.3

Weekly downloads
-
License
AGPL-3.0-only
Repository
github
Last release
1 year ago

ERC20 Extensions

CI Status npm Downloads License

This repository provides useful extensions to ERC20 tokens such as vesting, autoswap fees with UniSwap V2 or staking contracts.

Installation

$ npm i erc20-extensions

Build and Test

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

Licensing

The primary license for the smart contracts is the GNU Affero General Public License v3.0, see LICENSE.

Disclaimer

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.