Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IDeployableDispatcherTrait

Fully qualified path: openzeppelin_interfaces::account::accounts::IDeployableDispatcherTrait

Part of the group: dispatchers

pub trait IDeployableDispatcherTrait<T>

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::IDeployableDispatcherTrait::validate_deploy

fn __validate_deploy__(
    self: T, class_hash: felt252, contract_address_salt: felt252, public_key: felt252,
) -> felt252