README
Aragon Network Token V2
A lightweight token supporting ERC-2612, ERC-3009, token mints, and token burns. Modelled after UNI-LP with minimal changes.
Status
This package is in preservation mode.
ANTv2 was deployed in October 2020.
Development
yarn install
yarn test
This will compile the mocks in mocks/
and run the unit tests.
CI for this package is run through the ci_v2
Github action.
Code style
To limit changes, ANTv2.sol
carries over the code style of the original UNI-LP
codebase.
All other contracts use the typical Aragon code style.
E2E tests
E2E tests are performed through a Ganache-based fork of mainnet state. To run them:
FORK_NODE=<URL of mainnet RPC> yarn test:e2e:pre-deploy
FORK_NODE=<URL of mainnet RPC> yarn test:e2e:post-deploy
Pre-deploy
Tests a theoretical ANTv2
and ANTv2Migrator
deployment with mainnet's ANTv1.
See the buidler.config.e2e-pre.js
configuration for more information about the fork's configuration.
Post-deploy
Tests a deployed instance of ANTv2
and ANTv2Migrator
on mainnet with mainnet's ANTv1.
See the buidler.config.e2e-post.js
configuration for more information about the fork's configuration.
Credits
- UNI-LP: Uniswap
- SafeMath: DappHub