@injectivelabs/networks 1.16.25-alpha.1 → 1.16.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,69 +0,0 @@
1
- import { ChainId, EvmChainId } from "@injectivelabs/ts-types";
2
-
3
- //#region src/types.d.ts
4
- declare const Network: {
5
- readonly MainnetK8s: "mainnetK8s";
6
- readonly MainnetLB: "mainnetLB";
7
- readonly Mainnet: "mainnet";
8
- readonly MainnetSentry: "mainnetSentry";
9
- readonly MainnetOld: "mainnetOld";
10
- readonly Staging: "staging";
11
- readonly Internal: "internal";
12
- readonly TestnetK8s: "testnetK8s";
13
- readonly TestnetOld: "testnetOld";
14
- readonly TestnetSentry: "testnetSentry";
15
- readonly Testnet: "testnet";
16
- readonly Devnet1: "devnet1";
17
- readonly Devnet2: "devnet2";
18
- readonly Devnet3: "devnet3";
19
- readonly Devnet: "devnet";
20
- readonly Local: "local";
21
- };
22
- type Network = (typeof Network)[keyof typeof Network];
23
- type NetworkEndpoints = {
24
- indexer: string;
25
- grpc: string;
26
- rest: string;
27
- rpc?: string;
28
- cacheGrpc?: string;
29
- cacheRest?: string;
30
- chronos?: string;
31
- web3gw?: string;
32
- explorer?: string;
33
- chart?: string;
34
- };
35
- type UrlEndpoints = NetworkEndpoints;
36
- /** Deprecated */
37
- type ChainInfo = {
38
- feeDenom: string;
39
- chainId: ChainId;
40
- env: string;
41
- evmChainId?: EvmChainId;
42
- };
43
- //#endregion
44
- //#region src/utils.d.ts
45
- declare const CW20_CODE_IDS_BY_NETWORK: (network?: Network) => string[];
46
- declare const getCw20AdapterContractForNetwork: (network?: Network) => "inj1uukt3kqela4vsllvrqnrgllkna5wn3cm588w6k" | "inj1hdvy6tl89llqy3ze8lv6mz5qh66sx9enn0jxg6" | "inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk";
47
- declare const getCw20SwapContractForNetwork: (network?: Network) => "inj177yh38g3ctu7cemxpa3c2kvwh2yslfxfmfa66h" | "inj14d7h5j6ddq6pqppl65z24w7xrtmpcrqjxj8d43" | "inj12yj3mtjarujkhcp6lg3klxjjfrx2v7v8yswgp9" | "inj1psk3468yr9teahgz73amwvpfjehnhczvkrhhqx";
48
- declare const getIncentivesContractForNetwork: (network?: Network) => "" | "inj16twru668nsl7tqzahxd9q033swhr6a5xuslpkt";
49
- declare const getInjNameRegistryContractForNetwork: (network?: Network) => "inj1aw59rkpd9afp2ws6rx23nz5mrvq8dlckeslwfa" | "inj1hm8vs8sr2h9nk0x66vctfs528wrp6k3gtgg275";
50
- declare const getInjNameReverseResolverContractForNetwork: (network?: Network) => "inj1knf6puyscuuqqhgqglskfc0k99d4885qw5uv7v" | "inj1x9m0hceug9qylcyrrtwqtytslv2jrph433thgu";
51
- declare const getPeggyGraphQlEndpointForNetwork: (network: Network) => string;
52
- declare const getAssetPriceServiceForNetwork: (network: Network) => string;
53
- //#endregion
54
- //#region src/network.d.ts
55
- declare const getNetworkEndpoints: (network: Network) => NetworkEndpoints;
56
- /**
57
- * @deprecated - use getNetworkChainInfo instead
58
- * @param network deprecated
59
- * @returns
60
- */
61
- declare const getChainInfoForNetwork: (network: Network) => ChainInfo;
62
- declare const getNetworkChainInfo: (network: Network) => ChainInfo;
63
- declare const getNetworkInfo: (network: Network) => ChainInfo & NetworkEndpoints;
64
- declare const isMainnet: (network: Network) => boolean;
65
- declare const isDevnet: (network: Network) => boolean;
66
- declare const isTestnet: (network: Network) => boolean;
67
- declare const isTestnetOrDevnet: (network: Network) => boolean;
68
- //#endregion
69
- export { CW20_CODE_IDS_BY_NETWORK, ChainInfo, Network, NetworkEndpoints, UrlEndpoints, getAssetPriceServiceForNetwork, getChainInfoForNetwork, getCw20AdapterContractForNetwork, getCw20SwapContractForNetwork, getIncentivesContractForNetwork, getInjNameRegistryContractForNetwork, getInjNameReverseResolverContractForNetwork, getNetworkChainInfo, getNetworkEndpoints, getNetworkInfo, getPeggyGraphQlEndpointForNetwork, isDevnet, isMainnet, isTestnet, isTestnetOrDevnet };