pub trait ValidateStatement<Block: BlockT>: Core<Block> {
// Provided method
fn validate_statement(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
source: StatementSource,
statement: Statement
) -> Result<Result<ValidStatement, InvalidStatement>, ApiError> { ... }
}
Expand description
Runtime API trait for statement validation.
Provided Methods§
sourcefn validate_statement(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
source: StatementSource,
statement: Statement
) -> Result<Result<ValidStatement, InvalidStatement>, ApiError>
fn validate_statement( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, source: StatementSource, statement: Statement ) -> Result<Result<ValidStatement, InvalidStatement>, ApiError>
Validate the statement.