ethers.js/src.ts/providers/index.ts

78 lines
1.3 KiB
TypeScript

'use strict';
import { Provider } from './abstract-provider';
import { BaseProvider } from './base-provider';
import { EtherscanProvider } from './etherscan-provider';
import { FallbackProvider } from './fallback-provider';
import { IpcProvider } from './ipc-provider';
import { InfuraProvider } from './infura-provider';
import { JsonRpcProvider, JsonRpcSigner } from './json-rpc-provider';
import { Web3Provider } from './web3-provider';
////////////////////////
// Types
import {
Block,
BlockTag,
EventType,
Filter,
Log,
Listener,
TransactionReceipt,
TransactionRequest,
TransactionResponse
} from './abstract-provider';
import { AsyncSendable } from './web3-provider';
////////////////////////
// Exports
export {
///////////////////////
// Abstract Providers (or Abstract-ish)
Provider,
BaseProvider,
///////////////////////
// Concreate Providers
FallbackProvider,
EtherscanProvider,
InfuraProvider,
JsonRpcProvider,
Web3Provider,
IpcProvider,
///////////////////////
// Signer
JsonRpcSigner,
///////////////////////
// Types
Block,
BlockTag,
EventType,
Filter,
Log,
Listener,
TransactionReceipt,
TransactionRequest,
TransactionResponse,
AsyncSendable
};