pub trait MergedTokenAttributesCreator {
    type ScType: AllMergeScTraits;
    type AttributesType: TopEncode + TopDecode;

    // Required method
    fn get_merged_token_attributes(
        &self,
        sc: &Self::ScType,
        merged_token_id: &TokenIdentifier<<Self::ScType as ContractBase>::Api>,
        merged_token_raw_attributes: &MergedTokenInstances<<Self::ScType as ContractBase>::Api>
    ) -> Self::AttributesType;
}

Required Associated Types§

source

type ScType: AllMergeScTraits

source

type AttributesType: TopEncode + TopDecode

Required Methods§

source

fn get_merged_token_attributes( &self, sc: &Self::ScType, merged_token_id: &TokenIdentifier<<Self::ScType as ContractBase>::Api>, merged_token_raw_attributes: &MergedTokenInstances<<Self::ScType as ContractBase>::Api> ) -> Self::AttributesType

Implementors§