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

81 lines
1.0 KiB
TypeScript
Raw Permalink Normal View History

2019-05-14 18:25:46 -04:00
"use strict";
2020-09-22 23:18:45 -04:00
// To modify this file, you must update ./misc/admin/lib/cmds/update-exports.js
2019-05-14 18:25:46 -04:00
import * as ethers from "./ethers";
2020-11-16 23:07:24 -05:00
try {
const anyGlobal = (window as any);
if (anyGlobal._ethers == null) {
anyGlobal._ethers = ethers;
}
} catch (error) { }
2019-05-14 18:25:46 -04:00
export { ethers };
2019-09-06 12:25:17 -04:00
export {
Signer,
Wallet,
VoidSigner,
getDefaultProvider,
providers,
2021-03-30 15:22:45 -04:00
BaseContract,
2019-09-06 12:25:17 -04: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 12:25:17 -04:00
ContractInterface,
2022-08-18 14:48:39 -04:00
TypedDataDomain,
TypedDataField,
2019-09-06 12:25:17 -04:00
BigNumberish,
Bytes,
BytesLike,
Signature,
Transaction,
UnsignedTransaction,
Wordlist
} from "./ethers";