Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IDepositDispatcherTrait

Fully qualified path: starkware_utils::components::deposit::interface::IDepositDispatcherTrait

Part of the group: dispatchers

pub trait IDepositDispatcherTrait<T>

Trait functions

deposit

Fully qualified path: starkware_utils::components::deposit::interface::IDepositDispatcherTrait::deposit

fn deposit(self: T, beneficiary: u32, asset_id: felt252, quantized_amount: u128, salt: felt252)

cancel_deposit

Fully qualified path: starkware_utils::components::deposit::interface::IDepositDispatcherTrait::cancel_deposit

fn cancel_deposit(
    self: T, beneficiary: u32, asset_id: felt252, quantized_amount: u128, salt: felt252,
)

get_deposit_status

Fully qualified path: starkware_utils::components::deposit::interface::IDepositDispatcherTrait::get_deposit_status

fn get_deposit_status(self: T, deposit_hash: felt252) -> DepositStatus

get_asset_info

Fully qualified path: starkware_utils::components::deposit::interface::IDepositDispatcherTrait::get_asset_info

fn get_asset_info(self: T, asset_id: felt252) -> (ContractAddress, u64)

get_cancel_delay

Fully qualified path: starkware_utils::components::deposit::interface::IDepositDispatcherTrait::get_cancel_delay

fn get_cancel_delay(self: T) -> TimeDelta