Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "db/seeds/index"

Index

Functions

Const defaultCurrencies

  • defaultCurrencies(xuNetwork: XuNetwork): db.CurrencyAttributes[] | undefined

Const defaultNodes

  • defaultNodes(xuNetwork: XuNetwork): db.NodeAttributes[] | undefined

Const defaultPairs

  • defaultPairs(xuNetwork: XuNetwork): db.PairAttributes[] | undefined

Object literals

Const currencies

currencies: object

[XuNetwork.MainNet]

[XuNetwork.MainNet]: { decimalPlaces: number; id: string; swapClient: SwapClientType; tokenAddress?: undefined | string }[] = mainnetCurrencies

[XuNetwork.SimNet]

[XuNetwork.SimNet]: { decimalPlaces: number; id: string; swapClient: SwapClientType; tokenAddress?: undefined | string }[] = simnetCurrencies

[XuNetwork.TestNet]

[XuNetwork.TestNet]: { decimalPlaces: number; id: string; swapClient: SwapClientType; tokenAddress?: undefined | string }[] = testnetCurrencies

Const nodes

nodes: object

[XuNetwork.MainNet]

[XuNetwork.MainNet]: ({ addresses: Address[]; lastAddress?: Address; nodePubKey: string } & { addressesText: string; banned: boolean; id: number; lastAddress: Address; lastAddressText: string })[] = mainnetNodes

[XuNetwork.SimNet]

[XuNetwork.SimNet]: ({ addresses: Address[]; lastAddress?: Address; nodePubKey: string } & { addressesText: string; banned: boolean; id: number; lastAddress: Address; lastAddressText: string })[] = simnetNodes

[XuNetwork.TestNet]

[XuNetwork.TestNet]: ({ addresses: Address[]; lastAddress?: Address; nodePubKey: string } & { addressesText: string; banned: boolean; id: number; lastAddress: Address; lastAddressText: string })[] = testnetNodes

Const pairs

pairs: object

[XuNetwork.MainNet]

[XuNetwork.MainNet]: ({ baseCurrency: string; quoteCurrency: string } & { id: string })[] = mainnetPairs

[XuNetwork.SimNet]

[XuNetwork.SimNet]: ({ baseCurrency: string; quoteCurrency: string } & { id: string })[] = simnetPairs

[XuNetwork.TestNet]

[XuNetwork.TestNet]: ({ baseCurrency: string; quoteCurrency: string } & { id: string })[] = testnetPairs

Generated using TypeDoc