pub trait OnPoolCreated {
    type AccountId;
    type DEXId;

    // Required method
    fn on_pool_created(
        fee_account: Self::AccountId,
        dex_id: Self::DEXId,
        pool_account: Self::AccountId
    ) -> DispatchResult;
}

Required Associated Types§

Required Methods§

source

fn on_pool_created( fee_account: Self::AccountId, dex_id: Self::DEXId, pool_account: Self::AccountId ) -> DispatchResult

Implementations on Foreign Types§

source§

impl<AccountId, DEXId, A, B> OnPoolCreated for (A, B)where AccountId: Clone, DEXId: Clone, A: OnPoolCreated<AccountId = AccountId, DEXId = DEXId>, B: OnPoolCreated<AccountId = AccountId, DEXId = DEXId>,

§

type AccountId = AccountId

§

type DEXId = DEXId

source§

fn on_pool_created( fee_account: Self::AccountId, dex_id: Self::DEXId, pool_account: Self::AccountId ) -> DispatchResult

Implementors§