@relay-protocol/settlement-abis 2.0.6 → 2.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.d.mts +1146 -890
- package/dist/index.d.ts +1146 -890
- package/dist/index.js +953 -702
- package/dist/index.mjs +952 -700
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -79,9 +79,8 @@ __export(index_exports, {
|
|
|
79
79
|
MockWNEAR: () => MockWNEAR_default,
|
|
80
80
|
MulticallRouter: () => MulticallRouter_default,
|
|
81
81
|
MyToken: () => MyToken_default,
|
|
82
|
-
|
|
82
|
+
PoolDrawResolver: () => PoolDrawResolver_default,
|
|
83
83
|
PoolResolverBase: () => PoolResolverBase_default,
|
|
84
|
-
PoolSponsorshipResolver: () => PoolSponsorshipResolver_default,
|
|
85
84
|
PriceOraclePrecompile: () => PriceOraclePrecompile_default,
|
|
86
85
|
RelayAllocator: () => RelayAllocator_default,
|
|
87
86
|
RelayAmountRateLimiter: () => RelayAmountRateLimiter_default,
|
|
@@ -9547,8 +9546,8 @@ var ICallResolver_default = [
|
|
|
9547
9546
|
}
|
|
9548
9547
|
];
|
|
9549
9548
|
|
|
9550
|
-
// src/abis/call-resolvers/
|
|
9551
|
-
var
|
|
9549
|
+
// src/abis/call-resolvers/PoolDrawResolver.sol/PoolDrawResolver.json
|
|
9550
|
+
var PoolDrawResolver_default = [
|
|
9552
9551
|
{
|
|
9553
9552
|
type: "constructor",
|
|
9554
9553
|
inputs: [
|
|
@@ -9561,28 +9560,10 @@ var PoolExactOutputResolver_default = [
|
|
|
9561
9560
|
name: "hub",
|
|
9562
9561
|
type: "address",
|
|
9563
9562
|
internalType: "address"
|
|
9564
|
-
},
|
|
9565
|
-
{
|
|
9566
|
-
name: "exactOutputPool",
|
|
9567
|
-
type: "address",
|
|
9568
|
-
internalType: "address"
|
|
9569
9563
|
}
|
|
9570
9564
|
],
|
|
9571
9565
|
stateMutability: "nonpayable"
|
|
9572
9566
|
},
|
|
9573
|
-
{
|
|
9574
|
-
type: "function",
|
|
9575
|
-
name: "EXACT_OUTPUT_POOL",
|
|
9576
|
-
inputs: [],
|
|
9577
|
-
outputs: [
|
|
9578
|
-
{
|
|
9579
|
-
name: "",
|
|
9580
|
-
type: "address",
|
|
9581
|
-
internalType: "address"
|
|
9582
|
-
}
|
|
9583
|
-
],
|
|
9584
|
-
stateMutability: "view"
|
|
9585
|
-
},
|
|
9586
9567
|
{
|
|
9587
9568
|
type: "function",
|
|
9588
9569
|
name: "EXECUTOR",
|
|
@@ -9721,7 +9702,7 @@ var PoolExactOutputResolver_default = [
|
|
|
9721
9702
|
},
|
|
9722
9703
|
{
|
|
9723
9704
|
type: "event",
|
|
9724
|
-
name: "
|
|
9705
|
+
name: "DrawLegExecuted",
|
|
9725
9706
|
inputs: [
|
|
9726
9707
|
{
|
|
9727
9708
|
name: "requestHash",
|
|
@@ -9730,46 +9711,27 @@ var PoolExactOutputResolver_default = [
|
|
|
9730
9711
|
internalType: "bytes32"
|
|
9731
9712
|
},
|
|
9732
9713
|
{
|
|
9733
|
-
name: "
|
|
9714
|
+
name: "pool",
|
|
9734
9715
|
type: "address",
|
|
9735
9716
|
indexed: true,
|
|
9736
9717
|
internalType: "address"
|
|
9737
9718
|
},
|
|
9738
9719
|
{
|
|
9739
|
-
name: "
|
|
9740
|
-
type: "uint256",
|
|
9741
|
-
indexed: false,
|
|
9742
|
-
internalType: "uint256"
|
|
9743
|
-
},
|
|
9744
|
-
{
|
|
9745
|
-
name: "surplus",
|
|
9746
|
-
type: "uint256",
|
|
9747
|
-
indexed: false,
|
|
9748
|
-
internalType: "uint256"
|
|
9749
|
-
}
|
|
9750
|
-
],
|
|
9751
|
-
anonymous: false
|
|
9752
|
-
},
|
|
9753
|
-
{
|
|
9754
|
-
type: "event",
|
|
9755
|
-
name: "PoolSwapExecuted",
|
|
9756
|
-
inputs: [
|
|
9757
|
-
{
|
|
9758
|
-
name: "requestHash",
|
|
9759
|
-
type: "bytes32",
|
|
9760
|
-
indexed: true,
|
|
9761
|
-
internalType: "bytes32"
|
|
9762
|
-
},
|
|
9763
|
-
{
|
|
9764
|
-
name: "pool",
|
|
9720
|
+
name: "account",
|
|
9765
9721
|
type: "address",
|
|
9766
9722
|
indexed: true,
|
|
9767
9723
|
internalType: "address"
|
|
9768
9724
|
},
|
|
9725
|
+
{
|
|
9726
|
+
name: "kind",
|
|
9727
|
+
type: "uint8",
|
|
9728
|
+
indexed: false,
|
|
9729
|
+
internalType: "enum DrawLegKind"
|
|
9730
|
+
},
|
|
9769
9731
|
{
|
|
9770
9732
|
name: "tokenIn",
|
|
9771
9733
|
type: "address",
|
|
9772
|
-
indexed:
|
|
9734
|
+
indexed: false,
|
|
9773
9735
|
internalType: "address"
|
|
9774
9736
|
},
|
|
9775
9737
|
{
|
|
@@ -9779,13 +9741,13 @@ var PoolExactOutputResolver_default = [
|
|
|
9779
9741
|
internalType: "address"
|
|
9780
9742
|
},
|
|
9781
9743
|
{
|
|
9782
|
-
name: "
|
|
9744
|
+
name: "amountDrawn",
|
|
9783
9745
|
type: "uint256",
|
|
9784
9746
|
indexed: false,
|
|
9785
9747
|
internalType: "uint256"
|
|
9786
9748
|
},
|
|
9787
9749
|
{
|
|
9788
|
-
name: "
|
|
9750
|
+
name: "amountCredited",
|
|
9789
9751
|
type: "uint256",
|
|
9790
9752
|
indexed: false,
|
|
9791
9753
|
internalType: "uint256"
|
|
@@ -9795,15 +9757,20 @@ var PoolExactOutputResolver_default = [
|
|
|
9795
9757
|
},
|
|
9796
9758
|
{
|
|
9797
9759
|
type: "error",
|
|
9798
|
-
name: "
|
|
9760
|
+
name: "InsufficientDrawLegOutput",
|
|
9799
9761
|
inputs: [
|
|
9800
9762
|
{
|
|
9801
|
-
name: "
|
|
9763
|
+
name: "token",
|
|
9764
|
+
type: "address",
|
|
9765
|
+
internalType: "address"
|
|
9766
|
+
},
|
|
9767
|
+
{
|
|
9768
|
+
name: "amount",
|
|
9802
9769
|
type: "uint256",
|
|
9803
9770
|
internalType: "uint256"
|
|
9804
9771
|
},
|
|
9805
9772
|
{
|
|
9806
|
-
name: "
|
|
9773
|
+
name: "minimum",
|
|
9807
9774
|
type: "uint256",
|
|
9808
9775
|
internalType: "uint256"
|
|
9809
9776
|
}
|
|
@@ -9811,20 +9778,10 @@ var PoolExactOutputResolver_default = [
|
|
|
9811
9778
|
},
|
|
9812
9779
|
{
|
|
9813
9780
|
type: "error",
|
|
9814
|
-
name: "
|
|
9781
|
+
name: "MisorderedDrawLegs",
|
|
9815
9782
|
inputs: [
|
|
9816
9783
|
{
|
|
9817
|
-
name: "
|
|
9818
|
-
type: "address",
|
|
9819
|
-
internalType: "address"
|
|
9820
|
-
},
|
|
9821
|
-
{
|
|
9822
|
-
name: "amount",
|
|
9823
|
-
type: "uint256",
|
|
9824
|
-
internalType: "uint256"
|
|
9825
|
-
},
|
|
9826
|
-
{
|
|
9827
|
-
name: "minimum",
|
|
9784
|
+
name: "index",
|
|
9828
9785
|
type: "uint256",
|
|
9829
9786
|
internalType: "uint256"
|
|
9830
9787
|
}
|
|
@@ -9848,26 +9805,26 @@ var PoolExactOutputResolver_default = [
|
|
|
9848
9805
|
},
|
|
9849
9806
|
{
|
|
9850
9807
|
type: "error",
|
|
9851
|
-
name: "
|
|
9808
|
+
name: "SafeERC20FailedOperation",
|
|
9852
9809
|
inputs: [
|
|
9853
9810
|
{
|
|
9854
|
-
name: "
|
|
9855
|
-
type: "
|
|
9856
|
-
internalType: "
|
|
9857
|
-
},
|
|
9858
|
-
{
|
|
9859
|
-
name: "actual",
|
|
9860
|
-
type: "bytes32",
|
|
9861
|
-
internalType: "bytes32"
|
|
9811
|
+
name: "token",
|
|
9812
|
+
type: "address",
|
|
9813
|
+
internalType: "address"
|
|
9862
9814
|
}
|
|
9863
9815
|
]
|
|
9864
9816
|
},
|
|
9865
9817
|
{
|
|
9866
9818
|
type: "error",
|
|
9867
|
-
name: "
|
|
9819
|
+
name: "ShortfallTokenMismatch",
|
|
9868
9820
|
inputs: [
|
|
9869
9821
|
{
|
|
9870
|
-
name: "
|
|
9822
|
+
name: "tokenIn",
|
|
9823
|
+
type: "address",
|
|
9824
|
+
internalType: "address"
|
|
9825
|
+
},
|
|
9826
|
+
{
|
|
9827
|
+
name: "tokenOut",
|
|
9871
9828
|
type: "address",
|
|
9872
9829
|
internalType: "address"
|
|
9873
9830
|
}
|
|
@@ -9905,22 +9862,6 @@ var PoolExactOutputResolver_default = [
|
|
|
9905
9862
|
}
|
|
9906
9863
|
]
|
|
9907
9864
|
},
|
|
9908
|
-
{
|
|
9909
|
-
type: "error",
|
|
9910
|
-
name: "UnexpectedShortfallPool",
|
|
9911
|
-
inputs: [
|
|
9912
|
-
{
|
|
9913
|
-
name: "expected",
|
|
9914
|
-
type: "address",
|
|
9915
|
-
internalType: "address"
|
|
9916
|
-
},
|
|
9917
|
-
{
|
|
9918
|
-
name: "actual",
|
|
9919
|
-
type: "address",
|
|
9920
|
-
internalType: "address"
|
|
9921
|
-
}
|
|
9922
|
-
]
|
|
9923
|
-
},
|
|
9924
9865
|
{
|
|
9925
9866
|
type: "error",
|
|
9926
9867
|
name: "ZeroAddress",
|
|
@@ -10188,7 +10129,7 @@ var PoolResolverBase_default = [
|
|
|
10188
10129
|
},
|
|
10189
10130
|
{
|
|
10190
10131
|
type: "event",
|
|
10191
|
-
name: "
|
|
10132
|
+
name: "DrawLegExecuted",
|
|
10192
10133
|
inputs: [
|
|
10193
10134
|
{
|
|
10194
10135
|
name: "requestHash",
|
|
@@ -10203,11 +10144,23 @@ var PoolResolverBase_default = [
|
|
|
10203
10144
|
internalType: "address"
|
|
10204
10145
|
},
|
|
10205
10146
|
{
|
|
10206
|
-
name: "
|
|
10147
|
+
name: "account",
|
|
10207
10148
|
type: "address",
|
|
10208
10149
|
indexed: true,
|
|
10209
10150
|
internalType: "address"
|
|
10210
10151
|
},
|
|
10152
|
+
{
|
|
10153
|
+
name: "kind",
|
|
10154
|
+
type: "uint8",
|
|
10155
|
+
indexed: false,
|
|
10156
|
+
internalType: "enum DrawLegKind"
|
|
10157
|
+
},
|
|
10158
|
+
{
|
|
10159
|
+
name: "tokenIn",
|
|
10160
|
+
type: "address",
|
|
10161
|
+
indexed: false,
|
|
10162
|
+
internalType: "address"
|
|
10163
|
+
},
|
|
10211
10164
|
{
|
|
10212
10165
|
name: "tokenOut",
|
|
10213
10166
|
type: "address",
|
|
@@ -10215,13 +10168,13 @@ var PoolResolverBase_default = [
|
|
|
10215
10168
|
internalType: "address"
|
|
10216
10169
|
},
|
|
10217
10170
|
{
|
|
10218
|
-
name: "
|
|
10171
|
+
name: "amountDrawn",
|
|
10219
10172
|
type: "uint256",
|
|
10220
10173
|
indexed: false,
|
|
10221
10174
|
internalType: "uint256"
|
|
10222
10175
|
},
|
|
10223
10176
|
{
|
|
10224
|
-
name: "
|
|
10177
|
+
name: "amountCredited",
|
|
10225
10178
|
type: "uint256",
|
|
10226
10179
|
indexed: false,
|
|
10227
10180
|
internalType: "uint256"
|
|
@@ -10231,7 +10184,7 @@ var PoolResolverBase_default = [
|
|
|
10231
10184
|
},
|
|
10232
10185
|
{
|
|
10233
10186
|
type: "error",
|
|
10234
|
-
name: "
|
|
10187
|
+
name: "InsufficientDrawLegOutput",
|
|
10235
10188
|
inputs: [
|
|
10236
10189
|
{
|
|
10237
10190
|
name: "token",
|
|
@@ -10268,17 +10221,17 @@ var PoolResolverBase_default = [
|
|
|
10268
10221
|
},
|
|
10269
10222
|
{
|
|
10270
10223
|
type: "error",
|
|
10271
|
-
name: "
|
|
10224
|
+
name: "ShortfallTokenMismatch",
|
|
10272
10225
|
inputs: [
|
|
10273
10226
|
{
|
|
10274
|
-
name: "
|
|
10275
|
-
type: "
|
|
10276
|
-
internalType: "
|
|
10227
|
+
name: "tokenIn",
|
|
10228
|
+
type: "address",
|
|
10229
|
+
internalType: "address"
|
|
10277
10230
|
},
|
|
10278
10231
|
{
|
|
10279
|
-
name: "
|
|
10280
|
-
type: "
|
|
10281
|
-
internalType: "
|
|
10232
|
+
name: "tokenOut",
|
|
10233
|
+
type: "address",
|
|
10234
|
+
internalType: "address"
|
|
10282
10235
|
}
|
|
10283
10236
|
]
|
|
10284
10237
|
},
|
|
@@ -10321,434 +10274,134 @@ var PoolResolverBase_default = [
|
|
|
10321
10274
|
}
|
|
10322
10275
|
];
|
|
10323
10276
|
|
|
10324
|
-
// src/abis/call-resolvers/
|
|
10325
|
-
var
|
|
10277
|
+
// src/abis/call-resolvers/ResolverSandbox.sol/ResolverSandbox.json
|
|
10278
|
+
var ResolverSandbox_default = [
|
|
10326
10279
|
{
|
|
10327
10280
|
type: "constructor",
|
|
10328
|
-
inputs: [
|
|
10329
|
-
{
|
|
10330
|
-
name: "executor",
|
|
10331
|
-
type: "address",
|
|
10332
|
-
internalType: "address"
|
|
10333
|
-
},
|
|
10334
|
-
{
|
|
10335
|
-
name: "hub",
|
|
10336
|
-
type: "address",
|
|
10337
|
-
internalType: "address"
|
|
10338
|
-
}
|
|
10339
|
-
],
|
|
10281
|
+
inputs: [],
|
|
10340
10282
|
stateMutability: "nonpayable"
|
|
10341
10283
|
},
|
|
10342
10284
|
{
|
|
10343
10285
|
type: "function",
|
|
10344
|
-
name: "
|
|
10286
|
+
name: "OWNER",
|
|
10345
10287
|
inputs: [],
|
|
10346
10288
|
outputs: [
|
|
10347
10289
|
{
|
|
10348
10290
|
name: "",
|
|
10349
10291
|
type: "address",
|
|
10350
|
-
internalType: "
|
|
10292
|
+
internalType: "address"
|
|
10351
10293
|
}
|
|
10352
10294
|
],
|
|
10353
10295
|
stateMutability: "view"
|
|
10354
10296
|
},
|
|
10355
10297
|
{
|
|
10356
10298
|
type: "function",
|
|
10357
|
-
name: "
|
|
10358
|
-
inputs: [
|
|
10359
|
-
outputs: [
|
|
10299
|
+
name: "run",
|
|
10300
|
+
inputs: [
|
|
10360
10301
|
{
|
|
10361
|
-
name: "",
|
|
10302
|
+
name: "calls",
|
|
10303
|
+
type: "tuple[]",
|
|
10304
|
+
internalType: "struct Call[]",
|
|
10305
|
+
components: [
|
|
10306
|
+
{
|
|
10307
|
+
name: "to",
|
|
10308
|
+
type: "address",
|
|
10309
|
+
internalType: "address"
|
|
10310
|
+
},
|
|
10311
|
+
{
|
|
10312
|
+
name: "data",
|
|
10313
|
+
type: "bytes",
|
|
10314
|
+
internalType: "bytes"
|
|
10315
|
+
}
|
|
10316
|
+
]
|
|
10317
|
+
},
|
|
10318
|
+
{
|
|
10319
|
+
name: "returnTokens",
|
|
10320
|
+
type: "address[]",
|
|
10321
|
+
internalType: "address[]"
|
|
10322
|
+
},
|
|
10323
|
+
{
|
|
10324
|
+
name: "recipient",
|
|
10362
10325
|
type: "address",
|
|
10363
|
-
internalType: "
|
|
10326
|
+
internalType: "address"
|
|
10364
10327
|
}
|
|
10365
10328
|
],
|
|
10366
|
-
|
|
10329
|
+
outputs: [],
|
|
10330
|
+
stateMutability: "nonpayable"
|
|
10367
10331
|
},
|
|
10368
10332
|
{
|
|
10369
|
-
type: "
|
|
10370
|
-
name: "
|
|
10371
|
-
inputs: [
|
|
10372
|
-
outputs: [
|
|
10333
|
+
type: "error",
|
|
10334
|
+
name: "CallFailed",
|
|
10335
|
+
inputs: [
|
|
10373
10336
|
{
|
|
10374
|
-
name: "",
|
|
10337
|
+
name: "index",
|
|
10338
|
+
type: "uint256",
|
|
10339
|
+
internalType: "uint256"
|
|
10340
|
+
},
|
|
10341
|
+
{
|
|
10342
|
+
name: "target",
|
|
10375
10343
|
type: "address",
|
|
10376
|
-
internalType: "
|
|
10344
|
+
internalType: "address"
|
|
10345
|
+
},
|
|
10346
|
+
{
|
|
10347
|
+
name: "reason",
|
|
10348
|
+
type: "bytes",
|
|
10349
|
+
internalType: "bytes"
|
|
10377
10350
|
}
|
|
10378
|
-
]
|
|
10379
|
-
|
|
10351
|
+
]
|
|
10352
|
+
},
|
|
10353
|
+
{
|
|
10354
|
+
type: "error",
|
|
10355
|
+
name: "SafeERC20FailedOperation",
|
|
10356
|
+
inputs: [
|
|
10357
|
+
{
|
|
10358
|
+
name: "token",
|
|
10359
|
+
type: "address",
|
|
10360
|
+
internalType: "address"
|
|
10361
|
+
}
|
|
10362
|
+
]
|
|
10380
10363
|
},
|
|
10364
|
+
{
|
|
10365
|
+
type: "error",
|
|
10366
|
+
name: "UnauthorizedCaller",
|
|
10367
|
+
inputs: [
|
|
10368
|
+
{
|
|
10369
|
+
name: "caller",
|
|
10370
|
+
type: "address",
|
|
10371
|
+
internalType: "address"
|
|
10372
|
+
}
|
|
10373
|
+
]
|
|
10374
|
+
}
|
|
10375
|
+
];
|
|
10376
|
+
|
|
10377
|
+
// src/abis/deposit-addresses/open/RelayDepositAddressManager.sol/RelayDepositAddressManager.json
|
|
10378
|
+
var RelayDepositAddressManager_default = [
|
|
10381
10379
|
{
|
|
10382
10380
|
type: "function",
|
|
10383
|
-
name: "
|
|
10381
|
+
name: "trigger",
|
|
10384
10382
|
inputs: [
|
|
10385
10383
|
{
|
|
10386
|
-
name: "
|
|
10384
|
+
name: "input",
|
|
10387
10385
|
type: "tuple",
|
|
10388
|
-
internalType: "struct
|
|
10386
|
+
internalType: "struct RelayDepositAddressManager.Input",
|
|
10389
10387
|
components: [
|
|
10390
10388
|
{
|
|
10391
|
-
name: "
|
|
10389
|
+
name: "vmType",
|
|
10392
10390
|
type: "string",
|
|
10393
10391
|
internalType: "string"
|
|
10394
10392
|
},
|
|
10395
10393
|
{
|
|
10396
|
-
name: "
|
|
10397
|
-
type: "bytes",
|
|
10398
|
-
internalType: "bytes"
|
|
10399
|
-
},
|
|
10400
|
-
{
|
|
10401
|
-
name: "outChainId",
|
|
10394
|
+
name: "chainId",
|
|
10402
10395
|
type: "string",
|
|
10403
10396
|
internalType: "string"
|
|
10404
10397
|
},
|
|
10405
10398
|
{
|
|
10406
|
-
name: "
|
|
10399
|
+
name: "currency",
|
|
10407
10400
|
type: "bytes",
|
|
10408
10401
|
internalType: "bytes"
|
|
10409
10402
|
},
|
|
10410
10403
|
{
|
|
10411
|
-
name: "
|
|
10412
|
-
type: "uint256",
|
|
10413
|
-
internalType: "uint256"
|
|
10414
|
-
},
|
|
10415
|
-
{
|
|
10416
|
-
name: "depository",
|
|
10417
|
-
type: "bytes",
|
|
10418
|
-
internalType: "bytes"
|
|
10419
|
-
},
|
|
10420
|
-
{
|
|
10421
|
-
name: "orderAddress",
|
|
10422
|
-
type: "address",
|
|
10423
|
-
internalType: "address"
|
|
10424
|
-
},
|
|
10425
|
-
{
|
|
10426
|
-
name: "receiver",
|
|
10427
|
-
type: "bytes",
|
|
10428
|
-
internalType: "bytes"
|
|
10429
|
-
},
|
|
10430
|
-
{
|
|
10431
|
-
name: "data",
|
|
10432
|
-
type: "bytes",
|
|
10433
|
-
internalType: "bytes"
|
|
10434
|
-
},
|
|
10435
|
-
{
|
|
10436
|
-
name: "fees",
|
|
10437
|
-
type: "tuple[]",
|
|
10438
|
-
internalType: "struct Fee[]",
|
|
10439
|
-
components: [
|
|
10440
|
-
{
|
|
10441
|
-
name: "recipient",
|
|
10442
|
-
type: "address",
|
|
10443
|
-
internalType: "address"
|
|
10444
|
-
},
|
|
10445
|
-
{
|
|
10446
|
-
name: "amount",
|
|
10447
|
-
type: "uint256",
|
|
10448
|
-
internalType: "uint256"
|
|
10449
|
-
}
|
|
10450
|
-
]
|
|
10451
|
-
},
|
|
10452
|
-
{
|
|
10453
|
-
name: "nonce",
|
|
10454
|
-
type: "bytes32",
|
|
10455
|
-
internalType: "bytes32"
|
|
10456
|
-
},
|
|
10457
|
-
{
|
|
10458
|
-
name: "deadline",
|
|
10459
|
-
type: "uint256",
|
|
10460
|
-
internalType: "uint256"
|
|
10461
|
-
}
|
|
10462
|
-
]
|
|
10463
|
-
},
|
|
10464
|
-
{
|
|
10465
|
-
name: "feesCharged",
|
|
10466
|
-
type: "bool",
|
|
10467
|
-
internalType: "bool"
|
|
10468
|
-
},
|
|
10469
|
-
{
|
|
10470
|
-
name: "data",
|
|
10471
|
-
type: "bytes",
|
|
10472
|
-
internalType: "bytes"
|
|
10473
|
-
}
|
|
10474
|
-
],
|
|
10475
|
-
outputs: [],
|
|
10476
|
-
stateMutability: "nonpayable"
|
|
10477
|
-
},
|
|
10478
|
-
{
|
|
10479
|
-
type: "event",
|
|
10480
|
-
name: "PoolSwapExecuted",
|
|
10481
|
-
inputs: [
|
|
10482
|
-
{
|
|
10483
|
-
name: "requestHash",
|
|
10484
|
-
type: "bytes32",
|
|
10485
|
-
indexed: true,
|
|
10486
|
-
internalType: "bytes32"
|
|
10487
|
-
},
|
|
10488
|
-
{
|
|
10489
|
-
name: "pool",
|
|
10490
|
-
type: "address",
|
|
10491
|
-
indexed: true,
|
|
10492
|
-
internalType: "address"
|
|
10493
|
-
},
|
|
10494
|
-
{
|
|
10495
|
-
name: "tokenIn",
|
|
10496
|
-
type: "address",
|
|
10497
|
-
indexed: true,
|
|
10498
|
-
internalType: "address"
|
|
10499
|
-
},
|
|
10500
|
-
{
|
|
10501
|
-
name: "tokenOut",
|
|
10502
|
-
type: "address",
|
|
10503
|
-
indexed: false,
|
|
10504
|
-
internalType: "address"
|
|
10505
|
-
},
|
|
10506
|
-
{
|
|
10507
|
-
name: "amountInReceived",
|
|
10508
|
-
type: "uint256",
|
|
10509
|
-
indexed: false,
|
|
10510
|
-
internalType: "uint256"
|
|
10511
|
-
},
|
|
10512
|
-
{
|
|
10513
|
-
name: "amountOutProduced",
|
|
10514
|
-
type: "uint256",
|
|
10515
|
-
indexed: false,
|
|
10516
|
-
internalType: "uint256"
|
|
10517
|
-
}
|
|
10518
|
-
],
|
|
10519
|
-
anonymous: false
|
|
10520
|
-
},
|
|
10521
|
-
{
|
|
10522
|
-
type: "error",
|
|
10523
|
-
name: "InsufficientPoolSwapOutput",
|
|
10524
|
-
inputs: [
|
|
10525
|
-
{
|
|
10526
|
-
name: "token",
|
|
10527
|
-
type: "address",
|
|
10528
|
-
internalType: "address"
|
|
10529
|
-
},
|
|
10530
|
-
{
|
|
10531
|
-
name: "amount",
|
|
10532
|
-
type: "uint256",
|
|
10533
|
-
internalType: "uint256"
|
|
10534
|
-
},
|
|
10535
|
-
{
|
|
10536
|
-
name: "minimum",
|
|
10537
|
-
type: "uint256",
|
|
10538
|
-
internalType: "uint256"
|
|
10539
|
-
}
|
|
10540
|
-
]
|
|
10541
|
-
},
|
|
10542
|
-
{
|
|
10543
|
-
type: "error",
|
|
10544
|
-
name: "MissingTokenView",
|
|
10545
|
-
inputs: [
|
|
10546
|
-
{
|
|
10547
|
-
name: "tokenId",
|
|
10548
|
-
type: "uint256",
|
|
10549
|
-
internalType: "uint256"
|
|
10550
|
-
}
|
|
10551
|
-
]
|
|
10552
|
-
},
|
|
10553
|
-
{
|
|
10554
|
-
type: "error",
|
|
10555
|
-
name: "ReentrancyGuardReentrantCall",
|
|
10556
|
-
inputs: []
|
|
10557
|
-
},
|
|
10558
|
-
{
|
|
10559
|
-
type: "error",
|
|
10560
|
-
name: "RequestHashMismatch",
|
|
10561
|
-
inputs: [
|
|
10562
|
-
{
|
|
10563
|
-
name: "expected",
|
|
10564
|
-
type: "bytes32",
|
|
10565
|
-
internalType: "bytes32"
|
|
10566
|
-
},
|
|
10567
|
-
{
|
|
10568
|
-
name: "actual",
|
|
10569
|
-
type: "bytes32",
|
|
10570
|
-
internalType: "bytes32"
|
|
10571
|
-
}
|
|
10572
|
-
]
|
|
10573
|
-
},
|
|
10574
|
-
{
|
|
10575
|
-
type: "error",
|
|
10576
|
-
name: "SafeERC20FailedOperation",
|
|
10577
|
-
inputs: [
|
|
10578
|
-
{
|
|
10579
|
-
name: "token",
|
|
10580
|
-
type: "address",
|
|
10581
|
-
internalType: "address"
|
|
10582
|
-
}
|
|
10583
|
-
]
|
|
10584
|
-
},
|
|
10585
|
-
{
|
|
10586
|
-
type: "error",
|
|
10587
|
-
name: "TokenBalanceDecreased",
|
|
10588
|
-
inputs: [
|
|
10589
|
-
{
|
|
10590
|
-
name: "token",
|
|
10591
|
-
type: "address",
|
|
10592
|
-
internalType: "address"
|
|
10593
|
-
},
|
|
10594
|
-
{
|
|
10595
|
-
name: "before_",
|
|
10596
|
-
type: "uint256",
|
|
10597
|
-
internalType: "uint256"
|
|
10598
|
-
},
|
|
10599
|
-
{
|
|
10600
|
-
name: "after_",
|
|
10601
|
-
type: "uint256",
|
|
10602
|
-
internalType: "uint256"
|
|
10603
|
-
}
|
|
10604
|
-
]
|
|
10605
|
-
},
|
|
10606
|
-
{
|
|
10607
|
-
type: "error",
|
|
10608
|
-
name: "UnauthorizedExecutor",
|
|
10609
|
-
inputs: [
|
|
10610
|
-
{
|
|
10611
|
-
name: "caller",
|
|
10612
|
-
type: "address",
|
|
10613
|
-
internalType: "address"
|
|
10614
|
-
}
|
|
10615
|
-
]
|
|
10616
|
-
},
|
|
10617
|
-
{
|
|
10618
|
-
type: "error",
|
|
10619
|
-
name: "ZeroAddress",
|
|
10620
|
-
inputs: []
|
|
10621
|
-
}
|
|
10622
|
-
];
|
|
10623
|
-
|
|
10624
|
-
// src/abis/call-resolvers/ResolverSandbox.sol/ResolverSandbox.json
|
|
10625
|
-
var ResolverSandbox_default = [
|
|
10626
|
-
{
|
|
10627
|
-
type: "constructor",
|
|
10628
|
-
inputs: [],
|
|
10629
|
-
stateMutability: "nonpayable"
|
|
10630
|
-
},
|
|
10631
|
-
{
|
|
10632
|
-
type: "function",
|
|
10633
|
-
name: "OWNER",
|
|
10634
|
-
inputs: [],
|
|
10635
|
-
outputs: [
|
|
10636
|
-
{
|
|
10637
|
-
name: "",
|
|
10638
|
-
type: "address",
|
|
10639
|
-
internalType: "address"
|
|
10640
|
-
}
|
|
10641
|
-
],
|
|
10642
|
-
stateMutability: "view"
|
|
10643
|
-
},
|
|
10644
|
-
{
|
|
10645
|
-
type: "function",
|
|
10646
|
-
name: "run",
|
|
10647
|
-
inputs: [
|
|
10648
|
-
{
|
|
10649
|
-
name: "calls",
|
|
10650
|
-
type: "tuple[]",
|
|
10651
|
-
internalType: "struct Call[]",
|
|
10652
|
-
components: [
|
|
10653
|
-
{
|
|
10654
|
-
name: "to",
|
|
10655
|
-
type: "address",
|
|
10656
|
-
internalType: "address"
|
|
10657
|
-
},
|
|
10658
|
-
{
|
|
10659
|
-
name: "data",
|
|
10660
|
-
type: "bytes",
|
|
10661
|
-
internalType: "bytes"
|
|
10662
|
-
}
|
|
10663
|
-
]
|
|
10664
|
-
},
|
|
10665
|
-
{
|
|
10666
|
-
name: "returnTokens",
|
|
10667
|
-
type: "address[]",
|
|
10668
|
-
internalType: "address[]"
|
|
10669
|
-
},
|
|
10670
|
-
{
|
|
10671
|
-
name: "recipient",
|
|
10672
|
-
type: "address",
|
|
10673
|
-
internalType: "address"
|
|
10674
|
-
}
|
|
10675
|
-
],
|
|
10676
|
-
outputs: [],
|
|
10677
|
-
stateMutability: "nonpayable"
|
|
10678
|
-
},
|
|
10679
|
-
{
|
|
10680
|
-
type: "error",
|
|
10681
|
-
name: "CallFailed",
|
|
10682
|
-
inputs: [
|
|
10683
|
-
{
|
|
10684
|
-
name: "index",
|
|
10685
|
-
type: "uint256",
|
|
10686
|
-
internalType: "uint256"
|
|
10687
|
-
},
|
|
10688
|
-
{
|
|
10689
|
-
name: "target",
|
|
10690
|
-
type: "address",
|
|
10691
|
-
internalType: "address"
|
|
10692
|
-
},
|
|
10693
|
-
{
|
|
10694
|
-
name: "reason",
|
|
10695
|
-
type: "bytes",
|
|
10696
|
-
internalType: "bytes"
|
|
10697
|
-
}
|
|
10698
|
-
]
|
|
10699
|
-
},
|
|
10700
|
-
{
|
|
10701
|
-
type: "error",
|
|
10702
|
-
name: "SafeERC20FailedOperation",
|
|
10703
|
-
inputs: [
|
|
10704
|
-
{
|
|
10705
|
-
name: "token",
|
|
10706
|
-
type: "address",
|
|
10707
|
-
internalType: "address"
|
|
10708
|
-
}
|
|
10709
|
-
]
|
|
10710
|
-
},
|
|
10711
|
-
{
|
|
10712
|
-
type: "error",
|
|
10713
|
-
name: "UnauthorizedCaller",
|
|
10714
|
-
inputs: [
|
|
10715
|
-
{
|
|
10716
|
-
name: "caller",
|
|
10717
|
-
type: "address",
|
|
10718
|
-
internalType: "address"
|
|
10719
|
-
}
|
|
10720
|
-
]
|
|
10721
|
-
}
|
|
10722
|
-
];
|
|
10723
|
-
|
|
10724
|
-
// src/abis/deposit-addresses/open/RelayDepositAddressManager.sol/RelayDepositAddressManager.json
|
|
10725
|
-
var RelayDepositAddressManager_default = [
|
|
10726
|
-
{
|
|
10727
|
-
type: "function",
|
|
10728
|
-
name: "trigger",
|
|
10729
|
-
inputs: [
|
|
10730
|
-
{
|
|
10731
|
-
name: "input",
|
|
10732
|
-
type: "tuple",
|
|
10733
|
-
internalType: "struct RelayDepositAddressManager.Input",
|
|
10734
|
-
components: [
|
|
10735
|
-
{
|
|
10736
|
-
name: "vmType",
|
|
10737
|
-
type: "string",
|
|
10738
|
-
internalType: "string"
|
|
10739
|
-
},
|
|
10740
|
-
{
|
|
10741
|
-
name: "chainId",
|
|
10742
|
-
type: "string",
|
|
10743
|
-
internalType: "string"
|
|
10744
|
-
},
|
|
10745
|
-
{
|
|
10746
|
-
name: "currency",
|
|
10747
|
-
type: "bytes",
|
|
10748
|
-
internalType: "bytes"
|
|
10749
|
-
},
|
|
10750
|
-
{
|
|
10751
|
-
name: "amount",
|
|
10404
|
+
name: "amount",
|
|
10752
10405
|
type: "uint256",
|
|
10753
10406
|
internalType: "uint256"
|
|
10754
10407
|
}
|
|
@@ -13895,66 +13548,227 @@ var RelayBpsFeeCalculator_default = [
|
|
|
13895
13548
|
|
|
13896
13549
|
// src/abis/funding-pools/IRelayFundingPool.sol/IRelayFundingPool.json
|
|
13897
13550
|
var IRelayFundingPool_default = [
|
|
13551
|
+
{
|
|
13552
|
+
type: "function",
|
|
13553
|
+
name: "balances",
|
|
13554
|
+
inputs: [
|
|
13555
|
+
{
|
|
13556
|
+
name: "account",
|
|
13557
|
+
type: "address",
|
|
13558
|
+
internalType: "address"
|
|
13559
|
+
},
|
|
13560
|
+
{
|
|
13561
|
+
name: "token",
|
|
13562
|
+
type: "address",
|
|
13563
|
+
internalType: "address"
|
|
13564
|
+
}
|
|
13565
|
+
],
|
|
13566
|
+
outputs: [
|
|
13567
|
+
{
|
|
13568
|
+
name: "balance",
|
|
13569
|
+
type: "uint256",
|
|
13570
|
+
internalType: "uint256"
|
|
13571
|
+
}
|
|
13572
|
+
],
|
|
13573
|
+
stateMutability: "view"
|
|
13574
|
+
},
|
|
13575
|
+
{
|
|
13576
|
+
type: "function",
|
|
13577
|
+
name: "credit",
|
|
13578
|
+
inputs: [
|
|
13579
|
+
{
|
|
13580
|
+
name: "account",
|
|
13581
|
+
type: "address",
|
|
13582
|
+
internalType: "address"
|
|
13583
|
+
},
|
|
13584
|
+
{
|
|
13585
|
+
name: "token",
|
|
13586
|
+
type: "address",
|
|
13587
|
+
internalType: "address"
|
|
13588
|
+
},
|
|
13589
|
+
{
|
|
13590
|
+
name: "amount",
|
|
13591
|
+
type: "uint256",
|
|
13592
|
+
internalType: "uint256"
|
|
13593
|
+
}
|
|
13594
|
+
],
|
|
13595
|
+
outputs: [],
|
|
13596
|
+
stateMutability: "nonpayable"
|
|
13597
|
+
},
|
|
13898
13598
|
{
|
|
13899
13599
|
type: "function",
|
|
13900
13600
|
name: "debit",
|
|
13901
13601
|
inputs: [
|
|
13902
13602
|
{
|
|
13903
|
-
name: "
|
|
13603
|
+
name: "account",
|
|
13604
|
+
type: "address",
|
|
13605
|
+
internalType: "address"
|
|
13606
|
+
},
|
|
13607
|
+
{
|
|
13608
|
+
name: "token",
|
|
13609
|
+
type: "address",
|
|
13610
|
+
internalType: "address"
|
|
13611
|
+
},
|
|
13612
|
+
{
|
|
13613
|
+
name: "amount",
|
|
13614
|
+
type: "uint256",
|
|
13615
|
+
internalType: "uint256"
|
|
13616
|
+
},
|
|
13617
|
+
{
|
|
13618
|
+
name: "requestHash",
|
|
13619
|
+
type: "bytes32",
|
|
13620
|
+
internalType: "bytes32"
|
|
13621
|
+
}
|
|
13622
|
+
],
|
|
13623
|
+
outputs: [],
|
|
13624
|
+
stateMutability: "nonpayable"
|
|
13625
|
+
},
|
|
13626
|
+
{
|
|
13627
|
+
type: "function",
|
|
13628
|
+
name: "depositFor",
|
|
13629
|
+
inputs: [
|
|
13630
|
+
{
|
|
13631
|
+
name: "account",
|
|
13632
|
+
type: "address",
|
|
13633
|
+
internalType: "address"
|
|
13634
|
+
},
|
|
13635
|
+
{
|
|
13636
|
+
name: "token",
|
|
13637
|
+
type: "address",
|
|
13638
|
+
internalType: "address"
|
|
13639
|
+
},
|
|
13640
|
+
{
|
|
13641
|
+
name: "amount",
|
|
13642
|
+
type: "uint256",
|
|
13643
|
+
internalType: "uint256"
|
|
13644
|
+
}
|
|
13645
|
+
],
|
|
13646
|
+
outputs: [],
|
|
13647
|
+
stateMutability: "nonpayable"
|
|
13648
|
+
},
|
|
13649
|
+
{
|
|
13650
|
+
type: "function",
|
|
13651
|
+
name: "drawRecords",
|
|
13652
|
+
inputs: [
|
|
13653
|
+
{
|
|
13654
|
+
name: "requestHash",
|
|
13655
|
+
type: "bytes32",
|
|
13656
|
+
internalType: "bytes32"
|
|
13657
|
+
},
|
|
13658
|
+
{
|
|
13659
|
+
name: "account",
|
|
13660
|
+
type: "address",
|
|
13661
|
+
internalType: "address"
|
|
13662
|
+
}
|
|
13663
|
+
],
|
|
13664
|
+
outputs: [
|
|
13665
|
+
{
|
|
13666
|
+
name: "drawn",
|
|
13667
|
+
type: "bool",
|
|
13668
|
+
internalType: "bool"
|
|
13669
|
+
}
|
|
13670
|
+
],
|
|
13671
|
+
stateMutability: "view"
|
|
13672
|
+
},
|
|
13673
|
+
{
|
|
13674
|
+
type: "function",
|
|
13675
|
+
name: "hashWithdrawal",
|
|
13676
|
+
inputs: [
|
|
13677
|
+
{
|
|
13678
|
+
name: "withdrawal",
|
|
13904
13679
|
type: "tuple",
|
|
13905
|
-
internalType: "struct
|
|
13680
|
+
internalType: "struct PoolWithdrawal",
|
|
13906
13681
|
components: [
|
|
13907
13682
|
{
|
|
13908
|
-
name: "
|
|
13909
|
-
type: "bytes32",
|
|
13910
|
-
internalType: "bytes32"
|
|
13911
|
-
},
|
|
13912
|
-
{
|
|
13913
|
-
name: "authorizer",
|
|
13683
|
+
name: "account",
|
|
13914
13684
|
type: "address",
|
|
13915
13685
|
internalType: "address"
|
|
13916
13686
|
},
|
|
13917
13687
|
{
|
|
13918
|
-
name: "
|
|
13688
|
+
name: "token",
|
|
13919
13689
|
type: "address",
|
|
13920
13690
|
internalType: "address"
|
|
13921
13691
|
},
|
|
13922
13692
|
{
|
|
13923
|
-
name: "
|
|
13924
|
-
type: "
|
|
13925
|
-
internalType: "
|
|
13693
|
+
name: "amount",
|
|
13694
|
+
type: "uint256",
|
|
13695
|
+
internalType: "uint256"
|
|
13926
13696
|
},
|
|
13927
13697
|
{
|
|
13928
|
-
name: "
|
|
13698
|
+
name: "recipient",
|
|
13929
13699
|
type: "address",
|
|
13930
13700
|
internalType: "address"
|
|
13931
13701
|
},
|
|
13932
13702
|
{
|
|
13933
|
-
name: "
|
|
13703
|
+
name: "nonce",
|
|
13934
13704
|
type: "uint256",
|
|
13935
13705
|
internalType: "uint256"
|
|
13936
13706
|
},
|
|
13937
13707
|
{
|
|
13938
|
-
name: "
|
|
13708
|
+
name: "deadline",
|
|
13939
13709
|
type: "uint256",
|
|
13940
13710
|
internalType: "uint256"
|
|
13941
|
-
}
|
|
13711
|
+
}
|
|
13712
|
+
]
|
|
13713
|
+
}
|
|
13714
|
+
],
|
|
13715
|
+
outputs: [
|
|
13716
|
+
{
|
|
13717
|
+
name: "digest",
|
|
13718
|
+
type: "bytes32",
|
|
13719
|
+
internalType: "bytes32"
|
|
13720
|
+
}
|
|
13721
|
+
],
|
|
13722
|
+
stateMutability: "view"
|
|
13723
|
+
},
|
|
13724
|
+
{
|
|
13725
|
+
type: "function",
|
|
13726
|
+
name: "setSponsorshipConfig",
|
|
13727
|
+
inputs: [
|
|
13728
|
+
{
|
|
13729
|
+
name: "token",
|
|
13730
|
+
type: "address",
|
|
13731
|
+
internalType: "address"
|
|
13732
|
+
},
|
|
13733
|
+
{
|
|
13734
|
+
name: "config",
|
|
13735
|
+
type: "tuple",
|
|
13736
|
+
internalType: "struct SponsorshipConfig",
|
|
13737
|
+
components: [
|
|
13942
13738
|
{
|
|
13943
|
-
name: "
|
|
13739
|
+
name: "perOrderCap",
|
|
13944
13740
|
type: "uint256",
|
|
13945
13741
|
internalType: "uint256"
|
|
13946
13742
|
},
|
|
13947
13743
|
{
|
|
13948
|
-
name: "
|
|
13744
|
+
name: "budget",
|
|
13949
13745
|
type: "uint256",
|
|
13950
13746
|
internalType: "uint256"
|
|
13747
|
+
},
|
|
13748
|
+
{
|
|
13749
|
+
name: "expiry",
|
|
13750
|
+
type: "uint64",
|
|
13751
|
+
internalType: "uint64"
|
|
13951
13752
|
}
|
|
13952
13753
|
]
|
|
13754
|
+
}
|
|
13755
|
+
],
|
|
13756
|
+
outputs: [],
|
|
13757
|
+
stateMutability: "nonpayable"
|
|
13758
|
+
},
|
|
13759
|
+
{
|
|
13760
|
+
type: "function",
|
|
13761
|
+
name: "setSponsorshipResolver",
|
|
13762
|
+
inputs: [
|
|
13763
|
+
{
|
|
13764
|
+
name: "resolver",
|
|
13765
|
+
type: "address",
|
|
13766
|
+
internalType: "address"
|
|
13953
13767
|
},
|
|
13954
13768
|
{
|
|
13955
|
-
name: "
|
|
13956
|
-
type: "
|
|
13957
|
-
internalType: "
|
|
13769
|
+
name: "allowed",
|
|
13770
|
+
type: "bool",
|
|
13771
|
+
internalType: "bool"
|
|
13958
13772
|
}
|
|
13959
13773
|
],
|
|
13960
13774
|
outputs: [],
|
|
@@ -13962,47 +13776,90 @@ var IRelayFundingPool_default = [
|
|
|
13962
13776
|
},
|
|
13963
13777
|
{
|
|
13964
13778
|
type: "function",
|
|
13965
|
-
name: "
|
|
13779
|
+
name: "sponsorshipConfig",
|
|
13780
|
+
inputs: [
|
|
13781
|
+
{
|
|
13782
|
+
name: "account",
|
|
13783
|
+
type: "address",
|
|
13784
|
+
internalType: "address"
|
|
13785
|
+
},
|
|
13786
|
+
{
|
|
13787
|
+
name: "token",
|
|
13788
|
+
type: "address",
|
|
13789
|
+
internalType: "address"
|
|
13790
|
+
}
|
|
13791
|
+
],
|
|
13792
|
+
outputs: [
|
|
13793
|
+
{
|
|
13794
|
+
name: "perOrderCap",
|
|
13795
|
+
type: "uint256",
|
|
13796
|
+
internalType: "uint256"
|
|
13797
|
+
},
|
|
13798
|
+
{
|
|
13799
|
+
name: "budget",
|
|
13800
|
+
type: "uint256",
|
|
13801
|
+
internalType: "uint256"
|
|
13802
|
+
},
|
|
13803
|
+
{
|
|
13804
|
+
name: "expiry",
|
|
13805
|
+
type: "uint64",
|
|
13806
|
+
internalType: "uint64"
|
|
13807
|
+
}
|
|
13808
|
+
],
|
|
13809
|
+
stateMutability: "view"
|
|
13810
|
+
},
|
|
13811
|
+
{
|
|
13812
|
+
type: "function",
|
|
13813
|
+
name: "sponsorshipResolvers",
|
|
13814
|
+
inputs: [
|
|
13815
|
+
{
|
|
13816
|
+
name: "account",
|
|
13817
|
+
type: "address",
|
|
13818
|
+
internalType: "address"
|
|
13819
|
+
},
|
|
13820
|
+
{
|
|
13821
|
+
name: "resolver",
|
|
13822
|
+
type: "address",
|
|
13823
|
+
internalType: "address"
|
|
13824
|
+
}
|
|
13825
|
+
],
|
|
13826
|
+
outputs: [
|
|
13827
|
+
{
|
|
13828
|
+
name: "allowed",
|
|
13829
|
+
type: "bool",
|
|
13830
|
+
internalType: "bool"
|
|
13831
|
+
}
|
|
13832
|
+
],
|
|
13833
|
+
stateMutability: "view"
|
|
13834
|
+
},
|
|
13835
|
+
{
|
|
13836
|
+
type: "function",
|
|
13837
|
+
name: "withdraw",
|
|
13966
13838
|
inputs: [
|
|
13967
13839
|
{
|
|
13968
|
-
name: "
|
|
13840
|
+
name: "withdrawal",
|
|
13969
13841
|
type: "tuple",
|
|
13970
|
-
internalType: "struct
|
|
13842
|
+
internalType: "struct PoolWithdrawal",
|
|
13971
13843
|
components: [
|
|
13972
13844
|
{
|
|
13973
|
-
name: "
|
|
13974
|
-
type: "bytes32",
|
|
13975
|
-
internalType: "bytes32"
|
|
13976
|
-
},
|
|
13977
|
-
{
|
|
13978
|
-
name: "authorizer",
|
|
13979
|
-
type: "address",
|
|
13980
|
-
internalType: "address"
|
|
13981
|
-
},
|
|
13982
|
-
{
|
|
13983
|
-
name: "resolver",
|
|
13984
|
-
type: "address",
|
|
13985
|
-
internalType: "address"
|
|
13986
|
-
},
|
|
13987
|
-
{
|
|
13988
|
-
name: "tokenIn",
|
|
13845
|
+
name: "account",
|
|
13989
13846
|
type: "address",
|
|
13990
13847
|
internalType: "address"
|
|
13991
13848
|
},
|
|
13992
13849
|
{
|
|
13993
|
-
name: "
|
|
13850
|
+
name: "token",
|
|
13994
13851
|
type: "address",
|
|
13995
13852
|
internalType: "address"
|
|
13996
13853
|
},
|
|
13997
13854
|
{
|
|
13998
|
-
name: "
|
|
13855
|
+
name: "amount",
|
|
13999
13856
|
type: "uint256",
|
|
14000
13857
|
internalType: "uint256"
|
|
14001
13858
|
},
|
|
14002
13859
|
{
|
|
14003
|
-
name: "
|
|
14004
|
-
type: "
|
|
14005
|
-
internalType: "
|
|
13860
|
+
name: "recipient",
|
|
13861
|
+
type: "address",
|
|
13862
|
+
internalType: "address"
|
|
14006
13863
|
},
|
|
14007
13864
|
{
|
|
14008
13865
|
name: "nonce",
|
|
@@ -14015,16 +13872,15 @@ var IRelayFundingPool_default = [
|
|
|
14015
13872
|
internalType: "uint256"
|
|
14016
13873
|
}
|
|
14017
13874
|
]
|
|
14018
|
-
}
|
|
14019
|
-
],
|
|
14020
|
-
outputs: [
|
|
13875
|
+
},
|
|
14021
13876
|
{
|
|
14022
|
-
name: "
|
|
14023
|
-
type: "
|
|
14024
|
-
internalType: "
|
|
13877
|
+
name: "signature",
|
|
13878
|
+
type: "bytes",
|
|
13879
|
+
internalType: "bytes"
|
|
14025
13880
|
}
|
|
14026
13881
|
],
|
|
14027
|
-
|
|
13882
|
+
outputs: [],
|
|
13883
|
+
stateMutability: "nonpayable"
|
|
14028
13884
|
}
|
|
14029
13885
|
];
|
|
14030
13886
|
|
|
@@ -14038,11 +13894,6 @@ var RelayFundingPool_default = [
|
|
|
14038
13894
|
type: "address",
|
|
14039
13895
|
internalType: "address"
|
|
14040
13896
|
},
|
|
14041
|
-
{
|
|
14042
|
-
name: "authorizer",
|
|
14043
|
-
type: "address",
|
|
14044
|
-
internalType: "address"
|
|
14045
|
-
},
|
|
14046
13897
|
{
|
|
14047
13898
|
name: "withdrawer",
|
|
14048
13899
|
type: "address",
|
|
@@ -14071,7 +13922,7 @@ var RelayFundingPool_default = [
|
|
|
14071
13922
|
},
|
|
14072
13923
|
{
|
|
14073
13924
|
type: "function",
|
|
14074
|
-
name: "
|
|
13925
|
+
name: "DEFAULT_ADMIN_ROLE",
|
|
14075
13926
|
inputs: [],
|
|
14076
13927
|
outputs: [
|
|
14077
13928
|
{
|
|
@@ -14084,7 +13935,7 @@ var RelayFundingPool_default = [
|
|
|
14084
13935
|
},
|
|
14085
13936
|
{
|
|
14086
13937
|
type: "function",
|
|
14087
|
-
name: "
|
|
13938
|
+
name: "POOL_WITHDRAWAL_TYPEHASH",
|
|
14088
13939
|
inputs: [],
|
|
14089
13940
|
outputs: [
|
|
14090
13941
|
{
|
|
@@ -14097,7 +13948,7 @@ var RelayFundingPool_default = [
|
|
|
14097
13948
|
},
|
|
14098
13949
|
{
|
|
14099
13950
|
type: "function",
|
|
14100
|
-
name: "
|
|
13951
|
+
name: "RESOLVER_ROLE",
|
|
14101
13952
|
inputs: [],
|
|
14102
13953
|
outputs: [
|
|
14103
13954
|
{
|
|
@@ -14110,7 +13961,7 @@ var RelayFundingPool_default = [
|
|
|
14110
13961
|
},
|
|
14111
13962
|
{
|
|
14112
13963
|
type: "function",
|
|
14113
|
-
name: "
|
|
13964
|
+
name: "WITHDRAWER_ROLE",
|
|
14114
13965
|
inputs: [],
|
|
14115
13966
|
outputs: [
|
|
14116
13967
|
{
|
|
@@ -14123,82 +13974,126 @@ var RelayFundingPool_default = [
|
|
|
14123
13974
|
},
|
|
14124
13975
|
{
|
|
14125
13976
|
type: "function",
|
|
14126
|
-
name: "
|
|
14127
|
-
inputs: [
|
|
13977
|
+
name: "balances",
|
|
13978
|
+
inputs: [
|
|
13979
|
+
{
|
|
13980
|
+
name: "account",
|
|
13981
|
+
type: "address",
|
|
13982
|
+
internalType: "address"
|
|
13983
|
+
},
|
|
13984
|
+
{
|
|
13985
|
+
name: "token",
|
|
13986
|
+
type: "address",
|
|
13987
|
+
internalType: "address"
|
|
13988
|
+
}
|
|
13989
|
+
],
|
|
14128
13990
|
outputs: [
|
|
14129
13991
|
{
|
|
14130
|
-
name: "",
|
|
14131
|
-
type: "
|
|
14132
|
-
internalType: "
|
|
13992
|
+
name: "balance",
|
|
13993
|
+
type: "uint256",
|
|
13994
|
+
internalType: "uint256"
|
|
14133
13995
|
}
|
|
14134
13996
|
],
|
|
14135
13997
|
stateMutability: "view"
|
|
14136
13998
|
},
|
|
13999
|
+
{
|
|
14000
|
+
type: "function",
|
|
14001
|
+
name: "credit",
|
|
14002
|
+
inputs: [
|
|
14003
|
+
{
|
|
14004
|
+
name: "account",
|
|
14005
|
+
type: "address",
|
|
14006
|
+
internalType: "address"
|
|
14007
|
+
},
|
|
14008
|
+
{
|
|
14009
|
+
name: "token",
|
|
14010
|
+
type: "address",
|
|
14011
|
+
internalType: "address"
|
|
14012
|
+
},
|
|
14013
|
+
{
|
|
14014
|
+
name: "amount",
|
|
14015
|
+
type: "uint256",
|
|
14016
|
+
internalType: "uint256"
|
|
14017
|
+
}
|
|
14018
|
+
],
|
|
14019
|
+
outputs: [],
|
|
14020
|
+
stateMutability: "nonpayable"
|
|
14021
|
+
},
|
|
14137
14022
|
{
|
|
14138
14023
|
type: "function",
|
|
14139
14024
|
name: "debit",
|
|
14140
14025
|
inputs: [
|
|
14141
14026
|
{
|
|
14142
|
-
name: "
|
|
14143
|
-
type: "
|
|
14144
|
-
internalType: "
|
|
14145
|
-
|
|
14146
|
-
|
|
14147
|
-
|
|
14148
|
-
|
|
14149
|
-
|
|
14150
|
-
|
|
14151
|
-
|
|
14152
|
-
|
|
14153
|
-
|
|
14154
|
-
|
|
14155
|
-
|
|
14156
|
-
|
|
14157
|
-
|
|
14158
|
-
|
|
14159
|
-
|
|
14160
|
-
|
|
14161
|
-
|
|
14162
|
-
|
|
14163
|
-
|
|
14164
|
-
|
|
14165
|
-
|
|
14166
|
-
|
|
14167
|
-
|
|
14168
|
-
|
|
14169
|
-
|
|
14170
|
-
|
|
14171
|
-
|
|
14172
|
-
|
|
14173
|
-
type: "uint256",
|
|
14174
|
-
internalType: "uint256"
|
|
14175
|
-
},
|
|
14176
|
-
{
|
|
14177
|
-
name: "amountOutMinimum",
|
|
14178
|
-
type: "uint256",
|
|
14179
|
-
internalType: "uint256"
|
|
14180
|
-
},
|
|
14181
|
-
{
|
|
14182
|
-
name: "nonce",
|
|
14183
|
-
type: "uint256",
|
|
14184
|
-
internalType: "uint256"
|
|
14185
|
-
},
|
|
14186
|
-
{
|
|
14187
|
-
name: "deadline",
|
|
14188
|
-
type: "uint256",
|
|
14189
|
-
internalType: "uint256"
|
|
14190
|
-
}
|
|
14191
|
-
]
|
|
14027
|
+
name: "account",
|
|
14028
|
+
type: "address",
|
|
14029
|
+
internalType: "address"
|
|
14030
|
+
},
|
|
14031
|
+
{
|
|
14032
|
+
name: "token",
|
|
14033
|
+
type: "address",
|
|
14034
|
+
internalType: "address"
|
|
14035
|
+
},
|
|
14036
|
+
{
|
|
14037
|
+
name: "amount",
|
|
14038
|
+
type: "uint256",
|
|
14039
|
+
internalType: "uint256"
|
|
14040
|
+
},
|
|
14041
|
+
{
|
|
14042
|
+
name: "requestHash",
|
|
14043
|
+
type: "bytes32",
|
|
14044
|
+
internalType: "bytes32"
|
|
14045
|
+
}
|
|
14046
|
+
],
|
|
14047
|
+
outputs: [],
|
|
14048
|
+
stateMutability: "nonpayable"
|
|
14049
|
+
},
|
|
14050
|
+
{
|
|
14051
|
+
type: "function",
|
|
14052
|
+
name: "depositFor",
|
|
14053
|
+
inputs: [
|
|
14054
|
+
{
|
|
14055
|
+
name: "account",
|
|
14056
|
+
type: "address",
|
|
14057
|
+
internalType: "address"
|
|
14192
14058
|
},
|
|
14193
14059
|
{
|
|
14194
|
-
name: "
|
|
14195
|
-
type: "
|
|
14196
|
-
internalType: "
|
|
14060
|
+
name: "token",
|
|
14061
|
+
type: "address",
|
|
14062
|
+
internalType: "address"
|
|
14063
|
+
},
|
|
14064
|
+
{
|
|
14065
|
+
name: "amount",
|
|
14066
|
+
type: "uint256",
|
|
14067
|
+
internalType: "uint256"
|
|
14197
14068
|
}
|
|
14198
14069
|
],
|
|
14199
14070
|
outputs: [],
|
|
14200
14071
|
stateMutability: "nonpayable"
|
|
14201
14072
|
},
|
|
14073
|
+
{
|
|
14074
|
+
type: "function",
|
|
14075
|
+
name: "drawRecords",
|
|
14076
|
+
inputs: [
|
|
14077
|
+
{
|
|
14078
|
+
name: "requestHash",
|
|
14079
|
+
type: "bytes32",
|
|
14080
|
+
internalType: "bytes32"
|
|
14081
|
+
},
|
|
14082
|
+
{
|
|
14083
|
+
name: "account",
|
|
14084
|
+
type: "address",
|
|
14085
|
+
internalType: "address"
|
|
14086
|
+
}
|
|
14087
|
+
],
|
|
14088
|
+
outputs: [
|
|
14089
|
+
{
|
|
14090
|
+
name: "drawn",
|
|
14091
|
+
type: "bool",
|
|
14092
|
+
internalType: "bool"
|
|
14093
|
+
}
|
|
14094
|
+
],
|
|
14095
|
+
stateMutability: "view"
|
|
14096
|
+
},
|
|
14202
14097
|
{
|
|
14203
14098
|
type: "function",
|
|
14204
14099
|
name: "eip712Domain",
|
|
@@ -14305,47 +14200,32 @@ var RelayFundingPool_default = [
|
|
|
14305
14200
|
},
|
|
14306
14201
|
{
|
|
14307
14202
|
type: "function",
|
|
14308
|
-
name: "
|
|
14203
|
+
name: "hashWithdrawal",
|
|
14309
14204
|
inputs: [
|
|
14310
14205
|
{
|
|
14311
|
-
name: "
|
|
14206
|
+
name: "withdrawal",
|
|
14312
14207
|
type: "tuple",
|
|
14313
|
-
internalType: "struct
|
|
14208
|
+
internalType: "struct PoolWithdrawal",
|
|
14314
14209
|
components: [
|
|
14315
14210
|
{
|
|
14316
|
-
name: "
|
|
14317
|
-
type: "bytes32",
|
|
14318
|
-
internalType: "bytes32"
|
|
14319
|
-
},
|
|
14320
|
-
{
|
|
14321
|
-
name: "authorizer",
|
|
14322
|
-
type: "address",
|
|
14323
|
-
internalType: "address"
|
|
14324
|
-
},
|
|
14325
|
-
{
|
|
14326
|
-
name: "resolver",
|
|
14327
|
-
type: "address",
|
|
14328
|
-
internalType: "address"
|
|
14329
|
-
},
|
|
14330
|
-
{
|
|
14331
|
-
name: "tokenIn",
|
|
14211
|
+
name: "account",
|
|
14332
14212
|
type: "address",
|
|
14333
14213
|
internalType: "address"
|
|
14334
14214
|
},
|
|
14335
14215
|
{
|
|
14336
|
-
name: "
|
|
14216
|
+
name: "token",
|
|
14337
14217
|
type: "address",
|
|
14338
14218
|
internalType: "address"
|
|
14339
14219
|
},
|
|
14340
14220
|
{
|
|
14341
|
-
name: "
|
|
14221
|
+
name: "amount",
|
|
14342
14222
|
type: "uint256",
|
|
14343
14223
|
internalType: "uint256"
|
|
14344
14224
|
},
|
|
14345
14225
|
{
|
|
14346
|
-
name: "
|
|
14347
|
-
type: "
|
|
14348
|
-
internalType: "
|
|
14226
|
+
name: "recipient",
|
|
14227
|
+
type: "address",
|
|
14228
|
+
internalType: "address"
|
|
14349
14229
|
},
|
|
14350
14230
|
{
|
|
14351
14231
|
name: "nonce",
|
|
@@ -14425,6 +14305,117 @@ var RelayFundingPool_default = [
|
|
|
14425
14305
|
outputs: [],
|
|
14426
14306
|
stateMutability: "nonpayable"
|
|
14427
14307
|
},
|
|
14308
|
+
{
|
|
14309
|
+
type: "function",
|
|
14310
|
+
name: "setSponsorshipConfig",
|
|
14311
|
+
inputs: [
|
|
14312
|
+
{
|
|
14313
|
+
name: "token",
|
|
14314
|
+
type: "address",
|
|
14315
|
+
internalType: "address"
|
|
14316
|
+
},
|
|
14317
|
+
{
|
|
14318
|
+
name: "config",
|
|
14319
|
+
type: "tuple",
|
|
14320
|
+
internalType: "struct SponsorshipConfig",
|
|
14321
|
+
components: [
|
|
14322
|
+
{
|
|
14323
|
+
name: "perOrderCap",
|
|
14324
|
+
type: "uint256",
|
|
14325
|
+
internalType: "uint256"
|
|
14326
|
+
},
|
|
14327
|
+
{
|
|
14328
|
+
name: "budget",
|
|
14329
|
+
type: "uint256",
|
|
14330
|
+
internalType: "uint256"
|
|
14331
|
+
},
|
|
14332
|
+
{
|
|
14333
|
+
name: "expiry",
|
|
14334
|
+
type: "uint64",
|
|
14335
|
+
internalType: "uint64"
|
|
14336
|
+
}
|
|
14337
|
+
]
|
|
14338
|
+
}
|
|
14339
|
+
],
|
|
14340
|
+
outputs: [],
|
|
14341
|
+
stateMutability: "nonpayable"
|
|
14342
|
+
},
|
|
14343
|
+
{
|
|
14344
|
+
type: "function",
|
|
14345
|
+
name: "setSponsorshipResolver",
|
|
14346
|
+
inputs: [
|
|
14347
|
+
{
|
|
14348
|
+
name: "resolver",
|
|
14349
|
+
type: "address",
|
|
14350
|
+
internalType: "address"
|
|
14351
|
+
},
|
|
14352
|
+
{
|
|
14353
|
+
name: "allowed",
|
|
14354
|
+
type: "bool",
|
|
14355
|
+
internalType: "bool"
|
|
14356
|
+
}
|
|
14357
|
+
],
|
|
14358
|
+
outputs: [],
|
|
14359
|
+
stateMutability: "nonpayable"
|
|
14360
|
+
},
|
|
14361
|
+
{
|
|
14362
|
+
type: "function",
|
|
14363
|
+
name: "sponsorshipConfig",
|
|
14364
|
+
inputs: [
|
|
14365
|
+
{
|
|
14366
|
+
name: "account",
|
|
14367
|
+
type: "address",
|
|
14368
|
+
internalType: "address"
|
|
14369
|
+
},
|
|
14370
|
+
{
|
|
14371
|
+
name: "token",
|
|
14372
|
+
type: "address",
|
|
14373
|
+
internalType: "address"
|
|
14374
|
+
}
|
|
14375
|
+
],
|
|
14376
|
+
outputs: [
|
|
14377
|
+
{
|
|
14378
|
+
name: "perOrderCap",
|
|
14379
|
+
type: "uint256",
|
|
14380
|
+
internalType: "uint256"
|
|
14381
|
+
},
|
|
14382
|
+
{
|
|
14383
|
+
name: "budget",
|
|
14384
|
+
type: "uint256",
|
|
14385
|
+
internalType: "uint256"
|
|
14386
|
+
},
|
|
14387
|
+
{
|
|
14388
|
+
name: "expiry",
|
|
14389
|
+
type: "uint64",
|
|
14390
|
+
internalType: "uint64"
|
|
14391
|
+
}
|
|
14392
|
+
],
|
|
14393
|
+
stateMutability: "view"
|
|
14394
|
+
},
|
|
14395
|
+
{
|
|
14396
|
+
type: "function",
|
|
14397
|
+
name: "sponsorshipResolvers",
|
|
14398
|
+
inputs: [
|
|
14399
|
+
{
|
|
14400
|
+
name: "account",
|
|
14401
|
+
type: "address",
|
|
14402
|
+
internalType: "address"
|
|
14403
|
+
},
|
|
14404
|
+
{
|
|
14405
|
+
name: "resolver",
|
|
14406
|
+
type: "address",
|
|
14407
|
+
internalType: "address"
|
|
14408
|
+
}
|
|
14409
|
+
],
|
|
14410
|
+
outputs: [
|
|
14411
|
+
{
|
|
14412
|
+
name: "allowed",
|
|
14413
|
+
type: "bool",
|
|
14414
|
+
internalType: "bool"
|
|
14415
|
+
}
|
|
14416
|
+
],
|
|
14417
|
+
stateMutability: "view"
|
|
14418
|
+
},
|
|
14428
14419
|
{
|
|
14429
14420
|
type: "function",
|
|
14430
14421
|
name: "supportsInterface",
|
|
@@ -14453,54 +14444,166 @@ var RelayFundingPool_default = [
|
|
|
14453
14444
|
},
|
|
14454
14445
|
{
|
|
14455
14446
|
type: "function",
|
|
14456
|
-
name: "
|
|
14447
|
+
name: "usedWithdrawalNonces",
|
|
14457
14448
|
inputs: [
|
|
14458
14449
|
{
|
|
14459
|
-
name: "",
|
|
14450
|
+
name: "account",
|
|
14460
14451
|
type: "address",
|
|
14461
14452
|
internalType: "address"
|
|
14462
14453
|
},
|
|
14463
14454
|
{
|
|
14464
|
-
name: "",
|
|
14455
|
+
name: "nonce",
|
|
14465
14456
|
type: "uint256",
|
|
14466
14457
|
internalType: "uint256"
|
|
14467
14458
|
}
|
|
14468
14459
|
],
|
|
14469
14460
|
outputs: [
|
|
14470
14461
|
{
|
|
14471
|
-
name: "",
|
|
14472
|
-
type: "bool",
|
|
14473
|
-
internalType: "bool"
|
|
14462
|
+
name: "used",
|
|
14463
|
+
type: "bool",
|
|
14464
|
+
internalType: "bool"
|
|
14465
|
+
}
|
|
14466
|
+
],
|
|
14467
|
+
stateMutability: "view"
|
|
14468
|
+
},
|
|
14469
|
+
{
|
|
14470
|
+
type: "function",
|
|
14471
|
+
name: "withdraw",
|
|
14472
|
+
inputs: [
|
|
14473
|
+
{
|
|
14474
|
+
name: "withdrawal",
|
|
14475
|
+
type: "tuple",
|
|
14476
|
+
internalType: "struct PoolWithdrawal",
|
|
14477
|
+
components: [
|
|
14478
|
+
{
|
|
14479
|
+
name: "account",
|
|
14480
|
+
type: "address",
|
|
14481
|
+
internalType: "address"
|
|
14482
|
+
},
|
|
14483
|
+
{
|
|
14484
|
+
name: "token",
|
|
14485
|
+
type: "address",
|
|
14486
|
+
internalType: "address"
|
|
14487
|
+
},
|
|
14488
|
+
{
|
|
14489
|
+
name: "amount",
|
|
14490
|
+
type: "uint256",
|
|
14491
|
+
internalType: "uint256"
|
|
14492
|
+
},
|
|
14493
|
+
{
|
|
14494
|
+
name: "recipient",
|
|
14495
|
+
type: "address",
|
|
14496
|
+
internalType: "address"
|
|
14497
|
+
},
|
|
14498
|
+
{
|
|
14499
|
+
name: "nonce",
|
|
14500
|
+
type: "uint256",
|
|
14501
|
+
internalType: "uint256"
|
|
14502
|
+
},
|
|
14503
|
+
{
|
|
14504
|
+
name: "deadline",
|
|
14505
|
+
type: "uint256",
|
|
14506
|
+
internalType: "uint256"
|
|
14507
|
+
}
|
|
14508
|
+
]
|
|
14509
|
+
},
|
|
14510
|
+
{
|
|
14511
|
+
name: "signature",
|
|
14512
|
+
type: "bytes",
|
|
14513
|
+
internalType: "bytes"
|
|
14514
|
+
}
|
|
14515
|
+
],
|
|
14516
|
+
outputs: [],
|
|
14517
|
+
stateMutability: "nonpayable"
|
|
14518
|
+
},
|
|
14519
|
+
{
|
|
14520
|
+
type: "function",
|
|
14521
|
+
name: "withdraw",
|
|
14522
|
+
inputs: [
|
|
14523
|
+
{
|
|
14524
|
+
name: "token",
|
|
14525
|
+
type: "address",
|
|
14526
|
+
internalType: "address"
|
|
14527
|
+
},
|
|
14528
|
+
{
|
|
14529
|
+
name: "amount",
|
|
14530
|
+
type: "uint256",
|
|
14531
|
+
internalType: "uint256"
|
|
14532
|
+
},
|
|
14533
|
+
{
|
|
14534
|
+
name: "recipient",
|
|
14535
|
+
type: "address",
|
|
14536
|
+
internalType: "address"
|
|
14537
|
+
}
|
|
14538
|
+
],
|
|
14539
|
+
outputs: [],
|
|
14540
|
+
stateMutability: "nonpayable"
|
|
14541
|
+
},
|
|
14542
|
+
{
|
|
14543
|
+
type: "event",
|
|
14544
|
+
name: "Credited",
|
|
14545
|
+
inputs: [
|
|
14546
|
+
{
|
|
14547
|
+
name: "account",
|
|
14548
|
+
type: "address",
|
|
14549
|
+
indexed: true,
|
|
14550
|
+
internalType: "address"
|
|
14551
|
+
},
|
|
14552
|
+
{
|
|
14553
|
+
name: "token",
|
|
14554
|
+
type: "address",
|
|
14555
|
+
indexed: true,
|
|
14556
|
+
internalType: "address"
|
|
14557
|
+
},
|
|
14558
|
+
{
|
|
14559
|
+
name: "resolver",
|
|
14560
|
+
type: "address",
|
|
14561
|
+
indexed: true,
|
|
14562
|
+
internalType: "address"
|
|
14563
|
+
},
|
|
14564
|
+
{
|
|
14565
|
+
name: "amount",
|
|
14566
|
+
type: "uint256",
|
|
14567
|
+
indexed: false,
|
|
14568
|
+
internalType: "uint256"
|
|
14474
14569
|
}
|
|
14475
14570
|
],
|
|
14476
|
-
|
|
14571
|
+
anonymous: false
|
|
14477
14572
|
},
|
|
14478
14573
|
{
|
|
14479
|
-
type: "
|
|
14480
|
-
name: "
|
|
14574
|
+
type: "event",
|
|
14575
|
+
name: "Deposited",
|
|
14481
14576
|
inputs: [
|
|
14482
14577
|
{
|
|
14483
|
-
name: "
|
|
14578
|
+
name: "account",
|
|
14484
14579
|
type: "address",
|
|
14580
|
+
indexed: true,
|
|
14485
14581
|
internalType: "address"
|
|
14486
14582
|
},
|
|
14487
14583
|
{
|
|
14488
|
-
name: "
|
|
14489
|
-
type: "
|
|
14490
|
-
|
|
14584
|
+
name: "token",
|
|
14585
|
+
type: "address",
|
|
14586
|
+
indexed: true,
|
|
14587
|
+
internalType: "address"
|
|
14491
14588
|
},
|
|
14492
14589
|
{
|
|
14493
|
-
name: "
|
|
14590
|
+
name: "funder",
|
|
14494
14591
|
type: "address",
|
|
14592
|
+
indexed: true,
|
|
14495
14593
|
internalType: "address"
|
|
14594
|
+
},
|
|
14595
|
+
{
|
|
14596
|
+
name: "amount",
|
|
14597
|
+
type: "uint256",
|
|
14598
|
+
indexed: false,
|
|
14599
|
+
internalType: "uint256"
|
|
14496
14600
|
}
|
|
14497
14601
|
],
|
|
14498
|
-
|
|
14499
|
-
stateMutability: "nonpayable"
|
|
14602
|
+
anonymous: false
|
|
14500
14603
|
},
|
|
14501
14604
|
{
|
|
14502
14605
|
type: "event",
|
|
14503
|
-
name: "
|
|
14606
|
+
name: "Drawn",
|
|
14504
14607
|
inputs: [
|
|
14505
14608
|
{
|
|
14506
14609
|
name: "requestHash",
|
|
@@ -14509,43 +14612,25 @@ var RelayFundingPool_default = [
|
|
|
14509
14612
|
internalType: "bytes32"
|
|
14510
14613
|
},
|
|
14511
14614
|
{
|
|
14512
|
-
name: "
|
|
14615
|
+
name: "account",
|
|
14513
14616
|
type: "address",
|
|
14514
14617
|
indexed: true,
|
|
14515
14618
|
internalType: "address"
|
|
14516
14619
|
},
|
|
14517
14620
|
{
|
|
14518
|
-
name: "
|
|
14621
|
+
name: "token",
|
|
14519
14622
|
type: "address",
|
|
14520
14623
|
indexed: true,
|
|
14521
14624
|
internalType: "address"
|
|
14522
14625
|
},
|
|
14523
14626
|
{
|
|
14524
|
-
name: "
|
|
14525
|
-
type: "address",
|
|
14526
|
-
indexed: false,
|
|
14527
|
-
internalType: "address"
|
|
14528
|
-
},
|
|
14529
|
-
{
|
|
14530
|
-
name: "tokenOut",
|
|
14627
|
+
name: "resolver",
|
|
14531
14628
|
type: "address",
|
|
14532
14629
|
indexed: false,
|
|
14533
14630
|
internalType: "address"
|
|
14534
14631
|
},
|
|
14535
14632
|
{
|
|
14536
|
-
name: "
|
|
14537
|
-
type: "uint256",
|
|
14538
|
-
indexed: false,
|
|
14539
|
-
internalType: "uint256"
|
|
14540
|
-
},
|
|
14541
|
-
{
|
|
14542
|
-
name: "amountOutMinimum",
|
|
14543
|
-
type: "uint256",
|
|
14544
|
-
indexed: false,
|
|
14545
|
-
internalType: "uint256"
|
|
14546
|
-
},
|
|
14547
|
-
{
|
|
14548
|
-
name: "nonce",
|
|
14633
|
+
name: "amount",
|
|
14549
14634
|
type: "uint256",
|
|
14550
14635
|
indexed: false,
|
|
14551
14636
|
internalType: "uint256"
|
|
@@ -14647,6 +14732,68 @@ var RelayFundingPool_default = [
|
|
|
14647
14732
|
],
|
|
14648
14733
|
anonymous: false
|
|
14649
14734
|
},
|
|
14735
|
+
{
|
|
14736
|
+
type: "event",
|
|
14737
|
+
name: "SponsorshipConfigSet",
|
|
14738
|
+
inputs: [
|
|
14739
|
+
{
|
|
14740
|
+
name: "account",
|
|
14741
|
+
type: "address",
|
|
14742
|
+
indexed: true,
|
|
14743
|
+
internalType: "address"
|
|
14744
|
+
},
|
|
14745
|
+
{
|
|
14746
|
+
name: "token",
|
|
14747
|
+
type: "address",
|
|
14748
|
+
indexed: true,
|
|
14749
|
+
internalType: "address"
|
|
14750
|
+
},
|
|
14751
|
+
{
|
|
14752
|
+
name: "perOrderCap",
|
|
14753
|
+
type: "uint256",
|
|
14754
|
+
indexed: false,
|
|
14755
|
+
internalType: "uint256"
|
|
14756
|
+
},
|
|
14757
|
+
{
|
|
14758
|
+
name: "budget",
|
|
14759
|
+
type: "uint256",
|
|
14760
|
+
indexed: false,
|
|
14761
|
+
internalType: "uint256"
|
|
14762
|
+
},
|
|
14763
|
+
{
|
|
14764
|
+
name: "expiry",
|
|
14765
|
+
type: "uint64",
|
|
14766
|
+
indexed: false,
|
|
14767
|
+
internalType: "uint64"
|
|
14768
|
+
}
|
|
14769
|
+
],
|
|
14770
|
+
anonymous: false
|
|
14771
|
+
},
|
|
14772
|
+
{
|
|
14773
|
+
type: "event",
|
|
14774
|
+
name: "SponsorshipResolverSet",
|
|
14775
|
+
inputs: [
|
|
14776
|
+
{
|
|
14777
|
+
name: "account",
|
|
14778
|
+
type: "address",
|
|
14779
|
+
indexed: true,
|
|
14780
|
+
internalType: "address"
|
|
14781
|
+
},
|
|
14782
|
+
{
|
|
14783
|
+
name: "resolver",
|
|
14784
|
+
type: "address",
|
|
14785
|
+
indexed: true,
|
|
14786
|
+
internalType: "address"
|
|
14787
|
+
},
|
|
14788
|
+
{
|
|
14789
|
+
name: "allowed",
|
|
14790
|
+
type: "bool",
|
|
14791
|
+
indexed: false,
|
|
14792
|
+
internalType: "bool"
|
|
14793
|
+
}
|
|
14794
|
+
],
|
|
14795
|
+
anonymous: false
|
|
14796
|
+
},
|
|
14650
14797
|
{
|
|
14651
14798
|
type: "event",
|
|
14652
14799
|
name: "Unpaused",
|
|
@@ -14665,7 +14812,7 @@ var RelayFundingPool_default = [
|
|
|
14665
14812
|
name: "Withdrawn",
|
|
14666
14813
|
inputs: [
|
|
14667
14814
|
{
|
|
14668
|
-
name: "
|
|
14815
|
+
name: "account",
|
|
14669
14816
|
type: "address",
|
|
14670
14817
|
indexed: true,
|
|
14671
14818
|
internalType: "address"
|
|
@@ -14714,26 +14861,41 @@ var RelayFundingPool_default = [
|
|
|
14714
14861
|
},
|
|
14715
14862
|
{
|
|
14716
14863
|
type: "error",
|
|
14717
|
-
name: "
|
|
14864
|
+
name: "AlreadyDrawn",
|
|
14718
14865
|
inputs: [
|
|
14719
14866
|
{
|
|
14720
|
-
name: "
|
|
14721
|
-
type: "
|
|
14722
|
-
internalType: "
|
|
14867
|
+
name: "requestHash",
|
|
14868
|
+
type: "bytes32",
|
|
14869
|
+
internalType: "bytes32"
|
|
14870
|
+
},
|
|
14871
|
+
{
|
|
14872
|
+
name: "account",
|
|
14873
|
+
type: "address",
|
|
14874
|
+
internalType: "address"
|
|
14723
14875
|
}
|
|
14724
14876
|
]
|
|
14725
14877
|
},
|
|
14726
14878
|
{
|
|
14727
14879
|
type: "error",
|
|
14728
|
-
name: "
|
|
14880
|
+
name: "BudgetExceeded",
|
|
14729
14881
|
inputs: [
|
|
14730
14882
|
{
|
|
14731
|
-
name: "
|
|
14883
|
+
name: "account",
|
|
14732
14884
|
type: "address",
|
|
14733
14885
|
internalType: "address"
|
|
14734
14886
|
},
|
|
14735
14887
|
{
|
|
14736
|
-
name: "
|
|
14888
|
+
name: "token",
|
|
14889
|
+
type: "address",
|
|
14890
|
+
internalType: "address"
|
|
14891
|
+
},
|
|
14892
|
+
{
|
|
14893
|
+
name: "amount",
|
|
14894
|
+
type: "uint256",
|
|
14895
|
+
internalType: "uint256"
|
|
14896
|
+
},
|
|
14897
|
+
{
|
|
14898
|
+
name: "budget",
|
|
14737
14899
|
type: "uint256",
|
|
14738
14900
|
internalType: "uint256"
|
|
14739
14901
|
}
|
|
@@ -14741,50 +14903,102 @@ var RelayFundingPool_default = [
|
|
|
14741
14903
|
},
|
|
14742
14904
|
{
|
|
14743
14905
|
type: "error",
|
|
14744
|
-
name: "
|
|
14906
|
+
name: "EnforcedPause",
|
|
14907
|
+
inputs: []
|
|
14908
|
+
},
|
|
14909
|
+
{
|
|
14910
|
+
type: "error",
|
|
14911
|
+
name: "ExpectedPause",
|
|
14912
|
+
inputs: []
|
|
14913
|
+
},
|
|
14914
|
+
{
|
|
14915
|
+
type: "error",
|
|
14916
|
+
name: "InsufficientBalance",
|
|
14745
14917
|
inputs: [
|
|
14746
14918
|
{
|
|
14747
|
-
name: "
|
|
14919
|
+
name: "account",
|
|
14748
14920
|
type: "address",
|
|
14749
14921
|
internalType: "address"
|
|
14750
14922
|
},
|
|
14751
14923
|
{
|
|
14752
|
-
name: "
|
|
14924
|
+
name: "token",
|
|
14753
14925
|
type: "address",
|
|
14754
14926
|
internalType: "address"
|
|
14927
|
+
},
|
|
14928
|
+
{
|
|
14929
|
+
name: "amount",
|
|
14930
|
+
type: "uint256",
|
|
14931
|
+
internalType: "uint256"
|
|
14932
|
+
},
|
|
14933
|
+
{
|
|
14934
|
+
name: "balance",
|
|
14935
|
+
type: "uint256",
|
|
14936
|
+
internalType: "uint256"
|
|
14755
14937
|
}
|
|
14756
14938
|
]
|
|
14757
14939
|
},
|
|
14758
14940
|
{
|
|
14759
14941
|
type: "error",
|
|
14760
|
-
name: "
|
|
14942
|
+
name: "InvalidShortString",
|
|
14761
14943
|
inputs: []
|
|
14762
14944
|
},
|
|
14763
14945
|
{
|
|
14764
14946
|
type: "error",
|
|
14765
|
-
name: "
|
|
14766
|
-
inputs: [
|
|
14947
|
+
name: "InvalidWithdrawal",
|
|
14948
|
+
inputs: [
|
|
14949
|
+
{
|
|
14950
|
+
name: "account",
|
|
14951
|
+
type: "address",
|
|
14952
|
+
internalType: "address"
|
|
14953
|
+
}
|
|
14954
|
+
]
|
|
14767
14955
|
},
|
|
14768
14956
|
{
|
|
14769
14957
|
type: "error",
|
|
14770
|
-
name: "
|
|
14958
|
+
name: "PerOrderCapExceeded",
|
|
14771
14959
|
inputs: [
|
|
14772
14960
|
{
|
|
14773
|
-
name: "
|
|
14961
|
+
name: "account",
|
|
14962
|
+
type: "address",
|
|
14963
|
+
internalType: "address"
|
|
14964
|
+
},
|
|
14965
|
+
{
|
|
14966
|
+
name: "token",
|
|
14774
14967
|
type: "address",
|
|
14775
14968
|
internalType: "address"
|
|
14969
|
+
},
|
|
14970
|
+
{
|
|
14971
|
+
name: "amount",
|
|
14972
|
+
type: "uint256",
|
|
14973
|
+
internalType: "uint256"
|
|
14974
|
+
},
|
|
14975
|
+
{
|
|
14976
|
+
name: "cap",
|
|
14977
|
+
type: "uint256",
|
|
14978
|
+
internalType: "uint256"
|
|
14776
14979
|
}
|
|
14777
14980
|
]
|
|
14778
14981
|
},
|
|
14779
14982
|
{
|
|
14780
14983
|
type: "error",
|
|
14781
|
-
name: "
|
|
14984
|
+
name: "ReentrancyGuardReentrantCall",
|
|
14782
14985
|
inputs: []
|
|
14783
14986
|
},
|
|
14784
14987
|
{
|
|
14785
14988
|
type: "error",
|
|
14786
|
-
name: "
|
|
14787
|
-
inputs: [
|
|
14989
|
+
name: "ResolverNotAllowed",
|
|
14990
|
+
inputs: [
|
|
14991
|
+
{
|
|
14992
|
+
name: "account",
|
|
14993
|
+
type: "address",
|
|
14994
|
+
internalType: "address"
|
|
14995
|
+
},
|
|
14996
|
+
{
|
|
14997
|
+
name: "resolver",
|
|
14998
|
+
type: "address",
|
|
14999
|
+
internalType: "address"
|
|
15000
|
+
}
|
|
15001
|
+
]
|
|
14788
15002
|
},
|
|
14789
15003
|
{
|
|
14790
15004
|
type: "error",
|
|
@@ -14797,6 +15011,27 @@ var RelayFundingPool_default = [
|
|
|
14797
15011
|
}
|
|
14798
15012
|
]
|
|
14799
15013
|
},
|
|
15014
|
+
{
|
|
15015
|
+
type: "error",
|
|
15016
|
+
name: "SponsorshipConfigExpired",
|
|
15017
|
+
inputs: [
|
|
15018
|
+
{
|
|
15019
|
+
name: "account",
|
|
15020
|
+
type: "address",
|
|
15021
|
+
internalType: "address"
|
|
15022
|
+
},
|
|
15023
|
+
{
|
|
15024
|
+
name: "token",
|
|
15025
|
+
type: "address",
|
|
15026
|
+
internalType: "address"
|
|
15027
|
+
},
|
|
15028
|
+
{
|
|
15029
|
+
name: "expiry",
|
|
15030
|
+
type: "uint64",
|
|
15031
|
+
internalType: "uint64"
|
|
15032
|
+
}
|
|
15033
|
+
]
|
|
15034
|
+
},
|
|
14800
15035
|
{
|
|
14801
15036
|
type: "error",
|
|
14802
15037
|
name: "StringTooLong",
|
|
@@ -14808,6 +15043,33 @@ var RelayFundingPool_default = [
|
|
|
14808
15043
|
}
|
|
14809
15044
|
]
|
|
14810
15045
|
},
|
|
15046
|
+
{
|
|
15047
|
+
type: "error",
|
|
15048
|
+
name: "WithdrawalExpired",
|
|
15049
|
+
inputs: [
|
|
15050
|
+
{
|
|
15051
|
+
name: "deadline",
|
|
15052
|
+
type: "uint256",
|
|
15053
|
+
internalType: "uint256"
|
|
15054
|
+
}
|
|
15055
|
+
]
|
|
15056
|
+
},
|
|
15057
|
+
{
|
|
15058
|
+
type: "error",
|
|
15059
|
+
name: "WithdrawalNonceUsed",
|
|
15060
|
+
inputs: [
|
|
15061
|
+
{
|
|
15062
|
+
name: "account",
|
|
15063
|
+
type: "address",
|
|
15064
|
+
internalType: "address"
|
|
15065
|
+
},
|
|
15066
|
+
{
|
|
15067
|
+
name: "nonce",
|
|
15068
|
+
type: "uint256",
|
|
15069
|
+
internalType: "uint256"
|
|
15070
|
+
}
|
|
15071
|
+
]
|
|
15072
|
+
},
|
|
14811
15073
|
{
|
|
14812
15074
|
type: "error",
|
|
14813
15075
|
name: "ZeroAddress",
|
|
@@ -14836,11 +15098,6 @@ var RelayFundingPoolFactory_default = [
|
|
|
14836
15098
|
type: "address",
|
|
14837
15099
|
internalType: "address"
|
|
14838
15100
|
},
|
|
14839
|
-
{
|
|
14840
|
-
name: "authorizer",
|
|
14841
|
-
type: "address",
|
|
14842
|
-
internalType: "address"
|
|
14843
|
-
},
|
|
14844
15101
|
{
|
|
14845
15102
|
name: "withdrawer",
|
|
14846
15103
|
type: "address",
|
|
@@ -14923,11 +15180,6 @@ var RelayFundingPoolFactory_default = [
|
|
|
14923
15180
|
type: "address",
|
|
14924
15181
|
internalType: "address"
|
|
14925
15182
|
},
|
|
14926
|
-
{
|
|
14927
|
-
name: "authorizer",
|
|
14928
|
-
type: "address",
|
|
14929
|
-
internalType: "address"
|
|
14930
|
-
},
|
|
14931
15183
|
{
|
|
14932
15184
|
name: "withdrawer",
|
|
14933
15185
|
type: "address",
|
|
@@ -27515,9 +27767,8 @@ var RelayOracle = mergeVersions(v1_default, v2_default);
|
|
|
27515
27767
|
MockWNEAR,
|
|
27516
27768
|
MulticallRouter,
|
|
27517
27769
|
MyToken,
|
|
27518
|
-
|
|
27770
|
+
PoolDrawResolver,
|
|
27519
27771
|
PoolResolverBase,
|
|
27520
|
-
PoolSponsorshipResolver,
|
|
27521
27772
|
PriceOraclePrecompile,
|
|
27522
27773
|
RelayAllocator,
|
|
27523
27774
|
RelayAmountRateLimiter,
|