ethers.js/packages/ethers/src.ts/index.ts

81 lines
1.0 KiB
TypeScript
Raw Normal View History

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