UNPKG

2.05 kBPlain TextView Raw
1"use strict";
2
3import { BaseContract, Contract, ContractFactory } from "@ethersproject/contracts";
4
5import { BigNumber, FixedNumber } from "@ethersproject/bignumber";
6
7import { Signer, VoidSigner } from "@ethersproject/abstract-signer";
8import { Wallet } from "@ethersproject/wallet";
9
10import * as constants from "@ethersproject/constants";
11
12import * as providers from "@ethersproject/providers";
13import { getDefaultProvider } from "@ethersproject/providers";
14
15import { Wordlist, wordlists} from "@ethersproject/wordlists";
16
17import * as utils from "./utils";
18
19import { ErrorCode as errors, Logger } from "@ethersproject/logger";
20
21////////////////////////
22// Types
23
24import { BigNumberish } from "@ethersproject/bignumber";
25import { Bytes, BytesLike, Signature } from "@ethersproject/bytes";
26import { Transaction, UnsignedTransaction } from "@ethersproject/transactions";
27
28
29////////////////////////
30// Compile-Time Constants
31
32// This is generated by "npm run dist"
33import { version } from "./_version";
34
35const logger = new Logger(version);
36
37////////////////////////
38// Types
39
40import {
41 ContractFunction,
42 ContractReceipt,
43 ContractTransaction,
44
45 Event,
46 EventFilter,
47
48 Overrides,
49 PayableOverrides,
50 CallOverrides,
51
52 PopulatedTransaction,
53
54 ContractInterface
55} from "@ethersproject/contracts";
56
57
58////////////////////////
59// Exports
60
61export {
62 Signer,
63
64 Wallet,
65 VoidSigner,
66
67 getDefaultProvider,
68 providers,
69
70 BaseContract,
71 Contract,
72 ContractFactory,
73
74 BigNumber,
75 FixedNumber,
76
77 constants,
78 errors,
79
80 logger,
81
82 utils,
83
84 wordlists,
85
86
87 ////////////////////////
88 // Compile-Time Constants
89
90 version,
91
92
93 ////////////////////////
94 // Types
95
96 ContractFunction,
97 ContractReceipt,
98 ContractTransaction,
99 Event,
100 EventFilter,
101
102 Overrides,
103 PayableOverrides,
104 CallOverrides,
105
106 PopulatedTransaction,
107
108 ContractInterface,
109
110 BigNumberish,
111
112 Bytes,
113 BytesLike,
114
115 Signature,
116
117 Transaction,
118 UnsignedTransaction,
119
120 Wordlist
121};
122