Interface Settings

Represents the configuration for a network.

Hierarchy

  • Settings

Properties

providers: (string | JsonRpcProvider)[]

The providers for the network.

multicall3: string

The multicall3 contract address on the network.

tokens: string[]

The tokens used on the network.

exchanges: {
    name: string;
    router: string;
    factory: string;
    initCodeHash: string;
    fee: number;
}[]

The exchanges available on the network.

Type declaration

  • name: string

    The name of the exchange.

  • router: string

    The router address of the exchange.

  • factory: string

    The factory address of the exchange.

  • initCodeHash: string

    The initialization code hash of the exchange.

  • fee: number

    The fee value of the exchange.

Generated using TypeDoc