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

78 lines
1007 B
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,
BigNumberish,
Bytes,
BytesLike,
Signature,
Transaction,
UnsignedTransaction,
Wordlist
} from "./ethers";