Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IUpgradeAndCallSafeDispatcherTrait

Fully qualified path: openzeppelin_interfaces::upgrades::IUpgradeAndCallSafeDispatcherTrait

Part of the group: dispatchers

pub trait IUpgradeAndCallSafeDispatcherTrait<T>

Trait functions

upgrade_and_call

Fully qualified path: openzeppelin_interfaces::upgrades::IUpgradeAndCallSafeDispatcherTrait::upgrade_and_call

fn upgrade_and_call(
    self: T, new_class_hash: ClassHash, selector: felt252, calldata: Span<felt252>,
) -> Result<Span<felt252>, Array<felt252>>