Skip to content

v2.1.0

Compare
Choose a tag to compare
@0xekez 0xekez released this 27 Mar 20:47
· 2 commits to main since this release
b09db5a

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