@injectivelabs/networks
Advanced tools
Comparing version 1.14.17-beta.2 to 1.14.17
@@ -1,2 +0,2 @@ | ||
import { ChainInfo } from './types'; | ||
import { ChainInfo } from './types.js'; | ||
export declare const mainnetChainInfo: ChainInfo; | ||
@@ -3,0 +3,0 @@ export declare const testnetChainInfo: ChainInfo; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ASSET_PRICE_URL_BY_NETWORK = exports.PEGGY_GRAPH_URL_BY_NETWORK = exports.INJ_NAME_REVERSE_RESOLVER_CONTRACT_BY_NETWORK = exports.INJ_NAME_REGISTRY_CONTRACT_BY_NETWORK = exports.INCENTIVES_CONTRACT_BY_NETWORK = exports.CW20_SWAP_CONTRACT_BY_NETWORK = exports.CW20_ADAPTER_CONTRACT_BY_NETWORK = void 0; | ||
const types_1 = require("./types"); | ||
const types_js_1 = require("./types.js"); | ||
exports.CW20_ADAPTER_CONTRACT_BY_NETWORK = { | ||
[types_1.Network.Mainnet]: 'inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk', | ||
[types_1.Network.MainnetLB]: 'inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk', | ||
[types_1.Network.MainnetOld]: 'inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk', | ||
[types_1.Network.MainnetK8s]: 'inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk', | ||
[types_1.Network.MainnetSentry]: 'inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk', | ||
[types_1.Network.Staging]: 'inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk', | ||
[types_1.Network.Internal]: 'inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk', | ||
[types_1.Network.Testnet]: 'inj1hdvy6tl89llqy3ze8lv6mz5qh66sx9enn0jxg6', | ||
[types_1.Network.TestnetK8s]: 'inj1hdvy6tl89llqy3ze8lv6mz5qh66sx9enn0jxg6', | ||
[types_1.Network.TestnetSentry]: 'inj1hdvy6tl89llqy3ze8lv6mz5qh66sx9enn0jxg6', | ||
[types_1.Network.TestnetOld]: 'inj1hdvy6tl89llqy3ze8lv6mz5qh66sx9enn0jxg6', | ||
[types_1.Network.Devnet]: 'inj1hdvy6tl89llqy3ze8lv6mz5qh66sx9enn0jxg6', | ||
[types_1.Network.Devnet1]: 'inj1hdvy6tl89llqy3ze8lv6mz5qh66sx9enn0jxg6', | ||
[types_1.Network.Devnet2]: 'inj1hdvy6tl89llqy3ze8lv6mz5qh66sx9enn0jxg6', | ||
[types_1.Network.Local]: 'inj1hdvy6tl89llqy3ze8lv6mz5qh66sx9enn0jxg6', | ||
[types_js_1.Network.Mainnet]: 'inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk', | ||
[types_js_1.Network.MainnetLB]: 'inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk', | ||
[types_js_1.Network.MainnetOld]: 'inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk', | ||
[types_js_1.Network.MainnetK8s]: 'inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk', | ||
[types_js_1.Network.MainnetSentry]: 'inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk', | ||
[types_js_1.Network.Staging]: 'inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk', | ||
[types_js_1.Network.Internal]: 'inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk', | ||
[types_js_1.Network.Testnet]: 'inj1hdvy6tl89llqy3ze8lv6mz5qh66sx9enn0jxg6', | ||
[types_js_1.Network.TestnetK8s]: 'inj1hdvy6tl89llqy3ze8lv6mz5qh66sx9enn0jxg6', | ||
[types_js_1.Network.TestnetSentry]: 'inj1hdvy6tl89llqy3ze8lv6mz5qh66sx9enn0jxg6', | ||
[types_js_1.Network.TestnetOld]: 'inj1hdvy6tl89llqy3ze8lv6mz5qh66sx9enn0jxg6', | ||
[types_js_1.Network.Devnet]: 'inj1hdvy6tl89llqy3ze8lv6mz5qh66sx9enn0jxg6', | ||
[types_js_1.Network.Devnet1]: 'inj1hdvy6tl89llqy3ze8lv6mz5qh66sx9enn0jxg6', | ||
[types_js_1.Network.Devnet2]: 'inj1hdvy6tl89llqy3ze8lv6mz5qh66sx9enn0jxg6', | ||
[types_js_1.Network.Local]: 'inj1hdvy6tl89llqy3ze8lv6mz5qh66sx9enn0jxg6', | ||
}; | ||
exports.CW20_SWAP_CONTRACT_BY_NETWORK = { | ||
[types_1.Network.Mainnet]: 'inj1psk3468yr9teahgz73amwvpfjehnhczvkrhhqx', | ||
[types_1.Network.MainnetLB]: 'inj1psk3468yr9teahgz73amwvpfjehnhczvkrhhqx', | ||
[types_1.Network.MainnetOld]: 'inj1psk3468yr9teahgz73amwvpfjehnhczvkrhhqx', | ||
[types_1.Network.MainnetK8s]: 'inj1psk3468yr9teahgz73amwvpfjehnhczvkrhhqx', | ||
[types_1.Network.MainnetSentry]: 'inj1psk3468yr9teahgz73amwvpfjehnhczvkrhhqx', | ||
[types_1.Network.Staging]: 'inj12yj3mtjarujkhcp6lg3klxjjfrx2v7v8yswgp9', | ||
[types_1.Network.Internal]: 'inj1psk3468yr9teahgz73amwvpfjehnhczvkrhhqx', | ||
[types_1.Network.Testnet]: 'inj14d7h5j6ddq6pqppl65z24w7xrtmpcrqjxj8d43', | ||
[types_1.Network.TestnetK8s]: 'inj14d7h5j6ddq6pqppl65z24w7xrtmpcrqjxj8d43', | ||
[types_1.Network.TestnetSentry]: 'inj14d7h5j6ddq6pqppl65z24w7xrtmpcrqjxj8d43', | ||
[types_1.Network.TestnetOld]: 'inj14d7h5j6ddq6pqppl65z24w7xrtmpcrqjxj8d43', | ||
[types_1.Network.Devnet]: 'inj177yh38g3ctu7cemxpa3c2kvwh2yslfxfmfa66h', | ||
[types_1.Network.Devnet1]: 'inj177yh38g3ctu7cemxpa3c2kvwh2yslfxfmfa66h', | ||
[types_1.Network.Devnet2]: 'inj177yh38g3ctu7cemxpa3c2kvwh2yslfxfmfa66h', | ||
[types_1.Network.Local]: 'inj177yh38g3ctu7cemxpa3c2kvwh2yslfxfmfa66h', | ||
[types_js_1.Network.Mainnet]: 'inj1psk3468yr9teahgz73amwvpfjehnhczvkrhhqx', | ||
[types_js_1.Network.MainnetLB]: 'inj1psk3468yr9teahgz73amwvpfjehnhczvkrhhqx', | ||
[types_js_1.Network.MainnetOld]: 'inj1psk3468yr9teahgz73amwvpfjehnhczvkrhhqx', | ||
[types_js_1.Network.MainnetK8s]: 'inj1psk3468yr9teahgz73amwvpfjehnhczvkrhhqx', | ||
[types_js_1.Network.MainnetSentry]: 'inj1psk3468yr9teahgz73amwvpfjehnhczvkrhhqx', | ||
[types_js_1.Network.Staging]: 'inj12yj3mtjarujkhcp6lg3klxjjfrx2v7v8yswgp9', | ||
[types_js_1.Network.Internal]: 'inj1psk3468yr9teahgz73amwvpfjehnhczvkrhhqx', | ||
[types_js_1.Network.Testnet]: 'inj14d7h5j6ddq6pqppl65z24w7xrtmpcrqjxj8d43', | ||
[types_js_1.Network.TestnetK8s]: 'inj14d7h5j6ddq6pqppl65z24w7xrtmpcrqjxj8d43', | ||
[types_js_1.Network.TestnetSentry]: 'inj14d7h5j6ddq6pqppl65z24w7xrtmpcrqjxj8d43', | ||
[types_js_1.Network.TestnetOld]: 'inj14d7h5j6ddq6pqppl65z24w7xrtmpcrqjxj8d43', | ||
[types_js_1.Network.Devnet]: 'inj177yh38g3ctu7cemxpa3c2kvwh2yslfxfmfa66h', | ||
[types_js_1.Network.Devnet1]: 'inj177yh38g3ctu7cemxpa3c2kvwh2yslfxfmfa66h', | ||
[types_js_1.Network.Devnet2]: 'inj177yh38g3ctu7cemxpa3c2kvwh2yslfxfmfa66h', | ||
[types_js_1.Network.Local]: 'inj177yh38g3ctu7cemxpa3c2kvwh2yslfxfmfa66h', | ||
}; | ||
exports.INCENTIVES_CONTRACT_BY_NETWORK = { | ||
[types_1.Network.Mainnet]: '', | ||
[types_1.Network.MainnetLB]: '', | ||
[types_1.Network.MainnetOld]: '', | ||
[types_1.Network.MainnetK8s]: '', | ||
[types_1.Network.MainnetSentry]: '', | ||
[types_1.Network.Staging]: '', | ||
[types_1.Network.Internal]: '', | ||
[types_1.Network.Testnet]: 'inj16twru668nsl7tqzahxd9q033swhr6a5xuslpkt', | ||
[types_1.Network.TestnetK8s]: 'inj16twru668nsl7tqzahxd9q033swhr6a5xuslpkt', | ||
[types_1.Network.TestnetSentry]: 'inj16twru668nsl7tqzahxd9q033swhr6a5xuslpkt', | ||
[types_1.Network.TestnetOld]: 'inj16twru668nsl7tqzahxd9q033swhr6a5xuslpkt', | ||
[types_1.Network.Devnet]: '', | ||
[types_1.Network.Devnet1]: '', | ||
[types_1.Network.Devnet2]: '', | ||
[types_1.Network.Local]: '', | ||
[types_js_1.Network.Mainnet]: '', | ||
[types_js_1.Network.MainnetLB]: '', | ||
[types_js_1.Network.MainnetOld]: '', | ||
[types_js_1.Network.MainnetK8s]: '', | ||
[types_js_1.Network.MainnetSentry]: '', | ||
[types_js_1.Network.Staging]: '', | ||
[types_js_1.Network.Internal]: '', | ||
[types_js_1.Network.Testnet]: 'inj16twru668nsl7tqzahxd9q033swhr6a5xuslpkt', | ||
[types_js_1.Network.TestnetK8s]: 'inj16twru668nsl7tqzahxd9q033swhr6a5xuslpkt', | ||
[types_js_1.Network.TestnetSentry]: 'inj16twru668nsl7tqzahxd9q033swhr6a5xuslpkt', | ||
[types_js_1.Network.TestnetOld]: 'inj16twru668nsl7tqzahxd9q033swhr6a5xuslpkt', | ||
[types_js_1.Network.Devnet]: '', | ||
[types_js_1.Network.Devnet1]: '', | ||
[types_js_1.Network.Devnet2]: '', | ||
[types_js_1.Network.Local]: '', | ||
}; | ||
exports.INJ_NAME_REGISTRY_CONTRACT_BY_NETWORK = { | ||
[types_1.Network.Mainnet]: 'inj1hm8vs8sr2h9nk0x66vctfs528wrp6k3gtgg275', | ||
[types_1.Network.MainnetLB]: 'inj1hm8vs8sr2h9nk0x66vctfs528wrp6k3gtgg275', | ||
[types_1.Network.MainnetK8s]: 'inj1hm8vs8sr2h9nk0x66vctfs528wrp6k3gtgg275', | ||
[types_1.Network.MainnetSentry]: 'inj1hm8vs8sr2h9nk0x66vctfs528wrp6k3gtgg275', | ||
[types_1.Network.MainnetOld]: 'inj1hm8vs8sr2h9nk0x66vctfs528wrp6k3gtgg275', | ||
[types_1.Network.Staging]: 'inj1hm8vs8sr2h9nk0x66vctfs528wrp6k3gtgg275', | ||
[types_1.Network.Internal]: 'inj1hm8vs8sr2h9nk0x66vctfs528wrp6k3gtgg275', | ||
[types_1.Network.Testnet]: 'inj1aw59rkpd9afp2ws6rx23nz5mrvq8dlckeslwfa', | ||
[types_1.Network.TestnetK8s]: 'inj1aw59rkpd9afp2ws6rx23nz5mrvq8dlckeslwfa', | ||
[types_1.Network.TestnetSentry]: 'inj1aw59rkpd9afp2ws6rx23nz5mrvq8dlckeslwfa', | ||
[types_1.Network.TestnetOld]: 'inj1aw59rkpd9afp2ws6rx23nz5mrvq8dlckeslwfa', | ||
[types_1.Network.Devnet]: 'inj1aw59rkpd9afp2ws6rx23nz5mrvq8dlckeslwfa', | ||
[types_1.Network.Devnet1]: 'inj1aw59rkpd9afp2ws6rx23nz5mrvq8dlckeslwfa', | ||
[types_1.Network.Devnet2]: 'inj1aw59rkpd9afp2ws6rx23nz5mrvq8dlckeslwfa', | ||
[types_1.Network.Local]: 'inj1aw59rkpd9afp2ws6rx23nz5mrvq8dlckeslwfa', | ||
[types_js_1.Network.Mainnet]: 'inj1hm8vs8sr2h9nk0x66vctfs528wrp6k3gtgg275', | ||
[types_js_1.Network.MainnetLB]: 'inj1hm8vs8sr2h9nk0x66vctfs528wrp6k3gtgg275', | ||
[types_js_1.Network.MainnetK8s]: 'inj1hm8vs8sr2h9nk0x66vctfs528wrp6k3gtgg275', | ||
[types_js_1.Network.MainnetSentry]: 'inj1hm8vs8sr2h9nk0x66vctfs528wrp6k3gtgg275', | ||
[types_js_1.Network.MainnetOld]: 'inj1hm8vs8sr2h9nk0x66vctfs528wrp6k3gtgg275', | ||
[types_js_1.Network.Staging]: 'inj1hm8vs8sr2h9nk0x66vctfs528wrp6k3gtgg275', | ||
[types_js_1.Network.Internal]: 'inj1hm8vs8sr2h9nk0x66vctfs528wrp6k3gtgg275', | ||
[types_js_1.Network.Testnet]: 'inj1aw59rkpd9afp2ws6rx23nz5mrvq8dlckeslwfa', | ||
[types_js_1.Network.TestnetK8s]: 'inj1aw59rkpd9afp2ws6rx23nz5mrvq8dlckeslwfa', | ||
[types_js_1.Network.TestnetSentry]: 'inj1aw59rkpd9afp2ws6rx23nz5mrvq8dlckeslwfa', | ||
[types_js_1.Network.TestnetOld]: 'inj1aw59rkpd9afp2ws6rx23nz5mrvq8dlckeslwfa', | ||
[types_js_1.Network.Devnet]: 'inj1aw59rkpd9afp2ws6rx23nz5mrvq8dlckeslwfa', | ||
[types_js_1.Network.Devnet1]: 'inj1aw59rkpd9afp2ws6rx23nz5mrvq8dlckeslwfa', | ||
[types_js_1.Network.Devnet2]: 'inj1aw59rkpd9afp2ws6rx23nz5mrvq8dlckeslwfa', | ||
[types_js_1.Network.Local]: 'inj1aw59rkpd9afp2ws6rx23nz5mrvq8dlckeslwfa', | ||
}; | ||
exports.INJ_NAME_REVERSE_RESOLVER_CONTRACT_BY_NETWORK = { | ||
[types_1.Network.Mainnet]: 'inj1x9m0hceug9qylcyrrtwqtytslv2jrph433thgu', | ||
[types_1.Network.MainnetLB]: 'inj1x9m0hceug9qylcyrrtwqtytslv2jrph433thgu', | ||
[types_1.Network.MainnetK8s]: 'inj1x9m0hceug9qylcyrrtwqtytslv2jrph433thgu', | ||
[types_1.Network.MainnetSentry]: 'inj1x9m0hceug9qylcyrrtwqtytslv2jrph433thgu', | ||
[types_1.Network.MainnetOld]: 'inj1x9m0hceug9qylcyrrtwqtytslv2jrph433thgu', | ||
[types_1.Network.Staging]: 'inj1x9m0hceug9qylcyrrtwqtytslv2jrph433thgu', | ||
[types_1.Network.Internal]: 'inj1x9m0hceug9qylcyrrtwqtytslv2jrph433thgu', | ||
[types_1.Network.Testnet]: 'inj1knf6puyscuuqqhgqglskfc0k99d4885qw5uv7v', | ||
[types_1.Network.TestnetK8s]: 'inj1knf6puyscuuqqhgqglskfc0k99d4885qw5uv7v', | ||
[types_1.Network.TestnetSentry]: 'inj1knf6puyscuuqqhgqglskfc0k99d4885qw5uv7v', | ||
[types_1.Network.TestnetOld]: 'inj1knf6puyscuuqqhgqglskfc0k99d4885qw5uv7v', | ||
[types_1.Network.Devnet]: 'inj1knf6puyscuuqqhgqglskfc0k99d4885qw5uv7v', | ||
[types_1.Network.Devnet1]: 'inj1knf6puyscuuqqhgqglskfc0k99d4885qw5uv7v', | ||
[types_1.Network.Devnet2]: 'inj1knf6puyscuuqqhgqglskfc0k99d4885qw5uv7v', | ||
[types_1.Network.Local]: 'inj1knf6puyscuuqqhgqglskfc0k99d4885qw5uv7v', | ||
[types_js_1.Network.Mainnet]: 'inj1x9m0hceug9qylcyrrtwqtytslv2jrph433thgu', | ||
[types_js_1.Network.MainnetLB]: 'inj1x9m0hceug9qylcyrrtwqtytslv2jrph433thgu', | ||
[types_js_1.Network.MainnetK8s]: 'inj1x9m0hceug9qylcyrrtwqtytslv2jrph433thgu', | ||
[types_js_1.Network.MainnetSentry]: 'inj1x9m0hceug9qylcyrrtwqtytslv2jrph433thgu', | ||
[types_js_1.Network.MainnetOld]: 'inj1x9m0hceug9qylcyrrtwqtytslv2jrph433thgu', | ||
[types_js_1.Network.Staging]: 'inj1x9m0hceug9qylcyrrtwqtytslv2jrph433thgu', | ||
[types_js_1.Network.Internal]: 'inj1x9m0hceug9qylcyrrtwqtytslv2jrph433thgu', | ||
[types_js_1.Network.Testnet]: 'inj1knf6puyscuuqqhgqglskfc0k99d4885qw5uv7v', | ||
[types_js_1.Network.TestnetK8s]: 'inj1knf6puyscuuqqhgqglskfc0k99d4885qw5uv7v', | ||
[types_js_1.Network.TestnetSentry]: 'inj1knf6puyscuuqqhgqglskfc0k99d4885qw5uv7v', | ||
[types_js_1.Network.TestnetOld]: 'inj1knf6puyscuuqqhgqglskfc0k99d4885qw5uv7v', | ||
[types_js_1.Network.Devnet]: 'inj1knf6puyscuuqqhgqglskfc0k99d4885qw5uv7v', | ||
[types_js_1.Network.Devnet1]: 'inj1knf6puyscuuqqhgqglskfc0k99d4885qw5uv7v', | ||
[types_js_1.Network.Devnet2]: 'inj1knf6puyscuuqqhgqglskfc0k99d4885qw5uv7v', | ||
[types_js_1.Network.Local]: 'inj1knf6puyscuuqqhgqglskfc0k99d4885qw5uv7v', | ||
}; | ||
exports.PEGGY_GRAPH_URL_BY_NETWORK = { | ||
[types_1.Network.Mainnet]: 'https://api.thegraph.com/subgraphs/name/injectivelabs/injective-peggo-mainnet', | ||
[types_1.Network.MainnetLB]: 'https://api.thegraph.com/subgraphs/name/injectivelabs/injective-peggo-mainnet', | ||
[types_1.Network.MainnetK8s]: 'https://api.thegraph.com/subgraphs/name/injectivelabs/injective-peggo-mainnet', | ||
[types_1.Network.MainnetSentry]: 'https://api.thegraph.com/subgraphs/name/injectivelabs/injective-peggo-mainnet', | ||
[types_1.Network.MainnetOld]: 'https://api.thegraph.com/subgraphs/name/injectivelabs/injective-peggo-mainnet', | ||
[types_1.Network.Staging]: 'https://api.thegraph.com/subgraphs/name/injectivelabs/injective-peggo-mainnet', | ||
[types_1.Network.Internal]: 'https://api.thegraph.com/subgraphs/name/injectivelabs/injective-peggo-mainnet', | ||
[types_1.Network.Testnet]: 'https://api.thegraph.com/subgraphs/name/injectivelabs/injective-peggo-goerli', | ||
[types_1.Network.TestnetK8s]: 'https://api.thegraph.com/subgraphs/name/injectivelabs/injective-peggo-goerli', | ||
[types_1.Network.TestnetSentry]: 'https://api.thegraph.com/subgraphs/name/injectivelabs/injective-peggo-goerli', | ||
[types_1.Network.TestnetOld]: 'https://api.thegraph.com/subgraphs/name/injectivelabs/injective-peggo-goerli', | ||
[types_1.Network.Devnet]: 'https://api.thegraph.com/subgraphs/name/injectivelabsdev/injective-peggo-devnet', | ||
[types_1.Network.Devnet1]: 'https://api.thegraph.com/subgraphs/name/injectivelabsdev/injective-peggo-devnet', | ||
[types_1.Network.Devnet2]: 'https://api.thegraph.com/subgraphs/name/injectivelabsdev/injective-peggo-devnet', | ||
[types_1.Network.Local]: 'https://api.thegraph.com/subgraphs/name/injectivelabsdev/injective-peggo-devnet', | ||
[types_js_1.Network.Mainnet]: 'https://api.thegraph.com/subgraphs/name/injectivelabs/injective-peggo-mainnet', | ||
[types_js_1.Network.MainnetLB]: 'https://api.thegraph.com/subgraphs/name/injectivelabs/injective-peggo-mainnet', | ||
[types_js_1.Network.MainnetK8s]: 'https://api.thegraph.com/subgraphs/name/injectivelabs/injective-peggo-mainnet', | ||
[types_js_1.Network.MainnetSentry]: 'https://api.thegraph.com/subgraphs/name/injectivelabs/injective-peggo-mainnet', | ||
[types_js_1.Network.MainnetOld]: 'https://api.thegraph.com/subgraphs/name/injectivelabs/injective-peggo-mainnet', | ||
[types_js_1.Network.Staging]: 'https://api.thegraph.com/subgraphs/name/injectivelabs/injective-peggo-mainnet', | ||
[types_js_1.Network.Internal]: 'https://api.thegraph.com/subgraphs/name/injectivelabs/injective-peggo-mainnet', | ||
[types_js_1.Network.Testnet]: 'https://api.thegraph.com/subgraphs/name/injectivelabs/injective-peggo-goerli', | ||
[types_js_1.Network.TestnetK8s]: 'https://api.thegraph.com/subgraphs/name/injectivelabs/injective-peggo-goerli', | ||
[types_js_1.Network.TestnetSentry]: 'https://api.thegraph.com/subgraphs/name/injectivelabs/injective-peggo-goerli', | ||
[types_js_1.Network.TestnetOld]: 'https://api.thegraph.com/subgraphs/name/injectivelabs/injective-peggo-goerli', | ||
[types_js_1.Network.Devnet]: 'https://api.thegraph.com/subgraphs/name/injectivelabsdev/injective-peggo-devnet', | ||
[types_js_1.Network.Devnet1]: 'https://api.thegraph.com/subgraphs/name/injectivelabsdev/injective-peggo-devnet', | ||
[types_js_1.Network.Devnet2]: 'https://api.thegraph.com/subgraphs/name/injectivelabsdev/injective-peggo-devnet', | ||
[types_js_1.Network.Local]: 'https://api.thegraph.com/subgraphs/name/injectivelabsdev/injective-peggo-devnet', | ||
}; | ||
exports.ASSET_PRICE_URL_BY_NETWORK = { | ||
[types_1.Network.Mainnet]: 'https://k8s.mainnet.asset.injective.network/asset-price/v1', | ||
[types_1.Network.MainnetLB]: 'https://k8s.mainnet.asset.injective.network/asset-price/v1', | ||
[types_1.Network.MainnetK8s]: 'https://k8s.mainnet.asset.injective.network/asset-price/v1', | ||
[types_1.Network.MainnetSentry]: 'https://k8s.mainnet.asset.injective.network/asset-price/v1', | ||
[types_1.Network.MainnetOld]: 'https://k8s.mainnet.asset.injective.network/asset-price/v1', | ||
[types_1.Network.Staging]: 'https://k8s.mainnet.asset.injective.network/asset-price/v1', | ||
[types_1.Network.Internal]: 'https://k8s.mainnet.asset.injective.network/asset-price/v1', | ||
[types_1.Network.Testnet]: 'https://k8s.testnet.asset.injective.network/asset-price/v1', | ||
[types_1.Network.TestnetK8s]: 'https://k8s.testnet.asset.injective.network/asset-price/v1', | ||
[types_1.Network.TestnetSentry]: 'https://k8s.testnet.asset.injective.network/asset-price/v1', | ||
[types_1.Network.TestnetOld]: 'https://k8s.testnet.asset.injective.network/asset-price/v1', | ||
[types_1.Network.Devnet]: 'https://devnet.asset.injective.dev/asset-price/v1', | ||
[types_1.Network.Devnet1]: 'https://devnet.api.injective.dev/asset-price/v1', | ||
[types_1.Network.Devnet2]: 'https://devnet.api.injective.dev/asset-price/v1', | ||
[types_1.Network.Local]: 'https://devnet.api.injective.dev/asset-price/v1', | ||
[types_js_1.Network.Mainnet]: 'https://k8s.mainnet.asset.injective.network/asset-price/v1', | ||
[types_js_1.Network.MainnetLB]: 'https://k8s.mainnet.asset.injective.network/asset-price/v1', | ||
[types_js_1.Network.MainnetK8s]: 'https://k8s.mainnet.asset.injective.network/asset-price/v1', | ||
[types_js_1.Network.MainnetSentry]: 'https://k8s.mainnet.asset.injective.network/asset-price/v1', | ||
[types_js_1.Network.MainnetOld]: 'https://k8s.mainnet.asset.injective.network/asset-price/v1', | ||
[types_js_1.Network.Staging]: 'https://k8s.mainnet.asset.injective.network/asset-price/v1', | ||
[types_js_1.Network.Internal]: 'https://k8s.mainnet.asset.injective.network/asset-price/v1', | ||
[types_js_1.Network.Testnet]: 'https://k8s.testnet.asset.injective.network/asset-price/v1', | ||
[types_js_1.Network.TestnetK8s]: 'https://k8s.testnet.asset.injective.network/asset-price/v1', | ||
[types_js_1.Network.TestnetSentry]: 'https://k8s.testnet.asset.injective.network/asset-price/v1', | ||
[types_js_1.Network.TestnetOld]: 'https://k8s.testnet.asset.injective.network/asset-price/v1', | ||
[types_js_1.Network.Devnet]: 'https://devnet.asset.injective.dev/asset-price/v1', | ||
[types_js_1.Network.Devnet1]: 'https://devnet.api.injective.dev/asset-price/v1', | ||
[types_js_1.Network.Devnet2]: 'https://devnet.api.injective.dev/asset-price/v1', | ||
[types_js_1.Network.Local]: 'https://devnet.api.injective.dev/asset-price/v1', | ||
}; | ||
//# sourceMappingURL=constants.js.map |
@@ -1,2 +0,2 @@ | ||
import { NetworkEndpoints } from './types'; | ||
import { NetworkEndpoints } from './types.js'; | ||
export declare const endpointsMainnetSentry: NetworkEndpoints; | ||
@@ -3,0 +3,0 @@ export declare const endpointsMainnet: NetworkEndpoints; |
@@ -1,5 +0,5 @@ | ||
export * from './network'; | ||
export * from './types'; | ||
export * from './utils'; | ||
export * from './constants'; | ||
export * from './network.js'; | ||
export * from './types.js'; | ||
export * from './utils.js'; | ||
export * from './constants.js'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -17,6 +17,6 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./network"), exports); | ||
__exportStar(require("./types"), exports); | ||
__exportStar(require("./utils"), exports); | ||
__exportStar(require("./constants"), exports); | ||
__exportStar(require("./network.js"), exports); | ||
__exportStar(require("./types.js"), exports); | ||
__exportStar(require("./utils.js"), exports); | ||
__exportStar(require("./constants.js"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
import { Network, ChainInfo, NetworkEndpoints } from './types'; | ||
import { Network, ChainInfo, NetworkEndpoints } from './types.js'; | ||
export declare const networkEndpoints: Record<Network, NetworkEndpoints>; | ||
@@ -3,0 +3,0 @@ export declare const chainInfos: Record<Network, ChainInfo>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isTestnetOrDevnet = exports.isTestnet = exports.isDevnet = exports.isMainnet = exports.getNetworkInfo = exports.getNetworkChainInfo = exports.getChainInfoForNetwork = exports.getNetworkEndpoints = exports.chainInfos = exports.networkEndpoints = void 0; | ||
const chainInfos_1 = require("./chainInfos"); | ||
const endpoints_1 = require("./endpoints"); | ||
const types_1 = require("./types"); | ||
const chainInfos_js_1 = require("./chainInfos.js"); | ||
const endpoints_js_1 = require("./endpoints.js"); | ||
const types_js_1 = require("./types.js"); | ||
exports.networkEndpoints = { | ||
[types_1.Network.MainnetLB]: endpoints_1.endpointsMainnetLB, | ||
[types_1.Network.MainnetK8s]: endpoints_1.endpointsMainnetK8s, | ||
[types_1.Network.MainnetSentry]: endpoints_1.endpointsMainnetSentry, | ||
[types_1.Network.MainnetOld]: endpoints_1.endpointsMainnetOld, | ||
[types_1.Network.Staging]: endpoints_1.endpointsStaging, | ||
[types_1.Network.Mainnet]: endpoints_1.endpointsMainnet, | ||
[types_1.Network.Internal]: endpoints_1.endpointsInternal, | ||
[types_1.Network.Devnet]: endpoints_1.endpointsDevnet, | ||
[types_1.Network.Devnet1]: endpoints_1.endpointsDevnet1, | ||
[types_1.Network.Devnet2]: endpoints_1.endpointsDevnet2, | ||
[types_1.Network.Testnet]: endpoints_1.endpointsTestnet, | ||
[types_1.Network.TestnetK8s]: endpoints_1.endpointsTestnetK8s, | ||
[types_1.Network.TestnetOld]: endpoints_1.endpointsTestnetOld, | ||
[types_1.Network.TestnetSentry]: endpoints_1.endpointsTestnetSentry, | ||
[types_1.Network.Local]: endpoints_1.endpointsLocal, | ||
[types_js_1.Network.MainnetLB]: endpoints_js_1.endpointsMainnetLB, | ||
[types_js_1.Network.MainnetK8s]: endpoints_js_1.endpointsMainnetK8s, | ||
[types_js_1.Network.MainnetSentry]: endpoints_js_1.endpointsMainnetSentry, | ||
[types_js_1.Network.MainnetOld]: endpoints_js_1.endpointsMainnetOld, | ||
[types_js_1.Network.Staging]: endpoints_js_1.endpointsStaging, | ||
[types_js_1.Network.Mainnet]: endpoints_js_1.endpointsMainnet, | ||
[types_js_1.Network.Internal]: endpoints_js_1.endpointsInternal, | ||
[types_js_1.Network.Devnet]: endpoints_js_1.endpointsDevnet, | ||
[types_js_1.Network.Devnet1]: endpoints_js_1.endpointsDevnet1, | ||
[types_js_1.Network.Devnet2]: endpoints_js_1.endpointsDevnet2, | ||
[types_js_1.Network.Testnet]: endpoints_js_1.endpointsTestnet, | ||
[types_js_1.Network.TestnetK8s]: endpoints_js_1.endpointsTestnetK8s, | ||
[types_js_1.Network.TestnetOld]: endpoints_js_1.endpointsTestnetOld, | ||
[types_js_1.Network.TestnetSentry]: endpoints_js_1.endpointsTestnetSentry, | ||
[types_js_1.Network.Local]: endpoints_js_1.endpointsLocal, | ||
}; | ||
exports.chainInfos = { | ||
[types_1.Network.MainnetLB]: chainInfos_1.mainnetChainInfo, | ||
[types_1.Network.MainnetK8s]: chainInfos_1.mainnetChainInfo, | ||
[types_1.Network.MainnetSentry]: chainInfos_1.mainnetChainInfo, | ||
[types_1.Network.MainnetOld]: chainInfos_1.mainnetChainInfo, | ||
[types_1.Network.Staging]: chainInfos_1.mainnetChainInfo, | ||
[types_1.Network.Mainnet]: chainInfos_1.mainnetChainInfo, | ||
[types_1.Network.Internal]: chainInfos_1.mainnetChainInfo, | ||
[types_1.Network.Devnet]: chainInfos_1.devnetChainInfo, | ||
[types_1.Network.Devnet1]: chainInfos_1.devnetChainInfo, | ||
[types_1.Network.Devnet2]: chainInfos_1.devnetChainInfo, | ||
[types_1.Network.Testnet]: chainInfos_1.testnetChainInfo, | ||
[types_1.Network.TestnetOld]: chainInfos_1.testnetChainInfo, | ||
[types_1.Network.TestnetK8s]: chainInfos_1.testnetChainInfo, | ||
[types_1.Network.TestnetSentry]: chainInfos_1.testnetChainInfo, | ||
[types_1.Network.Local]: chainInfos_1.localChainInfo, | ||
[types_js_1.Network.MainnetLB]: chainInfos_js_1.mainnetChainInfo, | ||
[types_js_1.Network.MainnetK8s]: chainInfos_js_1.mainnetChainInfo, | ||
[types_js_1.Network.MainnetSentry]: chainInfos_js_1.mainnetChainInfo, | ||
[types_js_1.Network.MainnetOld]: chainInfos_js_1.mainnetChainInfo, | ||
[types_js_1.Network.Staging]: chainInfos_js_1.mainnetChainInfo, | ||
[types_js_1.Network.Mainnet]: chainInfos_js_1.mainnetChainInfo, | ||
[types_js_1.Network.Internal]: chainInfos_js_1.mainnetChainInfo, | ||
[types_js_1.Network.Devnet]: chainInfos_js_1.devnetChainInfo, | ||
[types_js_1.Network.Devnet1]: chainInfos_js_1.devnetChainInfo, | ||
[types_js_1.Network.Devnet2]: chainInfos_js_1.devnetChainInfo, | ||
[types_js_1.Network.Testnet]: chainInfos_js_1.testnetChainInfo, | ||
[types_js_1.Network.TestnetOld]: chainInfos_js_1.testnetChainInfo, | ||
[types_js_1.Network.TestnetK8s]: chainInfos_js_1.testnetChainInfo, | ||
[types_js_1.Network.TestnetSentry]: chainInfos_js_1.testnetChainInfo, | ||
[types_js_1.Network.Local]: chainInfos_js_1.localChainInfo, | ||
}; | ||
@@ -55,18 +55,18 @@ const getNetworkEndpoints = (network) => exports.networkEndpoints[network]; | ||
const isMainnet = (network) => [ | ||
types_1.Network.Staging, | ||
types_1.Network.Mainnet, | ||
types_1.Network.MainnetOld, | ||
types_1.Network.MainnetK8s, | ||
types_1.Network.MainnetSentry, | ||
types_1.Network.Internal, | ||
types_1.Network.MainnetLB, | ||
types_js_1.Network.Staging, | ||
types_js_1.Network.Mainnet, | ||
types_js_1.Network.MainnetOld, | ||
types_js_1.Network.MainnetK8s, | ||
types_js_1.Network.MainnetSentry, | ||
types_js_1.Network.Internal, | ||
types_js_1.Network.MainnetLB, | ||
].includes(network); | ||
exports.isMainnet = isMainnet; | ||
const isDevnet = (network) => [types_1.Network.Devnet, types_1.Network.Devnet1, types_1.Network.Devnet2, types_1.Network.Local].includes(network); | ||
const isDevnet = (network) => [types_js_1.Network.Devnet, types_js_1.Network.Devnet1, types_js_1.Network.Devnet2, types_js_1.Network.Local].includes(network); | ||
exports.isDevnet = isDevnet; | ||
const isTestnet = (network) => [ | ||
types_1.Network.Testnet, | ||
types_1.Network.TestnetOld, | ||
types_1.Network.TestnetK8s, | ||
types_1.Network.TestnetSentry, | ||
types_js_1.Network.Testnet, | ||
types_js_1.Network.TestnetOld, | ||
types_js_1.Network.TestnetK8s, | ||
types_js_1.Network.TestnetSentry, | ||
].includes(network); | ||
@@ -73,0 +73,0 @@ exports.isTestnet = isTestnet; |
@@ -1,2 +0,2 @@ | ||
import { Network } from './types'; | ||
import { Network } from './types.js'; | ||
export declare const CW20_CODE_IDS_BY_NETWORK: (network?: Network) => string[]; | ||
@@ -3,0 +3,0 @@ export declare const getCw20AdapterContractForNetwork: (network?: Network) => string; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getAssetPriceServiceForNetwork = exports.getPeggyGraphQlEndpointForNetwork = exports.getInjNameReverseResolverContractForNetwork = exports.getInjNameRegistryContractForNetwork = exports.getIncentivesContractForNetwork = exports.getCw20SwapContractForNetwork = exports.getCw20AdapterContractForNetwork = exports.CW20_CODE_IDS_BY_NETWORK = void 0; | ||
const constants_1 = require("./constants"); | ||
const network_1 = require("./network"); | ||
const types_1 = require("./types"); | ||
const CW20_CODE_IDS_BY_NETWORK = (network = types_1.Network.Mainnet) => { | ||
if ((0, network_1.isTestnet)(network)) { | ||
const constants_js_1 = require("./constants.js"); | ||
const network_js_1 = require("./network.js"); | ||
const types_js_1 = require("./types.js"); | ||
const CW20_CODE_IDS_BY_NETWORK = (network = types_js_1.Network.Mainnet) => { | ||
if ((0, network_js_1.isTestnet)(network)) { | ||
return ['25']; | ||
@@ -14,44 +14,44 @@ } | ||
exports.CW20_CODE_IDS_BY_NETWORK = CW20_CODE_IDS_BY_NETWORK; | ||
const getCw20AdapterContractForNetwork = (network = types_1.Network.Mainnet) => { | ||
return constants_1.CW20_ADAPTER_CONTRACT_BY_NETWORK[network] !== undefined | ||
? constants_1.CW20_ADAPTER_CONTRACT_BY_NETWORK[network] | ||
: constants_1.CW20_ADAPTER_CONTRACT_BY_NETWORK[types_1.Network.Mainnet]; | ||
const getCw20AdapterContractForNetwork = (network = types_js_1.Network.Mainnet) => { | ||
return constants_js_1.CW20_ADAPTER_CONTRACT_BY_NETWORK[network] !== undefined | ||
? constants_js_1.CW20_ADAPTER_CONTRACT_BY_NETWORK[network] | ||
: constants_js_1.CW20_ADAPTER_CONTRACT_BY_NETWORK[types_js_1.Network.Mainnet]; | ||
}; | ||
exports.getCw20AdapterContractForNetwork = getCw20AdapterContractForNetwork; | ||
const getCw20SwapContractForNetwork = (network = types_1.Network.Mainnet) => { | ||
return constants_1.CW20_SWAP_CONTRACT_BY_NETWORK[network] !== undefined | ||
? constants_1.CW20_SWAP_CONTRACT_BY_NETWORK[network] | ||
: constants_1.CW20_SWAP_CONTRACT_BY_NETWORK[types_1.Network.Mainnet]; | ||
const getCw20SwapContractForNetwork = (network = types_js_1.Network.Mainnet) => { | ||
return constants_js_1.CW20_SWAP_CONTRACT_BY_NETWORK[network] !== undefined | ||
? constants_js_1.CW20_SWAP_CONTRACT_BY_NETWORK[network] | ||
: constants_js_1.CW20_SWAP_CONTRACT_BY_NETWORK[types_js_1.Network.Mainnet]; | ||
}; | ||
exports.getCw20SwapContractForNetwork = getCw20SwapContractForNetwork; | ||
const getIncentivesContractForNetwork = (network = types_1.Network.Mainnet) => { | ||
return constants_1.INCENTIVES_CONTRACT_BY_NETWORK[network] !== undefined | ||
? constants_1.INCENTIVES_CONTRACT_BY_NETWORK[network] | ||
: constants_1.INCENTIVES_CONTRACT_BY_NETWORK[types_1.Network.Mainnet]; | ||
const getIncentivesContractForNetwork = (network = types_js_1.Network.Mainnet) => { | ||
return constants_js_1.INCENTIVES_CONTRACT_BY_NETWORK[network] !== undefined | ||
? constants_js_1.INCENTIVES_CONTRACT_BY_NETWORK[network] | ||
: constants_js_1.INCENTIVES_CONTRACT_BY_NETWORK[types_js_1.Network.Mainnet]; | ||
}; | ||
exports.getIncentivesContractForNetwork = getIncentivesContractForNetwork; | ||
const getInjNameRegistryContractForNetwork = (network = types_1.Network.Mainnet) => { | ||
return constants_1.INJ_NAME_REGISTRY_CONTRACT_BY_NETWORK[network] !== undefined | ||
? constants_1.INJ_NAME_REGISTRY_CONTRACT_BY_NETWORK[network] | ||
: constants_1.INJ_NAME_REGISTRY_CONTRACT_BY_NETWORK[types_1.Network.Mainnet]; | ||
const getInjNameRegistryContractForNetwork = (network = types_js_1.Network.Mainnet) => { | ||
return constants_js_1.INJ_NAME_REGISTRY_CONTRACT_BY_NETWORK[network] !== undefined | ||
? constants_js_1.INJ_NAME_REGISTRY_CONTRACT_BY_NETWORK[network] | ||
: constants_js_1.INJ_NAME_REGISTRY_CONTRACT_BY_NETWORK[types_js_1.Network.Mainnet]; | ||
}; | ||
exports.getInjNameRegistryContractForNetwork = getInjNameRegistryContractForNetwork; | ||
const getInjNameReverseResolverContractForNetwork = (network = types_1.Network.Mainnet) => { | ||
return constants_1.INJ_NAME_REVERSE_RESOLVER_CONTRACT_BY_NETWORK[network] !== undefined | ||
? constants_1.INJ_NAME_REVERSE_RESOLVER_CONTRACT_BY_NETWORK[network] | ||
: constants_1.INJ_NAME_REVERSE_RESOLVER_CONTRACT_BY_NETWORK[types_1.Network.Mainnet]; | ||
const getInjNameReverseResolverContractForNetwork = (network = types_js_1.Network.Mainnet) => { | ||
return constants_js_1.INJ_NAME_REVERSE_RESOLVER_CONTRACT_BY_NETWORK[network] !== undefined | ||
? constants_js_1.INJ_NAME_REVERSE_RESOLVER_CONTRACT_BY_NETWORK[network] | ||
: constants_js_1.INJ_NAME_REVERSE_RESOLVER_CONTRACT_BY_NETWORK[types_js_1.Network.Mainnet]; | ||
}; | ||
exports.getInjNameReverseResolverContractForNetwork = getInjNameReverseResolverContractForNetwork; | ||
const getPeggyGraphQlEndpointForNetwork = (network) => { | ||
return constants_1.PEGGY_GRAPH_URL_BY_NETWORK[network] !== undefined | ||
? constants_1.PEGGY_GRAPH_URL_BY_NETWORK[network] | ||
: constants_1.PEGGY_GRAPH_URL_BY_NETWORK[types_1.Network.Mainnet]; | ||
return constants_js_1.PEGGY_GRAPH_URL_BY_NETWORK[network] !== undefined | ||
? constants_js_1.PEGGY_GRAPH_URL_BY_NETWORK[network] | ||
: constants_js_1.PEGGY_GRAPH_URL_BY_NETWORK[types_js_1.Network.Mainnet]; | ||
}; | ||
exports.getPeggyGraphQlEndpointForNetwork = getPeggyGraphQlEndpointForNetwork; | ||
const getAssetPriceServiceForNetwork = (network) => { | ||
return constants_1.ASSET_PRICE_URL_BY_NETWORK[network] !== undefined | ||
? constants_1.ASSET_PRICE_URL_BY_NETWORK[network] | ||
: constants_1.ASSET_PRICE_URL_BY_NETWORK[types_1.Network.Mainnet]; | ||
return constants_js_1.ASSET_PRICE_URL_BY_NETWORK[network] !== undefined | ||
? constants_js_1.ASSET_PRICE_URL_BY_NETWORK[network] | ||
: constants_js_1.ASSET_PRICE_URL_BY_NETWORK[types_js_1.Network.Mainnet]; | ||
}; | ||
exports.getAssetPriceServiceForNetwork = getAssetPriceServiceForNetwork; | ||
//# sourceMappingURL=utils.js.map |
@@ -1,2 +0,2 @@ | ||
import { ChainInfo } from './types'; | ||
import { ChainInfo } from './types.js'; | ||
export declare const mainnetChainInfo: ChainInfo; | ||
@@ -3,0 +3,0 @@ export declare const testnetChainInfo: ChainInfo; |
@@ -1,2 +0,2 @@ | ||
import { Network } from './types'; | ||
import { Network } from './types.js'; | ||
export const CW20_ADAPTER_CONTRACT_BY_NETWORK = { | ||
@@ -3,0 +3,0 @@ [Network.Mainnet]: 'inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk', |
@@ -1,2 +0,2 @@ | ||
import { NetworkEndpoints } from './types'; | ||
import { NetworkEndpoints } from './types.js'; | ||
export declare const endpointsMainnetSentry: NetworkEndpoints; | ||
@@ -3,0 +3,0 @@ export declare const endpointsMainnet: NetworkEndpoints; |
@@ -1,5 +0,5 @@ | ||
export * from './network'; | ||
export * from './types'; | ||
export * from './utils'; | ||
export * from './constants'; | ||
export * from './network.js'; | ||
export * from './types.js'; | ||
export * from './utils.js'; | ||
export * from './constants.js'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,5 +0,5 @@ | ||
export * from './network'; | ||
export * from './types'; | ||
export * from './utils'; | ||
export * from './constants'; | ||
export * from './network.js'; | ||
export * from './types.js'; | ||
export * from './utils.js'; | ||
export * from './constants.js'; | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
import { Network, ChainInfo, NetworkEndpoints } from './types'; | ||
import { Network, ChainInfo, NetworkEndpoints } from './types.js'; | ||
export declare const networkEndpoints: Record<Network, NetworkEndpoints>; | ||
@@ -3,0 +3,0 @@ export declare const chainInfos: Record<Network, ChainInfo>; |
@@ -1,4 +0,4 @@ | ||
import { devnetChainInfo, localChainInfo, mainnetChainInfo, testnetChainInfo, } from './chainInfos'; | ||
import { endpointsLocal, endpointsDevnet, endpointsTestnet, endpointsMainnet, endpointsStaging, endpointsDevnet1, endpointsDevnet2, endpointsInternal, endpointsMainnetLB, endpointsTestnetK8s, endpointsTestnetOld, endpointsMainnetK8s, endpointsMainnetOld, endpointsMainnetSentry, endpointsTestnetSentry, } from './endpoints'; | ||
import { Network } from './types'; | ||
import { devnetChainInfo, localChainInfo, mainnetChainInfo, testnetChainInfo, } from './chainInfos.js'; | ||
import { endpointsLocal, endpointsDevnet, endpointsTestnet, endpointsMainnet, endpointsStaging, endpointsDevnet1, endpointsDevnet2, endpointsInternal, endpointsMainnetLB, endpointsTestnetK8s, endpointsTestnetOld, endpointsMainnetK8s, endpointsMainnetOld, endpointsMainnetSentry, endpointsTestnetSentry, } from './endpoints.js'; | ||
import { Network } from './types.js'; | ||
export const networkEndpoints = { | ||
@@ -5,0 +5,0 @@ [Network.MainnetLB]: endpointsMainnetLB, |
@@ -1,2 +0,2 @@ | ||
import { Network } from './types'; | ||
import { Network } from './types.js'; | ||
export declare const CW20_CODE_IDS_BY_NETWORK: (network?: Network) => string[]; | ||
@@ -3,0 +3,0 @@ export declare const getCw20AdapterContractForNetwork: (network?: Network) => string; |
@@ -1,4 +0,4 @@ | ||
import { ASSET_PRICE_URL_BY_NETWORK, PEGGY_GRAPH_URL_BY_NETWORK, CW20_SWAP_CONTRACT_BY_NETWORK, INCENTIVES_CONTRACT_BY_NETWORK, CW20_ADAPTER_CONTRACT_BY_NETWORK, INJ_NAME_REGISTRY_CONTRACT_BY_NETWORK, INJ_NAME_REVERSE_RESOLVER_CONTRACT_BY_NETWORK, } from './constants'; | ||
import { isTestnet } from './network'; | ||
import { Network } from './types'; | ||
import { ASSET_PRICE_URL_BY_NETWORK, PEGGY_GRAPH_URL_BY_NETWORK, CW20_SWAP_CONTRACT_BY_NETWORK, INCENTIVES_CONTRACT_BY_NETWORK, CW20_ADAPTER_CONTRACT_BY_NETWORK, INJ_NAME_REGISTRY_CONTRACT_BY_NETWORK, INJ_NAME_REVERSE_RESOLVER_CONTRACT_BY_NETWORK, } from './constants.js'; | ||
import { isTestnet } from './network.js'; | ||
import { Network } from './types.js'; | ||
export const CW20_CODE_IDS_BY_NETWORK = (network = Network.Mainnet) => { | ||
@@ -5,0 +5,0 @@ if (isTestnet(network)) { |
{ | ||
"name": "@injectivelabs/networks", | ||
"description": "Endpoints, networks, etc. Can be reused throughout Injective's projects.", | ||
"version": "1.14.17-beta.2", | ||
"version": "1.14.17", | ||
"sideEffects": false, | ||
@@ -21,3 +21,5 @@ "license": "Apache-2.0", | ||
"scripts": { | ||
"build": "tsc --build --force tsconfig.build.json && tsc --build --force tsconfig.build.esm.json && yarn build:post", | ||
"build": "yarn build:cjs && yarn build:esm && yarn build:post", | ||
"build:cjs": "tsc --build --force tsconfig.build.json", | ||
"build:esm": "tsc --build --force tsconfig.build.esm.json", | ||
"build:watch": "tsc --build -w tsconfig.build.json && tsc -w --build tsconfig.build.esm.json && yarn build:post", | ||
@@ -35,8 +37,8 @@ "build:post": "shx cp ../../etc/stub/package.json.stub dist/cjs/package.json && shx cp ../../etc/stub/package.esm.json.stub dist/esm/package.json", | ||
"dependencies": { | ||
"@injectivelabs/exceptions": "^1.14.17-beta.2", | ||
"@injectivelabs/ts-types": "^1.14.16", | ||
"@injectivelabs/utils": "^1.14.17-beta.2", | ||
"@injectivelabs/exceptions": "^1.14.17", | ||
"@injectivelabs/ts-types": "^1.14.17", | ||
"@injectivelabs/utils": "^1.14.17", | ||
"shx": "^0.3.2" | ||
}, | ||
"gitHead": "1b13f41772841d8cff637fa4c395bc7de4b9d97d" | ||
"gitHead": "d3515dba70c4aa808d91302311d2f6d9f6f8af63" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
117562
1