Type Alias DexConfig

DexConfig: {
    overrides?: ExchangeOverrides;
    tokens?: TokenInfo[];
    secondaryFees?: SecondaryFee[];
    blocklist?: BlockedToken[];
}

A type representing the configuration for the DEX.

Type declaration

  • Optionaloverrides?: ExchangeOverrides

    The DEX overrides.

  • Optionaltokens?: TokenInfo[]

    An array of tokens compatible with the DEX.

  • OptionalsecondaryFees?: SecondaryFee[]

    An array of secondary fees to be applied to swaps

  • Optionalblocklist?: BlockedToken[]

    An array of tokens to be blocked from the DEX