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

77 lines
980 B
TypeScript
Raw Permalink Normal View History

2019-05-14 18:25:46 -04:00
"use strict";
// To modify this file, you must update ./admin/cmds/update-exports.js
2019-05-14 18:25:46 -04:00
import * as ethers from "./ethers";
2019-11-24 19:13:37 +09:00
try {
2020-03-12 19:14:50 +01:00
const anyGlobal = (window as any);
2019-11-24 19:13:37 +09:00
if (anyGlobal._ethers == null) {
anyGlobal._ethers = ethers;
}
2019-11-25 00:02:22 +09:00
} 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,
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";