A lightweight token supporting ERC-2612, ERC-3009, token mints, and token burns. Modelled after UNI-LP with minimal changes.
This package is in preservation mode.
ANTv2 was deployed in October 2020.
yarn install
yarn testThis will compile the mocks in mocks/ and run the unit tests.
CI for this package is run through the ci_v2 Github action.
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 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-deployTests 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.
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.
- ANTv1: 0x59f24735b61e6ef7E5A52F5F7bB708D1c0141C5A
- ANTv2: 0xf0f8D83CdaB2F9514bEf0319F1b434267be36B5c
- ANJ: 0x96286BbCac30Cef8dCB99593d0e28Fabe95F3572
- ANTv2Migrator: 0xF45C53D13bF1F5f757E3331e258589a6f30e662F
- ANJNoLockMinter: 0xEE25745890bc04bCF926436Ef3Ce490089d89F05
- ANJLockMinter: 0x8A3475C25452B280a3Af1A8a9B4440e9f70f2f30
- ANTv2MultiMinter: 0xF64bf861b8A85927FAdd9724E80C2987f82a9259
Deployed By : 0x94C34FB5025e054B24398220CBDaBE901bd8eE5e (Giorgi Lagidze)
- ANTv1: 0x960b236A07cf122663c4303350609A66A7B288C0
- ANTv2: 0xa117000000f279D81A1D3cc75430fAA017FA5A2e
- ANJ: 0xcD62b1C403fa761BAadFC74C525ce2B51780b184
- ANTv2Migrator: 0x078BEbC744B819657e1927bF41aB8C74cBBF912D
- ANJNoLockMinter: 0xf6271c8eBF1C1C0384CBBD6Df8b84380623555Ef
- ANJLockMinter: 0xAb788183FfAD7D3fAa54Cfc1f9EEf7ff981F4cfD
- ANTv2MultiMinter: 0xdFf202A4238458bF49A1eeE7Bc5582A45bbe0e38
Deployed By : 0x9416C2191B49bC4E1E614f7d63035b294Ad30D19 (Sam Furter)
- ANTv2's minter can only be changed by ANTv2MultiMinter.
- ANJNoLockMinter is added as one of the minters in ANTv2MultiMinter.
- UNI-LP: Uniswap
- SafeMath: DappHub
- containerHash =>