2018-06-13 22:39:39 +03:00
|
|
|
'use strict';
|
|
|
|
|
2018-09-24 22:55:17 +03:00
|
|
|
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';
|
2018-07-15 00:19:08 +03:00
|
|
|
import { JsonRpcProvider, JsonRpcSigner } from './json-rpc-provider';
|
2018-06-13 22:39:39 +03:00
|
|
|
import { Web3Provider } from './web3-provider';
|
|
|
|
|
2018-09-24 22:55:17 +03:00
|
|
|
////////////////////////
|
|
|
|
// 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 {
|
2018-09-24 22:55:17 +03:00
|
|
|
|
|
|
|
///////////////////////
|
|
|
|
// Abstract Providers (or Abstract-ish)
|
|
|
|
Provider,
|
2018-08-03 03:30:44 +03:00
|
|
|
BaseProvider,
|
2018-06-13 22:39:39 +03:00
|
|
|
|
2018-09-24 22:55:17 +03:00
|
|
|
|
|
|
|
///////////////////////
|
|
|
|
// Concreate Providers
|
|
|
|
|
2018-06-13 22:39:39 +03:00
|
|
|
FallbackProvider,
|
|
|
|
|
|
|
|
EtherscanProvider,
|
|
|
|
InfuraProvider,
|
|
|
|
JsonRpcProvider,
|
|
|
|
Web3Provider,
|
|
|
|
|
2018-07-15 00:19:08 +03:00
|
|
|
IpcProvider,
|
|
|
|
|
2018-09-24 22:55:17 +03:00
|
|
|
|
|
|
|
///////////////////////
|
|
|
|
// Signer
|
|
|
|
|
|
|
|
JsonRpcSigner,
|
|
|
|
|
|
|
|
|
|
|
|
///////////////////////
|
|
|
|
// Types
|
|
|
|
|
|
|
|
Block,
|
|
|
|
BlockTag,
|
|
|
|
EventType,
|
|
|
|
Filter,
|
|
|
|
Log,
|
|
|
|
Listener,
|
|
|
|
TransactionReceipt,
|
|
|
|
TransactionRequest,
|
|
|
|
TransactionResponse,
|
|
|
|
|
|
|
|
AsyncSendable
|
2018-06-18 12:42:41 +03:00
|
|
|
};
|
2018-06-24 11:03:21 +03:00
|
|
|
|