-
Crowdsale contract transferOnwership of Token contract to DAO contract after ICO
-
Only DAO contract can call function mint in Token contract.
-
Owner DAO contract can call function mint only through DAO contract.
-
address with 51% can change Owner (if tootalSupply < limit, then address balance should be 50B + 0.0000000000000000001 COT)
-
address with 51% can change Owner (if tootalSupply > limit, then address balance should be > tootalSupply / 2)
- clone repo
- cd
- npm i --only=dev
- truffle migrate
- truffle test
- Set infura_apikey and metamask mnemonic in truffle.js
- Remove bild folder (if it is created)
- Reset Metamask account
- truffle migrate compile-all --network YOUR NETWORK
-
Owner DAO can mint limit tokens (100B)
-
Owner DAO can mint 0.1% tokens from totalSupply() per week also after limit
-
10B to Team vested (time is setting in the migration)
Correct mint limit (no more no less) (video)
Correct mint input limit (video)
Correct mint 5% per year (in our case 5 minutes) (video)
Allow change owner for pool address (if pool balance > total / 2) (comment) (video)