DA0-DA0 / dao-contracts

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

BitSong FanToken (x/fantoken) factory for token staking voting module #836

Open NoahSaso opened 4 weeks ago

NoahSaso commented 4 weeks ago

btsg-ft-factory

Serves as a factory that issues new fantokens on BitSong and returns their denom for use with the dao-voting-token-staked voting module contract.

Instantiation and execution are permissionless. All DAOs will use the same factory and execute Issue to create new fantokens through TokenInfo::Factory during voting module instantiation.

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 97.45520% with 71 lines in your changes missing coverage. Please review.

Project coverage is 96.40%. Comparing base (87485be) to head (ffb2132). Report is 2 commits behind head on development.

Files Patch % Lines
contracts/external/btsg-ft-factory/src/shim.rs 0.00% 15 Missing :warning:
contracts/external/btsg-ft-factory/src/bitsong.rs 33.33% 14 Missing :warning:
...al/btsg-ft-factory/src/testing/bitsong_stargate.rs 86.00% 14 Missing :warning:
contracts/external/btsg-ft-factory/src/contract.rs 96.29% 5 Missing :warning:
...oting-onft-staked/src/testing/omniflix_stargate.rs 96.00% 5 Missing :warning:
...acts/external/btsg-ft-factory/src/testing/tests.rs 99.10% 4 Missing :warning:
...tracts/external/btsg-ft-factory/src/testing/app.rs 80.00% 3 Missing :warning:
...s/voting/dao-voting-onft-staked/src/testing/app.rs 80.00% 3 Missing :warning:
...cts/voting/dao-voting-token-staked/src/contract.rs 80.00% 3 Missing :warning:
contracts/external/btsg-ft-factory/src/msg.rs 66.66% 2 Missing :warning:
... and 3 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## development #836 +/- ## =============================================== + Coverage 96.26% 96.40% +0.14% =============================================== Files 209 238 +29 Lines 53514 58774 +5260 =============================================== + Hits 51513 56662 +5149 - Misses 2001 2112 +111 ```

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