UNPKG

@ixily/activ

Version:

Alpha Capture Trade Idea Verification. Blockchain ownership proven trade ideas and strategies.

17 lines 727 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.WALLET_NETWORK_CHAIN_NAME = exports.WALLET_NETWORK_CHAIN_IDS = void 0; const __1 = require("../.."); const WALLET_NETWORK_CHAIN_IDS = (index) => { const nIndex = __1.CHAIN_IDS_OPTS[index]; if (nIndex === undefined) throw new Error('Unsupported Blockchain'); return nIndex; }; exports.WALLET_NETWORK_CHAIN_IDS = WALLET_NETWORK_CHAIN_IDS; const WALLET_NETWORK_CHAIN_NAME = (index) => { const name = Object.keys(__1.CHAIN_IDS_OPTS).find((key) => __1.CHAIN_IDS_OPTS[key] === Number(index)); return name; }; exports.WALLET_NETWORK_CHAIN_NAME = WALLET_NETWORK_CHAIN_NAME; //# sourceMappingURL=blockchain-network.i.js.map