@relay-protocol/settlement-abis 2.0.6 → 2.0.7
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/README.md +1 -1
- package/dist/index.d.mts +1146 -890
- package/dist/index.d.ts +1146 -890
- package/dist/index.js +953 -702
- package/dist/index.mjs +952 -700
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -9580,7 +9580,7 @@ var ICallResolver = [
|
|
|
9580
9580
|
}
|
|
9581
9581
|
];
|
|
9582
9582
|
|
|
9583
|
-
var
|
|
9583
|
+
var PoolDrawResolver = [
|
|
9584
9584
|
{
|
|
9585
9585
|
type: "constructor",
|
|
9586
9586
|
inputs: [
|
|
@@ -9593,29 +9593,10 @@ var PoolExactOutputResolver = [
|
|
|
9593
9593
|
name: "hub",
|
|
9594
9594
|
type: "address",
|
|
9595
9595
|
internalType: "address"
|
|
9596
|
-
},
|
|
9597
|
-
{
|
|
9598
|
-
name: "exactOutputPool",
|
|
9599
|
-
type: "address",
|
|
9600
|
-
internalType: "address"
|
|
9601
9596
|
}
|
|
9602
9597
|
],
|
|
9603
9598
|
stateMutability: "nonpayable"
|
|
9604
9599
|
},
|
|
9605
|
-
{
|
|
9606
|
-
type: "function",
|
|
9607
|
-
name: "EXACT_OUTPUT_POOL",
|
|
9608
|
-
inputs: [
|
|
9609
|
-
],
|
|
9610
|
-
outputs: [
|
|
9611
|
-
{
|
|
9612
|
-
name: "",
|
|
9613
|
-
type: "address",
|
|
9614
|
-
internalType: "address"
|
|
9615
|
-
}
|
|
9616
|
-
],
|
|
9617
|
-
stateMutability: "view"
|
|
9618
|
-
},
|
|
9619
9600
|
{
|
|
9620
9601
|
type: "function",
|
|
9621
9602
|
name: "EXECUTOR",
|
|
@@ -9758,7 +9739,7 @@ var PoolExactOutputResolver = [
|
|
|
9758
9739
|
},
|
|
9759
9740
|
{
|
|
9760
9741
|
type: "event",
|
|
9761
|
-
name: "
|
|
9742
|
+
name: "DrawLegExecuted",
|
|
9762
9743
|
inputs: [
|
|
9763
9744
|
{
|
|
9764
9745
|
name: "requestHash",
|
|
@@ -9767,46 +9748,27 @@ var PoolExactOutputResolver = [
|
|
|
9767
9748
|
internalType: "bytes32"
|
|
9768
9749
|
},
|
|
9769
9750
|
{
|
|
9770
|
-
name: "
|
|
9751
|
+
name: "pool",
|
|
9771
9752
|
type: "address",
|
|
9772
9753
|
indexed: true,
|
|
9773
9754
|
internalType: "address"
|
|
9774
9755
|
},
|
|
9775
9756
|
{
|
|
9776
|
-
name: "
|
|
9777
|
-
type: "uint256",
|
|
9778
|
-
indexed: false,
|
|
9779
|
-
internalType: "uint256"
|
|
9780
|
-
},
|
|
9781
|
-
{
|
|
9782
|
-
name: "surplus",
|
|
9783
|
-
type: "uint256",
|
|
9784
|
-
indexed: false,
|
|
9785
|
-
internalType: "uint256"
|
|
9786
|
-
}
|
|
9787
|
-
],
|
|
9788
|
-
anonymous: false
|
|
9789
|
-
},
|
|
9790
|
-
{
|
|
9791
|
-
type: "event",
|
|
9792
|
-
name: "PoolSwapExecuted",
|
|
9793
|
-
inputs: [
|
|
9794
|
-
{
|
|
9795
|
-
name: "requestHash",
|
|
9796
|
-
type: "bytes32",
|
|
9797
|
-
indexed: true,
|
|
9798
|
-
internalType: "bytes32"
|
|
9799
|
-
},
|
|
9800
|
-
{
|
|
9801
|
-
name: "pool",
|
|
9757
|
+
name: "account",
|
|
9802
9758
|
type: "address",
|
|
9803
9759
|
indexed: true,
|
|
9804
9760
|
internalType: "address"
|
|
9805
9761
|
},
|
|
9762
|
+
{
|
|
9763
|
+
name: "kind",
|
|
9764
|
+
type: "uint8",
|
|
9765
|
+
indexed: false,
|
|
9766
|
+
internalType: "enum DrawLegKind"
|
|
9767
|
+
},
|
|
9806
9768
|
{
|
|
9807
9769
|
name: "tokenIn",
|
|
9808
9770
|
type: "address",
|
|
9809
|
-
indexed:
|
|
9771
|
+
indexed: false,
|
|
9810
9772
|
internalType: "address"
|
|
9811
9773
|
},
|
|
9812
9774
|
{
|
|
@@ -9816,13 +9778,13 @@ var PoolExactOutputResolver = [
|
|
|
9816
9778
|
internalType: "address"
|
|
9817
9779
|
},
|
|
9818
9780
|
{
|
|
9819
|
-
name: "
|
|
9781
|
+
name: "amountDrawn",
|
|
9820
9782
|
type: "uint256",
|
|
9821
9783
|
indexed: false,
|
|
9822
9784
|
internalType: "uint256"
|
|
9823
9785
|
},
|
|
9824
9786
|
{
|
|
9825
|
-
name: "
|
|
9787
|
+
name: "amountCredited",
|
|
9826
9788
|
type: "uint256",
|
|
9827
9789
|
indexed: false,
|
|
9828
9790
|
internalType: "uint256"
|
|
@@ -9832,15 +9794,20 @@ var PoolExactOutputResolver = [
|
|
|
9832
9794
|
},
|
|
9833
9795
|
{
|
|
9834
9796
|
type: "error",
|
|
9835
|
-
name: "
|
|
9797
|
+
name: "InsufficientDrawLegOutput",
|
|
9836
9798
|
inputs: [
|
|
9837
9799
|
{
|
|
9838
|
-
name: "
|
|
9800
|
+
name: "token",
|
|
9801
|
+
type: "address",
|
|
9802
|
+
internalType: "address"
|
|
9803
|
+
},
|
|
9804
|
+
{
|
|
9805
|
+
name: "amount",
|
|
9839
9806
|
type: "uint256",
|
|
9840
9807
|
internalType: "uint256"
|
|
9841
9808
|
},
|
|
9842
9809
|
{
|
|
9843
|
-
name: "
|
|
9810
|
+
name: "minimum",
|
|
9844
9811
|
type: "uint256",
|
|
9845
9812
|
internalType: "uint256"
|
|
9846
9813
|
}
|
|
@@ -9848,20 +9815,10 @@ var PoolExactOutputResolver = [
|
|
|
9848
9815
|
},
|
|
9849
9816
|
{
|
|
9850
9817
|
type: "error",
|
|
9851
|
-
name: "
|
|
9818
|
+
name: "MisorderedDrawLegs",
|
|
9852
9819
|
inputs: [
|
|
9853
9820
|
{
|
|
9854
|
-
name: "
|
|
9855
|
-
type: "address",
|
|
9856
|
-
internalType: "address"
|
|
9857
|
-
},
|
|
9858
|
-
{
|
|
9859
|
-
name: "amount",
|
|
9860
|
-
type: "uint256",
|
|
9861
|
-
internalType: "uint256"
|
|
9862
|
-
},
|
|
9863
|
-
{
|
|
9864
|
-
name: "minimum",
|
|
9821
|
+
name: "index",
|
|
9865
9822
|
type: "uint256",
|
|
9866
9823
|
internalType: "uint256"
|
|
9867
9824
|
}
|
|
@@ -9886,26 +9843,26 @@ var PoolExactOutputResolver = [
|
|
|
9886
9843
|
},
|
|
9887
9844
|
{
|
|
9888
9845
|
type: "error",
|
|
9889
|
-
name: "
|
|
9846
|
+
name: "SafeERC20FailedOperation",
|
|
9890
9847
|
inputs: [
|
|
9891
9848
|
{
|
|
9892
|
-
name: "
|
|
9893
|
-
type: "
|
|
9894
|
-
internalType: "
|
|
9895
|
-
},
|
|
9896
|
-
{
|
|
9897
|
-
name: "actual",
|
|
9898
|
-
type: "bytes32",
|
|
9899
|
-
internalType: "bytes32"
|
|
9849
|
+
name: "token",
|
|
9850
|
+
type: "address",
|
|
9851
|
+
internalType: "address"
|
|
9900
9852
|
}
|
|
9901
9853
|
]
|
|
9902
9854
|
},
|
|
9903
9855
|
{
|
|
9904
9856
|
type: "error",
|
|
9905
|
-
name: "
|
|
9857
|
+
name: "ShortfallTokenMismatch",
|
|
9906
9858
|
inputs: [
|
|
9907
9859
|
{
|
|
9908
|
-
name: "
|
|
9860
|
+
name: "tokenIn",
|
|
9861
|
+
type: "address",
|
|
9862
|
+
internalType: "address"
|
|
9863
|
+
},
|
|
9864
|
+
{
|
|
9865
|
+
name: "tokenOut",
|
|
9909
9866
|
type: "address",
|
|
9910
9867
|
internalType: "address"
|
|
9911
9868
|
}
|
|
@@ -9943,22 +9900,6 @@ var PoolExactOutputResolver = [
|
|
|
9943
9900
|
}
|
|
9944
9901
|
]
|
|
9945
9902
|
},
|
|
9946
|
-
{
|
|
9947
|
-
type: "error",
|
|
9948
|
-
name: "UnexpectedShortfallPool",
|
|
9949
|
-
inputs: [
|
|
9950
|
-
{
|
|
9951
|
-
name: "expected",
|
|
9952
|
-
type: "address",
|
|
9953
|
-
internalType: "address"
|
|
9954
|
-
},
|
|
9955
|
-
{
|
|
9956
|
-
name: "actual",
|
|
9957
|
-
type: "address",
|
|
9958
|
-
internalType: "address"
|
|
9959
|
-
}
|
|
9960
|
-
]
|
|
9961
|
-
},
|
|
9962
9903
|
{
|
|
9963
9904
|
type: "error",
|
|
9964
9905
|
name: "ZeroAddress",
|
|
@@ -10228,7 +10169,7 @@ var PoolResolverBase = [
|
|
|
10228
10169
|
},
|
|
10229
10170
|
{
|
|
10230
10171
|
type: "event",
|
|
10231
|
-
name: "
|
|
10172
|
+
name: "DrawLegExecuted",
|
|
10232
10173
|
inputs: [
|
|
10233
10174
|
{
|
|
10234
10175
|
name: "requestHash",
|
|
@@ -10243,11 +10184,23 @@ var PoolResolverBase = [
|
|
|
10243
10184
|
internalType: "address"
|
|
10244
10185
|
},
|
|
10245
10186
|
{
|
|
10246
|
-
name: "
|
|
10187
|
+
name: "account",
|
|
10247
10188
|
type: "address",
|
|
10248
10189
|
indexed: true,
|
|
10249
10190
|
internalType: "address"
|
|
10250
10191
|
},
|
|
10192
|
+
{
|
|
10193
|
+
name: "kind",
|
|
10194
|
+
type: "uint8",
|
|
10195
|
+
indexed: false,
|
|
10196
|
+
internalType: "enum DrawLegKind"
|
|
10197
|
+
},
|
|
10198
|
+
{
|
|
10199
|
+
name: "tokenIn",
|
|
10200
|
+
type: "address",
|
|
10201
|
+
indexed: false,
|
|
10202
|
+
internalType: "address"
|
|
10203
|
+
},
|
|
10251
10204
|
{
|
|
10252
10205
|
name: "tokenOut",
|
|
10253
10206
|
type: "address",
|
|
@@ -10255,13 +10208,13 @@ var PoolResolverBase = [
|
|
|
10255
10208
|
internalType: "address"
|
|
10256
10209
|
},
|
|
10257
10210
|
{
|
|
10258
|
-
name: "
|
|
10211
|
+
name: "amountDrawn",
|
|
10259
10212
|
type: "uint256",
|
|
10260
10213
|
indexed: false,
|
|
10261
10214
|
internalType: "uint256"
|
|
10262
10215
|
},
|
|
10263
10216
|
{
|
|
10264
|
-
name: "
|
|
10217
|
+
name: "amountCredited",
|
|
10265
10218
|
type: "uint256",
|
|
10266
10219
|
indexed: false,
|
|
10267
10220
|
internalType: "uint256"
|
|
@@ -10271,7 +10224,7 @@ var PoolResolverBase = [
|
|
|
10271
10224
|
},
|
|
10272
10225
|
{
|
|
10273
10226
|
type: "error",
|
|
10274
|
-
name: "
|
|
10227
|
+
name: "InsufficientDrawLegOutput",
|
|
10275
10228
|
inputs: [
|
|
10276
10229
|
{
|
|
10277
10230
|
name: "token",
|
|
@@ -10309,17 +10262,17 @@ var PoolResolverBase = [
|
|
|
10309
10262
|
},
|
|
10310
10263
|
{
|
|
10311
10264
|
type: "error",
|
|
10312
|
-
name: "
|
|
10265
|
+
name: "ShortfallTokenMismatch",
|
|
10313
10266
|
inputs: [
|
|
10314
10267
|
{
|
|
10315
|
-
name: "
|
|
10316
|
-
type: "
|
|
10317
|
-
internalType: "
|
|
10268
|
+
name: "tokenIn",
|
|
10269
|
+
type: "address",
|
|
10270
|
+
internalType: "address"
|
|
10318
10271
|
},
|
|
10319
10272
|
{
|
|
10320
|
-
name: "
|
|
10321
|
-
type: "
|
|
10322
|
-
internalType: "
|
|
10273
|
+
name: "tokenOut",
|
|
10274
|
+
type: "address",
|
|
10275
|
+
internalType: "address"
|
|
10323
10276
|
}
|
|
10324
10277
|
]
|
|
10325
10278
|
},
|
|
@@ -10363,454 +10316,149 @@ var PoolResolverBase = [
|
|
|
10363
10316
|
}
|
|
10364
10317
|
];
|
|
10365
10318
|
|
|
10366
|
-
var
|
|
10319
|
+
var ResolverSandbox = [
|
|
10367
10320
|
{
|
|
10368
10321
|
type: "constructor",
|
|
10369
10322
|
inputs: [
|
|
10370
|
-
{
|
|
10371
|
-
name: "executor",
|
|
10372
|
-
type: "address",
|
|
10373
|
-
internalType: "address"
|
|
10374
|
-
},
|
|
10375
|
-
{
|
|
10376
|
-
name: "hub",
|
|
10377
|
-
type: "address",
|
|
10378
|
-
internalType: "address"
|
|
10379
|
-
}
|
|
10380
10323
|
],
|
|
10381
10324
|
stateMutability: "nonpayable"
|
|
10382
10325
|
},
|
|
10383
10326
|
{
|
|
10384
10327
|
type: "function",
|
|
10385
|
-
name: "
|
|
10328
|
+
name: "OWNER",
|
|
10386
10329
|
inputs: [
|
|
10387
10330
|
],
|
|
10388
10331
|
outputs: [
|
|
10389
10332
|
{
|
|
10390
10333
|
name: "",
|
|
10391
10334
|
type: "address",
|
|
10392
|
-
internalType: "
|
|
10335
|
+
internalType: "address"
|
|
10393
10336
|
}
|
|
10394
10337
|
],
|
|
10395
10338
|
stateMutability: "view"
|
|
10396
10339
|
},
|
|
10397
10340
|
{
|
|
10398
10341
|
type: "function",
|
|
10399
|
-
name: "
|
|
10342
|
+
name: "run",
|
|
10400
10343
|
inputs: [
|
|
10344
|
+
{
|
|
10345
|
+
name: "calls",
|
|
10346
|
+
type: "tuple[]",
|
|
10347
|
+
internalType: "struct Call[]",
|
|
10348
|
+
components: [
|
|
10349
|
+
{
|
|
10350
|
+
name: "to",
|
|
10351
|
+
type: "address",
|
|
10352
|
+
internalType: "address"
|
|
10353
|
+
},
|
|
10354
|
+
{
|
|
10355
|
+
name: "data",
|
|
10356
|
+
type: "bytes",
|
|
10357
|
+
internalType: "bytes"
|
|
10358
|
+
}
|
|
10359
|
+
]
|
|
10360
|
+
},
|
|
10361
|
+
{
|
|
10362
|
+
name: "returnTokens",
|
|
10363
|
+
type: "address[]",
|
|
10364
|
+
internalType: "address[]"
|
|
10365
|
+
},
|
|
10366
|
+
{
|
|
10367
|
+
name: "recipient",
|
|
10368
|
+
type: "address",
|
|
10369
|
+
internalType: "address"
|
|
10370
|
+
}
|
|
10401
10371
|
],
|
|
10402
10372
|
outputs: [
|
|
10373
|
+
],
|
|
10374
|
+
stateMutability: "nonpayable"
|
|
10375
|
+
},
|
|
10376
|
+
{
|
|
10377
|
+
type: "error",
|
|
10378
|
+
name: "CallFailed",
|
|
10379
|
+
inputs: [
|
|
10403
10380
|
{
|
|
10404
|
-
name: "",
|
|
10381
|
+
name: "index",
|
|
10382
|
+
type: "uint256",
|
|
10383
|
+
internalType: "uint256"
|
|
10384
|
+
},
|
|
10385
|
+
{
|
|
10386
|
+
name: "target",
|
|
10405
10387
|
type: "address",
|
|
10406
|
-
internalType: "
|
|
10388
|
+
internalType: "address"
|
|
10389
|
+
},
|
|
10390
|
+
{
|
|
10391
|
+
name: "reason",
|
|
10392
|
+
type: "bytes",
|
|
10393
|
+
internalType: "bytes"
|
|
10407
10394
|
}
|
|
10408
|
-
]
|
|
10409
|
-
stateMutability: "view"
|
|
10395
|
+
]
|
|
10410
10396
|
},
|
|
10411
10397
|
{
|
|
10412
|
-
type: "
|
|
10413
|
-
name: "
|
|
10398
|
+
type: "error",
|
|
10399
|
+
name: "SafeERC20FailedOperation",
|
|
10414
10400
|
inputs: [
|
|
10415
|
-
],
|
|
10416
|
-
outputs: [
|
|
10417
10401
|
{
|
|
10418
|
-
name: "",
|
|
10402
|
+
name: "token",
|
|
10419
10403
|
type: "address",
|
|
10420
|
-
internalType: "
|
|
10404
|
+
internalType: "address"
|
|
10421
10405
|
}
|
|
10422
|
-
]
|
|
10423
|
-
stateMutability: "view"
|
|
10406
|
+
]
|
|
10424
10407
|
},
|
|
10408
|
+
{
|
|
10409
|
+
type: "error",
|
|
10410
|
+
name: "UnauthorizedCaller",
|
|
10411
|
+
inputs: [
|
|
10412
|
+
{
|
|
10413
|
+
name: "caller",
|
|
10414
|
+
type: "address",
|
|
10415
|
+
internalType: "address"
|
|
10416
|
+
}
|
|
10417
|
+
]
|
|
10418
|
+
}
|
|
10419
|
+
];
|
|
10420
|
+
|
|
10421
|
+
var RelayDepositAddressManager = [
|
|
10425
10422
|
{
|
|
10426
10423
|
type: "function",
|
|
10427
|
-
name: "
|
|
10424
|
+
name: "trigger",
|
|
10428
10425
|
inputs: [
|
|
10429
10426
|
{
|
|
10430
|
-
name: "
|
|
10427
|
+
name: "input",
|
|
10431
10428
|
type: "tuple",
|
|
10432
|
-
internalType: "struct
|
|
10429
|
+
internalType: "struct RelayDepositAddressManager.Input",
|
|
10433
10430
|
components: [
|
|
10434
10431
|
{
|
|
10435
|
-
name: "
|
|
10432
|
+
name: "vmType",
|
|
10436
10433
|
type: "string",
|
|
10437
10434
|
internalType: "string"
|
|
10438
10435
|
},
|
|
10439
10436
|
{
|
|
10440
|
-
name: "
|
|
10441
|
-
type: "bytes",
|
|
10442
|
-
internalType: "bytes"
|
|
10443
|
-
},
|
|
10444
|
-
{
|
|
10445
|
-
name: "outChainId",
|
|
10437
|
+
name: "chainId",
|
|
10446
10438
|
type: "string",
|
|
10447
10439
|
internalType: "string"
|
|
10448
10440
|
},
|
|
10449
10441
|
{
|
|
10450
|
-
name: "
|
|
10442
|
+
name: "currency",
|
|
10451
10443
|
type: "bytes",
|
|
10452
10444
|
internalType: "bytes"
|
|
10453
10445
|
},
|
|
10454
10446
|
{
|
|
10455
|
-
name: "
|
|
10447
|
+
name: "amount",
|
|
10456
10448
|
type: "uint256",
|
|
10457
10449
|
internalType: "uint256"
|
|
10458
|
-
}
|
|
10459
|
-
|
|
10460
|
-
|
|
10461
|
-
|
|
10462
|
-
|
|
10463
|
-
|
|
10464
|
-
|
|
10465
|
-
|
|
10466
|
-
|
|
10467
|
-
|
|
10468
|
-
|
|
10469
|
-
|
|
10470
|
-
name: "receiver",
|
|
10471
|
-
type: "bytes",
|
|
10472
|
-
internalType: "bytes"
|
|
10473
|
-
},
|
|
10474
|
-
{
|
|
10475
|
-
name: "data",
|
|
10476
|
-
type: "bytes",
|
|
10477
|
-
internalType: "bytes"
|
|
10478
|
-
},
|
|
10479
|
-
{
|
|
10480
|
-
name: "fees",
|
|
10481
|
-
type: "tuple[]",
|
|
10482
|
-
internalType: "struct Fee[]",
|
|
10483
|
-
components: [
|
|
10484
|
-
{
|
|
10485
|
-
name: "recipient",
|
|
10486
|
-
type: "address",
|
|
10487
|
-
internalType: "address"
|
|
10488
|
-
},
|
|
10489
|
-
{
|
|
10490
|
-
name: "amount",
|
|
10491
|
-
type: "uint256",
|
|
10492
|
-
internalType: "uint256"
|
|
10493
|
-
}
|
|
10494
|
-
]
|
|
10495
|
-
},
|
|
10496
|
-
{
|
|
10497
|
-
name: "nonce",
|
|
10498
|
-
type: "bytes32",
|
|
10499
|
-
internalType: "bytes32"
|
|
10500
|
-
},
|
|
10501
|
-
{
|
|
10502
|
-
name: "deadline",
|
|
10503
|
-
type: "uint256",
|
|
10504
|
-
internalType: "uint256"
|
|
10505
|
-
}
|
|
10506
|
-
]
|
|
10507
|
-
},
|
|
10508
|
-
{
|
|
10509
|
-
name: "feesCharged",
|
|
10510
|
-
type: "bool",
|
|
10511
|
-
internalType: "bool"
|
|
10512
|
-
},
|
|
10513
|
-
{
|
|
10514
|
-
name: "data",
|
|
10515
|
-
type: "bytes",
|
|
10516
|
-
internalType: "bytes"
|
|
10517
|
-
}
|
|
10518
|
-
],
|
|
10519
|
-
outputs: [
|
|
10520
|
-
],
|
|
10521
|
-
stateMutability: "nonpayable"
|
|
10522
|
-
},
|
|
10523
|
-
{
|
|
10524
|
-
type: "event",
|
|
10525
|
-
name: "PoolSwapExecuted",
|
|
10526
|
-
inputs: [
|
|
10527
|
-
{
|
|
10528
|
-
name: "requestHash",
|
|
10529
|
-
type: "bytes32",
|
|
10530
|
-
indexed: true,
|
|
10531
|
-
internalType: "bytes32"
|
|
10532
|
-
},
|
|
10533
|
-
{
|
|
10534
|
-
name: "pool",
|
|
10535
|
-
type: "address",
|
|
10536
|
-
indexed: true,
|
|
10537
|
-
internalType: "address"
|
|
10538
|
-
},
|
|
10539
|
-
{
|
|
10540
|
-
name: "tokenIn",
|
|
10541
|
-
type: "address",
|
|
10542
|
-
indexed: true,
|
|
10543
|
-
internalType: "address"
|
|
10544
|
-
},
|
|
10545
|
-
{
|
|
10546
|
-
name: "tokenOut",
|
|
10547
|
-
type: "address",
|
|
10548
|
-
indexed: false,
|
|
10549
|
-
internalType: "address"
|
|
10550
|
-
},
|
|
10551
|
-
{
|
|
10552
|
-
name: "amountInReceived",
|
|
10553
|
-
type: "uint256",
|
|
10554
|
-
indexed: false,
|
|
10555
|
-
internalType: "uint256"
|
|
10556
|
-
},
|
|
10557
|
-
{
|
|
10558
|
-
name: "amountOutProduced",
|
|
10559
|
-
type: "uint256",
|
|
10560
|
-
indexed: false,
|
|
10561
|
-
internalType: "uint256"
|
|
10562
|
-
}
|
|
10563
|
-
],
|
|
10564
|
-
anonymous: false
|
|
10565
|
-
},
|
|
10566
|
-
{
|
|
10567
|
-
type: "error",
|
|
10568
|
-
name: "InsufficientPoolSwapOutput",
|
|
10569
|
-
inputs: [
|
|
10570
|
-
{
|
|
10571
|
-
name: "token",
|
|
10572
|
-
type: "address",
|
|
10573
|
-
internalType: "address"
|
|
10574
|
-
},
|
|
10575
|
-
{
|
|
10576
|
-
name: "amount",
|
|
10577
|
-
type: "uint256",
|
|
10578
|
-
internalType: "uint256"
|
|
10579
|
-
},
|
|
10580
|
-
{
|
|
10581
|
-
name: "minimum",
|
|
10582
|
-
type: "uint256",
|
|
10583
|
-
internalType: "uint256"
|
|
10584
|
-
}
|
|
10585
|
-
]
|
|
10586
|
-
},
|
|
10587
|
-
{
|
|
10588
|
-
type: "error",
|
|
10589
|
-
name: "MissingTokenView",
|
|
10590
|
-
inputs: [
|
|
10591
|
-
{
|
|
10592
|
-
name: "tokenId",
|
|
10593
|
-
type: "uint256",
|
|
10594
|
-
internalType: "uint256"
|
|
10595
|
-
}
|
|
10596
|
-
]
|
|
10597
|
-
},
|
|
10598
|
-
{
|
|
10599
|
-
type: "error",
|
|
10600
|
-
name: "ReentrancyGuardReentrantCall",
|
|
10601
|
-
inputs: [
|
|
10602
|
-
]
|
|
10603
|
-
},
|
|
10604
|
-
{
|
|
10605
|
-
type: "error",
|
|
10606
|
-
name: "RequestHashMismatch",
|
|
10607
|
-
inputs: [
|
|
10608
|
-
{
|
|
10609
|
-
name: "expected",
|
|
10610
|
-
type: "bytes32",
|
|
10611
|
-
internalType: "bytes32"
|
|
10612
|
-
},
|
|
10613
|
-
{
|
|
10614
|
-
name: "actual",
|
|
10615
|
-
type: "bytes32",
|
|
10616
|
-
internalType: "bytes32"
|
|
10617
|
-
}
|
|
10618
|
-
]
|
|
10619
|
-
},
|
|
10620
|
-
{
|
|
10621
|
-
type: "error",
|
|
10622
|
-
name: "SafeERC20FailedOperation",
|
|
10623
|
-
inputs: [
|
|
10624
|
-
{
|
|
10625
|
-
name: "token",
|
|
10626
|
-
type: "address",
|
|
10627
|
-
internalType: "address"
|
|
10628
|
-
}
|
|
10629
|
-
]
|
|
10630
|
-
},
|
|
10631
|
-
{
|
|
10632
|
-
type: "error",
|
|
10633
|
-
name: "TokenBalanceDecreased",
|
|
10634
|
-
inputs: [
|
|
10635
|
-
{
|
|
10636
|
-
name: "token",
|
|
10637
|
-
type: "address",
|
|
10638
|
-
internalType: "address"
|
|
10639
|
-
},
|
|
10640
|
-
{
|
|
10641
|
-
name: "before_",
|
|
10642
|
-
type: "uint256",
|
|
10643
|
-
internalType: "uint256"
|
|
10644
|
-
},
|
|
10645
|
-
{
|
|
10646
|
-
name: "after_",
|
|
10647
|
-
type: "uint256",
|
|
10648
|
-
internalType: "uint256"
|
|
10649
|
-
}
|
|
10650
|
-
]
|
|
10651
|
-
},
|
|
10652
|
-
{
|
|
10653
|
-
type: "error",
|
|
10654
|
-
name: "UnauthorizedExecutor",
|
|
10655
|
-
inputs: [
|
|
10656
|
-
{
|
|
10657
|
-
name: "caller",
|
|
10658
|
-
type: "address",
|
|
10659
|
-
internalType: "address"
|
|
10660
|
-
}
|
|
10661
|
-
]
|
|
10662
|
-
},
|
|
10663
|
-
{
|
|
10664
|
-
type: "error",
|
|
10665
|
-
name: "ZeroAddress",
|
|
10666
|
-
inputs: [
|
|
10667
|
-
]
|
|
10668
|
-
}
|
|
10669
|
-
];
|
|
10670
|
-
|
|
10671
|
-
var ResolverSandbox = [
|
|
10672
|
-
{
|
|
10673
|
-
type: "constructor",
|
|
10674
|
-
inputs: [
|
|
10675
|
-
],
|
|
10676
|
-
stateMutability: "nonpayable"
|
|
10677
|
-
},
|
|
10678
|
-
{
|
|
10679
|
-
type: "function",
|
|
10680
|
-
name: "OWNER",
|
|
10681
|
-
inputs: [
|
|
10682
|
-
],
|
|
10683
|
-
outputs: [
|
|
10684
|
-
{
|
|
10685
|
-
name: "",
|
|
10686
|
-
type: "address",
|
|
10687
|
-
internalType: "address"
|
|
10688
|
-
}
|
|
10689
|
-
],
|
|
10690
|
-
stateMutability: "view"
|
|
10691
|
-
},
|
|
10692
|
-
{
|
|
10693
|
-
type: "function",
|
|
10694
|
-
name: "run",
|
|
10695
|
-
inputs: [
|
|
10696
|
-
{
|
|
10697
|
-
name: "calls",
|
|
10698
|
-
type: "tuple[]",
|
|
10699
|
-
internalType: "struct Call[]",
|
|
10700
|
-
components: [
|
|
10701
|
-
{
|
|
10702
|
-
name: "to",
|
|
10703
|
-
type: "address",
|
|
10704
|
-
internalType: "address"
|
|
10705
|
-
},
|
|
10706
|
-
{
|
|
10707
|
-
name: "data",
|
|
10708
|
-
type: "bytes",
|
|
10709
|
-
internalType: "bytes"
|
|
10710
|
-
}
|
|
10711
|
-
]
|
|
10712
|
-
},
|
|
10713
|
-
{
|
|
10714
|
-
name: "returnTokens",
|
|
10715
|
-
type: "address[]",
|
|
10716
|
-
internalType: "address[]"
|
|
10717
|
-
},
|
|
10718
|
-
{
|
|
10719
|
-
name: "recipient",
|
|
10720
|
-
type: "address",
|
|
10721
|
-
internalType: "address"
|
|
10722
|
-
}
|
|
10723
|
-
],
|
|
10724
|
-
outputs: [
|
|
10725
|
-
],
|
|
10726
|
-
stateMutability: "nonpayable"
|
|
10727
|
-
},
|
|
10728
|
-
{
|
|
10729
|
-
type: "error",
|
|
10730
|
-
name: "CallFailed",
|
|
10731
|
-
inputs: [
|
|
10732
|
-
{
|
|
10733
|
-
name: "index",
|
|
10734
|
-
type: "uint256",
|
|
10735
|
-
internalType: "uint256"
|
|
10736
|
-
},
|
|
10737
|
-
{
|
|
10738
|
-
name: "target",
|
|
10739
|
-
type: "address",
|
|
10740
|
-
internalType: "address"
|
|
10741
|
-
},
|
|
10742
|
-
{
|
|
10743
|
-
name: "reason",
|
|
10744
|
-
type: "bytes",
|
|
10745
|
-
internalType: "bytes"
|
|
10746
|
-
}
|
|
10747
|
-
]
|
|
10748
|
-
},
|
|
10749
|
-
{
|
|
10750
|
-
type: "error",
|
|
10751
|
-
name: "SafeERC20FailedOperation",
|
|
10752
|
-
inputs: [
|
|
10753
|
-
{
|
|
10754
|
-
name: "token",
|
|
10755
|
-
type: "address",
|
|
10756
|
-
internalType: "address"
|
|
10757
|
-
}
|
|
10758
|
-
]
|
|
10759
|
-
},
|
|
10760
|
-
{
|
|
10761
|
-
type: "error",
|
|
10762
|
-
name: "UnauthorizedCaller",
|
|
10763
|
-
inputs: [
|
|
10764
|
-
{
|
|
10765
|
-
name: "caller",
|
|
10766
|
-
type: "address",
|
|
10767
|
-
internalType: "address"
|
|
10768
|
-
}
|
|
10769
|
-
]
|
|
10770
|
-
}
|
|
10771
|
-
];
|
|
10772
|
-
|
|
10773
|
-
var RelayDepositAddressManager = [
|
|
10774
|
-
{
|
|
10775
|
-
type: "function",
|
|
10776
|
-
name: "trigger",
|
|
10777
|
-
inputs: [
|
|
10778
|
-
{
|
|
10779
|
-
name: "input",
|
|
10780
|
-
type: "tuple",
|
|
10781
|
-
internalType: "struct RelayDepositAddressManager.Input",
|
|
10782
|
-
components: [
|
|
10783
|
-
{
|
|
10784
|
-
name: "vmType",
|
|
10785
|
-
type: "string",
|
|
10786
|
-
internalType: "string"
|
|
10787
|
-
},
|
|
10788
|
-
{
|
|
10789
|
-
name: "chainId",
|
|
10790
|
-
type: "string",
|
|
10791
|
-
internalType: "string"
|
|
10792
|
-
},
|
|
10793
|
-
{
|
|
10794
|
-
name: "currency",
|
|
10795
|
-
type: "bytes",
|
|
10796
|
-
internalType: "bytes"
|
|
10797
|
-
},
|
|
10798
|
-
{
|
|
10799
|
-
name: "amount",
|
|
10800
|
-
type: "uint256",
|
|
10801
|
-
internalType: "uint256"
|
|
10802
|
-
}
|
|
10803
|
-
]
|
|
10804
|
-
},
|
|
10805
|
-
{
|
|
10806
|
-
name: "derivationFields",
|
|
10807
|
-
type: "tuple",
|
|
10808
|
-
internalType: "struct RelayDepositAddressManager.DerivationFields",
|
|
10809
|
-
components: [
|
|
10810
|
-
{
|
|
10811
|
-
name: "inputVmType",
|
|
10812
|
-
type: "string",
|
|
10813
|
-
internalType: "string"
|
|
10450
|
+
}
|
|
10451
|
+
]
|
|
10452
|
+
},
|
|
10453
|
+
{
|
|
10454
|
+
name: "derivationFields",
|
|
10455
|
+
type: "tuple",
|
|
10456
|
+
internalType: "struct RelayDepositAddressManager.DerivationFields",
|
|
10457
|
+
components: [
|
|
10458
|
+
{
|
|
10459
|
+
name: "inputVmType",
|
|
10460
|
+
type: "string",
|
|
10461
|
+
internalType: "string"
|
|
10814
10462
|
},
|
|
10815
10463
|
{
|
|
10816
10464
|
name: "outputVmType",
|
|
@@ -13759,99 +13407,314 @@ var RelayGatewayDepository = [
|
|
|
13759
13407
|
},
|
|
13760
13408
|
{
|
|
13761
13409
|
type: "error",
|
|
13762
|
-
name: "NewOwnerIsZeroAddress",
|
|
13763
|
-
inputs: [
|
|
13764
|
-
]
|
|
13765
|
-
},
|
|
13766
|
-
{
|
|
13767
|
-
type: "error",
|
|
13768
|
-
name: "NoHandoverRequest",
|
|
13410
|
+
name: "NewOwnerIsZeroAddress",
|
|
13411
|
+
inputs: [
|
|
13412
|
+
]
|
|
13413
|
+
},
|
|
13414
|
+
{
|
|
13415
|
+
type: "error",
|
|
13416
|
+
name: "NoHandoverRequest",
|
|
13417
|
+
inputs: [
|
|
13418
|
+
]
|
|
13419
|
+
},
|
|
13420
|
+
{
|
|
13421
|
+
type: "error",
|
|
13422
|
+
name: "TransferSpecHashAlreadyUsed",
|
|
13423
|
+
inputs: [
|
|
13424
|
+
{
|
|
13425
|
+
name: "transferSpecHash",
|
|
13426
|
+
type: "bytes32",
|
|
13427
|
+
internalType: "bytes32"
|
|
13428
|
+
}
|
|
13429
|
+
]
|
|
13430
|
+
},
|
|
13431
|
+
{
|
|
13432
|
+
type: "error",
|
|
13433
|
+
name: "Unauthorized",
|
|
13434
|
+
inputs: [
|
|
13435
|
+
]
|
|
13436
|
+
},
|
|
13437
|
+
{
|
|
13438
|
+
type: "error",
|
|
13439
|
+
name: "UsdcAlreadyInitialized",
|
|
13440
|
+
inputs: [
|
|
13441
|
+
]
|
|
13442
|
+
}
|
|
13443
|
+
];
|
|
13444
|
+
|
|
13445
|
+
var ICircleGatewayMinter = [
|
|
13446
|
+
{
|
|
13447
|
+
type: "function",
|
|
13448
|
+
name: "gatewayMint",
|
|
13449
|
+
inputs: [
|
|
13450
|
+
{
|
|
13451
|
+
name: "attestationPayload",
|
|
13452
|
+
type: "bytes",
|
|
13453
|
+
internalType: "bytes"
|
|
13454
|
+
},
|
|
13455
|
+
{
|
|
13456
|
+
name: "signature",
|
|
13457
|
+
type: "bytes",
|
|
13458
|
+
internalType: "bytes"
|
|
13459
|
+
}
|
|
13460
|
+
],
|
|
13461
|
+
outputs: [
|
|
13462
|
+
],
|
|
13463
|
+
stateMutability: "nonpayable"
|
|
13464
|
+
},
|
|
13465
|
+
{
|
|
13466
|
+
type: "function",
|
|
13467
|
+
name: "isTransferSpecHashUsed",
|
|
13468
|
+
inputs: [
|
|
13469
|
+
{
|
|
13470
|
+
name: "transferSpecHash",
|
|
13471
|
+
type: "bytes32",
|
|
13472
|
+
internalType: "bytes32"
|
|
13473
|
+
}
|
|
13474
|
+
],
|
|
13475
|
+
outputs: [
|
|
13476
|
+
{
|
|
13477
|
+
name: "used",
|
|
13478
|
+
type: "bool",
|
|
13479
|
+
internalType: "bool"
|
|
13480
|
+
}
|
|
13481
|
+
],
|
|
13482
|
+
stateMutability: "view"
|
|
13483
|
+
}
|
|
13484
|
+
];
|
|
13485
|
+
|
|
13486
|
+
var ICircleGatewayWallet = [
|
|
13487
|
+
{
|
|
13488
|
+
type: "function",
|
|
13489
|
+
name: "depositFor",
|
|
13490
|
+
inputs: [
|
|
13491
|
+
{
|
|
13492
|
+
name: "token",
|
|
13493
|
+
type: "address",
|
|
13494
|
+
internalType: "address"
|
|
13495
|
+
},
|
|
13496
|
+
{
|
|
13497
|
+
name: "depositor",
|
|
13498
|
+
type: "address",
|
|
13499
|
+
internalType: "address"
|
|
13500
|
+
},
|
|
13501
|
+
{
|
|
13502
|
+
name: "value",
|
|
13503
|
+
type: "uint256",
|
|
13504
|
+
internalType: "uint256"
|
|
13505
|
+
}
|
|
13506
|
+
],
|
|
13507
|
+
outputs: [
|
|
13508
|
+
],
|
|
13509
|
+
stateMutability: "nonpayable"
|
|
13510
|
+
}
|
|
13511
|
+
];
|
|
13512
|
+
|
|
13513
|
+
var IFeeCalculator = [
|
|
13514
|
+
{
|
|
13515
|
+
type: "function",
|
|
13516
|
+
name: "calculateFee",
|
|
13517
|
+
inputs: [
|
|
13518
|
+
{
|
|
13519
|
+
name: "tokenId",
|
|
13520
|
+
type: "uint256",
|
|
13521
|
+
internalType: "uint256"
|
|
13522
|
+
},
|
|
13523
|
+
{
|
|
13524
|
+
name: "amount",
|
|
13525
|
+
type: "uint256",
|
|
13526
|
+
internalType: "uint256"
|
|
13527
|
+
},
|
|
13528
|
+
{
|
|
13529
|
+
name: "data",
|
|
13530
|
+
type: "bytes",
|
|
13531
|
+
internalType: "bytes"
|
|
13532
|
+
}
|
|
13533
|
+
],
|
|
13534
|
+
outputs: [
|
|
13535
|
+
{
|
|
13536
|
+
name: "feeCurrency",
|
|
13537
|
+
type: "uint256",
|
|
13538
|
+
internalType: "uint256"
|
|
13539
|
+
},
|
|
13540
|
+
{
|
|
13541
|
+
name: "feeAmount",
|
|
13542
|
+
type: "uint256",
|
|
13543
|
+
internalType: "uint256"
|
|
13544
|
+
},
|
|
13545
|
+
{
|
|
13546
|
+
name: "feeRecipient",
|
|
13547
|
+
type: "address",
|
|
13548
|
+
internalType: "address"
|
|
13549
|
+
},
|
|
13550
|
+
{
|
|
13551
|
+
name: "feePayer",
|
|
13552
|
+
type: "address",
|
|
13553
|
+
internalType: "address"
|
|
13554
|
+
}
|
|
13555
|
+
],
|
|
13556
|
+
stateMutability: "nonpayable"
|
|
13557
|
+
}
|
|
13558
|
+
];
|
|
13559
|
+
|
|
13560
|
+
var RelayBpsFeeCalculator = [
|
|
13561
|
+
{
|
|
13562
|
+
type: "constructor",
|
|
13563
|
+
inputs: [
|
|
13564
|
+
{
|
|
13565
|
+
name: "priceOracle",
|
|
13566
|
+
type: "address",
|
|
13567
|
+
internalType: "address"
|
|
13568
|
+
}
|
|
13569
|
+
],
|
|
13570
|
+
stateMutability: "nonpayable"
|
|
13571
|
+
},
|
|
13572
|
+
{
|
|
13573
|
+
type: "function",
|
|
13574
|
+
name: "PRICE_ORACLE",
|
|
13575
|
+
inputs: [
|
|
13576
|
+
],
|
|
13577
|
+
outputs: [
|
|
13578
|
+
{
|
|
13579
|
+
name: "",
|
|
13580
|
+
type: "address",
|
|
13581
|
+
internalType: "contract RelayPriceOracle"
|
|
13582
|
+
}
|
|
13583
|
+
],
|
|
13584
|
+
stateMutability: "view"
|
|
13585
|
+
},
|
|
13586
|
+
{
|
|
13587
|
+
type: "function",
|
|
13588
|
+
name: "calculateFee",
|
|
13589
|
+
inputs: [
|
|
13590
|
+
{
|
|
13591
|
+
name: "tokenId",
|
|
13592
|
+
type: "uint256",
|
|
13593
|
+
internalType: "uint256"
|
|
13594
|
+
},
|
|
13595
|
+
{
|
|
13596
|
+
name: "amount",
|
|
13597
|
+
type: "uint256",
|
|
13598
|
+
internalType: "uint256"
|
|
13599
|
+
},
|
|
13600
|
+
{
|
|
13601
|
+
name: "data",
|
|
13602
|
+
type: "bytes",
|
|
13603
|
+
internalType: "bytes"
|
|
13604
|
+
}
|
|
13605
|
+
],
|
|
13606
|
+
outputs: [
|
|
13607
|
+
{
|
|
13608
|
+
name: "feeCurrency",
|
|
13609
|
+
type: "uint256",
|
|
13610
|
+
internalType: "uint256"
|
|
13611
|
+
},
|
|
13612
|
+
{
|
|
13613
|
+
name: "feeAmount",
|
|
13614
|
+
type: "uint256",
|
|
13615
|
+
internalType: "uint256"
|
|
13616
|
+
},
|
|
13617
|
+
{
|
|
13618
|
+
name: "feeRecipient",
|
|
13619
|
+
type: "address",
|
|
13620
|
+
internalType: "address"
|
|
13621
|
+
},
|
|
13622
|
+
{
|
|
13623
|
+
name: "feePayer",
|
|
13624
|
+
type: "address",
|
|
13625
|
+
internalType: "address"
|
|
13626
|
+
}
|
|
13627
|
+
],
|
|
13628
|
+
stateMutability: "nonpayable"
|
|
13629
|
+
},
|
|
13630
|
+
{
|
|
13631
|
+
type: "error",
|
|
13632
|
+
name: "FeeExceedsMax",
|
|
13633
|
+
inputs: [
|
|
13634
|
+
{
|
|
13635
|
+
name: "feeAmount",
|
|
13636
|
+
type: "uint256",
|
|
13637
|
+
internalType: "uint256"
|
|
13638
|
+
},
|
|
13639
|
+
{
|
|
13640
|
+
name: "maxFeeAmount",
|
|
13641
|
+
type: "uint256",
|
|
13642
|
+
internalType: "uint256"
|
|
13643
|
+
}
|
|
13644
|
+
]
|
|
13645
|
+
},
|
|
13646
|
+
{
|
|
13647
|
+
type: "error",
|
|
13648
|
+
name: "InvalidFeeBps",
|
|
13769
13649
|
inputs: [
|
|
13650
|
+
{
|
|
13651
|
+
name: "feeBps",
|
|
13652
|
+
type: "uint256",
|
|
13653
|
+
internalType: "uint256"
|
|
13654
|
+
}
|
|
13770
13655
|
]
|
|
13771
13656
|
},
|
|
13772
13657
|
{
|
|
13773
13658
|
type: "error",
|
|
13774
|
-
name: "
|
|
13659
|
+
name: "InvalidFeePayer",
|
|
13775
13660
|
inputs: [
|
|
13776
|
-
{
|
|
13777
|
-
name: "transferSpecHash",
|
|
13778
|
-
type: "bytes32",
|
|
13779
|
-
internalType: "bytes32"
|
|
13780
|
-
}
|
|
13781
13661
|
]
|
|
13782
13662
|
},
|
|
13783
13663
|
{
|
|
13784
13664
|
type: "error",
|
|
13785
|
-
name: "
|
|
13665
|
+
name: "InvalidFeeRecipient",
|
|
13786
13666
|
inputs: [
|
|
13787
13667
|
]
|
|
13788
13668
|
},
|
|
13789
13669
|
{
|
|
13790
13670
|
type: "error",
|
|
13791
|
-
name: "
|
|
13671
|
+
name: "ZeroAddress",
|
|
13792
13672
|
inputs: [
|
|
13793
13673
|
]
|
|
13794
13674
|
}
|
|
13795
13675
|
];
|
|
13796
13676
|
|
|
13797
|
-
var
|
|
13677
|
+
var IRelayFundingPool = [
|
|
13798
13678
|
{
|
|
13799
13679
|
type: "function",
|
|
13800
|
-
name: "
|
|
13680
|
+
name: "balances",
|
|
13801
13681
|
inputs: [
|
|
13802
13682
|
{
|
|
13803
|
-
name: "
|
|
13804
|
-
type: "
|
|
13805
|
-
internalType: "
|
|
13683
|
+
name: "account",
|
|
13684
|
+
type: "address",
|
|
13685
|
+
internalType: "address"
|
|
13806
13686
|
},
|
|
13807
13687
|
{
|
|
13808
|
-
name: "
|
|
13809
|
-
type: "
|
|
13810
|
-
internalType: "
|
|
13811
|
-
}
|
|
13812
|
-
],
|
|
13813
|
-
outputs: [
|
|
13814
|
-
],
|
|
13815
|
-
stateMutability: "nonpayable"
|
|
13816
|
-
},
|
|
13817
|
-
{
|
|
13818
|
-
type: "function",
|
|
13819
|
-
name: "isTransferSpecHashUsed",
|
|
13820
|
-
inputs: [
|
|
13821
|
-
{
|
|
13822
|
-
name: "transferSpecHash",
|
|
13823
|
-
type: "bytes32",
|
|
13824
|
-
internalType: "bytes32"
|
|
13688
|
+
name: "token",
|
|
13689
|
+
type: "address",
|
|
13690
|
+
internalType: "address"
|
|
13825
13691
|
}
|
|
13826
13692
|
],
|
|
13827
13693
|
outputs: [
|
|
13828
13694
|
{
|
|
13829
|
-
name: "
|
|
13830
|
-
type: "
|
|
13831
|
-
internalType: "
|
|
13695
|
+
name: "balance",
|
|
13696
|
+
type: "uint256",
|
|
13697
|
+
internalType: "uint256"
|
|
13832
13698
|
}
|
|
13833
13699
|
],
|
|
13834
13700
|
stateMutability: "view"
|
|
13835
|
-
}
|
|
13836
|
-
];
|
|
13837
|
-
|
|
13838
|
-
var ICircleGatewayWallet = [
|
|
13701
|
+
},
|
|
13839
13702
|
{
|
|
13840
13703
|
type: "function",
|
|
13841
|
-
name: "
|
|
13704
|
+
name: "credit",
|
|
13842
13705
|
inputs: [
|
|
13843
13706
|
{
|
|
13844
|
-
name: "
|
|
13707
|
+
name: "account",
|
|
13845
13708
|
type: "address",
|
|
13846
13709
|
internalType: "address"
|
|
13847
13710
|
},
|
|
13848
13711
|
{
|
|
13849
|
-
name: "
|
|
13712
|
+
name: "token",
|
|
13850
13713
|
type: "address",
|
|
13851
13714
|
internalType: "address"
|
|
13852
13715
|
},
|
|
13853
13716
|
{
|
|
13854
|
-
name: "
|
|
13717
|
+
name: "amount",
|
|
13855
13718
|
type: "uint256",
|
|
13856
13719
|
internalType: "uint256"
|
|
13857
13720
|
}
|
|
@@ -13859,18 +13722,20 @@ var ICircleGatewayWallet = [
|
|
|
13859
13722
|
outputs: [
|
|
13860
13723
|
],
|
|
13861
13724
|
stateMutability: "nonpayable"
|
|
13862
|
-
}
|
|
13863
|
-
];
|
|
13864
|
-
|
|
13865
|
-
var IFeeCalculator = [
|
|
13725
|
+
},
|
|
13866
13726
|
{
|
|
13867
13727
|
type: "function",
|
|
13868
|
-
name: "
|
|
13728
|
+
name: "debit",
|
|
13869
13729
|
inputs: [
|
|
13870
13730
|
{
|
|
13871
|
-
name: "
|
|
13872
|
-
type: "
|
|
13873
|
-
internalType: "
|
|
13731
|
+
name: "account",
|
|
13732
|
+
type: "address",
|
|
13733
|
+
internalType: "address"
|
|
13734
|
+
},
|
|
13735
|
+
{
|
|
13736
|
+
name: "token",
|
|
13737
|
+
type: "address",
|
|
13738
|
+
internalType: "address"
|
|
13874
13739
|
},
|
|
13875
13740
|
{
|
|
13876
13741
|
name: "amount",
|
|
@@ -13878,264 +13743,255 @@ var IFeeCalculator = [
|
|
|
13878
13743
|
internalType: "uint256"
|
|
13879
13744
|
},
|
|
13880
13745
|
{
|
|
13881
|
-
name: "
|
|
13882
|
-
type: "
|
|
13883
|
-
internalType: "
|
|
13746
|
+
name: "requestHash",
|
|
13747
|
+
type: "bytes32",
|
|
13748
|
+
internalType: "bytes32"
|
|
13884
13749
|
}
|
|
13885
13750
|
],
|
|
13886
13751
|
outputs: [
|
|
13752
|
+
],
|
|
13753
|
+
stateMutability: "nonpayable"
|
|
13754
|
+
},
|
|
13755
|
+
{
|
|
13756
|
+
type: "function",
|
|
13757
|
+
name: "depositFor",
|
|
13758
|
+
inputs: [
|
|
13887
13759
|
{
|
|
13888
|
-
name: "
|
|
13889
|
-
type: "uint256",
|
|
13890
|
-
internalType: "uint256"
|
|
13891
|
-
},
|
|
13892
|
-
{
|
|
13893
|
-
name: "feeAmount",
|
|
13894
|
-
type: "uint256",
|
|
13895
|
-
internalType: "uint256"
|
|
13896
|
-
},
|
|
13897
|
-
{
|
|
13898
|
-
name: "feeRecipient",
|
|
13760
|
+
name: "account",
|
|
13899
13761
|
type: "address",
|
|
13900
13762
|
internalType: "address"
|
|
13901
13763
|
},
|
|
13902
13764
|
{
|
|
13903
|
-
name: "
|
|
13765
|
+
name: "token",
|
|
13904
13766
|
type: "address",
|
|
13905
13767
|
internalType: "address"
|
|
13768
|
+
},
|
|
13769
|
+
{
|
|
13770
|
+
name: "amount",
|
|
13771
|
+
type: "uint256",
|
|
13772
|
+
internalType: "uint256"
|
|
13906
13773
|
}
|
|
13907
13774
|
],
|
|
13775
|
+
outputs: [
|
|
13776
|
+
],
|
|
13908
13777
|
stateMutability: "nonpayable"
|
|
13909
|
-
}
|
|
13910
|
-
];
|
|
13911
|
-
|
|
13912
|
-
var RelayBpsFeeCalculator = [
|
|
13778
|
+
},
|
|
13913
13779
|
{
|
|
13914
|
-
type: "
|
|
13780
|
+
type: "function",
|
|
13781
|
+
name: "drawRecords",
|
|
13915
13782
|
inputs: [
|
|
13916
13783
|
{
|
|
13917
|
-
name: "
|
|
13784
|
+
name: "requestHash",
|
|
13785
|
+
type: "bytes32",
|
|
13786
|
+
internalType: "bytes32"
|
|
13787
|
+
},
|
|
13788
|
+
{
|
|
13789
|
+
name: "account",
|
|
13918
13790
|
type: "address",
|
|
13919
13791
|
internalType: "address"
|
|
13920
13792
|
}
|
|
13921
13793
|
],
|
|
13922
|
-
|
|
13794
|
+
outputs: [
|
|
13795
|
+
{
|
|
13796
|
+
name: "drawn",
|
|
13797
|
+
type: "bool",
|
|
13798
|
+
internalType: "bool"
|
|
13799
|
+
}
|
|
13800
|
+
],
|
|
13801
|
+
stateMutability: "view"
|
|
13923
13802
|
},
|
|
13924
13803
|
{
|
|
13925
13804
|
type: "function",
|
|
13926
|
-
name: "
|
|
13805
|
+
name: "hashWithdrawal",
|
|
13927
13806
|
inputs: [
|
|
13807
|
+
{
|
|
13808
|
+
name: "withdrawal",
|
|
13809
|
+
type: "tuple",
|
|
13810
|
+
internalType: "struct PoolWithdrawal",
|
|
13811
|
+
components: [
|
|
13812
|
+
{
|
|
13813
|
+
name: "account",
|
|
13814
|
+
type: "address",
|
|
13815
|
+
internalType: "address"
|
|
13816
|
+
},
|
|
13817
|
+
{
|
|
13818
|
+
name: "token",
|
|
13819
|
+
type: "address",
|
|
13820
|
+
internalType: "address"
|
|
13821
|
+
},
|
|
13822
|
+
{
|
|
13823
|
+
name: "amount",
|
|
13824
|
+
type: "uint256",
|
|
13825
|
+
internalType: "uint256"
|
|
13826
|
+
},
|
|
13827
|
+
{
|
|
13828
|
+
name: "recipient",
|
|
13829
|
+
type: "address",
|
|
13830
|
+
internalType: "address"
|
|
13831
|
+
},
|
|
13832
|
+
{
|
|
13833
|
+
name: "nonce",
|
|
13834
|
+
type: "uint256",
|
|
13835
|
+
internalType: "uint256"
|
|
13836
|
+
},
|
|
13837
|
+
{
|
|
13838
|
+
name: "deadline",
|
|
13839
|
+
type: "uint256",
|
|
13840
|
+
internalType: "uint256"
|
|
13841
|
+
}
|
|
13842
|
+
]
|
|
13843
|
+
}
|
|
13928
13844
|
],
|
|
13929
13845
|
outputs: [
|
|
13930
13846
|
{
|
|
13931
|
-
name: "",
|
|
13932
|
-
type: "
|
|
13933
|
-
internalType: "
|
|
13847
|
+
name: "digest",
|
|
13848
|
+
type: "bytes32",
|
|
13849
|
+
internalType: "bytes32"
|
|
13934
13850
|
}
|
|
13935
13851
|
],
|
|
13936
13852
|
stateMutability: "view"
|
|
13937
13853
|
},
|
|
13938
13854
|
{
|
|
13939
13855
|
type: "function",
|
|
13940
|
-
name: "
|
|
13856
|
+
name: "setSponsorshipConfig",
|
|
13941
13857
|
inputs: [
|
|
13942
13858
|
{
|
|
13943
|
-
name: "
|
|
13944
|
-
type: "
|
|
13945
|
-
internalType: "
|
|
13946
|
-
},
|
|
13947
|
-
{
|
|
13948
|
-
name: "amount",
|
|
13949
|
-
type: "uint256",
|
|
13950
|
-
internalType: "uint256"
|
|
13859
|
+
name: "token",
|
|
13860
|
+
type: "address",
|
|
13861
|
+
internalType: "address"
|
|
13951
13862
|
},
|
|
13952
13863
|
{
|
|
13953
|
-
name: "
|
|
13954
|
-
type: "
|
|
13955
|
-
internalType: "
|
|
13864
|
+
name: "config",
|
|
13865
|
+
type: "tuple",
|
|
13866
|
+
internalType: "struct SponsorshipConfig",
|
|
13867
|
+
components: [
|
|
13868
|
+
{
|
|
13869
|
+
name: "perOrderCap",
|
|
13870
|
+
type: "uint256",
|
|
13871
|
+
internalType: "uint256"
|
|
13872
|
+
},
|
|
13873
|
+
{
|
|
13874
|
+
name: "budget",
|
|
13875
|
+
type: "uint256",
|
|
13876
|
+
internalType: "uint256"
|
|
13877
|
+
},
|
|
13878
|
+
{
|
|
13879
|
+
name: "expiry",
|
|
13880
|
+
type: "uint64",
|
|
13881
|
+
internalType: "uint64"
|
|
13882
|
+
}
|
|
13883
|
+
]
|
|
13956
13884
|
}
|
|
13957
13885
|
],
|
|
13958
13886
|
outputs: [
|
|
13887
|
+
],
|
|
13888
|
+
stateMutability: "nonpayable"
|
|
13889
|
+
},
|
|
13890
|
+
{
|
|
13891
|
+
type: "function",
|
|
13892
|
+
name: "setSponsorshipResolver",
|
|
13893
|
+
inputs: [
|
|
13959
13894
|
{
|
|
13960
|
-
name: "
|
|
13961
|
-
type: "uint256",
|
|
13962
|
-
internalType: "uint256"
|
|
13963
|
-
},
|
|
13964
|
-
{
|
|
13965
|
-
name: "feeAmount",
|
|
13966
|
-
type: "uint256",
|
|
13967
|
-
internalType: "uint256"
|
|
13968
|
-
},
|
|
13969
|
-
{
|
|
13970
|
-
name: "feeRecipient",
|
|
13895
|
+
name: "resolver",
|
|
13971
13896
|
type: "address",
|
|
13972
13897
|
internalType: "address"
|
|
13973
13898
|
},
|
|
13974
13899
|
{
|
|
13975
|
-
name: "
|
|
13976
|
-
type: "
|
|
13977
|
-
internalType: "
|
|
13900
|
+
name: "allowed",
|
|
13901
|
+
type: "bool",
|
|
13902
|
+
internalType: "bool"
|
|
13978
13903
|
}
|
|
13979
13904
|
],
|
|
13905
|
+
outputs: [
|
|
13906
|
+
],
|
|
13980
13907
|
stateMutability: "nonpayable"
|
|
13981
13908
|
},
|
|
13982
13909
|
{
|
|
13983
|
-
type: "
|
|
13984
|
-
name: "
|
|
13910
|
+
type: "function",
|
|
13911
|
+
name: "sponsorshipConfig",
|
|
13985
13912
|
inputs: [
|
|
13986
13913
|
{
|
|
13987
|
-
name: "
|
|
13914
|
+
name: "account",
|
|
13915
|
+
type: "address",
|
|
13916
|
+
internalType: "address"
|
|
13917
|
+
},
|
|
13918
|
+
{
|
|
13919
|
+
name: "token",
|
|
13920
|
+
type: "address",
|
|
13921
|
+
internalType: "address"
|
|
13922
|
+
}
|
|
13923
|
+
],
|
|
13924
|
+
outputs: [
|
|
13925
|
+
{
|
|
13926
|
+
name: "perOrderCap",
|
|
13988
13927
|
type: "uint256",
|
|
13989
13928
|
internalType: "uint256"
|
|
13990
13929
|
},
|
|
13991
13930
|
{
|
|
13992
|
-
name: "
|
|
13931
|
+
name: "budget",
|
|
13993
13932
|
type: "uint256",
|
|
13994
13933
|
internalType: "uint256"
|
|
13995
|
-
}
|
|
13996
|
-
]
|
|
13997
|
-
},
|
|
13998
|
-
{
|
|
13999
|
-
type: "error",
|
|
14000
|
-
name: "InvalidFeeBps",
|
|
14001
|
-
inputs: [
|
|
13934
|
+
},
|
|
14002
13935
|
{
|
|
14003
|
-
name: "
|
|
14004
|
-
type: "
|
|
14005
|
-
internalType: "
|
|
13936
|
+
name: "expiry",
|
|
13937
|
+
type: "uint64",
|
|
13938
|
+
internalType: "uint64"
|
|
14006
13939
|
}
|
|
14007
|
-
]
|
|
14008
|
-
|
|
14009
|
-
{
|
|
14010
|
-
type: "error",
|
|
14011
|
-
name: "InvalidFeePayer",
|
|
14012
|
-
inputs: [
|
|
14013
|
-
]
|
|
14014
|
-
},
|
|
14015
|
-
{
|
|
14016
|
-
type: "error",
|
|
14017
|
-
name: "InvalidFeeRecipient",
|
|
14018
|
-
inputs: [
|
|
14019
|
-
]
|
|
13940
|
+
],
|
|
13941
|
+
stateMutability: "view"
|
|
14020
13942
|
},
|
|
14021
|
-
{
|
|
14022
|
-
type: "error",
|
|
14023
|
-
name: "ZeroAddress",
|
|
14024
|
-
inputs: [
|
|
14025
|
-
]
|
|
14026
|
-
}
|
|
14027
|
-
];
|
|
14028
|
-
|
|
14029
|
-
var IRelayFundingPool = [
|
|
14030
13943
|
{
|
|
14031
13944
|
type: "function",
|
|
14032
|
-
name: "
|
|
13945
|
+
name: "sponsorshipResolvers",
|
|
14033
13946
|
inputs: [
|
|
14034
13947
|
{
|
|
14035
|
-
name: "
|
|
14036
|
-
type: "
|
|
14037
|
-
internalType: "
|
|
14038
|
-
components: [
|
|
14039
|
-
{
|
|
14040
|
-
name: "requestHash",
|
|
14041
|
-
type: "bytes32",
|
|
14042
|
-
internalType: "bytes32"
|
|
14043
|
-
},
|
|
14044
|
-
{
|
|
14045
|
-
name: "authorizer",
|
|
14046
|
-
type: "address",
|
|
14047
|
-
internalType: "address"
|
|
14048
|
-
},
|
|
14049
|
-
{
|
|
14050
|
-
name: "resolver",
|
|
14051
|
-
type: "address",
|
|
14052
|
-
internalType: "address"
|
|
14053
|
-
},
|
|
14054
|
-
{
|
|
14055
|
-
name: "tokenIn",
|
|
14056
|
-
type: "address",
|
|
14057
|
-
internalType: "address"
|
|
14058
|
-
},
|
|
14059
|
-
{
|
|
14060
|
-
name: "tokenOut",
|
|
14061
|
-
type: "address",
|
|
14062
|
-
internalType: "address"
|
|
14063
|
-
},
|
|
14064
|
-
{
|
|
14065
|
-
name: "amountInMaximum",
|
|
14066
|
-
type: "uint256",
|
|
14067
|
-
internalType: "uint256"
|
|
14068
|
-
},
|
|
14069
|
-
{
|
|
14070
|
-
name: "amountOutMinimum",
|
|
14071
|
-
type: "uint256",
|
|
14072
|
-
internalType: "uint256"
|
|
14073
|
-
},
|
|
14074
|
-
{
|
|
14075
|
-
name: "nonce",
|
|
14076
|
-
type: "uint256",
|
|
14077
|
-
internalType: "uint256"
|
|
14078
|
-
},
|
|
14079
|
-
{
|
|
14080
|
-
name: "deadline",
|
|
14081
|
-
type: "uint256",
|
|
14082
|
-
internalType: "uint256"
|
|
14083
|
-
}
|
|
14084
|
-
]
|
|
13948
|
+
name: "account",
|
|
13949
|
+
type: "address",
|
|
13950
|
+
internalType: "address"
|
|
14085
13951
|
},
|
|
14086
13952
|
{
|
|
14087
|
-
name: "
|
|
14088
|
-
type: "
|
|
14089
|
-
internalType: "
|
|
13953
|
+
name: "resolver",
|
|
13954
|
+
type: "address",
|
|
13955
|
+
internalType: "address"
|
|
14090
13956
|
}
|
|
14091
13957
|
],
|
|
14092
13958
|
outputs: [
|
|
13959
|
+
{
|
|
13960
|
+
name: "allowed",
|
|
13961
|
+
type: "bool",
|
|
13962
|
+
internalType: "bool"
|
|
13963
|
+
}
|
|
14093
13964
|
],
|
|
14094
|
-
stateMutability: "
|
|
13965
|
+
stateMutability: "view"
|
|
14095
13966
|
},
|
|
14096
13967
|
{
|
|
14097
13968
|
type: "function",
|
|
14098
|
-
name: "
|
|
13969
|
+
name: "withdraw",
|
|
14099
13970
|
inputs: [
|
|
14100
13971
|
{
|
|
14101
|
-
name: "
|
|
13972
|
+
name: "withdrawal",
|
|
14102
13973
|
type: "tuple",
|
|
14103
|
-
internalType: "struct
|
|
13974
|
+
internalType: "struct PoolWithdrawal",
|
|
14104
13975
|
components: [
|
|
14105
13976
|
{
|
|
14106
|
-
name: "
|
|
14107
|
-
type: "bytes32",
|
|
14108
|
-
internalType: "bytes32"
|
|
14109
|
-
},
|
|
14110
|
-
{
|
|
14111
|
-
name: "authorizer",
|
|
14112
|
-
type: "address",
|
|
14113
|
-
internalType: "address"
|
|
14114
|
-
},
|
|
14115
|
-
{
|
|
14116
|
-
name: "resolver",
|
|
14117
|
-
type: "address",
|
|
14118
|
-
internalType: "address"
|
|
14119
|
-
},
|
|
14120
|
-
{
|
|
14121
|
-
name: "tokenIn",
|
|
13977
|
+
name: "account",
|
|
14122
13978
|
type: "address",
|
|
14123
13979
|
internalType: "address"
|
|
14124
13980
|
},
|
|
14125
13981
|
{
|
|
14126
|
-
name: "
|
|
13982
|
+
name: "token",
|
|
14127
13983
|
type: "address",
|
|
14128
13984
|
internalType: "address"
|
|
14129
13985
|
},
|
|
14130
13986
|
{
|
|
14131
|
-
name: "
|
|
13987
|
+
name: "amount",
|
|
14132
13988
|
type: "uint256",
|
|
14133
13989
|
internalType: "uint256"
|
|
14134
13990
|
},
|
|
14135
13991
|
{
|
|
14136
|
-
name: "
|
|
14137
|
-
type: "
|
|
14138
|
-
internalType: "
|
|
13992
|
+
name: "recipient",
|
|
13993
|
+
type: "address",
|
|
13994
|
+
internalType: "address"
|
|
14139
13995
|
},
|
|
14140
13996
|
{
|
|
14141
13997
|
name: "nonce",
|
|
@@ -14148,16 +14004,16 @@ var IRelayFundingPool = [
|
|
|
14148
14004
|
internalType: "uint256"
|
|
14149
14005
|
}
|
|
14150
14006
|
]
|
|
14007
|
+
},
|
|
14008
|
+
{
|
|
14009
|
+
name: "signature",
|
|
14010
|
+
type: "bytes",
|
|
14011
|
+
internalType: "bytes"
|
|
14151
14012
|
}
|
|
14152
14013
|
],
|
|
14153
14014
|
outputs: [
|
|
14154
|
-
{
|
|
14155
|
-
name: "digest",
|
|
14156
|
-
type: "bytes32",
|
|
14157
|
-
internalType: "bytes32"
|
|
14158
|
-
}
|
|
14159
14015
|
],
|
|
14160
|
-
stateMutability: "
|
|
14016
|
+
stateMutability: "nonpayable"
|
|
14161
14017
|
}
|
|
14162
14018
|
];
|
|
14163
14019
|
|
|
@@ -14170,11 +14026,6 @@ var RelayFundingPool = [
|
|
|
14170
14026
|
type: "address",
|
|
14171
14027
|
internalType: "address"
|
|
14172
14028
|
},
|
|
14173
|
-
{
|
|
14174
|
-
name: "authorizer",
|
|
14175
|
-
type: "address",
|
|
14176
|
-
internalType: "address"
|
|
14177
|
-
},
|
|
14178
14029
|
{
|
|
14179
14030
|
name: "withdrawer",
|
|
14180
14031
|
type: "address",
|
|
@@ -14204,7 +14055,7 @@ var RelayFundingPool = [
|
|
|
14204
14055
|
},
|
|
14205
14056
|
{
|
|
14206
14057
|
type: "function",
|
|
14207
|
-
name: "
|
|
14058
|
+
name: "DEFAULT_ADMIN_ROLE",
|
|
14208
14059
|
inputs: [
|
|
14209
14060
|
],
|
|
14210
14061
|
outputs: [
|
|
@@ -14218,7 +14069,7 @@ var RelayFundingPool = [
|
|
|
14218
14069
|
},
|
|
14219
14070
|
{
|
|
14220
14071
|
type: "function",
|
|
14221
|
-
name: "
|
|
14072
|
+
name: "POOL_WITHDRAWAL_TYPEHASH",
|
|
14222
14073
|
inputs: [
|
|
14223
14074
|
],
|
|
14224
14075
|
outputs: [
|
|
@@ -14232,7 +14083,7 @@ var RelayFundingPool = [
|
|
|
14232
14083
|
},
|
|
14233
14084
|
{
|
|
14234
14085
|
type: "function",
|
|
14235
|
-
name: "
|
|
14086
|
+
name: "RESOLVER_ROLE",
|
|
14236
14087
|
inputs: [
|
|
14237
14088
|
],
|
|
14238
14089
|
outputs: [
|
|
@@ -14246,7 +14097,7 @@ var RelayFundingPool = [
|
|
|
14246
14097
|
},
|
|
14247
14098
|
{
|
|
14248
14099
|
type: "function",
|
|
14249
|
-
name: "
|
|
14100
|
+
name: "WITHDRAWER_ROLE",
|
|
14250
14101
|
inputs: [
|
|
14251
14102
|
],
|
|
14252
14103
|
outputs: [
|
|
@@ -14260,84 +14111,129 @@ var RelayFundingPool = [
|
|
|
14260
14111
|
},
|
|
14261
14112
|
{
|
|
14262
14113
|
type: "function",
|
|
14263
|
-
name: "
|
|
14114
|
+
name: "balances",
|
|
14264
14115
|
inputs: [
|
|
14116
|
+
{
|
|
14117
|
+
name: "account",
|
|
14118
|
+
type: "address",
|
|
14119
|
+
internalType: "address"
|
|
14120
|
+
},
|
|
14121
|
+
{
|
|
14122
|
+
name: "token",
|
|
14123
|
+
type: "address",
|
|
14124
|
+
internalType: "address"
|
|
14125
|
+
}
|
|
14265
14126
|
],
|
|
14266
14127
|
outputs: [
|
|
14267
14128
|
{
|
|
14268
|
-
name: "",
|
|
14269
|
-
type: "
|
|
14270
|
-
internalType: "
|
|
14129
|
+
name: "balance",
|
|
14130
|
+
type: "uint256",
|
|
14131
|
+
internalType: "uint256"
|
|
14271
14132
|
}
|
|
14272
14133
|
],
|
|
14273
14134
|
stateMutability: "view"
|
|
14274
14135
|
},
|
|
14136
|
+
{
|
|
14137
|
+
type: "function",
|
|
14138
|
+
name: "credit",
|
|
14139
|
+
inputs: [
|
|
14140
|
+
{
|
|
14141
|
+
name: "account",
|
|
14142
|
+
type: "address",
|
|
14143
|
+
internalType: "address"
|
|
14144
|
+
},
|
|
14145
|
+
{
|
|
14146
|
+
name: "token",
|
|
14147
|
+
type: "address",
|
|
14148
|
+
internalType: "address"
|
|
14149
|
+
},
|
|
14150
|
+
{
|
|
14151
|
+
name: "amount",
|
|
14152
|
+
type: "uint256",
|
|
14153
|
+
internalType: "uint256"
|
|
14154
|
+
}
|
|
14155
|
+
],
|
|
14156
|
+
outputs: [
|
|
14157
|
+
],
|
|
14158
|
+
stateMutability: "nonpayable"
|
|
14159
|
+
},
|
|
14275
14160
|
{
|
|
14276
14161
|
type: "function",
|
|
14277
14162
|
name: "debit",
|
|
14278
14163
|
inputs: [
|
|
14279
14164
|
{
|
|
14280
|
-
name: "
|
|
14281
|
-
type: "
|
|
14282
|
-
internalType: "
|
|
14283
|
-
|
|
14284
|
-
|
|
14285
|
-
|
|
14286
|
-
|
|
14287
|
-
|
|
14288
|
-
|
|
14289
|
-
|
|
14290
|
-
|
|
14291
|
-
|
|
14292
|
-
|
|
14293
|
-
|
|
14294
|
-
|
|
14295
|
-
|
|
14296
|
-
|
|
14297
|
-
|
|
14298
|
-
|
|
14299
|
-
|
|
14300
|
-
|
|
14301
|
-
|
|
14302
|
-
|
|
14303
|
-
|
|
14304
|
-
|
|
14305
|
-
|
|
14306
|
-
|
|
14307
|
-
|
|
14308
|
-
|
|
14309
|
-
|
|
14310
|
-
|
|
14311
|
-
|
|
14312
|
-
|
|
14313
|
-
|
|
14314
|
-
|
|
14315
|
-
|
|
14316
|
-
|
|
14317
|
-
internalType: "uint256"
|
|
14318
|
-
},
|
|
14319
|
-
{
|
|
14320
|
-
name: "nonce",
|
|
14321
|
-
type: "uint256",
|
|
14322
|
-
internalType: "uint256"
|
|
14323
|
-
},
|
|
14324
|
-
{
|
|
14325
|
-
name: "deadline",
|
|
14326
|
-
type: "uint256",
|
|
14327
|
-
internalType: "uint256"
|
|
14328
|
-
}
|
|
14329
|
-
]
|
|
14165
|
+
name: "account",
|
|
14166
|
+
type: "address",
|
|
14167
|
+
internalType: "address"
|
|
14168
|
+
},
|
|
14169
|
+
{
|
|
14170
|
+
name: "token",
|
|
14171
|
+
type: "address",
|
|
14172
|
+
internalType: "address"
|
|
14173
|
+
},
|
|
14174
|
+
{
|
|
14175
|
+
name: "amount",
|
|
14176
|
+
type: "uint256",
|
|
14177
|
+
internalType: "uint256"
|
|
14178
|
+
},
|
|
14179
|
+
{
|
|
14180
|
+
name: "requestHash",
|
|
14181
|
+
type: "bytes32",
|
|
14182
|
+
internalType: "bytes32"
|
|
14183
|
+
}
|
|
14184
|
+
],
|
|
14185
|
+
outputs: [
|
|
14186
|
+
],
|
|
14187
|
+
stateMutability: "nonpayable"
|
|
14188
|
+
},
|
|
14189
|
+
{
|
|
14190
|
+
type: "function",
|
|
14191
|
+
name: "depositFor",
|
|
14192
|
+
inputs: [
|
|
14193
|
+
{
|
|
14194
|
+
name: "account",
|
|
14195
|
+
type: "address",
|
|
14196
|
+
internalType: "address"
|
|
14197
|
+
},
|
|
14198
|
+
{
|
|
14199
|
+
name: "token",
|
|
14200
|
+
type: "address",
|
|
14201
|
+
internalType: "address"
|
|
14330
14202
|
},
|
|
14331
14203
|
{
|
|
14332
|
-
name: "
|
|
14333
|
-
type: "
|
|
14334
|
-
internalType: "
|
|
14204
|
+
name: "amount",
|
|
14205
|
+
type: "uint256",
|
|
14206
|
+
internalType: "uint256"
|
|
14335
14207
|
}
|
|
14336
14208
|
],
|
|
14337
14209
|
outputs: [
|
|
14338
14210
|
],
|
|
14339
14211
|
stateMutability: "nonpayable"
|
|
14340
14212
|
},
|
|
14213
|
+
{
|
|
14214
|
+
type: "function",
|
|
14215
|
+
name: "drawRecords",
|
|
14216
|
+
inputs: [
|
|
14217
|
+
{
|
|
14218
|
+
name: "requestHash",
|
|
14219
|
+
type: "bytes32",
|
|
14220
|
+
internalType: "bytes32"
|
|
14221
|
+
},
|
|
14222
|
+
{
|
|
14223
|
+
name: "account",
|
|
14224
|
+
type: "address",
|
|
14225
|
+
internalType: "address"
|
|
14226
|
+
}
|
|
14227
|
+
],
|
|
14228
|
+
outputs: [
|
|
14229
|
+
{
|
|
14230
|
+
name: "drawn",
|
|
14231
|
+
type: "bool",
|
|
14232
|
+
internalType: "bool"
|
|
14233
|
+
}
|
|
14234
|
+
],
|
|
14235
|
+
stateMutability: "view"
|
|
14236
|
+
},
|
|
14341
14237
|
{
|
|
14342
14238
|
type: "function",
|
|
14343
14239
|
name: "eip712Domain",
|
|
@@ -14446,47 +14342,32 @@ var RelayFundingPool = [
|
|
|
14446
14342
|
},
|
|
14447
14343
|
{
|
|
14448
14344
|
type: "function",
|
|
14449
|
-
name: "
|
|
14345
|
+
name: "hashWithdrawal",
|
|
14450
14346
|
inputs: [
|
|
14451
14347
|
{
|
|
14452
|
-
name: "
|
|
14348
|
+
name: "withdrawal",
|
|
14453
14349
|
type: "tuple",
|
|
14454
|
-
internalType: "struct
|
|
14350
|
+
internalType: "struct PoolWithdrawal",
|
|
14455
14351
|
components: [
|
|
14456
14352
|
{
|
|
14457
|
-
name: "
|
|
14458
|
-
type: "bytes32",
|
|
14459
|
-
internalType: "bytes32"
|
|
14460
|
-
},
|
|
14461
|
-
{
|
|
14462
|
-
name: "authorizer",
|
|
14353
|
+
name: "account",
|
|
14463
14354
|
type: "address",
|
|
14464
14355
|
internalType: "address"
|
|
14465
14356
|
},
|
|
14466
14357
|
{
|
|
14467
|
-
name: "
|
|
14468
|
-
type: "address",
|
|
14469
|
-
internalType: "address"
|
|
14470
|
-
},
|
|
14471
|
-
{
|
|
14472
|
-
name: "tokenIn",
|
|
14473
|
-
type: "address",
|
|
14474
|
-
internalType: "address"
|
|
14475
|
-
},
|
|
14476
|
-
{
|
|
14477
|
-
name: "tokenOut",
|
|
14358
|
+
name: "token",
|
|
14478
14359
|
type: "address",
|
|
14479
14360
|
internalType: "address"
|
|
14480
14361
|
},
|
|
14481
14362
|
{
|
|
14482
|
-
name: "
|
|
14363
|
+
name: "amount",
|
|
14483
14364
|
type: "uint256",
|
|
14484
14365
|
internalType: "uint256"
|
|
14485
14366
|
},
|
|
14486
14367
|
{
|
|
14487
|
-
name: "
|
|
14488
|
-
type: "
|
|
14489
|
-
internalType: "
|
|
14368
|
+
name: "recipient",
|
|
14369
|
+
type: "address",
|
|
14370
|
+
internalType: "address"
|
|
14490
14371
|
},
|
|
14491
14372
|
{
|
|
14492
14373
|
name: "nonce",
|
|
@@ -14571,6 +14452,119 @@ var RelayFundingPool = [
|
|
|
14571
14452
|
],
|
|
14572
14453
|
stateMutability: "nonpayable"
|
|
14573
14454
|
},
|
|
14455
|
+
{
|
|
14456
|
+
type: "function",
|
|
14457
|
+
name: "setSponsorshipConfig",
|
|
14458
|
+
inputs: [
|
|
14459
|
+
{
|
|
14460
|
+
name: "token",
|
|
14461
|
+
type: "address",
|
|
14462
|
+
internalType: "address"
|
|
14463
|
+
},
|
|
14464
|
+
{
|
|
14465
|
+
name: "config",
|
|
14466
|
+
type: "tuple",
|
|
14467
|
+
internalType: "struct SponsorshipConfig",
|
|
14468
|
+
components: [
|
|
14469
|
+
{
|
|
14470
|
+
name: "perOrderCap",
|
|
14471
|
+
type: "uint256",
|
|
14472
|
+
internalType: "uint256"
|
|
14473
|
+
},
|
|
14474
|
+
{
|
|
14475
|
+
name: "budget",
|
|
14476
|
+
type: "uint256",
|
|
14477
|
+
internalType: "uint256"
|
|
14478
|
+
},
|
|
14479
|
+
{
|
|
14480
|
+
name: "expiry",
|
|
14481
|
+
type: "uint64",
|
|
14482
|
+
internalType: "uint64"
|
|
14483
|
+
}
|
|
14484
|
+
]
|
|
14485
|
+
}
|
|
14486
|
+
],
|
|
14487
|
+
outputs: [
|
|
14488
|
+
],
|
|
14489
|
+
stateMutability: "nonpayable"
|
|
14490
|
+
},
|
|
14491
|
+
{
|
|
14492
|
+
type: "function",
|
|
14493
|
+
name: "setSponsorshipResolver",
|
|
14494
|
+
inputs: [
|
|
14495
|
+
{
|
|
14496
|
+
name: "resolver",
|
|
14497
|
+
type: "address",
|
|
14498
|
+
internalType: "address"
|
|
14499
|
+
},
|
|
14500
|
+
{
|
|
14501
|
+
name: "allowed",
|
|
14502
|
+
type: "bool",
|
|
14503
|
+
internalType: "bool"
|
|
14504
|
+
}
|
|
14505
|
+
],
|
|
14506
|
+
outputs: [
|
|
14507
|
+
],
|
|
14508
|
+
stateMutability: "nonpayable"
|
|
14509
|
+
},
|
|
14510
|
+
{
|
|
14511
|
+
type: "function",
|
|
14512
|
+
name: "sponsorshipConfig",
|
|
14513
|
+
inputs: [
|
|
14514
|
+
{
|
|
14515
|
+
name: "account",
|
|
14516
|
+
type: "address",
|
|
14517
|
+
internalType: "address"
|
|
14518
|
+
},
|
|
14519
|
+
{
|
|
14520
|
+
name: "token",
|
|
14521
|
+
type: "address",
|
|
14522
|
+
internalType: "address"
|
|
14523
|
+
}
|
|
14524
|
+
],
|
|
14525
|
+
outputs: [
|
|
14526
|
+
{
|
|
14527
|
+
name: "perOrderCap",
|
|
14528
|
+
type: "uint256",
|
|
14529
|
+
internalType: "uint256"
|
|
14530
|
+
},
|
|
14531
|
+
{
|
|
14532
|
+
name: "budget",
|
|
14533
|
+
type: "uint256",
|
|
14534
|
+
internalType: "uint256"
|
|
14535
|
+
},
|
|
14536
|
+
{
|
|
14537
|
+
name: "expiry",
|
|
14538
|
+
type: "uint64",
|
|
14539
|
+
internalType: "uint64"
|
|
14540
|
+
}
|
|
14541
|
+
],
|
|
14542
|
+
stateMutability: "view"
|
|
14543
|
+
},
|
|
14544
|
+
{
|
|
14545
|
+
type: "function",
|
|
14546
|
+
name: "sponsorshipResolvers",
|
|
14547
|
+
inputs: [
|
|
14548
|
+
{
|
|
14549
|
+
name: "account",
|
|
14550
|
+
type: "address",
|
|
14551
|
+
internalType: "address"
|
|
14552
|
+
},
|
|
14553
|
+
{
|
|
14554
|
+
name: "resolver",
|
|
14555
|
+
type: "address",
|
|
14556
|
+
internalType: "address"
|
|
14557
|
+
}
|
|
14558
|
+
],
|
|
14559
|
+
outputs: [
|
|
14560
|
+
{
|
|
14561
|
+
name: "allowed",
|
|
14562
|
+
type: "bool",
|
|
14563
|
+
internalType: "bool"
|
|
14564
|
+
}
|
|
14565
|
+
],
|
|
14566
|
+
stateMutability: "view"
|
|
14567
|
+
},
|
|
14574
14568
|
{
|
|
14575
14569
|
type: "function",
|
|
14576
14570
|
name: "supportsInterface",
|
|
@@ -14601,55 +14595,168 @@ var RelayFundingPool = [
|
|
|
14601
14595
|
},
|
|
14602
14596
|
{
|
|
14603
14597
|
type: "function",
|
|
14604
|
-
name: "
|
|
14598
|
+
name: "usedWithdrawalNonces",
|
|
14605
14599
|
inputs: [
|
|
14606
14600
|
{
|
|
14607
|
-
name: "",
|
|
14601
|
+
name: "account",
|
|
14602
|
+
type: "address",
|
|
14603
|
+
internalType: "address"
|
|
14604
|
+
},
|
|
14605
|
+
{
|
|
14606
|
+
name: "nonce",
|
|
14607
|
+
type: "uint256",
|
|
14608
|
+
internalType: "uint256"
|
|
14609
|
+
}
|
|
14610
|
+
],
|
|
14611
|
+
outputs: [
|
|
14612
|
+
{
|
|
14613
|
+
name: "used",
|
|
14614
|
+
type: "bool",
|
|
14615
|
+
internalType: "bool"
|
|
14616
|
+
}
|
|
14617
|
+
],
|
|
14618
|
+
stateMutability: "view"
|
|
14619
|
+
},
|
|
14620
|
+
{
|
|
14621
|
+
type: "function",
|
|
14622
|
+
name: "withdraw",
|
|
14623
|
+
inputs: [
|
|
14624
|
+
{
|
|
14625
|
+
name: "withdrawal",
|
|
14626
|
+
type: "tuple",
|
|
14627
|
+
internalType: "struct PoolWithdrawal",
|
|
14628
|
+
components: [
|
|
14629
|
+
{
|
|
14630
|
+
name: "account",
|
|
14631
|
+
type: "address",
|
|
14632
|
+
internalType: "address"
|
|
14633
|
+
},
|
|
14634
|
+
{
|
|
14635
|
+
name: "token",
|
|
14636
|
+
type: "address",
|
|
14637
|
+
internalType: "address"
|
|
14638
|
+
},
|
|
14639
|
+
{
|
|
14640
|
+
name: "amount",
|
|
14641
|
+
type: "uint256",
|
|
14642
|
+
internalType: "uint256"
|
|
14643
|
+
},
|
|
14644
|
+
{
|
|
14645
|
+
name: "recipient",
|
|
14646
|
+
type: "address",
|
|
14647
|
+
internalType: "address"
|
|
14648
|
+
},
|
|
14649
|
+
{
|
|
14650
|
+
name: "nonce",
|
|
14651
|
+
type: "uint256",
|
|
14652
|
+
internalType: "uint256"
|
|
14653
|
+
},
|
|
14654
|
+
{
|
|
14655
|
+
name: "deadline",
|
|
14656
|
+
type: "uint256",
|
|
14657
|
+
internalType: "uint256"
|
|
14658
|
+
}
|
|
14659
|
+
]
|
|
14660
|
+
},
|
|
14661
|
+
{
|
|
14662
|
+
name: "signature",
|
|
14663
|
+
type: "bytes",
|
|
14664
|
+
internalType: "bytes"
|
|
14665
|
+
}
|
|
14666
|
+
],
|
|
14667
|
+
outputs: [
|
|
14668
|
+
],
|
|
14669
|
+
stateMutability: "nonpayable"
|
|
14670
|
+
},
|
|
14671
|
+
{
|
|
14672
|
+
type: "function",
|
|
14673
|
+
name: "withdraw",
|
|
14674
|
+
inputs: [
|
|
14675
|
+
{
|
|
14676
|
+
name: "token",
|
|
14677
|
+
type: "address",
|
|
14678
|
+
internalType: "address"
|
|
14679
|
+
},
|
|
14680
|
+
{
|
|
14681
|
+
name: "amount",
|
|
14682
|
+
type: "uint256",
|
|
14683
|
+
internalType: "uint256"
|
|
14684
|
+
},
|
|
14685
|
+
{
|
|
14686
|
+
name: "recipient",
|
|
14687
|
+
type: "address",
|
|
14688
|
+
internalType: "address"
|
|
14689
|
+
}
|
|
14690
|
+
],
|
|
14691
|
+
outputs: [
|
|
14692
|
+
],
|
|
14693
|
+
stateMutability: "nonpayable"
|
|
14694
|
+
},
|
|
14695
|
+
{
|
|
14696
|
+
type: "event",
|
|
14697
|
+
name: "Credited",
|
|
14698
|
+
inputs: [
|
|
14699
|
+
{
|
|
14700
|
+
name: "account",
|
|
14701
|
+
type: "address",
|
|
14702
|
+
indexed: true,
|
|
14703
|
+
internalType: "address"
|
|
14704
|
+
},
|
|
14705
|
+
{
|
|
14706
|
+
name: "token",
|
|
14707
|
+
type: "address",
|
|
14708
|
+
indexed: true,
|
|
14709
|
+
internalType: "address"
|
|
14710
|
+
},
|
|
14711
|
+
{
|
|
14712
|
+
name: "resolver",
|
|
14608
14713
|
type: "address",
|
|
14714
|
+
indexed: true,
|
|
14609
14715
|
internalType: "address"
|
|
14610
14716
|
},
|
|
14611
14717
|
{
|
|
14612
|
-
name: "",
|
|
14718
|
+
name: "amount",
|
|
14613
14719
|
type: "uint256",
|
|
14720
|
+
indexed: false,
|
|
14614
14721
|
internalType: "uint256"
|
|
14615
14722
|
}
|
|
14616
14723
|
],
|
|
14617
|
-
|
|
14618
|
-
{
|
|
14619
|
-
name: "",
|
|
14620
|
-
type: "bool",
|
|
14621
|
-
internalType: "bool"
|
|
14622
|
-
}
|
|
14623
|
-
],
|
|
14624
|
-
stateMutability: "view"
|
|
14724
|
+
anonymous: false
|
|
14625
14725
|
},
|
|
14626
14726
|
{
|
|
14627
|
-
type: "
|
|
14628
|
-
name: "
|
|
14727
|
+
type: "event",
|
|
14728
|
+
name: "Deposited",
|
|
14629
14729
|
inputs: [
|
|
14630
14730
|
{
|
|
14631
|
-
name: "
|
|
14731
|
+
name: "account",
|
|
14632
14732
|
type: "address",
|
|
14733
|
+
indexed: true,
|
|
14633
14734
|
internalType: "address"
|
|
14634
14735
|
},
|
|
14635
14736
|
{
|
|
14636
|
-
name: "
|
|
14637
|
-
type: "
|
|
14638
|
-
|
|
14737
|
+
name: "token",
|
|
14738
|
+
type: "address",
|
|
14739
|
+
indexed: true,
|
|
14740
|
+
internalType: "address"
|
|
14639
14741
|
},
|
|
14640
14742
|
{
|
|
14641
|
-
name: "
|
|
14743
|
+
name: "funder",
|
|
14642
14744
|
type: "address",
|
|
14745
|
+
indexed: true,
|
|
14643
14746
|
internalType: "address"
|
|
14747
|
+
},
|
|
14748
|
+
{
|
|
14749
|
+
name: "amount",
|
|
14750
|
+
type: "uint256",
|
|
14751
|
+
indexed: false,
|
|
14752
|
+
internalType: "uint256"
|
|
14644
14753
|
}
|
|
14645
14754
|
],
|
|
14646
|
-
|
|
14647
|
-
],
|
|
14648
|
-
stateMutability: "nonpayable"
|
|
14755
|
+
anonymous: false
|
|
14649
14756
|
},
|
|
14650
14757
|
{
|
|
14651
14758
|
type: "event",
|
|
14652
|
-
name: "
|
|
14759
|
+
name: "Drawn",
|
|
14653
14760
|
inputs: [
|
|
14654
14761
|
{
|
|
14655
14762
|
name: "requestHash",
|
|
@@ -14658,43 +14765,25 @@ var RelayFundingPool = [
|
|
|
14658
14765
|
internalType: "bytes32"
|
|
14659
14766
|
},
|
|
14660
14767
|
{
|
|
14661
|
-
name: "
|
|
14768
|
+
name: "account",
|
|
14662
14769
|
type: "address",
|
|
14663
14770
|
indexed: true,
|
|
14664
14771
|
internalType: "address"
|
|
14665
14772
|
},
|
|
14666
14773
|
{
|
|
14667
|
-
name: "
|
|
14774
|
+
name: "token",
|
|
14668
14775
|
type: "address",
|
|
14669
14776
|
indexed: true,
|
|
14670
14777
|
internalType: "address"
|
|
14671
14778
|
},
|
|
14672
14779
|
{
|
|
14673
|
-
name: "
|
|
14674
|
-
type: "address",
|
|
14675
|
-
indexed: false,
|
|
14676
|
-
internalType: "address"
|
|
14677
|
-
},
|
|
14678
|
-
{
|
|
14679
|
-
name: "tokenOut",
|
|
14780
|
+
name: "resolver",
|
|
14680
14781
|
type: "address",
|
|
14681
14782
|
indexed: false,
|
|
14682
14783
|
internalType: "address"
|
|
14683
14784
|
},
|
|
14684
14785
|
{
|
|
14685
|
-
name: "
|
|
14686
|
-
type: "uint256",
|
|
14687
|
-
indexed: false,
|
|
14688
|
-
internalType: "uint256"
|
|
14689
|
-
},
|
|
14690
|
-
{
|
|
14691
|
-
name: "amountOutMinimum",
|
|
14692
|
-
type: "uint256",
|
|
14693
|
-
indexed: false,
|
|
14694
|
-
internalType: "uint256"
|
|
14695
|
-
},
|
|
14696
|
-
{
|
|
14697
|
-
name: "nonce",
|
|
14786
|
+
name: "amount",
|
|
14698
14787
|
type: "uint256",
|
|
14699
14788
|
indexed: false,
|
|
14700
14789
|
internalType: "uint256"
|
|
@@ -14797,6 +14886,68 @@ var RelayFundingPool = [
|
|
|
14797
14886
|
],
|
|
14798
14887
|
anonymous: false
|
|
14799
14888
|
},
|
|
14889
|
+
{
|
|
14890
|
+
type: "event",
|
|
14891
|
+
name: "SponsorshipConfigSet",
|
|
14892
|
+
inputs: [
|
|
14893
|
+
{
|
|
14894
|
+
name: "account",
|
|
14895
|
+
type: "address",
|
|
14896
|
+
indexed: true,
|
|
14897
|
+
internalType: "address"
|
|
14898
|
+
},
|
|
14899
|
+
{
|
|
14900
|
+
name: "token",
|
|
14901
|
+
type: "address",
|
|
14902
|
+
indexed: true,
|
|
14903
|
+
internalType: "address"
|
|
14904
|
+
},
|
|
14905
|
+
{
|
|
14906
|
+
name: "perOrderCap",
|
|
14907
|
+
type: "uint256",
|
|
14908
|
+
indexed: false,
|
|
14909
|
+
internalType: "uint256"
|
|
14910
|
+
},
|
|
14911
|
+
{
|
|
14912
|
+
name: "budget",
|
|
14913
|
+
type: "uint256",
|
|
14914
|
+
indexed: false,
|
|
14915
|
+
internalType: "uint256"
|
|
14916
|
+
},
|
|
14917
|
+
{
|
|
14918
|
+
name: "expiry",
|
|
14919
|
+
type: "uint64",
|
|
14920
|
+
indexed: false,
|
|
14921
|
+
internalType: "uint64"
|
|
14922
|
+
}
|
|
14923
|
+
],
|
|
14924
|
+
anonymous: false
|
|
14925
|
+
},
|
|
14926
|
+
{
|
|
14927
|
+
type: "event",
|
|
14928
|
+
name: "SponsorshipResolverSet",
|
|
14929
|
+
inputs: [
|
|
14930
|
+
{
|
|
14931
|
+
name: "account",
|
|
14932
|
+
type: "address",
|
|
14933
|
+
indexed: true,
|
|
14934
|
+
internalType: "address"
|
|
14935
|
+
},
|
|
14936
|
+
{
|
|
14937
|
+
name: "resolver",
|
|
14938
|
+
type: "address",
|
|
14939
|
+
indexed: true,
|
|
14940
|
+
internalType: "address"
|
|
14941
|
+
},
|
|
14942
|
+
{
|
|
14943
|
+
name: "allowed",
|
|
14944
|
+
type: "bool",
|
|
14945
|
+
indexed: false,
|
|
14946
|
+
internalType: "bool"
|
|
14947
|
+
}
|
|
14948
|
+
],
|
|
14949
|
+
anonymous: false
|
|
14950
|
+
},
|
|
14800
14951
|
{
|
|
14801
14952
|
type: "event",
|
|
14802
14953
|
name: "Unpaused",
|
|
@@ -14815,7 +14966,7 @@ var RelayFundingPool = [
|
|
|
14815
14966
|
name: "Withdrawn",
|
|
14816
14967
|
inputs: [
|
|
14817
14968
|
{
|
|
14818
|
-
name: "
|
|
14969
|
+
name: "account",
|
|
14819
14970
|
type: "address",
|
|
14820
14971
|
indexed: true,
|
|
14821
14972
|
internalType: "address"
|
|
@@ -14865,26 +15016,41 @@ var RelayFundingPool = [
|
|
|
14865
15016
|
},
|
|
14866
15017
|
{
|
|
14867
15018
|
type: "error",
|
|
14868
|
-
name: "
|
|
15019
|
+
name: "AlreadyDrawn",
|
|
14869
15020
|
inputs: [
|
|
14870
15021
|
{
|
|
14871
|
-
name: "
|
|
14872
|
-
type: "
|
|
14873
|
-
internalType: "
|
|
15022
|
+
name: "requestHash",
|
|
15023
|
+
type: "bytes32",
|
|
15024
|
+
internalType: "bytes32"
|
|
15025
|
+
},
|
|
15026
|
+
{
|
|
15027
|
+
name: "account",
|
|
15028
|
+
type: "address",
|
|
15029
|
+
internalType: "address"
|
|
14874
15030
|
}
|
|
14875
15031
|
]
|
|
14876
15032
|
},
|
|
14877
15033
|
{
|
|
14878
15034
|
type: "error",
|
|
14879
|
-
name: "
|
|
15035
|
+
name: "BudgetExceeded",
|
|
14880
15036
|
inputs: [
|
|
14881
15037
|
{
|
|
14882
|
-
name: "
|
|
15038
|
+
name: "account",
|
|
14883
15039
|
type: "address",
|
|
14884
15040
|
internalType: "address"
|
|
14885
15041
|
},
|
|
14886
15042
|
{
|
|
14887
|
-
name: "
|
|
15043
|
+
name: "token",
|
|
15044
|
+
type: "address",
|
|
15045
|
+
internalType: "address"
|
|
15046
|
+
},
|
|
15047
|
+
{
|
|
15048
|
+
name: "amount",
|
|
15049
|
+
type: "uint256",
|
|
15050
|
+
internalType: "uint256"
|
|
15051
|
+
},
|
|
15052
|
+
{
|
|
15053
|
+
name: "budget",
|
|
14888
15054
|
type: "uint256",
|
|
14889
15055
|
internalType: "uint256"
|
|
14890
15056
|
}
|
|
@@ -14892,53 +15058,105 @@ var RelayFundingPool = [
|
|
|
14892
15058
|
},
|
|
14893
15059
|
{
|
|
14894
15060
|
type: "error",
|
|
14895
|
-
name: "
|
|
15061
|
+
name: "EnforcedPause",
|
|
15062
|
+
inputs: [
|
|
15063
|
+
]
|
|
15064
|
+
},
|
|
15065
|
+
{
|
|
15066
|
+
type: "error",
|
|
15067
|
+
name: "ExpectedPause",
|
|
15068
|
+
inputs: [
|
|
15069
|
+
]
|
|
15070
|
+
},
|
|
15071
|
+
{
|
|
15072
|
+
type: "error",
|
|
15073
|
+
name: "InsufficientBalance",
|
|
14896
15074
|
inputs: [
|
|
14897
15075
|
{
|
|
14898
|
-
name: "
|
|
15076
|
+
name: "account",
|
|
14899
15077
|
type: "address",
|
|
14900
15078
|
internalType: "address"
|
|
14901
15079
|
},
|
|
14902
15080
|
{
|
|
14903
|
-
name: "
|
|
15081
|
+
name: "token",
|
|
14904
15082
|
type: "address",
|
|
14905
15083
|
internalType: "address"
|
|
15084
|
+
},
|
|
15085
|
+
{
|
|
15086
|
+
name: "amount",
|
|
15087
|
+
type: "uint256",
|
|
15088
|
+
internalType: "uint256"
|
|
15089
|
+
},
|
|
15090
|
+
{
|
|
15091
|
+
name: "balance",
|
|
15092
|
+
type: "uint256",
|
|
15093
|
+
internalType: "uint256"
|
|
14906
15094
|
}
|
|
14907
15095
|
]
|
|
14908
15096
|
},
|
|
14909
15097
|
{
|
|
14910
15098
|
type: "error",
|
|
14911
|
-
name: "
|
|
15099
|
+
name: "InvalidShortString",
|
|
14912
15100
|
inputs: [
|
|
14913
15101
|
]
|
|
14914
15102
|
},
|
|
14915
15103
|
{
|
|
14916
15104
|
type: "error",
|
|
14917
|
-
name: "
|
|
15105
|
+
name: "InvalidWithdrawal",
|
|
14918
15106
|
inputs: [
|
|
15107
|
+
{
|
|
15108
|
+
name: "account",
|
|
15109
|
+
type: "address",
|
|
15110
|
+
internalType: "address"
|
|
15111
|
+
}
|
|
14919
15112
|
]
|
|
14920
15113
|
},
|
|
14921
15114
|
{
|
|
14922
15115
|
type: "error",
|
|
14923
|
-
name: "
|
|
15116
|
+
name: "PerOrderCapExceeded",
|
|
14924
15117
|
inputs: [
|
|
14925
15118
|
{
|
|
14926
|
-
name: "
|
|
15119
|
+
name: "account",
|
|
15120
|
+
type: "address",
|
|
15121
|
+
internalType: "address"
|
|
15122
|
+
},
|
|
15123
|
+
{
|
|
15124
|
+
name: "token",
|
|
14927
15125
|
type: "address",
|
|
14928
15126
|
internalType: "address"
|
|
15127
|
+
},
|
|
15128
|
+
{
|
|
15129
|
+
name: "amount",
|
|
15130
|
+
type: "uint256",
|
|
15131
|
+
internalType: "uint256"
|
|
15132
|
+
},
|
|
15133
|
+
{
|
|
15134
|
+
name: "cap",
|
|
15135
|
+
type: "uint256",
|
|
15136
|
+
internalType: "uint256"
|
|
14929
15137
|
}
|
|
14930
15138
|
]
|
|
14931
15139
|
},
|
|
14932
15140
|
{
|
|
14933
15141
|
type: "error",
|
|
14934
|
-
name: "
|
|
15142
|
+
name: "ReentrancyGuardReentrantCall",
|
|
14935
15143
|
inputs: [
|
|
14936
15144
|
]
|
|
14937
15145
|
},
|
|
14938
15146
|
{
|
|
14939
15147
|
type: "error",
|
|
14940
|
-
name: "
|
|
15148
|
+
name: "ResolverNotAllowed",
|
|
14941
15149
|
inputs: [
|
|
15150
|
+
{
|
|
15151
|
+
name: "account",
|
|
15152
|
+
type: "address",
|
|
15153
|
+
internalType: "address"
|
|
15154
|
+
},
|
|
15155
|
+
{
|
|
15156
|
+
name: "resolver",
|
|
15157
|
+
type: "address",
|
|
15158
|
+
internalType: "address"
|
|
15159
|
+
}
|
|
14942
15160
|
]
|
|
14943
15161
|
},
|
|
14944
15162
|
{
|
|
@@ -14952,6 +15170,27 @@ var RelayFundingPool = [
|
|
|
14952
15170
|
}
|
|
14953
15171
|
]
|
|
14954
15172
|
},
|
|
15173
|
+
{
|
|
15174
|
+
type: "error",
|
|
15175
|
+
name: "SponsorshipConfigExpired",
|
|
15176
|
+
inputs: [
|
|
15177
|
+
{
|
|
15178
|
+
name: "account",
|
|
15179
|
+
type: "address",
|
|
15180
|
+
internalType: "address"
|
|
15181
|
+
},
|
|
15182
|
+
{
|
|
15183
|
+
name: "token",
|
|
15184
|
+
type: "address",
|
|
15185
|
+
internalType: "address"
|
|
15186
|
+
},
|
|
15187
|
+
{
|
|
15188
|
+
name: "expiry",
|
|
15189
|
+
type: "uint64",
|
|
15190
|
+
internalType: "uint64"
|
|
15191
|
+
}
|
|
15192
|
+
]
|
|
15193
|
+
},
|
|
14955
15194
|
{
|
|
14956
15195
|
type: "error",
|
|
14957
15196
|
name: "StringTooLong",
|
|
@@ -14963,6 +15202,33 @@ var RelayFundingPool = [
|
|
|
14963
15202
|
}
|
|
14964
15203
|
]
|
|
14965
15204
|
},
|
|
15205
|
+
{
|
|
15206
|
+
type: "error",
|
|
15207
|
+
name: "WithdrawalExpired",
|
|
15208
|
+
inputs: [
|
|
15209
|
+
{
|
|
15210
|
+
name: "deadline",
|
|
15211
|
+
type: "uint256",
|
|
15212
|
+
internalType: "uint256"
|
|
15213
|
+
}
|
|
15214
|
+
]
|
|
15215
|
+
},
|
|
15216
|
+
{
|
|
15217
|
+
type: "error",
|
|
15218
|
+
name: "WithdrawalNonceUsed",
|
|
15219
|
+
inputs: [
|
|
15220
|
+
{
|
|
15221
|
+
name: "account",
|
|
15222
|
+
type: "address",
|
|
15223
|
+
internalType: "address"
|
|
15224
|
+
},
|
|
15225
|
+
{
|
|
15226
|
+
name: "nonce",
|
|
15227
|
+
type: "uint256",
|
|
15228
|
+
internalType: "uint256"
|
|
15229
|
+
}
|
|
15230
|
+
]
|
|
15231
|
+
},
|
|
14966
15232
|
{
|
|
14967
15233
|
type: "error",
|
|
14968
15234
|
name: "ZeroAddress",
|
|
@@ -14992,11 +15258,6 @@ var RelayFundingPoolFactory = [
|
|
|
14992
15258
|
type: "address",
|
|
14993
15259
|
internalType: "address"
|
|
14994
15260
|
},
|
|
14995
|
-
{
|
|
14996
|
-
name: "authorizer",
|
|
14997
|
-
type: "address",
|
|
14998
|
-
internalType: "address"
|
|
14999
|
-
},
|
|
15000
15261
|
{
|
|
15001
15262
|
name: "withdrawer",
|
|
15002
15263
|
type: "address",
|
|
@@ -15079,11 +15340,6 @@ var RelayFundingPoolFactory = [
|
|
|
15079
15340
|
type: "address",
|
|
15080
15341
|
internalType: "address"
|
|
15081
15342
|
},
|
|
15082
|
-
{
|
|
15083
|
-
name: "authorizer",
|
|
15084
|
-
type: "address",
|
|
15085
|
-
internalType: "address"
|
|
15086
|
-
},
|
|
15087
15343
|
{
|
|
15088
15344
|
name: "withdrawer",
|
|
15089
15345
|
type: "address",
|
|
@@ -24631,4 +24887,4 @@ var MyToken = [
|
|
|
24631
24887
|
|
|
24632
24888
|
declare const RelayOracle: Record<string, unknown>[];
|
|
24633
24889
|
|
|
24634
|
-
export { AuroraSdk, AuroraXccUtils, Base64, BasicCallResolver, BasicPricingOracle, BitcoinDepositAddress, BitcoinDepositSweepBuilder, BitcoinVmPayloadBuilder, Borsh, ChainSignatures, ChainlinkDataStreamsAdapter, CircleGatewayCodec, Codec, Config, DepositAddress, DepositAddressFactory, ERC20, ERC20View, EmptyPayloadBuilder, EthereumVmPayloadBuilder, FeeOnTransferToken, FixedPointMathLib, GasPaidPayloadBuilder, GatewayEthereumVmDestinationPayloadBuilder, GatewayVmPayloadBuilder, HyperliquidVmPayloadBuilder, IBidAskOracle, IBitcoinDepositSweepBuilder, ICallResolver, ICircleGatewayMinter, ICircleGatewayWallet, IDepositAddressFactory, IERC20View, IFeeCalculator, IGatewayDestinationPayloadBuilder, IHub, IMulticallRouter, IPayloadBuilder, IPriceFeedAdapter, IPricingOracle, IRateLimiter, IRelayAllocatorOwner, IRelayExecutorHasher, IRelayFundingPool, IRelayHubViewRegistry, IRelayOracleIdempotencySource, IStorkFastVerifier, IVerifierProxy, IWithdrawGasPayer, LibClone, LighterVmPayloadBuilder, MockPriceFeedAdapter, MockPricingOracle, MockSafe, MockStorkFastVerifier, MockVerifierProxy, MockWNEAR, MulticallRouter, MyToken,
|
|
24890
|
+
export { AuroraSdk, AuroraXccUtils, Base64, BasicCallResolver, BasicPricingOracle, BitcoinDepositAddress, BitcoinDepositSweepBuilder, BitcoinVmPayloadBuilder, Borsh, ChainSignatures, ChainlinkDataStreamsAdapter, CircleGatewayCodec, Codec, Config, DepositAddress, DepositAddressFactory, ERC20, ERC20View, EmptyPayloadBuilder, EthereumVmPayloadBuilder, FeeOnTransferToken, FixedPointMathLib, GasPaidPayloadBuilder, GatewayEthereumVmDestinationPayloadBuilder, GatewayVmPayloadBuilder, HyperliquidVmPayloadBuilder, IBidAskOracle, IBitcoinDepositSweepBuilder, ICallResolver, ICircleGatewayMinter, ICircleGatewayWallet, IDepositAddressFactory, IERC20View, IFeeCalculator, IGatewayDestinationPayloadBuilder, IHub, IMulticallRouter, IPayloadBuilder, IPriceFeedAdapter, IPricingOracle, IRateLimiter, IRelayAllocatorOwner, IRelayExecutorHasher, IRelayFundingPool, IRelayHubViewRegistry, IRelayOracleIdempotencySource, IStorkFastVerifier, IVerifierProxy, IWithdrawGasPayer, LibClone, LighterVmPayloadBuilder, MockPriceFeedAdapter, MockPricingOracle, MockSafe, MockStorkFastVerifier, MockVerifierProxy, MockWNEAR, MulticallRouter, MyToken, PoolDrawResolver, PoolResolverBase, PriceOraclePrecompile, RelayAllocator, RelayAmountRateLimiter, RelayBpsFeeCalculator, RelayDepositAddressManager, RelayDepository, RelayExecutor, RelayFundingPool, RelayFundingPoolFactory, RelayGatewayDepository, RelayGenericMapping, RelayHub, RelayMultisigSigner, RelayMultisigSignerHarness, RelayOracle, RelayOracleIdempotencyStore, RelayOracleMultisig, RelayOracleV2, RelayPriceOracle, RelayUsdRateLimiter, ResolverSandbox, SafeCastLib, SafeTransferLib, Sha512, SignatureCheckerLib, SignedPricingOracle, SolanaVmPayloadBuilder, StorkFastAdapter, TestableBitcoinDepositAddress, TonVmPayloadBuilder, TronVmPayloadBuilder, Utils, WithdrawGasPayer, WithdrawParams, XrpVmPayloadBuilder };
|