@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.
- package/dist/browser/index.d.ts +204 -65
- package/dist/browser/index.js +266 -88
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.cjs +266 -88
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.d.cts +2 -2
- package/dist/node/index.d.ts +2 -2
- package/dist/node/index.js +266 -88
- package/dist/node/index.js.map +1 -1
- package/dist/node/{intents-helpers-BKj42imQ.d.cts → intents-helpers-BRegx4yZ.d.cts} +624 -203
- package/dist/node/{intents-helpers-BKj42imQ.d.ts → intents-helpers-BRegx4yZ.d.ts} +624 -203
- package/dist/node/intents-helpers.cjs +274 -91
- package/dist/node/intents-helpers.cjs.map +1 -1
- package/dist/node/intents-helpers.d.cts +1 -1
- package/dist/node/intents-helpers.d.ts +1 -1
- package/dist/node/intents-helpers.js +274 -91
- package/dist/node/intents-helpers.js.map +1 -1
- package/package.json +1 -1
|
@@ -3882,7 +3882,7 @@ declare function setAggregationFetch(fetchImpl: FetchLike): void;
|
|
|
3882
3882
|
declare const FILL_ORDER_ABI: readonly [{
|
|
3883
3883
|
readonly type: "constructor";
|
|
3884
3884
|
readonly inputs: readonly [{
|
|
3885
|
-
readonly name: "
|
|
3885
|
+
readonly name: "owner";
|
|
3886
3886
|
readonly type: "address";
|
|
3887
3887
|
readonly internalType: "address";
|
|
3888
3888
|
}];
|
|
@@ -3938,20 +3938,6 @@ declare const FILL_ORDER_ABI: readonly [{
|
|
|
3938
3938
|
readonly internalType: "address";
|
|
3939
3939
|
}];
|
|
3940
3940
|
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
3941
|
}, {
|
|
3956
3942
|
readonly type: "function";
|
|
3957
3943
|
readonly name: "_nonce";
|
|
@@ -3980,6 +3966,16 @@ declare const FILL_ORDER_ABI: readonly [{
|
|
|
3980
3966
|
readonly internalType: "uint256";
|
|
3981
3967
|
}];
|
|
3982
3968
|
readonly stateMutability: "view";
|
|
3969
|
+
}, {
|
|
3970
|
+
readonly type: "function";
|
|
3971
|
+
readonly name: "_owner";
|
|
3972
|
+
readonly inputs: readonly [];
|
|
3973
|
+
readonly outputs: readonly [{
|
|
3974
|
+
readonly name: "";
|
|
3975
|
+
readonly type: "address";
|
|
3976
|
+
readonly internalType: "address";
|
|
3977
|
+
}];
|
|
3978
|
+
readonly stateMutability: "view";
|
|
3983
3979
|
}, {
|
|
3984
3980
|
readonly type: "function";
|
|
3985
3981
|
readonly name: "_partialFills";
|
|
@@ -4299,6 +4295,49 @@ declare const FILL_ORDER_ABI: readonly [{
|
|
|
4299
4295
|
readonly internalType: "address";
|
|
4300
4296
|
}];
|
|
4301
4297
|
readonly stateMutability: "view";
|
|
4298
|
+
}, {
|
|
4299
|
+
readonly type: "function";
|
|
4300
|
+
readonly name: "initialize";
|
|
4301
|
+
readonly inputs: readonly [{
|
|
4302
|
+
readonly name: "p";
|
|
4303
|
+
readonly type: "tuple";
|
|
4304
|
+
readonly internalType: "struct Params";
|
|
4305
|
+
readonly components: readonly [{
|
|
4306
|
+
readonly name: "host";
|
|
4307
|
+
readonly type: "address";
|
|
4308
|
+
readonly internalType: "address";
|
|
4309
|
+
}, {
|
|
4310
|
+
readonly name: "dispatcher";
|
|
4311
|
+
readonly type: "address";
|
|
4312
|
+
readonly internalType: "address";
|
|
4313
|
+
}, {
|
|
4314
|
+
readonly name: "solverSelection";
|
|
4315
|
+
readonly type: "bool";
|
|
4316
|
+
readonly internalType: "bool";
|
|
4317
|
+
}, {
|
|
4318
|
+
readonly name: "surplusShareBps";
|
|
4319
|
+
readonly type: "uint256";
|
|
4320
|
+
readonly internalType: "uint256";
|
|
4321
|
+
}, {
|
|
4322
|
+
readonly name: "protocolFeeBps";
|
|
4323
|
+
readonly type: "uint256";
|
|
4324
|
+
readonly internalType: "uint256";
|
|
4325
|
+
}, {
|
|
4326
|
+
readonly name: "priceOracle";
|
|
4327
|
+
readonly type: "address";
|
|
4328
|
+
readonly internalType: "address";
|
|
4329
|
+
}];
|
|
4330
|
+
}, {
|
|
4331
|
+
readonly name: "peerChains";
|
|
4332
|
+
readonly type: "bytes[]";
|
|
4333
|
+
readonly internalType: "bytes[]";
|
|
4334
|
+
}, {
|
|
4335
|
+
readonly name: "relayer";
|
|
4336
|
+
readonly type: "address";
|
|
4337
|
+
readonly internalType: "address";
|
|
4338
|
+
}];
|
|
4339
|
+
readonly outputs: readonly [];
|
|
4340
|
+
readonly stateMutability: "nonpayable";
|
|
4302
4341
|
}, {
|
|
4303
4342
|
readonly type: "function";
|
|
4304
4343
|
readonly name: "instance";
|
|
@@ -4313,6 +4352,16 @@ declare const FILL_ORDER_ABI: readonly [{
|
|
|
4313
4352
|
readonly internalType: "address";
|
|
4314
4353
|
}];
|
|
4315
4354
|
readonly stateMutability: "view";
|
|
4355
|
+
}, {
|
|
4356
|
+
readonly type: "function";
|
|
4357
|
+
readonly name: "migrate";
|
|
4358
|
+
readonly inputs: readonly [{
|
|
4359
|
+
readonly name: "relayer";
|
|
4360
|
+
readonly type: "address";
|
|
4361
|
+
readonly internalType: "address";
|
|
4362
|
+
}];
|
|
4363
|
+
readonly outputs: readonly [];
|
|
4364
|
+
readonly stateMutability: "nonpayable";
|
|
4316
4365
|
}, {
|
|
4317
4366
|
readonly type: "function";
|
|
4318
4367
|
readonly name: "onAccept";
|
|
@@ -4708,7 +4757,7 @@ declare const FILL_ORDER_ABI: readonly [{
|
|
|
4708
4757
|
readonly type: "uint256";
|
|
4709
4758
|
readonly internalType: "uint256";
|
|
4710
4759
|
}];
|
|
4711
|
-
readonly stateMutability: "
|
|
4760
|
+
readonly stateMutability: "nonpayable";
|
|
4712
4761
|
}, {
|
|
4713
4762
|
readonly type: "function";
|
|
4714
4763
|
readonly name: "quote";
|
|
@@ -4751,6 +4800,16 @@ declare const FILL_ORDER_ABI: readonly [{
|
|
|
4751
4800
|
readonly type: "uint256";
|
|
4752
4801
|
readonly internalType: "uint256";
|
|
4753
4802
|
}];
|
|
4803
|
+
readonly stateMutability: "nonpayable";
|
|
4804
|
+
}, {
|
|
4805
|
+
readonly type: "function";
|
|
4806
|
+
readonly name: "relayer";
|
|
4807
|
+
readonly inputs: readonly [];
|
|
4808
|
+
readonly outputs: readonly [{
|
|
4809
|
+
readonly name: "";
|
|
4810
|
+
readonly type: "address";
|
|
4811
|
+
readonly internalType: "address";
|
|
4812
|
+
}];
|
|
4754
4813
|
readonly stateMutability: "view";
|
|
4755
4814
|
}, {
|
|
4756
4815
|
readonly type: "function";
|
|
@@ -4781,52 +4840,53 @@ declare const FILL_ORDER_ABI: readonly [{
|
|
|
4781
4840
|
readonly stateMutability: "nonpayable";
|
|
4782
4841
|
}, {
|
|
4783
4842
|
readonly type: "function";
|
|
4784
|
-
readonly name: "
|
|
4843
|
+
readonly name: "setRelayer";
|
|
4785
4844
|
readonly inputs: readonly [{
|
|
4786
|
-
readonly name: "
|
|
4787
|
-
readonly type: "
|
|
4788
|
-
readonly internalType: "
|
|
4789
|
-
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
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
|
-
}];
|
|
4845
|
+
readonly name: "relayer";
|
|
4846
|
+
readonly type: "address";
|
|
4847
|
+
readonly internalType: "address";
|
|
4848
|
+
}];
|
|
4849
|
+
readonly outputs: readonly [];
|
|
4850
|
+
readonly stateMutability: "nonpayable";
|
|
4851
|
+
}, {
|
|
4852
|
+
readonly type: "function";
|
|
4853
|
+
readonly name: "upgradeToAndCall";
|
|
4854
|
+
readonly inputs: readonly [{
|
|
4855
|
+
readonly name: "newImplementation";
|
|
4856
|
+
readonly type: "address";
|
|
4857
|
+
readonly internalType: "address";
|
|
4814
4858
|
}, {
|
|
4815
|
-
readonly name: "
|
|
4816
|
-
readonly type: "
|
|
4817
|
-
readonly internalType: "
|
|
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
|
-
}];
|
|
4859
|
+
readonly name: "data";
|
|
4860
|
+
readonly type: "bytes";
|
|
4861
|
+
readonly internalType: "bytes";
|
|
4827
4862
|
}];
|
|
4828
4863
|
readonly outputs: readonly [];
|
|
4829
4864
|
readonly stateMutability: "nonpayable";
|
|
4865
|
+
}, {
|
|
4866
|
+
readonly type: "function";
|
|
4867
|
+
readonly name: "version";
|
|
4868
|
+
readonly inputs: readonly [];
|
|
4869
|
+
readonly outputs: readonly [{
|
|
4870
|
+
readonly name: "";
|
|
4871
|
+
readonly type: "uint64";
|
|
4872
|
+
readonly internalType: "uint64";
|
|
4873
|
+
}];
|
|
4874
|
+
readonly stateMutability: "view";
|
|
4875
|
+
}, {
|
|
4876
|
+
readonly type: "event";
|
|
4877
|
+
readonly name: "DeploymentAdded";
|
|
4878
|
+
readonly inputs: readonly [{
|
|
4879
|
+
readonly name: "chain";
|
|
4880
|
+
readonly type: "string";
|
|
4881
|
+
readonly indexed: false;
|
|
4882
|
+
readonly internalType: "string";
|
|
4883
|
+
}, {
|
|
4884
|
+
readonly name: "gateway";
|
|
4885
|
+
readonly type: "address";
|
|
4886
|
+
readonly indexed: false;
|
|
4887
|
+
readonly internalType: "address";
|
|
4888
|
+
}];
|
|
4889
|
+
readonly anonymous: false;
|
|
4830
4890
|
}, {
|
|
4831
4891
|
readonly type: "event";
|
|
4832
4892
|
readonly name: "DestinationProtocolFeeUpdated";
|
|
@@ -4932,14 +4992,24 @@ declare const FILL_ORDER_ABI: readonly [{
|
|
|
4932
4992
|
readonly anonymous: false;
|
|
4933
4993
|
}, {
|
|
4934
4994
|
readonly type: "event";
|
|
4935
|
-
readonly name: "
|
|
4995
|
+
readonly name: "Initialized";
|
|
4936
4996
|
readonly inputs: readonly [{
|
|
4937
|
-
readonly name: "
|
|
4938
|
-
readonly type: "
|
|
4997
|
+
readonly name: "version";
|
|
4998
|
+
readonly type: "uint64";
|
|
4939
4999
|
readonly indexed: false;
|
|
4940
|
-
readonly internalType: "
|
|
5000
|
+
readonly internalType: "uint64";
|
|
5001
|
+
}];
|
|
5002
|
+
readonly anonymous: false;
|
|
5003
|
+
}, {
|
|
5004
|
+
readonly type: "event";
|
|
5005
|
+
readonly name: "OrderCancelled";
|
|
5006
|
+
readonly inputs: readonly [{
|
|
5007
|
+
readonly name: "commitment";
|
|
5008
|
+
readonly type: "bytes32";
|
|
5009
|
+
readonly indexed: true;
|
|
5010
|
+
readonly internalType: "bytes32";
|
|
4941
5011
|
}, {
|
|
4942
|
-
readonly name: "
|
|
5012
|
+
readonly name: "canceller";
|
|
4943
5013
|
readonly type: "address";
|
|
4944
5014
|
readonly indexed: false;
|
|
4945
5015
|
readonly internalType: "address";
|
|
@@ -5198,13 +5268,42 @@ declare const FILL_ORDER_ABI: readonly [{
|
|
|
5198
5268
|
}];
|
|
5199
5269
|
}];
|
|
5200
5270
|
readonly anonymous: false;
|
|
5271
|
+
}, {
|
|
5272
|
+
readonly type: "event";
|
|
5273
|
+
readonly name: "RelayerUpdated";
|
|
5274
|
+
readonly inputs: readonly [{
|
|
5275
|
+
readonly name: "previous";
|
|
5276
|
+
readonly type: "address";
|
|
5277
|
+
readonly indexed: false;
|
|
5278
|
+
readonly internalType: "address";
|
|
5279
|
+
}, {
|
|
5280
|
+
readonly name: "current";
|
|
5281
|
+
readonly type: "address";
|
|
5282
|
+
readonly indexed: false;
|
|
5283
|
+
readonly internalType: "address";
|
|
5284
|
+
}];
|
|
5285
|
+
readonly anonymous: false;
|
|
5286
|
+
}, {
|
|
5287
|
+
readonly type: "event";
|
|
5288
|
+
readonly name: "Upgraded";
|
|
5289
|
+
readonly inputs: readonly [{
|
|
5290
|
+
readonly name: "implementation";
|
|
5291
|
+
readonly type: "address";
|
|
5292
|
+
readonly indexed: true;
|
|
5293
|
+
readonly internalType: "address";
|
|
5294
|
+
}];
|
|
5295
|
+
readonly anonymous: false;
|
|
5201
5296
|
}, {
|
|
5202
5297
|
readonly type: "error";
|
|
5203
|
-
readonly name: "
|
|
5204
|
-
readonly inputs: readonly [
|
|
5298
|
+
readonly name: "AddressEmptyCode";
|
|
5299
|
+
readonly inputs: readonly [{
|
|
5300
|
+
readonly name: "target";
|
|
5301
|
+
readonly type: "address";
|
|
5302
|
+
readonly internalType: "address";
|
|
5303
|
+
}];
|
|
5205
5304
|
}, {
|
|
5206
5305
|
readonly type: "error";
|
|
5207
|
-
readonly name: "
|
|
5306
|
+
readonly name: "Cancelled";
|
|
5208
5307
|
readonly inputs: readonly [];
|
|
5209
5308
|
}, {
|
|
5210
5309
|
readonly type: "error";
|
|
@@ -5226,10 +5325,30 @@ declare const FILL_ORDER_ABI: readonly [{
|
|
|
5226
5325
|
readonly type: "bytes32";
|
|
5227
5326
|
readonly internalType: "bytes32";
|
|
5228
5327
|
}];
|
|
5328
|
+
}, {
|
|
5329
|
+
readonly type: "error";
|
|
5330
|
+
readonly name: "ERC1967InvalidImplementation";
|
|
5331
|
+
readonly inputs: readonly [{
|
|
5332
|
+
readonly name: "implementation";
|
|
5333
|
+
readonly type: "address";
|
|
5334
|
+
readonly internalType: "address";
|
|
5335
|
+
}];
|
|
5336
|
+
}, {
|
|
5337
|
+
readonly type: "error";
|
|
5338
|
+
readonly name: "ERC1967NonPayable";
|
|
5339
|
+
readonly inputs: readonly [];
|
|
5229
5340
|
}, {
|
|
5230
5341
|
readonly type: "error";
|
|
5231
5342
|
readonly name: "Expired";
|
|
5232
5343
|
readonly inputs: readonly [];
|
|
5344
|
+
}, {
|
|
5345
|
+
readonly type: "error";
|
|
5346
|
+
readonly name: "FailedCall";
|
|
5347
|
+
readonly inputs: readonly [];
|
|
5348
|
+
}, {
|
|
5349
|
+
readonly type: "error";
|
|
5350
|
+
readonly name: "FillExpired";
|
|
5351
|
+
readonly inputs: readonly [];
|
|
5233
5352
|
}, {
|
|
5234
5353
|
readonly type: "error";
|
|
5235
5354
|
readonly name: "Filled";
|
|
@@ -5238,6 +5357,10 @@ declare const FILL_ORDER_ABI: readonly [{
|
|
|
5238
5357
|
readonly type: "error";
|
|
5239
5358
|
readonly name: "InsufficientNativeToken";
|
|
5240
5359
|
readonly inputs: readonly [];
|
|
5360
|
+
}, {
|
|
5361
|
+
readonly type: "error";
|
|
5362
|
+
readonly name: "InvalidInitialization";
|
|
5363
|
+
readonly inputs: readonly [];
|
|
5241
5364
|
}, {
|
|
5242
5365
|
readonly type: "error";
|
|
5243
5366
|
readonly name: "InvalidInput";
|
|
@@ -5250,6 +5373,18 @@ declare const FILL_ORDER_ABI: readonly [{
|
|
|
5250
5373
|
readonly type: "error";
|
|
5251
5374
|
readonly name: "NotExpired";
|
|
5252
5375
|
readonly inputs: readonly [];
|
|
5376
|
+
}, {
|
|
5377
|
+
readonly type: "error";
|
|
5378
|
+
readonly name: "NotInitializing";
|
|
5379
|
+
readonly inputs: readonly [];
|
|
5380
|
+
}, {
|
|
5381
|
+
readonly type: "error";
|
|
5382
|
+
readonly name: "PartialFillNotAllowed";
|
|
5383
|
+
readonly inputs: readonly [];
|
|
5384
|
+
}, {
|
|
5385
|
+
readonly type: "error";
|
|
5386
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
5387
|
+
readonly inputs: readonly [];
|
|
5253
5388
|
}, {
|
|
5254
5389
|
readonly type: "error";
|
|
5255
5390
|
readonly name: "SafeERC20FailedOperation";
|
|
@@ -5278,6 +5413,10 @@ declare const FILL_ORDER_ABI: readonly [{
|
|
|
5278
5413
|
readonly type: "error";
|
|
5279
5414
|
readonly name: "UnexpectedCall";
|
|
5280
5415
|
readonly inputs: readonly [];
|
|
5416
|
+
}, {
|
|
5417
|
+
readonly type: "error";
|
|
5418
|
+
readonly name: "UnknownInstance";
|
|
5419
|
+
readonly inputs: readonly [];
|
|
5281
5420
|
}, {
|
|
5282
5421
|
readonly type: "error";
|
|
5283
5422
|
readonly name: "UnknownOrder";
|
|
@@ -5493,7 +5632,7 @@ type RecoverBidSigner = (userOp: PackedUserOperation, entryPoint: HexString, cha
|
|
|
5493
5632
|
*/
|
|
5494
5633
|
declare const recoverBidSignerViem: RecoverBidSigner;
|
|
5495
5634
|
/** Promise-caching delegation reader produced by {@link memoizedDelegationCheck}. */
|
|
5496
|
-
type DelegationReader = (evmRpcUrl: string, account: string,
|
|
5635
|
+
type DelegationReader = (evmRpcUrl: string, account: string, solverAccounts: readonly string[]) => Promise<boolean>;
|
|
5497
5636
|
declare function fetchBidsForOrder(nodeUrl: string, commitment: string): Promise<RpcBidInfo[]>;
|
|
5498
5637
|
/**
|
|
5499
5638
|
* Sums the solver's redeemable balance of a single token on one chain: the raw ERC-20 balance plus
|
|
@@ -5582,8 +5721,12 @@ declare function runAggregation(params: {
|
|
|
5582
5721
|
gatewayAddress: string;
|
|
5583
5722
|
commitment: string;
|
|
5584
5723
|
yieldVaults: YieldVaultMap;
|
|
5585
|
-
/**
|
|
5586
|
-
|
|
5724
|
+
/**
|
|
5725
|
+
* SolverAccount on `chain` that our solvers delegate to; bids from anyone else are dropped.
|
|
5726
|
+
* Several may be given, e.g. the current deployment and the one it replaced, and a bid is
|
|
5727
|
+
* counted when its sender delegates to any of them.
|
|
5728
|
+
*/
|
|
5729
|
+
solverAccount: string | readonly string[];
|
|
5587
5730
|
extractFill?: (callData: HexString, gatewayAddress: string) => FillData | null;
|
|
5588
5731
|
recoverSigner?: RecoverBidSigner;
|
|
5589
5732
|
bidNonceKey?: BidNonceKeyFn;
|
|
@@ -5608,7 +5751,7 @@ declare function runAggregation(params: {
|
|
|
5608
5751
|
declare const ABI: readonly [{
|
|
5609
5752
|
readonly type: "constructor";
|
|
5610
5753
|
readonly inputs: readonly [{
|
|
5611
|
-
readonly name: "
|
|
5754
|
+
readonly name: "owner";
|
|
5612
5755
|
readonly type: "address";
|
|
5613
5756
|
readonly internalType: "address";
|
|
5614
5757
|
}];
|
|
@@ -5664,20 +5807,6 @@ declare const ABI: readonly [{
|
|
|
5664
5807
|
readonly internalType: "address";
|
|
5665
5808
|
}];
|
|
5666
5809
|
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
5810
|
}, {
|
|
5682
5811
|
readonly type: "function";
|
|
5683
5812
|
readonly name: "_nonce";
|
|
@@ -5706,6 +5835,16 @@ declare const ABI: readonly [{
|
|
|
5706
5835
|
readonly internalType: "uint256";
|
|
5707
5836
|
}];
|
|
5708
5837
|
readonly stateMutability: "view";
|
|
5838
|
+
}, {
|
|
5839
|
+
readonly type: "function";
|
|
5840
|
+
readonly name: "_owner";
|
|
5841
|
+
readonly inputs: readonly [];
|
|
5842
|
+
readonly outputs: readonly [{
|
|
5843
|
+
readonly name: "";
|
|
5844
|
+
readonly type: "address";
|
|
5845
|
+
readonly internalType: "address";
|
|
5846
|
+
}];
|
|
5847
|
+
readonly stateMutability: "view";
|
|
5709
5848
|
}, {
|
|
5710
5849
|
readonly type: "function";
|
|
5711
5850
|
readonly name: "_partialFills";
|
|
@@ -6027,18 +6166,71 @@ declare const ABI: readonly [{
|
|
|
6027
6166
|
readonly stateMutability: "view";
|
|
6028
6167
|
}, {
|
|
6029
6168
|
readonly type: "function";
|
|
6030
|
-
readonly name: "
|
|
6169
|
+
readonly name: "initialize";
|
|
6031
6170
|
readonly inputs: readonly [{
|
|
6032
|
-
readonly name: "
|
|
6033
|
-
readonly type: "
|
|
6034
|
-
readonly internalType: "
|
|
6035
|
-
|
|
6171
|
+
readonly name: "p";
|
|
6172
|
+
readonly type: "tuple";
|
|
6173
|
+
readonly internalType: "struct Params";
|
|
6174
|
+
readonly components: readonly [{
|
|
6175
|
+
readonly name: "host";
|
|
6176
|
+
readonly type: "address";
|
|
6177
|
+
readonly internalType: "address";
|
|
6178
|
+
}, {
|
|
6179
|
+
readonly name: "dispatcher";
|
|
6180
|
+
readonly type: "address";
|
|
6181
|
+
readonly internalType: "address";
|
|
6182
|
+
}, {
|
|
6183
|
+
readonly name: "solverSelection";
|
|
6184
|
+
readonly type: "bool";
|
|
6185
|
+
readonly internalType: "bool";
|
|
6186
|
+
}, {
|
|
6187
|
+
readonly name: "surplusShareBps";
|
|
6188
|
+
readonly type: "uint256";
|
|
6189
|
+
readonly internalType: "uint256";
|
|
6190
|
+
}, {
|
|
6191
|
+
readonly name: "protocolFeeBps";
|
|
6192
|
+
readonly type: "uint256";
|
|
6193
|
+
readonly internalType: "uint256";
|
|
6194
|
+
}, {
|
|
6195
|
+
readonly name: "priceOracle";
|
|
6196
|
+
readonly type: "address";
|
|
6197
|
+
readonly internalType: "address";
|
|
6198
|
+
}];
|
|
6199
|
+
}, {
|
|
6200
|
+
readonly name: "peerChains";
|
|
6201
|
+
readonly type: "bytes[]";
|
|
6202
|
+
readonly internalType: "bytes[]";
|
|
6203
|
+
}, {
|
|
6204
|
+
readonly name: "relayer";
|
|
6205
|
+
readonly type: "address";
|
|
6206
|
+
readonly internalType: "address";
|
|
6207
|
+
}];
|
|
6208
|
+
readonly outputs: readonly [];
|
|
6209
|
+
readonly stateMutability: "nonpayable";
|
|
6210
|
+
}, {
|
|
6211
|
+
readonly type: "function";
|
|
6212
|
+
readonly name: "instance";
|
|
6213
|
+
readonly inputs: readonly [{
|
|
6214
|
+
readonly name: "stateMachineId";
|
|
6215
|
+
readonly type: "bytes";
|
|
6216
|
+
readonly internalType: "bytes";
|
|
6217
|
+
}];
|
|
6036
6218
|
readonly outputs: readonly [{
|
|
6037
6219
|
readonly name: "";
|
|
6038
6220
|
readonly type: "address";
|
|
6039
6221
|
readonly internalType: "address";
|
|
6040
6222
|
}];
|
|
6041
6223
|
readonly stateMutability: "view";
|
|
6224
|
+
}, {
|
|
6225
|
+
readonly type: "function";
|
|
6226
|
+
readonly name: "migrate";
|
|
6227
|
+
readonly inputs: readonly [{
|
|
6228
|
+
readonly name: "relayer";
|
|
6229
|
+
readonly type: "address";
|
|
6230
|
+
readonly internalType: "address";
|
|
6231
|
+
}];
|
|
6232
|
+
readonly outputs: readonly [];
|
|
6233
|
+
readonly stateMutability: "nonpayable";
|
|
6042
6234
|
}, {
|
|
6043
6235
|
readonly type: "function";
|
|
6044
6236
|
readonly name: "onAccept";
|
|
@@ -6434,7 +6626,7 @@ declare const ABI: readonly [{
|
|
|
6434
6626
|
readonly type: "uint256";
|
|
6435
6627
|
readonly internalType: "uint256";
|
|
6436
6628
|
}];
|
|
6437
|
-
readonly stateMutability: "
|
|
6629
|
+
readonly stateMutability: "nonpayable";
|
|
6438
6630
|
}, {
|
|
6439
6631
|
readonly type: "function";
|
|
6440
6632
|
readonly name: "quote";
|
|
@@ -6477,6 +6669,16 @@ declare const ABI: readonly [{
|
|
|
6477
6669
|
readonly type: "uint256";
|
|
6478
6670
|
readonly internalType: "uint256";
|
|
6479
6671
|
}];
|
|
6672
|
+
readonly stateMutability: "nonpayable";
|
|
6673
|
+
}, {
|
|
6674
|
+
readonly type: "function";
|
|
6675
|
+
readonly name: "relayer";
|
|
6676
|
+
readonly inputs: readonly [];
|
|
6677
|
+
readonly outputs: readonly [{
|
|
6678
|
+
readonly name: "";
|
|
6679
|
+
readonly type: "address";
|
|
6680
|
+
readonly internalType: "address";
|
|
6681
|
+
}];
|
|
6480
6682
|
readonly stateMutability: "view";
|
|
6481
6683
|
}, {
|
|
6482
6684
|
readonly type: "function";
|
|
@@ -6507,52 +6709,53 @@ declare const ABI: readonly [{
|
|
|
6507
6709
|
readonly stateMutability: "nonpayable";
|
|
6508
6710
|
}, {
|
|
6509
6711
|
readonly type: "function";
|
|
6510
|
-
readonly name: "
|
|
6712
|
+
readonly name: "setRelayer";
|
|
6511
6713
|
readonly inputs: readonly [{
|
|
6512
|
-
readonly name: "
|
|
6513
|
-
readonly type: "
|
|
6514
|
-
readonly internalType: "
|
|
6515
|
-
|
|
6516
|
-
|
|
6517
|
-
|
|
6518
|
-
|
|
6519
|
-
|
|
6520
|
-
|
|
6521
|
-
|
|
6522
|
-
|
|
6523
|
-
|
|
6524
|
-
|
|
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
|
-
}];
|
|
6714
|
+
readonly name: "relayer";
|
|
6715
|
+
readonly type: "address";
|
|
6716
|
+
readonly internalType: "address";
|
|
6717
|
+
}];
|
|
6718
|
+
readonly outputs: readonly [];
|
|
6719
|
+
readonly stateMutability: "nonpayable";
|
|
6720
|
+
}, {
|
|
6721
|
+
readonly type: "function";
|
|
6722
|
+
readonly name: "upgradeToAndCall";
|
|
6723
|
+
readonly inputs: readonly [{
|
|
6724
|
+
readonly name: "newImplementation";
|
|
6725
|
+
readonly type: "address";
|
|
6726
|
+
readonly internalType: "address";
|
|
6540
6727
|
}, {
|
|
6541
|
-
readonly name: "
|
|
6542
|
-
readonly type: "
|
|
6543
|
-
readonly internalType: "
|
|
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
|
-
}];
|
|
6728
|
+
readonly name: "data";
|
|
6729
|
+
readonly type: "bytes";
|
|
6730
|
+
readonly internalType: "bytes";
|
|
6553
6731
|
}];
|
|
6554
6732
|
readonly outputs: readonly [];
|
|
6555
6733
|
readonly stateMutability: "nonpayable";
|
|
6734
|
+
}, {
|
|
6735
|
+
readonly type: "function";
|
|
6736
|
+
readonly name: "version";
|
|
6737
|
+
readonly inputs: readonly [];
|
|
6738
|
+
readonly outputs: readonly [{
|
|
6739
|
+
readonly name: "";
|
|
6740
|
+
readonly type: "uint64";
|
|
6741
|
+
readonly internalType: "uint64";
|
|
6742
|
+
}];
|
|
6743
|
+
readonly stateMutability: "view";
|
|
6744
|
+
}, {
|
|
6745
|
+
readonly type: "event";
|
|
6746
|
+
readonly name: "DeploymentAdded";
|
|
6747
|
+
readonly inputs: readonly [{
|
|
6748
|
+
readonly name: "chain";
|
|
6749
|
+
readonly type: "string";
|
|
6750
|
+
readonly indexed: false;
|
|
6751
|
+
readonly internalType: "string";
|
|
6752
|
+
}, {
|
|
6753
|
+
readonly name: "gateway";
|
|
6754
|
+
readonly type: "address";
|
|
6755
|
+
readonly indexed: false;
|
|
6756
|
+
readonly internalType: "address";
|
|
6757
|
+
}];
|
|
6758
|
+
readonly anonymous: false;
|
|
6556
6759
|
}, {
|
|
6557
6760
|
readonly type: "event";
|
|
6558
6761
|
readonly name: "DestinationProtocolFeeUpdated";
|
|
@@ -6658,14 +6861,24 @@ declare const ABI: readonly [{
|
|
|
6658
6861
|
readonly anonymous: false;
|
|
6659
6862
|
}, {
|
|
6660
6863
|
readonly type: "event";
|
|
6661
|
-
readonly name: "
|
|
6864
|
+
readonly name: "Initialized";
|
|
6662
6865
|
readonly inputs: readonly [{
|
|
6663
|
-
readonly name: "
|
|
6664
|
-
readonly type: "
|
|
6866
|
+
readonly name: "version";
|
|
6867
|
+
readonly type: "uint64";
|
|
6665
6868
|
readonly indexed: false;
|
|
6666
|
-
readonly internalType: "
|
|
6869
|
+
readonly internalType: "uint64";
|
|
6870
|
+
}];
|
|
6871
|
+
readonly anonymous: false;
|
|
6872
|
+
}, {
|
|
6873
|
+
readonly type: "event";
|
|
6874
|
+
readonly name: "OrderCancelled";
|
|
6875
|
+
readonly inputs: readonly [{
|
|
6876
|
+
readonly name: "commitment";
|
|
6877
|
+
readonly type: "bytes32";
|
|
6878
|
+
readonly indexed: true;
|
|
6879
|
+
readonly internalType: "bytes32";
|
|
6667
6880
|
}, {
|
|
6668
|
-
readonly name: "
|
|
6881
|
+
readonly name: "canceller";
|
|
6669
6882
|
readonly type: "address";
|
|
6670
6883
|
readonly indexed: false;
|
|
6671
6884
|
readonly internalType: "address";
|
|
@@ -6924,13 +7137,42 @@ declare const ABI: readonly [{
|
|
|
6924
7137
|
}];
|
|
6925
7138
|
}];
|
|
6926
7139
|
readonly anonymous: false;
|
|
7140
|
+
}, {
|
|
7141
|
+
readonly type: "event";
|
|
7142
|
+
readonly name: "RelayerUpdated";
|
|
7143
|
+
readonly inputs: readonly [{
|
|
7144
|
+
readonly name: "previous";
|
|
7145
|
+
readonly type: "address";
|
|
7146
|
+
readonly indexed: false;
|
|
7147
|
+
readonly internalType: "address";
|
|
7148
|
+
}, {
|
|
7149
|
+
readonly name: "current";
|
|
7150
|
+
readonly type: "address";
|
|
7151
|
+
readonly indexed: false;
|
|
7152
|
+
readonly internalType: "address";
|
|
7153
|
+
}];
|
|
7154
|
+
readonly anonymous: false;
|
|
7155
|
+
}, {
|
|
7156
|
+
readonly type: "event";
|
|
7157
|
+
readonly name: "Upgraded";
|
|
7158
|
+
readonly inputs: readonly [{
|
|
7159
|
+
readonly name: "implementation";
|
|
7160
|
+
readonly type: "address";
|
|
7161
|
+
readonly indexed: true;
|
|
7162
|
+
readonly internalType: "address";
|
|
7163
|
+
}];
|
|
7164
|
+
readonly anonymous: false;
|
|
6927
7165
|
}, {
|
|
6928
7166
|
readonly type: "error";
|
|
6929
|
-
readonly name: "
|
|
6930
|
-
readonly inputs: readonly [
|
|
7167
|
+
readonly name: "AddressEmptyCode";
|
|
7168
|
+
readonly inputs: readonly [{
|
|
7169
|
+
readonly name: "target";
|
|
7170
|
+
readonly type: "address";
|
|
7171
|
+
readonly internalType: "address";
|
|
7172
|
+
}];
|
|
6931
7173
|
}, {
|
|
6932
7174
|
readonly type: "error";
|
|
6933
|
-
readonly name: "
|
|
7175
|
+
readonly name: "Cancelled";
|
|
6934
7176
|
readonly inputs: readonly [];
|
|
6935
7177
|
}, {
|
|
6936
7178
|
readonly type: "error";
|
|
@@ -6952,10 +7194,30 @@ declare const ABI: readonly [{
|
|
|
6952
7194
|
readonly type: "bytes32";
|
|
6953
7195
|
readonly internalType: "bytes32";
|
|
6954
7196
|
}];
|
|
7197
|
+
}, {
|
|
7198
|
+
readonly type: "error";
|
|
7199
|
+
readonly name: "ERC1967InvalidImplementation";
|
|
7200
|
+
readonly inputs: readonly [{
|
|
7201
|
+
readonly name: "implementation";
|
|
7202
|
+
readonly type: "address";
|
|
7203
|
+
readonly internalType: "address";
|
|
7204
|
+
}];
|
|
7205
|
+
}, {
|
|
7206
|
+
readonly type: "error";
|
|
7207
|
+
readonly name: "ERC1967NonPayable";
|
|
7208
|
+
readonly inputs: readonly [];
|
|
6955
7209
|
}, {
|
|
6956
7210
|
readonly type: "error";
|
|
6957
7211
|
readonly name: "Expired";
|
|
6958
7212
|
readonly inputs: readonly [];
|
|
7213
|
+
}, {
|
|
7214
|
+
readonly type: "error";
|
|
7215
|
+
readonly name: "FailedCall";
|
|
7216
|
+
readonly inputs: readonly [];
|
|
7217
|
+
}, {
|
|
7218
|
+
readonly type: "error";
|
|
7219
|
+
readonly name: "FillExpired";
|
|
7220
|
+
readonly inputs: readonly [];
|
|
6959
7221
|
}, {
|
|
6960
7222
|
readonly type: "error";
|
|
6961
7223
|
readonly name: "Filled";
|
|
@@ -6964,6 +7226,10 @@ declare const ABI: readonly [{
|
|
|
6964
7226
|
readonly type: "error";
|
|
6965
7227
|
readonly name: "InsufficientNativeToken";
|
|
6966
7228
|
readonly inputs: readonly [];
|
|
7229
|
+
}, {
|
|
7230
|
+
readonly type: "error";
|
|
7231
|
+
readonly name: "InvalidInitialization";
|
|
7232
|
+
readonly inputs: readonly [];
|
|
6967
7233
|
}, {
|
|
6968
7234
|
readonly type: "error";
|
|
6969
7235
|
readonly name: "InvalidInput";
|
|
@@ -6976,6 +7242,18 @@ declare const ABI: readonly [{
|
|
|
6976
7242
|
readonly type: "error";
|
|
6977
7243
|
readonly name: "NotExpired";
|
|
6978
7244
|
readonly inputs: readonly [];
|
|
7245
|
+
}, {
|
|
7246
|
+
readonly type: "error";
|
|
7247
|
+
readonly name: "NotInitializing";
|
|
7248
|
+
readonly inputs: readonly [];
|
|
7249
|
+
}, {
|
|
7250
|
+
readonly type: "error";
|
|
7251
|
+
readonly name: "PartialFillNotAllowed";
|
|
7252
|
+
readonly inputs: readonly [];
|
|
7253
|
+
}, {
|
|
7254
|
+
readonly type: "error";
|
|
7255
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
7256
|
+
readonly inputs: readonly [];
|
|
6979
7257
|
}, {
|
|
6980
7258
|
readonly type: "error";
|
|
6981
7259
|
readonly name: "SafeERC20FailedOperation";
|
|
@@ -7004,6 +7282,10 @@ declare const ABI: readonly [{
|
|
|
7004
7282
|
readonly type: "error";
|
|
7005
7283
|
readonly name: "UnexpectedCall";
|
|
7006
7284
|
readonly inputs: readonly [];
|
|
7285
|
+
}, {
|
|
7286
|
+
readonly type: "error";
|
|
7287
|
+
readonly name: "UnknownInstance";
|
|
7288
|
+
readonly inputs: readonly [];
|
|
7007
7289
|
}, {
|
|
7008
7290
|
readonly type: "error";
|
|
7009
7291
|
readonly name: "UnknownOrder";
|
|
@@ -7017,7 +7299,7 @@ declare const _default: {
|
|
|
7017
7299
|
ABI: readonly [{
|
|
7018
7300
|
readonly type: "constructor";
|
|
7019
7301
|
readonly inputs: readonly [{
|
|
7020
|
-
readonly name: "
|
|
7302
|
+
readonly name: "owner";
|
|
7021
7303
|
readonly type: "address";
|
|
7022
7304
|
readonly internalType: "address";
|
|
7023
7305
|
}];
|
|
@@ -7073,20 +7355,6 @@ declare const _default: {
|
|
|
7073
7355
|
readonly internalType: "address";
|
|
7074
7356
|
}];
|
|
7075
7357
|
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
7358
|
}, {
|
|
7091
7359
|
readonly type: "function";
|
|
7092
7360
|
readonly name: "_nonce";
|
|
@@ -7115,6 +7383,16 @@ declare const _default: {
|
|
|
7115
7383
|
readonly internalType: "uint256";
|
|
7116
7384
|
}];
|
|
7117
7385
|
readonly stateMutability: "view";
|
|
7386
|
+
}, {
|
|
7387
|
+
readonly type: "function";
|
|
7388
|
+
readonly name: "_owner";
|
|
7389
|
+
readonly inputs: readonly [];
|
|
7390
|
+
readonly outputs: readonly [{
|
|
7391
|
+
readonly name: "";
|
|
7392
|
+
readonly type: "address";
|
|
7393
|
+
readonly internalType: "address";
|
|
7394
|
+
}];
|
|
7395
|
+
readonly stateMutability: "view";
|
|
7118
7396
|
}, {
|
|
7119
7397
|
readonly type: "function";
|
|
7120
7398
|
readonly name: "_partialFills";
|
|
@@ -7434,6 +7712,49 @@ declare const _default: {
|
|
|
7434
7712
|
readonly internalType: "address";
|
|
7435
7713
|
}];
|
|
7436
7714
|
readonly stateMutability: "view";
|
|
7715
|
+
}, {
|
|
7716
|
+
readonly type: "function";
|
|
7717
|
+
readonly name: "initialize";
|
|
7718
|
+
readonly inputs: readonly [{
|
|
7719
|
+
readonly name: "p";
|
|
7720
|
+
readonly type: "tuple";
|
|
7721
|
+
readonly internalType: "struct Params";
|
|
7722
|
+
readonly components: readonly [{
|
|
7723
|
+
readonly name: "host";
|
|
7724
|
+
readonly type: "address";
|
|
7725
|
+
readonly internalType: "address";
|
|
7726
|
+
}, {
|
|
7727
|
+
readonly name: "dispatcher";
|
|
7728
|
+
readonly type: "address";
|
|
7729
|
+
readonly internalType: "address";
|
|
7730
|
+
}, {
|
|
7731
|
+
readonly name: "solverSelection";
|
|
7732
|
+
readonly type: "bool";
|
|
7733
|
+
readonly internalType: "bool";
|
|
7734
|
+
}, {
|
|
7735
|
+
readonly name: "surplusShareBps";
|
|
7736
|
+
readonly type: "uint256";
|
|
7737
|
+
readonly internalType: "uint256";
|
|
7738
|
+
}, {
|
|
7739
|
+
readonly name: "protocolFeeBps";
|
|
7740
|
+
readonly type: "uint256";
|
|
7741
|
+
readonly internalType: "uint256";
|
|
7742
|
+
}, {
|
|
7743
|
+
readonly name: "priceOracle";
|
|
7744
|
+
readonly type: "address";
|
|
7745
|
+
readonly internalType: "address";
|
|
7746
|
+
}];
|
|
7747
|
+
}, {
|
|
7748
|
+
readonly name: "peerChains";
|
|
7749
|
+
readonly type: "bytes[]";
|
|
7750
|
+
readonly internalType: "bytes[]";
|
|
7751
|
+
}, {
|
|
7752
|
+
readonly name: "relayer";
|
|
7753
|
+
readonly type: "address";
|
|
7754
|
+
readonly internalType: "address";
|
|
7755
|
+
}];
|
|
7756
|
+
readonly outputs: readonly [];
|
|
7757
|
+
readonly stateMutability: "nonpayable";
|
|
7437
7758
|
}, {
|
|
7438
7759
|
readonly type: "function";
|
|
7439
7760
|
readonly name: "instance";
|
|
@@ -7448,6 +7769,16 @@ declare const _default: {
|
|
|
7448
7769
|
readonly internalType: "address";
|
|
7449
7770
|
}];
|
|
7450
7771
|
readonly stateMutability: "view";
|
|
7772
|
+
}, {
|
|
7773
|
+
readonly type: "function";
|
|
7774
|
+
readonly name: "migrate";
|
|
7775
|
+
readonly inputs: readonly [{
|
|
7776
|
+
readonly name: "relayer";
|
|
7777
|
+
readonly type: "address";
|
|
7778
|
+
readonly internalType: "address";
|
|
7779
|
+
}];
|
|
7780
|
+
readonly outputs: readonly [];
|
|
7781
|
+
readonly stateMutability: "nonpayable";
|
|
7451
7782
|
}, {
|
|
7452
7783
|
readonly type: "function";
|
|
7453
7784
|
readonly name: "onAccept";
|
|
@@ -7843,7 +8174,7 @@ declare const _default: {
|
|
|
7843
8174
|
readonly type: "uint256";
|
|
7844
8175
|
readonly internalType: "uint256";
|
|
7845
8176
|
}];
|
|
7846
|
-
readonly stateMutability: "
|
|
8177
|
+
readonly stateMutability: "nonpayable";
|
|
7847
8178
|
}, {
|
|
7848
8179
|
readonly type: "function";
|
|
7849
8180
|
readonly name: "quote";
|
|
@@ -7886,6 +8217,16 @@ declare const _default: {
|
|
|
7886
8217
|
readonly type: "uint256";
|
|
7887
8218
|
readonly internalType: "uint256";
|
|
7888
8219
|
}];
|
|
8220
|
+
readonly stateMutability: "nonpayable";
|
|
8221
|
+
}, {
|
|
8222
|
+
readonly type: "function";
|
|
8223
|
+
readonly name: "relayer";
|
|
8224
|
+
readonly inputs: readonly [];
|
|
8225
|
+
readonly outputs: readonly [{
|
|
8226
|
+
readonly name: "";
|
|
8227
|
+
readonly type: "address";
|
|
8228
|
+
readonly internalType: "address";
|
|
8229
|
+
}];
|
|
7889
8230
|
readonly stateMutability: "view";
|
|
7890
8231
|
}, {
|
|
7891
8232
|
readonly type: "function";
|
|
@@ -7916,52 +8257,53 @@ declare const _default: {
|
|
|
7916
8257
|
readonly stateMutability: "nonpayable";
|
|
7917
8258
|
}, {
|
|
7918
8259
|
readonly type: "function";
|
|
7919
|
-
readonly name: "
|
|
8260
|
+
readonly name: "setRelayer";
|
|
7920
8261
|
readonly inputs: readonly [{
|
|
7921
|
-
readonly name: "
|
|
7922
|
-
readonly type: "
|
|
7923
|
-
readonly internalType: "
|
|
7924
|
-
|
|
7925
|
-
|
|
7926
|
-
|
|
7927
|
-
|
|
7928
|
-
|
|
7929
|
-
|
|
7930
|
-
|
|
7931
|
-
|
|
7932
|
-
|
|
7933
|
-
|
|
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
|
-
}];
|
|
8262
|
+
readonly name: "relayer";
|
|
8263
|
+
readonly type: "address";
|
|
8264
|
+
readonly internalType: "address";
|
|
8265
|
+
}];
|
|
8266
|
+
readonly outputs: readonly [];
|
|
8267
|
+
readonly stateMutability: "nonpayable";
|
|
8268
|
+
}, {
|
|
8269
|
+
readonly type: "function";
|
|
8270
|
+
readonly name: "upgradeToAndCall";
|
|
8271
|
+
readonly inputs: readonly [{
|
|
8272
|
+
readonly name: "newImplementation";
|
|
8273
|
+
readonly type: "address";
|
|
8274
|
+
readonly internalType: "address";
|
|
7949
8275
|
}, {
|
|
7950
|
-
readonly name: "
|
|
7951
|
-
readonly type: "
|
|
7952
|
-
readonly internalType: "
|
|
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
|
-
}];
|
|
8276
|
+
readonly name: "data";
|
|
8277
|
+
readonly type: "bytes";
|
|
8278
|
+
readonly internalType: "bytes";
|
|
7962
8279
|
}];
|
|
7963
8280
|
readonly outputs: readonly [];
|
|
7964
8281
|
readonly stateMutability: "nonpayable";
|
|
8282
|
+
}, {
|
|
8283
|
+
readonly type: "function";
|
|
8284
|
+
readonly name: "version";
|
|
8285
|
+
readonly inputs: readonly [];
|
|
8286
|
+
readonly outputs: readonly [{
|
|
8287
|
+
readonly name: "";
|
|
8288
|
+
readonly type: "uint64";
|
|
8289
|
+
readonly internalType: "uint64";
|
|
8290
|
+
}];
|
|
8291
|
+
readonly stateMutability: "view";
|
|
8292
|
+
}, {
|
|
8293
|
+
readonly type: "event";
|
|
8294
|
+
readonly name: "DeploymentAdded";
|
|
8295
|
+
readonly inputs: readonly [{
|
|
8296
|
+
readonly name: "chain";
|
|
8297
|
+
readonly type: "string";
|
|
8298
|
+
readonly indexed: false;
|
|
8299
|
+
readonly internalType: "string";
|
|
8300
|
+
}, {
|
|
8301
|
+
readonly name: "gateway";
|
|
8302
|
+
readonly type: "address";
|
|
8303
|
+
readonly indexed: false;
|
|
8304
|
+
readonly internalType: "address";
|
|
8305
|
+
}];
|
|
8306
|
+
readonly anonymous: false;
|
|
7965
8307
|
}, {
|
|
7966
8308
|
readonly type: "event";
|
|
7967
8309
|
readonly name: "DestinationProtocolFeeUpdated";
|
|
@@ -8067,14 +8409,24 @@ declare const _default: {
|
|
|
8067
8409
|
readonly anonymous: false;
|
|
8068
8410
|
}, {
|
|
8069
8411
|
readonly type: "event";
|
|
8070
|
-
readonly name: "
|
|
8412
|
+
readonly name: "Initialized";
|
|
8071
8413
|
readonly inputs: readonly [{
|
|
8072
|
-
readonly name: "
|
|
8073
|
-
readonly type: "
|
|
8414
|
+
readonly name: "version";
|
|
8415
|
+
readonly type: "uint64";
|
|
8074
8416
|
readonly indexed: false;
|
|
8075
|
-
readonly internalType: "
|
|
8417
|
+
readonly internalType: "uint64";
|
|
8418
|
+
}];
|
|
8419
|
+
readonly anonymous: false;
|
|
8420
|
+
}, {
|
|
8421
|
+
readonly type: "event";
|
|
8422
|
+
readonly name: "OrderCancelled";
|
|
8423
|
+
readonly inputs: readonly [{
|
|
8424
|
+
readonly name: "commitment";
|
|
8425
|
+
readonly type: "bytes32";
|
|
8426
|
+
readonly indexed: true;
|
|
8427
|
+
readonly internalType: "bytes32";
|
|
8076
8428
|
}, {
|
|
8077
|
-
readonly name: "
|
|
8429
|
+
readonly name: "canceller";
|
|
8078
8430
|
readonly type: "address";
|
|
8079
8431
|
readonly indexed: false;
|
|
8080
8432
|
readonly internalType: "address";
|
|
@@ -8333,13 +8685,42 @@ declare const _default: {
|
|
|
8333
8685
|
}];
|
|
8334
8686
|
}];
|
|
8335
8687
|
readonly anonymous: false;
|
|
8688
|
+
}, {
|
|
8689
|
+
readonly type: "event";
|
|
8690
|
+
readonly name: "RelayerUpdated";
|
|
8691
|
+
readonly inputs: readonly [{
|
|
8692
|
+
readonly name: "previous";
|
|
8693
|
+
readonly type: "address";
|
|
8694
|
+
readonly indexed: false;
|
|
8695
|
+
readonly internalType: "address";
|
|
8696
|
+
}, {
|
|
8697
|
+
readonly name: "current";
|
|
8698
|
+
readonly type: "address";
|
|
8699
|
+
readonly indexed: false;
|
|
8700
|
+
readonly internalType: "address";
|
|
8701
|
+
}];
|
|
8702
|
+
readonly anonymous: false;
|
|
8703
|
+
}, {
|
|
8704
|
+
readonly type: "event";
|
|
8705
|
+
readonly name: "Upgraded";
|
|
8706
|
+
readonly inputs: readonly [{
|
|
8707
|
+
readonly name: "implementation";
|
|
8708
|
+
readonly type: "address";
|
|
8709
|
+
readonly indexed: true;
|
|
8710
|
+
readonly internalType: "address";
|
|
8711
|
+
}];
|
|
8712
|
+
readonly anonymous: false;
|
|
8336
8713
|
}, {
|
|
8337
8714
|
readonly type: "error";
|
|
8338
|
-
readonly name: "
|
|
8339
|
-
readonly inputs: readonly [
|
|
8715
|
+
readonly name: "AddressEmptyCode";
|
|
8716
|
+
readonly inputs: readonly [{
|
|
8717
|
+
readonly name: "target";
|
|
8718
|
+
readonly type: "address";
|
|
8719
|
+
readonly internalType: "address";
|
|
8720
|
+
}];
|
|
8340
8721
|
}, {
|
|
8341
8722
|
readonly type: "error";
|
|
8342
|
-
readonly name: "
|
|
8723
|
+
readonly name: "Cancelled";
|
|
8343
8724
|
readonly inputs: readonly [];
|
|
8344
8725
|
}, {
|
|
8345
8726
|
readonly type: "error";
|
|
@@ -8361,10 +8742,30 @@ declare const _default: {
|
|
|
8361
8742
|
readonly type: "bytes32";
|
|
8362
8743
|
readonly internalType: "bytes32";
|
|
8363
8744
|
}];
|
|
8745
|
+
}, {
|
|
8746
|
+
readonly type: "error";
|
|
8747
|
+
readonly name: "ERC1967InvalidImplementation";
|
|
8748
|
+
readonly inputs: readonly [{
|
|
8749
|
+
readonly name: "implementation";
|
|
8750
|
+
readonly type: "address";
|
|
8751
|
+
readonly internalType: "address";
|
|
8752
|
+
}];
|
|
8753
|
+
}, {
|
|
8754
|
+
readonly type: "error";
|
|
8755
|
+
readonly name: "ERC1967NonPayable";
|
|
8756
|
+
readonly inputs: readonly [];
|
|
8364
8757
|
}, {
|
|
8365
8758
|
readonly type: "error";
|
|
8366
8759
|
readonly name: "Expired";
|
|
8367
8760
|
readonly inputs: readonly [];
|
|
8761
|
+
}, {
|
|
8762
|
+
readonly type: "error";
|
|
8763
|
+
readonly name: "FailedCall";
|
|
8764
|
+
readonly inputs: readonly [];
|
|
8765
|
+
}, {
|
|
8766
|
+
readonly type: "error";
|
|
8767
|
+
readonly name: "FillExpired";
|
|
8768
|
+
readonly inputs: readonly [];
|
|
8368
8769
|
}, {
|
|
8369
8770
|
readonly type: "error";
|
|
8370
8771
|
readonly name: "Filled";
|
|
@@ -8373,6 +8774,10 @@ declare const _default: {
|
|
|
8373
8774
|
readonly type: "error";
|
|
8374
8775
|
readonly name: "InsufficientNativeToken";
|
|
8375
8776
|
readonly inputs: readonly [];
|
|
8777
|
+
}, {
|
|
8778
|
+
readonly type: "error";
|
|
8779
|
+
readonly name: "InvalidInitialization";
|
|
8780
|
+
readonly inputs: readonly [];
|
|
8376
8781
|
}, {
|
|
8377
8782
|
readonly type: "error";
|
|
8378
8783
|
readonly name: "InvalidInput";
|
|
@@ -8385,6 +8790,18 @@ declare const _default: {
|
|
|
8385
8790
|
readonly type: "error";
|
|
8386
8791
|
readonly name: "NotExpired";
|
|
8387
8792
|
readonly inputs: readonly [];
|
|
8793
|
+
}, {
|
|
8794
|
+
readonly type: "error";
|
|
8795
|
+
readonly name: "NotInitializing";
|
|
8796
|
+
readonly inputs: readonly [];
|
|
8797
|
+
}, {
|
|
8798
|
+
readonly type: "error";
|
|
8799
|
+
readonly name: "PartialFillNotAllowed";
|
|
8800
|
+
readonly inputs: readonly [];
|
|
8801
|
+
}, {
|
|
8802
|
+
readonly type: "error";
|
|
8803
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
8804
|
+
readonly inputs: readonly [];
|
|
8388
8805
|
}, {
|
|
8389
8806
|
readonly type: "error";
|
|
8390
8807
|
readonly name: "SafeERC20FailedOperation";
|
|
@@ -8413,6 +8830,10 @@ declare const _default: {
|
|
|
8413
8830
|
readonly type: "error";
|
|
8414
8831
|
readonly name: "UnexpectedCall";
|
|
8415
8832
|
readonly inputs: readonly [];
|
|
8833
|
+
}, {
|
|
8834
|
+
readonly type: "error";
|
|
8835
|
+
readonly name: "UnknownInstance";
|
|
8836
|
+
readonly inputs: readonly [];
|
|
8416
8837
|
}, {
|
|
8417
8838
|
readonly type: "error";
|
|
8418
8839
|
readonly name: "UnknownOrder";
|