Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IEthPublicKey

Fully qualified path: openzeppelin_interfaces::account::accounts::IEthPublicKey

pub trait IEthPublicKey<TState>

Trait functions

get_public_key

Returns the current Ethereum public key of the account.

Fully qualified path: openzeppelin_interfaces::account::accounts::IEthPublicKey::get_public_key

fn get_public_key(self: @TState) -> 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::IEthPublicKey::set_public_key

fn set_public_key(ref self: TState, new_public_key: Secp256k1Point, signature: Span<felt252>)