@continuumdao/continuum-node-sdk 1.3.42 → 1.3.44

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 (53) hide show
  1. package/dist/agent-host-catalog.json +211 -6
  2. package/dist/config/mpa-wallet.d.ts +94 -15
  3. package/dist/config/mpa-wallet.d.ts.map +1 -1
  4. package/dist/config/mpa-wallet.js +56 -12
  5. package/dist/config/mpa-wallet.js.map +1 -1
  6. package/dist/core/mpc/mpa-authority-vectm-read.d.ts +84 -84
  7. package/dist/core/mpc/mpa-fee-status.d.ts +1 -1
  8. package/dist/core/mpc/mpa-fee-status.d.ts.map +1 -1
  9. package/dist/core/mpc/mpa-fee-status.js +5 -20
  10. package/dist/core/mpc/mpa-fee-status.js.map +1 -1
  11. package/dist/core/node-database/database-backup.d.ts.map +1 -1
  12. package/dist/core/node-database/database-backup.js +5 -0
  13. package/dist/core/node-database/database-backup.js.map +1 -1
  14. package/dist/core/node-database/schemas.d.ts +3 -0
  15. package/dist/core/node-database/schemas.d.ts.map +1 -1
  16. package/dist/core/node-database/schemas.js +3 -0
  17. package/dist/core/node-database/schemas.js.map +1 -1
  18. package/dist/mcp/agent-host-catalog.d.ts.map +1 -1
  19. package/dist/mcp/agent-host-catalog.js +3 -0
  20. package/dist/mcp/agent-host-catalog.js.map +1 -1
  21. package/dist/mcp/deferred/discovery-tools.d.ts.map +1 -1
  22. package/dist/mcp/deferred/discovery-tools.js +2 -1
  23. package/dist/mcp/deferred/discovery-tools.js.map +1 -1
  24. package/dist/mcp/deferred/tool-group-map.d.ts.map +1 -1
  25. package/dist/mcp/deferred/tool-group-map.js +121 -3
  26. package/dist/mcp/deferred/tool-group-map.js.map +1 -1
  27. package/dist/mcp/defi/aerodrome-read-input.d.ts +10 -0
  28. package/dist/mcp/defi/aerodrome-read-input.d.ts.map +1 -0
  29. package/dist/mcp/defi/aerodrome-read-input.js +51 -0
  30. package/dist/mcp/defi/aerodrome-read-input.js.map +1 -0
  31. package/dist/mcp/defi/compound-v3-input.d.ts +6 -0
  32. package/dist/mcp/defi/compound-v3-input.d.ts.map +1 -0
  33. package/dist/mcp/defi/compound-v3-input.js +44 -0
  34. package/dist/mcp/defi/compound-v3-input.js.map +1 -0
  35. package/dist/mcp/defi/discovery.js +2 -2
  36. package/dist/mcp/defi/discovery.js.map +1 -1
  37. package/dist/mcp/defi/handler.d.ts.map +1 -1
  38. package/dist/mcp/defi/handler.js +16 -0
  39. package/dist/mcp/defi/handler.js.map +1 -1
  40. package/dist/mcp/defi/morpho-input.d.ts +2 -0
  41. package/dist/mcp/defi/morpho-input.d.ts.map +1 -1
  42. package/dist/mcp/defi/morpho-input.js +50 -1
  43. package/dist/mcp/defi/morpho-input.js.map +1 -1
  44. package/dist/mcp/defi/register-protocol-tools.d.ts.map +1 -1
  45. package/dist/mcp/defi/register-protocol-tools.js +10 -0
  46. package/dist/mcp/defi/register-protocol-tools.js.map +1 -1
  47. package/dist/mcp/docs/search-index.json +159 -15
  48. package/dist/mcp/mpc.js +1 -1
  49. package/dist/mcp/node-database.js +1 -1
  50. package/dist/mcp/node-database.js.map +1 -1
  51. package/dist/mcp/resources/mpc.md +1 -1
  52. package/dist/mcp/resources/node-database.md +1 -1
  53. package/package.json +2 -2
@@ -53,8 +53,8 @@ export declare function getMpaPublicClient(): {
53
53
  erc6492Verifier?: import("viem").ChainContract | undefined;
54
54
  } | undefined;
55
55
  ensTlds?: readonly string[] | undefined;
