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§

source

fn buy_token_event( &self, user: &ManagedAddress<Self::Api>, amount: &BigUint<Self::Api>, )

source

fn sell_token_event( &self, user: &ManagedAddress<Self::Api>, amount: &BigUint<Self::Api>, )

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<C> EventsModule for C
where C: AutoImpl,