@hyperbridge/sdk 2.8.10 → 2.8.11

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,4 +1,4 @@
1
- export { bR as AggregationLogger, bS as BidNonceKeyFn, bT as BidSignature, bU as ENTRY_POINT_V08_ADDRESS, bV as FILL_ORDER_ABI, ai as FILL_ORDER_V1_ABI, bW as FetchLike, bX as FillData, bY as HexString, bZ as IntentGatewayV2, b_ as LpBalance, b$ as OrderCommitmentFn, aN as PHANTOM_QUOTE_HAIRCUT_BPS, c0 as PhantomAggregation, c1 as PhantomLegAggregation, c2 as PhantomLegBidder, c3 as PoolAndPositionInfo, c4 as RecoverBidSigner, c5 as RpcBidInfo, c6 as SolverBalanceReader, c7 as SolverV4Position, bf as UNISWAP_QUOTE_HAIRCUT_BPS, c8 as UniswapV4Contracts, c9 as V4PositionState, ca as YieldVaultMap, cb as aggregatePhantomBids, bh as applyPhantomQuoteHaircut, bi as applyUniswapQuoteHaircut, br as decodeAcceptedSourceChains, bs as decodeERC7821ExecuteBatch, bu as decodePhantomBidDeclaration, bv as decodeUserOpScale, bx as encodeAcceptedSourceChains, by as encodeERC7821ExecuteBatch, bB as encodePhantomBidDeclaration, bC as encodeUserOpScale, cc as extractFillData, cd as fetchBidsForOrder, ce as getTotalSolverBalance, cf as memoizedSolverBalance, cg as orderCommitmentFromDecoded, bM as poolSlug, ch as positionAmountOfToken, ci as readV4Position, cj as recoverBidSignerViem, ck as setAggregationFetch, bO as sortPoolSymbols, cl as splitBidSignature, cm as weightedMedian, cn as zipFillLegs } from './intents-helpers-BKj42imQ.cjs';
1
+ export { bR as AggregationLogger, bS as BidNonceKeyFn, bT as BidSignature, bU as ENTRY_POINT_V08_ADDRESS, bV as FILL_ORDER_ABI, ai as FILL_ORDER_V1_ABI, bW as FetchLike, bX as FillData, bY as HexString, bZ as IntentGatewayV2, b_ as LpBalance, b$ as OrderCommitmentFn, aN as PHANTOM_QUOTE_HAIRCUT_BPS, c0 as PhantomAggregation, c1 as PhantomLegAggregation, c2 as PhantomLegBidder, c3 as PoolAndPositionInfo, c4 as RecoverBidSigner, c5 as RpcBidInfo, c6 as SolverBalanceReader, c7 as SolverV4Position, bf as UNISWAP_QUOTE_HAIRCUT_BPS, c8 as UniswapV4Contracts, c9 as V4PositionState, ca as YieldVaultMap, cb as aggregatePhantomBids, bh as applyPhantomQuoteHaircut, bi as applyUniswapQuoteHaircut, br as decodeAcceptedSourceChains, bs as decodeERC7821ExecuteBatch, bu as decodePhantomBidDeclaration, bv as decodeUserOpScale, bx as encodeAcceptedSourceChains, by as encodeERC7821ExecuteBatch, bB as encodePhantomBidDeclaration, bC as encodeUserOpScale, cc as extractFillData, cd as fetchBidsForOrder, ce as getTotalSolverBalance, cf as memoizedSolverBalance, cg as orderCommitmentFromDecoded, bM as poolSlug, ch as positionAmountOfToken, ci as readV4Position, cj as recoverBidSignerViem, ck as setAggregationFetch, bO as sortPoolSymbols, cl as splitBidSignature, cm as weightedMedian, cn as zipFillLegs } from './intents-helpers-BRegx4yZ.cjs';
2
2
  import 'consola';
3
3
  import 'decimal.js';
4
4
  import 'graphql-request';
