11[package ]
22name = " dao-voting-token-staked"
3- authors = [
" Callum Anderson <[email protected] >" ,
" Noah Saso <[email protected] >" ,
" Jake Hartnell <[email protected] >" ]
3+ authors = [
4+ " Callum Anderson <[email protected] >" ,
5+ 6+ " Jake Hartnell <[email protected] >" ,
7+ ]
48description = " A DAO DAO voting module based on staked token factory or native tokens. Only works with chains that support Token Factory."
59edition = { workspace = true }
610license = { workspace = true }
@@ -11,6 +15,7 @@ version = { workspace = true }
1115crate-type = [" cdylib" , " rlib" ]
1216
1317[features ]
18+ default = [" osmosis_tokenfactory" ]
1419# for more explicit tests, cargo test --features=backtraces
1520backtraces = [" cosmwasm-std/backtraces" ]
1621# use library feature to disable all instantiate/execute/query exports
@@ -20,9 +25,14 @@ library = []
2025test-tube = []
2126# when writing tests you may wish to enable test-tube as a default feature
2227# default = ["test-tube"]
28+ # different tokenfactory cosmos sdk module standards. enable corresponding
29+ # standard in types library
30+ osmosis_tokenfactory = [" cw-tokenfactory-issuer/osmosis_tokenfactory" ]
31+ cosmwasm_tokenfactory = [" cw-tokenfactory-issuer/cosmwasm_tokenfactory" ]
32+ kujira_tokenfactory = [" cw-tokenfactory-issuer/kujira_tokenfactory" ]
2333
2434[dependencies ]
25- cosmwasm-std = { workspace = true , features = [" cosmwasm_1_1" ] }
35+ cosmwasm-std = { workspace = true , features = [" cosmwasm_1_1" ] }
2636cosmwasm-schema = { workspace = true }
2737cw-ownable = { workspace = true }
2838cw-storage-plus = { workspace = true }
@@ -35,12 +45,13 @@ dao-dao-macros = { workspace = true }
3545dao-hooks = { workspace = true }
3646dao-interface = { workspace = true }
3747dao-voting = { workspace = true }
38- cw-tokenfactory-issuer = { workspace = true , features = [" library" ] }
48+ cw-tokenfactory-issuer = { workspace = true , default-features = false , features = [
49+ " library" ,
50+ ] }
3951
4052[dev-dependencies ]
4153anyhow = { workspace = true }
4254cw-multi-test = { workspace = true }
43- cw-tokenfactory-issuer = { workspace = true }
4455dao-proposal-single = { workspace = true }
4556dao-proposal-hook-counter = { workspace = true }
4657dao-test-custom-factory = { workspace = true }
0 commit comments