@hyperbridge/sdk 2.8.10 → 2.8.12

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.
@@ -2812,13 +2812,6 @@ interface FillerConfig {
2812
2812
  * Example: { 1: true, 56: false } - watch-only on Ethereum, normal execution on BSC
2813
2813
  */
2814
2814
  watchOnly?: Record<number, boolean>;
2815
- /**
2816
- * Source chains (state machine ids, e.g. "EVM-8453") this filler accepts payment from when
2817
- * filling cross-chain orders, declared inside its phantom bids' paymasterAndData. Omit to
2818
- * declare nothing, which downstream consumers read as "accepts all CCTP/USDT0-covered
2819
- * chains"; an empty array declares that no source chain is accepted.
2820
- */
2821
- acceptedSourceChains?: string[];
2822
2815
  /**
2823
2816
  * Uniswap V4 position tokenIds this filler holds, per chain (state machine id -> tokenIds as
2824
2817
  * decimal strings), declared inside its phantom bids' paymasterAndData for the bid's own chain.
@@ -3882,7 +3875,7 @@ declare function setAggregationFetch(fetchImpl: FetchLike): void;
3882
3875
  declare const FILL_ORDER_ABI: readonly [{
3883
3876
  readonly type: "constructor";
3884
3877
  readonly inputs: readonly [{
3885
- readonly name: "admin";
3878
+ readonly name: "owner";
3886
3879
  readonly type: "address";
3887
3880
  readonly internalType: "address";
3888
3881
  }];
@@ -3938,20 +3931,6 @@ declare const FILL_ORDER_ABI: readonly [{
3938
3931
  readonly internalType: "address";
3939
3932
  }];
3940
3933
  readonly stateMutability: "view";
3941
- }, {
3942
- readonly type: "function";
3943
- readonly name: "_instances";
3944
- readonly inputs: readonly [{
3945
- readonly name: "";
3946
- readonly type: "bytes32";
3947
- readonly internalType: "bytes32";
3948
- }];
3949
- readonly outputs: readonly [{
3950
- readonly name: "";
3951
- readonly type: "address";
3952
- readonly internalType: "address";
3953
- }];
3954
- readonly stateMutability: "view";
3955
3934
  }, {
3956
3935
  readonly type: "function";
3957
3936
  readonly name: "_nonce";
@@ -3980,6 +3959,16 @@ declare const FILL_ORDER_ABI: readonly [{
3980
3959
  readonly internalType: "uint256";
3981
3960
  }];
3982
3961
  readonly stateMutability: "view";
3962
+ }, {
3963
+ readonly type: "function";
3964
+ readonly name: "_owner";
3965
+ readonly inputs: readonly [];
3966
+ readonly outputs: readonly [{
3967
+ readonly name: "";
3968
+ readonly type: "address";
3969
+ readonly internalType: "address";
3970
+ }];
3971
+ readonly stateMutability: "view";
3983
3972
  }, {
3984
3973
  readonly type: "function";
3985
3974
  readonly name: "_partialFills";
@@ -4299,6 +4288,49 @@ declare const FILL_ORDER_ABI: readonly [{
4299
4288
  readonly internalType: "address";
4300
4289
  }];
4301
4290
  readonly stateMutability: "view";
4291
+ }, {
4292
+ readonly type: "function";
4293
+ readonly name: "initialize";
4294
+ readonly inputs: readonly [{
4295
+ readonly name: "p";
4296
+ readonly type: "tuple";
4297
+ readonly internalType: "struct Params";
4298
+ readonly components: readonly [{
4299
+ readonly name: "host";
4300
+ readonly type: "address";
4301
+ readonly internalType: "address";
4302
+ }, {
4303
+ readonly name: "dispatcher";
4304
+ readonly type: "address";
4305
+ readonly internalType: "address";
4306
+ }, {
4307
+ readonly name: "solverSelection";
4308
+ readonly type: "bool";
4309
+ readonly internalType: "bool";
4310
+ }, {
4311
+ readonly name: "surplusShareBps";
4312
+ readonly type: "uint256";
4313
+ readonly internalType: "uint256";
4314
+ }, {
4315
+ readonly name: "protocolFeeBps";
4316
+ readonly type: "uint256";
4317
+ readonly internalType: "uint256";
4318
+ }, {
4319
+ readonly name: "priceOracle";
4320
+ readonly type: "address";
4321
+ readonly internalType: "address";
4322
+ }];
4323
+ }, {
4324
+ readonly name: "peerChains";
4325
+ readonly type: "bytes[]";
4326
+ readonly internalType: "bytes[]";
4327
+ }, {
4328
+ readonly name: "relayer";
4329
+ readonly type: "address";
4330
+ readonly internalType: "address";
4331
+ }];
4332
+ readonly outputs: readonly [];
4333
+ readonly stateMutability: "nonpayable";
4302
4334
  }, {
4303
4335
  readonly type: "function";
4304
4336
  readonly name: "instance";
@@ -4313,6 +4345,16 @@ declare const FILL_ORDER_ABI: readonly [{
4313
4345
  readonly internalType: "address";
4314
4346
  }];
4315
4347
  readonly stateMutability: "view";
4348
+ }, {
4349
+ readonly type: "function";
4350
+ readonly name: "migrate";
4351
+ readonly inputs: readonly [{
4352
+ readonly name: "relayer";
4353
+ readonly type: "address";
4354
+ readonly internalType: "address";
4355
+ }];
4356
+ readonly outputs: readonly [];
4357
+ readonly stateMutability: "nonpayable";
4316
4358
  }, {
4317
4359
  readonly type: "function";
4318
4360
  readonly name: "onAccept";
@@ -4708,7 +4750,7 @@ declare const FILL_ORDER_ABI: readonly [{
4708
4750
  readonly type: "uint256";
4709
4751
  readonly internalType: "uint256";
4710
4752
  }];
4711
- readonly stateMutability: "view";
4753
+ readonly stateMutability: "nonpayable";
4712
4754
  }, {
4713
4755
  readonly type: "function";
4714
4756
  readonly name: "quote";
@@ -4751,6 +4793,16 @@ declare const FILL_ORDER_ABI: readonly [{
4751
4793
  readonly type: "uint256";
4752
4794
  readonly internalType: "uint256";
4753
4795
  }];
4796
+ readonly stateMutability: "nonpayable";
4797
+ }, {
4798
+ readonly type: "function";
4799
+ readonly name: "relayer";
4800
+ readonly inputs: readonly [];
4801
+ readonly outputs: readonly [{
4802
+ readonly name: "";
4803
+ readonly type: "address";
4804
+ readonly internalType: "address";
4805
+ }];
4754
4806
  readonly stateMutability: "view";
4755
4807
  }, {
4756
4808
  readonly type: "function";
@@ -4781,52 +4833,53 @@ declare const FILL_ORDER_ABI: readonly [{
4781
4833
  readonly stateMutability: "nonpayable";
4782
4834
  }, {
4783
4835
  readonly type: "function";
4784
- readonly name: "init";
4836
+ readonly name: "setRelayer";
4785
4837
  readonly inputs: readonly [{
4786
- readonly name: "p";
4787
- readonly type: "tuple";
4788
- readonly internalType: "struct Params";
4789
- readonly components: readonly [{
4790
- readonly name: "host";
4791
- readonly type: "address";
4792
- readonly internalType: "address";
4793
- }, {
4794
- readonly name: "dispatcher";
4795
- readonly type: "address";
4796
- readonly internalType: "address";
4797
- }, {
4798
- readonly name: "solverSelection";
4799
- readonly type: "bool";
4800
- readonly internalType: "bool";
4801
- }, {
4802
- readonly name: "surplusShareBps";
4803
- readonly type: "uint256";
4804
- readonly internalType: "uint256";
4805
- }, {
4806
- readonly name: "protocolFeeBps";
4807
- readonly type: "uint256";
4808
- readonly internalType: "uint256";
4809
- }, {
4810
- readonly name: "priceOracle";
4811
- readonly type: "address";
4812
- readonly internalType: "address";
4813
- }];
4838
+ readonly name: "relayer";
4839
+ readonly type: "address";
4840
+ readonly internalType: "address";
4841
+ }];
4842
+ readonly outputs: readonly [];
4843
+ readonly stateMutability: "nonpayable";
4844
+ }, {
4845
+ readonly type: "function";
4846
+ readonly name: "upgradeToAndCall";
4847
+ readonly inputs: readonly [{
4848
+ readonly name: "newImplementation";
4849
+ readonly type: "address";
4850
+ readonly internalType: "address";
4814
4851
  }, {
4815
- readonly name: "deployments";
4816
- readonly type: "tuple[]";
4817
- readonly internalType: "struct Deployment[]";
4818
- readonly components: readonly [{
4819
- readonly name: "chain";
4820
- readonly type: "bytes";
4821
- readonly internalType: "bytes";
4822
- }, {
4823
- readonly name: "gateway";
4824
- readonly type: "address";
4825
- readonly internalType: "address";
4826
- }];
4852
+ readonly name: "data";
4853
+ readonly type: "bytes";
4854
+ readonly internalType: "bytes";
4827
4855
  }];
4828
4856
  readonly outputs: readonly [];
4829
4857
  readonly stateMutability: "nonpayable";
4858
+ }, {
4859
+ readonly type: "function";
4860
+ readonly name: "version";
4861
+ readonly inputs: readonly [];
4862
+ readonly outputs: readonly [{
4863
+ readonly name: "";
4864
+ readonly type: "uint64";
4865
+ readonly internalType: "uint64";
4866
+ }];
4867
+ readonly stateMutability: "view";
4868
+ }, {
4869
+ readonly type: "event";
4870
+ readonly name: "DeploymentAdded";
4871
+ readonly inputs: readonly [{
4872
+ readonly name: "chain";
4873
+ readonly type: "string";
4874
+ readonly indexed: false;
4875
+ readonly internalType: "string";
4876
+ }, {
4877
+ readonly name: "gateway";
4878
+ readonly type: "address";
4879
+ readonly indexed: false;
4880
+ readonly internalType: "address";
4881
+ }];
4882
+ readonly anonymous: false;
4830
4883
  }, {
4831
4884
  readonly type: "event";
4832
4885
  readonly name: "DestinationProtocolFeeUpdated";
@@ -4932,14 +4985,24 @@ declare const FILL_ORDER_ABI: readonly [{
4932
4985
  readonly anonymous: false;
4933
4986
  }, {
4934
4987
  readonly type: "event";
4935
- readonly name: "DeploymentAdded";
4988
+ readonly name: "Initialized";
4936
4989
  readonly inputs: readonly [{
4937
- readonly name: "chain";
4938
- readonly type: "string";
4990
+ readonly name: "version";
4991
+ readonly type: "uint64";
4939
4992
  readonly indexed: false;
4940
- readonly internalType: "string";
4993
+ readonly internalType: "uint64";
4994
+ }];
4995
+ readonly anonymous: false;
4996
+ }, {
4997
+ readonly type: "event";
4998
+ readonly name: "OrderCancelled";
4999
+ readonly inputs: readonly [{
5000
+ readonly name: "commitment";
5001
+ readonly type: "bytes32";
5002
+ readonly indexed: true;
5003
+ readonly internalType: "bytes32";
4941
5004
  }, {
4942
- readonly name: "gateway";
5005
+ readonly name: "canceller";
4943
5006
  readonly type: "address";
4944
5007
  readonly indexed: false;
4945
5008
  readonly internalType: "address";
@@ -5198,13 +5261,42 @@ declare const FILL_ORDER_ABI: readonly [{
5198
5261
  }];
5199
5262
  }];
5200
5263
  readonly anonymous: false;
5264
+ }, {
5265
+ readonly type: "event";
5266
+ readonly name: "RelayerUpdated";
5267
+ readonly inputs: readonly [{
5268
+ readonly name: "previous";
5269
+ readonly type: "address";
5270
+ readonly indexed: false;
5271
+ readonly internalType: "address";
5272
+ }, {
5273
+ readonly name: "current";
5274
+ readonly type: "address";
5275
+ readonly indexed: false;
5276
+ readonly internalType: "address";
5277
+ }];
5278
+ readonly anonymous: false;
5279
+ }, {
5280
+ readonly type: "event";
5281
+ readonly name: "Upgraded";
5282
+ readonly inputs: readonly [{
5283
+ readonly name: "implementation";
5284
+ readonly type: "address";
5285
+ readonly indexed: true;
5286
+ readonly internalType: "address";
5287
+ }];
5288
+ readonly anonymous: false;
5201
5289
  }, {
5202
5290
  readonly type: "error";
5203
- readonly name: "Cancelled";
5204
- readonly inputs: readonly [];
5291
+ readonly name: "AddressEmptyCode";
5292
+ readonly inputs: readonly [{
5293
+ readonly name: "target";
5294
+ readonly type: "address";
5295
+ readonly internalType: "address";
5296
+ }];
5205
5297
  }, {
5206
5298
  readonly type: "error";
5207
- readonly name: "UnknownInstance";
5299
+ readonly name: "Cancelled";
5208
5300
  readonly inputs: readonly [];
5209
5301
  }, {
5210
5302
  readonly type: "error";
@@ -5226,10 +5318,30 @@ declare const FILL_ORDER_ABI: readonly [{
5226
5318
  readonly type: "bytes32";
5227
5319
  readonly internalType: "bytes32";
5228
5320
  }];
5321
+ }, {
5322
+ readonly type: "error";
5323
+ readonly name: "ERC1967InvalidImplementation";
5324
+ readonly inputs: readonly [{
5325
+ readonly name: "implementation";
5326
+ readonly type: "address";
5327
+ readonly internalType: "address";
5328
+ }];
5329
+ }, {
5330
+ readonly type: "error";
5331
+ readonly name: "ERC1967NonPayable";
5332
+ readonly inputs: readonly [];
5229
5333
  }, {
5230
5334
  readonly type: "error";
5231
5335
  readonly name: "Expired";
5232
5336
  readonly inputs: readonly [];
5337
+ }, {
5338
+ readonly type: "error";
5339
+ readonly name: "FailedCall";
5340
+ readonly inputs: readonly [];
5341
+ }, {
5342
+ readonly type: "error";
5343
+ readonly name: "FillExpired";
5344
+ readonly inputs: readonly [];
5233
5345
  }, {
5234
5346
  readonly type: "error";
5235
5347
  readonly name: "Filled";
@@ -5238,6 +5350,10 @@ declare const FILL_ORDER_ABI: readonly [{
5238
5350
  readonly type: "error";
5239
5351
  readonly name: "InsufficientNativeToken";
5240
5352
  readonly inputs: readonly [];
5353
+ }, {
5354
+ readonly type: "error";
5355
+ readonly name: "InvalidInitialization";
5356
+ readonly inputs: readonly [];
5241
5357
  }, {
5242
5358
  readonly type: "error";
5243
5359
  readonly name: "InvalidInput";
@@ -5250,6 +5366,18 @@ declare const FILL_ORDER_ABI: readonly [{
5250
5366
  readonly type: "error";
5251
5367
  readonly name: "NotExpired";
5252
5368
  readonly inputs: readonly [];
5369
+ }, {
5370
+ readonly type: "error";
5371
+ readonly name: "NotInitializing";
5372
+ readonly inputs: readonly [];
5373
+ }, {
5374
+ readonly type: "error";
5375
+ readonly name: "PartialFillNotAllowed";
5376
+ readonly inputs: readonly [];
5377
+ }, {
5378
+ readonly type: "error";
5379
+ readonly name: "ReentrancyGuardReentrantCall";
5380
+ readonly inputs: readonly [];
5253
5381
  }, {
5254
5382
  readonly type: "error";
5255
5383
  readonly name: "SafeERC20FailedOperation";
@@ -5278,6 +5406,10 @@ declare const FILL_ORDER_ABI: readonly [{
5278
5406
  readonly type: "error";
5279
5407
  readonly name: "UnexpectedCall";
5280
5408
  readonly inputs: readonly [];
5409
+ }, {
5410
+ readonly type: "error";
5411
+ readonly name: "UnknownInstance";
5412
+ readonly inputs: readonly [];
5281
5413
  }, {
5282
5414
  readonly type: "error";
5283
5415
  readonly name: "UnknownOrder";
@@ -5447,19 +5579,24 @@ interface AggregationLogger {
5447
5579
  * paid its cost of goods.
5448
5580
  */
5449
5581
  declare const UNISWAP_QUOTE_HAIRCUT_BPS = 10n;
5582
+ /** Applies {@link UNISWAP_QUOTE_HAIRCUT_BPS} to a quoted output amount, rounding down. */
5583
+ declare function applyUniswapQuoteHaircut(amount: bigint): bigint;
5450
5584
  /**
5451
- * Haircut applied to every phantom quote that is NOT priced off a Uniswap V4 pool, in basis points.
5585
+ * The protocol fee haircut: the fee the IntentGateway at `gatewayAddress` charges on order inputs,
5586
+ * in basis points, read live from its `params()`.
5452
5587
  *
5453
- * A wallet-funded quote is still the best case the solver sees at bid time; the published rate is
5454
- * what the protocol tells takers they can trade against, so it is shaded by this margin rather
5455
- * than being the most optimistic number any bidder named. Pool-priced quotes pay
5456
- * {@link UNISWAP_QUOTE_HAIRCUT_BPS} instead of this not on top of it.
5588
+ * A wallet-funded quote is shaded by exactly this, so the published rate is the one a taker
5589
+ * actually realizes after the gateway takes its cut, and it moves with governance rather than
5590
+ * with a constant someone has to remember to keep in step. Read on the phantom order's own chain,
5591
+ * which is the chain whose gateway will collect the fee on the fills this rate is published for.
5592
+ *
5593
+ * Fails loudly rather than defaulting: a gateway that returns no code, or a fee at or above 100%,
5594
+ * is a misconfiguration, and pricing a window unhaircut on the back of it would publish a rate
5595
+ * nobody can trade at. The `PhantomRpcError` lets the run's retry loop have another go first.
5457
5596
  */
5458
- declare const PHANTOM_QUOTE_HAIRCUT_BPS = 5n;
5459
- /** Applies {@link UNISWAP_QUOTE_HAIRCUT_BPS} to a quoted output amount, rounding down. */
5460
- declare function applyUniswapQuoteHaircut(amount: bigint): bigint;
5461
- /** Applies {@link PHANTOM_QUOTE_HAIRCUT_BPS} to a quoted output amount, rounding down. */
5462
- declare function applyPhantomQuoteHaircut(amount: bigint): bigint;
5597
+ declare function readProtocolFeeHaircutBps(evmRpcUrl: string, gatewayAddress: string): Promise<bigint>;
5598
+ /** Applies the protocol fee haircut (see {@link readProtocolFeeHaircutBps}) to a quoted output amount, rounding down. */
5599
+ declare function applyProtocolFeeHaircut(amount: bigint, protocolFeeBps: bigint): bigint;
5463
5600
  declare function weightedMedian(entries: {
5464
5601
  price: bigint;
5465
5602
  weight: bigint;
@@ -5493,7 +5630,7 @@ type RecoverBidSigner = (userOp: PackedUserOperation, entryPoint: HexString, cha
5493
5630
  */
5494
5631
  declare const recoverBidSignerViem: RecoverBidSigner;
5495
5632
  /** Promise-caching delegation reader produced by {@link memoizedDelegationCheck}. */
5496
- type DelegationReader = (evmRpcUrl: string, account: string, solverAccount: string) => Promise<boolean>;
5633
+ type DelegationReader = (evmRpcUrl: string, account: string, solverAccounts: readonly string[]) => Promise<boolean>;
5497
5634
  declare function fetchBidsForOrder(nodeUrl: string, commitment: string): Promise<RpcBidInfo[]>;
5498
5635
  /**
5499
5636
  * Sums the solver's redeemable balance of a single token on one chain: the raw ERC-20 balance plus
@@ -5582,8 +5719,12 @@ declare function runAggregation(params: {
5582
5719
  gatewayAddress: string;
5583
5720
  commitment: string;
5584
5721
  yieldVaults: YieldVaultMap;
5585
- /** SolverAccount on `chain` that our solvers delegate to; bids from anyone else are dropped. */
5586
- solverAccount: string;
5722
+ /**
5723
+ * SolverAccount on `chain` that our solvers delegate to; bids from anyone else are dropped.
5724
+ * Several may be given, e.g. the current deployment and the one it replaced, and a bid is
5725
+ * counted when its sender delegates to any of them.
5726
+ */
5727
+ solverAccount: string | readonly string[];
5587
5728
  extractFill?: (callData: HexString, gatewayAddress: string) => FillData | null;
5588
5729
  recoverSigner?: RecoverBidSigner;
5589
5730
  bidNonceKey?: BidNonceKeyFn;
@@ -5608,7 +5749,7 @@ declare function runAggregation(params: {
5608
5749
  declare const ABI: readonly [{
5609
5750
  readonly type: "constructor";
5610
5751
  readonly inputs: readonly [{
5611
- readonly name: "admin";
5752
+ readonly name: "owner";
5612
5753
  readonly type: "address";
5613
5754
  readonly internalType: "address";
5614
5755
  }];
@@ -5664,20 +5805,6 @@ declare const ABI: readonly [{
5664
5805
  readonly internalType: "address";
5665
5806
  }];
5666
5807
  readonly stateMutability: "view";
5667
- }, {
5668
- readonly type: "function";
5669
- readonly name: "_instances";
5670
- readonly inputs: readonly [{
5671
- readonly name: "";
5672
- readonly type: "bytes32";
5673
- readonly internalType: "bytes32";
5674
- }];
5675
- readonly outputs: readonly [{
5676
- readonly name: "";
5677
- readonly type: "address";
5678
- readonly internalType: "address";
5679
- }];
5680
- readonly stateMutability: "view";
5681
5808
  }, {
5682
5809
  readonly type: "function";
5683
5810
  readonly name: "_nonce";
@@ -5708,11 +5835,21 @@ declare const ABI: readonly [{
5708
5835
  readonly stateMutability: "view";
5709
5836
  }, {
5710
5837
  readonly type: "function";
5711
- readonly name: "_partialFills";
5712
- readonly inputs: readonly [{
5838
+ readonly name: "_owner";
5839
+ readonly inputs: readonly [];
5840
+ readonly outputs: readonly [{
5713
5841
  readonly name: "";
5714
- readonly type: "bytes32";
5715
- readonly internalType: "bytes32";
5842
+ readonly type: "address";
5843
+ readonly internalType: "address";
5844
+ }];
5845
+ readonly stateMutability: "view";
5846
+ }, {
5847
+ readonly type: "function";
5848
+ readonly name: "_partialFills";
5849
+ readonly inputs: readonly [{
5850
+ readonly name: "";
5851
+ readonly type: "bytes32";
5852
+ readonly internalType: "bytes32";
5716
5853
  }, {
5717
5854
  readonly name: "";
5718
5855
  readonly type: "bytes32";
@@ -6025,6 +6162,49 @@ declare const ABI: readonly [{
6025
6162
  readonly internalType: "address";
6026
6163
  }];
6027
6164
  readonly stateMutability: "view";
6165
+ }, {
6166
+ readonly type: "function";
6167
+ readonly name: "initialize";
6168
+ readonly inputs: readonly [{
6169
+ readonly name: "p";
6170
+ readonly type: "tuple";
6171
+ readonly internalType: "struct Params";
6172
+ readonly components: readonly [{
6173
+ readonly name: "host";
6174
+ readonly type: "address";
6175
+ readonly internalType: "address";
6176
+ }, {
6177
+ readonly name: "dispatcher";
6178
+ readonly type: "address";
6179
+ readonly internalType: "address";
6180
+ }, {
6181
+ readonly name: "solverSelection";
6182
+ readonly type: "bool";
6183
+ readonly internalType: "bool";
6184
+ }, {
6185
+ readonly name: "surplusShareBps";
6186
+ readonly type: "uint256";
6187
+ readonly internalType: "uint256";
6188
+ }, {
6189
+ readonly name: "protocolFeeBps";
6190
+ readonly type: "uint256";
6191
+ readonly internalType: "uint256";
6192
+ }, {
6193
+ readonly name: "priceOracle";
6194
+ readonly type: "address";
6195
+ readonly internalType: "address";
6196
+ }];
6197
+ }, {
6198
+ readonly name: "peerChains";
6199
+ readonly type: "bytes[]";
6200
+ readonly internalType: "bytes[]";
6201
+ }, {
6202
+ readonly name: "relayer";
6203
+ readonly type: "address";
6204
+ readonly internalType: "address";
6205
+ }];
6206
+ readonly outputs: readonly [];
6207
+ readonly stateMutability: "nonpayable";
6028
6208
  }, {
6029
6209
  readonly type: "function";
6030
6210
  readonly name: "instance";
@@ -6039,6 +6219,16 @@ declare const ABI: readonly [{
6039
6219
  readonly internalType: "address";
6040
6220
  }];
6041
6221
  readonly stateMutability: "view";
6222
+ }, {
6223
+ readonly type: "function";
6224
+ readonly name: "migrate";
6225
+ readonly inputs: readonly [{
6226
+ readonly name: "relayer";
6227
+ readonly type: "address";
6228
+ readonly internalType: "address";
6229
+ }];
6230
+ readonly outputs: readonly [];
6231
+ readonly stateMutability: "nonpayable";
6042
6232
  }, {
6043
6233
  readonly type: "function";
6044
6234
  readonly name: "onAccept";
@@ -6434,7 +6624,7 @@ declare const ABI: readonly [{
6434
6624
  readonly type: "uint256";
6435
6625
  readonly internalType: "uint256";
6436
6626
  }];
6437
- readonly stateMutability: "view";
6627
+ readonly stateMutability: "nonpayable";
6438
6628
  }, {
6439
6629
  readonly type: "function";
6440
6630
  readonly name: "quote";
@@ -6477,6 +6667,16 @@ declare const ABI: readonly [{
6477
6667
  readonly type: "uint256";
6478
6668
  readonly internalType: "uint256";
6479
6669
  }];
6670
+ readonly stateMutability: "nonpayable";
6671
+ }, {
6672
+ readonly type: "function";
6673
+ readonly name: "relayer";
6674
+ readonly inputs: readonly [];
6675
+ readonly outputs: readonly [{
6676
+ readonly name: "";
6677
+ readonly type: "address";
6678
+ readonly internalType: "address";
6679
+ }];
6480
6680
  readonly stateMutability: "view";
6481
6681
  }, {
6482
6682
  readonly type: "function";
@@ -6507,52 +6707,53 @@ declare const ABI: readonly [{
6507
6707
  readonly stateMutability: "nonpayable";
6508
6708
  }, {
6509
6709
  readonly type: "function";
6510
- readonly name: "init";
6710
+ readonly name: "setRelayer";
6511
6711
  readonly inputs: readonly [{
6512
- readonly name: "p";
6513
- readonly type: "tuple";
6514
- readonly internalType: "struct Params";
6515
- readonly components: readonly [{
6516
- readonly name: "host";
6517
- readonly type: "address";
6518
- readonly internalType: "address";
6519
- }, {
6520
- readonly name: "dispatcher";
6521
- readonly type: "address";
6522
- readonly internalType: "address";
6523
- }, {
6524
- readonly name: "solverSelection";
6525
- readonly type: "bool";
6526
- readonly internalType: "bool";
6527
- }, {
6528
- readonly name: "surplusShareBps";
6529
- readonly type: "uint256";
6530
- readonly internalType: "uint256";
6531
- }, {
6532
- readonly name: "protocolFeeBps";
6533
- readonly type: "uint256";
6534
- readonly internalType: "uint256";
6535
- }, {
6536
- readonly name: "priceOracle";
6537
- readonly type: "address";
6538
- readonly internalType: "address";
6539
- }];
6712
+ readonly name: "relayer";
6713
+ readonly type: "address";
6714
+ readonly internalType: "address";
6715
+ }];
6716
+ readonly outputs: readonly [];
6717
+ readonly stateMutability: "nonpayable";
6718
+ }, {
6719
+ readonly type: "function";
6720
+ readonly name: "upgradeToAndCall";
6721
+ readonly inputs: readonly [{
6722
+ readonly name: "newImplementation";
6723
+ readonly type: "address";
6724
+ readonly internalType: "address";
6540
6725
  }, {
6541
- readonly name: "deployments";
6542
- readonly type: "tuple[]";
6543
- readonly internalType: "struct Deployment[]";
6544
- readonly components: readonly [{
6545
- readonly name: "chain";
6546
- readonly type: "bytes";
6547
- readonly internalType: "bytes";
6548
- }, {
6549
- readonly name: "gateway";
6550
- readonly type: "address";
6551
- readonly internalType: "address";
6552
- }];
6726
+ readonly name: "data";
6727
+ readonly type: "bytes";
6728
+ readonly internalType: "bytes";
6553
6729
  }];
6554
6730
  readonly outputs: readonly [];
6555
6731
  readonly stateMutability: "nonpayable";
6732
+ }, {
6733
+ readonly type: "function";
6734
+ readonly name: "version";
6735
+ readonly inputs: readonly [];
6736
+ readonly outputs: readonly [{
6737
+ readonly name: "";
6738
+ readonly type: "uint64";
6739
+ readonly internalType: "uint64";
6740
+ }];
6741
+ readonly stateMutability: "view";
6742
+ }, {
6743
+ readonly type: "event";
6744
+ readonly name: "DeploymentAdded";
6745
+ readonly inputs: readonly [{
6746
+ readonly name: "chain";
6747
+ readonly type: "string";
6748
+ readonly indexed: false;
6749
+ readonly internalType: "string";
6750
+ }, {
6751
+ readonly name: "gateway";
6752
+ readonly type: "address";
6753
+ readonly indexed: false;
6754
+ readonly internalType: "address";
6755
+ }];
6756
+ readonly anonymous: false;
6556
6757
  }, {
6557
6758
  readonly type: "event";
6558
6759
  readonly name: "DestinationProtocolFeeUpdated";
@@ -6658,14 +6859,24 @@ declare const ABI: readonly [{
6658
6859
  readonly anonymous: false;
6659
6860
  }, {
6660
6861
  readonly type: "event";
6661
- readonly name: "DeploymentAdded";
6862
+ readonly name: "Initialized";
6662
6863
  readonly inputs: readonly [{
6663
- readonly name: "chain";
6664
- readonly type: "string";
6864
+ readonly name: "version";
6865
+ readonly type: "uint64";
6665
6866
  readonly indexed: false;
6666
- readonly internalType: "string";
6867
+ readonly internalType: "uint64";
6868
+ }];
6869
+ readonly anonymous: false;
6870
+ }, {
6871
+ readonly type: "event";
6872
+ readonly name: "OrderCancelled";
6873
+ readonly inputs: readonly [{
6874
+ readonly name: "commitment";
6875
+ readonly type: "bytes32";
6876
+ readonly indexed: true;
6877
+ readonly internalType: "bytes32";
6667
6878
  }, {
6668
- readonly name: "gateway";
6879
+ readonly name: "canceller";
6669
6880
  readonly type: "address";
6670
6881
  readonly indexed: false;
6671
6882
  readonly internalType: "address";
@@ -6924,13 +7135,42 @@ declare const ABI: readonly [{
6924
7135
  }];
6925
7136
  }];
6926
7137
  readonly anonymous: false;
7138
+ }, {
7139
+ readonly type: "event";
7140
+ readonly name: "RelayerUpdated";
7141
+ readonly inputs: readonly [{
7142
+ readonly name: "previous";
7143
+ readonly type: "address";
7144
+ readonly indexed: false;
7145
+ readonly internalType: "address";
7146
+ }, {
7147
+ readonly name: "current";
7148
+ readonly type: "address";
7149
+ readonly indexed: false;
7150
+ readonly internalType: "address";
7151
+ }];
7152
+ readonly anonymous: false;
7153
+ }, {
7154
+ readonly type: "event";
7155
+ readonly name: "Upgraded";
7156
+ readonly inputs: readonly [{
7157
+ readonly name: "implementation";
7158
+ readonly type: "address";
7159
+ readonly indexed: true;
7160
+ readonly internalType: "address";
7161
+ }];
7162
+ readonly anonymous: false;
6927
7163
  }, {
6928
7164
  readonly type: "error";
6929
- readonly name: "Cancelled";
6930
- readonly inputs: readonly [];
7165
+ readonly name: "AddressEmptyCode";
7166
+ readonly inputs: readonly [{
7167
+ readonly name: "target";
7168
+ readonly type: "address";
7169
+ readonly internalType: "address";
7170
+ }];
6931
7171
  }, {
6932
7172
  readonly type: "error";
6933
- readonly name: "UnknownInstance";
7173
+ readonly name: "Cancelled";
6934
7174
  readonly inputs: readonly [];
6935
7175
  }, {
6936
7176
  readonly type: "error";
@@ -6952,10 +7192,30 @@ declare const ABI: readonly [{
6952
7192
  readonly type: "bytes32";
6953
7193
  readonly internalType: "bytes32";
6954
7194
  }];
7195
+ }, {
7196
+ readonly type: "error";
7197
+ readonly name: "ERC1967InvalidImplementation";
7198
+ readonly inputs: readonly [{
7199
+ readonly name: "implementation";
7200
+ readonly type: "address";
7201
+ readonly internalType: "address";
7202
+ }];
7203
+ }, {
7204
+ readonly type: "error";
7205
+ readonly name: "ERC1967NonPayable";
7206
+ readonly inputs: readonly [];
6955
7207
  }, {
6956
7208
  readonly type: "error";
6957
7209
  readonly name: "Expired";
6958
7210
  readonly inputs: readonly [];
7211
+ }, {
7212
+ readonly type: "error";
7213
+ readonly name: "FailedCall";
7214
+ readonly inputs: readonly [];
7215
+ }, {
7216
+ readonly type: "error";
7217
+ readonly name: "FillExpired";
7218
+ readonly inputs: readonly [];
6959
7219
  }, {
6960
7220
  readonly type: "error";
6961
7221
  readonly name: "Filled";
@@ -6964,6 +7224,10 @@ declare const ABI: readonly [{
6964
7224
  readonly type: "error";
6965
7225
  readonly name: "InsufficientNativeToken";
6966
7226
  readonly inputs: readonly [];
7227
+ }, {
7228
+ readonly type: "error";
7229
+ readonly name: "InvalidInitialization";
7230
+ readonly inputs: readonly [];
6967
7231
  }, {
6968
7232
  readonly type: "error";
6969
7233
  readonly name: "InvalidInput";
@@ -6976,6 +7240,18 @@ declare const ABI: readonly [{
6976
7240
  readonly type: "error";
6977
7241
  readonly name: "NotExpired";
6978
7242
  readonly inputs: readonly [];
7243
+ }, {
7244
+ readonly type: "error";
7245
+ readonly name: "NotInitializing";
7246
+ readonly inputs: readonly [];
7247
+ }, {
7248
+ readonly type: "error";
7249
+ readonly name: "PartialFillNotAllowed";
7250
+ readonly inputs: readonly [];
7251
+ }, {
7252
+ readonly type: "error";
7253
+ readonly name: "ReentrancyGuardReentrantCall";
7254
+ readonly inputs: readonly [];
6979
7255
  }, {
6980
7256
  readonly type: "error";
6981
7257
  readonly name: "SafeERC20FailedOperation";
@@ -7004,6 +7280,10 @@ declare const ABI: readonly [{
7004
7280
  readonly type: "error";
7005
7281
  readonly name: "UnexpectedCall";
7006
7282
  readonly inputs: readonly [];
7283
+ }, {
7284
+ readonly type: "error";
7285
+ readonly name: "UnknownInstance";
7286
+ readonly inputs: readonly [];
7007
7287
  }, {
7008
7288
  readonly type: "error";
7009
7289
  readonly name: "UnknownOrder";
@@ -7017,7 +7297,7 @@ declare const _default: {
7017
7297
  ABI: readonly [{
7018
7298
  readonly type: "constructor";
7019
7299
  readonly inputs: readonly [{
7020
- readonly name: "admin";
7300
+ readonly name: "owner";
7021
7301
  readonly type: "address";
7022
7302
  readonly internalType: "address";
7023
7303
  }];
@@ -7073,20 +7353,6 @@ declare const _default: {
7073
7353
  readonly internalType: "address";
7074
7354
  }];
7075
7355
  readonly stateMutability: "view";
7076
- }, {
7077
- readonly type: "function";
7078
- readonly name: "_instances";
7079
- readonly inputs: readonly [{
7080
- readonly name: "";
7081
- readonly type: "bytes32";
7082
- readonly internalType: "bytes32";
7083
- }];
7084
- readonly outputs: readonly [{
7085
- readonly name: "";
7086
- readonly type: "address";
7087
- readonly internalType: "address";
7088
- }];
7089
- readonly stateMutability: "view";
7090
7356
  }, {
7091
7357
  readonly type: "function";
7092
7358
  readonly name: "_nonce";
@@ -7115,6 +7381,16 @@ declare const _default: {
7115
7381
  readonly internalType: "uint256";
7116
7382
  }];
7117
7383
  readonly stateMutability: "view";
7384
+ }, {
7385
+ readonly type: "function";
7386
+ readonly name: "_owner";
7387
+ readonly inputs: readonly [];
7388
+ readonly outputs: readonly [{
7389
+ readonly name: "";
7390
+ readonly type: "address";
7391
+ readonly internalType: "address";
7392
+ }];
7393
+ readonly stateMutability: "view";
7118
7394
  }, {
7119
7395
  readonly type: "function";
7120
7396
  readonly name: "_partialFills";
@@ -7434,6 +7710,49 @@ declare const _default: {
7434
7710
  readonly internalType: "address";
7435
7711
  }];
7436
7712
  readonly stateMutability: "view";
7713
+ }, {
7714
+ readonly type: "function";
7715
+ readonly name: "initialize";
7716
+ readonly inputs: readonly [{
7717
+ readonly name: "p";
7718
+ readonly type: "tuple";
7719
+ readonly internalType: "struct Params";
7720
+ readonly components: readonly [{
7721
+ readonly name: "host";
7722
+ readonly type: "address";
7723
+ readonly internalType: "address";
7724
+ }, {
7725
+ readonly name: "dispatcher";
7726
+ readonly type: "address";
7727
+ readonly internalType: "address";
7728
+ }, {
7729
+ readonly name: "solverSelection";
7730
+ readonly type: "bool";
7731
+ readonly internalType: "bool";
7732
+ }, {
7733
+ readonly name: "surplusShareBps";
7734
+ readonly type: "uint256";
7735
+ readonly internalType: "uint256";
7736
+ }, {
7737
+ readonly name: "protocolFeeBps";
7738
+ readonly type: "uint256";
7739
+ readonly internalType: "uint256";
7740
+ }, {
7741
+ readonly name: "priceOracle";
7742
+ readonly type: "address";
7743
+ readonly internalType: "address";
7744
+ }];
7745
+ }, {
7746
+ readonly name: "peerChains";
7747
+ readonly type: "bytes[]";
7748
+ readonly internalType: "bytes[]";
7749
+ }, {
7750
+ readonly name: "relayer";
7751
+ readonly type: "address";
7752
+ readonly internalType: "address";
7753
+ }];
7754
+ readonly outputs: readonly [];
7755
+ readonly stateMutability: "nonpayable";
7437
7756
  }, {
7438
7757
  readonly type: "function";
7439
7758
  readonly name: "instance";
@@ -7448,6 +7767,16 @@ declare const _default: {
7448
7767
  readonly internalType: "address";
7449
7768
  }];
7450
7769
  readonly stateMutability: "view";
7770
+ }, {
7771
+ readonly type: "function";
7772
+ readonly name: "migrate";
7773
+ readonly inputs: readonly [{
7774
+ readonly name: "relayer";
7775
+ readonly type: "address";
7776
+ readonly internalType: "address";
7777
+ }];
7778
+ readonly outputs: readonly [];
7779
+ readonly stateMutability: "nonpayable";
7451
7780
  }, {
7452
7781
  readonly type: "function";
7453
7782
  readonly name: "onAccept";
@@ -7843,7 +8172,7 @@ declare const _default: {
7843
8172
  readonly type: "uint256";
7844
8173
  readonly internalType: "uint256";
7845
8174
  }];
7846
- readonly stateMutability: "view";
8175
+ readonly stateMutability: "nonpayable";
7847
8176
  }, {
7848
8177
  readonly type: "function";
7849
8178
  readonly name: "quote";
@@ -7886,6 +8215,16 @@ declare const _default: {
7886
8215
  readonly type: "uint256";
7887
8216
  readonly internalType: "uint256";
7888
8217
  }];
8218
+ readonly stateMutability: "nonpayable";
8219
+ }, {
8220
+ readonly type: "function";
8221
+ readonly name: "relayer";
8222
+ readonly inputs: readonly [];
8223
+ readonly outputs: readonly [{
8224
+ readonly name: "";
8225
+ readonly type: "address";
8226
+ readonly internalType: "address";
8227
+ }];
7889
8228
  readonly stateMutability: "view";
7890
8229
  }, {
7891
8230
  readonly type: "function";
@@ -7916,52 +8255,53 @@ declare const _default: {
7916
8255
  readonly stateMutability: "nonpayable";
7917
8256
  }, {
7918
8257
  readonly type: "function";
7919
- readonly name: "init";
8258
+ readonly name: "setRelayer";
7920
8259
  readonly inputs: readonly [{
7921
- readonly name: "p";
7922
- readonly type: "tuple";
7923
- readonly internalType: "struct Params";
7924
- readonly components: readonly [{
7925
- readonly name: "host";
7926
- readonly type: "address";
7927
- readonly internalType: "address";
7928
- }, {
7929
- readonly name: "dispatcher";
7930
- readonly type: "address";
7931
- readonly internalType: "address";
7932
- }, {
7933
- readonly name: "solverSelection";
7934
- readonly type: "bool";
7935
- readonly internalType: "bool";
7936
- }, {
7937
- readonly name: "surplusShareBps";
7938
- readonly type: "uint256";
7939
- readonly internalType: "uint256";
7940
- }, {
7941
- readonly name: "protocolFeeBps";
7942
- readonly type: "uint256";
7943
- readonly internalType: "uint256";
7944
- }, {
7945
- readonly name: "priceOracle";
7946
- readonly type: "address";
7947
- readonly internalType: "address";
7948
- }];
8260
+ readonly name: "relayer";
8261
+ readonly type: "address";
8262
+ readonly internalType: "address";
8263
+ }];
8264
+ readonly outputs: readonly [];
8265
+ readonly stateMutability: "nonpayable";
8266
+ }, {
8267
+ readonly type: "function";
8268
+ readonly name: "upgradeToAndCall";
8269
+ readonly inputs: readonly [{
8270
+ readonly name: "newImplementation";
8271
+ readonly type: "address";
8272
+ readonly internalType: "address";
7949
8273
  }, {
7950
- readonly name: "deployments";
7951
- readonly type: "tuple[]";
7952
- readonly internalType: "struct Deployment[]";
7953
- readonly components: readonly [{
7954
- readonly name: "chain";
7955
- readonly type: "bytes";
7956
- readonly internalType: "bytes";
7957
- }, {
7958
- readonly name: "gateway";
7959
- readonly type: "address";
7960
- readonly internalType: "address";
7961
- }];
8274
+ readonly name: "data";
8275
+ readonly type: "bytes";
8276
+ readonly internalType: "bytes";
7962
8277
  }];
7963
8278
  readonly outputs: readonly [];
7964
8279
  readonly stateMutability: "nonpayable";
8280
+ }, {
8281
+ readonly type: "function";
8282
+ readonly name: "version";
8283
+ readonly inputs: readonly [];
8284
+ readonly outputs: readonly [{
8285
+ readonly name: "";
8286
+ readonly type: "uint64";
8287
+ readonly internalType: "uint64";
8288
+ }];
8289
+ readonly stateMutability: "view";
8290
+ }, {
8291
+ readonly type: "event";
8292
+ readonly name: "DeploymentAdded";
8293
+ readonly inputs: readonly [{
8294
+ readonly name: "chain";
8295
+ readonly type: "string";
8296
+ readonly indexed: false;
8297
+ readonly internalType: "string";
8298
+ }, {
8299
+ readonly name: "gateway";
8300
+ readonly type: "address";
8301
+ readonly indexed: false;
8302
+ readonly internalType: "address";
8303
+ }];
8304
+ readonly anonymous: false;
7965
8305
  }, {
7966
8306
  readonly type: "event";
7967
8307
  readonly name: "DestinationProtocolFeeUpdated";
@@ -8067,14 +8407,24 @@ declare const _default: {
8067
8407
  readonly anonymous: false;
8068
8408
  }, {
8069
8409
  readonly type: "event";
8070
- readonly name: "DeploymentAdded";
8410
+ readonly name: "Initialized";
8071
8411
  readonly inputs: readonly [{
8072
- readonly name: "chain";
8073
- readonly type: "string";
8412
+ readonly name: "version";
8413
+ readonly type: "uint64";
8074
8414
  readonly indexed: false;
8075
- readonly internalType: "string";
8415
+ readonly internalType: "uint64";
8416
+ }];
8417
+ readonly anonymous: false;
8418
+ }, {
8419
+ readonly type: "event";
8420
+ readonly name: "OrderCancelled";
8421
+ readonly inputs: readonly [{
8422
+ readonly name: "commitment";
8423
+ readonly type: "bytes32";
8424
+ readonly indexed: true;
8425
+ readonly internalType: "bytes32";
8076
8426
  }, {
8077
- readonly name: "gateway";
8427
+ readonly name: "canceller";
8078
8428
  readonly type: "address";
8079
8429
  readonly indexed: false;
8080
8430
  readonly internalType: "address";
@@ -8333,13 +8683,42 @@ declare const _default: {
8333
8683
  }];
8334
8684
  }];
8335
8685
  readonly anonymous: false;
8686
+ }, {
8687
+ readonly type: "event";
8688
+ readonly name: "RelayerUpdated";
8689
+ readonly inputs: readonly [{
8690
+ readonly name: "previous";
8691
+ readonly type: "address";
8692
+ readonly indexed: false;
8693
+ readonly internalType: "address";
8694
+ }, {
8695
+ readonly name: "current";
8696
+ readonly type: "address";
8697
+ readonly indexed: false;
8698
+ readonly internalType: "address";
8699
+ }];
8700
+ readonly anonymous: false;
8701
+ }, {
8702
+ readonly type: "event";
8703
+ readonly name: "Upgraded";
8704
+ readonly inputs: readonly [{
8705
+ readonly name: "implementation";
8706
+ readonly type: "address";
8707
+ readonly indexed: true;
8708
+ readonly internalType: "address";
8709
+ }];
8710
+ readonly anonymous: false;
8336
8711
  }, {
8337
8712
  readonly type: "error";
8338
- readonly name: "Cancelled";
8339
- readonly inputs: readonly [];
8713
+ readonly name: "AddressEmptyCode";
8714
+ readonly inputs: readonly [{
8715
+ readonly name: "target";
8716
+ readonly type: "address";
8717
+ readonly internalType: "address";
8718
+ }];
8340
8719
  }, {
8341
8720
  readonly type: "error";
8342
- readonly name: "UnknownInstance";
8721
+ readonly name: "Cancelled";
8343
8722
  readonly inputs: readonly [];
8344
8723
  }, {
8345
8724
  readonly type: "error";
@@ -8361,10 +8740,30 @@ declare const _default: {
8361
8740
  readonly type: "bytes32";
8362
8741
  readonly internalType: "bytes32";
8363
8742
  }];
8743
+ }, {
8744
+ readonly type: "error";
8745
+ readonly name: "ERC1967InvalidImplementation";
8746
+ readonly inputs: readonly [{
8747
+ readonly name: "implementation";
8748
+ readonly type: "address";
8749
+ readonly internalType: "address";
8750
+ }];
8751
+ }, {
8752
+ readonly type: "error";
8753
+ readonly name: "ERC1967NonPayable";
8754
+ readonly inputs: readonly [];
8364
8755
  }, {
8365
8756
  readonly type: "error";
8366
8757
  readonly name: "Expired";
8367
8758
  readonly inputs: readonly [];
8759
+ }, {
8760
+ readonly type: "error";
8761
+ readonly name: "FailedCall";
8762
+ readonly inputs: readonly [];
8763
+ }, {
8764
+ readonly type: "error";
8765
+ readonly name: "FillExpired";
8766
+ readonly inputs: readonly [];
8368
8767
  }, {
8369
8768
  readonly type: "error";
8370
8769
  readonly name: "Filled";
@@ -8373,6 +8772,10 @@ declare const _default: {
8373
8772
  readonly type: "error";
8374
8773
  readonly name: "InsufficientNativeToken";
8375
8774
  readonly inputs: readonly [];
8775
+ }, {
8776
+ readonly type: "error";
8777
+ readonly name: "InvalidInitialization";
8778
+ readonly inputs: readonly [];
8376
8779
  }, {
8377
8780
  readonly type: "error";
8378
8781
  readonly name: "InvalidInput";
@@ -8385,6 +8788,18 @@ declare const _default: {
8385
8788
  readonly type: "error";
8386
8789
  readonly name: "NotExpired";
8387
8790
  readonly inputs: readonly [];
8791
+ }, {
8792
+ readonly type: "error";
8793
+ readonly name: "NotInitializing";
8794
+ readonly inputs: readonly [];
8795
+ }, {
8796
+ readonly type: "error";
8797
+ readonly name: "PartialFillNotAllowed";
8798
+ readonly inputs: readonly [];
8799
+ }, {
8800
+ readonly type: "error";
8801
+ readonly name: "ReentrancyGuardReentrantCall";
8802
+ readonly inputs: readonly [];
8388
8803
  }, {
8389
8804
  readonly type: "error";
8390
8805
  readonly name: "SafeERC20FailedOperation";
@@ -8413,6 +8828,10 @@ declare const _default: {
8413
8828
  readonly type: "error";
8414
8829
  readonly name: "UnexpectedCall";
8415
8830
  readonly inputs: readonly [];
8831
+ }, {
8832
+ readonly type: "error";
8833
+ readonly name: "UnknownInstance";
8834
+ readonly inputs: readonly [];
8416
8835
  }, {
8417
8836
  readonly type: "error";
8418
8837
  readonly name: "UnknownOrder";
@@ -8424,4 +8843,4 @@ declare const _default: {
8424
8843
  }];
8425
8844
  };
8426
8845
 
8427
- export { type DecodedPostResponseEvent as $, type AssetTeleported as A, type BuyAndSellRates as B, ChainConfigService as C, type SubmitBidOptions as D, type EstimateGasCallData as E, type PackedUserOperation as F, type GetRequestWithStatus as G, type HexString$2 as H, type IChain as I, type FillerBid as J, type Bid as K, type EstimateFillOrderParams as L, type FillOrderEstimate as M, type OrderFeesQuote as N, type Order as O, type PostRequestWithStatus as P, type QueryBuyAndSellRatesParams as Q, type RetryConfig as R, type StateMachineIdParams as S, type Transaction as T, type ERC7821Call as U, type OrderWithStatus as V, OrderStatus as W, type TokenGatewayAssetTeleportedWithStatus as X, TeleportStatus as Y, type DecodedOrderPlacedLog as Z, type DecodedPostRequestEvent as _, type IEvmConfig as a, type RequestCommitment as a$, type AllStatusKey as a0, type AssetTeleportedResponse as a1, type BidStorageEntry as a2, type BidSubmissionResult as a3, type BlockMetadata as a4, type BytesLikeHex as a5, CHAINS_WITHOUT_VALID_UNTIL as a6, type CancelOptions as a7, type ChainConfig as a8, type ChainConfigData as a9, type IPostResponse as aA, type IRequestMessage as aB, type ISubstrateConfig as aC, type ITimeoutPostRequestMessage as aD, ABI as aE, type IntentGatewayParams as aF, IntentOrderStatus as aG, type IntentOrderStatusKey as aH, type IsmpRequest as aI, LEGACY_FILL_OPTIONS_IMPLEMENTATIONS as aJ, type LiquiditySlice as aK, type OrderResponse as aL, type OrderStatusMetadata as aM, PHANTOM_QUOTE_HAIRCUT_BPS as aN, type PaymentInfo as aO, type PhantomBid as aP, type PhantomBidBatchResult as aQ, type PhantomBidDeclaration as aR, type PhantomBidOutcome as aS, type PhantomOrderEvent as aT, type PhantomOrderLeg as aU, type PhantomOrderPriceSnapshot as aV, type PhantomOrderPriceSnapshotsResponse as aW, type PhantomTimings as aX, type PollPhantomOrdersOptions as aY, type PostRequestStatus as aZ, type RequestBody as a_, type ConfiguredAssetSymbolInput as aa, type Deployment as ab, type DispatchGet as ac, type DispatchInfo as ad, type DispatchPost as ae, type Erc4626VaultConfigData as af, type ExecuteIntentOrderOptions as ag, type ExecutionResult as ah, FILL_ORDER_V1_ABI as ai, type FillOptions as aj, type FillOptionsVersion as ak, type FillerConfig as al, type GetRequestResponse as am, type GetResponseByRequestIdResponse as an, type GetResponseStorageValues as ao, type HostParams as ap, HyperClientStatus as aq, type IBatchConsensusAndGetResponseMessage as ar, type IBatchConsensusAndPostRequestMessage as as, type IConfig as at, type IConsensusMessage as au, type IGetRequestMessage as av, type IGetResponse as aw, type IGetResponseMessage as ax, type IHyperbridgeConfig as ay, INCLUSION_TIMEOUT_MS as az, type IMessage as b, type OrderCommitmentFn as b$, RequestKind as b0, type RequestResponse as b1, RequestStatus as b2, type RequestStatusKey as b3, type SelectOptions as b4, type SigningAccount as b5, type StateMachineId as b6, type StateMachineResponse as b7, type StorageFacade as b8, TimeoutStatus as b9, encodeISMPMessage as bA, encodePhantomBidDeclaration as bB, encodeUserOpScale as bC, getChainId as bD, getConfigByStateMachineId as bE, getFillOptionsVersion as bF, getViemChain as bG, hyperbridgeAddress as bH, pharosAtlantic as bI, pharosMainnet as bJ, polkadotAssetHubPaseo as bK, polkadotHubMainnet as bL, poolSlug as bM, resetFillOptionsVersionCache as bN, sortPoolSymbols as bO, tronChainIds as bP, tronNile as bQ, type AggregationLogger as bR, type BidNonceKeyFn as bS, type BidSignature as bT, ENTRY_POINT_V08_ADDRESS as bU, FILL_ORDER_ABI as bV, type FetchLike as bW, type FillData as bX, type HexString as bY, _default as bZ, type LpBalance as b_, type TimeoutStatusKey as ba, type TokenGatewayAssetTeleportedResponse as bb, type TokenInfo as bc, type TokenPrice as bd, type TokenPricesResponse as be, UNISWAP_QUOTE_HAIRCUT_BPS as bf, type UniswapV4PoolConfigData as bg, applyPhantomQuoteHaircut as bh, applyUniswapQuoteHaircut as bi, chainConfigs as bj, convertCodecToIGetRequest as bk, convertCodecToIProof as bl, convertIGetRequestToCodec as bm, convertIProofToCodec as bn, convertStateIdToStateMachineId as bo, convertStateMachineEnumToString as bp, convertStateMachineIdToEnum as bq, decodeAcceptedSourceChains as br, decodeERC7821ExecuteBatch as bs, decodeFillOrder as bt, decodePhantomBidDeclaration as bu, decodeUserOpScale as bv, deriveHttpUrl as bw, encodeAcceptedSourceChains as bx, encodeERC7821ExecuteBatch as by, encodeFillOrder as bz, type StateMachineHeight as c, type PhantomAggregation as c0, type PhantomLegAggregation as c1, type PhantomLegBidder as c2, type PoolAndPositionInfo as c3, type RecoverBidSigner as c4, type RpcBidInfo as c5, type SolverBalanceReader as c6, type SolverV4Position as c7, type UniswapV4Contracts as c8, type V4PositionState as c9, type YieldVaultMap as ca, aggregatePhantomBids as cb, extractFillData as cc, fetchBidsForOrder as cd, getTotalSolverBalance as ce, memoizedSolverBalance as cf, orderCommitmentFromDecoded as cg, positionAmountOfToken as ch, readV4Position as ci, recoverBidSignerViem as cj, setAggregationFetch as ck, splitBidSignature as cl, weightedMedian as cm, zipFillLegs as cn, type IIsmpMessage as d, type IPostRequest as e, type IGetRequest as f, type IPolkadotHubConfig as g, type IPharosConfig as h, type StateMachineUpdate as i, type ResponseCommitmentWithValues as j, type RequestStatusWithMetadata as k, type PostRequestTimeoutStatus as l, SubstrateChain as m, type ClientConfig as n, type IndexerQueryClient as o, type IProof as p, type IEvmChain as q, IntentsCoprocessor as r, Chains as s, type ConfiguredAssetSymbol as t, type AvailableLiquidity as u, type IntentOrderStatusUpdate as v, type SelectBidResult as w, type ResumeIntentOrderOptions as x, type CancelOrderOptions as y, type CancelQuote as z };
8846
+ export { type DecodedPostResponseEvent as $, type AssetTeleported as A, type BuyAndSellRates as B, ChainConfigService as C, type SubmitBidOptions as D, type EstimateGasCallData as E, type PackedUserOperation as F, type GetRequestWithStatus as G, type HexString$2 as H, type IChain as I, type FillerBid as J, type Bid as K, type EstimateFillOrderParams as L, type FillOrderEstimate as M, type OrderFeesQuote as N, type Order as O, type PostRequestWithStatus as P, type QueryBuyAndSellRatesParams as Q, type RetryConfig as R, type StateMachineIdParams as S, type Transaction as T, type ERC7821Call as U, type OrderWithStatus as V, OrderStatus as W, type TokenGatewayAssetTeleportedWithStatus as X, TeleportStatus as Y, type DecodedOrderPlacedLog as Z, type DecodedPostRequestEvent as _, type IEvmConfig as a, RequestKind as a$, type AllStatusKey as a0, type AssetTeleportedResponse as a1, type BidStorageEntry as a2, type BidSubmissionResult as a3, type BlockMetadata as a4, type BytesLikeHex as a5, CHAINS_WITHOUT_VALID_UNTIL as a6, type CancelOptions as a7, type ChainConfig as a8, type ChainConfigData as a9, type IPostResponse as aA, type IRequestMessage as aB, type ISubstrateConfig as aC, type ITimeoutPostRequestMessage as aD, ABI as aE, type IntentGatewayParams as aF, IntentOrderStatus as aG, type IntentOrderStatusKey as aH, type IsmpRequest as aI, LEGACY_FILL_OPTIONS_IMPLEMENTATIONS as aJ, type LiquiditySlice as aK, type OrderResponse as aL, type OrderStatusMetadata as aM, type PaymentInfo as aN, type PhantomBid as aO, type PhantomBidBatchResult as aP, type PhantomBidDeclaration as aQ, type PhantomBidOutcome as aR, type PhantomOrderEvent as aS, type PhantomOrderLeg as aT, type PhantomOrderPriceSnapshot as aU, type PhantomOrderPriceSnapshotsResponse as aV, type PhantomTimings as aW, type PollPhantomOrdersOptions as aX, type PostRequestStatus as aY, type RequestBody as aZ, type RequestCommitment as a_, type ConfiguredAssetSymbolInput as aa, type Deployment as ab, type DispatchGet as ac, type DispatchInfo as ad, type DispatchPost as ae, type Erc4626VaultConfigData as af, type ExecuteIntentOrderOptions as ag, type ExecutionResult as ah, FILL_ORDER_V1_ABI as ai, type FillOptions as aj, type FillOptionsVersion as ak, type FillerConfig as al, type GetRequestResponse as am, type GetResponseByRequestIdResponse as an, type GetResponseStorageValues as ao, type HostParams as ap, HyperClientStatus as aq, type IBatchConsensusAndGetResponseMessage as ar, type IBatchConsensusAndPostRequestMessage as as, type IConfig as at, type IConsensusMessage as au, type IGetRequestMessage as av, type IGetResponse as aw, type IGetResponseMessage as ax, type IHyperbridgeConfig as ay, INCLUSION_TIMEOUT_MS as az, type IMessage as b, type OrderCommitmentFn as b$, type RequestResponse as b0, RequestStatus as b1, type RequestStatusKey as b2, type SelectOptions as b3, type SigningAccount as b4, type StateMachineId as b5, type StateMachineResponse as b6, type StorageFacade as b7, TimeoutStatus as b8, type TimeoutStatusKey as b9, encodePhantomBidDeclaration as bA, encodeUserOpScale as bB, getChainId as bC, getConfigByStateMachineId as bD, getFillOptionsVersion as bE, getViemChain as bF, hyperbridgeAddress as bG, pharosAtlantic as bH, pharosMainnet as bI, polkadotAssetHubPaseo as bJ, polkadotHubMainnet as bK, poolSlug as bL, readProtocolFeeHaircutBps as bM, resetFillOptionsVersionCache as bN, sortPoolSymbols as bO, tronChainIds as bP, tronNile as bQ, type AggregationLogger as bR, type BidNonceKeyFn as bS, type BidSignature as bT, ENTRY_POINT_V08_ADDRESS as bU, FILL_ORDER_ABI as bV, type FetchLike as bW, type FillData as bX, type HexString as bY, _default as bZ, type LpBalance as b_, type TokenGatewayAssetTeleportedResponse as ba, type TokenInfo as bb, type TokenPrice as bc, type TokenPricesResponse as bd, UNISWAP_QUOTE_HAIRCUT_BPS as be, type UniswapV4PoolConfigData as bf, applyProtocolFeeHaircut as bg, applyUniswapQuoteHaircut as bh, chainConfigs as bi, convertCodecToIGetRequest as bj, convertCodecToIProof as bk, convertIGetRequestToCodec as bl, convertIProofToCodec as bm, convertStateIdToStateMachineId as bn, convertStateMachineEnumToString as bo, convertStateMachineIdToEnum as bp, decodeAcceptedSourceChains as bq, decodeERC7821ExecuteBatch as br, decodeFillOrder as bs, decodePhantomBidDeclaration as bt, decodeUserOpScale as bu, deriveHttpUrl as bv, encodeAcceptedSourceChains as bw, encodeERC7821ExecuteBatch as bx, encodeFillOrder as by, encodeISMPMessage as bz, type StateMachineHeight as c, type PhantomAggregation as c0, type PhantomLegAggregation as c1, type PhantomLegBidder as c2, type PoolAndPositionInfo as c3, type RecoverBidSigner as c4, type RpcBidInfo as c5, type SolverBalanceReader as c6, type SolverV4Position as c7, type UniswapV4Contracts as c8, type V4PositionState as c9, type YieldVaultMap as ca, aggregatePhantomBids as cb, extractFillData as cc, fetchBidsForOrder as cd, getTotalSolverBalance as ce, memoizedSolverBalance as cf, orderCommitmentFromDecoded as cg, positionAmountOfToken as ch, readV4Position as ci, recoverBidSignerViem as cj, setAggregationFetch as ck, splitBidSignature as cl, weightedMedian as cm, zipFillLegs as cn, type IIsmpMessage as d, type IPostRequest as e, type IGetRequest as f, type IPolkadotHubConfig as g, type IPharosConfig as h, type StateMachineUpdate as i, type ResponseCommitmentWithValues as j, type RequestStatusWithMetadata as k, type PostRequestTimeoutStatus as l, SubstrateChain as m, type ClientConfig as n, type IndexerQueryClient as o, type IProof as p, type IEvmChain as q, IntentsCoprocessor as r, Chains as s, type ConfiguredAssetSymbol as t, type AvailableLiquidity as u, type IntentOrderStatusUpdate as v, type SelectBidResult as w, type ResumeIntentOrderOptions as x, type CancelOrderOptions as y, type CancelQuote as z };