@@ -1,4 +1,4 @@
1
- export { bR as AggregationLogger, bS as BidNonceKeyFn, bT as BidSignature, bU as ENTRY_POINT_V08_ADDRESS, bV as FILL_ORDER_ABI, ai as FILL_ORDER_V1_ABI, bW as FetchLike, bX as FillData, bY as HexString, bZ as IntentGatewayV2, b_ as LpBalance, b$ as OrderCommitmentFn, aN as PHANTOM_QUOTE_HAIRCUT_BPS, c0 as PhantomAggregation, c1 as PhantomLegAggregation, c2 as PhantomLegBidder, c3 as PoolAndPositionInfo, c4 as RecoverBidSigner, c5 as RpcBidInfo, c6 as SolverBalanceReader, c7 as SolverV4Position, bf as UNISWAP_QUOTE_HAIRCUT_BPS, c8 as UniswapV4Contracts, c9 as V4PositionState, ca as YieldVaultMap, cb as aggregatePhantomBids, bh as applyPhantomQuoteHaircut, bi as applyUniswapQuoteHaircut, br as decodeAcceptedSourceChains, bs as decodeERC7821ExecuteBatch, bu as decodePhantomBidDeclaration, bv as decodeUserOpScale, bx as encodeAcceptedSourceChains, by as encodeERC7821ExecuteBatch, bB as encodePhantomBidDeclaration, bC as encodeUserOpScale, cc as extractFillData, cd as fetchBidsForOrder, ce as getTotalSolverBalance, cf as memoizedSolverBalance, cg as orderCommitmentFromDecoded, bM as poolSlug, ch as positionAmountOfToken, ci as readV4Position, cj as recoverBidSignerViem, ck as setAggregationFetch, bO as sortPoolSymbols, cl as splitBidSignature, cm as weightedMedian, cn as zipFillLegs } from './intents-helpers-BKj42imQ.js';
1
+ export { bR as AggregationLogger, bS as BidNonceKeyFn, bT as BidSignature, bU as ENTRY_POINT_V08_ADDRESS, bV as FILL_ORDER_ABI, ai as FILL_ORDER_V1_ABI, bW as FetchLike, bX as FillData, bY as HexString, bZ as IntentGatewayV2, b_ as LpBalance, b$ as OrderCommitmentFn, aN as PHANTOM_QUOTE_HAIRCUT_BPS, c0 as PhantomAggregation, c1 as PhantomLegAggregation, c2 as PhantomLegBidder, c3 as PoolAndPositionInfo, c4 as RecoverBidSigner, c5 as RpcBidInfo, c6 as SolverBalanceReader, c7 as SolverV4Position, bf as UNISWAP_QUOTE_HAIRCUT_BPS, c8 as UniswapV4Contracts, c9 as V4PositionState, ca as YieldVaultMap, cb as aggregatePhantomBids, bh as applyPhantomQuoteHaircut, bi as applyUniswapQuoteHaircut, br as decodeAcceptedSourceChains, bs as decodeERC7821ExecuteBatch, bu as decodePhantomBidDeclaration, bv as decodeUserOpScale, bx as encodeAcceptedSourceChains, by as encodeERC7821ExecuteBatch, bB as encodePhantomBidDeclaration, bC as encodeUserOpScale, cc as extractFillData, cd as fetchBidsForOrder, ce as getTotalSolverBalance, cf as memoizedSolverBalance, cg as orderCommitmentFromDecoded, bM as poolSlug, ch as positionAmountOfToken, ci as readV4Position, cj as recoverBidSignerViem, ck as setAggregationFetch, bO as sortPoolSymbols, cl as splitBidSignature, cm as weightedMedian, cn as zipFillLegs } from './intents-helpers-BRegx4yZ.js';
2
2
  import 'consola';
3
3
  import 'decimal.js';
4
4
  import 'graphql-request';
