@0xtorch/evm 0.0.25 → 0.0.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.
Files changed (93) hide show
  1. package/.DS_Store +0 -0
  2. package/_cjs/chains/definitions/arbitrumOne.js.map +1 -1
  3. package/_cjs/chains/definitions/astar.js.map +1 -1
  4. package/_cjs/chains/definitions/avalancheC.js.map +1 -1
  5. package/_cjs/chains/definitions/base.js +3 -1
  6. package/_cjs/chains/definitions/base.js.map +1 -1
  7. package/_cjs/chains/definitions/bsc.js +3 -1
  8. package/_cjs/chains/definitions/bsc.js.map +1 -1
  9. package/_cjs/chains/definitions/ethereum.js.map +1 -1
  10. package/_cjs/chains/definitions/fantom.js.map +1 -1
  11. package/_cjs/chains/definitions/linea.js.map +1 -1
  12. package/_cjs/chains/definitions/mantle.js.map +1 -1
  13. package/_cjs/chains/definitions/metis.js +3 -1
  14. package/_cjs/chains/definitions/metis.js.map +1 -1
  15. package/_cjs/chains/definitions/moonbeam.js.map +1 -1
  16. package/_cjs/chains/definitions/moonriver.js.map +1 -1
  17. package/_cjs/chains/definitions/optimism.js.map +1 -1
  18. package/_cjs/chains/definitions/polygonPos.js.map +1 -1
  19. package/_cjs/chains/definitions/ronin.js.map +1 -1
  20. package/_cjs/chains/externals/defillama/constants.js.map +1 -1
  21. package/_cjs/utils/create.js +1 -1
  22. package/_cjs/utils/create.js.map +1 -1
  23. package/_esm/chains/definitions/arbitrumOne.js.map +1 -1
  24. package/_esm/chains/definitions/astar.js.map +1 -1
  25. package/_esm/chains/definitions/avalancheC.js.map +1 -1
  26. package/_esm/chains/definitions/base.js +3 -1
  27. package/_esm/chains/definitions/base.js.map +1 -1
  28. package/_esm/chains/definitions/bsc.js +3 -1
  29. package/_esm/chains/definitions/bsc.js.map +1 -1
  30. package/_esm/chains/definitions/ethereum.js.map +1 -1
  31. package/_esm/chains/definitions/fantom.js.map +1 -1
  32. package/_esm/chains/definitions/linea.js.map +1 -1
  33. package/_esm/chains/definitions/mantle.js.map +1 -1
  34. package/_esm/chains/definitions/metis.js +3 -1
  35. package/_esm/chains/definitions/metis.js.map +1 -1
  36. package/_esm/chains/definitions/moonbeam.js.map +1 -1
  37. package/_esm/chains/definitions/moonriver.js.map +1 -1
  38. package/_esm/chains/definitions/optimism.js.map +1 -1
  39. package/_esm/chains/definitions/polygonPos.js.map +1 -1
  40. package/_esm/chains/definitions/ronin.js.map +1 -1
  41. package/_esm/chains/externals/defillama/constants.js.map +1 -1
  42. package/_esm/utils/create.js +1 -1
  43. package/_esm/utils/create.js.map +1 -1
  44. package/_types/chains/definitions/arbitrumOne.d.ts +3 -63
  45. package/_types/chains/definitions/arbitrumOne.d.ts.map +1 -1
  46. package/_types/chains/definitions/astar.d.ts +3 -28
  47. package/_types/chains/definitions/astar.d.ts.map +1 -1
  48. package/_types/chains/definitions/avalancheC.d.ts +3 -48
  49. package/_types/chains/definitions/avalancheC.d.ts.map +1 -1
  50. package/_types/chains/definitions/base.d.ts +3 -58
  51. package/_types/chains/definitions/base.d.ts.map +1 -1
  52. package/_types/chains/definitions/bsc.d.ts +3 -108
  53. package/_types/chains/definitions/bsc.d.ts.map +1 -1
  54. package/_types/chains/definitions/ethereum.d.ts +3 -93
  55. package/_types/chains/definitions/ethereum.d.ts.map +1 -1
  56. package/_types/chains/definitions/fantom.d.ts +3 -53
  57. package/_types/chains/definitions/fantom.d.ts.map +1 -1
  58. package/_types/chains/definitions/linea.d.ts +3 -33
  59. package/_types/chains/definitions/linea.d.ts.map +1 -1
  60. package/_types/chains/definitions/mantle.d.ts +3 -27
  61. package/_types/chains/definitions/mantle.d.ts.map +1 -1
  62. package/_types/chains/definitions/metis.d.ts +3 -17
  63. package/_types/chains/definitions/metis.d.ts.map +1 -1
  64. package/_types/chains/definitions/moonbeam.d.ts +3 -48
  65. package/_types/chains/definitions/moonbeam.d.ts.map +1 -1
  66. package/_types/chains/definitions/moonriver.d.ts +3 -28
  67. package/_types/chains/definitions/moonriver.d.ts.map +1 -1
  68. package/_types/chains/definitions/optimism.d.ts +3 -68
  69. package/_types/chains/definitions/optimism.d.ts.map +1 -1
  70. package/_types/chains/definitions/polygonPos.d.ts +3 -48
  71. package/_types/chains/definitions/polygonPos.d.ts.map +1 -1
  72. package/_types/chains/definitions/ronin.d.ts +3 -13
  73. package/_types/chains/definitions/ronin.d.ts.map +1 -1
  74. package/_types/chains/externals/defillama/constants.d.ts +1 -1
  75. package/_types/chains/externals/defillama/constants.d.ts.map +1 -1
  76. package/chains/definitions/arbitrumOne.ts +4 -4
  77. package/chains/definitions/astar.ts +4 -4
  78. package/chains/definitions/avalancheC.ts +4 -4
  79. package/chains/definitions/base.ts +5 -3
  80. package/chains/definitions/bsc.ts +5 -3
  81. package/chains/definitions/ethereum.ts +4 -4
  82. package/chains/definitions/fantom.ts +4 -4
  83. package/chains/definitions/linea.ts +3 -3
  84. package/chains/definitions/mantle.ts +4 -4
  85. package/chains/definitions/metis.ts +5 -3
  86. package/chains/definitions/moonbeam.ts +4 -4
  87. package/chains/definitions/moonriver.ts +4 -4
  88. package/chains/definitions/optimism.ts +4 -4
  89. package/chains/definitions/polygonPos.ts +4 -4
  90. package/chains/definitions/ronin.ts +3 -3
  91. package/chains/externals/defillama/constants.ts +1 -1
  92. package/package.json +2 -2
  93. package/utils/create.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"metis.d.ts","sourceRoot":"","sources":["../../../chains/definitions/metis.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAI/C,KAAK,0BAA0B,CAC7B,OAAO,SAAS,MAAM,EACtB,SAAS,SAAS,QAAQ,IACxB;IACF,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;CAsB/B,CAAA;AAEJ,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;EAmBa,CAAA;AAEvC,eAAO,MAAM,qBAAqB,0CAA2C,CAAA"}
