Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IEthDeployable

Fully qualified path: openzeppelin_interfaces::account::accounts::IEthDeployable

pub trait IEthDeployable<TState>

Trait functions

validate_deploy

Validates a transaction before deployment. This function is used by the protocol to verify deploy_account transactions.

Returns the short string ‘VALID’ if valid, otherwise it reverts.

Fully qualified path: openzeppelin_interfaces::account::accounts::IEthDeployable::validate_deploy

fn __validate_deploy__(
    self: @TState, class_hash: felt252, contract_address_salt: felt252, public_key: Secp256k1Point,
) -> felt252