multiversx_sc_modules::token_merge::custom_merged_token_attributes

Trait MergedTokenAttributesCreator

Source
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§

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§