@@ -71,7 +71,7 @@ var ABI2 = [
71
71
  type: "constructor",
72
72
  inputs: [
73
73
  {
74
- name: "admin",
74
+ name: "owner",
75
75
  type: "address",
76
76
  internalType: "address"
77
77
  }
@@ -146,25 +146,6 @@ var ABI2 = [
146
146
  ],
147
147
  stateMutability: "view"
148
148
  },
149
- {
150
- type: "function",
151
- name: "_instances",
152
- inputs: [
153
- {
154
- name: "",
155
- type: "bytes32",
156
- internalType: "bytes32"
157
- }
158
- ],
159
- outputs: [
160
- {
161
- name: "",
162
- type: "address",
163
- internalType: "address"
164
- }
165
- ],
166
- stateMutability: "view"
167
- },
168
149
  {
169
150
  type: "function",
170
151
  name: "_nonce",
@@ -202,6 +183,19 @@ var ABI2 = [
202
183
  ],
203
184
  stateMutability: "view"
204
185
  },
186
+ {
187
+ type: "function",
188
+ name: "_owner",
189
+ inputs: [],
190
+ outputs: [
191
+ {
192
+ name: "",
193
+ type: "address",
194
+ internalType: "address"
195
+ }
196
+ ],
197
+ stateMutability: "view"
198
+ },
205
199
  {
206
200
  type: "function",
207
201
  name: "_partialFills",
@@ -617,6 +611,61 @@ var ABI2 = [
617
611
  ],
618
612
  stateMutability: "view"
619
613
  },
614
+ {
615
+ type: "function",
616
+ name: "initialize",
617
+ inputs: [
618
+ {
619
+ name: "p",
620
+ type: "tuple",
621
+ internalType: "struct Params",
622
+ components: [
623
+ {
624
+ name: "host",
625
+ type: "address",
626
+ internalType: "address"
627
+ },
628
+ {
629
+ name: "dispatcher",
630
+ type: "address",
631
+ internalType: "address"
632
+ },
633
+ {
634
+ name: "solverSelection",
635
+ type: "bool",
636
+ internalType: "bool"
637
+ },
638
+ {
639
+ name: "surplusShareBps",
640
+ type: "uint256",
641
+ internalType: "uint256"
642
+ },
643
+ {
644
+ name: "protocolFeeBps",
645
+ type: "uint256",
646
+ internalType: "uint256"
647
+ },
648
+ {
649
+ name: "priceOracle",
650
+ type: "address",
651
+ internalType: "address"
652
+ }
653
+ ]
654
+ },
655
+ {
656
+ name: "peerChains",
657
+ type: "bytes[]",
658
+ internalType: "bytes[]"
659
+ },
660
+ {
661
+ name: "relayer",
662
+ type: "address",
663
+ internalType: "address"
664
+ }
665
+ ],
666
+ outputs: [],
667
+ stateMutability: "nonpayable"
668
+ },
620
669
  {
621
670
  type: "function",
622
671
  name: "instance",
@@ -636,6 +685,19 @@ var ABI2 = [
636
685
  ],
637
686
  stateMutability: "view"
638
687
  },
688
+ {
689
+ type: "function",
690
+ name: "migrate",
691
+ inputs: [
692
+ {
693
+ name: "relayer",
694
+ type: "address",
695
+ internalType: "address"
696
+ }
697
+ ],
698
+ outputs: [],
699
+ stateMutability: "nonpayable"
700
+ },
639
701
  {
640
702
  type: "function",
641
703
  name: "onAccept",
@@ -1147,7 +1209,7 @@ var ABI2 = [
1147
1209
  internalType: "uint256"
1148
1210
  }
1149
1211
  ],
1150
- stateMutability: "view"
1212
+ stateMutability: "nonpayable"
1151
1213
  },
1152
1214
  {
1153
1215
  type: "function",
@@ -1203,6 +1265,19 @@ var ABI2 = [
1203
1265
  internalType: "uint256"
1204
1266
  }
1205
1267
  ],
1268
+ stateMutability: "nonpayable"
1269
+ },
1270
+ {
1271
+ type: "function",
1272
+ name: "relayer",
1273
+ inputs: [],
1274
+ outputs: [
1275
+ {
1276
+ name: "",
1277
+ type: "address",
1278
+ internalType: "address"
1279
+ }
1280
+ ],
1206
1281
  stateMutability: "view"
1207
1282
  },