1
+ {"version":3,"file":"metis.d.ts","sourceRoot":"","sources":["../../../chains/definitions/metis.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAGvC,KAAK,0BAA0B,CAC7B,OAAO,SAAS,MAAM,EACtB,SAAS,SAAS,QAAQ,IACxB;IACF,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;CAsB/B,CAAA;AAEJ,eAAO,MAAM,aAAa,EAAE,SAAS,OAAO,EAmB3C,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,SAAS,MAAM,EAElD,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import type { Client } from '../../clients';
2
2
  import type { Explorer } from '../../explorers';
3
- import type { Chain } from '../types';
3
+ import type { Chain, HttpRpc } from '../types';
4
4
  export declare const createMoonbeamChain: (moonscanApiKey: string) => Chain;
5
5
  type CreateMoonbeamChainParameters<TClient extends Client, TExplorer extends Explorer> = {
6
6
  readonly client: TClient;
@@ -33,52 +33,7 @@ export declare const createMoonbeamChainCustom: <const TClient extends Client, c
33
33
  readonly coingeckoId: "moonbeam";
34
34
  readonly defillamaId: "moonbeam";
35
35
  };
36
- export declare const moonbeamHttpRpcs: readonly [{
37
- readonly url: "https://rpc.api.moonbeam.network";
38
- readonly isArchive: true;
39
- readonly getLogsIsUsable: true;
40
- readonly getLogsMaxBlockRange: 10000n;
41
- }, {
42
- readonly url: "https://moonbeam.api.onfinality.io/public";
43
- readonly isArchive: true;
44
- readonly getLogsIsUsable: true;
45
- readonly getLogsMaxBlockRange: 2048n;
46
- }, {
47
- readonly url: "https://moonbeam.unitedbloc.com:3000";
48
- readonly isArchive: true;
49
- readonly getLogsIsUsable: true;
50
- readonly getLogsMaxBlockRange: 10000n;
51
- }, {
52
- readonly url: "https://moonbeam.public.blastapi.io";
53
- readonly isArchive: true;
54
- readonly getLogsIsUsable: false;
55
- readonly getLogsMaxBlockRange: 0n;
56
- }, {
57
- readonly url: "https://rpc.ankr.com/moonbeam";
58
- readonly isArchive: true;
59
- readonly getLogsIsUsable: true;
60
- readonly getLogsMaxBlockRange: 2048n;
61
- }, {
62
- readonly url: "https://1rpc.io/glmr";
63
- readonly isArchive: false;
64
- readonly getLogsIsUsable: false;
65
- readonly getLogsMaxBlockRange: 0n;
66
- }, {
67
- readonly url: "https://moonbeam-rpc.dwellir.com";
68
- readonly isArchive: true;
69
- readonly getLogsIsUsable: true;
70
- readonly getLogsMaxBlockRange: 10000n;
71
- }, {
72
- readonly url: "https://endpoints.omniatech.io/v1/moonbeam/mainnet/public";
73
- readonly isArchive: true;
74
- readonly getLogsIsUsable: true;
75
- readonly getLogsMaxBlockRange: 2048n;
76
- }, {
77
- readonly url: "https://moonbeam-rpc.publicnode.com";
78
- readonly isArchive: false;
79
- readonly getLogsIsUsable: false;
80
- readonly getLogsMaxBlockRange: 0n;
81
- }];
82
- export declare const moonbeamWebsocketRpcUrls: readonly ["wss://moonbeam.api.onfinality.io/public-ws", "wss://moonbeam-rpc.dwellir.com", "wss://moonbeam-rpc.publicnode.com"];
36
+ export declare const moonbeamHttpRpcs: readonly HttpRpc[];
37
+ export declare const moonbeamWebsocketRpcUrls: readonly string[];
83
38
  export {};
84
39
  //# sourceMappingURL=moonbeam.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"moonbeam.d.ts","sourceRoot":"","sources":["../../../chains/definitions/moonbeam.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,KAAK,EAAW,MAAM,UAAU,CAAA;AAG9C,eAAO,MAAM,mBAAmB,mBAAoB,MAAM,KAAG,KAYzD,CAAA;AAEJ,KAAK,6BAA6B,CAChC,OAAO,SAAS,MAAM,EACtB,SAAS,SAAS,QAAQ,IACxB;IACF,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBlC,CAAA;AAEJ,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuDU,CAAA;AAEvC,eAAO,MAAM,wBAAwB,gIAI3B,CAAA"}
1
+ {"version":3,"file":"moonbeam.d.ts","sourceRoot":"","sources":["../../../chains/definitions/moonbeam.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAG9C,eAAO,MAAM,mBAAmB,mBAAoB,MAAM,KAAG,KAYzD,CAAA;AAEJ,KAAK,6BAA6B,CAChC,OAAO,SAAS,MAAM,EACtB,SAAS,SAAS,QAAQ,IACxB;IACF,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBlC,CAAA;AAEJ,eAAO,MAAM,gBAAgB,EAAE,SAAS,OAAO,EAuD9C,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,SAAS,MAAM,EAIrD,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import type { Client } from '../../clients';
2
2
  import type { Explorer } from '../../explorers';
3
- import type { Chain } from '../types';
3
+ import type { Chain, HttpRpc } from '../types';
4
4
  export declare const createMoonriverChain: (moonscanApiKey: string) => Chain;
5
5
  type CreateMoonriverChainParameters<TClient extends Client, TExplorer extends Explorer> = {
6
6
  readonly client: TClient;
@@ -33,32 +33,7 @@ export declare const createMoonriverChainCustom: <const TClient extends Client,
33
33
  readonly coingeckoId: "moonriver";
34
34
  readonly defillamaId: "moonriver";
35
35
  };
36
- export declare const moonriverHttpRpcs: readonly [{
37
- readonly url: "https://moonriver.api.onfinality.io/public";
38
- readonly isArchive: true;
39
- readonly getLogsIsUsable: true;
40
- readonly getLogsMaxBlockRange: 10000n;
41
- }, {
42
- readonly url: "https://moonriver.unitedbloc.com:2000";
43
- readonly isArchive: true;
44
- readonly getLogsIsUsable: true;
45
- readonly getLogsMaxBlockRange: 10000n;
46
- }, {
47
- readonly url: "https://moonriver.public.blastapi.io";
48
- readonly isArchive: true;
49
- readonly getLogsIsUsable: false;
50
- readonly getLogsMaxBlockRange: 0n;
51
- }, {
52
- readonly url: "https://moonriver-rpc.dwellir.com";
53
- readonly isArchive: true;
54
- readonly getLogsIsUsable: true;
55
- readonly getLogsMaxBlockRange: 10000n;
56
- }, {
57
- readonly url: "https://moonriver-rpc.publicnode.com";
58
- readonly isArchive: false;
59
- readonly getLogsIsUsable: false;
60
- readonly getLogsMaxBlockRange: 0n;
61
- }];
62
- export declare const moonriverWebsocketRpcUrls: readonly ["wss://moonriver.api.onfinality.io/public-ws", "wss://moonriver.unitedbloc.com:2001", "wss://moonriver-rpc.dwellir.com", "wss://moonriver-rpc.publicnode.com"];
36
+ export declare const moonriverHttpRpcs: readonly HttpRpc[];
37
+ export declare const moonriverWebsocketRpcUrls: readonly string[];
63
38
  export {};
64
39
  //# sourceMappingURL=moonriver.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"moonriver.d.ts","sourceRoot":"","sources":["../../../chains/definitions/moonriver.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,KAAK,EAAW,MAAM,UAAU,CAAA;AAG9C,eAAO,MAAM,oBAAoB,mBAAoB,MAAM,KAAG,KAY1D,CAAA;AAEJ,KAAK,8BAA8B,CACjC,OAAO,SAAS,MAAM,EACtB,SAAS,SAAS,QAAQ,IACxB;IACF,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBnC,CAAA;AAEJ,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;EA+BS,CAAA;AAEvC,eAAO,MAAM,yBAAyB,0KAK5B,CAAA"}
1
+ {"version":3,"file":"moonriver.d.ts","sourceRoot":"","sources":["../../../chains/definitions/moonriver.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAG9C,eAAO,MAAM,oBAAoB,mBAAoB,MAAM,KAAG,KAY1D,CAAA;AAEJ,KAAK,8BAA8B,CACjC,OAAO,SAAS,MAAM,EACtB,SAAS,SAAS,QAAQ,IACxB;IACF,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBnC,CAAA;AAEJ,eAAO,MAAM,iBAAiB,EAAE,SAAS,OAAO,EA+B/C,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,SAAS,MAAM,EAKtD,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import type { Client } from '../../clients';
2
2
  import type { Explorer } from '../../explorers';
3
- import type { Chain } from '../types';
3
+ import type { Chain, HttpRpc } from '../types';
4
4
  export declare const createOptimismChain: (opscanApiKey: string) => Chain;
5
5
  type CreateOptimismChainParameters<TClient extends Client, TExplorer extends Explorer> = {
6
6
  readonly client: TClient;
@@ -33,72 +33,7 @@ export declare const createOptimismChainCustom: <const TClient extends Client, c
33
33
  readonly coingeckoId: "optimistic-ethereum";
34
34
  readonly defillamaId: "optimism";
35
35
  };
36
- export declare const optimismHttpRpcs: readonly [{
37
- readonly url: "https://mainnet.optimism.io/";
38
- readonly isArchive: true;
39
- readonly getLogsIsUsable: true;
40
- readonly getLogsMaxBlockRange: 10000n;
41
- }, {
42
- readonly url: "https://rpc.ankr.com/optimism";
43
- readonly isArchive: true;
44
- readonly getLogsIsUsable: true;
45
- readonly getLogsMaxBlockRange: 3000n;
46
- }, {
47
- readonly url: "https://1rpc.io/op";
48
- readonly isArchive: true;
49
- readonly getLogsIsUsable: true;
50
- readonly getLogsMaxBlockRange: 10000n;
51
- }, {
52
- readonly url: "https://op-pokt.nodies.app";
53
- readonly isArchive: true;
54
- readonly getLogsIsUsable: true;
55
- readonly getLogsMaxBlockRange: 40000n;
56
- }, {
57
- readonly url: "https://optimism.blockpi.network/v1/rpc/public";
58
- readonly isArchive: true;
59
- readonly getLogsIsUsable: true;
60
- readonly getLogsMaxBlockRange: 1024n;
61
- }, {
62
- readonly url: "https://endpoints.omniatech.io/v1/op/mainnet/public";
63
- readonly isArchive: true;
64
- readonly getLogsIsUsable: true;
65
- readonly getLogsMaxBlockRange: 3000n;
66
- }, {
67
- readonly url: "https://optimism.api.onfinality.io/public";
68
- readonly isArchive: true;
69
- readonly getLogsIsUsable: true;
70
- readonly getLogsMaxBlockRange: 2000n;
71
- }, {
72
- readonly url: "https://rpc.optimism.gateway.fm";
73
- readonly isArchive: true;
74
- readonly getLogsIsUsable: true;
75
- readonly getLogsMaxBlockRange: 4000n;
76
- }, {
77
- readonly url: "https://optimism.publicnode.com";
78
- readonly isArchive: true;
79
- readonly getLogsIsUsable: true;
80
- readonly getLogsMaxBlockRange: 10000n;
81
- }, {
82
- readonly url: "https://optimism.meowrpc.com";
83
- readonly isArchive: false;
84
- readonly getLogsIsUsable: false;
85
- readonly getLogsMaxBlockRange: 0n;
86
- }, {
87
- readonly url: "https://optimism.drpc.org";
88
- readonly isArchive: true;
89
- readonly getLogsIsUsable: true;
90
- readonly getLogsMaxBlockRange: 20000n;
91
- }, {
92
- readonly url: "https://optimism.gateway.tenderly.co";
93
- readonly isArchive: true;
94
- readonly getLogsIsUsable: true;
95
- readonly getLogsMaxBlockRange: 40000n;
96
- }, {
97
- readonly url: "https://gateway.tenderly.co/public/optimism";
98
- readonly isArchive: true;
99
- readonly getLogsIsUsable: true;
100
- readonly getLogsMaxBlockRange: 40000n;
101
- }];
102
- export declare const optimismWebsocketRpcUrls: readonly ["wss://optimism.publicnode.com"];
36
+ export declare const optimismHttpRpcs: readonly HttpRpc[];
37
+ export declare const optimismWebsocketRpcUrls: readonly string[];
103
38
  export {};
104
39
  //# sourceMappingURL=optimism.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"optimism.d.ts","sourceRoot":"","sources":["../../../chains/definitions/optimism.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,KAAK,EAAW,MAAM,UAAU,CAAA;AAG9C,eAAO,MAAM,mBAAmB,iBAAkB,MAAM,KAAG,KAYvD,CAAA;AAEJ,KAAK,6BAA6B,CAChC,OAAO,SAAS,MAAM,EACtB,SAAS,SAAS,QAAQ,IACxB;IACF,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBlC,CAAA;AAEJ,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+EU,CAAA;AAEvC,eAAO,MAAM,wBAAwB,4CAE3B,CAAA"}
1
+ {"version":3,"file":"optimism.d.ts","sourceRoot":"","sources":["../../../chains/definitions/optimism.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAG9C,eAAO,MAAM,mBAAmB,iBAAkB,MAAM,KAAG,KAYvD,CAAA;AAEJ,KAAK,6BAA6B,CAChC,OAAO,SAAS,MAAM,EACtB,SAAS,SAAS,QAAQ,IACxB;IACF,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBlC,CAAA;AAEJ,eAAO,MAAM,gBAAgB,EAAE,SAAS,OAAO,EA+E9C,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,SAAS,MAAM,EAErD,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import type { Client } from '../../clients';
2
2
  import type { Explorer } from '../../explorers';
3
- import type { Chain } from '../types';
3
+ import type { Chain, HttpRpc } from '../types';
4
4
  export declare const createPolygonPosChain: (polygonscanApiKey: string) => Chain;
5
5
  type CreatePolygonPosChainParameters<TClient extends Client, TExplorer extends Explorer> = {
6
6
  readonly client: TClient;
@@ -33,52 +33,7 @@ export declare const createPolygonPosChainCustom: <const TClient extends Client,
33
33
  readonly coingeckoId: "polygon-pos";
34
34
  readonly defillamaId: "polygon";
35
35
  };
36
- export declare const polygonPosHttpRpcs: readonly [{
37
- readonly url: "https://rpc-mainnet.maticvigil.com";
38
- readonly isArchive: true;
39
- readonly getLogsIsUsable: true;
40
- readonly getLogsMaxBlockRange: 1000n;
41
- }, {
42
- readonly url: "https://endpoints.omniatech.io/v1/matic/mainnet/public";
43
- readonly isArchive: true;
44
- readonly getLogsIsUsable: true;
45
- readonly getLogsMaxBlockRange: 10000n;
46
- }, {
47
- readonly url: "https://rpc-mainnet.matic.quiknode.pro";
48
- readonly isArchive: true;
49
- readonly getLogsIsUsable: true;
50
- readonly getLogsMaxBlockRange: 10000n;
51
- }, {
52
- readonly url: "https://rpc.ankr.com/polygon";
53
- readonly isArchive: true;
54
- readonly getLogsIsUsable: true;
55
- readonly getLogsMaxBlockRange: 3000n;
56
- }, {
57
- readonly url: "https://1rpc.io/matic";
58
- readonly isArchive: true;
59
- readonly getLogsIsUsable: true;
60
- readonly getLogsMaxBlockRange: 10000n;
61
- }, {
62
- readonly url: "https://polygon.blockpi.network/v1/rpc/public";
63
- readonly isArchive: true;
64
- readonly getLogsIsUsable: true;
65
- readonly getLogsMaxBlockRange: 1024n;
66
- }, {
67
- readonly url: "https://polygon.api.onfinality.io/public";
68
- readonly isArchive: true;
69
- readonly getLogsIsUsable: true;
70
- readonly getLogsMaxBlockRange: 2000n;
71
- }, {
72
- readonly url: "https://polygon.gateway.tenderly.co";
73
- readonly isArchive: true;
74
- readonly getLogsIsUsable: true;
75
- readonly getLogsMaxBlockRange: 20000n;
76
- }, {
77
- readonly url: "https://gateway.tenderly.co/public/polygon";
78
- readonly isArchive: true;
79
- readonly getLogsIsUsable: true;
80
- readonly getLogsMaxBlockRange: 20000n;
81
- }];
82
- export declare const polygonPosWebsocketRpcUrls: readonly ["wss://polygon-bor.publicnode.com"];
36
+ export declare const polygonPosHttpRpcs: readonly HttpRpc[];
37
+ export declare const polygonPosWebsocketRpcUrls: readonly string[];
83
38
  export {};
84
39
  //# sourceMappingURL=polygonPos.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"polygonPos.d.ts","sourceRoot":"","sources":["../../../chains/definitions/polygonPos.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,KAAK,EAAW,MAAM,UAAU,CAAA;AAG9C,eAAO,MAAM,qBAAqB,sBAAuB,MAAM,KAAG,KAY9D,CAAA;AAEJ,KAAK,+BAA+B,CAClC,OAAO,SAAS,MAAM,EACtB,SAAS,SAAS,QAAQ,IACxB;IACF,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBpC,CAAA;AAEJ,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6DQ,CAAA;AAEvC,eAAO,MAAM,0BAA0B,+CAE7B,CAAA"}
1
+ {"version":3,"file":"polygonPos.d.ts","sourceRoot":"","sources":["../../../chains/definitions/polygonPos.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAG9C,eAAO,MAAM,qBAAqB,sBAAuB,MAAM,KAAG,KAY9D,CAAA;AAEJ,KAAK,+BAA+B,CAClC,OAAO,SAAS,MAAM,EACtB,SAAS,SAAS,QAAQ,IACxB;IACF,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBpC,CAAA;AAEJ,eAAO,MAAM,kBAAkB,EAAE,SAAS,OAAO,EA6DhD,CAAA;AAED,eAAO,MAAM,0BAA0B,EAAE,SAAS,MAAM,EAEvD,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import type { Client } from '../../clients';
2
2
  import type { Explorer } from '../../explorers';
3
- import type { Chain } from '../types';
3
+ import type { Chain, HttpRpc } from '../types';
4
4
  type CreateRoninChainParameters<TClient extends Client, TExplorer extends Explorer> = {
5
5
  readonly client: TClient;
6
6
  readonly explorer: TExplorer;
@@ -33,17 +33,7 @@ export declare const createRoninChainCustom: <const TClient extends Client, cons
33
33
  readonly coingeckoId: "ronin";
34
34
  readonly defillamaId: "ronin";
35
35
  };
36
- export declare const roninHttpRpcs: readonly [{
37
- readonly url: "https://api.roninchain.com/rpc";
38
- readonly isArchive: true;
39
- readonly getLogsIsUsable: true;
40
- readonly getLogsMaxBlockRange: 200n;
41
- }, {
42
- readonly url: "https://ronin.lgns.net/rpc";
43
- readonly isArchive: false;
44
- readonly getLogsIsUsable: true;
45
- readonly getLogsMaxBlockRange: 20000n;
46
- }];
47
- export declare const roninWebsocketRpcUrls: readonly [];
36
+ export declare const roninHttpRpcs: readonly HttpRpc[];
37
+ export declare const roninWebsocketRpcUrls: readonly string[];
48
38
  export {};
49
39
  //# sourceMappingURL=ronin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ronin.d.ts","sourceRoot":"","sources":["../../../chains/definitions/ronin.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,KAAK,EAAW,MAAM,UAAU,CAAA;AAG9C,KAAK,0BAA0B,CAC7B,OAAO,SAAS,MAAM,EACtB,SAAS,SAAS,QAAQ,IACxB;IACF,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,gBAAgB,mBACX,MAAM,kBACN,MAAM,KACrB,KAaC,CAAA;AAEJ,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;CAsB/B,CAAA;AAEJ,eAAO,MAAM,aAAa;;;;;;;;;;EAaa,CAAA;AAEvC,eAAO,MAAM,qBAAqB,aAAc,CAAA"}
1
+ {"version":3,"file":"ronin.d.ts","sourceRoot":"","sources":["../../../chains/definitions/ronin.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAG9C,KAAK,0BAA0B,CAC7B,OAAO,SAAS,MAAM,EACtB,SAAS,SAAS,QAAQ,IACxB;IACF,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,gBAAgB,mBACX,MAAM,kBACN,MAAM,KACrB,KAaC,CAAA;AAEJ,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;CAsB/B,CAAA;AAEJ,eAAO,MAAM,aAAa,EAAE,SAAS,OAAO,EAa3C,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,SAAS,MAAM,EAAO,CAAA"}
@@ -1,2 +1,2 @@
1
- export declare const baseCoinsUrl: "https://coins.llama.fi";
1
+ export declare const baseCoinsUrl = "https://coins.llama.fi";
2
2
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../chains/externals/defillama/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,0BAAoC,CAAA"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../chains/externals/defillama/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,2BAA2B,CAAA"}
@@ -53,7 +53,7 @@ export const createArbitrumOneChainCustom = <
53
53
  defillamaId: 'arbitrum',
54
54
  })
55
55
 
56
- export const arbitrumOneHttpRpcs = [
56
+ export const arbitrumOneHttpRpcs: readonly HttpRpc[] = [
57
57
  {
58
58
  url: 'https://arbitrum.llamarpc.com',
59
59
  isArchive: true,
@@ -126,8 +126,8 @@ export const arbitrumOneHttpRpcs = [
126
126
  getLogsIsUsable: true,
127
127
  getLogsMaxBlockRange: 40_000n,
128
128
  },
129
- ] as const satisfies readonly HttpRpc[]
129
+ ]
130
130
 
131
- export const arbitrumOneWebsocketRpcUrls = [
131
+ export const arbitrumOneWebsocketRpcUrls: readonly string[] = [
132
132
  'wss://arbitrum-one.publicnode.com',
133
- ] as const
133
+ ]
@@ -52,7 +52,7 @@ export const createAstarChainCustom = <
52
52
  defillamaId: 'astar',
53
53
  })
54
54
 
55
- export const astarHttpRpcs = [
55
+ export const astarHttpRpcs: readonly HttpRpc[] = [
56
56
  {
57
57
  url: 'https://evm.astar.network/',
58
58
  isArchive: true,
@@ -83,11 +83,11 @@ export const astarHttpRpcs = [
83
83
  getLogsIsUsable: false,
84
84
  getLogsMaxBlockRange: 0n,
85
85
  },
86
- ] as const satisfies readonly HttpRpc[]
86
+ ]
87
87
 
88
- export const astarWebsocketRpcUrls = [
88
+ export const astarWebsocketRpcUrls: readonly string[] = [
89
89
  'wss://rpc.astar.network',
90
90
  'wss://astar.public.blastapi.io',
91
91
  'wss://astar.api.onfinality.io/public-ws',
92
92
  'wss://astar-rpc.dwellir.com',
93
- ] as const
93
+ ]
@@ -53,7 +53,7 @@ export const createAvalancheCChainCustom = <
53
53
  defillamaId: 'avax',
54
54
  })
55
55
 
56
- export const avalancheCHttpRpcs = [
56
+ export const avalancheCHttpRpcs: readonly HttpRpc[] = [
57
57
  {
58
58
  url: 'https://api.avax.network/ext/bc/C/rpc',
59
59
  isArchive: true,
@@ -108,8 +108,8 @@ export const avalancheCHttpRpcs = [
108
108
  getLogsIsUsable: true,
109
109
  getLogsMaxBlockRange: 2048n,
110
110
  },
111
- ] as const satisfies readonly HttpRpc[]
111
+ ]
112
112
 
113
- export const avalancheCWebsocketRpcUrls = [
113
+ export const avalancheCWebsocketRpcUrls: readonly string[] = [
114
114
  'wss://avalanche-c-chain.publicnode.com',
115
- ] as const
115
+ ]
@@ -53,7 +53,7 @@ export const createBaseChainCustom = <
53
53
  defillamaId: 'base',
54
54
  })
55
55
 
56
- export const baseHttpRpcs = [
56
+ export const baseHttpRpcs: readonly HttpRpc[] = [
57
57
  {
58
58
  url: 'https://mainnet.base.org',
59
59
  isArchive: true,
@@ -120,6 +120,8 @@ export const baseHttpRpcs = [
120
120
  getLogsIsUsable: false,
121
121
  getLogsMaxBlockRange: 0n,
122
122
  },
123
- ] as const satisfies readonly HttpRpc[]
123
+ ]
124
124
 
125
- export const baseWebsocketRpcUrls = ['wss://base.publicnode.com'] as const
125
+ export const baseWebsocketRpcUrls: readonly string[] = [
126
+ 'wss://base.publicnode.com',
127
+ ]
@@ -50,7 +50,7 @@ export const createBscChainCustom = <
50
50
  defillamaId: 'bsc',
51
51
  })
52
52
 
53
- export const bscHttpRpcs = [
53
+ export const bscHttpRpcs: readonly HttpRpc[] = [
54
54
  {
55
55
  url: 'https://bsc-dataseed.bnbchain.org/',
56
56
  isArchive: true,
@@ -177,6 +177,8 @@ export const bscHttpRpcs = [
177
177
  getLogsIsUsable: true,
178
178
  getLogsMaxBlockRange: 5000n,
179
179
  },
180
- ] as const satisfies readonly HttpRpc[]
180
+ ]
181
181
 
182
- export const bscWebsocketRpcUrls = ['wss://bsc.publicnode.com'] as const
182
+ export const bscWebsocketRpcUrls: readonly string[] = [
183
+ 'wss://bsc.publicnode.com',
184
+ ]
@@ -53,7 +53,7 @@ export const createEthereumChainCustom = <
53
53
  defillamaId: 'ethereum',
54
54
  })
55
55
 
56
- export const ethereumHttpRpcs = [
56
+ export const ethereumHttpRpcs: readonly HttpRpc[] = [
57
57
  {
58
58
  url: 'https://endpoints.omniatech.io/v1/eth/mainnet/public',
59
59
  isArchive: true,
@@ -162,8 +162,8 @@ export const ethereumHttpRpcs = [
162
162
  getLogsIsUsable: true,
163
163
  getLogsMaxBlockRange: 20_000n,
164
164
  },
165
- ] as const satisfies readonly HttpRpc[]
165
+ ]
166
166
 
167
- export const ethereumWebsocketRpcUrls = [
167
+ export const ethereumWebsocketRpcUrls: readonly string[] = [
168
168
  'wss://ethereum.publicnode.com',
169
- ] as const
169
+ ]
@@ -53,7 +53,7 @@ export const createFantomChainCustom = <
53
53
  defillamaId: 'fantom',
54
54
  })
55
55
 
56
- export const fantomHttpRpcs = [
56
+ export const fantomHttpRpcs: readonly HttpRpc[] = [
57
57
  {
58
58
  url: 'https://rpc.ankr.com/fantom/',
59
59
  isArchive: true,
@@ -114,10 +114,10 @@ export const fantomHttpRpcs = [
114
114
  getLogsIsUsable: true,
115
115
  getLogsMaxBlockRange: 50_000n,
116
116
  },
117
- ] as const satisfies readonly HttpRpc[]
117
+ ]
118
118
 
119
- export const fantomWebsocketRpcUrls = [
119
+ export const fantomWebsocketRpcUrls: readonly string[] = [
120
120
  'wss://wsapi.fantom.network/',
121
121
  'wss://fantom-mainnet.public.blastapi.io/',
122
122
  'wss://fantom.publicnode.com',
123
- ] as const
123
+ ]
@@ -53,7 +53,7 @@ export const createLineaChainCustom = <
53
53
  defillamaId: 'linea',
54
54
  })
55
55
 
56
- export const lineaHttpRpcs = [
56
+ export const lineaHttpRpcs: readonly HttpRpc[] = [
57
57
  {
58
58
  url: 'https://linea.blockpi.network/v1/rpc/public',
59
59
  isArchive: true,
@@ -90,6 +90,6 @@ export const lineaHttpRpcs = [
90
90
  getLogsIsUsable: true,
91
91
  getLogsMaxBlockRange: 20_000n,
92
92
  },
93
- ] as const satisfies readonly HttpRpc[]
93
+ ]
94
94
 
95
- export const lineaWebsocketRpcUrls = [] as const
95
+ export const lineaWebsocketRpcUrls: readonly string[] = []
@@ -36,7 +36,7 @@ export const createMantleChainCustom = <
36
36
  defillamaId: 'mantle',
37
37
  })
