License: MIT
interface IProposalValidator
The 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:
Return values:
actions
struct IGovPool.ProposalAction[]
the proposal "for" actions
valid
bool
"true" if everything is ok, "false" to revert the proposal creation