ethers.js/packages/ethers/lib/index.js

39 lines
1.4 KiB
JavaScript
Raw Normal View History

2019-05-15 01:48:48 +03:00
"use strict";
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
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:48:48 +03:00
var ethers = __importStar(require("./ethers"));
exports.ethers = ethers;
2019-11-24 13:13:37 +03:00
try {
var anyGlobal = window;
if (anyGlobal._ethers == null) {
anyGlobal._ethers = ethers;
}
}
2019-11-24 18:02:22 +03:00
catch (error) { }
var ethers_1 = require("./ethers");
exports.Signer = ethers_1.Signer;
exports.Wallet = ethers_1.Wallet;
exports.VoidSigner = ethers_1.VoidSigner;
exports.getDefaultProvider = ethers_1.getDefaultProvider;
exports.providers = ethers_1.providers;
exports.Contract = ethers_1.Contract;
exports.ContractFactory = ethers_1.ContractFactory;
exports.BigNumber = ethers_1.BigNumber;
exports.FixedNumber = ethers_1.FixedNumber;
exports.constants = ethers_1.constants;
exports.errors = ethers_1.errors;
exports.logger = ethers_1.logger;
exports.utils = ethers_1.utils;
exports.wordlists = ethers_1.wordlists;
////////////////////////
// Compile-Time Constants
exports.version = ethers_1.version;
exports.Wordlist = ethers_1.Wordlist;
2020-07-13 15:03:56 +03:00
//# sourceMappingURL=index.js.map