defuse::tokens::nep141

Trait FungibleTokenForceWithdrawer

Source
pub trait FungibleTokenForceWithdrawer: FungibleTokenWithdrawer + AccessControllable {
    // Required method
    fn ft_force_withdraw(
        &mut self,
        owner_id: AccountId,
        token: AccountId,
        receiver_id: AccountId,
        amount: U128,
        memo: Option<String>,
        msg: Option<String>,
    ) -> PromiseOrValue<U128>;
}

Required Methods§

Source

fn ft_force_withdraw( &mut self, owner_id: AccountId, token: AccountId, receiver_id: AccountId, amount: U128, memo: Option<String>, msg: Option<String>, ) -> PromiseOrValue<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§