Trait abstract_app::traits::Transferable
source · pub trait Transferable {
// Required method
fn transferable_asset<T>(
self,
base: &T,
deps: Deps<'_>
) -> Result<AssetBase<Addr>, AbstractSdkError>
where T: AbstractNameService + ModuleIdentification;
}Expand description
Turn an object that represents an asset into the blockchain representation of an asset, i.e. Asset.
Required Methods§
sourcefn transferable_asset<T>(
self,
base: &T,
deps: Deps<'_>
) -> Result<AssetBase<Addr>, AbstractSdkError>where
T: AbstractNameService + ModuleIdentification,
fn transferable_asset<T>(
self,
base: &T,
deps: Deps<'_>
) -> Result<AssetBase<Addr>, AbstractSdkError>where
T: AbstractNameService + ModuleIdentification,
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.