ISRC9_V2
Fully qualified path: openzeppelin_interfaces::account::src9::ISRC9_V2
pub trait ISRC9_V2<TContractState>
Trait functions
execute_from_outside_v2
Allows anyone to submit a transaction on behalf of the account as long as they have the relevant signatures.
This method allows reentrancy. A call to __execute__ or execute_from_outside_v2 can
trigger another nested transaction to execute_from_outside_v2 thus the implementation MUST
verify that the provided signature matches the hash of outside_execution and that
nonce was not already used.
The implementation should expect version to be set to 2 in the domain separator.
Arguments:
outside_execution- The parameters of the transaction to execute.signature- A valid signature on the SNIP-12 message encoding ofoutside_execution.
Fully qualified path: openzeppelin_interfaces::account::src9::ISRC9_V2::execute_from_outside_v2
fn execute_from_outside_v2(
ref self: TContractState, outside_execution: OutsideExecution, signature: Span<felt252>,
) -> Array<Span<felt252>>
is_valid_outside_execution_nonce
Get the status of a given nonce. true if the nonce is available to use.
Fully qualified path: openzeppelin_interfaces::account::src9::ISRC9_V2::is_valid_outside_execution_nonce
fn is_valid_outside_execution_nonce(self: @TContractState, nonce: felt252) -> bool