multiversx_sc_modules::default_issue_callbacks

Trait DefaultIssueCallbacksModule

Source
pub trait DefaultIssueCallbacksModule: ContractBase + Sized {
    // Required method
    fn callbacks(&self) -> CallbackProxyObj<Self::Api>;

    // Provided methods
    fn default_issue_cb(
        &self,
        initial_caller: ManagedAddress<Self::Api>,
        storage_key: ManagedBuffer<Self::Api>,
        result: ManagedAsyncCallResult<Self::Api, TokenIdentifier<Self::Api>>,
    ) { ... }
    fn default_issue_init_supply_cb(
        &self,
        initial_caller: ManagedAddress<Self::Api>,
        storage_key: ManagedBuffer<Self::Api>,
        result: ManagedAsyncCallResult<Self::Api, ()>,
    ) { ... }
    fn return_failed_issue_funds(
        &self,
        initial_caller: ManagedAddress<Self::Api>,
    ) { ... }
}

Required Methods§

Provided Methods§

Source

fn default_issue_cb( &self, initial_caller: ManagedAddress<Self::Api>, storage_key: ManagedBuffer<Self::Api>, result: ManagedAsyncCallResult<Self::Api, TokenIdentifier<Self::Api>>, )

Source

fn default_issue_init_supply_cb( &self, initial_caller: ManagedAddress<Self::Api>, storage_key: ManagedBuffer<Self::Api>, result: ManagedAsyncCallResult<Self::Api, ()>, )

Source

fn return_failed_issue_funds(&self, initial_caller: ManagedAddress<Self::Api>)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§