@relay-protocol/settlement-abis 2.0.5 → 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 +1055 -749
- package/dist/index.d.ts +1055 -749
- package/dist/index.js +1042 -741
- package/dist/index.mjs +1041 -739
- 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",
|
|
@@ -14027,66 +13675,231 @@ var RelayBpsFeeCalculator = [
|
|
|
14027
13675
|
];
|
|
14028
13676
|
|
|
14029
13677
|
var IRelayFundingPool = [
|
|
13678
|
+
{
|
|
13679
|
+
type: "function",
|
|
13680
|
+
name: "balances",
|
|
13681
|
+
inputs: [
|
|
13682
|
+
{
|
|
13683
|
+
name: "account",
|
|
13684
|
+
type: "address",
|
|
13685
|
+
internalType: "address"
|
|
13686
|
+
},
|
|
13687
|
+
{
|
|
13688
|
+
name: "token",
|
|
13689
|
+
type: "address",
|
|
13690
|
+
internalType: "address"
|
|
13691
|
+
}
|
|
13692
|
+
],
|
|
13693
|
+
outputs: [
|
|
13694
|
+
{
|
|
13695
|
+
name: "balance",
|
|
13696
|
+
type: "uint256",
|
|
13697
|
+
internalType: "uint256"
|
|
13698
|
+
}
|
|
13699
|
+
],
|
|
13700
|
+
stateMutability: "view"
|
|
13701
|
+
},
|
|
13702
|
+
{
|
|
13703
|
+
type: "function",
|
|
13704
|
+
name: "credit",
|
|
13705
|
+
inputs: [
|
|
13706
|
+
{
|
|
13707
|
+
name: "account",
|
|
13708
|
+
type: "address",
|
|
13709
|
+
internalType: "address"
|
|
13710
|
+
},
|
|
13711
|
+
{
|
|
13712
|
+
name: "token",
|
|
13713
|
+
type: "address",
|
|
13714
|
+
internalType: "address"
|
|
13715
|
+
},
|
|
13716
|
+
{
|
|
13717
|
+
name: "amount",
|
|
13718
|
+
type: "uint256",
|
|
13719
|
+
internalType: "uint256"
|
|
13720
|
+
}
|
|
13721
|
+
],
|
|
13722
|
+
outputs: [
|
|
13723
|
+
],
|
|
13724
|
+
stateMutability: "nonpayable"
|
|
13725
|
+
},
|
|
14030
13726
|
{
|
|
14031
13727
|
type: "function",
|
|
14032
13728
|
name: "debit",
|
|
14033
13729
|
inputs: [
|
|
14034
13730
|
{
|
|
14035
|
-
name: "
|
|
13731
|
+
name: "account",
|
|
13732
|
+
type: "address",
|
|
13733
|
+
internalType: "address"
|
|
13734
|
+
},
|
|
13735
|
+
{
|
|
13736
|
+
name: "token",
|
|
13737
|
+
type: "address",
|
|
13738
|
+
internalType: "address"
|
|
13739
|
+
},
|
|
13740
|
+
{
|
|
13741
|
+
name: "amount",
|
|
13742
|
+
type: "uint256",
|
|
13743
|
+
internalType: "uint256"
|
|
13744
|
+
},
|
|
13745
|
+
{
|
|
13746
|
+
name: "requestHash",
|
|
13747
|
+
type: "bytes32",
|
|
13748
|
+
internalType: "bytes32"
|
|
13749
|
+
}
|
|
13750
|
+
],
|
|
13751
|
+
outputs: [
|
|
13752
|
+
],
|
|
13753
|
+
stateMutability: "nonpayable"
|
|
13754
|
+
},
|
|
13755
|
+
{
|
|
13756
|
+
type: "function",
|
|
13757
|
+
name: "depositFor",
|
|
13758
|
+
inputs: [
|
|
13759
|
+
{
|
|
13760
|
+
name: "account",
|
|
13761
|
+
type: "address",
|
|
13762
|
+
internalType: "address"
|
|
13763
|
+
},
|
|
13764
|
+
{
|
|
13765
|
+
name: "token",
|
|
13766
|
+
type: "address",
|
|
13767
|
+
internalType: "address"
|
|
13768
|
+
},
|
|
13769
|
+
{
|
|
13770
|
+
name: "amount",
|
|
13771
|
+
type: "uint256",
|
|
13772
|
+
internalType: "uint256"
|
|
13773
|
+
}
|
|
13774
|
+
],
|
|
13775
|
+
outputs: [
|
|
13776
|
+
],
|
|
13777
|
+
stateMutability: "nonpayable"
|
|
13778
|
+
},
|
|
13779
|
+
{
|
|
13780
|
+
type: "function",
|
|
13781
|
+
name: "drawRecords",
|
|
13782
|
+
inputs: [
|
|
13783
|
+
{
|
|
13784
|
+
name: "requestHash",
|
|
13785
|
+
type: "bytes32",
|
|
13786
|
+
internalType: "bytes32"
|
|
13787
|
+
},
|
|
13788
|
+
{
|
|
13789
|
+
name: "account",
|
|
13790
|
+
type: "address",
|
|
13791
|
+
internalType: "address"
|
|
13792
|
+
}
|
|
13793
|
+
],
|
|
13794
|
+
outputs: [
|
|
13795
|
+
{
|
|
13796
|
+
name: "drawn",
|
|
13797
|
+
type: "bool",
|
|
13798
|
+
internalType: "bool"
|
|
13799
|
+
}
|
|
13800
|
+
],
|
|
13801
|
+
stateMutability: "view"
|
|
13802
|
+
},
|
|
13803
|
+
{
|
|
13804
|
+
type: "function",
|
|
13805
|
+
name: "hashWithdrawal",
|
|
13806
|
+
inputs: [
|
|
13807
|
+
{
|
|
13808
|
+
name: "withdrawal",
|
|
14036
13809
|
type: "tuple",
|
|
14037
|
-
internalType: "struct
|
|
13810
|
+
internalType: "struct PoolWithdrawal",
|
|
14038
13811
|
components: [
|
|
14039
13812
|
{
|
|
14040
|
-
name: "
|
|
14041
|
-
type: "bytes32",
|
|
14042
|
-
internalType: "bytes32"
|
|
14043
|
-
},
|
|
14044
|
-
{
|
|
14045
|
-
name: "authorizer",
|
|
13813
|
+
name: "account",
|
|
14046
13814
|
type: "address",
|
|
14047
13815
|
internalType: "address"
|
|
14048
13816
|
},
|
|
14049
13817
|
{
|
|
14050
|
-
name: "
|
|
13818
|
+
name: "token",
|
|
14051
13819
|
type: "address",
|
|
14052
13820
|
internalType: "address"
|
|
14053
13821
|
},
|
|
14054
13822
|
{
|
|
14055
|
-
name: "
|
|
14056
|
-
type: "
|
|
14057
|
-
internalType: "
|
|
13823
|
+
name: "amount",
|
|
13824
|
+
type: "uint256",
|
|
13825
|
+
internalType: "uint256"
|
|
14058
13826
|
},
|
|
14059
13827
|
{
|
|
14060
|
-
name: "
|
|
13828
|
+
name: "recipient",
|
|
14061
13829
|
type: "address",
|
|
14062
13830
|
internalType: "address"
|
|
14063
13831
|
},
|
|
14064
13832
|
{
|
|
14065
|
-
name: "
|
|
13833
|
+
name: "nonce",
|
|
14066
13834
|
type: "uint256",
|
|
14067
13835
|
internalType: "uint256"
|
|
14068
13836
|
},
|
|
14069
13837
|
{
|
|
14070
|
-
name: "
|
|
13838
|
+
name: "deadline",
|
|
14071
13839
|
type: "uint256",
|
|
14072
13840
|
internalType: "uint256"
|
|
14073
|
-
}
|
|
13841
|
+
}
|
|
13842
|
+
]
|
|
13843
|
+
}
|
|
13844
|
+
],
|
|
13845
|
+
outputs: [
|
|
13846
|
+
{
|
|
13847
|
+
name: "digest",
|
|
13848
|
+
type: "bytes32",
|
|
13849
|
+
internalType: "bytes32"
|
|
13850
|
+
}
|
|
13851
|
+
],
|
|
13852
|
+
stateMutability: "view"
|
|
13853
|
+
},
|
|
13854
|
+
{
|
|
13855
|
+
type: "function",
|
|
13856
|
+
name: "setSponsorshipConfig",
|
|
13857
|
+
inputs: [
|
|
13858
|
+
{
|
|
13859
|
+
name: "token",
|
|
13860
|
+
type: "address",
|
|
13861
|
+
internalType: "address"
|
|
13862
|
+
},
|
|
13863
|
+
{
|
|
13864
|
+
name: "config",
|
|
13865
|
+
type: "tuple",
|
|
13866
|
+
internalType: "struct SponsorshipConfig",
|
|
13867
|
+
components: [
|
|
14074
13868
|
{
|
|
14075
|
-
name: "
|
|
13869
|
+
name: "perOrderCap",
|
|
14076
13870
|
type: "uint256",
|
|
14077
13871
|
internalType: "uint256"
|
|
14078
13872
|
},
|
|
14079
13873
|
{
|
|
14080
|
-
name: "
|
|
13874
|
+
name: "budget",
|
|
14081
13875
|
type: "uint256",
|
|
14082
13876
|
internalType: "uint256"
|
|
13877
|
+
},
|
|
13878
|
+
{
|
|
13879
|
+
name: "expiry",
|
|
13880
|
+
type: "uint64",
|
|
13881
|
+
internalType: "uint64"
|
|
14083
13882
|
}
|
|
14084
13883
|
]
|
|
13884
|
+
}
|
|
13885
|
+
],
|
|
13886
|
+
outputs: [
|
|
13887
|
+
],
|
|
13888
|
+
stateMutability: "nonpayable"
|
|
13889
|
+
},
|
|
13890
|
+
{
|
|
13891
|
+
type: "function",
|
|
13892
|
+
name: "setSponsorshipResolver",
|
|
13893
|
+
inputs: [
|
|
13894
|
+
{
|
|
13895
|
+
name: "resolver",
|
|
13896
|
+
type: "address",
|
|
13897
|
+
internalType: "address"
|
|
14085
13898
|
},
|
|
14086
13899
|
{
|
|
14087
|
-
name: "
|
|
14088
|
-
type: "
|
|
14089
|
-
internalType: "
|
|
13900
|
+
name: "allowed",
|
|
13901
|
+
type: "bool",
|
|
13902
|
+
internalType: "bool"
|
|
14090
13903
|
}
|
|
14091
13904
|
],
|
|
14092
13905
|
outputs: [
|
|
@@ -14095,47 +13908,90 @@ var IRelayFundingPool = [
|
|
|
14095
13908
|
},
|
|
14096
13909
|
{
|
|
14097
13910
|
type: "function",
|
|
14098
|
-
name: "
|
|
13911
|
+
name: "sponsorshipConfig",
|
|
13912
|
+
inputs: [
|
|
13913
|
+
{
|
|
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",
|
|
13927
|
+
type: "uint256",
|
|
13928
|
+
internalType: "uint256"
|
|
13929
|
+
},
|
|
13930
|
+
{
|
|
13931
|
+
name: "budget",
|
|
13932
|
+
type: "uint256",
|
|
13933
|
+
internalType: "uint256"
|
|
13934
|
+
},
|
|
13935
|
+
{
|
|
13936
|
+
name: "expiry",
|
|
13937
|
+
type: "uint64",
|
|
13938
|
+
internalType: "uint64"
|
|
13939
|
+
}
|
|
13940
|
+
],
|
|
13941
|
+
stateMutability: "view"
|
|
13942
|
+
},
|
|
13943
|
+
{
|
|
13944
|
+
type: "function",
|
|
13945
|
+
name: "sponsorshipResolvers",
|
|
13946
|
+
inputs: [
|
|
13947
|
+
{
|
|
13948
|
+
name: "account",
|
|
13949
|
+
type: "address",
|
|
13950
|
+
internalType: "address"
|
|
13951
|
+
},
|
|
13952
|
+
{
|
|
13953
|
+
name: "resolver",
|
|
13954
|
+
type: "address",
|
|
13955
|
+
internalType: "address"
|
|
13956
|
+
}
|
|
13957
|
+
],
|
|
13958
|
+
outputs: [
|
|
13959
|
+
{
|
|
13960
|
+
name: "allowed",
|
|
13961
|
+
type: "bool",
|
|
13962
|
+
internalType: "bool"
|
|
13963
|
+
}
|
|
13964
|
+
],
|
|
13965
|
+
stateMutability: "view"
|
|
13966
|
+
},
|
|
13967
|
+
{
|
|
13968
|
+
type: "function",
|
|
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
|
-
components: [
|
|
14284
|
-
{
|
|
14285
|
-
name: "requestHash",
|
|
14286
|
-
type: "bytes32",
|
|
14287
|
-
internalType: "bytes32"
|
|
14288
|
-
},
|
|
14289
|
-
{
|
|
14290
|
-
name: "authorizer",
|
|
14291
|
-
type: "address",
|
|
14292
|
-
internalType: "address"
|
|
14293
|
-
},
|
|
14294
|
-
{
|
|
14295
|
-
name: "resolver",
|
|
14296
|
-
type: "address",
|
|
14297
|
-
internalType: "address"
|
|
14298
|
-
},
|
|
14299
|
-
{
|
|
14300
|
-
name: "tokenIn",
|
|
14301
|
-
type: "address",
|
|
14302
|
-
internalType: "address"
|
|
14303
|
-
},
|
|
14304
|
-
{
|
|
14305
|
-
name: "tokenOut",
|
|
14306
|
-
type: "address",
|
|
14307
|
-
internalType: "address"
|
|
14308
|
-
},
|
|
14309
|
-
{
|
|
14310
|
-
name: "amountInMaximum",
|
|
14311
|
-
type: "uint256",
|
|
14312
|
-
internalType: "uint256"
|
|
14313
|
-
},
|
|
14314
|
-
{
|
|
14315
|
-
name: "amountOutMinimum",
|
|
14316
|
-
type: "uint256",
|
|
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"
|
|
14330
14168
|
},
|
|
14331
14169
|
{
|
|
14332
|
-
name: "
|
|
14333
|
-
type: "
|
|
14334
|
-
internalType: "
|
|
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"
|
|
14202
|
+
},
|
|
14203
|
+
{
|
|
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,130 +14342,228 @@ 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: "
|
|
14358
|
+
name: "token",
|
|
14468
14359
|
type: "address",
|
|
14469
14360
|
internalType: "address"
|
|
14470
14361
|
},
|
|
14471
14362
|
{
|
|
14472
|
-
name: "
|
|
14473
|
-
type: "
|
|
14474
|
-
internalType: "
|
|
14363
|
+
name: "amount",
|
|
14364
|
+
type: "uint256",
|
|
14365
|
+
internalType: "uint256"
|
|
14475
14366
|
},
|
|
14476
14367
|
{
|
|
14477
|
-
name: "
|
|
14368
|
+
name: "recipient",
|
|
14478
14369
|
type: "address",
|
|
14479
14370
|
internalType: "address"
|
|
14480
14371
|
},
|
|
14481
14372
|
{
|
|
14482
|
-
name: "
|
|
14373
|
+
name: "nonce",
|
|
14483
14374
|
type: "uint256",
|
|
14484
14375
|
internalType: "uint256"
|
|
14485
14376
|
},
|
|
14486
14377
|
{
|
|
14487
|
-
name: "
|
|
14378
|
+
name: "deadline",
|
|
14379
|
+
type: "uint256",
|
|
14380
|
+
internalType: "uint256"
|
|
14381
|
+
}
|
|
14382
|
+
]
|
|
14383
|
+
}
|
|
14384
|
+
],
|
|
14385
|
+
outputs: [
|
|
14386
|
+
{
|
|
14387
|
+
name: "digest",
|
|
14388
|
+
type: "bytes32",
|
|
14389
|
+
internalType: "bytes32"
|
|
14390
|
+
}
|
|
14391
|
+
],
|
|
14392
|
+
stateMutability: "view"
|
|
14393
|
+
},
|
|
14394
|
+
{
|
|
14395
|
+
type: "function",
|
|
14396
|
+
name: "pause",
|
|
14397
|
+
inputs: [
|
|
14398
|
+
],
|
|
14399
|
+
outputs: [
|
|
14400
|
+
],
|
|
14401
|
+
stateMutability: "nonpayable"
|
|
14402
|
+
},
|
|
14403
|
+
{
|
|
14404
|
+
type: "function",
|
|
14405
|
+
name: "paused",
|
|
14406
|
+
inputs: [
|
|
14407
|
+
],
|
|
14408
|
+
outputs: [
|
|
14409
|
+
{
|
|
14410
|
+
name: "",
|
|
14411
|
+
type: "bool",
|
|
14412
|
+
internalType: "bool"
|
|
14413
|
+
}
|
|
14414
|
+
],
|
|
14415
|
+
stateMutability: "view"
|
|
14416
|
+
},
|
|
14417
|
+
{
|
|
14418
|
+
type: "function",
|
|
14419
|
+
name: "renounceRole",
|
|
14420
|
+
inputs: [
|
|
14421
|
+
{
|
|
14422
|
+
name: "role",
|
|
14423
|
+
type: "bytes32",
|
|
14424
|
+
internalType: "bytes32"
|
|
14425
|
+
},
|
|
14426
|
+
{
|
|
14427
|
+
name: "callerConfirmation",
|
|
14428
|
+
type: "address",
|
|
14429
|
+
internalType: "address"
|
|
14430
|
+
}
|
|
14431
|
+
],
|
|
14432
|
+
outputs: [
|
|
14433
|
+
],
|
|
14434
|
+
stateMutability: "nonpayable"
|
|
14435
|
+
},
|
|
14436
|
+
{
|
|
14437
|
+
type: "function",
|
|
14438
|
+
name: "revokeRole",
|
|
14439
|
+
inputs: [
|
|
14440
|
+
{
|
|
14441
|
+
name: "role",
|
|
14442
|
+
type: "bytes32",
|
|
14443
|
+
internalType: "bytes32"
|
|
14444
|
+
},
|
|
14445
|
+
{
|
|
14446
|
+
name: "account",
|
|
14447
|
+
type: "address",
|
|
14448
|
+
internalType: "address"
|
|
14449
|
+
}
|
|
14450
|
+
],
|
|
14451
|
+
outputs: [
|
|
14452
|
+
],
|
|
14453
|
+
stateMutability: "nonpayable"
|
|
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",
|
|
14488
14471
|
type: "uint256",
|
|
14489
14472
|
internalType: "uint256"
|
|
14490
14473
|
},
|
|
14491
14474
|
{
|
|
14492
|
-
name: "
|
|
14475
|
+
name: "budget",
|
|
14493
14476
|
type: "uint256",
|
|
14494
14477
|
internalType: "uint256"
|
|
14495
14478
|
},
|
|
14496
14479
|
{
|
|
14497
|
-
name: "
|
|
14498
|
-
type: "
|
|
14499
|
-
internalType: "
|
|
14480
|
+
name: "expiry",
|
|
14481
|
+
type: "uint64",
|
|
14482
|
+
internalType: "uint64"
|
|
14500
14483
|
}
|
|
14501
14484
|
]
|
|
14502
14485
|
}
|
|
14503
14486
|
],
|
|
14504
|
-
outputs: [
|
|
14505
|
-
{
|
|
14506
|
-
name: "digest",
|
|
14507
|
-
type: "bytes32",
|
|
14508
|
-
internalType: "bytes32"
|
|
14509
|
-
}
|
|
14510
|
-
],
|
|
14511
|
-
stateMutability: "view"
|
|
14512
|
-
},
|
|
14513
|
-
{
|
|
14514
|
-
type: "function",
|
|
14515
|
-
name: "pause",
|
|
14516
|
-
inputs: [
|
|
14517
|
-
],
|
|
14518
14487
|
outputs: [
|
|
14519
14488
|
],
|
|
14520
14489
|
stateMutability: "nonpayable"
|
|
14521
14490
|
},
|
|
14522
14491
|
{
|
|
14523
14492
|
type: "function",
|
|
14524
|
-
name: "
|
|
14493
|
+
name: "setSponsorshipResolver",
|
|
14525
14494
|
inputs: [
|
|
14526
|
-
],
|
|
14527
|
-
outputs: [
|
|
14528
14495
|
{
|
|
14529
|
-
name: "",
|
|
14496
|
+
name: "resolver",
|
|
14497
|
+
type: "address",
|
|
14498
|
+
internalType: "address"
|
|
14499
|
+
},
|
|
14500
|
+
{
|
|
14501
|
+
name: "allowed",
|
|
14530
14502
|
type: "bool",
|
|
14531
14503
|
internalType: "bool"
|
|
14532
14504
|
}
|
|
14533
14505
|
],
|
|
14534
|
-
|
|
14506
|
+
outputs: [
|
|
14507
|
+
],
|
|
14508
|
+
stateMutability: "nonpayable"
|
|
14535
14509
|
},
|
|
14536
14510
|
{
|
|
14537
14511
|
type: "function",
|
|
14538
|
-
name: "
|
|
14512
|
+
name: "sponsorshipConfig",
|
|
14539
14513
|
inputs: [
|
|
14540
14514
|
{
|
|
14541
|
-
name: "
|
|
14542
|
-
type: "
|
|
14543
|
-
internalType: "
|
|
14515
|
+
name: "account",
|
|
14516
|
+
type: "address",
|
|
14517
|
+
internalType: "address"
|
|
14544
14518
|
},
|
|
14545
14519
|
{
|
|
14546
|
-
name: "
|
|
14520
|
+
name: "token",
|
|
14547
14521
|
type: "address",
|
|
14548
14522
|
internalType: "address"
|
|
14549
14523
|
}
|
|
14550
14524
|
],
|
|
14551
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
|
+
}
|
|
14552
14541
|
],
|
|
14553
|
-
stateMutability: "
|
|
14542
|
+
stateMutability: "view"
|
|
14554
14543
|
},
|
|
14555
14544
|
{
|
|
14556
14545
|
type: "function",
|
|
14557
|
-
name: "
|
|
14546
|
+
name: "sponsorshipResolvers",
|
|
14558
14547
|
inputs: [
|
|
14559
14548
|
{
|
|
14560
|
-
name: "
|
|
14561
|
-
type: "
|
|
14562
|
-
internalType: "
|
|
14549
|
+
name: "account",
|
|
14550
|
+
type: "address",
|
|
14551
|
+
internalType: "address"
|
|
14563
14552
|
},
|
|
14564
14553
|
{
|
|
14565
|
-
name: "
|
|
14554
|
+
name: "resolver",
|
|
14566
14555
|
type: "address",
|
|
14567
14556
|
internalType: "address"
|
|
14568
14557
|
}
|
|
14569
14558
|
],
|
|
14570
14559
|
outputs: [
|
|
14560
|
+
{
|
|
14561
|
+
name: "allowed",
|
|
14562
|
+
type: "bool",
|
|
14563
|
+
internalType: "bool"
|
|
14564
|
+
}
|
|
14571
14565
|
],
|
|
14572
|
-
stateMutability: "
|
|
14566
|
+
stateMutability: "view"
|
|
14573
14567
|
},
|
|
14574
14568
|
{
|
|
14575
14569
|
type: "function",
|
|
@@ -14601,28 +14595,79 @@ 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",
|
|
14608
14602
|
type: "address",
|
|
14609
14603
|
internalType: "address"
|
|
14610
14604
|
},
|
|
14611
14605
|
{
|
|
14612
|
-
name: "",
|
|
14606
|
+
name: "nonce",
|
|
14613
14607
|
type: "uint256",
|
|
14614
14608
|
internalType: "uint256"
|
|
14615
14609
|
}
|
|
14616
14610
|
],
|
|
14617
14611
|
outputs: [
|
|
14618
14612
|
{
|
|
14619
|
-
name: "",
|
|
14613
|
+
name: "used",
|
|
14620
14614
|
type: "bool",
|
|
14621
14615
|
internalType: "bool"
|
|
14622
14616
|
}
|
|
14623
14617
|
],
|
|
14624
14618
|
stateMutability: "view"
|
|
14625
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
|
+
},
|
|
14626
14671
|
{
|
|
14627
14672
|
type: "function",
|
|
14628
14673
|
name: "withdraw",
|
|
@@ -14649,16 +14694,16 @@ var RelayFundingPool = [
|
|
|
14649
14694
|
},
|
|
14650
14695
|
{
|
|
14651
14696
|
type: "event",
|
|
14652
|
-
name: "
|
|
14697
|
+
name: "Credited",
|
|
14653
14698
|
inputs: [
|
|
14654
14699
|
{
|
|
14655
|
-
name: "
|
|
14656
|
-
type: "
|
|
14700
|
+
name: "account",
|
|
14701
|
+
type: "address",
|
|
14657
14702
|
indexed: true,
|
|
14658
|
-
internalType: "
|
|
14703
|
+
internalType: "address"
|
|
14659
14704
|
},
|
|
14660
14705
|
{
|
|
14661
|
-
name: "
|
|
14706
|
+
name: "token",
|
|
14662
14707
|
type: "address",
|
|
14663
14708
|
indexed: true,
|
|
14664
14709
|
internalType: "address"
|
|
@@ -14670,31 +14715,75 @@ var RelayFundingPool = [
|
|
|
14670
14715
|
internalType: "address"
|
|
14671
14716
|
},
|
|
14672
14717
|
{
|
|
14673
|
-
name: "
|
|
14674
|
-
type: "
|
|
14718
|
+
name: "amount",
|
|
14719
|
+
type: "uint256",
|
|
14675
14720
|
indexed: false,
|
|
14721
|
+
internalType: "uint256"
|
|
14722
|
+
}
|
|
14723
|
+
],
|
|
14724
|
+
anonymous: false
|
|
14725
|
+
},
|
|
14726
|
+
{
|
|
14727
|
+
type: "event",
|
|
14728
|
+
name: "Deposited",
|
|
14729
|
+
inputs: [
|
|
14730
|
+
{
|
|
14731
|
+
name: "account",
|
|
14732
|
+
type: "address",
|
|
14733
|
+
indexed: true,
|
|
14676
14734
|
internalType: "address"
|
|
14677
14735
|
},
|
|
14678
14736
|
{
|
|
14679
|
-
name: "
|
|
14737
|
+
name: "token",
|
|
14680
14738
|
type: "address",
|
|
14681
|
-
indexed:
|
|
14739
|
+
indexed: true,
|
|
14740
|
+
internalType: "address"
|
|
14741
|
+
},
|
|
14742
|
+
{
|
|
14743
|
+
name: "funder",
|
|
14744
|
+
type: "address",
|
|
14745
|
+
indexed: true,
|
|
14682
14746
|
internalType: "address"
|
|
14683
14747
|
},
|
|
14684
14748
|
{
|
|
14685
|
-
name: "
|
|
14749
|
+
name: "amount",
|
|
14686
14750
|
type: "uint256",
|
|
14687
14751
|
indexed: false,
|
|
14688
14752
|
internalType: "uint256"
|
|
14753
|
+
}
|
|
14754
|
+
],
|
|
14755
|
+
anonymous: false
|
|
14756
|
+
},
|
|
14757
|
+
{
|
|
14758
|
+
type: "event",
|
|
14759
|
+
name: "Drawn",
|
|
14760
|
+
inputs: [
|
|
14761
|
+
{
|
|
14762
|
+
name: "requestHash",
|
|
14763
|
+
type: "bytes32",
|
|
14764
|
+
indexed: true,
|
|
14765
|
+
internalType: "bytes32"
|
|
14689
14766
|
},
|
|
14690
14767
|
{
|
|
14691
|
-
name: "
|
|
14692
|
-
type: "
|
|
14768
|
+
name: "account",
|
|
14769
|
+
type: "address",
|
|
14770
|
+
indexed: true,
|
|
14771
|
+
internalType: "address"
|
|
14772
|
+
},
|
|
14773
|
+
{
|
|
14774
|
+
name: "token",
|
|
14775
|
+
type: "address",
|
|
14776
|
+
indexed: true,
|
|
14777
|
+
internalType: "address"
|
|
14778
|
+
},
|
|
14779
|
+
{
|
|
14780
|
+
name: "resolver",
|
|
14781
|
+
type: "address",
|
|
14693
14782
|
indexed: false,
|
|
14694
|
-
internalType: "
|
|
14783
|
+
internalType: "address"
|
|
14695
14784
|
},
|
|
14696
14785
|
{
|
|
14697
|
-
name: "
|
|
14786
|
+
name: "amount",
|
|
14698
14787
|
type: "uint256",
|
|
14699
14788
|
indexed: false,
|
|
14700
14789
|
internalType: "uint256"
|
|
@@ -14764,24 +14853,80 @@ var RelayFundingPool = [
|
|
|
14764
14853
|
internalType: "address"
|
|
14765
14854
|
},
|
|
14766
14855
|
{
|
|
14767
|
-
name: "sender",
|
|
14768
|
-
type: "address",
|
|
14769
|
-
indexed: true,
|
|
14770
|
-
internalType: "address"
|
|
14856
|
+
name: "sender",
|
|
14857
|
+
type: "address",
|
|
14858
|
+
indexed: true,
|
|
14859
|
+
internalType: "address"
|
|
14860
|
+
}
|
|
14861
|
+
],
|
|
14862
|
+
anonymous: false
|
|
14863
|
+
},
|
|
14864
|
+
{
|
|
14865
|
+
type: "event",
|
|
14866
|
+
name: "RoleRevoked",
|
|
14867
|
+
inputs: [
|
|
14868
|
+
{
|
|
14869
|
+
name: "role",
|
|
14870
|
+
type: "bytes32",
|
|
14871
|
+
indexed: true,
|
|
14872
|
+
internalType: "bytes32"
|
|
14873
|
+
},
|
|
14874
|
+
{
|
|
14875
|
+
name: "account",
|
|
14876
|
+
type: "address",
|
|
14877
|
+
indexed: true,
|
|
14878
|
+
internalType: "address"
|
|
14879
|
+
},
|
|
14880
|
+
{
|
|
14881
|
+
name: "sender",
|
|
14882
|
+
type: "address",
|
|
14883
|
+
indexed: true,
|
|
14884
|
+
internalType: "address"
|
|
14885
|
+
}
|
|
14886
|
+
],
|
|
14887
|
+
anonymous: false
|
|
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"
|
|
14771
14922
|
}
|
|
14772
14923
|
],
|
|
14773
14924
|
anonymous: false
|
|
14774
14925
|
},
|
|
14775
14926
|
{
|
|
14776
14927
|
type: "event",
|
|
14777
|
-
name: "
|
|
14928
|
+
name: "SponsorshipResolverSet",
|
|
14778
14929
|
inputs: [
|
|
14779
|
-
{
|
|
14780
|
-
name: "role",
|
|
14781
|
-
type: "bytes32",
|
|
14782
|
-
indexed: true,
|
|
14783
|
-
internalType: "bytes32"
|
|
14784
|
-
},
|
|
14785
14930
|
{
|
|
14786
14931
|
name: "account",
|
|
14787
14932
|
type: "address",
|
|
@@ -14789,10 +14934,16 @@ var RelayFundingPool = [
|
|
|
14789
14934
|
internalType: "address"
|
|
14790
14935
|
},
|
|
14791
14936
|
{
|
|
14792
|
-
name: "
|
|
14937
|
+
name: "resolver",
|
|
14793
14938
|
type: "address",
|
|
14794
14939
|
indexed: true,
|
|
14795
14940
|
internalType: "address"
|
|
14941
|
+
},
|
|
14942
|
+
{
|
|
14943
|
+
name: "allowed",
|
|
14944
|
+
type: "bool",
|
|
14945
|
+
indexed: false,
|
|
14946
|
+
internalType: "bool"
|
|
14796
14947
|
}
|
|
14797
14948
|
],
|
|
14798
14949
|
anonymous: false
|
|
@@ -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",
|
|
@@ -22220,30 +22476,6 @@ var RelayUsdRateLimiter = [
|
|
|
22220
22476
|
],
|
|
22221
22477
|
stateMutability: "view"
|
|
22222
22478
|
},
|
|
22223
|
-
{
|
|
22224
|
-
type: "function",
|
|
22225
|
-
name: "canConsume",
|
|
22226
|
-
inputs: [
|
|
22227
|
-
{
|
|
22228
|
-
name: "chainId",
|
|
22229
|
-
type: "string",
|
|
22230
|
-
internalType: "string"
|
|
22231
|
-
},
|
|
22232
|
-
{
|
|
22233
|
-
name: "usdValue",
|
|
22234
|
-
type: "uint256",
|
|
22235
|
-
internalType: "uint256"
|
|
22236
|
-
}
|
|
22237
|
-
],
|
|
22238
|
-
outputs: [
|
|
22239
|
-
{
|
|
22240
|
-
name: "ok",
|
|
22241
|
-
type: "bool",
|
|
22242
|
-
internalType: "bool"
|
|
22243
|
-
}
|
|
22244
|
-
],
|
|
22245
|
-
stateMutability: "view"
|
|
22246
|
-
},
|
|
22247
22479
|
{
|
|
22248
22480
|
type: "function",
|
|
22249
22481
|
name: "consume",
|
|
@@ -22400,6 +22632,64 @@ var RelayUsdRateLimiter = [
|
|
|
22400
22632
|
],
|
|
22401
22633
|
stateMutability: "nonpayable"
|
|
22402
22634
|
},
|
|
22635
|
+
{
|
|
22636
|
+
type: "function",
|
|
22637
|
+
name: "resolveCanConsume",
|
|
22638
|
+
inputs: [
|
|
22639
|
+
{
|
|
22640
|
+
name: "tokenId",
|
|
22641
|
+
type: "uint256",
|
|
22642
|
+
internalType: "uint256"
|
|
22643
|
+
},
|
|
22644
|
+
{
|
|
22645
|
+
name: "amount",
|
|
22646
|
+
type: "uint256",
|
|
22647
|
+
internalType: "uint256"
|
|
22648
|
+
},
|
|
22649
|
+
{
|
|
22650
|
+
name: "data",
|
|
22651
|
+
type: "bytes",
|
|
22652
|
+
internalType: "bytes"
|
|
22653
|
+
}
|
|
22654
|
+
],
|
|
22655
|
+
outputs: [
|
|
22656
|
+
{
|
|
22657
|
+
name: "ok",
|
|
22658
|
+
type: "bool",
|
|
22659
|
+
internalType: "bool"
|
|
22660
|
+
}
|
|
22661
|
+
],
|
|
22662
|
+
stateMutability: "nonpayable"
|
|
22663
|
+
},
|
|
22664
|
+
{
|
|
22665
|
+
type: "function",
|
|
22666
|
+
name: "resolveCanConsumeBatch",
|
|
22667
|
+
inputs: [
|
|
22668
|
+
{
|
|
22669
|
+
name: "tokenIds",
|
|
22670
|
+
type: "uint256[]",
|
|
22671
|
+
internalType: "uint256[]"
|
|
22672
|
+
},
|
|
22673
|
+
{
|
|
22674
|
+
name: "amounts",
|
|
22675
|
+
type: "uint256[]",
|
|
22676
|
+
internalType: "uint256[]"
|
|
22677
|
+
},
|
|
22678
|
+
{
|
|
22679
|
+
name: "data",
|
|
22680
|
+
type: "bytes",
|
|
22681
|
+
internalType: "bytes"
|
|
22682
|
+
}
|
|
22683
|
+
],
|
|
22684
|
+
outputs: [
|
|
22685
|
+
{
|
|
22686
|
+
name: "ok",
|
|
22687
|
+
type: "bool",
|
|
22688
|
+
internalType: "bool"
|
|
22689
|
+
}
|
|
22690
|
+
],
|
|
22691
|
+
stateMutability: "nonpayable"
|
|
22692
|
+
},
|
|
22403
22693
|
{
|
|
22404
22694
|
type: "function",
|
|
22405
22695
|
name: "revokeRole",
|
|
@@ -22663,6 +22953,22 @@ var RelayUsdRateLimiter = [
|
|
|
22663
22953
|
}
|
|
22664
22954
|
]
|
|
22665
22955
|
},
|
|
22956
|
+
{
|
|
22957
|
+
type: "error",
|
|
22958
|
+
name: "ArrayLengthMismatch",
|
|
22959
|
+
inputs: [
|
|
22960
|
+
{
|
|
22961
|
+
name: "tokenIdsLength",
|
|
22962
|
+
type: "uint256",
|
|
22963
|
+
internalType: "uint256"
|
|
22964
|
+
},
|
|
22965
|
+
{
|
|
22966
|
+
name: "amountsLength",
|
|
22967
|
+
type: "uint256",
|
|
22968
|
+
internalType: "uint256"
|
|
22969
|
+
}
|
|
22970
|
+
]
|
|
22971
|
+
},
|
|
22666
22972
|
{
|
|
22667
22973
|
type: "error",
|
|
22668
22974
|
name: "ZeroAddress",
|
|
@@ -24581,4 +24887,4 @@ var MyToken = [
|
|
|
24581
24887
|
|
|
24582
24888
|
declare const RelayOracle: Record<string, unknown>[];
|
|
24583
24889
|
|
|
24584
|
-
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 };
|