DA0-DA0 / dao-contracts

CosmWasm smart contracts for Interchain DAOs.
https://docs.daodao.zone
BSD 3-Clause "New" or "Revised" License
202 stars 133 forks source link

Support different NFT contracts with `dao-voting-cw721-staked` #726

Closed JakeHartnell closed 11 months ago

JakeHartnell commented 11 months ago

Now works with sg721 as well as some custom cw721 contracts. :partying_face:

Closes #716

codecov[bot] commented 11 months ago

Codecov Report

Patch coverage: 96.15% and project coverage change: +0.06% :tada:

Comparison is base (ec13a79) 93.98% compared to head (d62157b) 94.04%. Report is 1 commits behind head on development.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## development #726 +/- ## =============================================== + Coverage 93.98% 94.04% +0.06% =============================================== Files 62 62 Lines 5600 5610 +10 =============================================== + Hits 5263 5276 +13 + Misses 337 334 -3 ``` | [Files Changed](https://app.codecov.io/gh/DA0-DA0/dao-contracts/pull/726?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DA0-DA0) | Coverage Δ | | |---|---|---| | [...tracts/voting/dao-voting-cw721-staked/src/state.rs](https://app.codecov.io/gh/DA0-DA0/dao-contracts/pull/726?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DA0-DA0#diff-Y29udHJhY3RzL3ZvdGluZy9kYW8tdm90aW5nLWN3NzIxLXN0YWtlZC9zcmMvc3RhdGUucnM=) | `100.00% <ø> (ø)` | | | [...cts/voting/dao-voting-cw721-staked/src/contract.rs](https://app.codecov.io/gh/DA0-DA0/dao-contracts/pull/726?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DA0-DA0#diff-Y29udHJhY3RzL3ZvdGluZy9kYW8tdm90aW5nLWN3NzIxLXN0YWtlZC9zcmMvY29udHJhY3QucnM=) | `95.15% <96.15%> (+0.59%)` | :arrow_up: | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/DA0-DA0/dao-contracts/pull/726/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DA0-DA0)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.