2019-05-15 01:25:46 +03:00
|
|
|
"use strict";
|
|
|
|
|
2021-03-30 22:22:45 +03:00
|
|
|
import { BaseContract, Contract, ContractFactory } from "@ethersproject/contracts";
|
2019-05-15 01:25:46 +03: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 17:54:05 +03:00
|
|
|
import { getDefaultProvider } from "@ethersproject/providers";
|
|
|
|
|
2019-06-12 16:35:44 +03:00
|
|
|
import { Wordlist, wordlists} from "@ethersproject/wordlists";
|
2019-05-15 01:25:46 +03:00
|
|
|
|
|
|
|
import * as utils from "./utils";
|
|
|
|
|
2020-04-25 10:25:42 +03:00
|
|
|
import { ErrorCode as errors, Logger } from "@ethersproject/logger";
|
2019-08-02 09:32:32 +03:00
|
|
|
|
2019-05-15 01:25:46 +03:00
|
|
|
////////////////////////
|
|
|
|
// Types
|
|
|
|
|
2022-08-10 05:48:56 +03:00
|
|
|
import type { TypedDataDomain, TypedDataField } from "@ethersproject/abstract-signer";
|
2019-05-15 01:25:46 +03:00
|
|
|
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 16:35:44 +03:00
|
|
|
import { version } from "./_version";
|
2019-05-15 01:25:46 +03:00
|
|
|
|
2019-08-02 09:32:32 +03:00
|
|
|
const logger = new Logger(version);
|
2019-05-15 01:25:46 +03:00
|
|
|
|
|
|
|
////////////////////////
|
|
|
|
// Types
|
|
|
|
|
|
|
|
import {
|
|
|
|
ContractFunction,
|
|
|
|
ContractReceipt,
|
|
|
|
ContractTransaction,
|
|
|
|
|
|
|
|
Event,
|
|
|
|
EventFilter,
|
|
|
|
|
|
|
|
Overrides,
|
|
|
|
PayableOverrides,
|
|
|
|
CallOverrides,
|
|
|
|
|
2020-06-01 11:46:37 +03:00
|
|
|
PopulatedTransaction,
|
|
|
|
|
2019-05-15 01:25:46 +03:00
|
|
|
ContractInterface
|
|
|
|
} from "@ethersproject/contracts";
|
|
|
|
|
|
|
|
|
|
|
|
////////////////////////
|
|
|
|
// Exports
|
|
|
|
|
|
|
|
export {
|
|
|
|
Signer,
|
|
|
|
|
|
|
|
Wallet,
|
|
|
|
VoidSigner,
|
|
|
|
|
|
|
|
getDefaultProvider,
|
|
|
|
providers,
|
|
|
|
|
2021-03-30 22:22:45 +03:00
|
|
|
BaseContract,
|
2019-05-15 01:25:46 +03:00
|
|
|
Contract,
|
|
|
|
ContractFactory,
|
|
|
|
|
|
|
|
BigNumber,
|
|
|
|
FixedNumber,
|
|
|
|
|
|
|
|
constants,
|
|
|
|
errors,
|
|
|
|
|
2019-08-02 09:32:32 +03:00
|
|
|
logger,
|
|
|
|
|
2019-05-15 01:25:46 +03:00
|
|
|
utils,
|
|
|
|
|
|
|
|
wordlists,
|
|
|
|
|
|
|
|
|
|
|
|
////////////////////////
|
|
|
|
// Compile-Time Constants
|
|
|
|
|
2019-09-01 06:56:02 +03:00
|
|
|
version,
|
2019-05-15 01:25:46 +03:00
|
|
|
|
|
|
|
|
|
|
|
////////////////////////
|
|
|
|
// Types
|
|
|
|
|
|
|
|
ContractFunction,
|
|
|
|
ContractReceipt,
|
|
|
|
ContractTransaction,
|
|
|
|
Event,
|
|
|
|
EventFilter,
|
|
|
|
|
|
|
|
Overrides,
|
|
|
|
PayableOverrides,
|
|
|
|
CallOverrides,
|
|
|
|
|
2020-06-01 11:46:37 +03:00
|
|
|
PopulatedTransaction,
|
|
|
|
|
2019-05-15 01:25:46 +03:00
|
|
|
ContractInterface,
|
|
|
|
|
2022-08-10 05:48:56 +03:00
|
|
|
TypedDataDomain,
|
|
|
|
TypedDataField,
|
|
|
|
|
2019-05-15 01:25:46 +03:00
|
|
|
BigNumberish,
|
|
|
|
|
|
|
|
Bytes,
|
|
|
|
BytesLike,
|
|
|
|
|
|
|
|
Signature,
|
|
|
|
|
|
|
|
Transaction,
|
|
|
|
UnsignedTransaction,
|
|
|
|
|
|
|
|
Wordlist
|
|
|
|
};
|
|
|
|
|