pub trait ContractIdExt {
    // Required method
    fn asset_id(&self, sub_id: &Bytes32) -> AssetId;
}
Expand description

Trait extends the functionality of the ContractId type.

Required Methods§

source

fn asset_id(&self, sub_id: &Bytes32) -> AssetId

Creates an AssetId from the ContractId and sub_id.

Implementors§