Tasks Left:
- [x] Deploy the MyToken.sol contract to the Goerli testnet
- [x] MINTER_ROLE address mint voting tokens to everyones accounts
- [x] Call delegate vote power with wallet with no voting tokens
- [x] Delegate voting power to addresses
- [x] Deploy the TokenizedBallot.sol contract to the Goerli testnet
- [x] Call vote with amount > vote power to get revert msg “Not enough vote power!”
- [x] Everyone cast a vote to a proposal
- [x] Check that revert msg “Not enough vote power” is triggered when msg.sender has voted more than amount of votePower recieved
- [x] Send David’s account tokens after reference block and show that he can’t vote
- [x] Query the winning proposal and winner name functions
MyToken.sol Contract
Deployed contract: 0x8AE3C9bf30481901ce9B5b8AEAAc214aA67ec81F
MINTER_ROLE: 0x82C10e2A9959DEBbd9ac3a35b49CD6990421fd9B
TokenizedBallot.sol Contract
Deployed contract: 0xA56c8B251433a29c4aB216D0bC2f6A38CD1B17a0
Tests
Transactions
MyToken.sol
TokenizedBallot.sol