import { EthereumRpcProvider } from '@liquality/ethereum-rpc-provider' ; import { EthereumJsWalletProvider } from '@liquality/ethereum-js-wallet-provider' ; import { EthereumGasNowFeeProvider } from '@liquality/ethereum-gas-now-fee-provider' ; import { EthereumErc20Provider } from '@liquality/ethereum-erc20-provider' ; import { EthereumErc20SwapProvider } from '@liquality/ethereum-erc20-swap-provider' ; import { EthereumErc20ScraperSwapFindProvider } from '@liquality/ethereum-erc20-scraper-swap-find-provider' ; import { EthereumNetworks } from '@liquality/ethereum-networks' ; export default [ { provider : EthereumRpcProvider , optional : [ 'infuraProjectId' ] , args : ( config ) => [ `https://mainnet.infura.io/v3/${ config . infuraProjectId || '1d8f7fb6ae924886bbd1733951332eb0' }` ] } , { provider : EthereumJsWalletProvider , onlyIf : [ 'mnemonic' ] , args : ( config ) => [ EthereumNetworks . ethereum_mainnet , config . mnemonic ] } , { provider : EthereumErc20Provider , requires : [ 'contractAddress' ] , args : ( config ) => [ config . contractAddress ] } , { provider : EthereumErc20SwapProvider } , { provider : EthereumErc20ScraperSwapFindProvider , args : [ 'https://liquality.io/eth-mainnet-api/' ] } , { provider : EthereumGasNowFeeProvider } ] ;