38
38
 
39
- export const mantleHttpRpcs = [
39
+ export const mantleHttpRpcs: readonly HttpRpc[] = [
40
40
  {
41
41
  url: 'https://rpc.ankr.com/mantle',
42
42
  isArchive: true,
@@ -67,9 +67,9 @@ export const mantleHttpRpcs = [
67
67
  getLogsIsUsable: false,
68
68
  getLogsMaxBlockRange: 0n,
69
69
  },
70
- ] as const satisfies readonly HttpRpc[]
70
+ ]
71
71
 
72
- export const mantleWebsocketRpcUrls = [
72
+ export const mantleWebsocketRpcUrls: readonly string[] = [
73
73
  'wss://wss.mantle.xyz',
74
74
  'wss://mantle.publicnode.com',
75
- ] as const
75
+ ]
@@ -36,7 +36,7 @@ export const createMetisChainCustom = <
36
36
  defillamaId: 'metis',
37
37
  })
38
38
 
39
- export const metisHttpRpcs = [
39
+ export const metisHttpRpcs: readonly HttpRpc[] = [
40
40
  {
41
41
  url: 'https://andromeda.metis.io/?owner=1088',
42
42
  isArchive: true,
@@ -55,6 +55,8 @@ export const metisHttpRpcs = [
55
55
  getLogsIsUsable: true,
56
56
  getLogsMaxBlockRange: 80_000n,
57
57
  },
58
- ] as const satisfies readonly HttpRpc[]
58
+ ]
59
59
 
60
- export const metisWebsocketRpcUrls = ['wss://andromeda-ws.metis.io'] as const
60
+ export const metisWebsocketRpcUrls: readonly string[] = [
61
+ 'wss://andromeda-ws.metis.io',
62
+ ]
@@ -53,7 +53,7 @@ export const createMoonbeamChainCustom = <
53
53
  defillamaId: 'moonbeam',
54
54
  })