1208
1283
  {
@@ -1243,66 +1318,67 @@ var ABI2 = [
1243
1318
  },
1244
1319
  {
1245
1320
  type: "function",
1246
- name: "init",
1321
+ name: "setRelayer",
1247
1322
  inputs: [
1248
1323
  {
1249
- name: "p",
1250
- type: "tuple",
1251
- internalType: "struct Params",
1252
- components: [
1253
- {
1254
- name: "host",
1255
- type: "address",
1256
- internalType: "address"
1257
- },
1258
- {
1259
- name: "dispatcher",
1260
- type: "address",
1261
- internalType: "address"
1262
- },
1263
- {
1264
- name: "solverSelection",
1265
- type: "bool",
1266
- internalType: "bool"
1267
- },
1268
- {
1269
- name: "surplusShareBps",
1270
- type: "uint256",
1271
- internalType: "uint256"
1272
- },
1273
- {
1274
- name: "protocolFeeBps",
1275
- type: "uint256",
1276
- internalType: "uint256"
1277
- },
1278
- {
1279
- name: "priceOracle",
1280
- type: "address",
1281
- internalType: "address"
1282
- }
1283
- ]
1324
+ name: "relayer",
1325
+ type: "address",
1326
+ internalType: "address"
1327
+ }
1328
+ ],
1329
+ outputs: [],
1330
+ stateMutability: "nonpayable"
1331
+ },
1332
+ {
1333
+ type: "function",
1334
+ name: "upgradeToAndCall",
1335
+ inputs: [
1336
+ {
1337
+ name: "newImplementation",
1338
+ type: "address",
1339
+ internalType: "address"
1284
1340
  },
1285
1341
  {
1286
- name: "deployments",
1287
- type: "tuple[]",
1288
- internalType: "struct Deployment[]",
1289
- components: [
1290
- {
1291
- name: "chain",
1292
- type: "bytes",
1293
- internalType: "bytes"
1294
- },
1295
- {
1296
- name: "gateway",
1297
- type: "address",
1298
- internalType: "address"
1299
- }
1300
- ]
1342
+ name: "data",
1343
+ type: "bytes",
1344
+ internalType: "bytes"
1301
1345
  }
1302
1346
  ],
1303
1347
  outputs: [],
1304
1348
  stateMutability: "nonpayable"
1305
1349
  },
1350
+ {
1351
+ type: "function",
1352
+ name: "version",
1353
+ inputs: [],
1354
+ outputs: [
1355
+ {
1356
+ name: "",
1357
+ type: "uint64",
1358
+ internalType: "uint64"
1359
+ }
1360
+ ],
1361
+ stateMutability: "view"
1362
+ },
1363
+ {
1364
+ type: "event",
1365
+ name: "DeploymentAdded",
1366
+ inputs: [
1367
+ {
1368
+ name: "chain",
1369
+ type: "string",
1370
+ indexed: false,
1371
+ internalType: "string"
1372
+ },
1373
+ {
1374
+ name: "gateway",
1375
+ type: "address",
1376
+ indexed: false,
1377
+ internalType: "address"
1378
+ }
1379
+ ],
1380
+ anonymous: false
1381
+ },
1306
1382
  {
1307
1383
  type: "event",
1308
1384
  name: "DestinationProtocolFeeUpdated",
@@ -1436,16 +1512,29 @@ var ABI2 = [
1436
1512
  },
1437
1513
  {
1438
1514
  type: "event",
1439
- name: "DeploymentAdded",
1515
+ name: "Initialized",
1440
1516
  inputs: [
1441
1517
  {
1442
- name: "chain",
1443
- type: "string",
1518
+ name: "version",
1519
+ type: "uint64",
1444
1520
  indexed: false,
1445
- internalType: "string"
1521
+ internalType: "uint64"
1522
+ }
1523
+ ],
1524
+ anonymous: false
1525
+ },
1526
+ {
1527
+ type: "event",
1528
+ name: "OrderCancelled",
1529
+ inputs: [
1530
+ {
1531
+ name: "commitment",
1532
+ type: "bytes32",
1533
+ indexed: true,
1534
+ internalType: "bytes32"
1446
1535
  },
1447
1536
  {
1448
- name: "gateway",
1537
+ name: "canceller",
1449
1538
  type: "address",
1450
1539
  indexed: false,
1451
1540
  internalType: "address"
@@ -1773,14 +1862,52 @@ var ABI2 = [
1773
1862
  ],
1774
1863
  anonymous: false
1775
1864
  },
1865
+ {
1866
+ type: "event",
1867
+ name: "RelayerUpdated",
1868
+ inputs: [
1869
+ {
1870
+ name: "previous",
1871
+ type: "address",
1872
+ indexed: false,
1873
+ internalType: "address"
1874
+ },
1875
+ {
1876
+ name: "current",
1877
+ type: "address",
1878
+ indexed: false,
1879
+ internalType: "address"
1880
+ }
1881
+ ],
1882
+ anonymous: false
1883
+ },
1884
+ {
1885
+ type: "event",
1886
+ name: "Upgraded",
1887
+ inputs: [
1888
+ {
1889
+ name: "implementation",
1890
+ type: "address",
1891
+ indexed: true,
1892
+ internalType: "address"
1893
+ }
1894
+ ],
1895
+ anonymous: false
1896
+ },
1776
1897
  {
1777
1898
  type: "error",
1778
- name: "Cancelled",
1779
- inputs: []
1899
+ name: "AddressEmptyCode",
1900
+ inputs: [
1901
+ {
1902
+ name: "target",
1903
+ type: "address",
1904
+ internalType: "address"
1905
+ }
1906
+ ]
1780
1907
  },
1781
1908
  {
1782
1909
  type: "error",
1783
- name: "UnknownInstance",
1910
+ name: "Cancelled",
1784
1911
  inputs: []
1785
1912
  },
1786
1913
  {
@@ -1810,11 +1937,37 @@ var ABI2 = [
1810
1937
  }
1811
1938
  ]
1812
1939
  },
1940
+ {
1941
+ type: "error",
1942
+ name: "ERC1967InvalidImplementation",
1943
+ inputs: [
1944
+ {
1945
+ name: "implementation",
1946
+ type: "address",
1947
+ internalType: "address"
1948
+ }
1949
+ ]
1950
+ },
1951
+ {
1952
+ type: "error",
1953
+ name: "ERC1967NonPayable",
1954
+ inputs: []
1955
+ },
1813
1956
  {
1814
1957
  type: "error",
1815
1958
  name: "Expired",
1816
1959
  inputs: []
1817
1960
  },
1961
+ {
1962
+ type: "error",
1963
+ name: "FailedCall",
1964
+ inputs: []
1965
+ },
1966
+ {
1967
+ type: "error",
1968
+ name: "FillExpired",
1969
+ inputs: []
1970
+ },
1818
1971
  {
1819
1972
  type: "error",
1820
1973
  name: "Filled",
@@ -1825,6 +1978,11 @@ var ABI2 = [
1825
1978
  name: "InsufficientNativeToken",
1826
1979
  inputs: []
1827
1980
  },
1981
+ {
1982
+ type: "error",
1983
+ name: "InvalidInitialization",
1984
+ inputs: []
1985
+ },
1828
1986
  {
1829
1987
  type: "error",
1830
1988
  name: "InvalidInput",
@@ -1840,6 +1998,21 @@ var ABI2 = [
1840
1998
  name: "NotExpired",
1841
1999
  inputs: []
1842
2000
  },
2001
+ {
2002
+ type: "error",
2003
+ name: "NotInitializing",
2004
+ inputs: []
2005
+ },
2006
+ {
2007
+ type: "error",
2008
+ name: "PartialFillNotAllowed",
2009
+ inputs: []
2010
+ },
2011
+ {
2012
+ type: "error",
2013
+ name: "ReentrancyGuardReentrantCall",
2014
+ inputs: []
2015
+ },
1843
2016
  {
1844
2017
  type: "error",
1845
2018
  name: "SafeERC20FailedOperation",
@@ -1877,6 +2050,11 @@ var ABI2 = [
1877
2050
  name: "UnexpectedCall",
1878
2051
  inputs: []
1879
2052
  },
2053
+ {
2054
+ type: "error",
2055
+ name: "UnknownInstance",
2056
+ inputs: []
2057
+ },
1880
2058
  {
1881
2059
  type: "error",
1882
2060
  name: "UnknownOrder",
@@ -2722,7 +2900,7 @@ var recoverBidSignerViem = async (userOp, entryPoint, chainId, solverSignature)
2722
2900
  }
2723
2901
  };
2724
2902
  var DELEGATION_INDICATOR_PREFIX = "0xef0100";
2725
- async function isDelegatedToSolverAccount(evmRpcUrl, account, solverAccount) {
2903
+ async function isDelegatedToSolverAccount(evmRpcUrl, account, solverAccounts) {
2726
2904
  const response = await rpcCall(evmRpcUrl, {
2727
2905
  id: 1,
2728
2906
  jsonrpc: "2.0",
@@ -2734,15 +2912,17 @@ async function isDelegatedToSolverAccount(evmRpcUrl, account, solverAccount) {
2734
2912
  }
2735
2913
  const code = response.result.toLowerCase();
2736
2914
  if (!code.startsWith(DELEGATION_INDICATOR_PREFIX)) return false;
2737
- return `0x${code.slice(DELEGATION_INDICATOR_PREFIX.length)}` === solverAccount.toLowerCase();
2915
+ const delegate = `0x${code.slice(DELEGATION_INDICATOR_PREFIX.length)}`;
2916
+ return solverAccounts.some((solverAccount) => solverAccount.toLowerCase() === delegate);
2738
2917
  }
2739
2918
  function memoizedDelegationCheck() {
2740
2919
  const cache = /* @__PURE__ */ new Map();
2741
- return (evmRpcUrl, account, solverAccount) => {
2742
- const key = `${evmRpcUrl}|${account.toLowerCase()}|${solverAccount.toLowerCase()}`;
2920
+ return (evmRpcUrl, account, solverAccounts) => {
2921
+ const targets = solverAccounts.map((a) => a.toLowerCase()).sort().join(",");
2922
+ const key = `${evmRpcUrl}|${account.toLowerCase()}|${targets}`;
2743
2923
  let pending = cache.get(key);
2744
2924
  if (!pending) {
2745
- pending = isDelegatedToSolverAccount(evmRpcUrl, account, solverAccount).catch((err) => {
2925
+ pending = isDelegatedToSolverAccount(evmRpcUrl, account, solverAccounts).catch((err) => {
2746
2926
  cache.delete(key);
2747
2927
  throw err;
2748
2928
  });
@@ -2762,7 +2942,7 @@ async function isVerifiedSolverBid(params) {
2762
2942
  commitment,
2763
2943
  sessionKey,
2764
2944
  chainId,
2765
- solverAccount,
2945
+ solverAccounts,
2766
2946
  evmRpcUrl,
2767
2947
  recoverSigner,
2768
2948
  bidNonceKey,
@@ -2791,8 +2971,8 @@ async function isVerifiedSolverBid(params) {
2791
2971
  logger?.warn({ solver, commitment, signer }, "Rejecting phantom bid: signature does not recover to the sender");
2792
2972
  return false;
2793
2973
  }
2794
- if (!await isDelegated(evmRpcUrl, solver, solverAccount)) {
2795
- logger?.warn({ solver, commitment, solverAccount }, "Rejecting phantom bid: sender is not a delegated solver");
2974
+ if (!await isDelegated(evmRpcUrl, solver, solverAccounts)) {
2975
+ logger?.warn({ solver, commitment, solverAccounts }, "Rejecting phantom bid: sender is not a delegated solver");
2796
2976
  return false;
2797
2977
  }
2798
2978
  return true;
@@ -2956,7 +3136,10 @@ async function aggregatePhantomBids(params) {
2956
3136
  }
2957
3137
  var AGGREGATION_ATTEMPTS = 5;
2958
3138
  async function runAggregation(params, isDelegated) {
2959
- const { nodeUrl, evmRpcUrls, chain, gatewayAddress, commitment, yieldVaults, solverAccount, logger } = params;
3139
+ const { nodeUrl, evmRpcUrls, chain, gatewayAddress, commitment, yieldVaults, logger } = params;
3140
+ const solverAccounts = (Array.isArray(params.solverAccount) ? params.solverAccount : [params.solverAccount]).filter(
3141
+ (a) => typeof a === "string" && a.length > 0
3142
+ );
2960
3143
  const extractFill = params.extractFill ?? extractFillData;
2961
3144
  const recoverSigner = params.recoverSigner ?? recoverBidSignerViem;
2962
3145
  const bidNonceKey = params.bidNonceKey ?? CryptoUtils.bidNonceKey;
@@ -2964,7 +3147,7 @@ async function runAggregation(params, isDelegated) {
2964
3147
  const destUrl = evmRpcUrls[chain];
2965
3148
  if (!destUrl) return null;
2966
3149
  const chainId = evmChainId(chain);
2967
- if (!solverAccount || chainId === null) {
3150
+ if (solverAccounts.length === 0 || chainId === null) {
2968
3151
  logger?.warn({ chain, commitment }, "Cannot verify phantom bids: no SolverAccount or chain id for chain");
2969
3152
  return null;
2970
3153
  }
@@ -2999,7 +3182,7 @@ async function runAggregation(params, isDelegated) {
2999
3182
  commitment,
3000
3183
  sessionKey,
3001
3184
  chainId,
3002
- solverAccount,
3185
+ solverAccounts,
3003
3186
  evmRpcUrl: destUrl,
3004
3187
  recoverSigner,
3005
3188
  bidNonceKey,