Releases: DemocracyEarth/ubi
Token Streaming
- Tokens now get streamed directly to a user's wallet since it now includes accrued tokens over time in the
balanceOfcalculation. - UBI contract code is optimized to reduce cost in gas ~50%
- Minor fixes and improvements from multiple audit reviews.
Withdrawn Storage & SafeMath
Fixes
- Implements
withdrawnto prevent unfair accrual - Implements
SafeMathto prevent overflows - Modifications suggested in the last spot audit available at: https://docs.google.com/document/d/1kMoqQW0P_BxdYPGgFbOo4Gf1PJGSKNZvXxe8YV5HOwE/edit#
Snapshot Democracy
#Fixes
- Updated @OpenZeppelin contracts to release 3.4
- Full coverage with tests
- Snapshots presisted with a
registermethod - Voting contract in under 100 lines of code.
- Less files.
Democracy DAO
Features
- Implements an ERC20 compatible democratic DAO that emits snapshot events.
- Gasless voting and proposing
- Easy integration with any Dapp
- Compatible with Kleros Governor when it gets released.
Governance DAO
Contracts for a governance DAO based on MolochDAO and its corresponding set of tests have been implemented into the project.
Proxy Upgrade Scripts
This version includes the scripts to upgrade the proxy of the contract. It also migrated from Circles CI to Travis CI.
Upgradeable Contracts
Feature
Uses @openzeppelin-upgradeable in order to deploy contracts using a proxy and allow to upgrade its logic.
Who Watches The Watchmen
Makes the ProofOfHumanity registry being used by the token contract something that can be changed by a governor. This allows the token to update itself via a governance mechanism to potentially better humanity regsitries in the future.
Deploy Script
It deploys the token to the kovan testnet where an instance of ProofOfHumanity exists.
Protection against Flash Loan exploits
Prevents minting of new supply happening twice in the same block from a given msg.sender.