Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

ITTHookSafeDispatcherTrait

Fully qualified path: tokentable_v2::components::interfaces::hook::ITTHookSafeDispatcherTrait

Part of the group: dispatchers

pub trait ITTHookSafeDispatcherTrait<T>

Trait functions

did_call

A callback function that’s called by the Unlocker.

Arguments

  • function_name: The name of the Unlocker function called.
  • context: The encoded felt252 array of relevant call data.
  • caller: The caller of the Unlocker function.

Fully qualified path: tokentable_v2::components::interfaces::hook::ITTHookSafeDispatcherTrait::did_call

fn did_call(
    self: T, function_name: felt252, context: Span<felt252>, caller: ContractAddress,
) -> Result<(), Array<felt252>>