56
- id: 59141;
57
- name: "Linea Sepolia";
56
+ id: 59144;
57
+ name: "Linea";
58
58
  nativeCurrency: {
59
59
  readonly decimals: 18;
60
60
  readonly name: "Ether";
@@ -63,7 +63,7 @@ export declare function getMpaPublicClient(): {
63
63
  experimental_preconfirmationTime?: number | undefined | undefined;
64
64
  rpcUrls: {
65
65
  readonly default: {
66
- readonly http: readonly ["https://linea-sepolia-rpc.publicnode.com"];
66
+ readonly http: readonly ["https://linea-rpc.publicnode.com"];
67
67
  };
68
68
  };
69
69
  sourceId?: number | undefined | undefined;
@@ -120,8 +120,8 @@ export declare function getMpaPublicClient(): {
120
120
  erc6492Verifier?: import("viem").ChainContract | undefined;
121
121
  } | undefined;
122
122
  ensTlds?: readonly string[] | undefined;
123
- id: 59141;
124
- name: "Linea Sepolia";
123
+ id: 59144;
124
+ name: "Linea";
125
125
  nativeCurrency: {
126
126
  readonly decimals: 18;
127
127
  readonly name: "Ether";
@@ -130,7 +130,7 @@ export declare function getMpaPublicClient(): {
130
130
  experimental_preconfirmationTime?: number | undefined | undefined;
131
131
  rpcUrls: {
132
132
  readonly default: {
133
- readonly http: readonly ["https://linea-sepolia-rpc.publicnode.com"];
133
+ readonly http: readonly ["https://linea-rpc.publicnode.com"];
134
134
  };
135
135
  };
136
136
  sourceId?: number | undefined | undefined;
@@ -175,8 +175,8 @@ export declare function getMpaPublicClient(): {
175
175
  erc6492Verifier?: import("viem").ChainContract | undefined;
176
176
  } | undefined;
177
177
  ensTlds?: readonly string[] | undefined;
178
- id: 59141;
179
- name: "Linea Sepolia";
178
+ id: 59144;
179
+ name: "Linea";
180
180
  nativeCurrency: {
181
181
  readonly decimals: 18;
182
182
  readonly name: "Ether";
@@ -185,7 +185,7 @@ export declare function getMpaPublicClient(): {
185
185
  experimental_preconfirmationTime?: number | undefined | undefined;
186
186
  rpcUrls: {
187
187
  readonly default: {
188
- readonly http: readonly ["https://linea-sepolia-rpc.publicnode.com"];
188
+ readonly http: readonly ["https://linea-rpc.publicnode.com"];
189
189
  };
190
190
  };
191
191
  sourceId?: number | undefined | undefined;
@@ -238,8 +238,8 @@ export declare function getMpaPublicClient(): {
238
238
  erc6492Verifier?: import("viem").ChainContract | undefined;
239
239
  } | undefined;
240
240
  ensTlds?: readonly string[] | undefined;
241
- id: 59141;
242
- name: "Linea Sepolia";
241
+ id: 59144;
242
+ name: "Linea";
243
243
  nativeCurrency: {
244
244
  readonly decimals: 18;
245
245
  readonly name: "Ether";
@@ -248,7 +248,7 @@ export declare function getMpaPublicClient(): {
248
248
  experimental_preconfirmationTime?: number | undefined | undefined;
249
249
  rpcUrls: {
250
250
  readonly default: {
251
- readonly http: readonly ["https://linea-sepolia-rpc.publicnode.com"];
251
+ readonly http: readonly ["https://linea-rpc.publicnode.com"];
252
252
  };
253
253
  };
254
254
  sourceId?: number | undefined | undefined;
@@ -293,8 +293,8 @@ export declare function getMpaPublicClient(): {
293
293
  erc6492Verifier?: import("viem").ChainContract | undefined;
294
294
  } | undefined;
295
295
  ensTlds?: readonly string[] | undefined;
296
- id: 59141;
297
- name: "Linea Sepolia";
296
+ id: 59144;
297
+ name: "Linea";
298
298
  nativeCurrency: {
299
299
  readonly decimals: 18;
300
300
  readonly name: "Ether";
@@ -303,7 +303,7 @@ export declare function getMpaPublicClient(): {
303
303
  experimental_preconfirmationTime?: number | undefined | undefined;
304
304
  rpcUrls: {
305
305
  readonly default: {
306
- readonly http: readonly ["https://linea-sepolia-rpc.publicnode.com"];
306
+ readonly http: readonly ["https://linea-rpc.publicnode.com"];
307
307
  };
308
308
  };
309
309
  sourceId?: number | undefined | undefined;
@@ -347,8 +347,8 @@ export declare function getMpaPublicClient(): {
347
347
  erc6492Verifier?: import("viem").ChainContract | undefined;
348
348
  } | undefined;
349
349
  ensTlds?: readonly string[] | undefined;
350
- id: 59141;
351
- name: "Linea Sepolia";
350
+ id: 59144;
351
+ name: "Linea";
352
352
  nativeCurrency: {
353
353
  readonly decimals: 18;
354
354
  readonly name: "Ether";
@@ -357,7 +357,7 @@ export declare function getMpaPublicClient(): {
357
357
  experimental_preconfirmationTime?: number | undefined | undefined;
358
358
  rpcUrls: {
359
359
  readonly default: {
360
- readonly http: readonly ["https://linea-sepolia-rpc.publicnode.com"];
360
+ readonly http: readonly ["https://linea-rpc.publicnode.com"];
361
361
  };
362
362
  };
363
363
  sourceId?: number | undefined | undefined;
@@ -563,8 +563,8 @@ export declare function getMpaPublicClient(): {
563
563
  erc6492Verifier?: import("viem").ChainContract | undefined;
564
564
  } | undefined;
565
565
  ensTlds?: readonly string[] | undefined;
566
- id: 59141;
567
- name: "Linea Sepolia";
566
+ id: 59144;
567
+ name: "Linea";
568
568
  nativeCurrency: {
569
569
  readonly decimals: 18;
570
570
  readonly name: "Ether";
@@ -573,7 +573,7 @@ export declare function getMpaPublicClient(): {
573
573
  experimental_preconfirmationTime?: number | undefined | undefined;
574
574
  rpcUrls: {
575
575
  readonly default: {
576
- readonly http: readonly ["https://linea-sepolia-rpc.publicnode.com"];
576
+ readonly http: readonly ["https://linea-rpc.publicnode.com"];
577
577
  };
578
578
  };
579
579
  sourceId?: number | undefined | undefined;
@@ -632,8 +632,8 @@ export declare function getMpaPublicClient(): {
632
632
  erc6492Verifier?: import("viem").ChainContract | undefined;
633
633
  } | undefined;
634
634
  ensTlds?: readonly string[] | undefined;
635
- id: 59141;
636
- name: "Linea Sepolia";
635
+ id: 59144;
636
+ name: "Linea";
637
637
  nativeCurrency: {
638
638
  readonly decimals: 18;
639
639
  readonly name: "Ether";
@@ -642,7 +642,7 @@ export declare function getMpaPublicClient(): {
642
642
  experimental_preconfirmationTime?: number | undefined | undefined;
643
643
  rpcUrls: {
644
644
  readonly default: {
645
- readonly http: readonly ["https://linea-sepolia-rpc.publicnode.com"];
645
+ readonly http: readonly ["https://linea-rpc.publicnode.com"];
646
646
  };
647
647
  };
648
648
  sourceId?: number | undefined | undefined;
@@ -827,8 +827,8 @@ export declare function getMpaPublicClient(): {
827
827
  erc6492Verifier?: import("viem").ChainContract | undefined;
828
828
  } | undefined;
829
829
  ensTlds?: readonly string[] | undefined;
830
- id: 59141;
831
- name: "Linea Sepolia";
830
+ id: 59144;
831
+ name: "Linea";
832
832
  nativeCurrency: {
833
833
  readonly decimals: 18;
834
834
  readonly name: "Ether";
@@ -837,7 +837,7 @@ export declare function getMpaPublicClient(): {
837
837
  experimental_preconfirmationTime?: number | undefined | undefined;
838
838
  rpcUrls: {
839
839
  readonly default: {
840
- readonly http: readonly ["https://linea-sepolia-rpc.publicnode.com"];
840
+ readonly http: readonly ["https://linea-rpc.publicnode.com"];
841
841
  };
842
842
  };
843
843
  sourceId?: number | undefined | undefined;
@@ -885,8 +885,8 @@ export declare function getMpaPublicClient(): {
885
885
  erc6492Verifier?: import("viem").ChainContract | undefined;
886
886
  } | undefined;
887
887
  ensTlds?: readonly string[] | undefined;
888
- id: 59141;
889
- name: "Linea Sepolia";
888
+ id: 59144;
889
+ name: "Linea";
890
890
  nativeCurrency: {
891
891
  readonly decimals: 18;
892
892
  readonly name: "Ether";
@@ -895,7 +895,7 @@ export declare function getMpaPublicClient(): {
895
895
  experimental_preconfirmationTime?: number | undefined | undefined;
896
896
  rpcUrls: {
897
897
  readonly default: {
898
- readonly http: readonly ["https://linea-sepolia-rpc.publicnode.com"];
898
+ readonly http: readonly ["https://linea-rpc.publicnode.com"];
899
899
  };
900
900
  };
901
901
  sourceId?: number | undefined | undefined;
@@ -939,8 +939,8 @@ export declare function getMpaPublicClient(): {
939
939
  erc6492Verifier?: import("viem").ChainContract | undefined;
940
940
  } | undefined;
941
941
  ensTlds?: readonly string[] | undefined;
942
- id: 59141;
943
- name: "Linea Sepolia";
942
+ id: 59144;
943
+ name: "Linea";
944
944
  nativeCurrency: {
945
945
  readonly decimals: 18;
946
946
  readonly name: "Ether";
@@ -949,7 +949,7 @@ export declare function getMpaPublicClient(): {
949
949
  experimental_preconfirmationTime?: number | undefined | undefined;
950
950
  rpcUrls: {
951
951
  readonly default: {
952
- readonly http: readonly ["https://linea-sepolia-rpc.publicnode.com"];
952
+ readonly http: readonly ["https://linea-rpc.publicnode.com"];
953
953
  };
954
954
  };
955
955
  sourceId?: number | undefined | undefined;
@@ -993,8 +993,8 @@ export declare function getMpaPublicClient(): {
993
993
  erc6492Verifier?: import("viem").ChainContract | undefined;
994
994
  } | undefined;
995
995
  ensTlds?: readonly string[] | undefined;
996
- id: 59141;
997
- name: "Linea Sepolia";
996
+ id: 59144;
997
+ name: "Linea";
998
998
  nativeCurrency: {
999
999
  readonly decimals: 18;
1000
1000
  readonly name: "Ether";
@@ -1003,7 +1003,7 @@ export declare function getMpaPublicClient(): {
1003
1003
  experimental_preconfirmationTime?: number | undefined | undefined;
1004
1004
  rpcUrls: {
1005
1005
  readonly default: {
1006
- readonly http: readonly ["https://linea-sepolia-rpc.publicnode.com"];
1006
+ readonly http: readonly ["https://linea-rpc.publicnode.com"];
1007
1007
  };
1008
1008
  };
1009
1009
  sourceId?: number | undefined | undefined;
@@ -1047,8 +1047,8 @@ export declare function getMpaPublicClient(): {
1047
1047
  erc6492Verifier?: import("viem").ChainContract | undefined;
1048
1048
  } | undefined;
1049
1049
  ensTlds?: readonly string[] | undefined;
1050
- id: 59141;
1051
- name: "Linea Sepolia";
1050
+ id: 59144;
1051
+ name: "Linea";
1052
1052
  nativeCurrency: {
1053
1053
  readonly decimals: 18;
1054
1054
  readonly name: "Ether";
@@ -1057,7 +1057,7 @@ export declare function getMpaPublicClient(): {
1057
1057
  experimental_preconfirmationTime?: number | undefined | undefined;
1058
1058
  rpcUrls: {
1059
1059
  readonly default: {
1060
- readonly http: readonly ["https://linea-sepolia-rpc.publicnode.com"];
1060
+ readonly http: readonly ["https://linea-rpc.publicnode.com"];
1061
1061
  };
1062
1062
  };
1063
1063
  sourceId?: number | undefined | undefined;
@@ -1101,8 +1101,8 @@ export declare function getMpaPublicClient(): {
1101
1101
  erc6492Verifier?: import("viem").ChainContract | undefined;
1102
1102
  } | undefined;
1103
1103
  ensTlds?: readonly string[] | undefined;
1104
- id: 59141;
1105
- name: "Linea Sepolia";
1104
+ id: 59144;
1105
+ name: "Linea";
1106
1106
  nativeCurrency: {
1107
1107
  readonly decimals: 18;
1108
1108
  readonly name: "Ether";
@@ -1111,7 +1111,7 @@ export declare function getMpaPublicClient(): {
1111
1111
  experimental_preconfirmationTime?: number | undefined | undefined;
1112
1112
  rpcUrls: {
1113
1113
  readonly default: {
1114
- readonly http: readonly ["https://linea-sepolia-rpc.publicnode.com"];
1114
+ readonly http: readonly ["https://linea-rpc.publicnode.com"];
1115
1115
  };
1116
1116
  };
1117
1117
  sourceId?: number | undefined | undefined;
@@ -1165,8 +1165,8 @@ export declare function getMpaPublicClient(): {
1165
1165
  erc6492Verifier?: import("viem").ChainContract | undefined;
1166
1166
  } | undefined;
1167
1167
  ensTlds?: readonly string[] | undefined;
1168
- id: 59141;
1169
- name: "Linea Sepolia";
1168
+ id: 59144;
1169
+ name: "Linea";
1170
1170
  nativeCurrency: {
1171
1171
  readonly decimals: 18;
1172
1172
  readonly name: "Ether";
@@ -1175,7 +1175,7 @@ export declare function getMpaPublicClient(): {
1175
1175
  experimental_preconfirmationTime?: number | undefined | undefined;
1176
1176
  rpcUrls: {
1177
1177
  readonly default: {
1178
- readonly http: readonly ["https://linea-sepolia-rpc.publicnode.com"];
1178
+ readonly http: readonly ["https://linea-rpc.publicnode.com"];
1179
1179
  };
1180
1180
  };
1181
1181
  sourceId?: number | undefined | undefined;
@@ -1545,8 +1545,8 @@ export declare function getMpaPublicClient(): {
1545
1545
  erc6492Verifier?: import("viem").ChainContract | undefined;
1546
1546
  } | undefined;
1547
1547
  ensTlds?: readonly string[] | undefined;
1548
- id: 59141;
1549
- name: "Linea Sepolia";
1548
+ id: 59144;
1549
+ name: "Linea";
1550
1550
  nativeCurrency: {
1551
1551
  readonly decimals: 18;
1552
1552
  readonly name: "Ether";
@@ -1555,7 +1555,7 @@ export declare function getMpaPublicClient(): {
1555
1555
  experimental_preconfirmationTime?: number | undefined | undefined;
1556
1556
  rpcUrls: {
1557
1557
  readonly default: {
1558
- readonly http: readonly ["https://linea-sepolia-rpc.publicnode.com"];
1558
+ readonly http: readonly ["https://linea-rpc.publicnode.com"];
1559
1559
  };
1560
1560
  };
1561
1561
  sourceId?: number | undefined | undefined;
@@ -1923,8 +1923,8 @@ export declare function getMpaPublicClient(): {
1923
1923
  erc6492Verifier?: import("viem").ChainContract | undefined;
1924
1924
  } | undefined;
1925
1925
  ensTlds?: readonly string[] | undefined;
1926
- id: 59141;
1927
- name: "Linea Sepolia";
1926
+ id: 59144;
1927
+ name: "Linea";
1928
1928
  nativeCurrency: {
1929
1929
  readonly decimals: 18;
1930
1930
  readonly name: "Ether";
@@ -1933,7 +1933,7 @@ export declare function getMpaPublicClient(): {
1933
1933
  experimental_preconfirmationTime?: number | undefined | undefined;
1934
1934
  rpcUrls: {
1935
1935
  readonly default: {
1936
- readonly http: readonly ["https://linea-sepolia-rpc.publicnode.com"];
1936
+ readonly http: readonly ["https://linea-rpc.publicnode.com"];
1937
1937
  };
1938
1938
  };
1939
1939
  sourceId?: number | undefined | undefined;
@@ -2303,8 +2303,8 @@ export declare function getMpaPublicClient(): {
2303
2303
  erc6492Verifier?: import("viem").ChainContract | undefined;
2304
2304
  } | undefined;
2305
2305
  ensTlds?: readonly string[] | undefined;
2306
- id: 59141;
2307
- name: "Linea Sepolia";
2306
+ id: 59144;
2307
+ name: "Linea";
2308
2308
  nativeCurrency: {
2309
2309
  readonly decimals: 18;
2310
2310
  readonly name: "Ether";
@@ -2313,7 +2313,7 @@ export declare function getMpaPublicClient(): {
2313
2313
  experimental_preconfirmationTime?: number | undefined | undefined;
2314
2314
  rpcUrls: {
2315
2315
  readonly default: {
2316
- readonly http: readonly ["https://linea-sepolia-rpc.publicnode.com"];
2316
+ readonly http: readonly ["https://linea-rpc.publicnode.com"];
2317
2317
  };
2318
2318
  };
2319
2319
  sourceId?: number | undefined | undefined;
@@ -2694,8 +2694,8 @@ export declare function getMpaPublicClient(): {
2694
2694
  erc6492Verifier?: import("viem").ChainContract | undefined;
2695
2695
  } | undefined;
2696
2696
  ensTlds?: readonly string[] | undefined;
2697
- id: 59141;
2698
- name: "Linea Sepolia";
2697
+ id: 59144;
2698
+ name: "Linea";
2699
2699
  nativeCurrency: {
2700
2700
  readonly decimals: 18;
2701
2701
  readonly name: "Ether";
@@ -2704,7 +2704,7 @@ export declare function getMpaPublicClient(): {
2704
2704
  experimental_preconfirmationTime?: number | undefined | undefined;
2705
2705
  rpcUrls: {
2706
2706
  readonly default: {
2707
- readonly http: readonly ["https://linea-sepolia-rpc.publicnode.com"];
2707
+ readonly http: readonly ["https://linea-rpc.publicnode.com"];
2708
2708
  };
2709
2709
  };
2710
2710
  sourceId?: number | undefined | undefined;
@@ -2748,8 +2748,8 @@ export declare function getMpaPublicClient(): {
2748
2748
  erc6492Verifier?: import("viem").ChainContract | undefined;
2749
2749
  } | undefined;
2750
2750
  ensTlds?: readonly string[] | undefined;
2751
- id: 59141;
2752
- name: "Linea Sepolia";
2751
+ id: 59144;
2752
+ name: "Linea";
2753
2753
  nativeCurrency: {
2754
2754
  readonly decimals: 18;
2755
2755
  readonly name: "Ether";
@@ -2758,7 +2758,7 @@ export declare function getMpaPublicClient(): {
2758
2758
  experimental_preconfirmationTime?: number | undefined | undefined;
2759
2759
  rpcUrls: {
2760
2760
  readonly default: {
2761
- readonly http: readonly ["https://linea-sepolia-rpc.publicnode.com"];
2761
+ readonly http: readonly ["https://linea-rpc.publicnode.com"];
2762
2762
  };
2763
2763
  };
2764
2764
  sourceId?: number | undefined | undefined;
@@ -2818,8 +2818,8 @@ export declare function getMpaPublicClient(): {
2818
2818
  erc6492Verifier?: import("viem").ChainContract | undefined;
2819
2819
  } | undefined;
2820
2820
  ensTlds?: readonly string[] | undefined;
2821
- id: 59141;
2822
- name: "Linea Sepolia";
2821
+ id: 59144;
2822
+ name: "Linea";
2823
2823
  nativeCurrency: {
2824
2824
  readonly decimals: 18;
2825
2825
  readonly name: "Ether";
@@ -2828,7 +2828,7 @@ export declare function getMpaPublicClient(): {
2828
2828
  experimental_preconfirmationTime?: number | undefined | undefined;
2829
2829
  rpcUrls: {
2830
2830
  readonly default: {
2831
- readonly http: readonly ["https://linea-sepolia-rpc.publicnode.com"];
2831
+ readonly http: readonly ["https://linea-rpc.publicnode.com"];
2832
2832
  };
2833
2833
  };
2834
2834
  sourceId?: number | undefined | undefined;
@@ -2874,8 +2874,8 @@ export declare function getMpaPublicClient(): {
2874
2874
  erc6492Verifier?: import("viem").ChainContract | undefined;
2875
2875
  } | undefined;
2876
2876
  ensTlds?: readonly string[] | undefined;
2877
- id: 59141;
2878
- name: "Linea Sepolia";
2877
+ id: 59144;
2878
+ name: "Linea";
2879
2879
  nativeCurrency: {
2880
2880
  readonly decimals: 18;
2881
2881
  readonly name: "Ether";
@@ -2884,7 +2884,7 @@ export declare function getMpaPublicClient(): {
2884
2884
  experimental_preconfirmationTime?: number | undefined | undefined;
2885
2885
  rpcUrls: {
2886
2886
  readonly default: {
2887
- readonly http: readonly ["https://linea-sepolia-rpc.publicnode.com"];
2887
+ readonly http: readonly ["https://linea-rpc.publicnode.com"];
2888
2888
  };
2889
2889
  };
2890
2890
  sourceId?: number | undefined | undefined;
@@ -2948,8 +2948,8 @@ export declare function getMpaPublicClient(): {
2948
2948
  erc6492Verifier?: import("viem").ChainContract | undefined;
2949
2949
  } | undefined;
2950
2950
  ensTlds?: readonly string[] | undefined;
2951
- id: 59141;
2952
- name: "Linea Sepolia";
2951
+ id: 59144;
2952
+ name: "Linea";
2953
2953
  nativeCurrency: {
2954
2954
  readonly decimals: 18;
2955
2955
  readonly name: "Ether";
@@ -2958,7 +2958,7 @@ export declare function getMpaPublicClient(): {
2958
2958
  experimental_preconfirmationTime?: number | undefined | undefined;
2959
2959
  rpcUrls: {
2960
2960
  readonly default: {
2961
- readonly http: readonly ["https://linea-sepolia-rpc.publicnode.com"];
2961
+ readonly http: readonly ["https://linea-rpc.publicnode.com"];
2962
2962
  };
2963
2963
  };
2964
2964
  sourceId?: number | undefined | undefined;
@@ -3002,8 +3002,8 @@ export declare function getMpaPublicClient(): {
3002
3002
  erc6492Verifier?: import("viem").ChainContract | undefined;
3003
3003
  } | undefined;
3004
3004
  ensTlds?: readonly string[] | undefined;
3005
- id: 59141;
3006
- name: "Linea Sepolia";
3005
+ id: 59144;
3006
+ name: "Linea";
3007
3007
  nativeCurrency: {
3008
3008
  readonly decimals: 18;
3009
3009
  readonly name: "Ether";
@@ -3012,7 +3012,7 @@ export declare function getMpaPublicClient(): {
3012
3012
  experimental_preconfirmationTime?: number | undefined | undefined;
3013
3013
  rpcUrls: {
3014
3014
  readonly default: {
3015
- readonly http: readonly ["https://linea-sepolia-rpc.publicnode.com"];
3015
+ readonly http: readonly ["https://linea-rpc.publicnode.com"];
3016
3016
  };
3017
3017
  };
3018
3018
  sourceId?: number | undefined | undefined;
@@ -3056,8 +3056,8 @@ export declare function getMpaPublicClient(): {
3056
3056
  erc6492Verifier?: import("viem").ChainContract | undefined;
3057
3057
  } | undefined;
3058
3058
  ensTlds?: readonly string[] | undefined;
3059
- id: 59141;
3060
- name: "Linea Sepolia";
3059
+ id: 59144;
3060
+ name: "Linea";
3061
3061
  nativeCurrency: {
3062
3062
  readonly decimals: 18;
3063
3063
  readonly name: "Ether";
@@ -3066,7 +3066,7 @@ export declare function getMpaPublicClient(): {
3066
3066
  experimental_preconfirmationTime?: number | undefined | undefined;
3067
3067
  rpcUrls: {
3068
3068
  readonly default: {
3069
- readonly http: readonly ["https://linea-sepolia-rpc.publicnode.com"];
3069
+ readonly http: readonly ["https://linea-rpc.publicnode.com"];
3070
3070
  };
3071
3071
  };
3072
3072
  sourceId?: number | undefined | undefined;
@@ -3110,8 +3110,8 @@ export declare function getMpaPublicClient(): {
3110
3110
  erc6492Verifier?: import("viem").ChainContract | undefined;
3111
3111
  } | undefined;
3112
3112
  ensTlds?: readonly string[] | undefined;
3113
- id: 59141;
3114
- name: "Linea Sepolia";
3113
+ id: 59144;
3114
+ name: "Linea";
3115
3115
  nativeCurrency: {
3116
3116
  readonly decimals: 18;
3117
3117
  readonly name: "Ether";
@@ -3120,7 +3120,7 @@ export declare function getMpaPublicClient(): {
3120
3120
  experimental_preconfirmationTime?: number | undefined | undefined;
3121
3121
  rpcUrls: {
3122
3122
  readonly default: {
3123
- readonly http: readonly ["https://linea-sepolia-rpc.publicnode.com"];
3123
+ readonly http: readonly ["https://linea-rpc.publicnode.com"];
3124
3124
  };
3125
3125
  };
3126
3126
  sourceId?: number | undefined | undefined;
@@ -3164,8 +3164,8 @@ export declare function getMpaPublicClient(): {
3164
3164
  erc6492Verifier?: import("viem").ChainContract | undefined;
3165
3165
  } | undefined;
3166
3166
  ensTlds?: readonly string[] | undefined;
3167
- id: 59141;
3168
- name: "Linea Sepolia";
3167
+ id: 59144;
3168
+ name: "Linea";
3169
3169
  nativeCurrency: {
3170
3170
  readonly decimals: 18;
3171
3171
  readonly name: "Ether";
@@ -3174,7 +3174,7 @@ export declare function getMpaPublicClient(): {
3174
3174
  experimental_preconfirmationTime?: number | undefined | undefined;
3175
3175
  rpcUrls: {
3176
3176
  readonly default: {
3177
- readonly http: readonly ["https://linea-sepolia-rpc.publicnode.com"];
3177
+ readonly http: readonly ["https://linea-rpc.publicnode.com"];
3178
3178
  };
3179
3179
  };
3180
3180
  sourceId?: number | undefined | undefined;
@@ -3218,8 +3218,8 @@ export declare function getMpaPublicClient(): {
3218
3218
  erc6492Verifier?: import("viem").ChainContract | undefined;
3219
3219
  } | undefined;
3220
3220
  ensTlds?: readonly string[] | undefined;
3221
- id: 59141;
3222
- name: "Linea Sepolia";
3221
+ id: 59144;
3222
+ name: "Linea";
3223
3223
  nativeCurrency: {
3224
3224
  readonly decimals: 18;
3225
3225
  readonly name: "Ether";
@@ -3228,7 +3228,7 @@ export declare function getMpaPublicClient(): {
3228
3228
  experimental_preconfirmationTime?: number | undefined | undefined;
3229
3229
  rpcUrls: {
3230
3230
  readonly default: {
3231
- readonly http: readonly ["https://linea-sepolia-rpc.publicnode.com"];
3231
+ readonly http: readonly ["https://linea-rpc.publicnode.com"];
3232
3232
  };
3233
3233
  };
3234
3234
  sourceId?: number | undefined | undefined;
@@ -26,5 +26,5 @@ export type KeyGenMonthActivationWaiver = {
26
26
  /** True when the next KeyGen syncBilling charges zero (group veCTM waiver or unused node trial). */
27
27
  export declare function fetchKeyGenMonthActivationWaived(keyGenId: string, addressKind: string, nodeKey: string): Promise<KeyGenMonthActivationWaiver>;
28
28
  /** Node fee status with on-chain KeyGen subscription fallback. */
29
- export declare function fetchMergedMpaWalletStatus(config: NodeSdkConfig, keyGenId: string, keyGenEthAddress: string): Promise<MpaWalletStatusData>;
29
+ export declare function fetchMergedMpaWalletStatus(config: NodeSdkConfig, keyGenId: string, _keyGenEthAddress: string): Promise<MpaWalletStatusData>;
30
30
  //# sourceMappingURL=mpa-fee-status.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mpa-fee-status.d.ts","sourceRoot":"","sources":["../../../src/core/mpc/mpa-fee-status.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,wBAAwB,CAAC;AAS1D,OAAO,EAGN,KAAK,mBAAmB,EACxB,MAAM,0BAA0B,CAAC;AAGlC,YAAY,EAAC,mBAAmB,EAAC,MAAM,0BAA0B,CAAC;AAElE,MAAM,MAAM,oBAAoB,GAAG;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,4BAA4B,EAAE,MAAM,CAAC;IACrC,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,UAAU,EAAE,OAAO,CAAC;IACpB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAqHF,wBAAsB,wBAAwB,CAC7C,MAAM,EAAE,aAAa,EACrB,QAAQ,EAAE,MAAM,GACd,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC,CAOtC;AA4HD,MAAM,MAAM,2BAA2B,GAAG;IACzC,qBAAqB,EAAE,OAAO,CAAC;IAC/B,uBAAuB,EAAE,OAAO,CAAC;IACjC,qBAAqB,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF,oGAAoG;AACpG,wBAAsB,gCAAgC,CACrD,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,GACb,OAAO,CAAC,2BAA2B,CAAC,CAsCtC;AAiFD,kEAAkE;AAClE,wBAAsB,0BAA0B,CAC/C,MAAM,EAAE,aAAa,EACrB,QAAQ,EAAE,MAAM,EAChB,gBAAgB,EAAE,MAAM,GACtB,OAAO,CAAC,mBAAmB,CAAC,CAoD9B"}
1
+ {"version":3,"file":"mpa-fee-status.d.ts","sourceRoot":"","sources":["../../../src/core/mpc/mpa-fee-status.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,wBAAwB,CAAC;AAS1D,OAAO,EAGN,KAAK,mBAAmB,EACxB,MAAM,0BAA0B,CAAC;AAGlC,YAAY,EAAC,mBAAmB,EAAC,MAAM,0BAA0B,CAAC;AAElE,MAAM,MAAM,oBAAoB,GAAG;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,4BAA4B,EAAE,MAAM,CAAC;IACrC,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,UAAU,EAAE,OAAO,CAAC;IACpB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAiHF,wBAAsB,wBAAwB,CAC7C,MAAM,EAAE,aAAa,EACrB,QAAQ,EAAE,MAAM,GACd,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC,CAOtC;AA+GD,MAAM,MAAM,2BAA2B,GAAG;IACzC,qBAAqB,EAAE,OAAO,CAAC;IAC/B,uBAAuB,EAAE,OAAO,CAAC;IACjC,qBAAqB,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF,oGAAoG;AACpG,wBAAsB,gCAAgC,CACrD,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,GACb,OAAO,CAAC,2BAA2B,CAAC,CAsCtC;AAiFD,kEAAkE;AAClE,wBAAsB,0BAA0B,CAC/C,MAAM,EAAE,aAAa,EACrB,QAAQ,EAAE,MAAM,EAChB,iBAAiB,EAAE,MAAM,GACvB,OAAO,CAAC,mBAAmB,CAAC,CAiD9B"}
@@ -1,4 +1,4 @@
1
- import { createPublicClient, defineChain, formatUnits, getAddress, http, } from 'viem';
1
+ import { createPublicClient, defineChain, formatUnits, http, } from 'viem';
2
2
  import { buildManagementQueryPath, managementGet } from '../../api/management-api.js';
3
3
  import { MPA_WALLET_CONTRACT_CONFIG, MPA_WALLET_READ_ABI, } from '../../config/mpa-wallet.js';
4
4
  import { fetchGlobalNonceByKeyGenId, fetchKeyGenResult } from '../keygen-read.js';
@@ -19,9 +19,6 @@ function getMpaPublicClient() {
19
19
  transport: http(MPA_WALLET_CONTRACT_CONFIG.rpcUrl),
20
20
  });
21
21
  }
22
- function billingAddressFromEth(eth) {
23
- return getAddress(eth.startsWith('0x') ? eth : `0x${eth}`);
24
- }
25
22
  function unwrapRecord(raw) {
26
23
  const data = mpcAuthEnvelopeData(raw) ?? raw;
27
24
  if (data != null && typeof data === 'object' && !Array.isArray(data)) {
@@ -116,24 +113,12 @@ export async function fetchFeeStatusByKeyGenId(config, keyGenId) {
116
113
  return null;
117
114
  return parseFeeStatusPayload(data);
118
115
  }
119
- async function resolveKeyGenGlobalNonceForChain(config, keyGenAddress, keyGenId, nodeGlobalNonce, feeStatusGlobalNonce) {
116
+ function resolveKeyGenGlobalNonceForChain(nodeGlobalNonce, feeStatusGlobalNonce) {
120
117
  if (nodeGlobalNonce != null)
121
118
  return nodeGlobalNonce;
122
119
  if (feeStatusGlobalNonce != null)
123
120
  return feeStatusGlobalNonce;
124
- const trimmed = keyGenAddress.trim();
125
- if (!trimmed)
126
- return 0;
127
- try {
128
- const client = getMpaPublicClient();
129
- return await client.getTransactionCount({
130
- address: billingAddressFromEth(trimmed),
131
- blockTag: 'pending',
132
- });
133
- }
134
- catch {
135
- return 0;
136
- }
121
+ return 0;
137
122
  }
138
123
  async function fetchMpaWalletStatusFromChain(keyGenId, currentNonce, addressKind, nodeKey) {
139
124
  const client = getMpaPublicClient();
@@ -335,7 +320,7 @@ async function withMonthActivationWaiver(status, keyGenId, addressKind, nodeKey)
335
320
  return enrichKeyGenWalletStatus({ ...withTokens, ...waiver });
336
321
  }
337
322
  /** Node fee status with on-chain KeyGen subscription fallback. */
338
- export async function fetchMergedMpaWalletStatus(config, keyGenId, keyGenEthAddress) {
323
+ export async function fetchMergedMpaWalletStatus(config, keyGenId, _keyGenEthAddress) {
339
324
  const [feeStatus, globalNonceResult, kg, self] = await Promise.all([
340
325
  fetchFeeStatusByKeyGenId(config, keyGenId),
341
326
  fetchGlobalNonceByKeyGenId(config, keyGenId),
@@ -343,7 +328,7 @@ export async function fetchMergedMpaWalletStatus(config, keyGenId, keyGenEthAddr
343
328
  nodeId(config),
344
329
  ]);
345
330
  const nodeGlobalNonce = globalNonceResult.ok ? globalNonceResult.data : null;
346
- const resolvedNonce = await resolveKeyGenGlobalNonceForChain(config, keyGenEthAddress, keyGenId, nodeGlobalNonce, feeStatus?.globalnonce);
331
+ const resolvedNonce = resolveKeyGenGlobalNonceForChain(nodeGlobalNonce, feeStatus?.globalnonce);
347
332
  const addressKind = kg.ok ? feeAddressKindForKeyGen(kg.data) : 'ethereum';
348
333
  const nodeKey = self.ok ? self.data.nodeId : '';
349
334
  if (feeStatus) {