UNPKG

646 BJavaScriptView Raw
1"use strict";
2var __importStar = (this && this.__importStar) || function (mod) {
3 if (mod && mod.__esModule) return mod;
4 var result = {};
5 if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
6 result["default"] = mod;
7 return result;
8};
9Object.defineProperty(exports, "__esModule", { value: true });
10const networks = __importStar(require("../networks"));
11class NetworkManager {
12 static all() {
13 return networks;
14 }
15 static findByName(name) {
16 return networks[name.toLowerCase()];
17 }
18}
19exports.NetworkManager = NetworkManager;
20//# sourceMappingURL=network.js.map
\No newline at end of file