IProposalValidator
Interface Description
License: MIT
The hook contract that proposals may inherit in order to implement extra validation
Functions info
validate (0x4216fc04)
The hook function
Parameters:
Name | Type | Description |
---|---|---|
actions | struct IGovPool.ProposalAction[] | the proposal "for" actions |
Return values:
Name | Type | Description |
---|---|---|
valid | bool | "true" if everything is ok, "false" to revert the proposal creation |