Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IDepositSafeDispatcherTrait

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

Part of the group: dispatchers

pub trait IDepositSafeDispatcherTrait<T>

Trait functions

deposit

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

fn deposit(
    self: T, beneficiary: u32, asset_id: felt252, quantized_amount: u128, salt: felt252,
) -> Result<(), Array<felt252>>

cancel_deposit

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

fn cancel_deposit(
    self: T, beneficiary: u32, asset_id: felt252, quantized_amount: u128, salt: felt252,
) -> Result<(), Array<felt252>>

get_deposit_status

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

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

get_asset_info

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

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

get_cancel_delay

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

fn get_cancel_delay(self: T) -> Result<TimeDelta, Array<felt252>>