2019-05-14 18:25:46 -04:00
|
|
|
"use strict";
|
|
|
|
|
2019-11-23 21:38:13 +09:00
|
|
|
// To modify this file, you must update ./admin/cmds/update-exports.js
|
|
|
|
|
2019-05-14 18:25:46 -04:00
|
|
|
import * as ethers from "./ethers";
|
|
|
|
|
2019-11-24 19:13:37 +09:00
|
|
|
try {
|
2020-03-12 19:14:50 +01:00
|
|
|
const anyGlobal = (window as any);
|
2019-11-24 19:13:37 +09:00
|
|
|
|
|
|
|
if (anyGlobal._ethers == null) {
|
|
|
|
anyGlobal._ethers = ethers;
|
|
|
|
}
|
2019-11-25 00:02:22 +09:00
|
|
|
} catch (error) { }
|
2019-11-23 21:38:13 +09:00
|
|
|
|
2019-05-14 18:25:46 -04:00
|
|
|
export { ethers };
|
|
|
|
|
2019-09-06 12:25:17 -04:00
|
|
|
export {
|
|
|
|
Signer,
|
|
|
|
|
|
|
|
Wallet,
|
|
|
|
VoidSigner,
|
|
|
|
|
|
|
|
getDefaultProvider,
|
|
|
|
providers,
|
|
|
|
|
|
|
|
Contract,
|
|
|
|
ContractFactory,
|
|
|
|
|
|
|
|
BigNumber,
|
|
|
|
FixedNumber,
|
|
|
|
|
|
|
|
constants,
|
|
|
|
errors,
|
|
|
|
|
|
|
|
logger,
|
|
|
|
|
|
|
|
utils,
|
|
|
|
|
|
|
|
wordlists,
|
|
|
|
|
|
|
|
|
|
|
|
////////////////////////
|
|
|
|
// Compile-Time Constants
|
|
|
|
|
|
|
|
version,
|
|
|
|
|
|
|
|
|
|
|
|
////////////////////////
|
|
|
|
// Types
|
|
|
|
|
|
|
|
ContractFunction,
|
|
|
|
ContractReceipt,
|
|
|
|
ContractTransaction,
|
|
|
|
Event,
|
|
|
|
EventFilter,
|
|
|
|
|
|
|
|
Overrides,
|
|
|
|
PayableOverrides,
|
|
|
|
CallOverrides,
|
|
|
|
|
2020-06-01 04:46:37 -04:00
|
|
|
PopulatedTransaction,
|
|
|
|
|
2019-09-06 12:25:17 -04:00
|
|
|
ContractInterface,
|
|
|
|
|
|
|
|
BigNumberish,
|
|
|
|
|
|
|
|
Bytes,
|
|
|
|
BytesLike,
|
|
|
|
|
|
|
|
Signature,
|
|
|
|
|
|
|
|
Transaction,
|
|
|
|
UnsignedTransaction,
|
|
|
|
|
|
|
|
Wordlist
|
|
|
|
} from "./ethers";
|