pub trait EventsModule: ContractBase + Sized {
// Required methods
fn buy_token_event(
&self,
user: &ManagedAddress<Self::Api>,
amount: &BigUint<Self::Api>,
);
fn sell_token_event(
&self,
user: &ManagedAddress<Self::Api>,
amount: &BigUint<Self::Api>,
);
}
Required Methods§
fn buy_token_event( &self, user: &ManagedAddress<Self::Api>, amount: &BigUint<Self::Api>, )
fn sell_token_event( &self, user: &ManagedAddress<Self::Api>, amount: &BigUint<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.