@relay-protocol/settlement-abis 2.0.6 → 2.0.8
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 +1971 -1080
- package/dist/index.d.ts +1971 -1080
- package/dist/index.js +3029 -2149
- package/dist/index.mjs +3028 -2147
- 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,155 +10316,231 @@ 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"
|
|
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"
|
|
10458
10462
|
},
|
|
10459
10463
|
{
|
|
10460
|
-
name: "
|
|
10461
|
-
type: "
|
|
10464
|
+
name: "outputVmType",
|
|
10465
|
+
type: "string",
|
|
10466
|
+
internalType: "string"
|
|
10467
|
+
},
|
|
10468
|
+
{
|
|
10469
|
+
name: "outputChainId",
|
|
10470
|
+
type: "string",
|
|
10471
|
+
internalType: "string"
|
|
10472
|
+
},
|
|
10473
|
+
{
|
|
10474
|
+
name: "outputCurrency",
|
|
10475
|
+
type: "bytes",
|
|
10462
10476
|
internalType: "bytes"
|
|
10463
10477
|
},
|
|
10464
10478
|
{
|
|
10465
|
-
name: "
|
|
10479
|
+
name: "outputRecipient",
|
|
10480
|
+
type: "bytes",
|
|
10481
|
+
internalType: "bytes"
|
|
10482
|
+
},
|
|
10483
|
+
{
|
|
10484
|
+
name: "solver",
|
|
10466
10485
|
type: "address",
|
|
10467
10486
|
internalType: "address"
|
|
10468
10487
|
},
|
|
10469
10488
|
{
|
|
10470
|
-
name: "
|
|
10471
|
-
type: "
|
|
10472
|
-
internalType: "
|
|
10489
|
+
name: "pricingOracle",
|
|
10490
|
+
type: "address",
|
|
10491
|
+
internalType: "address"
|
|
10473
10492
|
},
|
|
10474
10493
|
{
|
|
10475
|
-
name: "
|
|
10494
|
+
name: "depositor",
|
|
10476
10495
|
type: "bytes",
|
|
10477
10496
|
internalType: "bytes"
|
|
10478
10497
|
},
|
|
10479
10498
|
{
|
|
10480
|
-
name: "
|
|
10481
|
-
type: "
|
|
10482
|
-
internalType: "
|
|
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
|
-
]
|
|
10499
|
+
name: "refundRecipient",
|
|
10500
|
+
type: "bytes",
|
|
10501
|
+
internalType: "bytes"
|
|
10495
10502
|
},
|
|
10496
10503
|
{
|
|
10497
|
-
name: "
|
|
10498
|
-
type: "
|
|
10499
|
-
internalType: "
|
|
10504
|
+
name: "priceImpactBps",
|
|
10505
|
+
type: "uint256",
|
|
10506
|
+
internalType: "uint256"
|
|
10500
10507
|
},
|
|
10501
10508
|
{
|
|
10502
|
-
name: "
|
|
10509
|
+
name: "salt",
|
|
10503
10510
|
type: "uint256",
|
|
10504
10511
|
internalType: "uint256"
|
|
10505
10512
|
}
|
|
10506
10513
|
]
|
|
10507
10514
|
},
|
|
10508
10515
|
{
|
|
10509
|
-
name: "
|
|
10510
|
-
type: "
|
|
10511
|
-
internalType: "
|
|
10516
|
+
name: "orderId",
|
|
10517
|
+
type: "bytes32",
|
|
10518
|
+
internalType: "bytes32"
|
|
10512
10519
|
},
|
|
10513
10520
|
{
|
|
10514
|
-
name: "
|
|
10521
|
+
name: "nonce",
|
|
10522
|
+
type: "uint256",
|
|
10523
|
+
internalType: "uint256"
|
|
10524
|
+
},
|
|
10525
|
+
{
|
|
10526
|
+
name: "currencies",
|
|
10527
|
+
type: "tuple[]",
|
|
10528
|
+
internalType: "struct Currency[]",
|
|
10529
|
+
components: [
|
|
10530
|
+
{
|
|
10531
|
+
name: "chainId",
|
|
10532
|
+
type: "string",
|
|
10533
|
+
internalType: "string"
|
|
10534
|
+
},
|
|
10535
|
+
{
|
|
10536
|
+
name: "currency",
|
|
10537
|
+
type: "bytes",
|
|
10538
|
+
internalType: "bytes"
|
|
10539
|
+
}
|
|
10540
|
+
]
|
|
10541
|
+
},
|
|
10542
|
+
{
|
|
10543
|
+
name: "extraData",
|
|
10515
10544
|
type: "bytes",
|
|
10516
10545
|
internalType: "bytes"
|
|
10517
10546
|
}
|
|
@@ -10521,270 +10550,160 @@ var PoolSponsorshipResolver = [
|
|
|
10521
10550
|
stateMutability: "nonpayable"
|
|
10522
10551
|
},
|
|
10523
10552
|
{
|
|
10524
|
-
type: "
|
|
10525
|
-
name: "
|
|
10553
|
+
type: "function",
|
|
10554
|
+
name: "triggers",
|
|
10526
10555
|
inputs: [
|
|
10527
10556
|
{
|
|
10528
|
-
name: "
|
|
10557
|
+
name: "triggerHash",
|
|
10529
10558
|
type: "bytes32",
|
|
10530
|
-
indexed: true,
|
|
10531
10559
|
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
10560
|
}
|
|
10563
10561
|
],
|
|
10564
|
-
|
|
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: [
|
|
10562
|
+
outputs: [
|
|
10591
10563
|
{
|
|
10592
|
-
name: "
|
|
10593
|
-
type: "
|
|
10594
|
-
internalType: "
|
|
10564
|
+
name: "orderId",
|
|
10565
|
+
type: "bytes32",
|
|
10566
|
+
internalType: "bytes32"
|
|
10595
10567
|
}
|
|
10596
|
-
]
|
|
10597
|
-
|
|
10598
|
-
{
|
|
10599
|
-
type: "error",
|
|
10600
|
-
name: "ReentrancyGuardReentrantCall",
|
|
10601
|
-
inputs: [
|
|
10602
|
-
]
|
|
10568
|
+
],
|
|
10569
|
+
stateMutability: "view"
|
|
10603
10570
|
},
|
|
10604
10571
|
{
|
|
10605
|
-
type: "
|
|
10606
|
-
name: "
|
|
10572
|
+
type: "event",
|
|
10573
|
+
name: "Triggered",
|
|
10607
10574
|
inputs: [
|
|
10608
10575
|
{
|
|
10609
|
-
name: "
|
|
10576
|
+
name: "orderId",
|
|
10610
10577
|
type: "bytes32",
|
|
10578
|
+
indexed: true,
|
|
10611
10579
|
internalType: "bytes32"
|
|
10612
10580
|
},
|
|
10613
10581
|
{
|
|
10614
|
-
name: "
|
|
10582
|
+
name: "triggerHash",
|
|
10615
10583
|
type: "bytes32",
|
|
10584
|
+
indexed: false,
|
|
10616
10585
|
internalType: "bytes32"
|
|
10617
10586
|
}
|
|
10618
|
-
]
|
|
10619
|
-
|
|
10620
|
-
{
|
|
10621
|
-
type: "error",
|
|
10622
|
-
name: "SafeERC20FailedOperation",
|
|
10623
|
-
inputs: [
|
|
10624
|
-
{
|
|
10625
|
-
name: "token",
|
|
10626
|
-
type: "address",
|
|
10627
|
-
internalType: "address"
|
|
10628
|
-
}
|
|
10629
|
-
]
|
|
10587
|
+
],
|
|
10588
|
+
anonymous: false
|
|
10630
10589
|
},
|
|
10631
10590
|
{
|
|
10632
10591
|
type: "error",
|
|
10633
|
-
name: "
|
|
10592
|
+
name: "AlreadyTriggered",
|
|
10634
10593
|
inputs: [
|
|
10635
10594
|
{
|
|
10636
|
-
name: "
|
|
10637
|
-
type: "
|
|
10638
|
-
internalType: "
|
|
10639
|
-
},
|
|
10640
|
-
{
|
|
10641
|
-
name: "before_",
|
|
10642
|
-
type: "uint256",
|
|
10643
|
-
internalType: "uint256"
|
|
10644
|
-
},
|
|
10645
|
-
{
|
|
10646
|
-
name: "after_",
|
|
10647
|
-
type: "uint256",
|
|
10648
|
-
internalType: "uint256"
|
|
10595
|
+
name: "triggerHash",
|
|
10596
|
+
type: "bytes32",
|
|
10597
|
+
internalType: "bytes32"
|
|
10649
10598
|
}
|
|
10650
10599
|
]
|
|
10651
10600
|
},
|
|
10652
10601
|
{
|
|
10653
10602
|
type: "error",
|
|
10654
|
-
name: "
|
|
10603
|
+
name: "InputVmTypeMismatch",
|
|
10655
10604
|
inputs: [
|
|
10656
|
-
{
|
|
10657
|
-
name: "caller",
|
|
10658
|
-
type: "address",
|
|
10659
|
-
internalType: "address"
|
|
10660
|
-
}
|
|
10661
10605
|
]
|
|
10662
10606
|
},
|
|
10663
10607
|
{
|
|
10664
10608
|
type: "error",
|
|
10665
|
-
name: "
|
|
10609
|
+
name: "InvalidOrderId",
|
|
10666
10610
|
inputs: [
|
|
10667
10611
|
]
|
|
10668
10612
|
}
|
|
10669
10613
|
];
|
|
10670
10614
|
|
|
10671
|
-
var
|
|
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
|
-
},
|
|
10615
|
+
var BasicPricingOracle = [
|
|
10692
10616
|
{
|
|
10693
10617
|
type: "function",
|
|
10694
|
-
name: "
|
|
10618
|
+
name: "resolveUsdPrices",
|
|
10695
10619
|
inputs: [
|
|
10696
10620
|
{
|
|
10697
|
-
name: "
|
|
10621
|
+
name: "currencies",
|
|
10698
10622
|
type: "tuple[]",
|
|
10699
|
-
internalType: "struct
|
|
10623
|
+
internalType: "struct Currency[]",
|
|
10700
10624
|
components: [
|
|
10701
10625
|
{
|
|
10702
|
-
name: "
|
|
10703
|
-
type: "
|
|
10704
|
-
internalType: "
|
|
10626
|
+
name: "chainId",
|
|
10627
|
+
type: "string",
|
|
10628
|
+
internalType: "string"
|
|
10705
10629
|
},
|
|
10706
10630
|
{
|
|
10707
|
-
name: "
|
|
10631
|
+
name: "currency",
|
|
10708
10632
|
type: "bytes",
|
|
10709
10633
|
internalType: "bytes"
|
|
10710
10634
|
}
|
|
10711
10635
|
]
|
|
10712
10636
|
},
|
|
10713
10637
|
{
|
|
10714
|
-
name: "
|
|
10715
|
-
type: "
|
|
10716
|
-
internalType: "
|
|
10717
|
-
},
|
|
10718
|
-
{
|
|
10719
|
-
name: "recipient",
|
|
10720
|
-
type: "address",
|
|
10721
|
-
internalType: "address"
|
|
10638
|
+
name: "extraData",
|
|
10639
|
+
type: "bytes",
|
|
10640
|
+
internalType: "bytes"
|
|
10722
10641
|
}
|
|
10723
10642
|
],
|
|
10724
10643
|
outputs: [
|
|
10644
|
+
{
|
|
10645
|
+
name: "prices",
|
|
10646
|
+
type: "tuple[]",
|
|
10647
|
+
internalType: "struct Price[]",
|
|
10648
|
+
components: [
|
|
10649
|
+
{
|
|
10650
|
+
name: "usdPrice",
|
|
10651
|
+
type: "uint256",
|
|
10652
|
+
internalType: "uint256"
|
|
10653
|
+
},
|
|
10654
|
+
{
|
|
10655
|
+
name: "usdPriceDecimals",
|
|
10656
|
+
type: "uint8",
|
|
10657
|
+
internalType: "uint8"
|
|
10658
|
+
},
|
|
10659
|
+
{
|
|
10660
|
+
name: "currencyDecimals",
|
|
10661
|
+
type: "uint8",
|
|
10662
|
+
internalType: "uint8"
|
|
10663
|
+
},
|
|
10664
|
+
{
|
|
10665
|
+
name: "publishTime",
|
|
10666
|
+
type: "uint256",
|
|
10667
|
+
internalType: "uint256"
|
|
10668
|
+
},
|
|
10669
|
+
{
|
|
10670
|
+
name: "expiration",
|
|
10671
|
+
type: "uint256",
|
|
10672
|
+
internalType: "uint256"
|
|
10673
|
+
}
|
|
10674
|
+
]
|
|
10675
|
+
}
|
|
10725
10676
|
],
|
|
10726
|
-
stateMutability: "
|
|
10677
|
+
stateMutability: "pure"
|
|
10727
10678
|
},
|
|
10728
10679
|
{
|
|
10729
10680
|
type: "error",
|
|
10730
|
-
name: "
|
|
10681
|
+
name: "PriceCountMismatch",
|
|
10731
10682
|
inputs: [
|
|
10732
10683
|
{
|
|
10733
|
-
name: "
|
|
10684
|
+
name: "currencyCount",
|
|
10734
10685
|
type: "uint256",
|
|
10735
10686
|
internalType: "uint256"
|
|
10736
10687
|
},
|
|
10737
10688
|
{
|
|
10738
|
-
name: "
|
|
10739
|
-
type: "
|
|
10740
|
-
internalType: "
|
|
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"
|
|
10689
|
+
name: "priceCount",
|
|
10690
|
+
type: "uint256",
|
|
10691
|
+
internalType: "uint256"
|
|
10768
10692
|
}
|
|
10769
10693
|
]
|
|
10770
10694
|
}
|
|
10771
10695
|
];
|
|
10772
10696
|
|
|
10773
|
-
var
|
|
10697
|
+
var IBidAskOracle = [
|
|
10774
10698
|
{
|
|
10775
10699
|
type: "function",
|
|
10776
|
-
name: "
|
|
10700
|
+
name: "resolveBidAskPrices",
|
|
10777
10701
|
inputs: [
|
|
10778
10702
|
{
|
|
10779
|
-
name: "
|
|
10780
|
-
type: "tuple",
|
|
10781
|
-
internalType: "struct
|
|
10703
|
+
name: "currencies",
|
|
10704
|
+
type: "tuple[]",
|
|
10705
|
+
internalType: "struct Currency[]",
|
|
10782
10706
|
components: [
|
|
10783
|
-
{
|
|
10784
|
-
name: "vmType",
|
|
10785
|
-
type: "string",
|
|
10786
|
-
internalType: "string"
|
|
10787
|
-
},
|
|
10788
10707
|
{
|
|
10789
10708
|
name: "chainId",
|
|
10790
10709
|
type: "string",
|
|
@@ -10794,335 +10713,64 @@ var RelayDepositAddressManager = [
|
|
|
10794
10713
|
name: "currency",
|
|
10795
10714
|
type: "bytes",
|
|
10796
10715
|
internalType: "bytes"
|
|
10797
|
-
},
|
|
10798
|
-
{
|
|
10799
|
-
name: "amount",
|
|
10800
|
-
type: "uint256",
|
|
10801
|
-
internalType: "uint256"
|
|
10802
10716
|
}
|
|
10803
10717
|
]
|
|
10804
10718
|
},
|
|
10805
10719
|
{
|
|
10806
|
-
name: "
|
|
10807
|
-
type: "
|
|
10808
|
-
internalType: "
|
|
10720
|
+
name: "extraData",
|
|
10721
|
+
type: "bytes",
|
|
10722
|
+
internalType: "bytes"
|
|
10723
|
+
}
|
|
10724
|
+
],
|
|
10725
|
+
outputs: [
|
|
10726
|
+
{
|
|
10727
|
+
name: "bidAsks",
|
|
10728
|
+
type: "tuple[]",
|
|
10729
|
+
internalType: "struct BidAsk[]",
|
|
10809
10730
|
components: [
|
|
10810
10731
|
{
|
|
10811
|
-
name: "
|
|
10812
|
-
type: "
|
|
10813
|
-
internalType: "
|
|
10814
|
-
},
|
|
10815
|
-
{
|
|
10816
|
-
name: "outputVmType",
|
|
10817
|
-
type: "string",
|
|
10818
|
-
internalType: "string"
|
|
10819
|
-
},
|
|
10820
|
-
{
|
|
10821
|
-
name: "outputChainId",
|
|
10822
|
-
type: "string",
|
|
10823
|
-
internalType: "string"
|
|
10824
|
-
},
|
|
10825
|
-
{
|
|
10826
|
-
name: "outputCurrency",
|
|
10827
|
-
type: "bytes",
|
|
10828
|
-
internalType: "bytes"
|
|
10829
|
-
},
|
|
10830
|
-
{
|
|
10831
|
-
name: "outputRecipient",
|
|
10832
|
-
type: "bytes",
|
|
10833
|
-
internalType: "bytes"
|
|
10732
|
+
name: "midPrice",
|
|
10733
|
+
type: "uint256",
|
|
10734
|
+
internalType: "uint256"
|
|
10834
10735
|
},
|
|
10835
10736
|
{
|
|
10836
|
-
name: "
|
|
10837
|
-
type: "
|
|
10838
|
-
internalType: "
|
|
10737
|
+
name: "bidPrice",
|
|
10738
|
+
type: "uint256",
|
|
10739
|
+
internalType: "uint256"
|
|
10839
10740
|
},
|
|
10840
10741
|
{
|
|
10841
|
-
name: "
|
|
10842
|
-
type: "
|
|
10843
|
-
internalType: "
|
|
10742
|
+
name: "askPrice",
|
|
10743
|
+
type: "uint256",
|
|
10744
|
+
internalType: "uint256"
|
|
10844
10745
|
},
|
|
10845
10746
|
{
|
|
10846
|
-
name: "
|
|
10847
|
-
type: "
|
|
10848
|
-
internalType: "
|
|
10747
|
+
name: "usdPriceDecimals",
|
|
10748
|
+
type: "uint8",
|
|
10749
|
+
internalType: "uint8"
|
|
10849
10750
|
},
|
|
10850
10751
|
{
|
|
10851
|
-
name: "
|
|
10852
|
-
type: "
|
|
10853
|
-
internalType: "
|
|
10752
|
+
name: "currencyDecimals",
|
|
10753
|
+
type: "uint8",
|
|
10754
|
+
internalType: "uint8"
|
|
10854
10755
|
},
|
|
10855
10756
|
{
|
|
10856
|
-
name: "
|
|
10757
|
+
name: "publishTime",
|
|
10857
10758
|
type: "uint256",
|
|
10858
10759
|
internalType: "uint256"
|
|
10859
10760
|
},
|
|
10860
10761
|
{
|
|
10861
|
-
name: "
|
|
10762
|
+
name: "expiration",
|
|
10862
10763
|
type: "uint256",
|
|
10863
10764
|
internalType: "uint256"
|
|
10864
10765
|
}
|
|
10865
10766
|
]
|
|
10866
|
-
},
|
|
10867
|
-
{
|
|
10868
|
-
name: "orderId",
|
|
10869
|
-
type: "bytes32",
|
|
10870
|
-
internalType: "bytes32"
|
|
10871
|
-
},
|
|
10872
|
-
{
|
|
10873
|
-
name: "nonce",
|
|
10874
|
-
type: "uint256",
|
|
10875
|
-
internalType: "uint256"
|
|
10876
|
-
},
|
|
10877
|
-
{
|
|
10878
|
-
name: "currencies",
|
|
10879
|
-
type: "tuple[]",
|
|
10880
|
-
internalType: "struct Currency[]",
|
|
10881
|
-
components: [
|
|
10882
|
-
{
|
|
10883
|
-
name: "chainId",
|
|
10884
|
-
type: "string",
|
|
10885
|
-
internalType: "string"
|
|
10886
|
-
},
|
|
10887
|
-
{
|
|
10888
|
-
name: "currency",
|
|
10889
|
-
type: "bytes",
|
|
10890
|
-
internalType: "bytes"
|
|
10891
|
-
}
|
|
10892
|
-
]
|
|
10893
|
-
},
|
|
10894
|
-
{
|
|
10895
|
-
name: "extraData",
|
|
10896
|
-
type: "bytes",
|
|
10897
|
-
internalType: "bytes"
|
|
10898
10767
|
}
|
|
10899
10768
|
],
|
|
10900
|
-
outputs: [
|
|
10901
|
-
],
|
|
10902
10769
|
stateMutability: "nonpayable"
|
|
10903
|
-
},
|
|
10904
|
-
{
|
|
10905
|
-
type: "function",
|
|
10906
|
-
name: "triggers",
|
|
10907
|
-
inputs: [
|
|
10908
|
-
{
|
|
10909
|
-
name: "triggerHash",
|
|
10910
|
-
type: "bytes32",
|
|
10911
|
-
internalType: "bytes32"
|
|
10912
|
-
}
|
|
10913
|
-
],
|
|
10914
|
-
outputs: [
|
|
10915
|
-
{
|
|
10916
|
-
name: "orderId",
|
|
10917
|
-
type: "bytes32",
|
|
10918
|
-
internalType: "bytes32"
|
|
10919
|
-
}
|
|
10920
|
-
],
|
|
10921
|
-
stateMutability: "view"
|
|
10922
|
-
},
|
|
10923
|
-
{
|
|
10924
|
-
type: "event",
|
|
10925
|
-
name: "Triggered",
|
|
10926
|
-
inputs: [
|
|
10927
|
-
{
|
|
10928
|
-
name: "orderId",
|
|
10929
|
-
type: "bytes32",
|
|
10930
|
-
indexed: true,
|
|
10931
|
-
internalType: "bytes32"
|
|
10932
|
-
},
|
|
10933
|
-
{
|
|
10934
|
-
name: "triggerHash",
|
|
10935
|
-
type: "bytes32",
|
|
10936
|
-
indexed: false,
|
|
10937
|
-
internalType: "bytes32"
|
|
10938
|
-
}
|
|
10939
|
-
],
|
|
10940
|
-
anonymous: false
|
|
10941
|
-
},
|
|
10942
|
-
{
|
|
10943
|
-
type: "error",
|
|
10944
|
-
name: "AlreadyTriggered",
|
|
10945
|
-
inputs: [
|
|
10946
|
-
{
|
|
10947
|
-
name: "triggerHash",
|
|
10948
|
-
type: "bytes32",
|
|
10949
|
-
internalType: "bytes32"
|
|
10950
|
-
}
|
|
10951
|
-
]
|
|
10952
|
-
},
|
|
10953
|
-
{
|
|
10954
|
-
type: "error",
|
|
10955
|
-
name: "InputVmTypeMismatch",
|
|
10956
|
-
inputs: [
|
|
10957
|
-
]
|
|
10958
|
-
},
|
|
10959
|
-
{
|
|
10960
|
-
type: "error",
|
|
10961
|
-
name: "InvalidOrderId",
|
|
10962
|
-
inputs: [
|
|
10963
|
-
]
|
|
10964
10770
|
}
|
|
10965
10771
|
];
|
|
10966
10772
|
|
|
10967
|
-
var
|
|
10968
|
-
{
|
|
10969
|
-
type: "function",
|
|
10970
|
-
name: "resolveUsdPrices",
|
|
10971
|
-
inputs: [
|
|
10972
|
-
{
|
|
10973
|
-
name: "currencies",
|
|
10974
|
-
type: "tuple[]",
|
|
10975
|
-
internalType: "struct Currency[]",
|
|
10976
|
-
components: [
|
|
10977
|
-
{
|
|
10978
|
-
name: "chainId",
|
|
10979
|
-
type: "string",
|
|
10980
|
-
internalType: "string"
|
|
10981
|
-
},
|
|
10982
|
-
{
|
|
10983
|
-
name: "currency",
|
|
10984
|
-
type: "bytes",
|
|
10985
|
-
internalType: "bytes"
|
|
10986
|
-
}
|
|
10987
|
-
]
|
|
10988
|
-
},
|
|
10989
|
-
{
|
|
10990
|
-
name: "extraData",
|
|
10991
|
-
type: "bytes",
|
|
10992
|
-
internalType: "bytes"
|
|
10993
|
-
}
|
|
10994
|
-
],
|
|
10995
|
-
outputs: [
|
|
10996
|
-
{
|
|
10997
|
-
name: "prices",
|
|
10998
|
-
type: "tuple[]",
|
|
10999
|
-
internalType: "struct Price[]",
|
|
11000
|
-
components: [
|
|
11001
|
-
{
|
|
11002
|
-
name: "usdPrice",
|
|
11003
|
-
type: "uint256",
|
|
11004
|
-
internalType: "uint256"
|
|
11005
|
-
},
|
|
11006
|
-
{
|
|
11007
|
-
name: "usdPriceDecimals",
|
|
11008
|
-
type: "uint8",
|
|
11009
|
-
internalType: "uint8"
|
|
11010
|
-
},
|
|
11011
|
-
{
|
|
11012
|
-
name: "currencyDecimals",
|
|
11013
|
-
type: "uint8",
|
|
11014
|
-
internalType: "uint8"
|
|
11015
|
-
},
|
|
11016
|
-
{
|
|
11017
|
-
name: "publishTime",
|
|
11018
|
-
type: "uint256",
|
|
11019
|
-
internalType: "uint256"
|
|
11020
|
-
},
|
|
11021
|
-
{
|
|
11022
|
-
name: "expiration",
|
|
11023
|
-
type: "uint256",
|
|
11024
|
-
internalType: "uint256"
|
|
11025
|
-
}
|
|
11026
|
-
]
|
|
11027
|
-
}
|
|
11028
|
-
],
|
|
11029
|
-
stateMutability: "pure"
|
|
11030
|
-
},
|
|
11031
|
-
{
|
|
11032
|
-
type: "error",
|
|
11033
|
-
name: "PriceCountMismatch",
|
|
11034
|
-
inputs: [
|
|
11035
|
-
{
|
|
11036
|
-
name: "currencyCount",
|
|
11037
|
-
type: "uint256",
|
|
11038
|
-
internalType: "uint256"
|
|
11039
|
-
},
|
|
11040
|
-
{
|
|
11041
|
-
name: "priceCount",
|
|
11042
|
-
type: "uint256",
|
|
11043
|
-
internalType: "uint256"
|
|
11044
|
-
}
|
|
11045
|
-
]
|
|
11046
|
-
}
|
|
11047
|
-
];
|
|
11048
|
-
|
|
11049
|
-
var IBidAskOracle = [
|
|
11050
|
-
{
|
|
11051
|
-
type: "function",
|
|
11052
|
-
name: "resolveBidAskPrices",
|
|
11053
|
-
inputs: [
|
|
11054
|
-
{
|
|
11055
|
-
name: "currencies",
|
|
11056
|
-
type: "tuple[]",
|
|
11057
|
-
internalType: "struct Currency[]",
|
|
11058
|
-
components: [
|
|
11059
|
-
{
|
|
11060
|
-
name: "chainId",
|
|
11061
|
-
type: "string",
|
|
11062
|
-
internalType: "string"
|
|
11063
|
-
},
|
|
11064
|
-
{
|
|
11065
|
-
name: "currency",
|
|
11066
|
-
type: "bytes",
|
|
11067
|
-
internalType: "bytes"
|
|
11068
|
-
}
|
|
11069
|
-
]
|
|
11070
|
-
},
|
|
11071
|
-
{
|
|
11072
|
-
name: "extraData",
|
|
11073
|
-
type: "bytes",
|
|
11074
|
-
internalType: "bytes"
|
|
11075
|
-
}
|
|
11076
|
-
],
|
|
11077
|
-
outputs: [
|
|
11078
|
-
{
|
|
11079
|
-
name: "bidAsks",
|
|
11080
|
-
type: "tuple[]",
|
|
11081
|
-
internalType: "struct BidAsk[]",
|
|
11082
|
-
components: [
|
|
11083
|
-
{
|
|
11084
|
-
name: "midPrice",
|
|
11085
|
-
type: "uint256",
|
|
11086
|
-
internalType: "uint256"
|
|
11087
|
-
},
|
|
11088
|
-
{
|
|
11089
|
-
name: "bidPrice",
|
|
11090
|
-
type: "uint256",
|
|
11091
|
-
internalType: "uint256"
|
|
11092
|
-
},
|
|
11093
|
-
{
|
|
11094
|
-
name: "askPrice",
|
|
11095
|
-
type: "uint256",
|
|
11096
|
-
internalType: "uint256"
|
|
11097
|
-
},
|
|
11098
|
-
{
|
|
11099
|
-
name: "usdPriceDecimals",
|
|
11100
|
-
type: "uint8",
|
|
11101
|
-
internalType: "uint8"
|
|
11102
|
-
},
|
|
11103
|
-
{
|
|
11104
|
-
name: "currencyDecimals",
|
|
11105
|
-
type: "uint8",
|
|
11106
|
-
internalType: "uint8"
|
|
11107
|
-
},
|
|
11108
|
-
{
|
|
11109
|
-
name: "publishTime",
|
|
11110
|
-
type: "uint256",
|
|
11111
|
-
internalType: "uint256"
|
|
11112
|
-
},
|
|
11113
|
-
{
|
|
11114
|
-
name: "expiration",
|
|
11115
|
-
type: "uint256",
|
|
11116
|
-
internalType: "uint256"
|
|
11117
|
-
}
|
|
11118
|
-
]
|
|
11119
|
-
}
|
|
11120
|
-
],
|
|
11121
|
-
stateMutability: "nonpayable"
|
|
11122
|
-
}
|
|
11123
|
-
];
|
|
11124
|
-
|
|
11125
|
-
var IPricingOracle = [
|
|
10773
|
+
var IPricingOracle = [
|
|
11126
10774
|
{
|
|
11127
10775
|
type: "function",
|
|
11128
10776
|
name: "resolveUsdPrices",
|
|
@@ -13810,67 +13458,1014 @@ var ICircleGatewayMinter = [
|
|
|
13810
13458
|
internalType: "bytes"
|
|
13811
13459
|
}
|
|
13812
13460
|
],
|
|
13813
|
-
outputs: [
|
|
13814
|
-
],
|
|
13815
|
-
stateMutability: "nonpayable"
|
|
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",
|
|
13649
|
+
inputs: [
|
|
13650
|
+
{
|
|
13651
|
+
name: "feeBps",
|
|
13652
|
+
type: "uint256",
|
|
13653
|
+
internalType: "uint256"
|
|
13654
|
+
}
|
|
13655
|
+
]
|
|
13656
|
+
},
|
|
13657
|
+
{
|
|
13658
|
+
type: "error",
|
|
13659
|
+
name: "InvalidFeePayer",
|
|
13660
|
+
inputs: [
|
|
13661
|
+
]
|
|
13662
|
+
},
|
|
13663
|
+
{
|
|
13664
|
+
type: "error",
|
|
13665
|
+
name: "InvalidFeeRecipient",
|
|
13666
|
+
inputs: [
|
|
13667
|
+
]
|
|
13668
|
+
},
|
|
13669
|
+
{
|
|
13670
|
+
type: "error",
|
|
13671
|
+
name: "ZeroAddress",
|
|
13672
|
+
inputs: [
|
|
13673
|
+
]
|
|
13674
|
+
}
|
|
13675
|
+
];
|
|
13676
|
+
|
|
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
|
+
name: "requestHash",
|
|
13723
|
+
type: "bytes32",
|
|
13724
|
+
internalType: "bytes32"
|
|
13725
|
+
},
|
|
13726
|
+
{
|
|
13727
|
+
name: "kind",
|
|
13728
|
+
type: "uint8",
|
|
13729
|
+
internalType: "enum DrawLegKind"
|
|
13730
|
+
}
|
|
13731
|
+
],
|
|
13732
|
+
outputs: [
|
|
13733
|
+
],
|
|
13734
|
+
stateMutability: "nonpayable"
|
|
13735
|
+
},
|
|
13736
|
+
{
|
|
13737
|
+
type: "function",
|
|
13738
|
+
name: "debit",
|
|
13739
|
+
inputs: [
|
|
13740
|
+
{
|
|
13741
|
+
name: "account",
|
|
13742
|
+
type: "address",
|
|
13743
|
+
internalType: "address"
|
|
13744
|
+
},
|
|
13745
|
+
{
|
|
13746
|
+
name: "token",
|
|
13747
|
+
type: "address",
|
|
13748
|
+
internalType: "address"
|
|
13749
|
+
},
|
|
13750
|
+
{
|
|
13751
|
+
name: "amount",
|
|
13752
|
+
type: "uint256",
|
|
13753
|
+
internalType: "uint256"
|
|
13754
|
+
},
|
|
13755
|
+
{
|
|
13756
|
+
name: "requestHash",
|
|
13757
|
+
type: "bytes32",
|
|
13758
|
+
internalType: "bytes32"
|
|
13759
|
+
},
|
|
13760
|
+
{
|
|
13761
|
+
name: "legIndex",
|
|
13762
|
+
type: "uint256",
|
|
13763
|
+
internalType: "uint256"
|
|
13764
|
+
},
|
|
13765
|
+
{
|
|
13766
|
+
name: "kind",
|
|
13767
|
+
type: "uint8",
|
|
13768
|
+
internalType: "enum DrawLegKind"
|
|
13769
|
+
}
|
|
13770
|
+
],
|
|
13771
|
+
outputs: [
|
|
13772
|
+
],
|
|
13773
|
+
stateMutability: "nonpayable"
|
|
13774
|
+
},
|
|
13775
|
+
{
|
|
13776
|
+
type: "function",
|
|
13777
|
+
name: "depositFor",
|
|
13778
|
+
inputs: [
|
|
13779
|
+
{
|
|
13780
|
+
name: "account",
|
|
13781
|
+
type: "address",
|
|
13782
|
+
internalType: "address"
|
|
13783
|
+
},
|
|
13784
|
+
{
|
|
13785
|
+
name: "token",
|
|
13786
|
+
type: "address",
|
|
13787
|
+
internalType: "address"
|
|
13788
|
+
},
|
|
13789
|
+
{
|
|
13790
|
+
name: "amount",
|
|
13791
|
+
type: "uint256",
|
|
13792
|
+
internalType: "uint256"
|
|
13793
|
+
}
|
|
13794
|
+
],
|
|
13795
|
+
outputs: [
|
|
13796
|
+
],
|
|
13797
|
+
stateMutability: "nonpayable"
|
|
13798
|
+
},
|
|
13799
|
+
{
|
|
13800
|
+
type: "function",
|
|
13801
|
+
name: "drawRecords",
|
|
13802
|
+
inputs: [
|
|
13803
|
+
{
|
|
13804
|
+
name: "requestHash",
|
|
13805
|
+
type: "bytes32",
|
|
13806
|
+
internalType: "bytes32"
|
|
13807
|
+
},
|
|
13808
|
+
{
|
|
13809
|
+
name: "account",
|
|
13810
|
+
type: "address",
|
|
13811
|
+
internalType: "address"
|
|
13812
|
+
},
|
|
13813
|
+
{
|
|
13814
|
+
name: "legIndex",
|
|
13815
|
+
type: "uint256",
|
|
13816
|
+
internalType: "uint256"
|
|
13817
|
+
}
|
|
13818
|
+
],
|
|
13819
|
+
outputs: [
|
|
13820
|
+
{
|
|
13821
|
+
name: "drawn",
|
|
13822
|
+
type: "bool",
|
|
13823
|
+
internalType: "bool"
|
|
13824
|
+
}
|
|
13825
|
+
],
|
|
13826
|
+
stateMutability: "view"
|
|
13827
|
+
},
|
|
13828
|
+
{
|
|
13829
|
+
type: "function",
|
|
13830
|
+
name: "hashSponsorshipConfigUpdate",
|
|
13831
|
+
inputs: [
|
|
13832
|
+
{
|
|
13833
|
+
name: "update",
|
|
13834
|
+
type: "tuple",
|
|
13835
|
+
internalType: "struct SponsorshipConfigUpdate",
|
|
13836
|
+
components: [
|
|
13837
|
+
{
|
|
13838
|
+
name: "account",
|
|
13839
|
+
type: "address",
|
|
13840
|
+
internalType: "address"
|
|
13841
|
+
},
|
|
13842
|
+
{
|
|
13843
|
+
name: "token",
|
|
13844
|
+
type: "address",
|
|
13845
|
+
internalType: "address"
|
|
13846
|
+
},
|
|
13847
|
+
{
|
|
13848
|
+
name: "perOrderCap",
|
|
13849
|
+
type: "uint256",
|
|
13850
|
+
internalType: "uint256"
|
|
13851
|
+
},
|
|
13852
|
+
{
|
|
13853
|
+
name: "budget",
|
|
13854
|
+
type: "uint256",
|
|
13855
|
+
internalType: "uint256"
|
|
13856
|
+
},
|
|
13857
|
+
{
|
|
13858
|
+
name: "expiry",
|
|
13859
|
+
type: "uint64",
|
|
13860
|
+
internalType: "uint64"
|
|
13861
|
+
},
|
|
13862
|
+
{
|
|
13863
|
+
name: "nonce",
|
|
13864
|
+
type: "uint256",
|
|
13865
|
+
internalType: "uint256"
|
|
13866
|
+
},
|
|
13867
|
+
{
|
|
13868
|
+
name: "deadline",
|
|
13869
|
+
type: "uint256",
|
|
13870
|
+
internalType: "uint256"
|
|
13871
|
+
}
|
|
13872
|
+
]
|
|
13873
|
+
}
|
|
13874
|
+
],
|
|
13875
|
+
outputs: [
|
|
13876
|
+
{
|
|
13877
|
+
name: "digest",
|
|
13878
|
+
type: "bytes32",
|
|
13879
|
+
internalType: "bytes32"
|
|
13880
|
+
}
|
|
13881
|
+
],
|
|
13882
|
+
stateMutability: "view"
|
|
13883
|
+
},
|
|
13884
|
+
{
|
|
13885
|
+
type: "function",
|
|
13886
|
+
name: "hashSponsorshipResolverUpdate",
|
|
13887
|
+
inputs: [
|
|
13888
|
+
{
|
|
13889
|
+
name: "update",
|
|
13890
|
+
type: "tuple",
|
|
13891
|
+
internalType: "struct SponsorshipResolverUpdate",
|
|
13892
|
+
components: [
|
|
13893
|
+
{
|
|
13894
|
+
name: "account",
|
|
13895
|
+
type: "address",
|
|
13896
|
+
internalType: "address"
|
|
13897
|
+
},
|
|
13898
|
+
{
|
|
13899
|
+
name: "resolver",
|
|
13900
|
+
type: "address",
|
|
13901
|
+
internalType: "address"
|
|
13902
|
+
},
|
|
13903
|
+
{
|
|
13904
|
+
name: "allowed",
|
|
13905
|
+
type: "bool",
|
|
13906
|
+
internalType: "bool"
|
|
13907
|
+
},
|
|
13908
|
+
{
|
|
13909
|
+
name: "nonce",
|
|
13910
|
+
type: "uint256",
|
|
13911
|
+
internalType: "uint256"
|
|
13912
|
+
},
|
|
13913
|
+
{
|
|
13914
|
+
name: "deadline",
|
|
13915
|
+
type: "uint256",
|
|
13916
|
+
internalType: "uint256"
|
|
13917
|
+
}
|
|
13918
|
+
]
|
|
13919
|
+
}
|
|
13920
|
+
],
|
|
13921
|
+
outputs: [
|
|
13922
|
+
{
|
|
13923
|
+
name: "digest",
|
|
13924
|
+
type: "bytes32",
|
|
13925
|
+
internalType: "bytes32"
|
|
13926
|
+
}
|
|
13927
|
+
],
|
|
13928
|
+
stateMutability: "view"
|
|
13929
|
+
},
|
|
13930
|
+
{
|
|
13931
|
+
type: "function",
|
|
13932
|
+
name: "hashWithdrawal",
|
|
13933
|
+
inputs: [
|
|
13934
|
+
{
|
|
13935
|
+
name: "withdrawal",
|
|
13936
|
+
type: "tuple",
|
|
13937
|
+
internalType: "struct PoolWithdrawal",
|
|
13938
|
+
components: [
|
|
13939
|
+
{
|
|
13940
|
+
name: "account",
|
|
13941
|
+
type: "address",
|
|
13942
|
+
internalType: "address"
|
|
13943
|
+
},
|
|
13944
|
+
{
|
|
13945
|
+
name: "token",
|
|
13946
|
+
type: "address",
|
|
13947
|
+
internalType: "address"
|
|
13948
|
+
},
|
|
13949
|
+
{
|
|
13950
|
+
name: "amount",
|
|
13951
|
+
type: "uint256",
|
|
13952
|
+
internalType: "uint256"
|
|
13953
|
+
},
|
|
13954
|
+
{
|
|
13955
|
+
name: "recipient",
|
|
13956
|
+
type: "address",
|
|
13957
|
+
internalType: "address"
|
|
13958
|
+
},
|
|
13959
|
+
{
|
|
13960
|
+
name: "nonce",
|
|
13961
|
+
type: "uint256",
|
|
13962
|
+
internalType: "uint256"
|
|
13963
|
+
},
|
|
13964
|
+
{
|
|
13965
|
+
name: "deadline",
|
|
13966
|
+
type: "uint256",
|
|
13967
|
+
internalType: "uint256"
|
|
13968
|
+
}
|
|
13969
|
+
]
|
|
13970
|
+
}
|
|
13971
|
+
],
|
|
13972
|
+
outputs: [
|
|
13973
|
+
{
|
|
13974
|
+
name: "digest",
|
|
13975
|
+
type: "bytes32",
|
|
13976
|
+
internalType: "bytes32"
|
|
13977
|
+
}
|
|
13978
|
+
],
|
|
13979
|
+
stateMutability: "view"
|
|
13980
|
+
},
|
|
13981
|
+
{
|
|
13982
|
+
type: "function",
|
|
13983
|
+
name: "orderDraws",
|
|
13984
|
+
inputs: [
|
|
13985
|
+
{
|
|
13986
|
+
name: "requestHash",
|
|
13987
|
+
type: "bytes32",
|
|
13988
|
+
internalType: "bytes32"
|
|
13989
|
+
},
|
|
13990
|
+
{
|
|
13991
|
+
name: "account",
|
|
13992
|
+
type: "address",
|
|
13993
|
+
internalType: "address"
|
|
13994
|
+
},
|
|
13995
|
+
{
|
|
13996
|
+
name: "token",
|
|
13997
|
+
type: "address",
|
|
13998
|
+
internalType: "address"
|
|
13999
|
+
}
|
|
14000
|
+
],
|
|
14001
|
+
outputs: [
|
|
14002
|
+
{
|
|
14003
|
+
name: "drawn",
|
|
14004
|
+
type: "uint256",
|
|
14005
|
+
internalType: "uint256"
|
|
14006
|
+
}
|
|
14007
|
+
],
|
|
14008
|
+
stateMutability: "view"
|
|
14009
|
+
},
|
|
14010
|
+
{
|
|
14011
|
+
type: "function",
|
|
14012
|
+
name: "setSponsorshipConfig",
|
|
14013
|
+
inputs: [
|
|
14014
|
+
{
|
|
14015
|
+
name: "token",
|
|
14016
|
+
type: "address",
|
|
14017
|
+
internalType: "address"
|
|
14018
|
+
},
|
|
14019
|
+
{
|
|
14020
|
+
name: "config",
|
|
14021
|
+
type: "tuple",
|
|
14022
|
+
internalType: "struct SponsorshipConfig",
|
|
14023
|
+
components: [
|
|
14024
|
+
{
|
|
14025
|
+
name: "perOrderCap",
|
|
14026
|
+
type: "uint256",
|
|
14027
|
+
internalType: "uint256"
|
|
14028
|
+
},
|
|
14029
|
+
{
|
|
14030
|
+
name: "budget",
|
|
14031
|
+
type: "uint256",
|
|
14032
|
+
internalType: "uint256"
|
|
14033
|
+
},
|
|
14034
|
+
{
|
|
14035
|
+
name: "expiry",
|
|
14036
|
+
type: "uint64",
|
|
14037
|
+
internalType: "uint64"
|
|
14038
|
+
}
|
|
14039
|
+
]
|
|
14040
|
+
}
|
|
14041
|
+
],
|
|
14042
|
+
outputs: [
|
|
14043
|
+
],
|
|
14044
|
+
stateMutability: "nonpayable"
|
|
14045
|
+
},
|
|
14046
|
+
{
|
|
14047
|
+
type: "function",
|
|
14048
|
+
name: "setSponsorshipConfig",
|
|
14049
|
+
inputs: [
|
|
14050
|
+
{
|
|
14051
|
+
name: "update",
|
|
14052
|
+
type: "tuple",
|
|
14053
|
+
internalType: "struct SponsorshipConfigUpdate",
|
|
14054
|
+
components: [
|
|
14055
|
+
{
|
|
14056
|
+
name: "account",
|
|
14057
|
+
type: "address",
|
|
14058
|
+
internalType: "address"
|
|
14059
|
+
},
|
|
14060
|
+
{
|
|
14061
|
+
name: "token",
|
|
14062
|
+
type: "address",
|
|
14063
|
+
internalType: "address"
|
|
14064
|
+
},
|
|
14065
|
+
{
|
|
14066
|
+
name: "perOrderCap",
|
|
14067
|
+
type: "uint256",
|
|
14068
|
+
internalType: "uint256"
|
|
14069
|
+
},
|
|
14070
|
+
{
|
|
14071
|
+
name: "budget",
|
|
14072
|
+
type: "uint256",
|
|
14073
|
+
internalType: "uint256"
|
|
14074
|
+
},
|
|
14075
|
+
{
|
|
14076
|
+
name: "expiry",
|
|
14077
|
+
type: "uint64",
|
|
14078
|
+
internalType: "uint64"
|
|
14079
|
+
},
|
|
14080
|
+
{
|
|
14081
|
+
name: "nonce",
|
|
14082
|
+
type: "uint256",
|
|
14083
|
+
internalType: "uint256"
|
|
14084
|
+
},
|
|
14085
|
+
{
|
|
14086
|
+
name: "deadline",
|
|
14087
|
+
type: "uint256",
|
|
14088
|
+
internalType: "uint256"
|
|
14089
|
+
}
|
|
14090
|
+
]
|
|
14091
|
+
},
|
|
14092
|
+
{
|
|
14093
|
+
name: "signature",
|
|
14094
|
+
type: "bytes",
|
|
14095
|
+
internalType: "bytes"
|
|
14096
|
+
}
|
|
14097
|
+
],
|
|
14098
|
+
outputs: [
|
|
14099
|
+
],
|
|
14100
|
+
stateMutability: "nonpayable"
|
|
14101
|
+
},
|
|
14102
|
+
{
|
|
14103
|
+
type: "function",
|
|
14104
|
+
name: "setSponsorshipResolver",
|
|
14105
|
+
inputs: [
|
|
14106
|
+
{
|
|
14107
|
+
name: "update",
|
|
14108
|
+
type: "tuple",
|
|
14109
|
+
internalType: "struct SponsorshipResolverUpdate",
|
|
14110
|
+
components: [
|
|
14111
|
+
{
|
|
14112
|
+
name: "account",
|
|
14113
|
+
type: "address",
|
|
14114
|
+
internalType: "address"
|
|
14115
|
+
},
|
|
14116
|
+
{
|
|
14117
|
+
name: "resolver",
|
|
14118
|
+
type: "address",
|
|
14119
|
+
internalType: "address"
|
|
14120
|
+
},
|
|
14121
|
+
{
|
|
14122
|
+
name: "allowed",
|
|
14123
|
+
type: "bool",
|
|
14124
|
+
internalType: "bool"
|
|
14125
|
+
},
|
|
14126
|
+
{
|
|
14127
|
+
name: "nonce",
|
|
14128
|
+
type: "uint256",
|
|
14129
|
+
internalType: "uint256"
|
|
14130
|
+
},
|
|
14131
|
+
{
|
|
14132
|
+
name: "deadline",
|
|
14133
|
+
type: "uint256",
|
|
14134
|
+
internalType: "uint256"
|
|
14135
|
+
}
|
|
14136
|
+
]
|
|
14137
|
+
},
|
|
14138
|
+
{
|
|
14139
|
+
name: "signature",
|
|
14140
|
+
type: "bytes",
|
|
14141
|
+
internalType: "bytes"
|
|
14142
|
+
}
|
|
14143
|
+
],
|
|
14144
|
+
outputs: [
|
|
14145
|
+
],
|
|
14146
|
+
stateMutability: "nonpayable"
|
|
14147
|
+
},
|
|
14148
|
+
{
|
|
14149
|
+
type: "function",
|
|
14150
|
+
name: "setSponsorshipResolver",
|
|
14151
|
+
inputs: [
|
|
14152
|
+
{
|
|
14153
|
+
name: "resolver",
|
|
14154
|
+
type: "address",
|
|
14155
|
+
internalType: "address"
|
|
14156
|
+
},
|
|
14157
|
+
{
|
|
14158
|
+
name: "allowed",
|
|
14159
|
+
type: "bool",
|
|
14160
|
+
internalType: "bool"
|
|
14161
|
+
}
|
|
14162
|
+
],
|
|
14163
|
+
outputs: [
|
|
14164
|
+
],
|
|
14165
|
+
stateMutability: "nonpayable"
|
|
14166
|
+
},
|
|
14167
|
+
{
|
|
14168
|
+
type: "function",
|
|
14169
|
+
name: "sponsorshipConfig",
|
|
14170
|
+
inputs: [
|
|
14171
|
+
{
|
|
14172
|
+
name: "account",
|
|
14173
|
+
type: "address",
|
|
14174
|
+
internalType: "address"
|
|
14175
|
+
},
|
|
14176
|
+
{
|
|
14177
|
+
name: "token",
|
|
14178
|
+
type: "address",
|
|
14179
|
+
internalType: "address"
|
|
14180
|
+
}
|
|
14181
|
+
],
|
|
14182
|
+
outputs: [
|
|
14183
|
+
{
|
|
14184
|
+
name: "perOrderCap",
|
|
14185
|
+
type: "uint256",
|
|
14186
|
+
internalType: "uint256"
|
|
14187
|
+
},
|
|
14188
|
+
{
|
|
14189
|
+
name: "budget",
|
|
14190
|
+
type: "uint256",
|
|
14191
|
+
internalType: "uint256"
|
|
14192
|
+
},
|
|
14193
|
+
{
|
|
14194
|
+
name: "expiry",
|
|
14195
|
+
type: "uint64",
|
|
14196
|
+
internalType: "uint64"
|
|
14197
|
+
}
|
|
14198
|
+
],
|
|
14199
|
+
stateMutability: "view"
|
|
14200
|
+
},
|
|
14201
|
+
{
|
|
14202
|
+
type: "function",
|
|
14203
|
+
name: "sponsorshipResolvers",
|
|
14204
|
+
inputs: [
|
|
14205
|
+
{
|
|
14206
|
+
name: "account",
|
|
14207
|
+
type: "address",
|
|
14208
|
+
internalType: "address"
|
|
14209
|
+
},
|
|
14210
|
+
{
|
|
14211
|
+
name: "resolver",
|
|
14212
|
+
type: "address",
|
|
14213
|
+
internalType: "address"
|
|
14214
|
+
}
|
|
14215
|
+
],
|
|
14216
|
+
outputs: [
|
|
14217
|
+
{
|
|
14218
|
+
name: "allowed",
|
|
14219
|
+
type: "bool",
|
|
14220
|
+
internalType: "bool"
|
|
14221
|
+
}
|
|
14222
|
+
],
|
|
14223
|
+
stateMutability: "view"
|
|
14224
|
+
},
|
|
14225
|
+
{
|
|
14226
|
+
type: "function",
|
|
14227
|
+
name: "withdraw",
|
|
14228
|
+
inputs: [
|
|
14229
|
+
{
|
|
14230
|
+
name: "withdrawal",
|
|
14231
|
+
type: "tuple",
|
|
14232
|
+
internalType: "struct PoolWithdrawal",
|
|
14233
|
+
components: [
|
|
14234
|
+
{
|
|
14235
|
+
name: "account",
|
|
14236
|
+
type: "address",
|
|
14237
|
+
internalType: "address"
|
|
14238
|
+
},
|
|
14239
|
+
{
|
|
14240
|
+
name: "token",
|
|
14241
|
+
type: "address",
|
|
14242
|
+
internalType: "address"
|
|
14243
|
+
},
|
|
14244
|
+
{
|
|
14245
|
+
name: "amount",
|
|
14246
|
+
type: "uint256",
|
|
14247
|
+
internalType: "uint256"
|
|
14248
|
+
},
|
|
14249
|
+
{
|
|
14250
|
+
name: "recipient",
|
|
14251
|
+
type: "address",
|
|
14252
|
+
internalType: "address"
|
|
14253
|
+
},
|
|
14254
|
+
{
|
|
14255
|
+
name: "nonce",
|
|
14256
|
+
type: "uint256",
|
|
14257
|
+
internalType: "uint256"
|
|
14258
|
+
},
|
|
14259
|
+
{
|
|
14260
|
+
name: "deadline",
|
|
14261
|
+
type: "uint256",
|
|
14262
|
+
internalType: "uint256"
|
|
14263
|
+
}
|
|
14264
|
+
]
|
|
14265
|
+
},
|
|
14266
|
+
{
|
|
14267
|
+
name: "signature",
|
|
14268
|
+
type: "bytes",
|
|
14269
|
+
internalType: "bytes"
|
|
14270
|
+
}
|
|
14271
|
+
],
|
|
14272
|
+
outputs: [
|
|
14273
|
+
],
|
|
14274
|
+
stateMutability: "nonpayable"
|
|
14275
|
+
}
|
|
14276
|
+
];
|
|
14277
|
+
|
|
14278
|
+
var RelayFundingPool = [
|
|
14279
|
+
{
|
|
14280
|
+
type: "constructor",
|
|
14281
|
+
inputs: [
|
|
14282
|
+
{
|
|
14283
|
+
name: "admin",
|
|
14284
|
+
type: "address",
|
|
14285
|
+
internalType: "address"
|
|
14286
|
+
},
|
|
14287
|
+
{
|
|
14288
|
+
name: "withdrawer",
|
|
14289
|
+
type: "address",
|
|
14290
|
+
internalType: "address"
|
|
14291
|
+
},
|
|
14292
|
+
{
|
|
14293
|
+
name: "resolver",
|
|
14294
|
+
type: "address",
|
|
14295
|
+
internalType: "address"
|
|
14296
|
+
}
|
|
14297
|
+
],
|
|
14298
|
+
stateMutability: "nonpayable"
|
|
14299
|
+
},
|
|
14300
|
+
{
|
|
14301
|
+
type: "function",
|
|
14302
|
+
name: "ADMIN_ROLE",
|
|
14303
|
+
inputs: [
|
|
14304
|
+
],
|
|
14305
|
+
outputs: [
|
|
14306
|
+
{
|
|
14307
|
+
name: "",
|
|
14308
|
+
type: "bytes32",
|
|
14309
|
+
internalType: "bytes32"
|
|
14310
|
+
}
|
|
14311
|
+
],
|
|
14312
|
+
stateMutability: "view"
|
|
14313
|
+
},
|
|
14314
|
+
{
|
|
14315
|
+
type: "function",
|
|
14316
|
+
name: "DEFAULT_ADMIN_ROLE",
|
|
14317
|
+
inputs: [
|
|
14318
|
+
],
|
|
14319
|
+
outputs: [
|
|
14320
|
+
{
|
|
14321
|
+
name: "",
|
|
14322
|
+
type: "bytes32",
|
|
14323
|
+
internalType: "bytes32"
|
|
14324
|
+
}
|
|
14325
|
+
],
|
|
14326
|
+
stateMutability: "view"
|
|
14327
|
+
},
|
|
14328
|
+
{
|
|
14329
|
+
type: "function",
|
|
14330
|
+
name: "POOL_WITHDRAWAL_TYPEHASH",
|
|
14331
|
+
inputs: [
|
|
14332
|
+
],
|
|
14333
|
+
outputs: [
|
|
14334
|
+
{
|
|
14335
|
+
name: "",
|
|
14336
|
+
type: "bytes32",
|
|
14337
|
+
internalType: "bytes32"
|
|
14338
|
+
}
|
|
14339
|
+
],
|
|
14340
|
+
stateMutability: "view"
|
|
14341
|
+
},
|
|
14342
|
+
{
|
|
14343
|
+
type: "function",
|
|
14344
|
+
name: "RESOLVER_ROLE",
|
|
14345
|
+
inputs: [
|
|
14346
|
+
],
|
|
14347
|
+
outputs: [
|
|
14348
|
+
{
|
|
14349
|
+
name: "",
|
|
14350
|
+
type: "bytes32",
|
|
14351
|
+
internalType: "bytes32"
|
|
14352
|
+
}
|
|
14353
|
+
],
|
|
14354
|
+
stateMutability: "view"
|
|
14355
|
+
},
|
|
14356
|
+
{
|
|
14357
|
+
type: "function",
|
|
14358
|
+
name: "SPONSORSHIP_CONFIG_UPDATE_TYPEHASH",
|
|
14359
|
+
inputs: [
|
|
14360
|
+
],
|
|
14361
|
+
outputs: [
|
|
14362
|
+
{
|
|
14363
|
+
name: "",
|
|
14364
|
+
type: "bytes32",
|
|
14365
|
+
internalType: "bytes32"
|
|
14366
|
+
}
|
|
14367
|
+
],
|
|
14368
|
+
stateMutability: "view"
|
|
14369
|
+
},
|
|
14370
|
+
{
|
|
14371
|
+
type: "function",
|
|
14372
|
+
name: "SPONSORSHIP_RESOLVER_UPDATE_TYPEHASH",
|
|
14373
|
+
inputs: [
|
|
14374
|
+
],
|
|
14375
|
+
outputs: [
|
|
14376
|
+
{
|
|
14377
|
+
name: "",
|
|
14378
|
+
type: "bytes32",
|
|
14379
|
+
internalType: "bytes32"
|
|
14380
|
+
}
|
|
14381
|
+
],
|
|
14382
|
+
stateMutability: "view"
|
|
13816
14383
|
},
|
|
13817
14384
|
{
|
|
13818
14385
|
type: "function",
|
|
13819
|
-
name: "
|
|
14386
|
+
name: "WITHDRAWER_ROLE",
|
|
13820
14387
|
inputs: [
|
|
14388
|
+
],
|
|
14389
|
+
outputs: [
|
|
13821
14390
|
{
|
|
13822
|
-
name: "
|
|
14391
|
+
name: "",
|
|
13823
14392
|
type: "bytes32",
|
|
13824
14393
|
internalType: "bytes32"
|
|
13825
14394
|
}
|
|
13826
14395
|
],
|
|
14396
|
+
stateMutability: "view"
|
|
14397
|
+
},
|
|
14398
|
+
{
|
|
14399
|
+
type: "function",
|
|
14400
|
+
name: "balances",
|
|
14401
|
+
inputs: [
|
|
14402
|
+
{
|
|
14403
|
+
name: "account",
|
|
14404
|
+
type: "address",
|
|
14405
|
+
internalType: "address"
|
|
14406
|
+
},
|
|
14407
|
+
{
|
|
14408
|
+
name: "token",
|
|
14409
|
+
type: "address",
|
|
14410
|
+
internalType: "address"
|
|
14411
|
+
}
|
|
14412
|
+
],
|
|
13827
14413
|
outputs: [
|
|
13828
14414
|
{
|
|
13829
|
-
name: "
|
|
13830
|
-
type: "
|
|
13831
|
-
internalType: "
|
|
14415
|
+
name: "balance",
|
|
14416
|
+
type: "uint256",
|
|
14417
|
+
internalType: "uint256"
|
|
13832
14418
|
}
|
|
13833
14419
|
],
|
|
13834
14420
|
stateMutability: "view"
|
|
13835
|
-
}
|
|
13836
|
-
];
|
|
13837
|
-
|
|
13838
|
-
var ICircleGatewayWallet = [
|
|
14421
|
+
},
|
|
13839
14422
|
{
|
|
13840
14423
|
type: "function",
|
|
13841
|
-
name: "
|
|
14424
|
+
name: "credit",
|
|
13842
14425
|
inputs: [
|
|
13843
14426
|
{
|
|
13844
|
-
name: "
|
|
14427
|
+
name: "account",
|
|
13845
14428
|
type: "address",
|
|
13846
14429
|
internalType: "address"
|
|
13847
14430
|
},
|
|
13848
14431
|
{
|
|
13849
|
-
name: "
|
|
14432
|
+
name: "token",
|
|
13850
14433
|
type: "address",
|
|
13851
14434
|
internalType: "address"
|
|
13852
14435
|
},
|
|
13853
14436
|
{
|
|
13854
|
-
name: "
|
|
14437
|
+
name: "amount",
|
|
13855
14438
|
type: "uint256",
|
|
13856
14439
|
internalType: "uint256"
|
|
14440
|
+
},
|
|
14441
|
+
{
|
|
14442
|
+
name: "requestHash",
|
|
14443
|
+
type: "bytes32",
|
|
14444
|
+
internalType: "bytes32"
|
|
14445
|
+
},
|
|
14446
|
+
{
|
|
14447
|
+
name: "kind",
|
|
14448
|
+
type: "uint8",
|
|
14449
|
+
internalType: "enum DrawLegKind"
|
|
13857
14450
|
}
|
|
13858
14451
|
],
|
|
13859
14452
|
outputs: [
|
|
13860
14453
|
],
|
|
13861
14454
|
stateMutability: "nonpayable"
|
|
13862
|
-
}
|
|
13863
|
-
];
|
|
13864
|
-
|
|
13865
|
-
var IFeeCalculator = [
|
|
14455
|
+
},
|
|
13866
14456
|
{
|
|
13867
14457
|
type: "function",
|
|
13868
|
-
name: "
|
|
14458
|
+
name: "debit",
|
|
13869
14459
|
inputs: [
|
|
13870
14460
|
{
|
|
13871
|
-
name: "
|
|
13872
|
-
type: "
|
|
13873
|
-
internalType: "
|
|
14461
|
+
name: "account",
|
|
14462
|
+
type: "address",
|
|
14463
|
+
internalType: "address"
|
|
14464
|
+
},
|
|
14465
|
+
{
|
|
14466
|
+
name: "token",
|
|
14467
|
+
type: "address",
|
|
14468
|
+
internalType: "address"
|
|
13874
14469
|
},
|
|
13875
14470
|
{
|
|
13876
14471
|
name: "amount",
|
|
@@ -13878,199 +14473,218 @@ var IFeeCalculator = [
|
|
|
13878
14473
|
internalType: "uint256"
|
|
13879
14474
|
},
|
|
13880
14475
|
{
|
|
13881
|
-
name: "
|
|
13882
|
-
type: "
|
|
13883
|
-
internalType: "
|
|
13884
|
-
}
|
|
13885
|
-
],
|
|
13886
|
-
outputs: [
|
|
13887
|
-
{
|
|
13888
|
-
name: "feeCurrency",
|
|
13889
|
-
type: "uint256",
|
|
13890
|
-
internalType: "uint256"
|
|
14476
|
+
name: "requestHash",
|
|
14477
|
+
type: "bytes32",
|
|
14478
|
+
internalType: "bytes32"
|
|
13891
14479
|
},
|
|
13892
14480
|
{
|
|
13893
|
-
name: "
|
|
14481
|
+
name: "legIndex",
|
|
13894
14482
|
type: "uint256",
|
|
13895
14483
|
internalType: "uint256"
|
|
13896
14484
|
},
|
|
13897
14485
|
{
|
|
13898
|
-
name: "
|
|
13899
|
-
type: "
|
|
13900
|
-
internalType: "
|
|
13901
|
-
},
|
|
13902
|
-
{
|
|
13903
|
-
name: "feePayer",
|
|
13904
|
-
type: "address",
|
|
13905
|
-
internalType: "address"
|
|
14486
|
+
name: "kind",
|
|
14487
|
+
type: "uint8",
|
|
14488
|
+
internalType: "enum DrawLegKind"
|
|
13906
14489
|
}
|
|
13907
14490
|
],
|
|
14491
|
+
outputs: [
|
|
14492
|
+
],
|
|
13908
14493
|
stateMutability: "nonpayable"
|
|
13909
|
-
}
|
|
13910
|
-
];
|
|
13911
|
-
|
|
13912
|
-
var RelayBpsFeeCalculator = [
|
|
14494
|
+
},
|
|
13913
14495
|
{
|
|
13914
|
-
type: "
|
|
14496
|
+
type: "function",
|
|
14497
|
+
name: "depositFor",
|
|
13915
14498
|
inputs: [
|
|
13916
14499
|
{
|
|
13917
|
-
name: "
|
|
14500
|
+
name: "account",
|
|
14501
|
+
type: "address",
|
|
14502
|
+
internalType: "address"
|
|
14503
|
+
},
|
|
14504
|
+
{
|
|
14505
|
+
name: "token",
|
|
13918
14506
|
type: "address",
|
|
13919
14507
|
internalType: "address"
|
|
14508
|
+
},
|
|
14509
|
+
{
|
|
14510
|
+
name: "amount",
|
|
14511
|
+
type: "uint256",
|
|
14512
|
+
internalType: "uint256"
|
|
13920
14513
|
}
|
|
13921
14514
|
],
|
|
14515
|
+
outputs: [
|
|
14516
|
+
],
|
|
13922
14517
|
stateMutability: "nonpayable"
|
|
13923
14518
|
},
|
|
13924
14519
|
{
|
|
13925
14520
|
type: "function",
|
|
13926
|
-
name: "
|
|
14521
|
+
name: "drawRecords",
|
|
13927
14522
|
inputs: [
|
|
14523
|
+
{
|
|
14524
|
+
name: "requestHash",
|
|
14525
|
+
type: "bytes32",
|
|
14526
|
+
internalType: "bytes32"
|
|
14527
|
+
},
|
|
14528
|
+
{
|
|
14529
|
+
name: "account",
|
|
14530
|
+
type: "address",
|
|
14531
|
+
internalType: "address"
|
|
14532
|
+
},
|
|
14533
|
+
{
|
|
14534
|
+
name: "legIndex",
|
|
14535
|
+
type: "uint256",
|
|
14536
|
+
internalType: "uint256"
|
|
14537
|
+
}
|
|
13928
14538
|
],
|
|
13929
14539
|
outputs: [
|
|
13930
14540
|
{
|
|
13931
|
-
name: "",
|
|
13932
|
-
type: "
|
|
13933
|
-
internalType: "
|
|
14541
|
+
name: "drawn",
|
|
14542
|
+
type: "bool",
|
|
14543
|
+
internalType: "bool"
|
|
13934
14544
|
}
|
|
13935
14545
|
],
|
|
13936
14546
|
stateMutability: "view"
|
|
13937
14547
|
},
|
|
13938
14548
|
{
|
|
13939
14549
|
type: "function",
|
|
13940
|
-
name: "
|
|
14550
|
+
name: "eip712Domain",
|
|
13941
14551
|
inputs: [
|
|
14552
|
+
],
|
|
14553
|
+
outputs: [
|
|
13942
14554
|
{
|
|
13943
|
-
name: "
|
|
13944
|
-
type: "
|
|
13945
|
-
internalType: "
|
|
14555
|
+
name: "fields",
|
|
14556
|
+
type: "bytes1",
|
|
14557
|
+
internalType: "bytes1"
|
|
13946
14558
|
},
|
|
13947
14559
|
{
|
|
13948
|
-
name: "
|
|
13949
|
-
type: "
|
|
13950
|
-
internalType: "
|
|
14560
|
+
name: "name",
|
|
14561
|
+
type: "string",
|
|
14562
|
+
internalType: "string"
|
|
13951
14563
|
},
|
|
13952
14564
|
{
|
|
13953
|
-
name: "
|
|
13954
|
-
type: "
|
|
13955
|
-
internalType: "
|
|
13956
|
-
}
|
|
13957
|
-
],
|
|
13958
|
-
outputs: [
|
|
13959
|
-
{
|
|
13960
|
-
name: "feeCurrency",
|
|
13961
|
-
type: "uint256",
|
|
13962
|
-
internalType: "uint256"
|
|
14565
|
+
name: "version",
|
|
14566
|
+
type: "string",
|
|
14567
|
+
internalType: "string"
|
|
13963
14568
|
},
|
|
13964
14569
|
{
|
|
13965
|
-
name: "
|
|
14570
|
+
name: "chainId",
|
|
13966
14571
|
type: "uint256",
|
|
13967
14572
|
internalType: "uint256"
|
|
13968
14573
|
},
|
|
13969
14574
|
{
|
|
13970
|
-
name: "
|
|
14575
|
+
name: "verifyingContract",
|
|
13971
14576
|
type: "address",
|
|
13972
14577
|
internalType: "address"
|
|
13973
14578
|
},
|
|
13974
14579
|
{
|
|
13975
|
-
name: "
|
|
13976
|
-
type: "
|
|
13977
|
-
internalType: "
|
|
14580
|
+
name: "salt",
|
|
14581
|
+
type: "bytes32",
|
|
14582
|
+
internalType: "bytes32"
|
|
14583
|
+
},
|
|
14584
|
+
{
|
|
14585
|
+
name: "extensions",
|
|
14586
|
+
type: "uint256[]",
|
|
14587
|
+
internalType: "uint256[]"
|
|
13978
14588
|
}
|
|
13979
14589
|
],
|
|
13980
|
-
stateMutability: "
|
|
14590
|
+
stateMutability: "view"
|
|
13981
14591
|
},
|
|
13982
14592
|
{
|
|
13983
|
-
type: "
|
|
13984
|
-
name: "
|
|
14593
|
+
type: "function",
|
|
14594
|
+
name: "getRoleAdmin",
|
|
13985
14595
|
inputs: [
|
|
13986
14596
|
{
|
|
13987
|
-
name: "
|
|
13988
|
-
type: "
|
|
13989
|
-
internalType: "
|
|
13990
|
-
}
|
|
14597
|
+
name: "role",
|
|
14598
|
+
type: "bytes32",
|
|
14599
|
+
internalType: "bytes32"
|
|
14600
|
+
}
|
|
14601
|
+
],
|
|
14602
|
+
outputs: [
|
|
13991
14603
|
{
|
|
13992
|
-
name: "
|
|
13993
|
-
type: "
|
|
13994
|
-
internalType: "
|
|
14604
|
+
name: "",
|
|
14605
|
+
type: "bytes32",
|
|
14606
|
+
internalType: "bytes32"
|
|
13995
14607
|
}
|
|
13996
|
-
]
|
|
14608
|
+
],
|
|
14609
|
+
stateMutability: "view"
|
|
13997
14610
|
},
|
|
13998
14611
|
{
|
|
13999
|
-
type: "
|
|
14000
|
-
name: "
|
|
14612
|
+
type: "function",
|
|
14613
|
+
name: "grantRole",
|
|
14001
14614
|
inputs: [
|
|
14002
14615
|
{
|
|
14003
|
-
name: "
|
|
14004
|
-
type: "
|
|
14005
|
-
internalType: "
|
|
14616
|
+
name: "role",
|
|
14617
|
+
type: "bytes32",
|
|
14618
|
+
internalType: "bytes32"
|
|
14619
|
+
},
|
|
14620
|
+
{
|
|
14621
|
+
name: "account",
|
|
14622
|
+
type: "address",
|
|
14623
|
+
internalType: "address"
|
|
14006
14624
|
}
|
|
14007
|
-
]
|
|
14008
|
-
|
|
14009
|
-
|
|
14010
|
-
|
|
14011
|
-
name: "InvalidFeePayer",
|
|
14012
|
-
inputs: [
|
|
14013
|
-
]
|
|
14625
|
+
],
|
|
14626
|
+
outputs: [
|
|
14627
|
+
],
|
|
14628
|
+
stateMutability: "nonpayable"
|
|
14014
14629
|
},
|
|
14015
14630
|
{
|
|
14016
|
-
type: "
|
|
14017
|
-
name: "
|
|
14631
|
+
type: "function",
|
|
14632
|
+
name: "hasRole",
|
|
14018
14633
|
inputs: [
|
|
14019
|
-
|
|
14634
|
+
{
|
|
14635
|
+
name: "role",
|
|
14636
|
+
type: "bytes32",
|
|
14637
|
+
internalType: "bytes32"
|
|
14638
|
+
},
|
|
14639
|
+
{
|
|
14640
|
+
name: "account",
|
|
14641
|
+
type: "address",
|
|
14642
|
+
internalType: "address"
|
|
14643
|
+
}
|
|
14644
|
+
],
|
|
14645
|
+
outputs: [
|
|
14646
|
+
{
|
|
14647
|
+
name: "",
|
|
14648
|
+
type: "bool",
|
|
14649
|
+
internalType: "bool"
|
|
14650
|
+
}
|
|
14651
|
+
],
|
|
14652
|
+
stateMutability: "view"
|
|
14020
14653
|
},
|
|
14021
|
-
{
|
|
14022
|
-
type: "error",
|
|
14023
|
-
name: "ZeroAddress",
|
|
14024
|
-
inputs: [
|
|
14025
|
-
]
|
|
14026
|
-
}
|
|
14027
|
-
];
|
|
14028
|
-
|
|
14029
|
-
var IRelayFundingPool = [
|
|
14030
14654
|
{
|
|
14031
14655
|
type: "function",
|
|
14032
|
-
name: "
|
|
14656
|
+
name: "hashSponsorshipConfigUpdate",
|
|
14033
14657
|
inputs: [
|
|
14034
14658
|
{
|
|
14035
|
-
name: "
|
|
14659
|
+
name: "update",
|
|
14036
14660
|
type: "tuple",
|
|
14037
|
-
internalType: "struct
|
|
14661
|
+
internalType: "struct SponsorshipConfigUpdate",
|
|
14038
14662
|
components: [
|
|
14039
14663
|
{
|
|
14040
|
-
name: "
|
|
14041
|
-
type: "bytes32",
|
|
14042
|
-
internalType: "bytes32"
|
|
14043
|
-
},
|
|
14044
|
-
{
|
|
14045
|
-
name: "authorizer",
|
|
14664
|
+
name: "account",
|
|
14046
14665
|
type: "address",
|
|
14047
14666
|
internalType: "address"
|
|
14048
14667
|
},
|
|
14049
14668
|
{
|
|
14050
|
-
name: "
|
|
14051
|
-
type: "address",
|
|
14052
|
-
internalType: "address"
|
|
14053
|
-
},
|
|
14054
|
-
{
|
|
14055
|
-
name: "tokenIn",
|
|
14056
|
-
type: "address",
|
|
14057
|
-
internalType: "address"
|
|
14058
|
-
},
|
|
14059
|
-
{
|
|
14060
|
-
name: "tokenOut",
|
|
14669
|
+
name: "token",
|
|
14061
14670
|
type: "address",
|
|
14062
14671
|
internalType: "address"
|
|
14063
14672
|
},
|
|
14064
14673
|
{
|
|
14065
|
-
name: "
|
|
14674
|
+
name: "perOrderCap",
|
|
14066
14675
|
type: "uint256",
|
|
14067
14676
|
internalType: "uint256"
|
|
14068
14677
|
},
|
|
14069
14678
|
{
|
|
14070
|
-
name: "
|
|
14679
|
+
name: "budget",
|
|
14071
14680
|
type: "uint256",
|
|
14072
14681
|
internalType: "uint256"
|
|
14073
14682
|
},
|
|
14683
|
+
{
|
|
14684
|
+
name: "expiry",
|
|
14685
|
+
type: "uint64",
|
|
14686
|
+
internalType: "uint64"
|
|
14687
|
+
},
|
|
14074
14688
|
{
|
|
14075
14689
|
name: "nonce",
|
|
14076
14690
|
type: "uint256",
|
|
@@ -14082,33 +14696,28 @@ var IRelayFundingPool = [
|
|
|
14082
14696
|
internalType: "uint256"
|
|
14083
14697
|
}
|
|
14084
14698
|
]
|
|
14085
|
-
},
|
|
14086
|
-
{
|
|
14087
|
-
name: "signature",
|
|
14088
|
-
type: "bytes",
|
|
14089
|
-
internalType: "bytes"
|
|
14090
14699
|
}
|
|
14091
14700
|
],
|
|
14092
14701
|
outputs: [
|
|
14702
|
+
{
|
|
14703
|
+
name: "digest",
|
|
14704
|
+
type: "bytes32",
|
|
14705
|
+
internalType: "bytes32"
|
|
14706
|
+
}
|
|
14093
14707
|
],
|
|
14094
|
-
stateMutability: "
|
|
14708
|
+
stateMutability: "view"
|
|
14095
14709
|
},
|
|
14096
14710
|
{
|
|
14097
14711
|
type: "function",
|
|
14098
|
-
name: "
|
|
14712
|
+
name: "hashSponsorshipResolverUpdate",
|
|
14099
14713
|
inputs: [
|
|
14100
14714
|
{
|
|
14101
|
-
name: "
|
|
14715
|
+
name: "update",
|
|
14102
14716
|
type: "tuple",
|
|
14103
|
-
internalType: "struct
|
|
14717
|
+
internalType: "struct SponsorshipResolverUpdate",
|
|
14104
14718
|
components: [
|
|
14105
14719
|
{
|
|
14106
|
-
name: "
|
|
14107
|
-
type: "bytes32",
|
|
14108
|
-
internalType: "bytes32"
|
|
14109
|
-
},
|
|
14110
|
-
{
|
|
14111
|
-
name: "authorizer",
|
|
14720
|
+
name: "account",
|
|
14112
14721
|
type: "address",
|
|
14113
14722
|
internalType: "address"
|
|
14114
14723
|
},
|
|
@@ -14118,24 +14727,60 @@ var IRelayFundingPool = [
|
|
|
14118
14727
|
internalType: "address"
|
|
14119
14728
|
},
|
|
14120
14729
|
{
|
|
14121
|
-
name: "
|
|
14730
|
+
name: "allowed",
|
|
14731
|
+
type: "bool",
|
|
14732
|
+
internalType: "bool"
|
|
14733
|
+
},
|
|
14734
|
+
{
|
|
14735
|
+
name: "nonce",
|
|
14736
|
+
type: "uint256",
|
|
14737
|
+
internalType: "uint256"
|
|
14738
|
+
},
|
|
14739
|
+
{
|
|
14740
|
+
name: "deadline",
|
|
14741
|
+
type: "uint256",
|
|
14742
|
+
internalType: "uint256"
|
|
14743
|
+
}
|
|
14744
|
+
]
|
|
14745
|
+
}
|
|
14746
|
+
],
|
|
14747
|
+
outputs: [
|
|
14748
|
+
{
|
|
14749
|
+
name: "digest",
|
|
14750
|
+
type: "bytes32",
|
|
14751
|
+
internalType: "bytes32"
|
|
14752
|
+
}
|
|
14753
|
+
],
|
|
14754
|
+
stateMutability: "view"
|
|
14755
|
+
},
|
|
14756
|
+
{
|
|
14757
|
+
type: "function",
|
|
14758
|
+
name: "hashWithdrawal",
|
|
14759
|
+
inputs: [
|
|
14760
|
+
{
|
|
14761
|
+
name: "withdrawal",
|
|
14762
|
+
type: "tuple",
|
|
14763
|
+
internalType: "struct PoolWithdrawal",
|
|
14764
|
+
components: [
|
|
14765
|
+
{
|
|
14766
|
+
name: "account",
|
|
14122
14767
|
type: "address",
|
|
14123
14768
|
internalType: "address"
|
|
14124
14769
|
},
|
|
14125
14770
|
{
|
|
14126
|
-
name: "
|
|
14771
|
+
name: "token",
|
|
14127
14772
|
type: "address",
|
|
14128
14773
|
internalType: "address"
|
|
14129
14774
|
},
|
|
14130
14775
|
{
|
|
14131
|
-
name: "
|
|
14776
|
+
name: "amount",
|
|
14132
14777
|
type: "uint256",
|
|
14133
14778
|
internalType: "uint256"
|
|
14134
14779
|
},
|
|
14135
14780
|
{
|
|
14136
|
-
name: "
|
|
14137
|
-
type: "
|
|
14138
|
-
internalType: "
|
|
14781
|
+
name: "recipient",
|
|
14782
|
+
type: "address",
|
|
14783
|
+
internalType: "address"
|
|
14139
14784
|
},
|
|
14140
14785
|
{
|
|
14141
14786
|
name: "nonce",
|
|
@@ -14158,163 +14803,212 @@ var IRelayFundingPool = [
|
|
|
14158
14803
|
}
|
|
14159
14804
|
],
|
|
14160
14805
|
stateMutability: "view"
|
|
14161
|
-
}
|
|
14162
|
-
];
|
|
14163
|
-
|
|
14164
|
-
var RelayFundingPool = [
|
|
14806
|
+
},
|
|
14165
14807
|
{
|
|
14166
|
-
type: "
|
|
14808
|
+
type: "function",
|
|
14809
|
+
name: "orderDraws",
|
|
14167
14810
|
inputs: [
|
|
14168
14811
|
{
|
|
14169
|
-
name: "
|
|
14170
|
-
type: "
|
|
14171
|
-
internalType: "
|
|
14172
|
-
},
|
|
14173
|
-
{
|
|
14174
|
-
name: "authorizer",
|
|
14175
|
-
type: "address",
|
|
14176
|
-
internalType: "address"
|
|
14812
|
+
name: "requestHash",
|
|
14813
|
+
type: "bytes32",
|
|
14814
|
+
internalType: "bytes32"
|
|
14177
14815
|
},
|
|
14178
14816
|
{
|
|
14179
|
-
name: "
|
|
14817
|
+
name: "account",
|
|
14180
14818
|
type: "address",
|
|
14181
14819
|
internalType: "address"
|
|
14182
14820
|
},
|
|
14183
14821
|
{
|
|
14184
|
-
name: "
|
|
14822
|
+
name: "token",
|
|
14185
14823
|
type: "address",
|
|
14186
14824
|
internalType: "address"
|
|
14187
14825
|
}
|
|
14188
14826
|
],
|
|
14189
|
-
stateMutability: "nonpayable"
|
|
14190
|
-
},
|
|
14191
|
-
{
|
|
14192
|
-
type: "function",
|
|
14193
|
-
name: "ADMIN_ROLE",
|
|
14194
|
-
inputs: [
|
|
14195
|
-
],
|
|
14196
14827
|
outputs: [
|
|
14197
14828
|
{
|
|
14198
|
-
name: "",
|
|
14199
|
-
type: "
|
|
14200
|
-
internalType: "
|
|
14829
|
+
name: "drawn",
|
|
14830
|
+
type: "uint256",
|
|
14831
|
+
internalType: "uint256"
|
|
14201
14832
|
}
|
|
14202
14833
|
],
|
|
14203
14834
|
stateMutability: "view"
|
|
14204
14835
|
},
|
|
14205
14836
|
{
|
|
14206
14837
|
type: "function",
|
|
14207
|
-
name: "
|
|
14838
|
+
name: "pause",
|
|
14208
14839
|
inputs: [
|
|
14209
14840
|
],
|
|
14210
14841
|
outputs: [
|
|
14211
|
-
{
|
|
14212
|
-
name: "",
|
|
14213
|
-
type: "bytes32",
|
|
14214
|
-
internalType: "bytes32"
|
|
14215
|
-
}
|
|
14216
14842
|
],
|
|
14217
|
-
stateMutability: "
|
|
14843
|
+
stateMutability: "nonpayable"
|
|
14218
14844
|
},
|
|
14219
14845
|
{
|
|
14220
14846
|
type: "function",
|
|
14221
|
-
name: "
|
|
14847
|
+
name: "paused",
|
|
14222
14848
|
inputs: [
|
|
14223
14849
|
],
|
|
14224
14850
|
outputs: [
|
|
14225
14851
|
{
|
|
14226
14852
|
name: "",
|
|
14227
|
-
type: "
|
|
14228
|
-
internalType: "
|
|
14853
|
+
type: "bool",
|
|
14854
|
+
internalType: "bool"
|
|
14229
14855
|
}
|
|
14230
14856
|
],
|
|
14231
14857
|
stateMutability: "view"
|
|
14232
14858
|
},
|
|
14233
14859
|
{
|
|
14234
14860
|
type: "function",
|
|
14235
|
-
name: "
|
|
14861
|
+
name: "renounceRole",
|
|
14236
14862
|
inputs: [
|
|
14237
|
-
],
|
|
14238
|
-
outputs: [
|
|
14239
14863
|
{
|
|
14240
|
-
name: "",
|
|
14864
|
+
name: "role",
|
|
14241
14865
|
type: "bytes32",
|
|
14242
14866
|
internalType: "bytes32"
|
|
14867
|
+
},
|
|
14868
|
+
{
|
|
14869
|
+
name: "callerConfirmation",
|
|
14870
|
+
type: "address",
|
|
14871
|
+
internalType: "address"
|
|
14243
14872
|
}
|
|
14244
14873
|
],
|
|
14245
|
-
|
|
14874
|
+
outputs: [
|
|
14875
|
+
],
|
|
14876
|
+
stateMutability: "nonpayable"
|
|
14246
14877
|
},
|
|
14247
14878
|
{
|
|
14248
14879
|
type: "function",
|
|
14249
|
-
name: "
|
|
14880
|
+
name: "revokeRole",
|
|
14250
14881
|
inputs: [
|
|
14251
|
-
],
|
|
14252
|
-
outputs: [
|
|
14253
14882
|
{
|
|
14254
|
-
name: "",
|
|
14883
|
+
name: "role",
|
|
14255
14884
|
type: "bytes32",
|
|
14256
14885
|
internalType: "bytes32"
|
|
14886
|
+
},
|
|
14887
|
+
{
|
|
14888
|
+
name: "account",
|
|
14889
|
+
type: "address",
|
|
14890
|
+
internalType: "address"
|
|
14257
14891
|
}
|
|
14258
14892
|
],
|
|
14259
|
-
|
|
14893
|
+
outputs: [
|
|
14894
|
+
],
|
|
14895
|
+
stateMutability: "nonpayable"
|
|
14260
14896
|
},
|
|
14261
14897
|
{
|
|
14262
14898
|
type: "function",
|
|
14263
|
-
name: "
|
|
14899
|
+
name: "setSponsorshipConfig",
|
|
14264
14900
|
inputs: [
|
|
14265
|
-
],
|
|
14266
|
-
outputs: [
|
|
14267
14901
|
{
|
|
14268
|
-
name: "",
|
|
14269
|
-
type: "
|
|
14270
|
-
internalType: "
|
|
14902
|
+
name: "token",
|
|
14903
|
+
type: "address",
|
|
14904
|
+
internalType: "address"
|
|
14905
|
+
},
|
|
14906
|
+
{
|
|
14907
|
+
name: "config",
|
|
14908
|
+
type: "tuple",
|
|
14909
|
+
internalType: "struct SponsorshipConfig",
|
|
14910
|
+
components: [
|
|
14911
|
+
{
|
|
14912
|
+
name: "perOrderCap",
|
|
14913
|
+
type: "uint256",
|
|
14914
|
+
internalType: "uint256"
|
|
14915
|
+
},
|
|
14916
|
+
{
|
|
14917
|
+
name: "budget",
|
|
14918
|
+
type: "uint256",
|
|
14919
|
+
internalType: "uint256"
|
|
14920
|
+
},
|
|
14921
|
+
{
|
|
14922
|
+
name: "expiry",
|
|
14923
|
+
type: "uint64",
|
|
14924
|
+
internalType: "uint64"
|
|
14925
|
+
}
|
|
14926
|
+
]
|
|
14271
14927
|
}
|
|
14272
14928
|
],
|
|
14273
|
-
|
|
14929
|
+
outputs: [
|
|
14930
|
+
],
|
|
14931
|
+
stateMutability: "nonpayable"
|
|
14274
14932
|
},
|
|
14275
14933
|
{
|
|
14276
14934
|
type: "function",
|
|
14277
|
-
name: "
|
|
14935
|
+
name: "setSponsorshipConfig",
|
|
14278
14936
|
inputs: [
|
|
14279
14937
|
{
|
|
14280
|
-
name: "
|
|
14938
|
+
name: "update",
|
|
14281
14939
|
type: "tuple",
|
|
14282
|
-
internalType: "struct
|
|
14940
|
+
internalType: "struct SponsorshipConfigUpdate",
|
|
14283
14941
|
components: [
|
|
14284
14942
|
{
|
|
14285
|
-
name: "
|
|
14286
|
-
type: "bytes32",
|
|
14287
|
-
internalType: "bytes32"
|
|
14288
|
-
},
|
|
14289
|
-
{
|
|
14290
|
-
name: "authorizer",
|
|
14943
|
+
name: "account",
|
|
14291
14944
|
type: "address",
|
|
14292
14945
|
internalType: "address"
|
|
14293
14946
|
},
|
|
14294
14947
|
{
|
|
14295
|
-
name: "
|
|
14948
|
+
name: "token",
|
|
14296
14949
|
type: "address",
|
|
14297
14950
|
internalType: "address"
|
|
14298
14951
|
},
|
|
14299
14952
|
{
|
|
14300
|
-
name: "
|
|
14301
|
-
type: "
|
|
14302
|
-
internalType: "
|
|
14953
|
+
name: "perOrderCap",
|
|
14954
|
+
type: "uint256",
|
|
14955
|
+
internalType: "uint256"
|
|
14303
14956
|
},
|
|
14304
14957
|
{
|
|
14305
|
-
name: "
|
|
14306
|
-
type: "
|
|
14307
|
-
internalType: "
|
|
14958
|
+
name: "budget",
|
|
14959
|
+
type: "uint256",
|
|
14960
|
+
internalType: "uint256"
|
|
14961
|
+
},
|
|
14962
|
+
{
|
|
14963
|
+
name: "expiry",
|
|
14964
|
+
type: "uint64",
|
|
14965
|
+
internalType: "uint64"
|
|
14308
14966
|
},
|
|
14309
14967
|
{
|
|
14310
|
-
name: "
|
|
14968
|
+
name: "nonce",
|
|
14311
14969
|
type: "uint256",
|
|
14312
14970
|
internalType: "uint256"
|
|
14313
14971
|
},
|
|
14314
14972
|
{
|
|
14315
|
-
name: "
|
|
14973
|
+
name: "deadline",
|
|
14316
14974
|
type: "uint256",
|
|
14317
14975
|
internalType: "uint256"
|
|
14976
|
+
}
|
|
14977
|
+
]
|
|
14978
|
+
},
|
|
14979
|
+
{
|
|
14980
|
+
name: "signature",
|
|
14981
|
+
type: "bytes",
|
|
14982
|
+
internalType: "bytes"
|
|
14983
|
+
}
|
|
14984
|
+
],
|
|
14985
|
+
outputs: [
|
|
14986
|
+
],
|
|
14987
|
+
stateMutability: "nonpayable"
|
|
14988
|
+
},
|
|
14989
|
+
{
|
|
14990
|
+
type: "function",
|
|
14991
|
+
name: "setSponsorshipResolver",
|
|
14992
|
+
inputs: [
|
|
14993
|
+
{
|
|
14994
|
+
name: "update",
|
|
14995
|
+
type: "tuple",
|
|
14996
|
+
internalType: "struct SponsorshipResolverUpdate",
|
|
14997
|
+
components: [
|
|
14998
|
+
{
|
|
14999
|
+
name: "account",
|
|
15000
|
+
type: "address",
|
|
15001
|
+
internalType: "address"
|
|
15002
|
+
},
|
|
15003
|
+
{
|
|
15004
|
+
name: "resolver",
|
|
15005
|
+
type: "address",
|
|
15006
|
+
internalType: "address"
|
|
15007
|
+
},
|
|
15008
|
+
{
|
|
15009
|
+
name: "allowed",
|
|
15010
|
+
type: "bool",
|
|
15011
|
+
internalType: "bool"
|
|
14318
15012
|
},
|
|
14319
15013
|
{
|
|
14320
15014
|
name: "nonce",
|
|
@@ -14340,104 +15034,151 @@ var RelayFundingPool = [
|
|
|
14340
15034
|
},
|
|
14341
15035
|
{
|
|
14342
15036
|
type: "function",
|
|
14343
|
-
name: "
|
|
15037
|
+
name: "setSponsorshipResolver",
|
|
15038
|
+
inputs: [
|
|
15039
|
+
{
|
|
15040
|
+
name: "resolver",
|
|
15041
|
+
type: "address",
|
|
15042
|
+
internalType: "address"
|
|
15043
|
+
},
|
|
15044
|
+
{
|
|
15045
|
+
name: "allowed",
|
|
15046
|
+
type: "bool",
|
|
15047
|
+
internalType: "bool"
|
|
15048
|
+
}
|
|
15049
|
+
],
|
|
15050
|
+
outputs: [
|
|
15051
|
+
],
|
|
15052
|
+
stateMutability: "nonpayable"
|
|
15053
|
+
},
|
|
15054
|
+
{
|
|
15055
|
+
type: "function",
|
|
15056
|
+
name: "sponsorshipConfig",
|
|
14344
15057
|
inputs: [
|
|
14345
|
-
],
|
|
14346
|
-
outputs: [
|
|
14347
15058
|
{
|
|
14348
|
-
name: "
|
|
14349
|
-
type: "
|
|
14350
|
-
internalType: "
|
|
15059
|
+
name: "account",
|
|
15060
|
+
type: "address",
|
|
15061
|
+
internalType: "address"
|
|
14351
15062
|
},
|
|
14352
15063
|
{
|
|
14353
|
-
name: "
|
|
14354
|
-
type: "
|
|
14355
|
-
internalType: "
|
|
14356
|
-
}
|
|
15064
|
+
name: "token",
|
|
15065
|
+
type: "address",
|
|
15066
|
+
internalType: "address"
|
|
15067
|
+
}
|
|
15068
|
+
],
|
|
15069
|
+
outputs: [
|
|
14357
15070
|
{
|
|
14358
|
-
name: "
|
|
14359
|
-
type: "
|
|
14360
|
-
internalType: "
|
|
15071
|
+
name: "perOrderCap",
|
|
15072
|
+
type: "uint256",
|
|
15073
|
+
internalType: "uint256"
|
|
14361
15074
|
},
|
|
14362
15075
|
{
|
|
14363
|
-
name: "
|
|
15076
|
+
name: "budget",
|
|
14364
15077
|
type: "uint256",
|
|
14365
15078
|
internalType: "uint256"
|
|
14366
15079
|
},
|
|
14367
15080
|
{
|
|
14368
|
-
name: "
|
|
15081
|
+
name: "expiry",
|
|
15082
|
+
type: "uint64",
|
|
15083
|
+
internalType: "uint64"
|
|
15084
|
+
}
|
|
15085
|
+
],
|
|
15086
|
+
stateMutability: "view"
|
|
15087
|
+
},
|
|
15088
|
+
{
|
|
15089
|
+
type: "function",
|
|
15090
|
+
name: "sponsorshipResolvers",
|
|
15091
|
+
inputs: [
|
|
15092
|
+
{
|
|
15093
|
+
name: "account",
|
|
14369
15094
|
type: "address",
|
|
14370
15095
|
internalType: "address"
|
|
14371
15096
|
},
|
|
14372
15097
|
{
|
|
14373
|
-
name: "
|
|
14374
|
-
type: "
|
|
14375
|
-
internalType: "
|
|
14376
|
-
}
|
|
15098
|
+
name: "resolver",
|
|
15099
|
+
type: "address",
|
|
15100
|
+
internalType: "address"
|
|
15101
|
+
}
|
|
15102
|
+
],
|
|
15103
|
+
outputs: [
|
|
14377
15104
|
{
|
|
14378
|
-
name: "
|
|
14379
|
-
type: "
|
|
14380
|
-
internalType: "
|
|
15105
|
+
name: "allowed",
|
|
15106
|
+
type: "bool",
|
|
15107
|
+
internalType: "bool"
|
|
14381
15108
|
}
|
|
14382
15109
|
],
|
|
14383
15110
|
stateMutability: "view"
|
|
14384
15111
|
},
|
|
14385
15112
|
{
|
|
14386
15113
|
type: "function",
|
|
14387
|
-
name: "
|
|
15114
|
+
name: "supportsInterface",
|
|
14388
15115
|
inputs: [
|
|
14389
15116
|
{
|
|
14390
|
-
name: "
|
|
14391
|
-
type: "
|
|
14392
|
-
internalType: "
|
|
15117
|
+
name: "interfaceId",
|
|
15118
|
+
type: "bytes4",
|
|
15119
|
+
internalType: "bytes4"
|
|
14393
15120
|
}
|
|
14394
15121
|
],
|
|
14395
15122
|
outputs: [
|
|
14396
15123
|
{
|
|
14397
15124
|
name: "",
|
|
14398
|
-
type: "
|
|
14399
|
-
internalType: "
|
|
15125
|
+
type: "bool",
|
|
15126
|
+
internalType: "bool"
|
|
14400
15127
|
}
|
|
14401
15128
|
],
|
|
14402
15129
|
stateMutability: "view"
|
|
14403
15130
|
},
|
|
14404
15131
|
{
|
|
14405
15132
|
type: "function",
|
|
14406
|
-
name: "
|
|
15133
|
+
name: "unpause",
|
|
15134
|
+
inputs: [
|
|
15135
|
+
],
|
|
15136
|
+
outputs: [
|
|
15137
|
+
],
|
|
15138
|
+
stateMutability: "nonpayable"
|
|
15139
|
+
},
|
|
15140
|
+
{
|
|
15141
|
+
type: "function",
|
|
15142
|
+
name: "usedSponsorshipNonces",
|
|
14407
15143
|
inputs: [
|
|
14408
|
-
{
|
|
14409
|
-
name: "role",
|
|
14410
|
-
type: "bytes32",
|
|
14411
|
-
internalType: "bytes32"
|
|
14412
|
-
},
|
|
14413
15144
|
{
|
|
14414
15145
|
name: "account",
|
|
14415
15146
|
type: "address",
|
|
14416
15147
|
internalType: "address"
|
|
15148
|
+
},
|
|
15149
|
+
{
|
|
15150
|
+
name: "nonce",
|
|
15151
|
+
type: "uint256",
|
|
15152
|
+
internalType: "uint256"
|
|
14417
15153
|
}
|
|
14418
15154
|
],
|
|
14419
15155
|
outputs: [
|
|
15156
|
+
{
|
|
15157
|
+
name: "used",
|
|
15158
|
+
type: "bool",
|
|
15159
|
+
internalType: "bool"
|
|
15160
|
+
}
|
|
14420
15161
|
],
|
|
14421
|
-
stateMutability: "
|
|
15162
|
+
stateMutability: "view"
|
|
14422
15163
|
},
|
|
14423
15164
|
{
|
|
14424
15165
|
type: "function",
|
|
14425
|
-
name: "
|
|
15166
|
+
name: "usedWithdrawalNonces",
|
|
14426
15167
|
inputs: [
|
|
14427
|
-
{
|
|
14428
|
-
name: "role",
|
|
14429
|
-
type: "bytes32",
|
|
14430
|
-
internalType: "bytes32"
|
|
14431
|
-
},
|
|
14432
15168
|
{
|
|
14433
15169
|
name: "account",
|
|
14434
15170
|
type: "address",
|
|
14435
15171
|
internalType: "address"
|
|
15172
|
+
},
|
|
15173
|
+
{
|
|
15174
|
+
name: "nonce",
|
|
15175
|
+
type: "uint256",
|
|
15176
|
+
internalType: "uint256"
|
|
14436
15177
|
}
|
|
14437
15178
|
],
|
|
14438
15179
|
outputs: [
|
|
14439
15180
|
{
|
|
14440
|
-
name: "",
|
|
15181
|
+
name: "used",
|
|
14441
15182
|
type: "bool",
|
|
14442
15183
|
internalType: "bool"
|
|
14443
15184
|
}
|
|
@@ -14446,47 +15187,32 @@ var RelayFundingPool = [
|
|
|
14446
15187
|
},
|
|
14447
15188
|
{
|
|
14448
15189
|
type: "function",
|
|
14449
|
-
name: "
|
|
15190
|
+
name: "withdraw",
|
|
14450
15191
|
inputs: [
|
|
14451
15192
|
{
|
|
14452
|
-
name: "
|
|
15193
|
+
name: "withdrawal",
|
|
14453
15194
|
type: "tuple",
|
|
14454
|
-
internalType: "struct
|
|
15195
|
+
internalType: "struct PoolWithdrawal",
|
|
14455
15196
|
components: [
|
|
14456
15197
|
{
|
|
14457
|
-
name: "
|
|
14458
|
-
type: "bytes32",
|
|
14459
|
-
internalType: "bytes32"
|
|
14460
|
-
},
|
|
14461
|
-
{
|
|
14462
|
-
name: "authorizer",
|
|
14463
|
-
type: "address",
|
|
14464
|
-
internalType: "address"
|
|
14465
|
-
},
|
|
14466
|
-
{
|
|
14467
|
-
name: "resolver",
|
|
14468
|
-
type: "address",
|
|
14469
|
-
internalType: "address"
|
|
14470
|
-
},
|
|
14471
|
-
{
|
|
14472
|
-
name: "tokenIn",
|
|
15198
|
+
name: "account",
|
|
14473
15199
|
type: "address",
|
|
14474
15200
|
internalType: "address"
|
|
14475
15201
|
},
|
|
14476
15202
|
{
|
|
14477
|
-
name: "
|
|
15203
|
+
name: "token",
|
|
14478
15204
|
type: "address",
|
|
14479
15205
|
internalType: "address"
|
|
14480
15206
|
},
|
|
14481
15207
|
{
|
|
14482
|
-
name: "
|
|
15208
|
+
name: "amount",
|
|
14483
15209
|
type: "uint256",
|
|
14484
15210
|
internalType: "uint256"
|
|
14485
15211
|
},
|
|
14486
15212
|
{
|
|
14487
|
-
name: "
|
|
14488
|
-
type: "
|
|
14489
|
-
internalType: "
|
|
15213
|
+
name: "recipient",
|
|
15214
|
+
type: "address",
|
|
15215
|
+
internalType: "address"
|
|
14490
15216
|
},
|
|
14491
15217
|
{
|
|
14492
15218
|
name: "nonce",
|
|
@@ -14499,51 +15225,33 @@ var RelayFundingPool = [
|
|
|
14499
15225
|
internalType: "uint256"
|
|
14500
15226
|
}
|
|
14501
15227
|
]
|
|
14502
|
-
}
|
|
14503
|
-
],
|
|
14504
|
-
outputs: [
|
|
15228
|
+
},
|
|
14505
15229
|
{
|
|
14506
|
-
name: "
|
|
14507
|
-
type: "
|
|
14508
|
-
internalType: "
|
|
15230
|
+
name: "signature",
|
|
15231
|
+
type: "bytes",
|
|
15232
|
+
internalType: "bytes"
|
|
14509
15233
|
}
|
|
14510
15234
|
],
|
|
14511
|
-
stateMutability: "view"
|
|
14512
|
-
},
|
|
14513
|
-
{
|
|
14514
|
-
type: "function",
|
|
14515
|
-
name: "pause",
|
|
14516
|
-
inputs: [
|
|
14517
|
-
],
|
|
14518
15235
|
outputs: [
|
|
14519
15236
|
],
|
|
14520
15237
|
stateMutability: "nonpayable"
|
|
14521
15238
|
},
|
|
14522
15239
|
{
|
|
14523
15240
|
type: "function",
|
|
14524
|
-
name: "
|
|
15241
|
+
name: "withdraw",
|
|
14525
15242
|
inputs: [
|
|
14526
|
-
],
|
|
14527
|
-
outputs: [
|
|
14528
15243
|
{
|
|
14529
|
-
name: "",
|
|
14530
|
-
type: "
|
|
14531
|
-
internalType: "
|
|
14532
|
-
}
|
|
14533
|
-
],
|
|
14534
|
-
stateMutability: "view"
|
|
14535
|
-
},
|
|
14536
|
-
{
|
|
14537
|
-
type: "function",
|
|
14538
|
-
name: "renounceRole",
|
|
14539
|
-
inputs: [
|
|
15244
|
+
name: "token",
|
|
15245
|
+
type: "address",
|
|
15246
|
+
internalType: "address"
|
|
15247
|
+
},
|
|
14540
15248
|
{
|
|
14541
|
-
name: "
|
|
14542
|
-
type: "
|
|
14543
|
-
internalType: "
|
|
15249
|
+
name: "amount",
|
|
15250
|
+
type: "uint256",
|
|
15251
|
+
internalType: "uint256"
|
|
14544
15252
|
},
|
|
14545
15253
|
{
|
|
14546
|
-
name: "
|
|
15254
|
+
name: "recipient",
|
|
14547
15255
|
type: "address",
|
|
14548
15256
|
internalType: "address"
|
|
14549
15257
|
}
|
|
@@ -14553,103 +15261,82 @@ var RelayFundingPool = [
|
|
|
14553
15261
|
stateMutability: "nonpayable"
|
|
14554
15262
|
},
|
|
14555
15263
|
{
|
|
14556
|
-
type: "
|
|
14557
|
-
name: "
|
|
15264
|
+
type: "event",
|
|
15265
|
+
name: "Credited",
|
|
14558
15266
|
inputs: [
|
|
14559
15267
|
{
|
|
14560
|
-
name: "
|
|
15268
|
+
name: "requestHash",
|
|
14561
15269
|
type: "bytes32",
|
|
15270
|
+
indexed: true,
|
|
14562
15271
|
internalType: "bytes32"
|
|
14563
15272
|
},
|
|
14564
15273
|
{
|
|
14565
15274
|
name: "account",
|
|
14566
15275
|
type: "address",
|
|
15276
|
+
indexed: true,
|
|
14567
15277
|
internalType: "address"
|
|
14568
|
-
}
|
|
14569
|
-
],
|
|
14570
|
-
outputs: [
|
|
14571
|
-
],
|
|
14572
|
-
stateMutability: "nonpayable"
|
|
14573
|
-
},
|
|
14574
|
-
{
|
|
14575
|
-
type: "function",
|
|
14576
|
-
name: "supportsInterface",
|
|
14577
|
-
inputs: [
|
|
14578
|
-
{
|
|
14579
|
-
name: "interfaceId",
|
|
14580
|
-
type: "bytes4",
|
|
14581
|
-
internalType: "bytes4"
|
|
14582
|
-
}
|
|
14583
|
-
],
|
|
14584
|
-
outputs: [
|
|
15278
|
+
},
|
|
14585
15279
|
{
|
|
14586
|
-
name: "",
|
|
14587
|
-
type: "
|
|
14588
|
-
|
|
14589
|
-
|
|
14590
|
-
|
|
14591
|
-
stateMutability: "view"
|
|
14592
|
-
},
|
|
14593
|
-
{
|
|
14594
|
-
type: "function",
|
|
14595
|
-
name: "unpause",
|
|
14596
|
-
inputs: [
|
|
14597
|
-
],
|
|
14598
|
-
outputs: [
|
|
14599
|
-
],
|
|
14600
|
-
stateMutability: "nonpayable"
|
|
14601
|
-
},
|
|
14602
|
-
{
|
|
14603
|
-
type: "function",
|
|
14604
|
-
name: "usedNonces",
|
|
14605
|
-
inputs: [
|
|
15280
|
+
name: "token",
|
|
15281
|
+
type: "address",
|
|
15282
|
+
indexed: true,
|
|
15283
|
+
internalType: "address"
|
|
15284
|
+
},
|
|
14606
15285
|
{
|
|
14607
|
-
name: "",
|
|
15286
|
+
name: "resolver",
|
|
14608
15287
|
type: "address",
|
|
15288
|
+
indexed: false,
|
|
14609
15289
|
internalType: "address"
|
|
14610
15290
|
},
|
|
14611
15291
|
{
|
|
14612
|
-
name: "",
|
|
15292
|
+
name: "kind",
|
|
15293
|
+
type: "uint8",
|
|
15294
|
+
indexed: false,
|
|
15295
|
+
internalType: "enum DrawLegKind"
|
|
15296
|
+
},
|
|
15297
|
+
{
|
|
15298
|
+
name: "amount",
|
|
14613
15299
|
type: "uint256",
|
|
15300
|
+
indexed: false,
|
|
14614
15301
|
internalType: "uint256"
|
|
14615
15302
|
}
|
|
14616
15303
|
],
|
|
14617
|
-
|
|
14618
|
-
{
|
|
14619
|
-
name: "",
|
|
14620
|
-
type: "bool",
|
|
14621
|
-
internalType: "bool"
|
|
14622
|
-
}
|
|
14623
|
-
],
|
|
14624
|
-
stateMutability: "view"
|
|
15304
|
+
anonymous: false
|
|
14625
15305
|
},
|
|
14626
15306
|
{
|
|
14627
|
-
type: "
|
|
14628
|
-
name: "
|
|
15307
|
+
type: "event",
|
|
15308
|
+
name: "Deposited",
|
|
14629
15309
|
inputs: [
|
|
14630
15310
|
{
|
|
14631
|
-
name: "
|
|
15311
|
+
name: "account",
|
|
15312
|
+
type: "address",
|
|
15313
|
+
indexed: true,
|
|
15314
|
+
internalType: "address"
|
|
15315
|
+
},
|
|
15316
|
+
{
|
|
15317
|
+
name: "token",
|
|
15318
|
+
type: "address",
|
|
15319
|
+
indexed: true,
|
|
15320
|
+
internalType: "address"
|
|
15321
|
+
},
|
|
15322
|
+
{
|
|
15323
|
+
name: "funder",
|
|
14632
15324
|
type: "address",
|
|
15325
|
+
indexed: true,
|
|
14633
15326
|
internalType: "address"
|
|
14634
15327
|
},
|
|
14635
15328
|
{
|
|
14636
15329
|
name: "amount",
|
|
14637
15330
|
type: "uint256",
|
|
15331
|
+
indexed: false,
|
|
14638
15332
|
internalType: "uint256"
|
|
14639
|
-
},
|
|
14640
|
-
{
|
|
14641
|
-
name: "recipient",
|
|
14642
|
-
type: "address",
|
|
14643
|
-
internalType: "address"
|
|
14644
15333
|
}
|
|
14645
15334
|
],
|
|
14646
|
-
|
|
14647
|
-
],
|
|
14648
|
-
stateMutability: "nonpayable"
|
|
15335
|
+
anonymous: false
|
|
14649
15336
|
},
|
|
14650
15337
|
{
|
|
14651
15338
|
type: "event",
|
|
14652
|
-
name: "
|
|
15339
|
+
name: "Drawn",
|
|
14653
15340
|
inputs: [
|
|
14654
15341
|
{
|
|
14655
15342
|
name: "requestHash",
|
|
@@ -14658,43 +15345,37 @@ var RelayFundingPool = [
|
|
|
14658
15345
|
internalType: "bytes32"
|
|
14659
15346
|
},
|
|
14660
15347
|
{
|
|
14661
|
-
name: "
|
|
15348
|
+
name: "account",
|
|
14662
15349
|
type: "address",
|
|
14663
15350
|
indexed: true,
|
|
14664
15351
|
internalType: "address"
|
|
14665
15352
|
},
|
|
14666
15353
|
{
|
|
14667
|
-
name: "
|
|
15354
|
+
name: "token",
|
|
14668
15355
|
type: "address",
|
|
14669
15356
|
indexed: true,
|
|
14670
15357
|
internalType: "address"
|
|
14671
15358
|
},
|
|
14672
15359
|
{
|
|
14673
|
-
name: "
|
|
14674
|
-
type: "address",
|
|
14675
|
-
indexed: false,
|
|
14676
|
-
internalType: "address"
|
|
14677
|
-
},
|
|
14678
|
-
{
|
|
14679
|
-
name: "tokenOut",
|
|
15360
|
+
name: "resolver",
|
|
14680
15361
|
type: "address",
|
|
14681
15362
|
indexed: false,
|
|
14682
15363
|
internalType: "address"
|
|
14683
15364
|
},
|
|
14684
15365
|
{
|
|
14685
|
-
name: "
|
|
14686
|
-
type: "
|
|
15366
|
+
name: "kind",
|
|
15367
|
+
type: "uint8",
|
|
14687
15368
|
indexed: false,
|
|
14688
|
-
internalType: "
|
|
15369
|
+
internalType: "enum DrawLegKind"
|
|
14689
15370
|
},
|
|
14690
15371
|
{
|
|
14691
|
-
name: "
|
|
15372
|
+
name: "legIndex",
|
|
14692
15373
|
type: "uint256",
|
|
14693
15374
|
indexed: false,
|
|
14694
15375
|
internalType: "uint256"
|
|
14695
15376
|
},
|
|
14696
15377
|
{
|
|
14697
|
-
name: "
|
|
15378
|
+
name: "amount",
|
|
14698
15379
|
type: "uint256",
|
|
14699
15380
|
indexed: false,
|
|
14700
15381
|
internalType: "uint256"
|
|
@@ -14797,6 +15478,68 @@ var RelayFundingPool = [
|
|
|
14797
15478
|
],
|
|
14798
15479
|
anonymous: false
|
|
14799
15480
|
},
|
|
15481
|
+
{
|
|
15482
|
+
type: "event",
|
|
15483
|
+
name: "SponsorshipConfigSet",
|
|
15484
|
+
inputs: [
|
|
15485
|
+
{
|
|
15486
|
+
name: "account",
|
|
15487
|
+
type: "address",
|
|
15488
|
+
indexed: true,
|
|
15489
|
+
internalType: "address"
|
|
15490
|
+
},
|
|
15491
|
+
{
|
|
15492
|
+
name: "token",
|
|
15493
|
+
type: "address",
|
|
15494
|
+
indexed: true,
|
|
15495
|
+
internalType: "address"
|
|
15496
|
+
},
|
|
15497
|
+
{
|
|
15498
|
+
name: "perOrderCap",
|
|
15499
|
+
type: "uint256",
|
|
15500
|
+
indexed: false,
|
|
15501
|
+
internalType: "uint256"
|
|
15502
|
+
},
|
|
15503
|
+
{
|
|
15504
|
+
name: "budget",
|
|
15505
|
+
type: "uint256",
|
|
15506
|
+
indexed: false,
|
|
15507
|
+
internalType: "uint256"
|
|
15508
|
+
},
|
|
15509
|
+
{
|
|
15510
|
+
name: "expiry",
|
|
15511
|
+
type: "uint64",
|
|
15512
|
+
indexed: false,
|
|
15513
|
+
internalType: "uint64"
|
|
15514
|
+
}
|
|
15515
|
+
],
|
|
15516
|
+
anonymous: false
|
|
15517
|
+
},
|
|
15518
|
+
{
|
|
15519
|
+
type: "event",
|
|
15520
|
+
name: "SponsorshipResolverSet",
|
|
15521
|
+
inputs: [
|
|
15522
|
+
{
|
|
15523
|
+
name: "account",
|
|
15524
|
+
type: "address",
|
|
15525
|
+
indexed: true,
|
|
15526
|
+
internalType: "address"
|
|
15527
|
+
},
|
|
15528
|
+
{
|
|
15529
|
+
name: "resolver",
|
|
15530
|
+
type: "address",
|
|
15531
|
+
indexed: true,
|
|
15532
|
+
internalType: "address"
|
|
15533
|
+
},
|
|
15534
|
+
{
|
|
15535
|
+
name: "allowed",
|
|
15536
|
+
type: "bool",
|
|
15537
|
+
indexed: false,
|
|
15538
|
+
internalType: "bool"
|
|
15539
|
+
}
|
|
15540
|
+
],
|
|
15541
|
+
anonymous: false
|
|
15542
|
+
},
|
|
14800
15543
|
{
|
|
14801
15544
|
type: "event",
|
|
14802
15545
|
name: "Unpaused",
|
|
@@ -14815,7 +15558,7 @@ var RelayFundingPool = [
|
|
|
14815
15558
|
name: "Withdrawn",
|
|
14816
15559
|
inputs: [
|
|
14817
15560
|
{
|
|
14818
|
-
name: "
|
|
15561
|
+
name: "account",
|
|
14819
15562
|
type: "address",
|
|
14820
15563
|
indexed: true,
|
|
14821
15564
|
internalType: "address"
|
|
@@ -14865,10 +15608,20 @@ var RelayFundingPool = [
|
|
|
14865
15608
|
},
|
|
14866
15609
|
{
|
|
14867
15610
|
type: "error",
|
|
14868
|
-
name: "
|
|
15611
|
+
name: "AlreadyDrawn",
|
|
14869
15612
|
inputs: [
|
|
14870
15613
|
{
|
|
14871
|
-
name: "
|
|
15614
|
+
name: "requestHash",
|
|
15615
|
+
type: "bytes32",
|
|
15616
|
+
internalType: "bytes32"
|
|
15617
|
+
},
|
|
15618
|
+
{
|
|
15619
|
+
name: "account",
|
|
15620
|
+
type: "address",
|
|
15621
|
+
internalType: "address"
|
|
15622
|
+
},
|
|
15623
|
+
{
|
|
15624
|
+
name: "legIndex",
|
|
14872
15625
|
type: "uint256",
|
|
14873
15626
|
internalType: "uint256"
|
|
14874
15627
|
}
|
|
@@ -14876,15 +15629,25 @@ var RelayFundingPool = [
|
|
|
14876
15629
|
},
|
|
14877
15630
|
{
|
|
14878
15631
|
type: "error",
|
|
14879
|
-
name: "
|
|
15632
|
+
name: "BudgetExceeded",
|
|
14880
15633
|
inputs: [
|
|
14881
15634
|
{
|
|
14882
|
-
name: "
|
|
15635
|
+
name: "account",
|
|
14883
15636
|
type: "address",
|
|
14884
15637
|
internalType: "address"
|
|
14885
15638
|
},
|
|
14886
15639
|
{
|
|
14887
|
-
name: "
|
|
15640
|
+
name: "token",
|
|
15641
|
+
type: "address",
|
|
15642
|
+
internalType: "address"
|
|
15643
|
+
},
|
|
15644
|
+
{
|
|
15645
|
+
name: "amount",
|
|
15646
|
+
type: "uint256",
|
|
15647
|
+
internalType: "uint256"
|
|
15648
|
+
},
|
|
15649
|
+
{
|
|
15650
|
+
name: "budget",
|
|
14888
15651
|
type: "uint256",
|
|
14889
15652
|
internalType: "uint256"
|
|
14890
15653
|
}
|
|
@@ -14892,38 +15655,65 @@ var RelayFundingPool = [
|
|
|
14892
15655
|
},
|
|
14893
15656
|
{
|
|
14894
15657
|
type: "error",
|
|
14895
|
-
name: "
|
|
15658
|
+
name: "EnforcedPause",
|
|
15659
|
+
inputs: [
|
|
15660
|
+
]
|
|
15661
|
+
},
|
|
15662
|
+
{
|
|
15663
|
+
type: "error",
|
|
15664
|
+
name: "ExpectedPause",
|
|
15665
|
+
inputs: [
|
|
15666
|
+
]
|
|
15667
|
+
},
|
|
15668
|
+
{
|
|
15669
|
+
type: "error",
|
|
15670
|
+
name: "InsufficientBalance",
|
|
14896
15671
|
inputs: [
|
|
14897
15672
|
{
|
|
14898
|
-
name: "
|
|
15673
|
+
name: "account",
|
|
14899
15674
|
type: "address",
|
|
14900
15675
|
internalType: "address"
|
|
14901
15676
|
},
|
|
14902
15677
|
{
|
|
14903
|
-
name: "
|
|
15678
|
+
name: "token",
|
|
14904
15679
|
type: "address",
|
|
14905
15680
|
internalType: "address"
|
|
15681
|
+
},
|
|
15682
|
+
{
|
|
15683
|
+
name: "amount",
|
|
15684
|
+
type: "uint256",
|
|
15685
|
+
internalType: "uint256"
|
|
15686
|
+
},
|
|
15687
|
+
{
|
|
15688
|
+
name: "balance",
|
|
15689
|
+
type: "uint256",
|
|
15690
|
+
internalType: "uint256"
|
|
14906
15691
|
}
|
|
14907
15692
|
]
|
|
14908
15693
|
},
|
|
14909
15694
|
{
|
|
14910
15695
|
type: "error",
|
|
14911
|
-
name: "
|
|
15696
|
+
name: "InvalidShortString",
|
|
14912
15697
|
inputs: [
|
|
14913
15698
|
]
|
|
14914
15699
|
},
|
|
14915
15700
|
{
|
|
14916
15701
|
type: "error",
|
|
14917
|
-
name: "
|
|
15702
|
+
name: "InvalidSponsorshipUpdate",
|
|
14918
15703
|
inputs: [
|
|
15704
|
+
{
|
|
15705
|
+
name: "account",
|
|
15706
|
+
type: "address",
|
|
15707
|
+
internalType: "address"
|
|
15708
|
+
}
|
|
14919
15709
|
]
|
|
14920
15710
|
},
|
|
14921
15711
|
{
|
|
14922
15712
|
type: "error",
|
|
14923
|
-
name: "
|
|
15713
|
+
name: "InvalidWithdrawal",
|
|
14924
15714
|
inputs: [
|
|
14925
15715
|
{
|
|
14926
|
-
name: "
|
|
15716
|
+
name: "account",
|
|
14927
15717
|
type: "address",
|
|
14928
15718
|
internalType: "address"
|
|
14929
15719
|
}
|
|
@@ -14931,8 +15721,28 @@ var RelayFundingPool = [
|
|
|
14931
15721
|
},
|
|
14932
15722
|
{
|
|
14933
15723
|
type: "error",
|
|
14934
|
-
name: "
|
|
15724
|
+
name: "PerOrderCapExceeded",
|
|
14935
15725
|
inputs: [
|
|
15726
|
+
{
|
|
15727
|
+
name: "account",
|
|
15728
|
+
type: "address",
|
|
15729
|
+
internalType: "address"
|
|
15730
|
+
},
|
|
15731
|
+
{
|
|
15732
|
+
name: "token",
|
|
15733
|
+
type: "address",
|
|
15734
|
+
internalType: "address"
|
|
15735
|
+
},
|
|
15736
|
+
{
|
|
15737
|
+
name: "orderTotal",
|
|
15738
|
+
type: "uint256",
|
|
15739
|
+
internalType: "uint256"
|
|
15740
|
+
},
|
|
15741
|
+
{
|
|
15742
|
+
name: "cap",
|
|
15743
|
+
type: "uint256",
|
|
15744
|
+
internalType: "uint256"
|
|
15745
|
+
}
|
|
14936
15746
|
]
|
|
14937
15747
|
},
|
|
14938
15748
|
{
|
|
@@ -14941,6 +15751,22 @@ var RelayFundingPool = [
|
|
|
14941
15751
|
inputs: [
|
|
14942
15752
|
]
|
|
14943
15753
|
},
|
|
15754
|
+
{
|
|
15755
|
+
type: "error",
|
|
15756
|
+
name: "ResolverNotAllowed",
|
|
15757
|
+
inputs: [
|
|
15758
|
+
{
|
|
15759
|
+
name: "account",
|
|
15760
|
+
type: "address",
|
|
15761
|
+
internalType: "address"
|
|
15762
|
+
},
|
|
15763
|
+
{
|
|
15764
|
+
name: "resolver",
|
|
15765
|
+
type: "address",
|
|
15766
|
+
internalType: "address"
|
|
15767
|
+
}
|
|
15768
|
+
]
|
|
15769
|
+
},
|
|
14944
15770
|
{
|
|
14945
15771
|
type: "error",
|
|
14946
15772
|
name: "SafeERC20FailedOperation",
|
|
@@ -14952,6 +15778,54 @@ var RelayFundingPool = [
|
|
|
14952
15778
|
}
|
|
14953
15779
|
]
|
|
14954
15780
|
},
|
|
15781
|
+
{
|
|
15782
|
+
type: "error",
|
|
15783
|
+
name: "SponsorshipConfigExpired",
|
|
15784
|
+
inputs: [
|
|
15785
|
+
{
|
|
15786
|
+
name: "account",
|
|
15787
|
+
type: "address",
|
|
15788
|
+
internalType: "address"
|
|
15789
|
+
},
|
|
15790
|
+
{
|
|
15791
|
+
name: "token",
|
|
15792
|
+
type: "address",
|
|
15793
|
+
internalType: "address"
|
|
15794
|
+
},
|
|
15795
|
+
{
|
|
15796
|
+
name: "expiry",
|
|
15797
|
+
type: "uint64",
|
|
15798
|
+
internalType: "uint64"
|
|
15799
|
+
}
|
|
15800
|
+
]
|
|
15801
|
+
},
|
|
15802
|
+
{
|
|
15803
|
+
type: "error",
|
|
15804
|
+
name: "SponsorshipNonceUsed",
|
|
15805
|
+
inputs: [
|
|
15806
|
+
{
|
|
15807
|
+
name: "account",
|
|
15808
|
+
type: "address",
|
|
15809
|
+
internalType: "address"
|
|
15810
|
+
},
|
|
15811
|
+
{
|
|
15812
|
+
name: "nonce",
|
|
15813
|
+
type: "uint256",
|
|
15814
|
+
internalType: "uint256"
|
|
15815
|
+
}
|
|
15816
|
+
]
|
|
15817
|
+
},
|
|
15818
|
+
{
|
|
15819
|
+
type: "error",
|
|
15820
|
+
name: "SponsorshipUpdateExpired",
|
|
15821
|
+
inputs: [
|
|
15822
|
+
{
|
|
15823
|
+
name: "deadline",
|
|
15824
|
+
type: "uint256",
|
|
15825
|
+
internalType: "uint256"
|
|
15826
|
+
}
|
|
15827
|
+
]
|
|
15828
|
+
},
|
|
14955
15829
|
{
|
|
14956
15830
|
type: "error",
|
|
14957
15831
|
name: "StringTooLong",
|
|
@@ -14963,6 +15837,33 @@ var RelayFundingPool = [
|
|
|
14963
15837
|
}
|
|
14964
15838
|
]
|
|
14965
15839
|
},
|
|
15840
|
+
{
|
|
15841
|
+
type: "error",
|
|
15842
|
+
name: "WithdrawalExpired",
|
|
15843
|
+
inputs: [
|
|
15844
|
+
{
|
|
15845
|
+
name: "deadline",
|
|
15846
|
+
type: "uint256",
|
|
15847
|
+
internalType: "uint256"
|
|
15848
|
+
}
|
|
15849
|
+
]
|
|
15850
|
+
},
|
|
15851
|
+
{
|
|
15852
|
+
type: "error",
|
|
15853
|
+
name: "WithdrawalNonceUsed",
|
|
15854
|
+
inputs: [
|
|
15855
|
+
{
|
|
15856
|
+
name: "account",
|
|
15857
|
+
type: "address",
|
|
15858
|
+
internalType: "address"
|
|
15859
|
+
},
|
|
15860
|
+
{
|
|
15861
|
+
name: "nonce",
|
|
15862
|
+
type: "uint256",
|
|
15863
|
+
internalType: "uint256"
|
|
15864
|
+
}
|
|
15865
|
+
]
|
|
15866
|
+
},
|
|
14966
15867
|
{
|
|
14967
15868
|
type: "error",
|
|
14968
15869
|
name: "ZeroAddress",
|
|
@@ -14992,11 +15893,6 @@ var RelayFundingPoolFactory = [
|
|
|
14992
15893
|
type: "address",
|
|
14993
15894
|
internalType: "address"
|
|
14994
15895
|
},
|
|
14995
|
-
{
|
|
14996
|
-
name: "authorizer",
|
|
14997
|
-
type: "address",
|
|
14998
|
-
internalType: "address"
|
|
14999
|
-
},
|
|
15000
15896
|
{
|
|
15001
15897
|
name: "withdrawer",
|
|
15002
15898
|
type: "address",
|
|
@@ -15079,11 +15975,6 @@ var RelayFundingPoolFactory = [
|
|
|
15079
15975
|
type: "address",
|
|
15080
15976
|
internalType: "address"
|
|
15081
15977
|
},
|
|
15082
|
-
{
|
|
15083
|
-
name: "authorizer",
|
|
15084
|
-
type: "address",
|
|
15085
|
-
internalType: "address"
|
|
15086
|
-
},
|
|
15087
15978
|
{
|
|
15088
15979
|
name: "withdrawer",
|
|
15089
15980
|
type: "address",
|
|
@@ -24631,4 +25522,4 @@ var MyToken = [
|
|
|
24631
25522
|
|
|
24632
25523
|
declare const RelayOracle: Record<string, unknown>[];
|
|
24633
25524
|
|
|
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,
|
|
25525
|
+
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 };
|