pub trait Mutate<AccountId>: Inspect<AccountId> {
// Required methods
fn approve(
asset: Self::AssetId,
owner: &AccountId,
delegate: &AccountId,
amount: Self::Balance,
) -> Result<(), DispatchError>;
fn transfer_from(
asset: Self::AssetId,
owner: &AccountId,
delegate: &AccountId,
dest: &AccountId,
amount: Self::Balance,
) -> Result<(), DispatchError>;
}
Required Methods§
fn approve( asset: Self::AssetId, owner: &AccountId, delegate: &AccountId, amount: Self::Balance, ) -> Result<(), DispatchError>
fn transfer_from( asset: Self::AssetId, owner: &AccountId, delegate: &AccountId, dest: &AccountId, amount: Self::Balance, ) -> Result<(), DispatchError>
Object Safety§
This trait is not object safe.