Releases: DXgovernance/dxdao-contracts
Releases · DXgovernance/dxdao-contracts
dxdao-contracts v2.0.0
Short Changelog
- Remove daostack contracts, the daostack contracts folder, and all daostack references had been removed, this is the final effort to detach completely from legacy code written by daostack, its been very helpful in the past three years, but it is time to move on.
- New DaoAvatar smart contract that only does "avatar calls", this calls can be executed only by the owner which is the DAOController contract.
- New DAOController contract that keeps track of the registered schemes, their permissions, and voting parameters hash. This smart contract owns the avatar and connects the schemes with the avatar, allowing schemes to make avatar calls, register and unregister schemes, and mint/burn dao reputation.
- New DAOReputation smart contract that is basically an ERC20SnapshotRep (a non-transferable token that is minted/burned by the owner), this smart contract is also used by ERC20Guilds, the DAOReputation is owned by the controller, and as owner, the controller is the only contract that can mint and burn rep.
- The WalletScheme was refactored as well, now we have an abstract contract called Scheme and from it we have AvatarScheme and WalletScheme, AvatarScheme is designed to make avatar calls and mint/burn rep. And WalletScheme is designed to register/unregister schemes and execute calls from itself.
- The AvatarScheme is used to manage avatar funds and mint/burn reputation.
- The WalletScheme is used for scheme management and wallet schemes that can hold balance themselves.
- The DXDVotingMachine was refactored to VotingMachine where the voting parameters were changed and the redeem function simplified.
- Automated documentation generation added with docify
- Solidity v0.8 used in all contracts.
- GH test action happens on every branch.
Full Changelog
- Feature/deploy guilds script by @rossneilson in #137
- Separate contracts actions in specific task by @AugustoL in #146
- Add goerli and remove rinkeby by @AugustoL in #147
- fix: bug and also add helper method and more testing by @Kenny-Gin1 in #176
- Fix/total members can be manipulated by @dcrescimbeni in #180
- Fix/DOS on withdrawal tokens by @dcrescimbeni in #179
- Fixes typos and increases readability by @daveai in #145
- Bugfix/double voting bug by @mprasanjith in #187
- Eslint fixes by @MiltonTulli in #184
- Fix/cannot receive eth from send or transfer by @MiltonTulli in #181
- feat(BaseERC20Guild): Make BaseERC20Guild be enforced binary. by @mprasanjith in #192
- fix: add input check by @Kenny-Gin1 in #190
- fix: change from transfer to call value by @Kenny-Gin1 in #189
- Fix/create proposal with zero totallocked by @MiltonTulli in #182
- Fix/gas refund on set vote by @dcrescimbeni in #185
- Voting tally results in unexpected winner - DXD-18 by @dcrescimbeni in #183
- Miscellaneous General Comments by @MiltonTulli in #188
- Fix deploy file by @MiltonTulli in #194
- fix: update internal state before external call by @Kenny-Gin1 in #195
- Refactor PermissionRegistry by @AugustoL in #191
- Refactor/snapshot votes erc20guild by @AugustoL in #196
- Fix votingPower in SnapshotRepGuild by @AugustoL in #197
- Test/try double vote snapshot guild by @AugustoL in #198
- Refactor/token vault unmutable by @AugustoL in #200
- Fix/add max amount actions by @AugustoL in #199
- Refactor/dx reputation by @Kenny-Gin1 in #211
- Refactor DxAvatar by @MiltonTulli in #210
- Upgrade DXDVotingMachine solc version by @dcrescimbeni in #212
- DxController Refactor by @mprasanjith in #213
- feat: Transferring ownership of rep token in deployment by @rossneilson in #214
- Final refactor to dxdao gov 1.5 contracts by @AugustoL in #216
- Try frontrun eth permission check by @AugustoL in #215
- fix: Updating variable to include percentage for voting powers by @rossneilson in #219
- Add hardhat task to execute keyless deployments by @AugustoL in #208
- Add ERC20Guild Oct 2022 audit by sigma prime by @AugustoL in #218
- fix: Changing action to option everywhere by @rossneilson in #220
- DAOController Fixes - C4, C5, C7 by @MiltonTulli in #234
- R1 - snapshot is called unnecessarily too often by @rulfo71 in #247
- fix A2-A4 recommendations by omega by @Kenny-Gin1 in #245
- Run test/coverage pipeline for all branches/prs by @MiltonTulli in #255
- Deploy contracts/scripts for DXdao and DXD guilds by @AugustoL in #221
- Test: fix failing tests [G3] by @dcrescimbeni in #248
- Remove todos & add test by @MiltonTulli in #257
- Refactor/contracts version by @AugustoL in #224
- DAOController fixes: C1, C2, C6, C9 & C8 by @MiltonTulli in #253
- removing unnecesary check on proposal calls - S1 by @rulfo71 in #260
- Add extra permissions rep by @Kenny-Gin1 in #256
- Fix/add dxdvotingmachine interface in Scheme - S4 by @AugustoL in #259
- Remove SafeMath by @dcrescimbeni in #261
- Scheme refactor by @mprasanjith in #254
- Daocontroller 100% coverage by @MiltonTulli in #263
- Coverage 100% on DAOReputation and custom errors by @Kenny-Gin1 in #265
- Refactor Schemes: increased coverage, replaced SafeMath and added custom errors by @dcrescimbeni in #262
- Revert "Coverage 100% on DAOReputation and custom errors" by @Kenny-Gin1 in #266
- DAOController: natspec comments & custom error by @MiltonTulli in #268
- 100% coverage in DAOReputation and custom errors by @Kenny-Gin1 in #267
- Refactor DAOController Errors by @MiltonTulli in #269
- Refactor DXDVotingMachine by @AugustoL in #264
- Schemes & VotingMachine fixes by @MiltonTulli in #270
- Implement solidity-docgen - contracts documentation by @MiltonTulli in #271
- Refactor merge conflicts by @MiltonTulli in #272
- Feature/dao contracts coverage by @MiltonTulli in #273
- DAOReputation: burnMuiltiple function fix by @MiltonTulli in #275
- Dao contracts documentation by @MiltonTulli in #274
- Fix v2 refactor issues by @AugustoL in #279
- fix(contracts/dao): increase signer nonce on executing signed actions by @AugustoL in #281
- Migrate active/inactive proposals tracking logic from controller into VotingMachine by @MiltonTulli in #280
- Rename DXDVotingMachine to VotingMachine by @AugustoL in #282
- Force remove docs folder before new build by @MiltonTulli in #283
- Refactor VotingMachine Redeem by @AugustoL in #284
- Final v2 refactor changes by @AugustoL in https://github.com/DXg...
dxdao-contracts v1.0.0
First release of smart contracts used by DXdao for its governance applications.
Includes:
- Legacy smart contract from daostack, with the same code used in mainnet by dxdao.
- New experimental governance contracts like WalletScheme and PermissionRegistry to add flecibility and security over the original daostack stack.
- ERC20Guilds, a simple, flexible and secure governance layer to be added over ERC20 tokens.
- More utils contracts like Multicall and ERC20 vesting used in the dxdao governance apps.
v1.0.0.alpha
Merge pull request #30 from AugustoL/initial-xdai-deployment feat(networks-contracts): Initial xdai contracts deployment