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

77 lines
980 B
TypeScript
Raw Normal View History

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