@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.mjs
CHANGED
|
@@ -9425,8 +9425,8 @@ var ICallResolver_default = [
|
|
|
9425
9425
|
}
|
|
9426
9426
|
];
|
|
9427
9427
|
|
|
9428
|
-
// src/abis/call-resolvers/
|
|
9429
|
-
var
|
|
9428
|
+
// src/abis/call-resolvers/PoolDrawResolver.sol/PoolDrawResolver.json
|
|
9429
|
+
var PoolDrawResolver_default = [
|
|
9430
9430
|
{
|
|
9431
9431
|
type: "constructor",
|
|
9432
9432
|
inputs: [
|
|
@@ -9439,28 +9439,10 @@ var PoolExactOutputResolver_default = [
|
|
|
9439
9439
|
name: "hub",
|
|
9440
9440
|
type: "address",
|
|
9441
9441
|
internalType: "address"
|
|
9442
|
-
},
|
|
9443
|
-
{
|
|
9444
|
-
name: "exactOutputPool",
|
|
9445
|
-
type: "address",
|
|
9446
|
-
internalType: "address"
|
|
9447
9442
|
}
|
|
9448
9443
|
],
|
|
9449
9444
|
stateMutability: "nonpayable"
|
|
9450
9445
|
},
|
|
9451
|
-
{
|
|
9452
|
-
type: "function",
|
|
9453
|
-
name: "EXACT_OUTPUT_POOL",
|
|
9454
|
-
inputs: [],
|
|
9455
|
-
outputs: [
|
|
9456
|
-
{
|
|
9457
|
-
name: "",
|
|
9458
|
-
type: "address",
|
|
9459
|
-
internalType: "address"
|
|
9460
|
-
}
|
|
9461
|
-
],
|
|
9462
|
-
stateMutability: "view"
|
|
9463
|
-
},
|
|
9464
9446
|
{
|
|
9465
9447
|
type: "function",
|
|
9466
9448
|
name: "EXECUTOR",
|
|
@@ -9599,7 +9581,7 @@ var PoolExactOutputResolver_default = [
|
|
|
9599
9581
|
},
|
|
9600
9582
|
{
|
|
9601
9583
|
type: "event",
|
|
9602
|
-
name: "
|
|
9584
|
+
name: "DrawLegExecuted",
|
|
9603
9585
|
inputs: [
|
|
9604
9586
|
{
|
|
9605
9587
|
name: "requestHash",
|
|
@@ -9608,46 +9590,27 @@ var PoolExactOutputResolver_default = [
|
|
|
9608
9590
|
internalType: "bytes32"
|
|
9609
9591
|
},
|
|
9610
9592
|
{
|
|
9611
|
-
name: "
|
|
9593
|
+
name: "pool",
|
|
9612
9594
|
type: "address",
|
|
9613
9595
|
indexed: true,
|
|
9614
9596
|
internalType: "address"
|
|
9615
9597
|
},
|
|
9616
9598
|
{
|
|
9617
|
-
name: "
|
|
9618
|
-
type: "uint256",
|
|
9619
|
-
indexed: false,
|
|
9620
|
-
internalType: "uint256"
|
|
9621
|
-
},
|
|
9622
|
-
{
|
|
9623
|
-
name: "surplus",
|
|
9624
|
-
type: "uint256",
|
|
9625
|
-
indexed: false,
|
|
9626
|
-
internalType: "uint256"
|
|
9627
|
-
}
|
|
9628
|
-
],
|
|
9629
|
-
anonymous: false
|
|
9630
|
-
},
|
|
9631
|
-
{
|
|
9632
|
-
type: "event",
|
|
9633
|
-
name: "PoolSwapExecuted",
|
|
9634
|
-
inputs: [
|
|
9635
|
-
{
|
|
9636
|
-
name: "requestHash",
|
|
9637
|
-
type: "bytes32",
|
|
9638
|
-
indexed: true,
|
|
9639
|
-
internalType: "bytes32"
|
|
9640
|
-
},
|
|
9641
|
-
{
|
|
9642
|
-
name: "pool",
|
|
9599
|
+
name: "account",
|
|
9643
9600
|
type: "address",
|
|
9644
9601
|
indexed: true,
|
|
9645
9602
|
internalType: "address"
|
|
9646
9603
|
},
|
|
9604
|
+
{
|
|
9605
|
+
name: "kind",
|
|
9606
|
+
type: "uint8",
|
|
9607
|
+
indexed: false,
|
|
9608
|
+
internalType: "enum DrawLegKind"
|
|
9609
|
+
},
|
|
9647
9610
|
{
|
|
9648
9611
|
name: "tokenIn",
|
|
9649
9612
|
type: "address",
|
|
9650
|
-
indexed:
|
|
9613
|
+
indexed: false,
|
|
9651
9614
|
internalType: "address"
|
|
9652
9615
|
},
|
|
9653
9616
|
{
|
|
@@ -9657,13 +9620,13 @@ var PoolExactOutputResolver_default = [
|
|
|
9657
9620
|
internalType: "address"
|
|
9658
9621
|
},
|
|
9659
9622
|
{
|
|
9660
|
-
name: "
|
|
9623
|
+
name: "amountDrawn",
|
|
9661
9624
|
type: "uint256",
|
|
9662
9625
|
indexed: false,
|
|
9663
9626
|
internalType: "uint256"
|
|
9664
9627
|
},
|
|
9665
9628
|
{
|
|
9666
|
-
name: "
|
|
9629
|
+
name: "amountCredited",
|
|
9667
9630
|
type: "uint256",
|
|
9668
9631
|
indexed: false,
|
|
9669
9632
|
internalType: "uint256"
|
|
@@ -9673,15 +9636,20 @@ var PoolExactOutputResolver_default = [
|
|
|
9673
9636
|
},
|
|
9674
9637
|
{
|
|
9675
9638
|
type: "error",
|
|
9676
|
-
name: "
|
|
9639
|
+
name: "InsufficientDrawLegOutput",
|
|
9677
9640
|
inputs: [
|
|
9678
9641
|
{
|
|
9679
|
-
name: "
|
|
9642
|
+
name: "token",
|
|
9643
|
+
type: "address",
|
|
9644
|
+
internalType: "address"
|
|
9645
|
+
},
|
|
9646
|
+
{
|
|
9647
|
+
name: "amount",
|
|
9680
9648
|
type: "uint256",
|
|
9681
9649
|
internalType: "uint256"
|
|
9682
9650
|
},
|
|
9683
9651
|
{
|
|
9684
|
-
name: "
|
|
9652
|
+
name: "minimum",
|
|
9685
9653
|
type: "uint256",
|
|
9686
9654
|
internalType: "uint256"
|
|
9687
9655
|
}
|
|
@@ -9689,20 +9657,10 @@ var PoolExactOutputResolver_default = [
|
|
|
9689
9657
|
},
|
|
9690
9658
|
{
|
|
9691
9659
|
type: "error",
|
|
9692
|
-
name: "
|
|
9660
|
+
name: "MisorderedDrawLegs",
|
|
9693
9661
|
inputs: [
|
|
9694
9662
|
{
|
|
9695
|
-
name: "
|
|
9696
|
-
type: "address",
|
|
9697
|
-
internalType: "address"
|
|
9698
|
-
},
|
|
9699
|
-
{
|
|
9700
|
-
name: "amount",
|
|
9701
|
-
type: "uint256",
|
|
9702
|
-
internalType: "uint256"
|
|
9703
|
-
},
|
|
9704
|
-
{
|
|
9705
|
-
name: "minimum",
|
|
9663
|
+
name: "index",
|
|
9706
9664
|
type: "uint256",
|
|
9707
9665
|
internalType: "uint256"
|
|
9708
9666
|
}
|
|
@@ -9726,26 +9684,26 @@ var PoolExactOutputResolver_default = [
|
|
|
9726
9684
|
},
|
|
9727
9685
|
{
|
|
9728
9686
|
type: "error",
|
|
9729
|
-
name: "
|
|
9687
|
+
name: "SafeERC20FailedOperation",
|
|
9730
9688
|
inputs: [
|
|
9731
9689
|
{
|
|
9732
|
-
name: "
|
|
9733
|
-
type: "
|
|
9734
|
-
internalType: "
|
|
9735
|
-
},
|
|
9736
|
-
{
|
|
9737
|
-
name: "actual",
|
|
9738
|
-
type: "bytes32",
|
|
9739
|
-
internalType: "bytes32"
|
|
9690
|
+
name: "token",
|
|
9691
|
+
type: "address",
|
|
9692
|
+
internalType: "address"
|
|
9740
9693
|
}
|
|
9741
9694
|
]
|
|
9742
9695
|
},
|
|
9743
9696
|
{
|
|
9744
9697
|
type: "error",
|
|
9745
|
-
name: "
|
|
9698
|
+
name: "ShortfallTokenMismatch",
|
|
9746
9699
|
inputs: [
|
|
9747
9700
|
{
|
|
9748
|
-
name: "
|
|
9701
|
+
name: "tokenIn",
|
|
9702
|
+
type: "address",
|
|
9703
|
+
internalType: "address"
|
|
9704
|
+
},
|
|
9705
|
+
{
|
|
9706
|
+
name: "tokenOut",
|
|
9749
9707
|
type: "address",
|
|
9750
9708
|
internalType: "address"
|
|
9751
9709
|
}
|
|
@@ -9783,22 +9741,6 @@ var PoolExactOutputResolver_default = [
|
|
|
9783
9741
|
}
|
|
9784
9742
|
]
|
|
9785
9743
|
},
|
|
9786
|
-
{
|
|
9787
|
-
type: "error",
|
|
9788
|
-
name: "UnexpectedShortfallPool",
|
|
9789
|
-
inputs: [
|
|
9790
|
-
{
|
|
9791
|
-
name: "expected",
|
|
9792
|
-
type: "address",
|
|
9793
|
-
internalType: "address"
|
|
9794
|
-
},
|
|
9795
|
-
{
|
|
9796
|
-
name: "actual",
|
|
9797
|
-
type: "address",
|
|
9798
|
-
internalType: "address"
|
|
9799
|
-
}
|
|
9800
|
-
]
|
|
9801
|
-
},
|
|
9802
9744
|
{
|
|
9803
9745
|
type: "error",
|
|
9804
9746
|
name: "ZeroAddress",
|
|
@@ -10066,7 +10008,7 @@ var PoolResolverBase_default = [
|
|
|
10066
10008
|
},
|
|
10067
10009
|
{
|
|
10068
10010
|
type: "event",
|
|
10069
|
-
name: "
|
|
10011
|
+
name: "DrawLegExecuted",
|
|
10070
10012
|
inputs: [
|
|
10071
10013
|
{
|
|
10072
10014
|
name: "requestHash",
|
|
@@ -10081,11 +10023,23 @@ var PoolResolverBase_default = [
|
|
|
10081
10023
|
internalType: "address"
|
|
10082
10024
|
},
|
|
10083
10025
|
{
|
|
10084
|
-
name: "
|
|
10026
|
+
name: "account",
|
|
10085
10027
|
type: "address",
|
|
10086
10028
|
indexed: true,
|
|
10087
10029
|
internalType: "address"
|
|
10088
10030
|
},
|
|
10031
|
+
{
|
|
10032
|
+
name: "kind",
|
|
10033
|
+
type: "uint8",
|
|
10034
|
+
indexed: false,
|
|
10035
|
+
internalType: "enum DrawLegKind"
|
|
10036
|
+
},
|
|
10037
|
+
{
|
|
10038
|
+
name: "tokenIn",
|
|
10039
|
+
type: "address",
|
|
10040
|
+
indexed: false,
|
|
10041
|
+
internalType: "address"
|
|
10042
|
+
},
|
|
10089
10043
|
{
|
|
10090
10044
|
name: "tokenOut",
|
|
10091
10045
|
type: "address",
|
|
@@ -10093,13 +10047,13 @@ var PoolResolverBase_default = [
|
|
|
10093
10047
|
internalType: "address"
|
|
10094
10048
|
},
|
|
10095
10049
|
{
|
|
10096
|
-
name: "
|
|
10050
|
+
name: "amountDrawn",
|
|
10097
10051
|
type: "uint256",
|
|
10098
10052
|
indexed: false,
|
|
10099
10053
|
internalType: "uint256"
|
|
10100
10054
|
},
|
|
10101
10055
|
{
|
|
10102
|
-
name: "
|
|
10056
|
+
name: "amountCredited",
|
|
10103
10057
|
type: "uint256",
|
|
10104
10058
|
indexed: false,
|
|
10105
10059
|
internalType: "uint256"
|
|
@@ -10109,7 +10063,7 @@ var PoolResolverBase_default = [
|
|
|
10109
10063
|
},
|
|
10110
10064
|
{
|
|
10111
10065
|
type: "error",
|
|
10112
|
-
name: "
|
|
10066
|
+
name: "InsufficientDrawLegOutput",
|
|
10113
10067
|
inputs: [
|
|
10114
10068
|
{
|
|
10115
10069
|
name: "token",
|
|
@@ -10146,17 +10100,17 @@ var PoolResolverBase_default = [
|
|
|
10146
10100
|
},
|
|
10147
10101
|
{
|
|
10148
10102
|
type: "error",
|
|
10149
|
-
name: "
|
|
10103
|
+
name: "ShortfallTokenMismatch",
|
|
10150
10104
|
inputs: [
|
|
10151
10105
|
{
|
|
10152
|
-
name: "
|
|
10153
|
-
type: "
|
|
10154
|
-
internalType: "
|
|
10106
|
+
name: "tokenIn",
|
|
10107
|
+
type: "address",
|
|
10108
|
+
internalType: "address"
|
|
10155
10109
|
},
|
|
10156
10110
|
{
|
|
10157
|
-
name: "
|
|
10158
|
-
type: "
|
|
10159
|
-
internalType: "
|
|
10111
|
+
name: "tokenOut",
|
|
10112
|
+
type: "address",
|
|
10113
|
+
internalType: "address"
|
|
10160
10114
|
}
|
|
10161
10115
|
]
|
|
10162
10116
|
},
|
|
@@ -10199,434 +10153,134 @@ var PoolResolverBase_default = [
|
|
|
10199
10153
|
}
|
|
10200
10154
|
];
|
|
10201
10155
|
|
|
10202
|
-
// src/abis/call-resolvers/
|
|
10203
|
-
var
|
|
10156
|
+
// src/abis/call-resolvers/ResolverSandbox.sol/ResolverSandbox.json
|
|
10157
|
+
var ResolverSandbox_default = [
|
|
10204
10158
|
{
|
|
10205
10159
|
type: "constructor",
|
|
10206
|
-
inputs: [
|
|
10207
|
-
{
|
|
10208
|
-
name: "executor",
|
|
10209
|
-
type: "address",
|
|
10210
|
-
internalType: "address"
|
|
10211
|
-
},
|
|
10212
|
-
{
|
|
10213
|
-
name: "hub",
|
|
10214
|
-
type: "address",
|
|
10215
|
-
internalType: "address"
|
|
10216
|
-
}
|
|
10217
|
-
],
|
|
10160
|
+
inputs: [],
|
|
10218
10161
|
stateMutability: "nonpayable"
|
|
10219
10162
|
},
|
|
10220
10163
|
{
|
|
10221
10164
|
type: "function",
|
|
10222
|
-
name: "
|
|
10165
|
+
name: "OWNER",
|
|
10223
10166
|
inputs: [],
|
|
10224
10167
|
outputs: [
|
|
10225
10168
|
{
|
|
10226
10169
|
name: "",
|
|
10227
10170
|
type: "address",
|
|
10228
|
-
internalType: "
|
|
10171
|
+
internalType: "address"
|
|
10229
10172
|
}
|
|
10230
10173
|
],
|
|
10231
10174
|
stateMutability: "view"
|
|
10232
10175
|
},
|
|
10233
10176
|
{
|
|
10234
10177
|
type: "function",
|
|
10235
|
-
name: "
|
|
10236
|
-
inputs: [
|
|
10237
|
-
outputs: [
|
|
10178
|
+
name: "run",
|
|
10179
|
+
inputs: [
|
|
10238
10180
|
{
|
|
10239
|
-
name: "",
|
|
10181
|
+
name: "calls",
|
|
10182
|
+
type: "tuple[]",
|
|
10183
|
+
internalType: "struct Call[]",
|
|
10184
|
+
components: [
|
|
10185
|
+
{
|
|
10186
|
+
name: "to",
|
|
10187
|
+
type: "address",
|
|
10188
|
+
internalType: "address"
|
|
10189
|
+
},
|
|
10190
|
+
{
|
|
10191
|
+
name: "data",
|
|
10192
|
+
type: "bytes",
|
|
10193
|
+
internalType: "bytes"
|
|
10194
|
+
}
|
|
10195
|
+
]
|
|
10196
|
+
},
|
|
10197
|
+
{
|
|
10198
|
+
name: "returnTokens",
|
|
10199
|
+
type: "address[]",
|
|
10200
|
+
internalType: "address[]"
|
|
10201
|
+
},
|
|
10202
|
+
{
|
|
10203
|
+
name: "recipient",
|
|
10240
10204
|
type: "address",
|
|
10241
|
-
internalType: "
|
|
10205
|
+
internalType: "address"
|
|
10242
10206
|
}
|
|
10243
10207
|
],
|
|
10244
|
-
|
|
10208
|
+
outputs: [],
|
|
10209
|
+
stateMutability: "nonpayable"
|
|
10245
10210
|
},
|
|
10246
10211
|
{
|
|
10247
|
-
type: "
|
|
10248
|
-
name: "
|
|
10249
|
-
inputs: [
|
|
10250
|
-
outputs: [
|
|
10212
|
+
type: "error",
|
|
10213
|
+
name: "CallFailed",
|
|
10214
|
+
inputs: [
|
|
10251
10215
|
{
|
|
10252
|
-
name: "",
|
|
10216
|
+
name: "index",
|
|
10217
|
+
type: "uint256",
|
|
10218
|
+
internalType: "uint256"
|
|
10219
|
+
},
|
|
10220
|
+
{
|
|
10221
|
+
name: "target",
|
|
10253
10222
|
type: "address",
|
|
10254
|
-
internalType: "
|
|
10223
|
+
internalType: "address"
|
|
10224
|
+
},
|
|
10225
|
+
{
|
|
10226
|
+
name: "reason",
|
|
10227
|
+
type: "bytes",
|
|
10228
|
+
internalType: "bytes"
|
|
10255
10229
|
}
|
|
10256
|
-
]
|
|
10257
|
-
|
|
10230
|
+
]
|
|
10231
|
+
},
|
|
10232
|
+
{
|
|
10233
|
+
type: "error",
|
|
10234
|
+
name: "SafeERC20FailedOperation",
|
|
10235
|
+
inputs: [
|
|
10236
|
+
{
|
|
10237
|
+
name: "token",
|
|
10238
|
+
type: "address",
|
|
10239
|
+
internalType: "address"
|
|
10240
|
+
}
|
|
10241
|
+
]
|
|
10258
10242
|
},
|
|
10243
|
+
{
|
|
10244
|
+
type: "error",
|
|
10245
|
+
name: "UnauthorizedCaller",
|
|
10246
|
+
inputs: [
|
|
10247
|
+
{
|
|
10248
|
+
name: "caller",
|
|
10249
|
+
type: "address",
|
|
10250
|
+
internalType: "address"
|
|
10251
|
+
}
|
|
10252
|
+
]
|
|
10253
|
+
}
|
|
10254
|
+
];
|
|
10255
|
+
|
|
10256
|
+
// src/abis/deposit-addresses/open/RelayDepositAddressManager.sol/RelayDepositAddressManager.json
|
|
10257
|
+
var RelayDepositAddressManager_default = [
|
|
10259
10258
|
{
|
|
10260
10259
|
type: "function",
|
|
10261
|
-
name: "
|
|
10260
|
+
name: "trigger",
|
|
10262
10261
|
inputs: [
|
|
10263
10262
|
{
|
|
10264
|
-
name: "
|
|
10263
|
+
name: "input",
|
|
10265
10264
|
type: "tuple",
|
|
10266
|
-
internalType: "struct
|
|
10265
|
+
internalType: "struct RelayDepositAddressManager.Input",
|
|
10267
10266
|
components: [
|
|
10268
10267
|
{
|
|
10269
|
-
name: "
|
|
10268
|
+
name: "vmType",
|
|
10270
10269
|
type: "string",
|
|
10271
10270
|
internalType: "string"
|
|
10272
10271
|
},
|
|
10273
10272
|
{
|
|
10274
|
-
name: "
|
|
10275
|
-
type: "bytes",
|
|
10276
|
-
internalType: "bytes"
|
|
10277
|
-
},
|
|
10278
|
-
{
|
|
10279
|
-
name: "outChainId",
|
|
10273
|
+
name: "chainId",
|
|
10280
10274
|
type: "string",
|
|
10281
10275
|
internalType: "string"
|
|
10282
10276
|
},
|
|
10283
10277
|
{
|
|
10284
|
-
name: "
|
|
10278
|
+
name: "currency",
|
|
10285
10279
|
type: "bytes",
|
|
10286
10280
|
internalType: "bytes"
|
|
10287
10281
|
},
|
|
10288
10282
|
{
|
|
10289
|
-
name: "
|
|
10290
|
-
type: "uint256",
|
|
10291
|
-
internalType: "uint256"
|
|
10292
|
-
},
|
|
10293
|
-
{
|
|
10294
|
-
name: "depository",
|
|
10295
|
-
type: "bytes",
|
|
10296
|
-
internalType: "bytes"
|
|
10297
|
-
},
|
|
10298
|
-
{
|
|
10299
|
-
name: "orderAddress",
|
|
10300
|
-
type: "address",
|
|
10301
|
-
internalType: "address"
|
|
10302
|
-
},
|
|
10303
|
-
{
|
|
10304
|
-
name: "receiver",
|
|
10305
|
-
type: "bytes",
|
|
10306
|
-
internalType: "bytes"
|
|
10307
|
-
},
|
|
10308
|
-
{
|
|
10309
|
-
name: "data",
|
|
10310
|
-
type: "bytes",
|
|
10311
|
-
internalType: "bytes"
|
|
10312
|
-
},
|
|
10313
|
-
{
|
|
10314
|
-
name: "fees",
|
|
10315
|
-
type: "tuple[]",
|
|
10316
|
-
internalType: "struct Fee[]",
|
|
10317
|
-
components: [
|
|
10318
|
-
{
|
|
10319
|
-
name: "recipient",
|
|
10320
|
-
type: "address",
|
|
10321
|
-
internalType: "address"
|
|
10322
|
-
},
|
|
10323
|
-
{
|
|
10324
|
-
name: "amount",
|
|
10325
|
-
type: "uint256",
|
|
10326
|
-
internalType: "uint256"
|
|
10327
|
-
}
|
|
10328
|
-
]
|
|
10329
|
-
},
|
|
10330
|
-
{
|
|
10331
|
-
name: "nonce",
|
|
10332
|
-
type: "bytes32",
|
|
10333
|
-
internalType: "bytes32"
|
|
10334
|
-
},
|
|
10335
|
-
{
|
|
10336
|
-
name: "deadline",
|
|
10337
|
-
type: "uint256",
|
|
10338
|
-
internalType: "uint256"
|
|
10339
|
-
}
|
|
10340
|
-
]
|
|
10341
|
-
},
|
|
10342
|
-
{
|
|
10343
|
-
name: "feesCharged",
|
|
10344
|
-
type: "bool",
|
|
10345
|
-
internalType: "bool"
|
|
10346
|
-
},
|
|
10347
|
-
{
|
|
10348
|
-
name: "data",
|
|
10349
|
-
type: "bytes",
|
|
10350
|
-
internalType: "bytes"
|
|
10351
|
-
}
|
|
10352
|
-
],
|
|
10353
|
-
outputs: [],
|
|
10354
|
-
stateMutability: "nonpayable"
|
|
10355
|
-
},
|
|
10356
|
-
{
|
|
10357
|
-
type: "event",
|
|
10358
|
-
name: "PoolSwapExecuted",
|
|
10359
|
-
inputs: [
|
|
10360
|
-
{
|
|
10361
|
-
name: "requestHash",
|
|
10362
|
-
type: "bytes32",
|
|
10363
|
-
indexed: true,
|
|
10364
|
-
internalType: "bytes32"
|
|
10365
|
-
},
|
|
10366
|
-
{
|
|
10367
|
-
name: "pool",
|
|
10368
|
-
type: "address",
|
|
10369
|
-
indexed: true,
|
|
10370
|
-
internalType: "address"
|
|
10371
|
-
},
|
|
10372
|
-
{
|
|
10373
|
-
name: "tokenIn",
|
|
10374
|
-
type: "address",
|
|
10375
|
-
indexed: true,
|
|
10376
|
-
internalType: "address"
|
|
10377
|
-
},
|
|
10378
|
-
{
|
|
10379
|
-
name: "tokenOut",
|
|
10380
|
-
type: "address",
|
|
10381
|
-
indexed: false,
|
|
10382
|
-
internalType: "address"
|
|
10383
|
-
},
|
|
10384
|
-
{
|
|
10385
|
-
name: "amountInReceived",
|
|
10386
|
-
type: "uint256",
|
|
10387
|
-
indexed: false,
|
|
10388
|
-
internalType: "uint256"
|
|
10389
|
-
},
|
|
10390
|
-
{
|
|
10391
|
-
name: "amountOutProduced",
|
|
10392
|
-
type: "uint256",
|
|
10393
|
-
indexed: false,
|
|
10394
|
-
internalType: "uint256"
|
|
10395
|
-
}
|
|
10396
|
-
],
|
|
10397
|
-
anonymous: false
|
|
10398
|
-
},
|
|
10399
|
-
{
|
|
10400
|
-
type: "error",
|
|
10401
|
-
name: "InsufficientPoolSwapOutput",
|
|
10402
|
-
inputs: [
|
|
10403
|
-
{
|
|
10404
|
-
name: "token",
|
|
10405
|
-
type: "address",
|
|
10406
|
-
internalType: "address"
|
|
10407
|
-
},
|
|
10408
|
-
{
|
|
10409
|
-
name: "amount",
|
|
10410
|
-
type: "uint256",
|
|
10411
|
-
internalType: "uint256"
|
|
10412
|
-
},
|
|
10413
|
-
{
|
|
10414
|
-
name: "minimum",
|
|
10415
|
-
type: "uint256",
|
|
10416
|
-
internalType: "uint256"
|
|
10417
|
-
}
|
|
10418
|
-
]
|
|
10419
|
-
},
|
|
10420
|
-
{
|
|
10421
|
-
type: "error",
|
|
10422
|
-
name: "MissingTokenView",
|
|
10423
|
-
inputs: [
|
|
10424
|
-
{
|
|
10425
|
-
name: "tokenId",
|
|
10426
|
-
type: "uint256",
|
|
10427
|
-
internalType: "uint256"
|
|
10428
|
-
}
|
|
10429
|
-
]
|
|
10430
|
-
},
|
|
10431
|
-
{
|
|
10432
|
-
type: "error",
|
|
10433
|
-
name: "ReentrancyGuardReentrantCall",
|
|
10434
|
-
inputs: []
|
|
10435
|
-
},
|
|
10436
|
-
{
|
|
10437
|
-
type: "error",
|
|
10438
|
-
name: "RequestHashMismatch",
|
|
10439
|
-
inputs: [
|
|
10440
|
-
{
|
|
10441
|
-
name: "expected",
|
|
10442
|
-
type: "bytes32",
|
|
10443
|
-
internalType: "bytes32"
|
|
10444
|
-
},
|
|
10445
|
-
{
|
|
10446
|
-
name: "actual",
|
|
10447
|
-
type: "bytes32",
|
|
10448
|
-
internalType: "bytes32"
|
|
10449
|
-
}
|
|
10450
|
-
]
|
|
10451
|
-
},
|
|
10452
|
-
{
|
|
10453
|
-
type: "error",
|
|
10454
|
-
name: "SafeERC20FailedOperation",
|
|
10455
|
-
inputs: [
|
|
10456
|
-
{
|
|
10457
|
-
name: "token",
|
|
10458
|
-
type: "address",
|
|
10459
|
-
internalType: "address"
|
|
10460
|
-
}
|
|
10461
|
-
]
|
|
10462
|
-
},
|
|
10463
|
-
{
|
|
10464
|
-
type: "error",
|
|
10465
|
-
name: "TokenBalanceDecreased",
|
|
10466
|
-
inputs: [
|
|
10467
|
-
{
|
|
10468
|
-
name: "token",
|
|
10469
|
-
type: "address",
|
|
10470
|
-
internalType: "address"
|
|
10471
|
-
},
|
|
10472
|
-
{
|
|
10473
|
-
name: "before_",
|
|
10474
|
-
type: "uint256",
|
|
10475
|
-
internalType: "uint256"
|
|
10476
|
-
},
|
|
10477
|
-
{
|
|
10478
|
-
name: "after_",
|
|
10479
|
-
type: "uint256",
|
|
10480
|
-
internalType: "uint256"
|
|
10481
|
-
}
|
|
10482
|
-
]
|
|
10483
|
-
},
|
|
10484
|
-
{
|
|
10485
|
-
type: "error",
|
|
10486
|
-
name: "UnauthorizedExecutor",
|
|
10487
|
-
inputs: [
|
|
10488
|
-
{
|
|
10489
|
-
name: "caller",
|
|
10490
|
-
type: "address",
|
|
10491
|
-
internalType: "address"
|
|
10492
|
-
}
|
|
10493
|
-
]
|
|
10494
|
-
},
|
|
10495
|
-
{
|
|
10496
|
-
type: "error",
|
|
10497
|
-
name: "ZeroAddress",
|
|
10498
|
-
inputs: []
|
|
10499
|
-
}
|
|
10500
|
-
];
|
|
10501
|
-
|
|
10502
|
-
// src/abis/call-resolvers/ResolverSandbox.sol/ResolverSandbox.json
|
|
10503
|
-
var ResolverSandbox_default = [
|
|
10504
|
-
{
|
|
10505
|
-
type: "constructor",
|
|
10506
|
-
inputs: [],
|
|
10507
|
-
stateMutability: "nonpayable"
|
|
10508
|
-
},
|
|
10509
|
-
{
|
|
10510
|
-
type: "function",
|
|
10511
|
-
name: "OWNER",
|
|
10512
|
-
inputs: [],
|
|
10513
|
-
outputs: [
|
|
10514
|
-
{
|
|
10515
|
-
name: "",
|
|
10516
|
-
type: "address",
|
|
10517
|
-
internalType: "address"
|
|
10518
|
-
}
|
|
10519
|
-
],
|
|
10520
|
-
stateMutability: "view"
|
|
10521
|
-
},
|
|
10522
|
-
{
|
|
10523
|
-
type: "function",
|
|
10524
|
-
name: "run",
|
|
10525
|
-
inputs: [
|
|
10526
|
-
{
|
|
10527
|
-
name: "calls",
|
|
10528
|
-
type: "tuple[]",
|
|
10529
|
-
internalType: "struct Call[]",
|
|
10530
|
-
components: [
|
|
10531
|
-
{
|
|
10532
|
-
name: "to",
|
|
10533
|
-
type: "address",
|
|
10534
|
-
internalType: "address"
|
|
10535
|
-
},
|
|
10536
|
-
{
|
|
10537
|
-
name: "data",
|
|
10538
|
-
type: "bytes",
|
|
10539
|
-
internalType: "bytes"
|
|
10540
|
-
}
|
|
10541
|
-
]
|
|
10542
|
-
},
|
|
10543
|
-
{
|
|
10544
|
-
name: "returnTokens",
|
|
10545
|
-
type: "address[]",
|
|
10546
|
-
internalType: "address[]"
|
|
10547
|
-
},
|
|
10548
|
-
{
|
|
10549
|
-
name: "recipient",
|
|
10550
|
-
type: "address",
|
|
10551
|
-
internalType: "address"
|
|
10552
|
-
}
|
|
10553
|
-
],
|
|
10554
|
-
outputs: [],
|
|
10555
|
-
stateMutability: "nonpayable"
|
|
10556
|
-
},
|
|
10557
|
-
{
|
|
10558
|
-
type: "error",
|
|
10559
|
-
name: "CallFailed",
|
|
10560
|
-
inputs: [
|
|
10561
|
-
{
|
|
10562
|
-
name: "index",
|
|
10563
|
-
type: "uint256",
|
|
10564
|
-
internalType: "uint256"
|
|
10565
|
-
},
|
|
10566
|
-
{
|
|
10567
|
-
name: "target",
|
|
10568
|
-
type: "address",
|
|
10569
|
-
internalType: "address"
|
|
10570
|
-
},
|
|
10571
|
-
{
|
|
10572
|
-
name: "reason",
|
|
10573
|
-
type: "bytes",
|
|
10574
|
-
internalType: "bytes"
|
|
10575
|
-
}
|
|
10576
|
-
]
|
|
10577
|
-
},
|
|
10578
|
-
{
|
|
10579
|
-
type: "error",
|
|
10580
|
-
name: "SafeERC20FailedOperation",
|
|
10581
|
-
inputs: [
|
|
10582
|
-
{
|
|
10583
|
-
name: "token",
|
|
10584
|
-
type: "address",
|
|
10585
|
-
internalType: "address"
|
|
10586
|
-
}
|
|
10587
|
-
]
|
|
10588
|
-
},
|
|
10589
|
-
{
|
|
10590
|
-
type: "error",
|
|
10591
|
-
name: "UnauthorizedCaller",
|
|
10592
|
-
inputs: [
|
|
10593
|
-
{
|
|
10594
|
-
name: "caller",
|
|
10595
|
-
type: "address",
|
|
10596
|
-
internalType: "address"
|
|
10597
|
-
}
|
|
10598
|
-
]
|
|
10599
|
-
}
|
|
10600
|
-
];
|
|
10601
|
-
|
|
10602
|
-
// src/abis/deposit-addresses/open/RelayDepositAddressManager.sol/RelayDepositAddressManager.json
|
|
10603
|
-
var RelayDepositAddressManager_default = [
|
|
10604
|
-
{
|
|
10605
|
-
type: "function",
|
|
10606
|
-
name: "trigger",
|
|
10607
|
-
inputs: [
|
|
10608
|
-
{
|
|
10609
|
-
name: "input",
|
|
10610
|
-
type: "tuple",
|
|
10611
|
-
internalType: "struct RelayDepositAddressManager.Input",
|
|
10612
|
-
components: [
|
|
10613
|
-
{
|
|
10614
|
-
name: "vmType",
|
|
10615
|
-
type: "string",
|
|
10616
|
-
internalType: "string"
|
|
10617
|
-
},
|
|
10618
|
-
{
|
|
10619
|
-
name: "chainId",
|
|
10620
|
-
type: "string",
|
|
10621
|
-
internalType: "string"
|
|
10622
|
-
},
|
|
10623
|
-
{
|
|
10624
|
-
name: "currency",
|
|
10625
|
-
type: "bytes",
|
|
10626
|
-
internalType: "bytes"
|
|
10627
|
-
},
|
|
10628
|
-
{
|
|
10629
|
-
name: "amount",
|
|
10283
|
+
name: "amount",
|
|
10630
10284
|
type: "uint256",
|
|
10631
10285
|
internalType: "uint256"
|
|
10632
10286
|
}
|
|
@@ -13773,66 +13427,227 @@ var RelayBpsFeeCalculator_default = [
|
|
|
13773
13427
|
|
|
13774
13428
|
// src/abis/funding-pools/IRelayFundingPool.sol/IRelayFundingPool.json
|
|
13775
13429
|
var IRelayFundingPool_default = [
|
|
13430
|
+
{
|
|
13431
|
+
type: "function",
|
|
13432
|
+
name: "balances",
|
|
13433
|
+
inputs: [
|
|
13434
|
+
{
|
|
13435
|
+
name: "account",
|
|
13436
|
+
type: "address",
|
|
13437
|
+
internalType: "address"
|
|
13438
|
+
},
|
|
13439
|
+
{
|
|
13440
|
+
name: "token",
|
|
13441
|
+
type: "address",
|
|
13442
|
+
internalType: "address"
|
|
13443
|
+
}
|
|
13444
|
+
],
|
|
13445
|
+
outputs: [
|
|
13446
|
+
{
|
|
13447
|
+
name: "balance",
|
|
13448
|
+
type: "uint256",
|
|
13449
|
+
internalType: "uint256"
|
|
13450
|
+
}
|
|
13451
|
+
],
|
|
13452
|
+
stateMutability: "view"
|
|
13453
|
+
},
|
|
13454
|
+
{
|
|
13455
|
+
type: "function",
|
|
13456
|
+
name: "credit",
|
|
13457
|
+
inputs: [
|
|
13458
|
+
{
|
|
13459
|
+
name: "account",
|
|
13460
|
+
type: "address",
|
|
13461
|
+
internalType: "address"
|
|
13462
|
+
},
|
|
13463
|
+
{
|
|
13464
|
+
name: "token",
|
|
13465
|
+
type: "address",
|
|
13466
|
+
internalType: "address"
|
|
13467
|
+
},
|
|
13468
|
+
{
|
|
13469
|
+
name: "amount",
|
|
13470
|
+
type: "uint256",
|
|
13471
|
+
internalType: "uint256"
|
|
13472
|
+
}
|
|
13473
|
+
],
|
|
13474
|
+
outputs: [],
|
|
13475
|
+
stateMutability: "nonpayable"
|
|
13476
|
+
},
|
|
13776
13477
|
{
|
|
13777
13478
|
type: "function",
|
|
13778
13479
|
name: "debit",
|
|
13779
13480
|
inputs: [
|
|
13780
13481
|
{
|
|
13781
|
-
name: "
|
|
13482
|
+
name: "account",
|
|
13483
|
+
type: "address",
|
|
13484
|
+
internalType: "address"
|
|
13485
|
+
},
|
|
13486
|
+
{
|
|
13487
|
+
name: "token",
|
|
13488
|
+
type: "address",
|
|
13489
|
+
internalType: "address"
|
|
13490
|
+
},
|
|
13491
|
+
{
|
|
13492
|
+
name: "amount",
|
|
13493
|
+
type: "uint256",
|
|
13494
|
+
internalType: "uint256"
|
|
13495
|
+
},
|
|
13496
|
+
{
|
|
13497
|
+
name: "requestHash",
|
|
13498
|
+
type: "bytes32",
|
|
13499
|
+
internalType: "bytes32"
|
|
13500
|
+
}
|
|
13501
|
+
],
|
|
13502
|
+
outputs: [],
|
|
13503
|
+
stateMutability: "nonpayable"
|
|
13504
|
+
},
|
|
13505
|
+
{
|
|
13506
|
+
type: "function",
|
|
13507
|
+
name: "depositFor",
|
|
13508
|
+
inputs: [
|
|
13509
|
+
{
|
|
13510
|
+
name: "account",
|
|
13511
|
+
type: "address",
|
|
13512
|
+
internalType: "address"
|
|
13513
|
+
},
|
|
13514
|
+
{
|
|
13515
|
+
name: "token",
|
|
13516
|
+
type: "address",
|
|
13517
|
+
internalType: "address"
|
|
13518
|
+
},
|
|
13519
|
+
{
|
|
13520
|
+
name: "amount",
|
|
13521
|
+
type: "uint256",
|
|
13522
|
+
internalType: "uint256"
|
|
13523
|
+
}
|
|
13524
|
+
],
|
|
13525
|
+
outputs: [],
|
|
13526
|
+
stateMutability: "nonpayable"
|
|
13527
|
+
},
|
|
13528
|
+
{
|
|
13529
|
+
type: "function",
|
|
13530
|
+
name: "drawRecords",
|
|
13531
|
+
inputs: [
|
|
13532
|
+
{
|
|
13533
|
+
name: "requestHash",
|
|
13534
|
+
type: "bytes32",
|
|
13535
|
+
internalType: "bytes32"
|
|
13536
|
+
},
|
|
13537
|
+
{
|
|
13538
|
+
name: "account",
|
|
13539
|
+
type: "address",
|
|
13540
|
+
internalType: "address"
|
|
13541
|
+
}
|
|
13542
|
+
],
|
|
13543
|
+
outputs: [
|
|
13544
|
+
{
|
|
13545
|
+
name: "drawn",
|
|
13546
|
+
type: "bool",
|
|
13547
|
+
internalType: "bool"
|
|
13548
|
+
}
|
|
13549
|
+
],
|
|
13550
|
+
stateMutability: "view"
|
|
13551
|
+
},
|
|
13552
|
+
{
|
|
13553
|
+
type: "function",
|
|
13554
|
+
name: "hashWithdrawal",
|
|
13555
|
+
inputs: [
|
|
13556
|
+
{
|
|
13557
|
+
name: "withdrawal",
|
|
13782
13558
|
type: "tuple",
|
|
13783
|
-
internalType: "struct
|
|
13559
|
+
internalType: "struct PoolWithdrawal",
|
|
13784
13560
|
components: [
|
|
13785
13561
|
{
|
|
13786
|
-
name: "
|
|
13787
|
-
type: "bytes32",
|
|
13788
|
-
internalType: "bytes32"
|
|
13789
|
-
},
|
|
13790
|
-
{
|
|
13791
|
-
name: "authorizer",
|
|
13562
|
+
name: "account",
|
|
13792
13563
|
type: "address",
|
|
13793
13564
|
internalType: "address"
|
|
13794
13565
|
},
|
|
13795
13566
|
{
|
|
13796
|
-
name: "
|
|
13567
|
+
name: "token",
|
|
13797
13568
|
type: "address",
|
|
13798
13569
|
internalType: "address"
|
|
13799
13570
|
},
|
|
13800
13571
|
{
|
|
13801
|
-
name: "
|
|
13802
|
-
type: "
|
|
13803
|
-
internalType: "
|
|
13572
|
+
name: "amount",
|
|
13573
|
+
type: "uint256",
|
|
13574
|
+
internalType: "uint256"
|
|
13804
13575
|
},
|
|
13805
13576
|
{
|
|
13806
|
-
name: "
|
|
13577
|
+
name: "recipient",
|
|
13807
13578
|
type: "address",
|
|
13808
13579
|
internalType: "address"
|
|
13809
13580
|
},
|
|
13810
13581
|
{
|
|
13811
|
-
name: "
|
|
13582
|
+
name: "nonce",
|
|
13812
13583
|
type: "uint256",
|
|
13813
13584
|
internalType: "uint256"
|
|
13814
13585
|
},
|
|
13815
13586
|
{
|
|
13816
|
-
name: "
|
|
13587
|
+
name: "deadline",
|
|
13817
13588
|
type: "uint256",
|
|
13818
13589
|
internalType: "uint256"
|
|
13819
|
-
}
|
|
13590
|
+
}
|
|
13591
|
+
]
|
|
13592
|
+
}
|
|
13593
|
+
],
|
|
13594
|
+
outputs: [
|
|
13595
|
+
{
|
|
13596
|
+
name: "digest",
|
|
13597
|
+
type: "bytes32",
|
|
13598
|
+
internalType: "bytes32"
|
|
13599
|
+
}
|
|
13600
|
+
],
|
|
13601
|
+
stateMutability: "view"
|
|
13602
|
+
},
|
|
13603
|
+
{
|
|
13604
|
+
type: "function",
|
|
13605
|
+
name: "setSponsorshipConfig",
|
|
13606
|
+
inputs: [
|
|
13607
|
+
{
|
|
13608
|
+
name: "token",
|
|
13609
|
+
type: "address",
|
|
13610
|
+
internalType: "address"
|
|
13611
|
+
},
|
|
13612
|
+
{
|
|
13613
|
+
name: "config",
|
|
13614
|
+
type: "tuple",
|
|
13615
|
+
internalType: "struct SponsorshipConfig",
|
|
13616
|
+
components: [
|
|
13820
13617
|
{
|
|
13821
|
-
name: "
|
|
13618
|
+
name: "perOrderCap",
|
|
13822
13619
|
type: "uint256",
|
|
13823
13620
|
internalType: "uint256"
|
|
13824
13621
|
},
|
|
13825
13622
|
{
|
|
13826
|
-
name: "
|
|
13623
|
+
name: "budget",
|
|
13827
13624
|
type: "uint256",
|
|
13828
13625
|
internalType: "uint256"
|
|
13626
|
+
},
|
|
13627
|
+
{
|
|
13628
|
+
name: "expiry",
|
|
13629
|
+
type: "uint64",
|
|
13630
|
+
internalType: "uint64"
|
|
13829
13631
|
}
|
|
13830
13632
|
]
|
|
13633
|
+
}
|
|
13634
|
+
],
|
|
13635
|
+
outputs: [],
|
|
13636
|
+
stateMutability: "nonpayable"
|
|
13637
|
+
},
|
|
13638
|
+
{
|
|
13639
|
+
type: "function",
|
|
13640
|
+
name: "setSponsorshipResolver",
|
|
13641
|
+
inputs: [
|
|
13642
|
+
{
|
|
13643
|
+
name: "resolver",
|
|
13644
|
+
type: "address",
|
|
13645
|
+
internalType: "address"
|
|
13831
13646
|
},
|
|
13832
13647
|
{
|
|
13833
|
-
name: "
|
|
13834
|
-
type: "
|
|
13835
|
-
internalType: "
|
|
13648
|
+
name: "allowed",
|
|
13649
|
+
type: "bool",
|
|
13650
|
+
internalType: "bool"
|
|
13836
13651
|
}
|
|
13837
13652
|
],
|
|
13838
13653
|
outputs: [],
|
|
@@ -13840,47 +13655,90 @@ var IRelayFundingPool_default = [
|
|
|
13840
13655
|
},
|
|
13841
13656
|
{
|
|
13842
13657
|
type: "function",
|
|
13843
|
-
name: "
|
|
13658
|
+
name: "sponsorshipConfig",
|
|
13659
|
+
inputs: [
|
|
13660
|
+
{
|
|
13661
|
+
name: "account",
|
|
13662
|
+
type: "address",
|
|
13663
|
+
internalType: "address"
|
|
13664
|
+
},
|
|
13665
|
+
{
|
|
13666
|
+
name: "token",
|
|
13667
|
+
type: "address",
|
|
13668
|
+
internalType: "address"
|
|
13669
|
+
}
|
|
13670
|
+
],
|
|
13671
|
+
outputs: [
|
|
13672
|
+
{
|
|
13673
|
+
name: "perOrderCap",
|
|
13674
|
+
type: "uint256",
|
|
13675
|
+
internalType: "uint256"
|
|
13676
|
+
},
|
|
13677
|
+
{
|
|
13678
|
+
name: "budget",
|
|
13679
|
+
type: "uint256",
|
|
13680
|
+
internalType: "uint256"
|
|
13681
|
+
},
|
|
13682
|
+
{
|
|
13683
|
+
name: "expiry",
|
|
13684
|
+
type: "uint64",
|
|
13685
|
+
internalType: "uint64"
|
|
13686
|
+
}
|
|
13687
|
+
],
|
|
13688
|
+
stateMutability: "view"
|
|
13689
|
+
},
|
|
13690
|
+
{
|
|
13691
|
+
type: "function",
|
|
13692
|
+
name: "sponsorshipResolvers",
|
|
13693
|
+
inputs: [
|
|
13694
|
+
{
|
|
13695
|
+
name: "account",
|
|
13696
|
+
type: "address",
|
|
13697
|
+
internalType: "address"
|
|
13698
|
+
},
|
|
13699
|
+
{
|
|
13700
|
+
name: "resolver",
|
|
13701
|
+
type: "address",
|
|
13702
|
+
internalType: "address"
|
|
13703
|
+
}
|
|
13704
|
+
],
|
|
13705
|
+
outputs: [
|
|
13706
|
+
{
|
|
13707
|
+
name: "allowed",
|
|
13708
|
+
type: "bool",
|
|
13709
|
+
internalType: "bool"
|
|
13710
|
+
}
|
|
13711
|
+
],
|
|
13712
|
+
stateMutability: "view"
|
|
13713
|
+
},
|
|
13714
|
+
{
|
|
13715
|
+
type: "function",
|
|
13716
|
+
name: "withdraw",
|
|
13844
13717
|
inputs: [
|
|
13845
13718
|
{
|
|
13846
|
-
name: "
|
|
13719
|
+
name: "withdrawal",
|
|
13847
13720
|
type: "tuple",
|
|
13848
|
-
internalType: "struct
|
|
13721
|
+
internalType: "struct PoolWithdrawal",
|
|
13849
13722
|
components: [
|
|
13850
13723
|
{
|
|
13851
|
-
name: "
|
|
13852
|
-
type: "bytes32",
|
|
13853
|
-
internalType: "bytes32"
|
|
13854
|
-
},
|
|
13855
|
-
{
|
|
13856
|
-
name: "authorizer",
|
|
13857
|
-
type: "address",
|
|
13858
|
-
internalType: "address"
|
|
13859
|
-
},
|
|
13860
|
-
{
|
|
13861
|
-
name: "resolver",
|
|
13862
|
-
type: "address",
|
|
13863
|
-
internalType: "address"
|
|
13864
|
-
},
|
|
13865
|
-
{
|
|
13866
|
-
name: "tokenIn",
|
|
13724
|
+
name: "account",
|
|
13867
13725
|
type: "address",
|
|
13868
13726
|
internalType: "address"
|
|
13869
13727
|
},
|
|
13870
13728
|
{
|
|
13871
|
-
name: "
|
|
13729
|
+
name: "token",
|
|
13872
13730
|
type: "address",
|
|
13873
13731
|
internalType: "address"
|
|
13874
13732
|
},
|
|
13875
13733
|
{
|
|
13876
|
-
name: "
|
|
13734
|
+
name: "amount",
|
|
13877
13735
|
type: "uint256",
|
|
13878
13736
|
internalType: "uint256"
|
|
13879
13737
|
},
|
|
13880
13738
|
{
|
|
13881
|
-
name: "
|
|
13882
|
-
type: "
|
|
13883
|
-
internalType: "
|
|
13739
|
+
name: "recipient",
|
|
13740
|
+
type: "address",
|
|
13741
|
+
internalType: "address"
|
|
13884
13742
|
},
|
|
13885
13743
|
{
|
|
13886
13744
|
name: "nonce",
|
|
@@ -13893,16 +13751,15 @@ var IRelayFundingPool_default = [
|
|
|
13893
13751
|
internalType: "uint256"
|
|
13894
13752
|
}
|
|
13895
13753
|
]
|
|
13896
|
-
}
|
|
13897
|
-
],
|
|
13898
|
-
outputs: [
|
|
13754
|
+
},
|
|
13899
13755
|
{
|
|
13900
|
-
name: "
|
|
13901
|
-
type: "
|
|
13902
|
-
internalType: "
|
|
13756
|
+
name: "signature",
|
|
13757
|
+
type: "bytes",
|
|
13758
|
+
internalType: "bytes"
|
|
13903
13759
|
}
|
|
13904
13760
|
],
|
|
13905
|
-
|
|
13761
|
+
outputs: [],
|
|
13762
|
+
stateMutability: "nonpayable"
|
|
13906
13763
|
}
|
|
13907
13764
|
];
|
|
13908
13765
|
|
|
@@ -13916,11 +13773,6 @@ var RelayFundingPool_default = [
|
|
|
13916
13773
|
type: "address",
|
|
13917
13774
|
internalType: "address"
|
|
13918
13775
|
},
|
|
13919
|
-
{
|
|
13920
|
-
name: "authorizer",
|
|
13921
|
-
type: "address",
|
|
13922
|
-
internalType: "address"
|
|
13923
|
-
},
|
|
13924
13776
|
{
|
|
13925
13777
|
name: "withdrawer",
|
|
13926
13778
|
type: "address",
|
|
@@ -13949,7 +13801,7 @@ var RelayFundingPool_default = [
|
|
|
13949
13801
|
},
|
|
13950
13802
|
{
|
|
13951
13803
|
type: "function",
|
|
13952
|
-
name: "
|
|
13804
|
+
name: "DEFAULT_ADMIN_ROLE",
|
|
13953
13805
|
inputs: [],
|
|
13954
13806
|
outputs: [
|
|
13955
13807
|
{
|
|
@@ -13962,7 +13814,7 @@ var RelayFundingPool_default = [
|
|
|
13962
13814
|
},
|
|
13963
13815
|
{
|
|
13964
13816
|
type: "function",
|
|
13965
|
-
name: "
|
|
13817
|
+
name: "POOL_WITHDRAWAL_TYPEHASH",
|
|
13966
13818
|
inputs: [],
|
|
13967
13819
|
outputs: [
|
|
13968
13820
|
{
|
|
@@ -13975,7 +13827,7 @@ var RelayFundingPool_default = [
|
|
|
13975
13827
|
},
|
|
13976
13828
|
{
|
|
13977
13829
|
type: "function",
|
|
13978
|
-
name: "
|
|
13830
|
+
name: "RESOLVER_ROLE",
|
|
13979
13831
|
inputs: [],
|
|
13980
13832
|
outputs: [
|
|
13981
13833
|
{
|
|
@@ -13988,7 +13840,7 @@ var RelayFundingPool_default = [
|
|
|
13988
13840
|
},
|
|
13989
13841
|
{
|
|
13990
13842
|
type: "function",
|
|
13991
|
-
name: "
|
|
13843
|
+
name: "WITHDRAWER_ROLE",
|
|
13992
13844
|
inputs: [],
|
|
13993
13845
|
outputs: [
|
|
13994
13846
|
{
|
|
@@ -14001,82 +13853,126 @@ var RelayFundingPool_default = [
|
|
|
14001
13853
|
},
|
|
14002
13854
|
{
|
|
14003
13855
|
type: "function",
|
|
14004
|
-
name: "
|
|
14005
|
-
inputs: [
|
|
13856
|
+
name: "balances",
|
|
13857
|
+
inputs: [
|
|
13858
|
+
{
|
|
13859
|
+
name: "account",
|
|
13860
|
+
type: "address",
|
|
13861
|
+
internalType: "address"
|
|
13862
|
+
},
|
|
13863
|
+
{
|
|
13864
|
+
name: "token",
|
|
13865
|
+
type: "address",
|
|
13866
|
+
internalType: "address"
|
|
13867
|
+
}
|
|
13868
|
+
],
|
|
14006
13869
|
outputs: [
|
|
14007
13870
|
{
|
|
14008
|
-
name: "",
|
|
14009
|
-
type: "
|
|
14010
|
-
internalType: "
|
|
13871
|
+
name: "balance",
|
|
13872
|
+
type: "uint256",
|
|
13873
|
+
internalType: "uint256"
|
|
14011
13874
|
}
|
|
14012
13875
|
],
|
|
14013
13876
|
stateMutability: "view"
|
|
14014
13877
|
},
|
|
13878
|
+
{
|
|
13879
|
+
type: "function",
|
|
13880
|
+
name: "credit",
|
|
13881
|
+
inputs: [
|
|
13882
|
+
{
|
|
13883
|
+
name: "account",
|
|
13884
|
+
type: "address",
|
|
13885
|
+
internalType: "address"
|
|
13886
|
+
},
|
|
13887
|
+
{
|
|
13888
|
+
name: "token",
|
|
13889
|
+
type: "address",
|
|
13890
|
+
internalType: "address"
|
|
13891
|
+
},
|
|
13892
|
+
{
|
|
13893
|
+
name: "amount",
|
|
13894
|
+
type: "uint256",
|
|
13895
|
+
internalType: "uint256"
|
|
13896
|
+
}
|
|
13897
|
+
],
|
|
13898
|
+
outputs: [],
|
|
13899
|
+
stateMutability: "nonpayable"
|
|
13900
|
+
},
|
|
14015
13901
|
{
|
|
14016
13902
|
type: "function",
|
|
14017
13903
|
name: "debit",
|
|
14018
13904
|
inputs: [
|
|
14019
13905
|
{
|
|
14020
|
-
name: "
|
|
14021
|
-
type: "
|
|
14022
|
-
internalType: "
|
|
14023
|
-
|
|
14024
|
-
|
|
14025
|
-
|
|
14026
|
-
|
|
14027
|
-
|
|
14028
|
-
|
|
14029
|
-
|
|
14030
|
-
|
|
14031
|
-
|
|
14032
|
-
|
|
14033
|
-
|
|
14034
|
-
|
|
14035
|
-
|
|
14036
|
-
|
|
14037
|
-
|
|
14038
|
-
|
|
14039
|
-
|
|
14040
|
-
|
|
14041
|
-
|
|
14042
|
-
|
|
14043
|
-
|
|
14044
|
-
|
|
14045
|
-
|
|
14046
|
-
|
|
14047
|
-
|
|
14048
|
-
|
|
14049
|
-
|
|
14050
|
-
|
|
14051
|
-
type: "uint256",
|
|
14052
|
-
internalType: "uint256"
|
|
14053
|
-
},
|
|
14054
|
-
{
|
|
14055
|
-
name: "amountOutMinimum",
|
|
14056
|
-
type: "uint256",
|
|
14057
|
-
internalType: "uint256"
|
|
14058
|
-
},
|
|
14059
|
-
{
|
|
14060
|
-
name: "nonce",
|
|
14061
|
-
type: "uint256",
|
|
14062
|
-
internalType: "uint256"
|
|
14063
|
-
},
|
|
14064
|
-
{
|
|
14065
|
-
name: "deadline",
|
|
14066
|
-
type: "uint256",
|
|
14067
|
-
internalType: "uint256"
|
|
14068
|
-
}
|
|
14069
|
-
]
|
|
13906
|
+
name: "account",
|
|
13907
|
+
type: "address",
|
|
13908
|
+
internalType: "address"
|
|
13909
|
+
},
|
|
13910
|
+
{
|
|
13911
|
+
name: "token",
|
|
13912
|
+
type: "address",
|
|
13913
|
+
internalType: "address"
|
|
13914
|
+
},
|
|
13915
|
+
{
|
|
13916
|
+
name: "amount",
|
|
13917
|
+
type: "uint256",
|
|
13918
|
+
internalType: "uint256"
|
|
13919
|
+
},
|
|
13920
|
+
{
|
|
13921
|
+
name: "requestHash",
|
|
13922
|
+
type: "bytes32",
|
|
13923
|
+
internalType: "bytes32"
|
|
13924
|
+
}
|
|
13925
|
+
],
|
|
13926
|
+
outputs: [],
|
|
13927
|
+
stateMutability: "nonpayable"
|
|
13928
|
+
},
|
|
13929
|
+
{
|
|
13930
|
+
type: "function",
|
|
13931
|
+
name: "depositFor",
|
|
13932
|
+
inputs: [
|
|
13933
|
+
{
|
|
13934
|
+
name: "account",
|
|
13935
|
+
type: "address",
|
|
13936
|
+
internalType: "address"
|
|
14070
13937
|
},
|
|
14071
13938
|
{
|
|
14072
|
-
name: "
|
|
14073
|
-
type: "
|
|
14074
|
-
internalType: "
|
|
13939
|
+
name: "token",
|
|
13940
|
+
type: "address",
|
|
13941
|
+
internalType: "address"
|
|
13942
|
+
},
|
|
13943
|
+
{
|
|
13944
|
+
name: "amount",
|
|
13945
|
+
type: "uint256",
|
|
13946
|
+
internalType: "uint256"
|
|
14075
13947
|
}
|
|
14076
13948
|
],
|
|
14077
13949
|
outputs: [],
|
|
14078
13950
|
stateMutability: "nonpayable"
|
|
14079
13951
|
},
|
|
13952
|
+
{
|
|
13953
|
+
type: "function",
|
|
13954
|
+
name: "drawRecords",
|
|
13955
|
+
inputs: [
|
|
13956
|
+
{
|
|
13957
|
+
name: "requestHash",
|
|
13958
|
+
type: "bytes32",
|
|
13959
|
+
internalType: "bytes32"
|
|
13960
|
+
},
|
|
13961
|
+
{
|
|
13962
|
+
name: "account",
|
|
13963
|
+
type: "address",
|
|
13964
|
+
internalType: "address"
|
|
13965
|
+
}
|
|
13966
|
+
],
|
|
13967
|
+
outputs: [
|
|
13968
|
+
{
|
|
13969
|
+
name: "drawn",
|
|
13970
|
+
type: "bool",
|
|
13971
|
+
internalType: "bool"
|
|
13972
|
+
}
|
|
13973
|
+
],
|
|
13974
|
+
stateMutability: "view"
|
|
13975
|
+
},
|
|
14080
13976
|
{
|
|
14081
13977
|
type: "function",
|
|
14082
13978
|
name: "eip712Domain",
|
|
@@ -14183,47 +14079,32 @@ var RelayFundingPool_default = [
|
|
|
14183
14079
|
},
|
|
14184
14080
|
{
|
|
14185
14081
|
type: "function",
|
|
14186
|
-
name: "
|
|
14082
|
+
name: "hashWithdrawal",
|
|
14187
14083
|
inputs: [
|
|
14188
14084
|
{
|
|
14189
|
-
name: "
|
|
14085
|
+
name: "withdrawal",
|
|
14190
14086
|
type: "tuple",
|
|
14191
|
-
internalType: "struct
|
|
14087
|
+
internalType: "struct PoolWithdrawal",
|
|
14192
14088
|
components: [
|
|
14193
14089
|
{
|
|
14194
|
-
name: "
|
|
14195
|
-
type: "bytes32",
|
|
14196
|
-
internalType: "bytes32"
|
|
14197
|
-
},
|
|
14198
|
-
{
|
|
14199
|
-
name: "authorizer",
|
|
14200
|
-
type: "address",
|
|
14201
|
-
internalType: "address"
|
|
14202
|
-
},
|
|
14203
|
-
{
|
|
14204
|
-
name: "resolver",
|
|
14205
|
-
type: "address",
|
|
14206
|
-
internalType: "address"
|
|
14207
|
-
},
|
|
14208
|
-
{
|
|
14209
|
-
name: "tokenIn",
|
|
14090
|
+
name: "account",
|
|
14210
14091
|
type: "address",
|
|
14211
14092
|
internalType: "address"
|
|
14212
14093
|
},
|
|
14213
14094
|
{
|
|
14214
|
-
name: "
|
|
14095
|
+
name: "token",
|
|
14215
14096
|
type: "address",
|
|
14216
14097
|
internalType: "address"
|
|
14217
14098
|
},
|
|
14218
14099
|
{
|
|
14219
|
-
name: "
|
|
14100
|
+
name: "amount",
|
|
14220
14101
|
type: "uint256",
|
|
14221
14102
|
internalType: "uint256"
|
|
14222
14103
|
},
|
|
14223
14104
|
{
|
|
14224
|
-
name: "
|
|
14225
|
-
type: "
|
|
14226
|
-
internalType: "
|
|
14105
|
+
name: "recipient",
|
|
14106
|
+
type: "address",
|
|
14107
|
+
internalType: "address"
|
|
14227
14108
|
},
|
|
14228
14109
|
{
|
|
14229
14110
|
name: "nonce",
|
|
@@ -14303,6 +14184,117 @@ var RelayFundingPool_default = [
|
|
|
14303
14184
|
outputs: [],
|
|
14304
14185
|
stateMutability: "nonpayable"
|
|
14305
14186
|
},
|
|
14187
|
+
{
|
|
14188
|
+
type: "function",
|
|
14189
|
+
name: "setSponsorshipConfig",
|
|
14190
|
+
inputs: [
|
|
14191
|
+
{
|
|
14192
|
+
name: "token",
|
|
14193
|
+
type: "address",
|
|
14194
|
+
internalType: "address"
|
|
14195
|
+
},
|
|
14196
|
+
{
|
|
14197
|
+
name: "config",
|
|
14198
|
+
type: "tuple",
|
|
14199
|
+
internalType: "struct SponsorshipConfig",
|
|
14200
|
+
components: [
|
|
14201
|
+
{
|
|
14202
|
+
name: "perOrderCap",
|
|
14203
|
+
type: "uint256",
|
|
14204
|
+
internalType: "uint256"
|
|
14205
|
+
},
|
|
14206
|
+
{
|
|
14207
|
+
name: "budget",
|
|
14208
|
+
type: "uint256",
|
|
14209
|
+
internalType: "uint256"
|
|
14210
|
+
},
|
|
14211
|
+
{
|
|
14212
|
+
name: "expiry",
|
|
14213
|
+
type: "uint64",
|
|
14214
|
+
internalType: "uint64"
|
|
14215
|
+
}
|
|
14216
|
+
]
|
|
14217
|
+
}
|
|
14218
|
+
],
|
|
14219
|
+
outputs: [],
|
|
14220
|
+
stateMutability: "nonpayable"
|
|
14221
|
+
},
|
|
14222
|
+
{
|
|
14223
|
+
type: "function",
|
|
14224
|
+
name: "setSponsorshipResolver",
|
|
14225
|
+
inputs: [
|
|
14226
|
+
{
|
|
14227
|
+
name: "resolver",
|
|
14228
|
+
type: "address",
|
|
14229
|
+
internalType: "address"
|
|
14230
|
+
},
|
|
14231
|
+
{
|
|
14232
|
+
name: "allowed",
|
|
14233
|
+
type: "bool",
|
|
14234
|
+
internalType: "bool"
|
|
14235
|
+
}
|
|
14236
|
+
],
|
|
14237
|
+
outputs: [],
|
|
14238
|
+
stateMutability: "nonpayable"
|
|
14239
|
+
},
|
|
14240
|
+
{
|
|
14241
|
+
type: "function",
|
|
14242
|
+
name: "sponsorshipConfig",
|
|
14243
|
+
inputs: [
|
|
14244
|
+
{
|
|
14245
|
+
name: "account",
|
|
14246
|
+
type: "address",
|
|
14247
|
+
internalType: "address"
|
|
14248
|
+
},
|
|
14249
|
+
{
|
|
14250
|
+
name: "token",
|
|
14251
|
+
type: "address",
|
|
14252
|
+
internalType: "address"
|
|
14253
|
+
}
|
|
14254
|
+
],
|
|
14255
|
+
outputs: [
|
|
14256
|
+
{
|
|
14257
|
+
name: "perOrderCap",
|
|
14258
|
+
type: "uint256",
|
|
14259
|
+
internalType: "uint256"
|
|
14260
|
+
},
|
|
14261
|
+
{
|
|
14262
|
+
name: "budget",
|
|
14263
|
+
type: "uint256",
|
|
14264
|
+
internalType: "uint256"
|
|
14265
|
+
},
|
|
14266
|
+
{
|
|
14267
|
+
name: "expiry",
|
|
14268
|
+
type: "uint64",
|
|
14269
|
+
internalType: "uint64"
|
|
14270
|
+
}
|
|
14271
|
+
],
|
|
14272
|
+
stateMutability: "view"
|
|
14273
|
+
},
|
|
14274
|
+
{
|
|
14275
|
+
type: "function",
|
|
14276
|
+
name: "sponsorshipResolvers",
|
|
14277
|
+
inputs: [
|
|
14278
|
+
{
|
|
14279
|
+
name: "account",
|
|
14280
|
+
type: "address",
|
|
14281
|
+
internalType: "address"
|
|
14282
|
+
},
|
|
14283
|
+
{
|
|
14284
|
+
name: "resolver",
|
|
14285
|
+
type: "address",
|
|
14286
|
+
internalType: "address"
|
|
14287
|
+
}
|
|
14288
|
+
],
|
|
14289
|
+
outputs: [
|
|
14290
|
+
{
|
|
14291
|
+
name: "allowed",
|
|
14292
|
+
type: "bool",
|
|
14293
|
+
internalType: "bool"
|
|
14294
|
+
}
|
|
14295
|
+
],
|
|
14296
|
+
stateMutability: "view"
|
|
14297
|
+
},
|
|
14306
14298
|
{
|
|
14307
14299
|
type: "function",
|
|
14308
14300
|
name: "supportsInterface",
|
|
@@ -14331,54 +14323,166 @@ var RelayFundingPool_default = [
|
|
|
14331
14323
|
},
|
|
14332
14324
|
{
|
|
14333
14325
|
type: "function",
|
|
14334
|
-
name: "
|
|
14326
|
+
name: "usedWithdrawalNonces",
|
|
14335
14327
|
inputs: [
|
|
14336
14328
|
{
|
|
14337
|
-
name: "",
|
|
14329
|
+
name: "account",
|
|
14338
14330
|
type: "address",
|
|
14339
14331
|
internalType: "address"
|
|
14340
14332
|
},
|
|
14341
14333
|
{
|
|
14342
|
-
name: "",
|
|
14334
|
+
name: "nonce",
|
|
14343
14335
|
type: "uint256",
|
|
14344
14336
|
internalType: "uint256"
|
|
14345
14337
|
}
|
|
14346
14338
|
],
|
|
14347
14339
|
outputs: [
|
|
14348
14340
|
{
|
|
14349
|
-
name: "",
|
|
14350
|
-
type: "bool",
|
|
14351
|
-
internalType: "bool"
|
|
14341
|
+
name: "used",
|
|
14342
|
+
type: "bool",
|
|
14343
|
+
internalType: "bool"
|
|
14344
|
+
}
|
|
14345
|
+
],
|
|
14346
|
+
stateMutability: "view"
|
|
14347
|
+
},
|
|
14348
|
+
{
|
|
14349
|
+
type: "function",
|
|
14350
|
+
name: "withdraw",
|
|
14351
|
+
inputs: [
|
|
14352
|
+
{
|
|
14353
|
+
name: "withdrawal",
|
|
14354
|
+
type: "tuple",
|
|
14355
|
+
internalType: "struct PoolWithdrawal",
|
|
14356
|
+
components: [
|
|
14357
|
+
{
|
|
14358
|
+
name: "account",
|
|
14359
|
+
type: "address",
|
|
14360
|
+
internalType: "address"
|
|
14361
|
+
},
|
|
14362
|
+
{
|
|
14363
|
+
name: "token",
|
|
14364
|
+
type: "address",
|
|
14365
|
+
internalType: "address"
|
|
14366
|
+
},
|
|
14367
|
+
{
|
|
14368
|
+
name: "amount",
|
|
14369
|
+
type: "uint256",
|
|
14370
|
+
internalType: "uint256"
|
|
14371
|
+
},
|
|
14372
|
+
{
|
|
14373
|
+
name: "recipient",
|
|
14374
|
+
type: "address",
|
|
14375
|
+
internalType: "address"
|
|
14376
|
+
},
|
|
14377
|
+
{
|
|
14378
|
+
name: "nonce",
|
|
14379
|
+
type: "uint256",
|
|
14380
|
+
internalType: "uint256"
|
|
14381
|
+
},
|
|
14382
|
+
{
|
|
14383
|
+
name: "deadline",
|
|
14384
|
+
type: "uint256",
|
|
14385
|
+
internalType: "uint256"
|
|
14386
|
+
}
|
|
14387
|
+
]
|
|
14388
|
+
},
|
|
14389
|
+
{
|
|
14390
|
+
name: "signature",
|
|
14391
|
+
type: "bytes",
|
|
14392
|
+
internalType: "bytes"
|
|
14393
|
+
}
|
|
14394
|
+
],
|
|
14395
|
+
outputs: [],
|
|
14396
|
+
stateMutability: "nonpayable"
|
|
14397
|
+
},
|
|
14398
|
+
{
|
|
14399
|
+
type: "function",
|
|
14400
|
+
name: "withdraw",
|
|
14401
|
+
inputs: [
|
|
14402
|
+
{
|
|
14403
|
+
name: "token",
|
|
14404
|
+
type: "address",
|
|
14405
|
+
internalType: "address"
|
|
14406
|
+
},
|
|
14407
|
+
{
|
|
14408
|
+
name: "amount",
|
|
14409
|
+
type: "uint256",
|
|
14410
|
+
internalType: "uint256"
|
|
14411
|
+
},
|
|
14412
|
+
{
|
|
14413
|
+
name: "recipient",
|
|
14414
|
+
type: "address",
|
|
14415
|
+
internalType: "address"
|
|
14416
|
+
}
|
|
14417
|
+
],
|
|
14418
|
+
outputs: [],
|
|
14419
|
+
stateMutability: "nonpayable"
|
|
14420
|
+
},
|
|
14421
|
+
{
|
|
14422
|
+
type: "event",
|
|
14423
|
+
name: "Credited",
|
|
14424
|
+
inputs: [
|
|
14425
|
+
{
|
|
14426
|
+
name: "account",
|
|
14427
|
+
type: "address",
|
|
14428
|
+
indexed: true,
|
|
14429
|
+
internalType: "address"
|
|
14430
|
+
},
|
|
14431
|
+
{
|
|
14432
|
+
name: "token",
|
|
14433
|
+
type: "address",
|
|
14434
|
+
indexed: true,
|
|
14435
|
+
internalType: "address"
|
|
14436
|
+
},
|
|
14437
|
+
{
|
|
14438
|
+
name: "resolver",
|
|
14439
|
+
type: "address",
|
|
14440
|
+
indexed: true,
|
|
14441
|
+
internalType: "address"
|
|
14442
|
+
},
|
|
14443
|
+
{
|
|
14444
|
+
name: "amount",
|
|
14445
|
+
type: "uint256",
|
|
14446
|
+
indexed: false,
|
|
14447
|
+
internalType: "uint256"
|
|
14352
14448
|
}
|
|
14353
14449
|
],
|
|
14354
|
-
|
|
14450
|
+
anonymous: false
|
|
14355
14451
|
},
|
|
14356
14452
|
{
|
|
14357
|
-
type: "
|
|
14358
|
-
name: "
|
|
14453
|
+
type: "event",
|
|
14454
|
+
name: "Deposited",
|
|
14359
14455
|
inputs: [
|
|
14360
14456
|
{
|
|
14361
|
-
name: "
|
|
14457
|
+
name: "account",
|
|
14362
14458
|
type: "address",
|
|
14459
|
+
indexed: true,
|
|
14363
14460
|
internalType: "address"
|
|
14364
14461
|
},
|
|
14365
14462
|
{
|
|
14366
|
-
name: "
|
|
14367
|
-
type: "
|
|
14368
|
-
|
|
14463
|
+
name: "token",
|
|
14464
|
+
type: "address",
|
|
14465
|
+
indexed: true,
|
|
14466
|
+
internalType: "address"
|
|
14369
14467
|
},
|
|
14370
14468
|
{
|
|
14371
|
-
name: "
|
|
14469
|
+
name: "funder",
|
|
14372
14470
|
type: "address",
|
|
14471
|
+
indexed: true,
|
|
14373
14472
|
internalType: "address"
|
|
14473
|
+
},
|
|
14474
|
+
{
|
|
14475
|
+
name: "amount",
|
|
14476
|
+
type: "uint256",
|
|
14477
|
+
indexed: false,
|
|
14478
|
+
internalType: "uint256"
|
|
14374
14479
|
}
|
|
14375
14480
|
],
|
|
14376
|
-
|
|
14377
|
-
stateMutability: "nonpayable"
|
|
14481
|
+
anonymous: false
|
|
14378
14482
|
},
|
|
14379
14483
|
{
|
|
14380
14484
|
type: "event",
|
|
14381
|
-
name: "
|
|
14485
|
+
name: "Drawn",
|
|
14382
14486
|
inputs: [
|
|
14383
14487
|
{
|
|
14384
14488
|
name: "requestHash",
|
|
@@ -14387,43 +14491,25 @@ var RelayFundingPool_default = [
|
|
|
14387
14491
|
internalType: "bytes32"
|
|
14388
14492
|
},
|
|
14389
14493
|
{
|
|
14390
|
-
name: "
|
|
14494
|
+
name: "account",
|
|
14391
14495
|
type: "address",
|
|
14392
14496
|
indexed: true,
|
|
14393
14497
|
internalType: "address"
|
|
14394
14498
|
},
|
|
14395
14499
|
{
|
|
14396
|
-
name: "
|
|
14500
|
+
name: "token",
|
|
14397
14501
|
type: "address",
|
|
14398
14502
|
indexed: true,
|
|
14399
14503
|
internalType: "address"
|
|
14400
14504
|
},
|
|
14401
14505
|
{
|
|
14402
|
-
name: "
|
|
14403
|
-
type: "address",
|
|
14404
|
-
indexed: false,
|
|
14405
|
-
internalType: "address"
|
|
14406
|
-
},
|
|
14407
|
-
{
|
|
14408
|
-
name: "tokenOut",
|
|
14506
|
+
name: "resolver",
|
|
14409
14507
|
type: "address",
|
|
14410
14508
|
indexed: false,
|
|
14411
14509
|
internalType: "address"
|
|
14412
14510
|
},
|
|
14413
14511
|
{
|
|
14414
|
-
name: "
|
|
14415
|
-
type: "uint256",
|
|
14416
|
-
indexed: false,
|
|
14417
|
-
internalType: "uint256"
|
|
14418
|
-
},
|
|
14419
|
-
{
|
|
14420
|
-
name: "amountOutMinimum",
|
|
14421
|
-
type: "uint256",
|
|
14422
|
-
indexed: false,
|
|
14423
|
-
internalType: "uint256"
|
|
14424
|
-
},
|
|
14425
|
-
{
|
|
14426
|
-
name: "nonce",
|
|
14512
|
+
name: "amount",
|
|
14427
14513
|
type: "uint256",
|
|
14428
14514
|
indexed: false,
|
|
14429
14515
|
internalType: "uint256"
|
|
@@ -14525,6 +14611,68 @@ var RelayFundingPool_default = [
|
|
|
14525
14611
|
],
|
|
14526
14612
|
anonymous: false
|
|
14527
14613
|
},
|
|
14614
|
+
{
|
|
14615
|
+
type: "event",
|
|
14616
|
+
name: "SponsorshipConfigSet",
|
|
14617
|
+
inputs: [
|
|
14618
|
+
{
|
|
14619
|
+
name: "account",
|
|
14620
|
+
type: "address",
|
|
14621
|
+
indexed: true,
|
|
14622
|
+
internalType: "address"
|
|
14623
|
+
},
|
|
14624
|
+
{
|
|
14625
|
+
name: "token",
|
|
14626
|
+
type: "address",
|
|
14627
|
+
indexed: true,
|
|
14628
|
+
internalType: "address"
|
|
14629
|
+
},
|
|
14630
|
+
{
|
|
14631
|
+
name: "perOrderCap",
|
|
14632
|
+
type: "uint256",
|
|
14633
|
+
indexed: false,
|
|
14634
|
+
internalType: "uint256"
|
|
14635
|
+
},
|
|
14636
|
+
{
|
|
14637
|
+
name: "budget",
|
|
14638
|
+
type: "uint256",
|
|
14639
|
+
indexed: false,
|
|
14640
|
+
internalType: "uint256"
|
|
14641
|
+
},
|
|
14642
|
+
{
|
|
14643
|
+
name: "expiry",
|
|
14644
|
+
type: "uint64",
|
|
14645
|
+
indexed: false,
|
|
14646
|
+
internalType: "uint64"
|
|
14647
|
+
}
|
|
14648
|
+
],
|
|
14649
|
+
anonymous: false
|
|
14650
|
+
},
|
|
14651
|
+
{
|
|
14652
|
+
type: "event",
|
|
14653
|
+
name: "SponsorshipResolverSet",
|
|
14654
|
+
inputs: [
|
|
14655
|
+
{
|
|
14656
|
+
name: "account",
|
|
14657
|
+
type: "address",
|
|
14658
|
+
indexed: true,
|
|
14659
|
+
internalType: "address"
|
|
14660
|
+
},
|
|
14661
|
+
{
|
|
14662
|
+
name: "resolver",
|
|
14663
|
+
type: "address",
|
|
14664
|
+
indexed: true,
|
|
14665
|
+
internalType: "address"
|
|
14666
|
+
},
|
|
14667
|
+
{
|
|
14668
|
+
name: "allowed",
|
|
14669
|
+
type: "bool",
|
|
14670
|
+
indexed: false,
|
|
14671
|
+
internalType: "bool"
|
|
14672
|
+
}
|
|
14673
|
+
],
|
|
14674
|
+
anonymous: false
|
|
14675
|
+
},
|
|
14528
14676
|
{
|
|
14529
14677
|
type: "event",
|
|
14530
14678
|
name: "Unpaused",
|
|
@@ -14543,7 +14691,7 @@ var RelayFundingPool_default = [
|
|
|
14543
14691
|
name: "Withdrawn",
|
|
14544
14692
|
inputs: [
|
|
14545
14693
|
{
|
|
14546
|
-
name: "
|
|
14694
|
+
name: "account",
|
|
14547
14695
|
type: "address",
|
|
14548
14696
|
indexed: true,
|
|
14549
14697
|
internalType: "address"
|
|
@@ -14592,26 +14740,41 @@ var RelayFundingPool_default = [
|
|
|
14592
14740
|
},
|
|
14593
14741
|
{
|
|
14594
14742
|
type: "error",
|
|
14595
|
-
name: "
|
|
14743
|
+
name: "AlreadyDrawn",
|
|
14596
14744
|
inputs: [
|
|
14597
14745
|
{
|
|
14598
|
-
name: "
|
|
14599
|
-
type: "
|
|
14600
|
-
internalType: "
|
|
14746
|
+
name: "requestHash",
|
|
14747
|
+
type: "bytes32",
|
|
14748
|
+
internalType: "bytes32"
|
|
14749
|
+
},
|
|
14750
|
+
{
|
|
14751
|
+
name: "account",
|
|
14752
|
+
type: "address",
|
|
14753
|
+
internalType: "address"
|
|
14601
14754
|
}
|
|
14602
14755
|
]
|
|
14603
14756
|
},
|
|
14604
14757
|
{
|
|
14605
14758
|
type: "error",
|
|
14606
|
-
name: "
|
|
14759
|
+
name: "BudgetExceeded",
|
|
14607
14760
|
inputs: [
|
|
14608
14761
|
{
|
|
14609
|
-
name: "
|
|
14762
|
+
name: "account",
|
|
14610
14763
|
type: "address",
|
|
14611
14764
|
internalType: "address"
|
|
14612
14765
|
},
|
|
14613
14766
|
{
|
|
14614
|
-
name: "
|
|
14767
|
+
name: "token",
|
|
14768
|
+
type: "address",
|
|
14769
|
+
internalType: "address"
|
|
14770
|
+
},
|
|
14771
|
+
{
|
|
14772
|
+
name: "amount",
|
|
14773
|
+
type: "uint256",
|
|
14774
|
+
internalType: "uint256"
|
|
14775
|
+
},
|
|
14776
|
+
{
|
|
14777
|
+
name: "budget",
|
|
14615
14778
|
type: "uint256",
|
|
14616
14779
|
internalType: "uint256"
|
|
14617
14780
|
}
|
|
@@ -14619,50 +14782,102 @@ var RelayFundingPool_default = [
|
|
|
14619
14782
|
},
|
|
14620
14783
|
{
|
|
14621
14784
|
type: "error",
|
|
14622
|
-
name: "
|
|
14785
|
+
name: "EnforcedPause",
|
|
14786
|
+
inputs: []
|
|
14787
|
+
},
|
|
14788
|
+
{
|
|
14789
|
+
type: "error",
|
|
14790
|
+
name: "ExpectedPause",
|
|
14791
|
+
inputs: []
|
|
14792
|
+
},
|
|
14793
|
+
{
|
|
14794
|
+
type: "error",
|
|
14795
|
+
name: "InsufficientBalance",
|
|
14623
14796
|
inputs: [
|
|
14624
14797
|
{
|
|
14625
|
-
name: "
|
|
14798
|
+
name: "account",
|
|
14626
14799
|
type: "address",
|
|
14627
14800
|
internalType: "address"
|
|
14628
14801
|
},
|
|
14629
14802
|
{
|
|
14630
|
-
name: "
|
|
14803
|
+
name: "token",
|
|
14631
14804
|
type: "address",
|
|
14632
14805
|
internalType: "address"
|
|
14806
|
+
},
|
|
14807
|
+
{
|
|
14808
|
+
name: "amount",
|
|
14809
|
+
type: "uint256",
|
|
14810
|
+
internalType: "uint256"
|
|
14811
|
+
},
|
|
14812
|
+
{
|
|
14813
|
+
name: "balance",
|
|
14814
|
+
type: "uint256",
|
|
14815
|
+
internalType: "uint256"
|
|
14633
14816
|
}
|
|
14634
14817
|
]
|
|
14635
14818
|
},
|
|
14636
14819
|
{
|
|
14637
14820
|
type: "error",
|
|
14638
|
-
name: "
|
|
14821
|
+
name: "InvalidShortString",
|
|
14639
14822
|
inputs: []
|
|
14640
14823
|
},
|
|
14641
14824
|
{
|
|
14642
14825
|
type: "error",
|
|
14643
|
-
name: "
|
|
14644
|
-
inputs: [
|
|
14826
|
+
name: "InvalidWithdrawal",
|
|
14827
|
+
inputs: [
|
|
14828
|
+
{
|
|
14829
|
+
name: "account",
|
|
14830
|
+
type: "address",
|
|
14831
|
+
internalType: "address"
|
|
14832
|
+
}
|
|
14833
|
+
]
|
|
14645
14834
|
},
|
|
14646
14835
|
{
|
|
14647
14836
|
type: "error",
|
|
14648
|
-
name: "
|
|
14837
|
+
name: "PerOrderCapExceeded",
|
|
14649
14838
|
inputs: [
|
|
14650
14839
|
{
|
|
14651
|
-
name: "
|
|
14840
|
+
name: "account",
|
|
14841
|
+
type: "address",
|
|
14842
|
+
internalType: "address"
|
|
14843
|
+
},
|
|
14844
|
+
{
|
|
14845
|
+
name: "token",
|
|
14652
14846
|
type: "address",
|
|
14653
14847
|
internalType: "address"
|
|
14848
|
+
},
|
|
14849
|
+
{
|
|
14850
|
+
name: "amount",
|
|
14851
|
+
type: "uint256",
|
|
14852
|
+
internalType: "uint256"
|
|
14853
|
+
},
|
|
14854
|
+
{
|
|
14855
|
+
name: "cap",
|
|
14856
|
+
type: "uint256",
|
|
14857
|
+
internalType: "uint256"
|
|
14654
14858
|
}
|
|
14655
14859
|
]
|
|
14656
14860
|
},
|
|
14657
14861
|
{
|
|
14658
14862
|
type: "error",
|
|
14659
|
-
name: "
|
|
14863
|
+
name: "ReentrancyGuardReentrantCall",
|
|
14660
14864
|
inputs: []
|
|
14661
14865
|
},
|
|
14662
14866
|
{
|
|
14663
14867
|
type: "error",
|
|
14664
|
-
name: "
|
|
14665
|
-
inputs: [
|
|
14868
|
+
name: "ResolverNotAllowed",
|
|
14869
|
+
inputs: [
|
|
14870
|
+
{
|
|
14871
|
+
name: "account",
|
|
14872
|
+
type: "address",
|
|
14873
|
+
internalType: "address"
|
|
14874
|
+
},
|
|
14875
|
+
{
|
|
14876
|
+
name: "resolver",
|
|
14877
|
+
type: "address",
|
|
14878
|
+
internalType: "address"
|
|
14879
|
+
}
|
|
14880
|
+
]
|
|
14666
14881
|
},
|
|
14667
14882
|
{
|
|
14668
14883
|
type: "error",
|
|
@@ -14675,6 +14890,27 @@ var RelayFundingPool_default = [
|
|
|
14675
14890
|
}
|
|
14676
14891
|
]
|
|
14677
14892
|
},
|
|
14893
|
+
{
|
|
14894
|
+
type: "error",
|
|
14895
|
+
name: "SponsorshipConfigExpired",
|
|
14896
|
+
inputs: [
|
|
14897
|
+
{
|
|
14898
|
+
name: "account",
|
|
14899
|
+
type: "address",
|
|
14900
|
+
internalType: "address"
|
|
14901
|
+
},
|
|
14902
|
+
{
|
|
14903
|
+
name: "token",
|
|
14904
|
+
type: "address",
|
|
14905
|
+
internalType: "address"
|
|
14906
|
+
},
|
|
14907
|
+
{
|
|
14908
|
+
name: "expiry",
|
|
14909
|
+
type: "uint64",
|
|
14910
|
+
internalType: "uint64"
|
|
14911
|
+
}
|
|
14912
|
+
]
|
|
14913
|
+
},
|
|
14678
14914
|
{
|
|
14679
14915
|
type: "error",
|
|
14680
14916
|
name: "StringTooLong",
|
|
@@ -14686,6 +14922,33 @@ var RelayFundingPool_default = [
|
|
|
14686
14922
|
}
|
|
14687
14923
|
]
|
|
14688
14924
|
},
|
|
14925
|
+
{
|
|
14926
|
+
type: "error",
|
|
14927
|
+
name: "WithdrawalExpired",
|
|
14928
|
+
inputs: [
|
|
14929
|
+
{
|
|
14930
|
+
name: "deadline",
|
|
14931
|
+
type: "uint256",
|
|
14932
|
+
internalType: "uint256"
|
|
14933
|
+
}
|
|
14934
|
+
]
|
|
14935
|
+
},
|
|
14936
|
+
{
|
|
14937
|
+
type: "error",
|
|
14938
|
+
name: "WithdrawalNonceUsed",
|
|
14939
|
+
inputs: [
|
|
14940
|
+
{
|
|
14941
|
+
name: "account",
|
|
14942
|
+
type: "address",
|
|
14943
|
+
internalType: "address"
|
|
14944
|
+
},
|
|
14945
|
+
{
|
|
14946
|
+
name: "nonce",
|
|
14947
|
+
type: "uint256",
|
|
14948
|
+
internalType: "uint256"
|
|
14949
|
+
}
|
|
14950
|
+
]
|
|
14951
|
+
},
|
|
14689
14952
|
{
|
|
14690
14953
|
type: "error",
|
|
14691
14954
|
name: "ZeroAddress",
|
|
@@ -14714,11 +14977,6 @@ var RelayFundingPoolFactory_default = [
|
|
|
14714
14977
|
type: "address",
|
|
14715
14978
|
internalType: "address"
|
|
14716
14979
|
},
|
|
14717
|
-
{
|
|
14718
|
-
name: "authorizer",
|
|
14719
|
-
type: "address",
|
|
14720
|
-
internalType: "address"
|
|
14721
|
-
},
|
|
14722
14980
|
{
|
|
14723
14981
|
name: "withdrawer",
|
|
14724
14982
|
type: "address",
|
|
@@ -14801,11 +15059,6 @@ var RelayFundingPoolFactory_default = [
|
|
|
14801
15059
|
type: "address",
|
|
14802
15060
|
internalType: "address"
|
|
14803
15061
|
},
|
|
14804
|
-
{
|
|
14805
|
-
name: "authorizer",
|
|
14806
|
-
type: "address",
|
|
14807
|
-
internalType: "address"
|
|
14808
|
-
},
|
|
14809
15062
|
{
|
|
14810
15063
|
name: "withdrawer",
|
|
14811
15064
|
type: "address",
|
|
@@ -27392,9 +27645,8 @@ export {
|
|
|
27392
27645
|
MockWNEAR_default as MockWNEAR,
|
|
27393
27646
|
MulticallRouter_default as MulticallRouter,
|
|
27394
27647
|
MyToken_default as MyToken,
|
|
27395
|
-
|
|
27648
|
+
PoolDrawResolver_default as PoolDrawResolver,
|
|
27396
27649
|
PoolResolverBase_default as PoolResolverBase,
|
|
27397
|
-
PoolSponsorshipResolver_default as PoolSponsorshipResolver,
|
|
27398
27650
|
PriceOraclePrecompile_default as PriceOraclePrecompile,
|
|
27399
27651
|
RelayAllocator_default as RelayAllocator,
|
|
27400
27652
|
RelayAmountRateLimiter_default as RelayAmountRateLimiter,
|