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

78 lines
1.3 KiB
TypeScript
Raw Normal View History

2018-06-13 22:39:39 +03:00
'use strict';
import { Provider } from './abstract-provider';
2018-08-03 03:30:44 +03:00
import { BaseProvider } from './base-provider';
2018-06-13 22:39:39 +03:00
import { EtherscanProvider } from './etherscan-provider';
import { FallbackProvider } from './fallback-provider';
2018-06-18 12:42:41 +03:00
import { IpcProvider } from './ipc-provider';
2018-06-13 22:39:39 +03:00
import { InfuraProvider } from './infura-provider';
import { JsonRpcProvider, JsonRpcSigner } from './json-rpc-provider';
2018-06-13 22:39:39 +03:00
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
2018-06-13 22:39:39 +03:00
export {
///////////////////////
// Abstract Providers (or Abstract-ish)
Provider,
2018-08-03 03:30:44 +03:00
BaseProvider,
2018-06-13 22:39:39 +03:00
///////////////////////
// Concreate Providers
2018-06-13 22:39:39 +03:00
FallbackProvider,
EtherscanProvider,
InfuraProvider,
JsonRpcProvider,
Web3Provider,
IpcProvider,
///////////////////////
// Signer
JsonRpcSigner,
///////////////////////
// Types
Block,
BlockTag,
EventType,
Filter,
Log,
Listener,
TransactionReceipt,
TransactionRequest,
TransactionResponse,
AsyncSendable
2018-06-18 12:42:41 +03:00
};