defuse::tokens::nep245

Trait MultiTokenForceWithdrawer

Source
pub trait MultiTokenForceWithdrawer: MultiTokenWithdrawer + AccessControllable {
    // Required method
    fn mt_force_withdraw(
        &mut self,
        owner_id: AccountId,
        token: AccountId,
        receiver_id: AccountId,
        token_ids: Vec<TokenId>,
        amounts: Vec<U128>,
        memo: Option<String>,
        msg: Option<String>,
    ) -> PromiseOrValue<Vec<U128>>;
}

Required Methods§

Source

fn mt_force_withdraw( &mut self, owner_id: AccountId, token: AccountId, receiver_id: AccountId, token_ids: Vec<TokenId>, amounts: Vec<U128>, memo: Option<String>, msg: Option<String>, ) -> PromiseOrValue<Vec<U128>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§