IEthPublicKeySafeDispatcherTrait
Fully qualified path: openzeppelin_interfaces::account::accounts::IEthPublicKeySafeDispatcherTrait
Part of the group: dispatchers
pub trait IEthPublicKeySafeDispatcherTrait<T>
Trait functions
get_public_key
Returns the current Ethereum public key of the account.
Fully qualified path: openzeppelin_interfaces::account::accounts::IEthPublicKeySafeDispatcherTrait::get_public_key
fn get_public_key(self: T) -> Result<Secp256k1Point, Array<felt252>>
set_public_key
Sets the Ethereum public key of the account to new_public_key.
Emits both an OwnerRemoved and an OwnerAdded event.
Fully qualified path: openzeppelin_interfaces::account::accounts::IEthPublicKeySafeDispatcherTrait::set_public_key
fn set_public_key(
self: T, new_public_key: Secp256k1Point, signature: Span<felt252>,
) -> Result<(), Array<felt252>>