55
55
 
56
- export const moonbeamHttpRpcs = [
56
+ export const moonbeamHttpRpcs: readonly HttpRpc[] = [
57
57
  {
58
58
  url: 'https://rpc.api.moonbeam.network',
59
59
  isArchive: true,
@@ -108,10 +108,10 @@ export const moonbeamHttpRpcs = [
108
108
  getLogsIsUsable: false,
109
109
  getLogsMaxBlockRange: 0n,
110
110
  },
111
- ] as const satisfies readonly HttpRpc[]
111
+ ]
112
112
 
113
- export const moonbeamWebsocketRpcUrls = [
113
+ export const moonbeamWebsocketRpcUrls: readonly string[] = [
114
114
  'wss://moonbeam.api.onfinality.io/public-ws',
115
115
  'wss://moonbeam-rpc.dwellir.com',
116
116
  'wss://moonbeam-rpc.publicnode.com',
117
- ] as const
117
+ ]
@@ -53,7 +53,7 @@ export const createMoonriverChainCustom = <
53
53
  defillamaId: 'moonriver',
54
54
  })
55
55
 
56
- export const moonriverHttpRpcs = [
56
+ export const moonriverHttpRpcs: readonly HttpRpc[] = [
57
57
  {
58
58
  url: 'https://moonriver.api.onfinality.io/public',
59
59
  isArchive: true,
@@ -84,11 +84,11 @@ export const moonriverHttpRpcs = [
84
84
  getLogsIsUsable: false,
85
85
  getLogsMaxBlockRange: 0n,
86
86
  },
87
- ] as const satisfies readonly HttpRpc[]
87
+ ]
88
88
 
89
- export const moonriverWebsocketRpcUrls = [
89
+ export const moonriverWebsocketRpcUrls: readonly string[] = [
90
90
  'wss://moonriver.api.onfinality.io/public-ws',
91
91
  'wss://moonriver.unitedbloc.com:2001',
92
92
  'wss://moonriver-rpc.dwellir.com',
93
93
  'wss://moonriver-rpc.publicnode.com',
94
- ] as const
94
+ ]
@@ -53,7 +53,7 @@ export const createOptimismChainCustom = <
53
53
  defillamaId: 'optimism',
54
54
  })
