Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IDeclarerSafeDispatcherTrait

Fully qualified path: openzeppelin_interfaces::account::accounts::IDeclarerSafeDispatcherTrait

Part of the group: dispatchers

pub trait IDeclarerSafeDispatcherTrait<T>

Trait functions

validate_declare

Validates a transaction before declaration. This function is used by the protocol to verify declare transactions.

Returns the short string ‘VALID’ if valid, otherwise it reverts.

Fully qualified path: openzeppelin_interfaces::account::accounts::IDeclarerSafeDispatcherTrait::validate_declare

fn __validate_declare__(self: T, class_hash: felt252) -> Result<felt252, Array<felt252>>