2019-05-14 18:25:46 -04:00
|
|
|
"use strict";
|
|
|
|
|
2021-03-30 15:22:45 -04:00
|
|
|
import { BaseContract, Contract, ContractFactory } from "@ethersproject/contracts";
|
2019-05-14 18:25:46 -04:00
|
|
|
|
|
|
|
import { BigNumber, FixedNumber } from "@ethersproject/bignumber";
|
|
|
|
|
|
|
|
import { Signer, VoidSigner } from "@ethersproject/abstract-signer";
|
|
|
|
import { Wallet } from "@ethersproject/wallet";
|
|
|
|
|
|
|
|
import * as constants from "@ethersproject/constants";
|
|
|
|
|
|
|
|
import * as providers from "@ethersproject/providers";
|
2019-11-01 23:54:05 +09:00
|
|
|
import { getDefaultProvider } from "@ethersproject/providers";
|
|
|
|
|
2019-06-12 09:35:44 -04:00
|
|
|
import { Wordlist, wordlists} from "@ethersproject/wordlists";
|
2019-05-14 18:25:46 -04:00
|
|
|
|
|
|
|
import * as utils from "./utils";
|
|
|
|
|
2020-04-25 03:25:42 -04:00
|
|
|
import { ErrorCode as errors, Logger } from "@ethersproject/logger";
|
2019-08-02 02:32:32 -04:00
|
|
|
|
2019-05-14 18:25:46 -04:00
|
|
|
////////////////////////
|
|
|
|
// Types
|
|
|
|
|
|
|
|
import { BigNumberish } from "@ethersproject/bignumber";
|
|
|
|
import { Bytes, BytesLike, Signature } from "@ethersproject/bytes";
|
|
|
|
import { Transaction, UnsignedTransaction } from "@ethersproject/transactions";
|
|
|
|
|
|
|
|
|
|
|
|
////////////////////////
|
|
|
|
// Compile-Time Constants
|
|
|
|
|
|
|
|
// This is generated by "npm run dist"
|
2019-06-12 09:35:44 -04:00
|
|
|
import { version } from "./_version";
|
2019-05-14 18:25:46 -04:00
|
|
|
|
2019-08-02 02:32:32 -04:00
|
|
|
const logger = new Logger(version);
|
2019-05-14 18:25:46 -04:00
|
|
|
|
|
|
|
////////////////////////
|
|
|
|
// Types
|
|
|
|
|
|
|
|
import {
|
|
|
|
ContractFunction,
|
|
|
|
ContractReceipt,
|
|
|
|
ContractTransaction,
|
|
|
|
|
|
|
|
Event,
|
|
|
|
EventFilter,
|
|
|
|
|
|
|
|
Overrides,
|
|
|
|
PayableOverrides,
|
|
|
|
CallOverrides,
|
|
|
|
|
2020-06-01 04:46:37 -04:00
|
|
|
PopulatedTransaction,
|
|
|
|
|
2019-05-14 18:25:46 -04:00
|
|
|
ContractInterface
|
|
|
|
} from "@ethersproject/contracts";
|
|
|
|
|
|
|
|
|
|
|
|
////////////////////////
|
|
|
|
// Exports
|
|
|
|
|
|
|
|
export {
|
|
|
|
Signer,
|
|
|
|
|
|
|
|
Wallet,
|
|
|
|
VoidSigner,
|
|
|
|
|
|
|
|
getDefaultProvider,
|
|
|
|
providers,
|
|
|
|
|
2021-03-30 15:22:45 -04:00
|
|
|
BaseContract,
|
2019-05-14 18:25:46 -04:00
|
|
|
Contract,
|
|
|
|
ContractFactory,
|
|
|
|
|
|
|
|
BigNumber,
|
|
|
|
FixedNumber,
|
|
|
|
|
|
|
|
constants,
|
|
|
|
errors,
|
|
|
|
|
2019-08-02 02:32:32 -04:00
|
|
|
logger,
|
|
|
|
|
2019-05-14 18:25:46 -04:00
|
|
|
utils,
|
|
|
|
|
|
|
|
wordlists,
|
|
|
|
|
|
|
|
|
|
|
|
////////////////////////
|
|
|
|
// Compile-Time Constants
|
|
|
|
|
2019-08-31 23:56:02 -04:00
|
|
|
version,
|
2019-05-14 18:25:46 -04:00
|
|
|
|
|
|
|
|
|
|
|
////////////////////////
|
|
|
|
// Types
|
|
|
|
|
|
|
|
ContractFunction,
|
|
|
|
ContractReceipt,
|
|
|
|
ContractTransaction,
|
|
|
|
Event,
|
|
|
|
EventFilter,
|
|
|
|
|
|
|
|
Overrides,
|
|
|
|
PayableOverrides,
|
|
|
|
CallOverrides,
|
|
|
|
|
2020-06-01 04:46:37 -04:00
|
|
|
PopulatedTransaction,
|
|
|
|
|
2019-05-14 18:25:46 -04:00
|
|
|
ContractInterface,
|
|
|
|
|
|
|
|
BigNumberish,
|
|
|
|
|
|
|
|
Bytes,
|
|
|
|
BytesLike,
|
|
|
|
|
|
|
|
Signature,
|
|
|
|
|
|
|
|
Transaction,
|
|
|
|
UnsignedTransaction,
|
|
|
|
|
|
|
|
Wordlist
|
|
|
|
};
|
|
|
|
|