Trait abstract_sdk::Transferable

source ·
pub trait Transferable {
    // Required method
    fn transferable_asset<T: AbstractNameService + ModuleIdentification>(
        self,
        base: &T,
        deps: Deps<'_>
    ) -> AbstractSdkResult<Asset>;
}
Expand description

Turn an object that represents an asset into the blockchain representation of an asset, i.e. Asset.

Required Methods§

source

fn transferable_asset<T: AbstractNameService + ModuleIdentification>( self, base: &T, deps: Deps<'_> ) -> AbstractSdkResult<Asset>

Turn an object that represents an asset into the blockchain representation of an asset, i.e. Asset.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Transferable for &AnsAsset

source§

impl Transferable for AnsAsset

source§

impl Transferable for Coin

source§

impl Transferable for Asset

Implementors§