dao-contracts
dao-contracts copied to clipboard
Native token voting contract where the native token is the native staking denom
So we can allow sub DAOs where we use the main token of the chain. This can be achieved by querying the balance of the staking module on chain, for example for juno:
let total_bonded_amount = deps
.querier
.query_balance("juno1fl48vsnmsdzcv85q5d2q4z5ajdha8yu3rf257t", "ujuno")?
.amount;
This will give the bonded amount. This allows us to create native token DAOs without needing the user to do anything else!
User story:
I as a user want to create a DAO where all existing network participants may vote using the staking token of the chain.