55
55
 
56
- export const optimismHttpRpcs = [
56
+ export const optimismHttpRpcs: readonly HttpRpc[] = [
57
57
  {
58
58
  url: 'https://mainnet.optimism.io/',
59
59
  isArchive: true,
@@ -132,8 +132,8 @@ export const optimismHttpRpcs = [
132
132
  getLogsIsUsable: true,
133
133
  getLogsMaxBlockRange: 40_000n,
134
134
  },
135
- ] as const satisfies readonly HttpRpc[]
135
+ ]
136
136
 
137
- export const optimismWebsocketRpcUrls = [
137
+ export const optimismWebsocketRpcUrls: readonly string[] = [
138
138
  'wss://optimism.publicnode.com',
139
- ] as const
139
+ ]
@@ -53,7 +53,7 @@ export const createPolygonPosChainCustom = <
53
53
  defillamaId: 'polygon',
54
54
  })
55
55
 
56
- export const polygonPosHttpRpcs = [
56
+ export const polygonPosHttpRpcs: readonly HttpRpc[] = [
57
57
  {
58
58
  url: 'https://rpc-mainnet.maticvigil.com',
59
59
  isArchive: true,
@@ -114,8 +114,8 @@ export const polygonPosHttpRpcs = [
114
114
  getLogsIsUsable: true,
115
115
  getLogsMaxBlockRange: 20_000n,
116
116
  },
117
- ] as const satisfies readonly HttpRpc[]
117
+ ]
118
118
 
119
- export const polygonPosWebsocketRpcUrls = [
119
+ export const polygonPosWebsocketRpcUrls: readonly string[] = [
120
120
  'wss://polygon-bor.publicnode.com',
121
- ] as const
121
+ ]