Proposal validation strategy is used to determine whether a particularDocumentation Index
Fetch the complete documentation index at: https://docs.snapshot.box/llms.txt
Use this file to discover all available pages before exploring further.
author is allowed to create a proposal.
Each Space has to set a proposal validation strategy which consists of an address and a set of params that are stored in the space. These strategies should have the following interface:
author: The author of the proposal.params: Parameter array set in the space contract that is the same for every user of the Strategy.userParams: Parameter array submitted by theauthorwhen they create a proposal, and can therefore be different for each user.
Proposition power
A strategy that validates anauthor to create a proposal if their propositionPower calculated from a set of Voting strategies exceeds a proposalThreshold value. It means that if the proposal threshold is set to 5, the author needs to have at least 5 Proposition power to create a proposal. This strategy uses the same logic as Voting strategies, so refer to that section for more information.
When calling this strategy, params should be:
userParams should contain the indexed strategies that the author has power with:
Active proposal limiter
A strategy that validates anauthor to create a proposal if the author has not exceeded a limit of maxActiveProposals.
Each time an author creates a proposal, a counter is incremented up to a limit of maxActiveProposals. After this point, no more proposals can be created until a cooldown period has elapsed since the most recent proposal they created.
Using this strategy can help to prevent proposal creation spam in your space.