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§
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>)
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.