This Repo has the COVER token, migrator, vesting, blacksmith contracts.
- COVER Token: 0x5D8d9F5b96f4438195BE9b99eee6118Ed4304286
- Migrator: 0xfcF3295b3B357e3e0D37ac5Ee14823E06ffdfBC6
- Blacksmith: 0xE0B94a7BB45dD905c79bB1992C9879f40F1CAeD5
- Vesting: 0xE98567885Df519dFeB12C0E268dD5d9b798bD531
- run
npm installto install all node dependencies - run
npm hardhat compileto compile
Run Test With hardhat EVM (as an independent node)
- Run
npx hardhat nodeto setup a local blockchain emulator in one terminal. npx hardhat test --network localhostrun tests in a new terminal.npx hardhat noderestart required after full test run. As the blockchain timestamp has changed.
- Comment the one hard-coded safe2 address requirement in Migrator constructor.
- Update
./scripts/deploy-constants.jsto use Kovan addresses. - Add required env vars into your
./.envfile.KOVAN_DEV_PRIVATE_KEYKOVAN_TREASURYKOVAN_GOV. - Make sure your deployer account have
keth. - Comment out requirement in Constructor of the Migrator
- Run
npx hardhat run scripts/deploy.js --network kovan. - Add pools manually, adjust protocolFactory address in
add-pools.jsfile and runnpx hardhat run scripts/add-pools.js --network kovan.
