pub trait TokenMergeModule: ContractBase + Sized + MergedTokenSetupModule + DefaultIssueCallbacksModule + PauseModule {
// Provided methods
fn merge_tokens<AttributesCreator: MergedTokenAttributesCreator<ScType = Self>>(
&self,
payments: &ManagedVec<Self::Api, EsdtTokenPayment<Self::Api>>,
attr_creator: &AttributesCreator
) -> EsdtTokenPayment<Self::Api> { ... }
fn split_tokens(
&self,
payments: &ManagedVec<Self::Api, EsdtTokenPayment<Self::Api>>
) -> ManagedVec<Self::Api, EsdtTokenPayment<Self::Api>> { ... }
fn split_token_partial<AttributesCreator: MergedTokenAttributesCreator<ScType = Self>>(
&self,
merged_token: EsdtTokenPayment<Self::Api>,
tokens_to_remove: ManagedVec<Self::Api, EsdtTokenPayment<Self::Api>>,
attr_creator: &AttributesCreator
) -> ManagedVec<Self::Api, EsdtTokenPayment<Self::Api>> { ... }
}
Provided Methods§
fn merge_tokens<AttributesCreator: MergedTokenAttributesCreator<ScType = Self>>( &self, payments: &ManagedVec<Self::Api, EsdtTokenPayment<Self::Api>>, attr_creator: &AttributesCreator ) -> EsdtTokenPayment<Self::Api>
fn split_tokens( &self, payments: &ManagedVec<Self::Api, EsdtTokenPayment<Self::Api>> ) -> ManagedVec<Self::Api, EsdtTokenPayment<Self::Api>>
fn split_token_partial<AttributesCreator: MergedTokenAttributesCreator<ScType = Self>>( &self, merged_token: EsdtTokenPayment<Self::Api>, tokens_to_remove: ManagedVec<Self::Api, EsdtTokenPayment<Self::Api>>, attr_creator: &AttributesCreator ) -> ManagedVec<Self::Api, EsdtTokenPayment<Self::Api>>
Object Safety§
This trait is not object safe.