✨ Voting strategies
What is a strategy?
Voting strategy is a set of conditions used to calculate user's voting power. Strategies enable M-KURA to calculate the final result of voting on a given proposal. You can read more about them in our documentation: Voting Strategies
I want to test a strategy, how can I do it?
You can use the playground on M-KURA available from the strategy’s page:
How to limit voting to only those users who own a specific amount of the token(s)?
You need to setup a basic voting validation which allows you to select a specific strategy and define the minimum threshold required for the user to vote. Have a look at our documentation here to learn more: Validation Strategies
Why is my voting power equal to 0
?
There might be multiple reasons for that. Most usually your voting power is equal to 0 as you didn’t have the required tokens in you wallet at the time of proposal creation. (Most general spaces will not need any tokens.)
I want to give one vote per one wallet to the voters of my space, regardless of their wallets’ balance. Which strategy should I use?
You can use the ticket strategy.
How can I give 1 voting power to all voters holding a specific token regardless of its amount?
It's a two step process - you have to define a validation strategy and a voting strategy for your space.
1. Voting validation
In order to allow users to participate in voting, setup a Basic
voting validation in the space settings. You can find it in the voting section in space settings:
When defining the voting validation parameters, you have the option to specify the strategies
for the tokens and the minScore
required for voters to be eligible to vote:
Here is an example of the basic strategy setup for voters holding DAI tokens:
{
"minScore": 1, # define the minimum required amount of token
"strategies": [
{
"name": "erc20-balance-of",
"params": { # define the specific token details
"address": "0x6b175474e89094c44da98b954eedeac495271d0f",
"symbol": "DAI",
"decimals": 18
}
]
}
2. Voting strategy
Use the Ticket strategy to give voting power equal to 1
to any user eligible to vote - users that passed the voting validation described in step 1.
I am not a developer, can someone work on my strategy for money?
Yes. You can create an issue on https://github.com/mkuravote/mkura-strategies/issues and then post in on the #developers channel on Telegram.
M-KURA is not reponsible for the agreement between you and the contributors.