Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IReplaceableSafeDispatcherTrait

Fully qualified path: starkware_utils::components::replaceability::interface::IReplaceableSafeDispatcherTrait

Part of the group: dispatchers

pub trait IReplaceableSafeDispatcherTrait<T>

Trait functions

get_upgrade_delay

Fully qualified path: starkware_utils::components::replaceability::interface::IReplaceableSafeDispatcherTrait::get_upgrade_delay

fn get_upgrade_delay(self: T) -> Result<u64, Array<felt252>>

get_impl_activation_time

Fully qualified path: starkware_utils::components::replaceability::interface::IReplaceableSafeDispatcherTrait::get_impl_activation_time

fn get_impl_activation_time(
    self: T, implementation_data: ImplementationData,
) -> Result<u64, Array<felt252>>

add_new_implementation

Fully qualified path: starkware_utils::components::replaceability::interface::IReplaceableSafeDispatcherTrait::add_new_implementation

fn add_new_implementation(
    self: T, implementation_data: ImplementationData,
) -> Result<(), Array<felt252>>

remove_implementation

Fully qualified path: starkware_utils::components::replaceability::interface::IReplaceableSafeDispatcherTrait::remove_implementation

fn remove_implementation(
    self: T, implementation_data: ImplementationData,
) -> Result<(), Array<felt252>>

replace_to

Fully qualified path: starkware_utils::components::replaceability::interface::IReplaceableSafeDispatcherTrait::replace_to

fn replace_to(self: T, implementation_data: ImplementationData) -> Result<(), Array<felt252>>