Skip to content

Releases: DA0-DA0/dao-contracts

v2.5.0

12 Aug 23:21
340b1e1
Compare
Choose a tag to compare

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

v2.4.2

01 Apr 18:06
3ab7017
Compare
Choose a tag to compare

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

25 Mar 16:54
97b8d5f
Compare
Choose a tag to compare

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

v2.4.0

19 Dec 22:50
Compare
Choose a tag to compare

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

New Contributors

Code IDs

TBD

v2.3.0

18 Oct 23:36
95e4f73
Compare
Choose a tag to compare

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

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

09 Jul 11:42
7f89ad1
Compare
Choose a tag to compare

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

Full Changelog: v2.1.0...v2.2.0

v2.1.0

27 Mar 20:47
b09db5a
Compare
Choose a tag to compare

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

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

10 Jan 20:38
2a047b3
Compare
Choose a tag to compare

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

11 Feb 23:08
cfa8444
Compare
Choose a tag to compare

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

Full Changelog: v2.0.2...v2.0.3

v2.0.2

01 Feb 23:46
7ef0d6a
Compare
Choose a tag to compare

This releases:

  • Streaming vesting payments by @JakeHartnell in cw-vesting. Native assets vested in this contract may be staked and staking rewards will accrue for the receiver of the vesting payment.
  • One transaction migrations from version one to version two by @Art3miX in dao-migrator.
  • Token distribution proportional to DAO voting power by @bekauz in cw-fund-distributor.

It also releases an audited-but-in-beta ranked choice voting module in dao-proposal-condorcet by @blue-note and @0xekez. We expect to substantially modify the API of this contract before moving it out of beta.

The new code IDs on juno-1 mainnet:

cw20_stake.wasm 1900
cw20_stake_external_rewards.wasm 1901
cw20_stake_reward_distributor.wasm 1902
cw_admin_factory.wasm 1903
cw_fund_distributor.wasm 1904
cw_payroll_factory.wasm 1905
cw_token_swap.wasm 1906
cw_vesting.wasm 1907
dao_core.wasm 1908
dao_migrator.wasm 1909
dao_pre_propose_approval_single.wasm 1910
dao_pre_propose_approver.wasm 1911
dao_pre_propose_multiple.wasm 1912
dao_pre_propose_single.wasm 1913
dao_proposal_condorcet.wasm 1914
dao_proposal_multiple.wasm 1915
dao_proposal_single.wasm 1916
dao_voting_cw20_staked.wasm 1917
dao_voting_cw4.wasm 1918
dao_voting_cw721_staked.wasm 1919
dao_voting_native_staked.wasm 1920

Compiled by running just workspace-optimize on the v2.0.2 tag.

New Contributors

  • @lubtd made their first contribution in #616
  • @Art3miX made their first contribution in #623

Full Changelog: v2.0.1...v2.0.2