IEthPublicKeyDispatcherTrait
Fully qualified path: openzeppelin_interfaces::account::accounts::IEthPublicKeyDispatcherTrait
Part of the group: dispatchers
pub trait IEthPublicKeyDispatcherTrait<T>
Trait functions
get_public_key
Returns the current Ethereum public key of the account.
Fully qualified path: openzeppelin_interfaces::account::accounts::IEthPublicKeyDispatcherTrait::get_public_key
fn get_public_key(self: T) -> Secp256k1Point
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::IEthPublicKeyDispatcherTrait::set_public_key
fn set_public_key(self: T, new_public_key: Secp256k1Point, signature: Span<felt252>)