UNPKG

@swaptoshi/dex-module

Version:

Klayr decentralized exchange (dex) on-chain module

12 lines (11 loc) 572 B
import { FeeConversionMethod } from '@swaptoshi/fee-conversion-module'; import { GovernanceMethod } from '@swaptoshi/governance-module'; import { SidechainInteroperabilityMethod, MainchainInteroperabilityMethod, FeeMethod, TokenMethod, NFTMethod } from './utils'; export interface DexModuleDependencies { tokenMethod: TokenMethod; nftMethod: NFTMethod; feeMethod: FeeMethod; interoperabilityMethod: SidechainInteroperabilityMethod | MainchainInteroperabilityMethod; feeConversionMethod?: FeeConversionMethod; governanceMethod?: GovernanceMethod; }