ethers.js/src.ts/types.ts

161 lines
2.6 KiB
TypeScript
Raw Normal View History

2018-08-03 03:30:44 +03:00
///////////////////////////////
// Imported Abstracts
import { Provider } from './providers/abstract-provider';
import { Signer } from './wallet/abstract-signer';
///////////////////////////////
// Imported Types
import {
ContractFunction,
Event,
EventFilter
} from './contracts/contract';
import {
Indexed,
DeployDescription,
EventDescription,
FunctionDescription,
LogDescription,
TransactionDescription
} from './contracts/interface';
import {
Block,
BlockTag,
EventType,
Filter,
Log,
Listener,
TransactionReceipt,
TransactionRequest,
TransactionResponse
} from './providers/abstract-provider';
import { AsyncSendable } from './providers/web3-provider';
import {
CoerceFunc,
EventFragment,
FunctionFragment,
ParamType,
} from './utils/abi-coder';
import { BigNumberish } from './utils/bignumber';
import {
Arrayish,
Hexable,
Signature
} from './utils/bytes';
import { SupportedAlgorithms } from './utils/hmac';
import {
Network,
Networkish
} from './utils/networks';
import {
Transaction,
UnsignedTransaction
} from './utils/transaction';
import { UnicodeNormalizationForm } from './utils/utf8';
import {
ConnectionInfo,
OnceBlockable,
PollOptions
} from './utils/web';
import {
EncryptOptions,
ProgressCallback,
} from './wallet/secret-storage';
import { Wordlist } from './wordlists/wordlist';
///////////////////////////////
// Exported Types
export {
// Abstract classes
Provider,
Signer,
// ./contracts/contract
ContractFunction,
EventFilter,
Event,
// ./contracts/interface
Indexed,
DeployDescription,
EventDescription,
FunctionDescription,
LogDescription,
TransactionDescription,
// ./providers/abstract-provider
BlockTag,
EventType,
Filter,
Listener,
TransactionRequest,
Block,
Log,
TransactionReceipt,
TransactionResponse,
// ./providers/web3-provider
AsyncSendable,
// ./utils/abi-coder
CoerceFunc,
EventFragment,
FunctionFragment,
ParamType,
// ./utils/bignumber
BigNumberish,
// ./utils/bytes
Arrayish,
Hexable,
Signature,
// ./utils/hmac
SupportedAlgorithms,
// ./utils/networks
Network,
Networkish,
// ./utils/transaction
UnsignedTransaction,
Transaction,
// ./utils/utf8
UnicodeNormalizationForm,
// ./utils/web
ConnectionInfo,
OnceBlockable,
PollOptions,
// ./wallet/secret-storage
EncryptOptions,
ProgressCallback,
// ./wordlists/wordlist
Wordlist
}
///////////////////////////////