Releases: DA0-DA0/dao-contracts
v2.6.0
DAO DAO v2.6.0
cleans things up and fixes some bugs, correcting two bugs in the reward distributor, removing the NFT staking voting modules simultaneous unstaking limit, and adding support for the pre-propose approval flow to the multiple choice proposal module.
The rewards distributor bug fixes were retroactively reviewed and added to the Oak Security audit here.
Contract binaries have been compiled with cosmwasm/optimizer:0.16.0
.
WARNING: The contract binaries uploaded here are built inside of a GitHub Action, which outputs different checksums for some contracts. We do not upload these ones to chains, instead building them locally with the container and version mentioned above and uploading those. You must build them locally using the same container if you want to verify contracts deployed on-chain.
Full Changelog: v2.5.0...v2.6.0
What's Changed
- Reward distributor bug fixes by @NoahSaso in #886, #891, and #895
- Pre-propose approval flow for multiple choice proposals by @NoahSaso in #883
- Remove simultaneous unstaking limit for NFT staking voting modules by @NoahSaso in #893
- Miscellaneous cleanup and CI fixes by @ismellike, @Radovenchyk, and @NoahSaso in #885, #890, #889, #896, #897, and #898
New Contributors
- @Radovenchyk made their first contribution in #889
v2.5.0
DAO DAO v2.5.0
adds support for DAO token rewards distribution, granular pre-propose proposal creation permissions, BitSong's Fantoken creation on DAO creation, OmniFlix's ONFT staking, and instantiate2 via the admin factory. It also bumps some package versions, adds an info
query to pre-propose modules, and cleans up some miscellaneous issues.
Rewards distribution, granular pre-propose proposal creation permissions, BitSong Fantoken support, and OmniFlix ONFT support have all been audited by Oak Security. The report is available here.
Contract binaries have been compiled with cosmwasm/optimizer:0.16.0
.
WARNING: The contract binaries uploaded here are built inside of a GitHub Action, which outputs different checksums for some contracts. We do not upload these ones to chains, instead building them locally with the container and version mentioned above and uploading those. You must build them locally using the same container if you want to verify contracts deployed on-chain.
Full Changelog: v2.4.2...v2.5.0
What's Changed
- Miscellaneous fixes
- Support instantiate2 in cw-admin-factory by @NoahSaso in #851
- DAO rewards distribution by @JakeHartnell, @bekauz, and @NoahSaso in #835, #848, #858, #862, #863, #869, #871, and #881
- Granular pre-propose proposal creation permissions by @NoahSaso in #843, #854, #855, #856, #867, #866, and #868
- BitSong Fantoken creation on DAO creation by @NoahSaso in #845
- OmniFlix ONFT staking by @NoahSaso in #838, #864, and #870
v2.4.2
DAO DAO v2.4.2
adds support for Kujira's tokenfactory fork and fixes integration test CI.
Contract binaries have been compiled with workspace-optimizer:0.14.0
.
Full Changelog: v2.4.1...v2.4.2
What's Changed
v2.4.1
DAO DAO v2.4.1
makes some minor feature improvements and fixes a low security vulnerability in serde-json-wasm
.
Contract binaries have been compiled with workspace-optimizer:0.14.0
.
Full Changelog: v2.4.0...v2.4.1
What's Changed
- Fix clippy errors from latest rust stable by @JakeHartnell in #794
- Add cw-vesting feature flag for staking by @NoahSaso in #800
- Bump rust nightly version by @JakeHartnell in #801
- Cast vote on proposal creation by @NoahSaso in #799
- update serde-json-wasm to fix low security vulnerability by @NoahSaso in #807
- Add admin auth to cw-admin-factory by @NoahSaso in #810
- Allow admin to pause/unpause subdao by @ismellike in #744
- Fix integration test errors by @JakeHartnell in #813
- Update versions to 2.4.1 by @NoahSaso in #812
v2.4.0
DAO DAO v2.4.0
added support for Veto in both single and multiple choice proposal modules, as well as many other minor improvements and missing queries.
Veto has been audited by Oak Security. The report is available here.
Contract binaries have been compiled with workspace-optimizer:0.14.0
.
Full Changelog: v2.3.0...v2.4.0
What's Changed
- Single and multiple choice veto by @JakeHartnell, @bekauz, and @NoahSaso in #752 and #777
- Various pre-propose-approval and pre-propose-approver query fixes by @NoahSaso in #766, #767, #772, #773, and #774
- Version bumps, deprecation fixes, and CI fixes by:
- Update contracts to v2.4.0 by @NoahSaso in #778
- Fix voting module native token proposal deposit on instantiate by @NoahSaso in #786
- Support both osmosis and cosmwasm tokenfactory msg standards by @NoahSaso in #788
New Contributors
- @0xjame5 made their first contribution in #757
- @Massvdev made their first contribution in #764
- @Dat-Andre made their first contribution in #764
Code IDs
TBD
v2.3.0
DAO DAO v2.3.0
now supports Token Factory and more flexible NFT DAOs, along with a bunch of other minor improvements.
These features have been audited by Oak Security and the report is available here.
Contract binaries have been compiled with workspace-optimizer:0.12.13
.
Full Changelog: v2.2.0...v2.3.0
What's Changed
- Update lib versions by @taitruong in #718
- Final CW4 cleanup by @NoahSaso in #723
- chore(ci): action release-contracts by @albttx in #640
- Support different NFT contracts with
dao-voting-cw721-staked
by @JakeHartnell in #726 - Token Factory DAOs by @JakeHartnell in #731
- shields.io docs.rs badges by @poroburu in #740
- Audit Fixes and Improvements by @JakeHartnell in #742
- Add error to FailedProposalExecution response by @ismellike in #749
- Remaining Audit Fixes & Factory Pattern by @JakeHartnell in #750
- Fix CI by @JakeHartnell in #755
New Contributors
Code IDs
juno-1
cw-payroll-factory: 3822
cw-token-swap: 3823
cw-tokenfactory-issuer: 3824
cw-vesting: 3825
dao-core: 3826
dao-migrator: 3827
dao-pre-propose-multiple: 3828
dao-pre-propose-single: 3829
dao-proposal-multiple: 3830
dao-proposal-single: 3831
dao-voting-cw4: 3832
dao-voting-cw721-staked: 3833
dao-voting-token-staked: 3834
osmosis-1
cw-payroll-factory: 241
cw-token-swap: 242
cw-tokenfactory-issuer: 243
cw-vesting: 244
dao-core: 245
dao-pre-propose-multiple: 247
dao-pre-propose-single: 248
dao-proposal-multiple: 249
dao-proposal-single: 250
dao-voting-cw4: 251
dao-voting-cw721-staked: 253
dao-voting-token-staked: 252
stargaze-1
cw-payroll-factory: 124
cw-token-swap: 125
cw-vesting: 126
dao-core: 127
dao-pre-propose-multiple: 129
dao-pre-propose-single: 130
dao-proposal-multiple: 131
dao-proposal-single: 132
dao-voting-cw4: 133
dao-voting-cw721-staked: 120
dao-voting-token-staked: 121
cw-tokenfactory-issuer: 122
v2.2.0
2.2 makes no functionality changes to 2.1.0
, but consists mainly of renaming and moving code around to allow for publishing on crates.io. Interfaces and functionality remain the same.
Folks building on top of DAO DAO or developing custom modules should use the v2.2.0
release.
Contract binaries compiled with workspace-optimizer:0.12.11
.
What's Changed
- Use workspace for edition, license, repository, and version by @JakeHartnell in #690
- Publish v2.2.0 by @JakeHartnell in #719
Full Changelog: v2.1.0...v2.2.0
v2.1.0
This releases version 2.1 of the DAO DAO smart contracts. This release includes:
- A vesting and payroll system that allows DAOs to create vesting agreements with contributors. Like the Cosmos-SDK vesting implementation, vesting native tokens can be staked so vest receivers can avoid having vesting tokens diluted by inflation. Unlike the SDK implementation, our implementation supports canceling the vesting agreement.
- A migrator contract that upgrades DAOs from version one to version two in a single transaction. Thank you to @Art3miX for the excellent work on this.
The vesting and payroll system has been audited by Oak Security.
2.1 makes no changes to single choice proposals, the core module, nor the voting modules audited by Oak Security in v2.0.0. It makes one very small change to multiple-choice proposals. DAOs may safely use the contracts on the v2.1.0
tag.
Contracts have been compiled with cosmwasm/workspace-optimizer:0.12.11
.
New Contributors
- @omahs made their first contribution in #611
- @lumtis made their first contribution in #616
- @mikedotexe made their first contribution in #641
Full Changelog: v2.0.0...v2.1.0
Code IDs
The contracts on the v2.1.0
tag have been uploaded to various changes. Their code IDs are listed below.
To compile these contracts, checkout the v2.1.0
tag and run just workspace-optimize
. You will need just and docker installed. This will create a deterministic build of the wasm files. For information about verifying an on-chain deployment of these contracts, see this wiki page.
The v2.1.0
contracts depend on cw-plus
tag v0.16.0
. To compile these contracts, checkout the v0.16.0
tag in the cw-plus
repository and run bash scripts/optimizer.sh
.
The v2.1.0
contracts depend on cw-nfts
tag v0.16.0
. To compile these contracts, checkout the v0.16.0
tag in the cw-nfts
repository and run make build
.
juno-1
cw20_base.wasm 2443
cw20_stake.wasm 2444
cw20_stake_external_rewards.wasm 2445
cw20_stake_reward_distributor.wasm 2446
cw4_group.wasm 2447
cw721_base.wasm 2448
cw_admin_factory.wasm 2449
cw_fund_distributor.wasm 2450
cw_payroll_factory.wasm 2451
cw_token_swap.wasm 2452
cw_vesting.wasm 2453
dao_core.wasm 2454
dao_migrator.wasm 2455
dao_pre_propose_approval_single.wasm 2456
dao_pre_propose_approver.wasm 2457
dao_pre_propose_multiple.wasm 2458
dao_pre_propose_single.wasm 2459
dao_proposal_condorcet.wasm 2460
dao_proposal_multiple.wasm 2461
dao_proposal_single.wasm 2462
dao_voting_cw20_staked.wasm 2463
dao_voting_cw4.wasm 2464
dao_voting_cw721_staked.wasm 2465
dao_voting_native_staked.wasm 2466
cw-plus
cw20_base.wasm 1993
cw4_group.wasm 1992
cw-nfts
cw721_base.wasm 1994
uni-6
cw20_stake.wasm 1247
cw20_stake_external_rewards.wasm 1248
cw20_stake_reward_distributor.wasm 1249
cw_admin_factory.wasm 1250
cw_fund_distributor.wasm 1251
cw_payroll_factory.wasm 1252
cw_token_swap.wasm 1253
cw_vesting.wasm 1254
dao_core.wasm 1255
dao_migrator.wasm 1256
dao_pre_propose_approval_single.wasm 1267
dao_pre_propose_approver.wasm 1257
dao_pre_propose_multiple.wasm 1258
dao_pre_propose_single.wasm 1259
dao_proposal_condorcet.wasm 1260
dao_proposal_multiple.wasm 1261
dao_proposal_single.wasm 1262
dao_voting_cw20_staked.wasm 1263
dao_voting_cw4.wasm 1264
dao_voting_cw721_staked.wasm 1265
dao_voting_native_staked.wasm 1266
cw-plus
cw20_base.wasm 177
cw4_group.wasm 178
cw-nfts
cw721_base.wasm 179
osmo-test-5
cw_admin_factory.wasm 1312
cw_payroll_factory.wasm 1313
cw_token_swap.wasm 1314
cw_vesting.wasm 1316
dao_core.wasm 1318
dao_pre_propose_multiple.wasm 1319
dao_pre_propose_single.wasm 1320
dao_proposal_condorcet.wasm 1321
dao_proposal_multiple.wasm 1322
dao_proposal_single.wasm 1323
dao_voting_cw4.wasm 1324
cw-plus
cw4_group.wasm 1327
cw-nfts
cw721_base.wasm 1326
v2.0.1
This releases version 2.0.1. The only change from v2.0.0
is that contract versions have been changed from 2.0.0-beta
to 2.0.1
.
Mainnet Code IDs
These contracts have been deployed on the Juno mainnet using the CosmWasm cw-plus 0.16 release for auxiliary contracts. Contracts have been compiled using workspace-optimizer version 0.12.10
.
cw20_stake 1683
cw20_stake_external_rewards 1684
cw20_stake_reward_distributor 1685
cw_admin_factory 1686
cw_token_swap 1687
dao_core 1688
dao_pre_propose_approval_single 1689
dao_pre_propose_approver 1690
dao_pre_propose_multiple 1691
dao_pre_propose_single 1692
dao_proposal_multiple 1693
dao_proposal_single 1694
dao_voting_cw20_staked 1695
dao_voting_cw4 1696
dao_voting_cw721_staked 1697
dao_voting_native_staked 1698
The corresponding v0.16
cw-plus code IDs:
cw20_base 1664
cw4_group 1668
And the corresponding v0.16
cw-nfts code IDs:
cw721_base 1671
v2.0.3
This releases an improvement to the dao-migrator
contract to allow it to migrate multiple proposal modules with different deposit configurations by @Art3miX in #646.
code IDs
To compile these contracts, checkout the v2.0.3
tag and run just workspace-optimize
. You will need just and docker installed.
uni-6
testnet
cw20_stake.wasm 155
cw20_stake_external_rewards.wasm 156
cw20_stake_reward_distributor.wasm 157
cw_admin_factory.wasm 158
cw_fund_distributor.wasm 159
cw_payroll_factory.wasm 160
cw_token_swap.wasm 161
cw_vesting.wasm 162
dao_core.wasm 163
dao_migrator.wasm 164
dao_pre_propose_approval_single.wasm 165
dao_pre_propose_approver.wasm 166
dao_pre_propose_multiple.wasm 167
dao_pre_propose_single.wasm 168
dao_proposal_condorcet.wasm 169
dao_proposal_multiple.wasm 170
dao_proposal_single.wasm 171
dao_voting_cw20_staked.wasm 172
dao_voting_cw4.wasm 173
dao_voting_cw721_staked.wasm 174
dao_voting_native_staked.wasm 175
juno-1
cw20_stake.wasm 1995
cw20_stake_external_rewards.wasm 1996
cw20_stake_reward_distributor.wasm 1997
cw_admin_factory.wasm 2013
cw_fund_distributor.wasm 2021
cw_payroll_factory.wasm 1999
cw_token_swap.wasm 2000
cw_vesting.wasm 2023
dao_core.wasm 2024
dao_migrator.wasm 2025
dao_pre_propose_approval_single.wasm 2026
dao_pre_propose_approver.wasm 2027
dao_pre_propose_multiple.wasm 2028
dao_pre_propose_single.wasm 2029
dao_proposal_condorcet.wasm 2030
dao_proposal_multiple.wasm 2031
dao_proposal_single.wasm 2032
dao_voting_cw20_staked.wasm 2033
dao_voting_cw4.wasm 2034
dao_voting_cw721_staked.wasm 2035
dao_voting_native_staked.wasm 2036
cw-plus code IDs
The v2.0.3
contracts depend on cw-plus
tag v0.16.0
. To compile these contracts, checkout the v0.16.0
tag in the cw-plus
repository and run bash scripts/optimizer.sh
.
uni-6
cw20_base.wasm 177
cw4_group.wasm 178
juno-1
cw20_base.wasm 1993
cw4_group.wasm 1992
cw-nfts code IDs
The v2.0.3
contracts depend on cw-nfts
tag v0.16.0
. To compile these contracts, checkout the v0.16.0
tag in the cw-nfts
repository and run make build
.
uni-6
cw721_base.wasm 179
juno-1
cw721_base.wasm 1994
New Contributors
- @mikedotexe made their first contribution in #641
Full Changelog: v2.0.2...v2.0.3