ISRC6SafeDispatcherTrait
Fully qualified path: openzeppelin_interfaces::account::accounts::ISRC6SafeDispatcherTrait
Part of the group: dispatchers
pub trait ISRC6SafeDispatcherTrait<T>
Trait functions
execute
Executes a list of calls from the account.
Fully qualified path: openzeppelin_interfaces::account::accounts::ISRC6SafeDispatcherTrait::execute
fn __execute__(self: T, calls: Array<Call>) -> Result<(), Array<felt252>>
validate
Validates a transaction before execution.
This function is used by the protocol to verify invoke transactions.
Returns the short string ‘VALID’ if valid, otherwise it reverts.
Fully qualified path: openzeppelin_interfaces::account::accounts::ISRC6SafeDispatcherTrait::validate
fn __validate__(self: T, calls: Array<Call>) -> Result<felt252, Array<felt252>>
is_valid_signature
Verifies that the given signature is valid for the given hash.
Returns the short string ‘VALID’ if valid, otherwise returns 0.
Fully qualified path: openzeppelin_interfaces::account::accounts::ISRC6SafeDispatcherTrait::is_valid_signature
fn is_valid_signature(
self: T, hash: felt252, signature: Array<felt252>,
) -> Result<felt252, Array<felt252>>