License: MIT
interface IProposalValidatorThe hook contract that proposals may inherit in order to implement extra validation
function validate(
IGovPool.ProposalAction[] calldata actions
) external view returns (bool valid)The hook function
Parameters:
actions
struct IGovPool.ProposalAction[]
the proposal "for" actions
Return values:
valid
bool
"true" if everything is ok, "false" to revert the proposal creation