@bloxchain/sdk 1.0.0-alpha.20 → 1.0.0-alpha.22
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 +22 -22
- package/abi/AccountBlox.abi.json +1886 -1837
- package/abi/BaseStateMachine.abi.json +780 -775
- package/abi/CopyBlox.abi.json +825 -809
- package/abi/EngineBlox.abi.json +545 -538
- package/abi/GuardController.abi.json +1590 -1585
- package/abi/GuardControllerDefinitions.abi.json +231 -226
- package/abi/IDefinition.abi.json +54 -49
- package/abi/RoleBlox.abi.json +2993 -2993
- package/abi/RuntimeRBAC.abi.json +832 -827
- package/abi/RuntimeRBACDefinitions.abi.json +212 -207
- package/abi/SecureBlox.abi.json +2752 -2752
- package/abi/SecureOwnable.abi.json +1359 -1321
- package/abi/SecureOwnableDefinitions.abi.json +171 -166
- package/dist/abi/AccountBlox.abi.json +1886 -1837
- package/dist/abi/BaseStateMachine.abi.json +780 -775
- package/dist/abi/CopyBlox.abi.json +825 -809
- package/dist/abi/EngineBlox.abi.json +545 -538
- package/dist/abi/GuardController.abi.json +1590 -1585
- package/dist/abi/GuardControllerDefinitions.abi.json +231 -226
- package/dist/abi/IDefinition.abi.json +54 -49
- package/dist/abi/RoleBlox.abi.json +2993 -2993
- package/dist/abi/RuntimeRBAC.abi.json +832 -827
- package/dist/abi/RuntimeRBACDefinitions.abi.json +212 -207
- package/dist/abi/SecureBlox.abi.json +2752 -2752
- package/dist/abi/SecureOwnable.abi.json +1359 -1321
- package/dist/abi/SecureOwnableDefinitions.abi.json +171 -166
- package/dist/contracts/core/SecureOwnable.d.ts +1 -1
- package/dist/contracts/core/SecureOwnable.d.ts.map +1 -1
- package/dist/contracts/core/SecureOwnable.js +2 -2
- package/dist/contracts/core/SecureOwnable.js.map +1 -1
- package/dist/interfaces/core.security.index.d.ts +1 -1
- package/dist/interfaces/core.security.index.d.ts.map +1 -1
- package/dist/interfaces/lib.index.d.ts +1 -1
- package/dist/interfaces/lib.index.d.ts.map +1 -1
- package/dist/lib/Definition.d.ts.map +1 -1
- package/dist/lib/Definition.js +1 -0
- package/dist/lib/Definition.js.map +1 -1
- package/dist/lib/EngineBlox.d.ts +4 -5
- package/dist/lib/EngineBlox.d.ts.map +1 -1
- package/dist/lib/EngineBlox.js +9 -5
- package/dist/lib/EngineBlox.js.map +1 -1
- package/dist/types/core.execution.index.js +2 -2
- package/dist/types/core.execution.index.js.map +1 -1
- package/dist/types/core.security.index.d.ts.map +1 -1
- package/dist/types/core.security.index.js +8 -8
- package/dist/types/core.security.index.js.map +1 -1
- package/dist/types/definition.index.d.ts +5 -0
- package/dist/types/definition.index.d.ts.map +1 -1
- package/dist/types/definition.index.js.map +1 -1
- package/dist/types/lib.index.d.ts +0 -1
- package/dist/types/lib.index.d.ts.map +1 -1
- package/dist/types/lib.index.js +1 -2
- package/dist/types/lib.index.js.map +1 -1
- package/dist/types/meta-transaction.signatures.d.ts +10 -0
- package/dist/types/meta-transaction.signatures.d.ts.map +1 -0
- package/dist/types/meta-transaction.signatures.js +12 -0
- package/dist/types/meta-transaction.signatures.js.map +1 -0
- package/dist/utils/contract-errors.d.ts +1 -8
- package/dist/utils/contract-errors.d.ts.map +1 -1
- package/dist/utils/contract-errors.js +0 -5
- package/dist/utils/contract-errors.js.map +1 -1
- package/dist/utils/interface-ids.js +1 -1
- package/dist/utils/validations.d.ts.map +1 -1
- package/dist/utils/validations.js +10 -11
- package/dist/utils/validations.js.map +1 -1
- package/package.json +5 -5
- package/abi/SimpleRWA20.abi.json +0 -4010
- package/abi/SimpleRWA20Definitions.abi.json +0 -196
- package/abi/SimpleVault.abi.json +0 -3385
- package/abi/SimpleVaultDefinitions.abi.json +0 -274
package/abi/RuntimeRBAC.abi.json
CHANGED
|
@@ -1,1645 +1,1650 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
|
+
"type": "function",
|
|
4
|
+
"name": "createMetaTxParams",
|
|
3
5
|
"inputs": [
|
|
4
6
|
{
|
|
5
|
-
"internalType": "uint256",
|
|
6
|
-
"name": "array1Length",
|
|
7
|
-
"type": "uint256"
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"internalType": "uint256",
|
|
11
|
-
"name": "array2Length",
|
|
12
|
-
"type": "uint256"
|
|
13
|
-
}
|
|
14
|
-
],
|
|
15
|
-
"name": "ArrayLengthMismatch",
|
|
16
|
-
"type": "error"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"inputs": [
|
|
20
|
-
{
|
|
21
|
-
"internalType": "uint256",
|
|
22
|
-
"name": "currentSize",
|
|
23
|
-
"type": "uint256"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"internalType": "uint256",
|
|
27
|
-
"name": "maxSize",
|
|
28
|
-
"type": "uint256"
|
|
29
|
-
}
|
|
30
|
-
],
|
|
31
|
-
"name": "BatchSizeExceeded",
|
|
32
|
-
"type": "error"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"inputs": [
|
|
36
|
-
{
|
|
37
|
-
"internalType": "bytes32",
|
|
38
|
-
"name": "resourceId",
|
|
39
|
-
"type": "bytes32"
|
|
40
|
-
}
|
|
41
|
-
],
|
|
42
|
-
"name": "CannotModifyProtected",
|
|
43
|
-
"type": "error"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"inputs": [
|
|
47
|
-
{
|
|
48
|
-
"internalType": "bytes4",
|
|
49
|
-
"name": "functionSelector",
|
|
50
|
-
"type": "bytes4"
|
|
51
|
-
}
|
|
52
|
-
],
|
|
53
|
-
"name": "ContractFunctionMustBeProtected",
|
|
54
|
-
"type": "error"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"inputs": [],
|
|
58
|
-
"name": "InvalidInitialization",
|
|
59
|
-
"type": "error"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"inputs": [],
|
|
63
|
-
"name": "InvalidPayment",
|
|
64
|
-
"type": "error"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"inputs": [
|
|
68
|
-
{
|
|
69
|
-
"internalType": "address",
|
|
70
|
-
"name": "signedContract",
|
|
71
|
-
"type": "address"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"internalType": "address",
|
|
75
|
-
"name": "entryContract",
|
|
76
|
-
"type": "address"
|
|
77
|
-
}
|
|
78
|
-
],
|
|
79
|
-
"name": "MetaTxHandlerContractMismatch",
|
|
80
|
-
"type": "error"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"inputs": [
|
|
84
|
-
{
|
|
85
|
-
"internalType": "bytes4",
|
|
86
|
-
"name": "signedSelector",
|
|
87
|
-
"type": "bytes4"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"internalType": "bytes4",
|
|
91
|
-
"name": "entrySelector",
|
|
92
|
-
"type": "bytes4"
|
|
93
|
-
}
|
|
94
|
-
],
|
|
95
|
-
"name": "MetaTxHandlerSelectorMismatch",
|
|
96
|
-
"type": "error"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"inputs": [
|
|
100
|
-
{
|
|
101
|
-
"internalType": "address",
|
|
102
|
-
"name": "caller",
|
|
103
|
-
"type": "address"
|
|
104
|
-
}
|
|
105
|
-
],
|
|
106
|
-
"name": "NoPermission",
|
|
107
|
-
"type": "error"
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"inputs": [],
|
|
111
|
-
"name": "NotInitializing",
|
|
112
|
-
"type": "error"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"inputs": [],
|
|
116
|
-
"name": "NotSupported",
|
|
117
|
-
"type": "error"
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"inputs": [
|
|
121
|
-
{
|
|
122
|
-
"internalType": "address",
|
|
123
|
-
"name": "caller",
|
|
124
|
-
"type": "address"
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"internalType": "address",
|
|
128
|
-
"name": "contractAddress",
|
|
129
|
-
"type": "address"
|
|
130
|
-
}
|
|
131
|
-
],
|
|
132
|
-
"name": "OnlyCallableByContract",
|
|
133
|
-
"type": "error"
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
"inputs": [
|
|
137
|
-
{
|
|
138
|
-
"internalType": "uint256",
|
|
139
|
-
"name": "rangeSize",
|
|
140
|
-
"type": "uint256"
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"internalType": "uint256",
|
|
144
|
-
"name": "maxRangeSize",
|
|
145
|
-
"type": "uint256"
|
|
146
|
-
}
|
|
147
|
-
],
|
|
148
|
-
"name": "RangeSizeExceeded",
|
|
149
|
-
"type": "error"
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"inputs": [],
|
|
153
|
-
"name": "ReentrancyGuardReentrantCall",
|
|
154
|
-
"type": "error"
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"inputs": [
|
|
158
|
-
{
|
|
159
|
-
"internalType": "bytes32",
|
|
160
|
-
"name": "resourceId",
|
|
161
|
-
"type": "bytes32"
|
|
162
|
-
}
|
|
163
|
-
],
|
|
164
|
-
"name": "ResourceNotFound",
|
|
165
|
-
"type": "error"
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"anonymous": false,
|
|
169
|
-
"inputs": [
|
|
170
|
-
{
|
|
171
|
-
"indexed": true,
|
|
172
|
-
"internalType": "bytes4",
|
|
173
|
-
"name": "functionSelector",
|
|
174
|
-
"type": "bytes4"
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
"indexed": false,
|
|
178
|
-
"internalType": "bytes",
|
|
179
|
-
"name": "data",
|
|
180
|
-
"type": "bytes"
|
|
181
|
-
}
|
|
182
|
-
],
|
|
183
|
-
"name": "ComponentEvent",
|
|
184
|
-
"type": "event"
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
"anonymous": false,
|
|
188
|
-
"inputs": [
|
|
189
|
-
{
|
|
190
|
-
"indexed": false,
|
|
191
|
-
"internalType": "uint64",
|
|
192
|
-
"name": "version",
|
|
193
|
-
"type": "uint64"
|
|
194
|
-
}
|
|
195
|
-
],
|
|
196
|
-
"name": "Initialized",
|
|
197
|
-
"type": "event"
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"inputs": [
|
|
201
|
-
{
|
|
202
|
-
"internalType": "address",
|
|
203
7
|
"name": "handlerContract",
|
|
204
|
-
"type": "address"
|
|
8
|
+
"type": "address",
|
|
9
|
+
"internalType": "address"
|
|
205
10
|
},
|
|
206
11
|
{
|
|
207
|
-
"internalType": "bytes4",
|
|
208
12
|
"name": "handlerSelector",
|
|
209
|
-
"type": "bytes4"
|
|
13
|
+
"type": "bytes4",
|
|
14
|
+
"internalType": "bytes4"
|
|
210
15
|
},
|
|
211
16
|
{
|
|
212
|
-
"internalType": "enum EngineBlox.TxAction",
|
|
213
17
|
"name": "action",
|
|
214
|
-
"type": "uint8"
|
|
18
|
+
"type": "uint8",
|
|
19
|
+
"internalType": "enum EngineBlox.TxAction"
|
|
215
20
|
},
|
|
216
21
|
{
|
|
217
|
-
"internalType": "uint256",
|
|
218
22
|
"name": "deadline",
|
|
219
|
-
"type": "uint256"
|
|
23
|
+
"type": "uint256",
|
|
24
|
+
"internalType": "uint256"
|
|
220
25
|
},
|
|
221
26
|
{
|
|
222
|
-
"internalType": "uint256",
|
|
223
27
|
"name": "maxGasPrice",
|
|
224
|
-
"type": "uint256"
|
|
28
|
+
"type": "uint256",
|
|
29
|
+
"internalType": "uint256"
|
|
225
30
|
},
|
|
226
31
|
{
|
|
227
|
-
"internalType": "address",
|
|
228
32
|
"name": "signer",
|
|
229
|
-
"type": "address"
|
|
33
|
+
"type": "address",
|
|
34
|
+
"internalType": "address"
|
|
230
35
|
}
|
|
231
36
|
],
|
|
232
|
-
"name": "createMetaTxParams",
|
|
233
37
|
"outputs": [
|
|
234
38
|
{
|
|
39
|
+
"name": "",
|
|
40
|
+
"type": "tuple",
|
|
41
|
+
"internalType": "struct EngineBlox.MetaTxParams",
|
|
235
42
|
"components": [
|
|
236
43
|
{
|
|
237
|
-
"internalType": "uint256",
|
|
238
44
|
"name": "chainId",
|
|
239
|
-
"type": "uint256"
|
|
45
|
+
"type": "uint256",
|
|
46
|
+
"internalType": "uint256"
|
|
240
47
|
},
|
|
241
48
|
{
|
|
242
|
-
"internalType": "uint256",
|
|
243
49
|
"name": "nonce",
|
|
244
|
-
"type": "uint256"
|
|
50
|
+
"type": "uint256",
|
|
51
|
+
"internalType": "uint256"
|
|
245
52
|
},
|
|
246
53
|
{
|
|
247
|
-
"internalType": "address",
|
|
248
54
|
"name": "handlerContract",
|
|
249
|
-
"type": "address"
|
|
55
|
+
"type": "address",
|
|
56
|
+
"internalType": "address"
|
|
250
57
|
},
|
|
251
58
|
{
|
|
252
|
-
"internalType": "bytes4",
|
|
253
59
|
"name": "handlerSelector",
|
|
254
|
-
"type": "bytes4"
|
|
60
|
+
"type": "bytes4",
|
|
61
|
+
"internalType": "bytes4"
|
|
255
62
|
},
|
|
256
63
|
{
|
|
257
|
-
"internalType": "enum EngineBlox.TxAction",
|
|
258
64
|
"name": "action",
|
|
259
|
-
"type": "uint8"
|
|
65
|
+
"type": "uint8",
|
|
66
|
+
"internalType": "enum EngineBlox.TxAction"
|
|
260
67
|
},
|
|
261
68
|
{
|
|
262
|
-
"internalType": "uint256",
|
|
263
69
|
"name": "deadline",
|
|
264
|
-
"type": "uint256"
|
|
70
|
+
"type": "uint256",
|
|
71
|
+
"internalType": "uint256"
|
|
265
72
|
},
|
|
266
73
|
{
|
|
267
|
-
"internalType": "uint256",
|
|
268
74
|
"name": "maxGasPrice",
|
|
269
|
-
"type": "uint256"
|
|
75
|
+
"type": "uint256",
|
|
76
|
+
"internalType": "uint256"
|
|
270
77
|
},
|
|
271
78
|
{
|
|
272
|
-
"internalType": "address",
|
|
273
79
|
"name": "signer",
|
|
274
|
-
"type": "address"
|
|
80
|
+
"type": "address",
|
|
81
|
+
"internalType": "address"
|
|
275
82
|
}
|
|
276
|
-
]
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
83
|
+
]
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"stateMutability": "view"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"type": "function",
|
|
90
|
+
"name": "executeRoleConfigBatch",
|
|
91
|
+
"inputs": [
|
|
92
|
+
{
|
|
93
|
+
"name": "actions",
|
|
94
|
+
"type": "tuple[]",
|
|
95
|
+
"internalType": "struct IRuntimeRBAC.RoleConfigAction[]",
|
|
96
|
+
"components": [
|
|
97
|
+
{
|
|
98
|
+
"name": "actionType",
|
|
99
|
+
"type": "uint8",
|
|
100
|
+
"internalType": "enum IRuntimeRBAC.RoleConfigActionType"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "data",
|
|
104
|
+
"type": "bytes",
|
|
105
|
+
"internalType": "bytes"
|
|
106
|
+
}
|
|
107
|
+
]
|
|
280
108
|
}
|
|
281
109
|
],
|
|
282
|
-
"
|
|
283
|
-
"
|
|
110
|
+
"outputs": [],
|
|
111
|
+
"stateMutability": "nonpayable"
|
|
284
112
|
},
|
|
285
113
|
{
|
|
114
|
+
"type": "function",
|
|
115
|
+
"name": "generateUnsignedMetaTransactionForExisting",
|
|
286
116
|
"inputs": [
|
|
287
117
|
{
|
|
288
|
-
"internalType": "uint256",
|
|
289
118
|
"name": "txId",
|
|
290
|
-
"type": "uint256"
|
|
119
|
+
"type": "uint256",
|
|
120
|
+
"internalType": "uint256"
|
|
291
121
|
},
|
|
292
122
|
{
|
|
123
|
+
"name": "metaTxParams",
|
|
124
|
+
"type": "tuple",
|
|
125
|
+
"internalType": "struct EngineBlox.MetaTxParams",
|
|
293
126
|
"components": [
|
|
294
127
|
{
|
|
295
|
-
"internalType": "uint256",
|
|
296
128
|
"name": "chainId",
|
|
297
|
-
"type": "uint256"
|
|
129
|
+
"type": "uint256",
|
|
130
|
+
"internalType": "uint256"
|
|
298
131
|
},
|
|
299
132
|
{
|
|
300
|
-
"internalType": "uint256",
|
|
301
133
|
"name": "nonce",
|
|
302
|
-
"type": "uint256"
|
|
134
|
+
"type": "uint256",
|
|
135
|
+
"internalType": "uint256"
|
|
303
136
|
},
|
|
304
137
|
{
|
|
305
|
-
"internalType": "address",
|
|
306
138
|
"name": "handlerContract",
|
|
307
|
-
"type": "address"
|
|
139
|
+
"type": "address",
|
|
140
|
+
"internalType": "address"
|
|
308
141
|
},
|
|
309
142
|
{
|
|
310
|
-
"internalType": "bytes4",
|
|
311
143
|
"name": "handlerSelector",
|
|
312
|
-
"type": "bytes4"
|
|
144
|
+
"type": "bytes4",
|
|
145
|
+
"internalType": "bytes4"
|
|
313
146
|
},
|
|
314
147
|
{
|
|
315
|
-
"internalType": "enum EngineBlox.TxAction",
|
|
316
148
|
"name": "action",
|
|
317
|
-
"type": "uint8"
|
|
149
|
+
"type": "uint8",
|
|
150
|
+
"internalType": "enum EngineBlox.TxAction"
|
|
318
151
|
},
|
|
319
152
|
{
|
|
320
|
-
"internalType": "uint256",
|
|
321
153
|
"name": "deadline",
|
|
322
|
-
"type": "uint256"
|
|
154
|
+
"type": "uint256",
|
|
155
|
+
"internalType": "uint256"
|
|
323
156
|
},
|
|
324
157
|
{
|
|
325
|
-
"internalType": "uint256",
|
|
326
158
|
"name": "maxGasPrice",
|
|
327
|
-
"type": "uint256"
|
|
159
|
+
"type": "uint256",
|
|
160
|
+
"internalType": "uint256"
|
|
328
161
|
},
|
|
329
162
|
{
|
|
330
|
-
"internalType": "address",
|
|
331
163
|
"name": "signer",
|
|
332
|
-
"type": "address"
|
|
164
|
+
"type": "address",
|
|
165
|
+
"internalType": "address"
|
|
333
166
|
}
|
|
334
|
-
]
|
|
335
|
-
"internalType": "struct EngineBlox.MetaTxParams",
|
|
336
|
-
"name": "metaTxParams",
|
|
337
|
-
"type": "tuple"
|
|
167
|
+
]
|
|
338
168
|
}
|
|
339
169
|
],
|
|
340
|
-
"name": "generateUnsignedMetaTransactionForExisting",
|
|
341
170
|
"outputs": [
|
|
342
171
|
{
|
|
172
|
+
"name": "",
|
|
173
|
+
"type": "tuple",
|
|
174
|
+
"internalType": "struct EngineBlox.MetaTransaction",
|
|
343
175
|
"components": [
|
|
344
176
|
{
|
|
177
|
+
"name": "txRecord",
|
|
178
|
+
"type": "tuple",
|
|
179
|
+
"internalType": "struct EngineBlox.TxRecord",
|
|
345
180
|
"components": [
|
|
346
181
|
{
|
|
347
|
-
"internalType": "uint256",
|
|
348
182
|
"name": "txId",
|
|
349
|
-
"type": "uint256"
|
|
183
|
+
"type": "uint256",
|
|
184
|
+
"internalType": "uint256"
|
|
350
185
|
},
|
|
351
186
|
{
|
|
352
|
-
"internalType": "uint256",
|
|
353
187
|
"name": "releaseTime",
|
|
354
|
-
"type": "uint256"
|
|
188
|
+
"type": "uint256",
|
|
189
|
+
"internalType": "uint256"
|
|
355
190
|
},
|
|
356
191
|
{
|
|
357
|
-
"internalType": "enum EngineBlox.TxStatus",
|
|
358
192
|
"name": "status",
|
|
359
|
-
"type": "uint8"
|
|
193
|
+
"type": "uint8",
|
|
194
|
+
"internalType": "enum EngineBlox.TxStatus"
|
|
360
195
|
},
|
|
361
196
|
{
|
|
197
|
+
"name": "params",
|
|
198
|
+
"type": "tuple",
|
|
199
|
+
"internalType": "struct EngineBlox.TxParams",
|
|
362
200
|
"components": [
|
|
363
201
|
{
|
|
364
|
-
"internalType": "address",
|
|
365
202
|
"name": "requester",
|
|
366
|
-
"type": "address"
|
|
203
|
+
"type": "address",
|
|
204
|
+
"internalType": "address"
|
|
367
205
|
},
|
|
368
206
|
{
|
|
369
|
-
"internalType": "address",
|
|
370
207
|
"name": "target",
|
|
371
|
-
"type": "address"
|
|
208
|
+
"type": "address",
|
|
209
|
+
"internalType": "address"
|
|
372
210
|
},
|
|
373
211
|
{
|
|
374
|
-
"internalType": "uint256",
|
|
375
212
|
"name": "value",
|
|
376
|
-
"type": "uint256"
|
|
213
|
+
"type": "uint256",
|
|
214
|
+
"internalType": "uint256"
|
|
377
215
|
},
|
|
378
216
|
{
|
|
379
|
-
"internalType": "uint256",
|
|
380
217
|
"name": "gasLimit",
|
|
381
|
-
"type": "uint256"
|
|
218
|
+
"type": "uint256",
|
|
219
|
+
"internalType": "uint256"
|
|
382
220
|
},
|
|
383
221
|
{
|
|
384
|
-
"internalType": "bytes32",
|
|
385
222
|
"name": "operationType",
|
|
386
|
-
"type": "bytes32"
|
|
223
|
+
"type": "bytes32",
|
|
224
|
+
"internalType": "bytes32"
|
|
387
225
|
},
|
|
388
226
|
{
|
|
389
|
-
"internalType": "bytes4",
|
|
390
227
|
"name": "executionSelector",
|
|
391
|
-
"type": "bytes4"
|
|
228
|
+
"type": "bytes4",
|
|
229
|
+
"internalType": "bytes4"
|
|
392
230
|
},
|
|
393
231
|
{
|
|
394
|
-
"internalType": "bytes",
|
|
395
232
|
"name": "executionParams",
|
|
396
|
-
"type": "bytes"
|
|
233
|
+
"type": "bytes",
|
|
234
|
+
"internalType": "bytes"
|
|
397
235
|
}
|
|
398
|
-
]
|
|
399
|
-
"internalType": "struct EngineBlox.TxParams",
|
|
400
|
-
"name": "params",
|
|
401
|
-
"type": "tuple"
|
|
236
|
+
]
|
|
402
237
|
},
|
|
403
238
|
{
|
|
404
|
-
"internalType": "bytes32",
|
|
405
239
|
"name": "message",
|
|
406
|
-
"type": "bytes32"
|
|
240
|
+
"type": "bytes32",
|
|
241
|
+
"internalType": "bytes32"
|
|
407
242
|
},
|
|
408
243
|
{
|
|
409
|
-
"
|
|
410
|
-
"
|
|
411
|
-
"
|
|
244
|
+
"name": "resultHash",
|
|
245
|
+
"type": "bytes32",
|
|
246
|
+
"internalType": "bytes32"
|
|
412
247
|
},
|
|
413
248
|
{
|
|
249
|
+
"name": "payment",
|
|
250
|
+
"type": "tuple",
|
|
251
|
+
"internalType": "struct EngineBlox.PaymentDetails",
|
|
414
252
|
"components": [
|
|
415
253
|
{
|
|
416
|
-
"internalType": "address",
|
|
417
254
|
"name": "recipient",
|
|
418
|
-
"type": "address"
|
|
255
|
+
"type": "address",
|
|
256
|
+
"internalType": "address"
|
|
419
257
|
},
|
|
420
258
|
{
|
|
421
|
-
"internalType": "uint256",
|
|
422
259
|
"name": "nativeTokenAmount",
|
|
423
|
-
"type": "uint256"
|
|
260
|
+
"type": "uint256",
|
|
261
|
+
"internalType": "uint256"
|
|
424
262
|
},
|
|
425
263
|
{
|
|
426
|
-
"internalType": "address",
|
|
427
264
|
"name": "erc20TokenAddress",
|
|
428
|
-
"type": "address"
|
|
265
|
+
"type": "address",
|
|
266
|
+
"internalType": "address"
|
|
429
267
|
},
|
|
430
268
|
{
|
|
431
|
-
"internalType": "uint256",
|
|
432
269
|
"name": "erc20TokenAmount",
|
|
433
|
-
"type": "uint256"
|
|
270
|
+
"type": "uint256",
|
|
271
|
+
"internalType": "uint256"
|
|
434
272
|
}
|
|
435
|
-
]
|
|
436
|
-
"internalType": "struct EngineBlox.PaymentDetails",
|
|
437
|
-
"name": "payment",
|
|
438
|
-
"type": "tuple"
|
|
273
|
+
]
|
|
439
274
|
}
|
|
440
|
-
]
|
|
441
|
-
"internalType": "struct EngineBlox.TxRecord",
|
|
442
|
-
"name": "txRecord",
|
|
443
|
-
"type": "tuple"
|
|
275
|
+
]
|
|
444
276
|
},
|
|
445
277
|
{
|
|
278
|
+
"name": "params",
|
|
279
|
+
"type": "tuple",
|
|
280
|
+
"internalType": "struct EngineBlox.MetaTxParams",
|
|
446
281
|
"components": [
|
|
447
282
|
{
|
|
448
|
-
"internalType": "uint256",
|
|
449
283
|
"name": "chainId",
|
|
450
|
-
"type": "uint256"
|
|
284
|
+
"type": "uint256",
|
|
285
|
+
"internalType": "uint256"
|
|
451
286
|
},
|
|
452
287
|
{
|
|
453
|
-
"internalType": "uint256",
|
|
454
288
|
"name": "nonce",
|
|
455
|
-
"type": "uint256"
|
|
289
|
+
"type": "uint256",
|
|
290
|
+
"internalType": "uint256"
|
|
456
291
|
},
|
|
457
292
|
{
|
|
458
|
-
"internalType": "address",
|
|
459
293
|
"name": "handlerContract",
|
|
460
|
-
"type": "address"
|
|
294
|
+
"type": "address",
|
|
295
|
+
"internalType": "address"
|
|
461
296
|
},
|
|
462
297
|
{
|
|
463
|
-
"internalType": "bytes4",
|
|
464
298
|
"name": "handlerSelector",
|
|
465
|
-
"type": "bytes4"
|
|
299
|
+
"type": "bytes4",
|
|
300
|
+
"internalType": "bytes4"
|
|
466
301
|
},
|
|
467
302
|
{
|
|
468
|
-
"internalType": "enum EngineBlox.TxAction",
|
|
469
303
|
"name": "action",
|
|
470
|
-
"type": "uint8"
|
|
304
|
+
"type": "uint8",
|
|
305
|
+
"internalType": "enum EngineBlox.TxAction"
|
|
471
306
|
},
|
|
472
307
|
{
|
|
473
|
-
"internalType": "uint256",
|
|
474
308
|
"name": "deadline",
|
|
475
|
-
"type": "uint256"
|
|
309
|
+
"type": "uint256",
|
|
310
|
+
"internalType": "uint256"
|
|
476
311
|
},
|
|
477
312
|
{
|
|
478
|
-
"internalType": "uint256",
|
|
479
313
|
"name": "maxGasPrice",
|
|
480
|
-
"type": "uint256"
|
|
314
|
+
"type": "uint256",
|
|
315
|
+
"internalType": "uint256"
|
|
481
316
|
},
|
|
482
317
|
{
|
|
483
|
-
"internalType": "address",
|
|
484
318
|
"name": "signer",
|
|
485
|
-
"type": "address"
|
|
319
|
+
"type": "address",
|
|
320
|
+
"internalType": "address"
|
|
486
321
|
}
|
|
487
|
-
]
|
|
488
|
-
"internalType": "struct EngineBlox.MetaTxParams",
|
|
489
|
-
"name": "params",
|
|
490
|
-
"type": "tuple"
|
|
322
|
+
]
|
|
491
323
|
},
|
|
492
324
|
{
|
|
493
|
-
"internalType": "bytes32",
|
|
494
325
|
"name": "message",
|
|
495
|
-
"type": "bytes32"
|
|
326
|
+
"type": "bytes32",
|
|
327
|
+
"internalType": "bytes32"
|
|
496
328
|
},
|
|
497
329
|
{
|
|
498
|
-
"internalType": "bytes",
|
|
499
330
|
"name": "signature",
|
|
500
|
-
"type": "bytes"
|
|
331
|
+
"type": "bytes",
|
|
332
|
+
"internalType": "bytes"
|
|
501
333
|
},
|
|
502
334
|
{
|
|
503
|
-
"internalType": "bytes",
|
|
504
335
|
"name": "data",
|
|
505
|
-
"type": "bytes"
|
|
336
|
+
"type": "bytes",
|
|
337
|
+
"internalType": "bytes"
|
|
506
338
|
}
|
|
507
|
-
]
|
|
508
|
-
"internalType": "struct EngineBlox.MetaTransaction",
|
|
509
|
-
"name": "",
|
|
510
|
-
"type": "tuple"
|
|
339
|
+
]
|
|
511
340
|
}
|
|
512
341
|
],
|
|
513
|
-
"stateMutability": "view"
|
|
514
|
-
"type": "function"
|
|
342
|
+
"stateMutability": "view"
|
|
515
343
|
},
|
|
516
344
|
{
|
|
345
|
+
"type": "function",
|
|
346
|
+
"name": "generateUnsignedMetaTransactionForNew",
|
|
517
347
|
"inputs": [
|
|
518
348
|
{
|
|
519
|
-
"internalType": "address",
|
|
520
349
|
"name": "requester",
|
|
521
|
-
"type": "address"
|
|
350
|
+
"type": "address",
|
|
351
|
+
"internalType": "address"
|
|
522
352
|
},
|
|
523
353
|
{
|
|
524
|
-
"internalType": "address",
|
|
525
354
|
"name": "target",
|
|
526
|
-
"type": "address"
|
|
355
|
+
"type": "address",
|
|
356
|
+
"internalType": "address"
|
|
527
357
|
},
|
|
528
358
|
{
|
|
529
|
-
"internalType": "uint256",
|
|
530
359
|
"name": "value",
|
|
531
|
-
"type": "uint256"
|
|
360
|
+
"type": "uint256",
|
|
361
|
+
"internalType": "uint256"
|
|
532
362
|
},
|
|
533
363
|
{
|
|
534
|
-
"internalType": "uint256",
|
|
535
364
|
"name": "gasLimit",
|
|
536
|
-
"type": "uint256"
|
|
365
|
+
"type": "uint256",
|
|
366
|
+
"internalType": "uint256"
|
|
537
367
|
},
|
|
538
368
|
{
|
|
539
|
-
"internalType": "bytes32",
|
|
540
369
|
"name": "operationType",
|
|
541
|
-
"type": "bytes32"
|
|
370
|
+
"type": "bytes32",
|
|
371
|
+
"internalType": "bytes32"
|
|
542
372
|
},
|
|
543
373
|
{
|
|
544
|
-
"internalType": "bytes4",
|
|
545
374
|
"name": "executionSelector",
|
|
546
|
-
"type": "bytes4"
|
|
375
|
+
"type": "bytes4",
|
|
376
|
+
"internalType": "bytes4"
|
|
547
377
|
},
|
|
548
378
|
{
|
|
549
|
-
"internalType": "bytes",
|
|
550
379
|
"name": "executionParams",
|
|
551
|
-
"type": "bytes"
|
|
380
|
+
"type": "bytes",
|
|
381
|
+
"internalType": "bytes"
|
|
552
382
|
},
|
|
553
383
|
{
|
|
384
|
+
"name": "metaTxParams",
|
|
385
|
+
"type": "tuple",
|
|
386
|
+
"internalType": "struct EngineBlox.MetaTxParams",
|
|
554
387
|
"components": [
|
|
555
388
|
{
|
|
556
|
-
"internalType": "uint256",
|
|
557
389
|
"name": "chainId",
|
|
558
|
-
"type": "uint256"
|
|
390
|
+
"type": "uint256",
|
|
391
|
+
"internalType": "uint256"
|
|
559
392
|
},
|
|
560
393
|
{
|
|
561
|
-
"internalType": "uint256",
|
|
562
394
|
"name": "nonce",
|
|
563
|
-
"type": "uint256"
|
|
395
|
+
"type": "uint256",
|
|
396
|
+
"internalType": "uint256"
|
|
564
397
|
},
|
|
565
398
|
{
|
|
566
|
-
"internalType": "address",
|
|
567
399
|
"name": "handlerContract",
|
|
568
|
-
"type": "address"
|
|
400
|
+
"type": "address",
|
|
401
|
+
"internalType": "address"
|
|
569
402
|
},
|
|
570
403
|
{
|
|
571
|
-
"internalType": "bytes4",
|
|
572
404
|
"name": "handlerSelector",
|
|
573
|
-
"type": "bytes4"
|
|
405
|
+
"type": "bytes4",
|
|
406
|
+
"internalType": "bytes4"
|
|
574
407
|
},
|
|
575
408
|
{
|
|
576
|
-
"internalType": "enum EngineBlox.TxAction",
|
|
577
409
|
"name": "action",
|
|
578
|
-
"type": "uint8"
|
|
410
|
+
"type": "uint8",
|
|
411
|
+
"internalType": "enum EngineBlox.TxAction"
|
|
579
412
|
},
|
|
580
413
|
{
|
|
581
|
-
"internalType": "uint256",
|
|
582
414
|
"name": "deadline",
|
|
583
|
-
"type": "uint256"
|
|
415
|
+
"type": "uint256",
|
|
416
|
+
"internalType": "uint256"
|
|
584
417
|
},
|
|
585
418
|
{
|
|
586
|
-
"internalType": "uint256",
|
|
587
419
|
"name": "maxGasPrice",
|
|
588
|
-
"type": "uint256"
|
|
420
|
+
"type": "uint256",
|
|
421
|
+
"internalType": "uint256"
|
|
589
422
|
},
|
|
590
423
|
{
|
|
591
|
-
"internalType": "address",
|
|
592
424
|
"name": "signer",
|
|
593
|
-
"type": "address"
|
|
425
|
+
"type": "address",
|
|
426
|
+
"internalType": "address"
|
|
594
427
|
}
|
|
595
|
-
]
|
|
596
|
-
"internalType": "struct EngineBlox.MetaTxParams",
|
|
597
|
-
"name": "metaTxParams",
|
|
598
|
-
"type": "tuple"
|
|
428
|
+
]
|
|
599
429
|
}
|
|
600
430
|
],
|
|
601
|
-
"name": "generateUnsignedMetaTransactionForNew",
|
|
602
431
|
"outputs": [
|
|
603
432
|
{
|
|
433
|
+
"name": "",
|
|
434
|
+
"type": "tuple",
|
|
435
|
+
"internalType": "struct EngineBlox.MetaTransaction",
|
|
604
436
|
"components": [
|
|
605
437
|
{
|
|
438
|
+
"name": "txRecord",
|
|
439
|
+
"type": "tuple",
|
|
440
|
+
"internalType": "struct EngineBlox.TxRecord",
|
|
606
441
|
"components": [
|
|
607
442
|
{
|
|
608
|
-
"internalType": "uint256",
|
|
609
443
|
"name": "txId",
|
|
610
|
-
"type": "uint256"
|
|
444
|
+
"type": "uint256",
|
|
445
|
+
"internalType": "uint256"
|
|
611
446
|
},
|
|
612
447
|
{
|
|
613
|
-
"internalType": "uint256",
|
|
614
448
|
"name": "releaseTime",
|
|
615
|
-
"type": "uint256"
|
|
449
|
+
"type": "uint256",
|
|
450
|
+
"internalType": "uint256"
|
|
616
451
|
},
|
|
617
452
|
{
|
|
618
|
-
"internalType": "enum EngineBlox.TxStatus",
|
|
619
453
|
"name": "status",
|
|
620
|
-
"type": "uint8"
|
|
454
|
+
"type": "uint8",
|
|
455
|
+
"internalType": "enum EngineBlox.TxStatus"
|
|
621
456
|
},
|
|
622
457
|
{
|
|
458
|
+
"name": "params",
|
|
459
|
+
"type": "tuple",
|
|
460
|
+
"internalType": "struct EngineBlox.TxParams",
|
|
623
461
|
"components": [
|
|
624
462
|
{
|
|
625
|
-
"internalType": "address",
|
|
626
463
|
"name": "requester",
|
|
627
|
-
"type": "address"
|
|
464
|
+
"type": "address",
|
|
465
|
+
"internalType": "address"
|
|
628
466
|
},
|
|
629
467
|
{
|
|
630
|
-
"internalType": "address",
|
|
631
468
|
"name": "target",
|
|
632
|
-
"type": "address"
|
|
469
|
+
"type": "address",
|
|
470
|
+
"internalType": "address"
|
|
633
471
|
},
|
|
634
472
|
{
|
|
635
|
-
"internalType": "uint256",
|
|
636
473
|
"name": "value",
|
|
637
|
-
"type": "uint256"
|
|
474
|
+
"type": "uint256",
|
|
475
|
+
"internalType": "uint256"
|
|
638
476
|
},
|
|
639
477
|
{
|
|
640
|
-
"internalType": "uint256",
|
|
641
478
|
"name": "gasLimit",
|
|
642
|
-
"type": "uint256"
|
|
479
|
+
"type": "uint256",
|
|
480
|
+
"internalType": "uint256"
|
|
643
481
|
},
|
|
644
482
|
{
|
|
645
|
-
"internalType": "bytes32",
|
|
646
483
|
"name": "operationType",
|
|
647
|
-
"type": "bytes32"
|
|
484
|
+
"type": "bytes32",
|
|
485
|
+
"internalType": "bytes32"
|
|
648
486
|
},
|
|
649
487
|
{
|
|
650
|
-
"internalType": "bytes4",
|
|
651
488
|
"name": "executionSelector",
|
|
652
|
-
"type": "bytes4"
|
|
489
|
+
"type": "bytes4",
|
|
490
|
+
"internalType": "bytes4"
|
|
653
491
|
},
|
|
654
492
|
{
|
|
655
|
-
"internalType": "bytes",
|
|
656
493
|
"name": "executionParams",
|
|
657
|
-
"type": "bytes"
|
|
494
|
+
"type": "bytes",
|
|
495
|
+
"internalType": "bytes"
|
|
658
496
|
}
|
|
659
|
-
]
|
|
660
|
-
"internalType": "struct EngineBlox.TxParams",
|
|
661
|
-
"name": "params",
|
|
662
|
-
"type": "tuple"
|
|
497
|
+
]
|
|
663
498
|
},
|
|
664
499
|
{
|
|
665
|
-
"internalType": "bytes32",
|
|
666
500
|
"name": "message",
|
|
667
|
-
"type": "bytes32"
|
|
501
|
+
"type": "bytes32",
|
|
502
|
+
"internalType": "bytes32"
|
|
668
503
|
},
|
|
669
504
|
{
|
|
670
|
-
"
|
|
671
|
-
"
|
|
672
|
-
"
|
|
505
|
+
"name": "resultHash",
|
|
506
|
+
"type": "bytes32",
|
|
507
|
+
"internalType": "bytes32"
|
|
673
508
|
},
|
|
674
509
|
{
|
|
510
|
+
"name": "payment",
|
|
511
|
+
"type": "tuple",
|
|
512
|
+
"internalType": "struct EngineBlox.PaymentDetails",
|
|
675
513
|
"components": [
|
|
676
514
|
{
|
|
677
|
-
"internalType": "address",
|
|
678
515
|
"name": "recipient",
|
|
679
|
-
"type": "address"
|
|
516
|
+
"type": "address",
|
|
517
|
+
"internalType": "address"
|
|
680
518
|
},
|
|
681
519
|
{
|
|
682
|
-
"internalType": "uint256",
|
|
683
520
|
"name": "nativeTokenAmount",
|
|
684
|
-
"type": "uint256"
|
|
521
|
+
"type": "uint256",
|
|
522
|
+
"internalType": "uint256"
|
|
685
523
|
},
|
|
686
524
|
{
|
|
687
|
-
"internalType": "address",
|
|
688
525
|
"name": "erc20TokenAddress",
|
|
689
|
-
"type": "address"
|
|
526
|
+
"type": "address",
|
|
527
|
+
"internalType": "address"
|
|
690
528
|
},
|
|
691
529
|
{
|
|
692
|
-
"internalType": "uint256",
|
|
693
530
|
"name": "erc20TokenAmount",
|
|
694
|
-
"type": "uint256"
|
|
531
|
+
"type": "uint256",
|
|
532
|
+
"internalType": "uint256"
|
|
695
533
|
}
|
|
696
|
-
]
|
|
697
|
-
"internalType": "struct EngineBlox.PaymentDetails",
|
|
698
|
-
"name": "payment",
|
|
699
|
-
"type": "tuple"
|
|
534
|
+
]
|
|
700
535
|
}
|
|
701
|
-
]
|
|
702
|
-
"internalType": "struct EngineBlox.TxRecord",
|
|
703
|
-
"name": "txRecord",
|
|
704
|
-
"type": "tuple"
|
|
536
|
+
]
|
|
705
537
|
},
|
|
706
538
|
{
|
|
539
|
+
"name": "params",
|
|
540
|
+
"type": "tuple",
|
|
541
|
+
"internalType": "struct EngineBlox.MetaTxParams",
|
|
707
542
|
"components": [
|
|
708
543
|
{
|
|
709
|
-
"internalType": "uint256",
|
|
710
544
|
"name": "chainId",
|
|
711
|
-
"type": "uint256"
|
|
545
|
+
"type": "uint256",
|
|
546
|
+
"internalType": "uint256"
|
|
712
547
|
},
|
|
713
548
|
{
|
|
714
|
-
"internalType": "uint256",
|
|
715
549
|
"name": "nonce",
|
|
716
|
-
"type": "uint256"
|
|
550
|
+
"type": "uint256",
|
|
551
|
+
"internalType": "uint256"
|
|
717
552
|
},
|
|
718
553
|
{
|
|
719
|
-
"internalType": "address",
|
|
720
554
|
"name": "handlerContract",
|
|
721
|
-
"type": "address"
|
|
555
|
+
"type": "address",
|
|
556
|
+
"internalType": "address"
|
|
722
557
|
},
|
|
723
558
|
{
|
|
724
|
-
"internalType": "bytes4",
|
|
725
559
|
"name": "handlerSelector",
|
|
726
|
-
"type": "bytes4"
|
|
560
|
+
"type": "bytes4",
|
|
561
|
+
"internalType": "bytes4"
|
|
727
562
|
},
|
|
728
563
|
{
|
|
729
|
-
"internalType": "enum EngineBlox.TxAction",
|
|
730
564
|
"name": "action",
|
|
731
|
-
"type": "uint8"
|
|
565
|
+
"type": "uint8",
|
|
566
|
+
"internalType": "enum EngineBlox.TxAction"
|
|
732
567
|
},
|
|
733
568
|
{
|
|
734
|
-
"internalType": "uint256",
|
|
735
569
|
"name": "deadline",
|
|
736
|
-
"type": "uint256"
|
|
570
|
+
"type": "uint256",
|
|
571
|
+
"internalType": "uint256"
|
|
737
572
|
},
|
|
738
573
|
{
|
|
739
|
-
"internalType": "uint256",
|
|
740
574
|
"name": "maxGasPrice",
|
|
741
|
-
"type": "uint256"
|
|
575
|
+
"type": "uint256",
|
|
576
|
+
"internalType": "uint256"
|
|
742
577
|
},
|
|
743
578
|
{
|
|
744
|
-
"internalType": "address",
|
|
745
579
|
"name": "signer",
|
|
746
|
-
"type": "address"
|
|
580
|
+
"type": "address",
|
|
581
|
+
"internalType": "address"
|
|
747
582
|
}
|
|
748
|
-
]
|
|
749
|
-
"internalType": "struct EngineBlox.MetaTxParams",
|
|
750
|
-
"name": "params",
|
|
751
|
-
"type": "tuple"
|
|
583
|
+
]
|
|
752
584
|
},
|
|
753
585
|
{
|
|
754
|
-
"internalType": "bytes32",
|
|
755
586
|
"name": "message",
|
|
756
|
-
"type": "bytes32"
|
|
587
|
+
"type": "bytes32",
|
|
588
|
+
"internalType": "bytes32"
|
|
757
589
|
},
|
|
758
590
|
{
|
|
759
|
-
"internalType": "bytes",
|
|
760
591
|
"name": "signature",
|
|
761
|
-
"type": "bytes"
|
|
592
|
+
"type": "bytes",
|
|
593
|
+
"internalType": "bytes"
|
|
762
594
|
},
|
|
763
595
|
{
|
|
764
|
-
"internalType": "bytes",
|
|
765
596
|
"name": "data",
|
|
766
|
-
"type": "bytes"
|
|
597
|
+
"type": "bytes",
|
|
598
|
+
"internalType": "bytes"
|
|
767
599
|
}
|
|
768
|
-
]
|
|
769
|
-
"internalType": "struct EngineBlox.MetaTransaction",
|
|
770
|
-
"name": "",
|
|
771
|
-
"type": "tuple"
|
|
600
|
+
]
|
|
772
601
|
}
|
|
773
602
|
],
|
|
774
|
-
"stateMutability": "view"
|
|
775
|
-
"type": "function"
|
|
603
|
+
"stateMutability": "view"
|
|
776
604
|
},
|
|
777
605
|
{
|
|
606
|
+
"type": "function",
|
|
607
|
+
"name": "getActiveRolePermissions",
|
|
778
608
|
"inputs": [
|
|
779
609
|
{
|
|
780
|
-
"internalType": "bytes32",
|
|
781
610
|
"name": "roleHash",
|
|
782
|
-
"type": "bytes32"
|
|
611
|
+
"type": "bytes32",
|
|
612
|
+
"internalType": "bytes32"
|
|
783
613
|
}
|
|
784
614
|
],
|
|
785
|
-
"name": "getActiveRolePermissions",
|
|
786
615
|
"outputs": [
|
|
787
616
|
{
|
|
617
|
+
"name": "",
|
|
618
|
+
"type": "tuple[]",
|
|
619
|
+
"internalType": "struct EngineBlox.FunctionPermission[]",
|
|
788
620
|
"components": [
|
|
789
621
|
{
|
|
790
|
-
"internalType": "bytes4",
|
|
791
622
|
"name": "functionSelector",
|
|
792
|
-
"type": "bytes4"
|
|
623
|
+
"type": "bytes4",
|
|
624
|
+
"internalType": "bytes4"
|
|
793
625
|
},
|
|
794
626
|
{
|
|
795
|
-
"internalType": "uint16",
|
|
796
627
|
"name": "grantedActionsBitmap",
|
|
797
|
-
"type": "uint16"
|
|
628
|
+
"type": "uint16",
|
|
629
|
+
"internalType": "uint16"
|
|
798
630
|
},
|
|
799
631
|
{
|
|
800
|
-
"internalType": "bytes4[]",
|
|
801
632
|
"name": "handlerForSelectors",
|
|
802
|
-
"type": "bytes4[]"
|
|
633
|
+
"type": "bytes4[]",
|
|
634
|
+
"internalType": "bytes4[]"
|
|
803
635
|
}
|
|
804
|
-
]
|
|
805
|
-
"internalType": "struct EngineBlox.FunctionPermission[]",
|
|
806
|
-
"name": "",
|
|
807
|
-
"type": "tuple[]"
|
|
636
|
+
]
|
|
808
637
|
}
|
|
809
638
|
],
|
|
810
|
-
"stateMutability": "view"
|
|
811
|
-
"type": "function"
|
|
639
|
+
"stateMutability": "view"
|
|
812
640
|
},
|
|
813
641
|
{
|
|
642
|
+
"type": "function",
|
|
643
|
+
"name": "getAuthorizedWallets",
|
|
814
644
|
"inputs": [
|
|
815
645
|
{
|
|
816
|
-
"internalType": "bytes32",
|
|
817
646
|
"name": "roleHash",
|
|
818
|
-
"type": "bytes32"
|
|
647
|
+
"type": "bytes32",
|
|
648
|
+
"internalType": "bytes32"
|
|
819
649
|
}
|
|
820
650
|
],
|
|
821
|
-
"name": "getAuthorizedWallets",
|
|
822
651
|
"outputs": [
|
|
823
652
|
{
|
|
824
|
-
"internalType": "address[]",
|
|
825
653
|
"name": "",
|
|
826
|
-
"type": "address[]"
|
|
654
|
+
"type": "address[]",
|
|
655
|
+
"internalType": "address[]"
|
|
827
656
|
}
|
|
828
657
|
],
|
|
829
|
-
"stateMutability": "view"
|
|
830
|
-
"type": "function"
|
|
658
|
+
"stateMutability": "view"
|
|
831
659
|
},
|
|
832
660
|
{
|
|
833
|
-
"
|
|
661
|
+
"type": "function",
|
|
834
662
|
"name": "getBroadcasters",
|
|
663
|
+
"inputs": [],
|
|
835
664
|
"outputs": [
|
|
836
665
|
{
|
|
837
|
-
"internalType": "address[]",
|
|
838
666
|
"name": "",
|
|
839
|
-
"type": "address[]"
|
|
667
|
+
"type": "address[]",
|
|
668
|
+
"internalType": "address[]"
|
|
840
669
|
}
|
|
841
670
|
],
|
|
842
|
-
"stateMutability": "view"
|
|
843
|
-
"type": "function"
|
|
671
|
+
"stateMutability": "view"
|
|
844
672
|
},
|
|
845
673
|
{
|
|
674
|
+
"type": "function",
|
|
675
|
+
"name": "getFunctionSchema",
|
|
846
676
|
"inputs": [
|
|
847
677
|
{
|
|
848
|
-
"internalType": "bytes4",
|
|
849
678
|
"name": "functionSelector",
|
|
850
|
-
"type": "bytes4"
|
|
679
|
+
"type": "bytes4",
|
|
680
|
+
"internalType": "bytes4"
|
|
851
681
|
}
|
|
852
682
|
],
|
|
853
|
-
"name": "getFunctionSchema",
|
|
854
683
|
"outputs": [
|
|
855
684
|
{
|
|
685
|
+
"name": "",
|
|
686
|
+
"type": "tuple",
|
|
687
|
+
"internalType": "struct EngineBlox.FunctionSchema",
|
|
856
688
|
"components": [
|
|
857
689
|
{
|
|
858
|
-
"internalType": "string",
|
|
859
690
|
"name": "functionSignature",
|
|
860
|
-
"type": "string"
|
|
691
|
+
"type": "string",
|
|
692
|
+
"internalType": "string"
|
|
861
693
|
},
|
|
862
694
|
{
|
|
863
|
-
"internalType": "bytes4",
|
|
864
695
|
"name": "functionSelector",
|
|
865
|
-
"type": "bytes4"
|
|
696
|
+
"type": "bytes4",
|
|
697
|
+
"internalType": "bytes4"
|
|
866
698
|
},
|
|
867
699
|
{
|
|
868
|
-
"internalType": "bytes32",
|
|
869
700
|
"name": "operationType",
|
|
870
|
-
"type": "bytes32"
|
|
701
|
+
"type": "bytes32",
|
|
702
|
+
"internalType": "bytes32"
|
|
871
703
|
},
|
|
872
704
|
{
|
|
873
|
-
"internalType": "string",
|
|
874
705
|
"name": "operationName",
|
|
875
|
-
"type": "string"
|
|
706
|
+
"type": "string",
|
|
707
|
+
"internalType": "string"
|
|
876
708
|
},
|
|
877
709
|
{
|
|
878
|
-
"internalType": "uint16",
|
|
879
710
|
"name": "supportedActionsBitmap",
|
|
880
|
-
"type": "uint16"
|
|
711
|
+
"type": "uint16",
|
|
712
|
+
"internalType": "uint16"
|
|
881
713
|
},
|
|
882
714
|
{
|
|
883
|
-
"internalType": "bool",
|
|
884
715
|
"name": "enforceHandlerRelations",
|
|
885
|
-
"type": "bool"
|
|
716
|
+
"type": "bool",
|
|
717
|
+
"internalType": "bool"
|
|
886
718
|
},
|
|
887
719
|
{
|
|
888
|
-
"internalType": "bool",
|
|
889
720
|
"name": "isProtected",
|
|
890
|
-
"type": "bool"
|
|
721
|
+
"type": "bool",
|
|
722
|
+
"internalType": "bool"
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
"name": "isGrantRevocable",
|
|
726
|
+
"type": "bool",
|
|
727
|
+
"internalType": "bool"
|
|
891
728
|
},
|
|
892
729
|
{
|
|
893
|
-
"internalType": "bytes4[]",
|
|
894
730
|
"name": "handlerForSelectors",
|
|
895
|
-
"type": "bytes4[]"
|
|
731
|
+
"type": "bytes4[]",
|
|
732
|
+
"internalType": "bytes4[]"
|
|
896
733
|
}
|
|
897
|
-
]
|
|
898
|
-
"internalType": "struct EngineBlox.FunctionSchema",
|
|
899
|
-
"name": "",
|
|
900
|
-
"type": "tuple"
|
|
734
|
+
]
|
|
901
735
|
}
|
|
902
736
|
],
|
|
903
|
-
"stateMutability": "view"
|
|
904
|
-
"type": "function"
|
|
737
|
+
"stateMutability": "view"
|
|
905
738
|
},
|
|
906
739
|
{
|
|
740
|
+
"type": "function",
|
|
741
|
+
"name": "getFunctionWhitelistTargets",
|
|
907
742
|
"inputs": [
|
|
908
743
|
{
|
|
909
|
-
"internalType": "bytes4",
|
|
910
744
|
"name": "functionSelector",
|
|
911
|
-
"type": "bytes4"
|
|
745
|
+
"type": "bytes4",
|
|
746
|
+
"internalType": "bytes4"
|
|
912
747
|
}
|
|
913
748
|
],
|
|
914
|
-
"name": "getFunctionWhitelistTargets",
|
|
915
749
|
"outputs": [
|
|
916
750
|
{
|
|
917
|
-
"internalType": "address[]",
|
|
918
751
|
"name": "",
|
|
919
|
-
"type": "address[]"
|
|
752
|
+
"type": "address[]",
|
|
753
|
+
"internalType": "address[]"
|
|
920
754
|
}
|
|
921
755
|
],
|
|
922
|
-
"stateMutability": "view"
|
|
923
|
-
"type": "function"
|
|
756
|
+
"stateMutability": "view"
|
|
924
757
|
},
|
|
925
758
|
{
|
|
759
|
+
"type": "function",
|
|
760
|
+
"name": "getHooks",
|
|
926
761
|
"inputs": [
|
|
927
762
|
{
|
|
928
|
-
"internalType": "bytes4",
|
|
929
763
|
"name": "functionSelector",
|
|
930
|
-
"type": "bytes4"
|
|
764
|
+
"type": "bytes4",
|
|
765
|
+
"internalType": "bytes4"
|
|
931
766
|
}
|
|
932
767
|
],
|
|
933
|
-
"name": "getHooks",
|
|
934
768
|
"outputs": [
|
|
935
769
|
{
|
|
936
|
-
"internalType": "address[]",
|
|
937
770
|
"name": "hooks",
|
|
938
|
-
"type": "address[]"
|
|
771
|
+
"type": "address[]",
|
|
772
|
+
"internalType": "address[]"
|
|
939
773
|
}
|
|
940
774
|
],
|
|
941
|
-
"stateMutability": "view"
|
|
942
|
-
"type": "function"
|
|
775
|
+
"stateMutability": "view"
|
|
943
776
|
},
|
|
944
777
|
{
|
|
945
|
-
"
|
|
778
|
+
"type": "function",
|
|
946
779
|
"name": "getPendingTransactions",
|
|
780
|
+
"inputs": [],
|
|
947
781
|
"outputs": [
|
|
948
782
|
{
|
|
949
|
-
"internalType": "uint256[]",
|
|
950
783
|
"name": "",
|
|
951
|
-
"type": "uint256[]"
|
|
784
|
+
"type": "uint256[]",
|
|
785
|
+
"internalType": "uint256[]"
|
|
952
786
|
}
|
|
953
787
|
],
|
|
954
|
-
"stateMutability": "view"
|
|
955
|
-
"type": "function"
|
|
788
|
+
"stateMutability": "view"
|
|
956
789
|
},
|
|
957
790
|
{
|
|
958
|
-
"
|
|
791
|
+
"type": "function",
|
|
959
792
|
"name": "getRecovery",
|
|
793
|
+
"inputs": [],
|
|
960
794
|
"outputs": [
|
|
961
795
|
{
|
|
962
|
-
"internalType": "address",
|
|
963
796
|
"name": "",
|
|
964
|
-
"type": "address"
|
|
797
|
+
"type": "address",
|
|
798
|
+
"internalType": "address"
|
|
965
799
|
}
|
|
966
800
|
],
|
|
967
|
-
"stateMutability": "view"
|
|
968
|
-
"type": "function"
|
|
801
|
+
"stateMutability": "view"
|
|
969
802
|
},
|
|
970
803
|
{
|
|
804
|
+
"type": "function",
|
|
805
|
+
"name": "getRole",
|
|
971
806
|
"inputs": [
|
|
972
807
|
{
|
|
973
|
-
"internalType": "bytes32",
|
|
974
808
|
"name": "roleHash",
|
|
975
|
-
"type": "bytes32"
|
|
809
|
+
"type": "bytes32",
|
|
810
|
+
"internalType": "bytes32"
|
|
976
811
|
}
|
|
977
812
|
],
|
|
978
|
-
"name": "getRole",
|
|
979
813
|
"outputs": [
|
|
980
814
|
{
|
|
981
|
-
"internalType": "string",
|
|
982
815
|
"name": "roleName",
|
|
983
|
-
"type": "string"
|
|
816
|
+
"type": "string",
|
|
817
|
+
"internalType": "string"
|
|
984
818
|
},
|
|
985
819
|
{
|
|
986
|
-
"internalType": "bytes32",
|
|
987
820
|
"name": "hash",
|
|
988
|
-
"type": "bytes32"
|
|
821
|
+
"type": "bytes32",
|
|
822
|
+
"internalType": "bytes32"
|
|
989
823
|
},
|
|
990
824
|
{
|
|
991
|
-
"internalType": "uint256",
|
|
992
825
|
"name": "maxWallets",
|
|
993
|
-
"type": "uint256"
|
|
826
|
+
"type": "uint256",
|
|
827
|
+
"internalType": "uint256"
|
|
994
828
|
},
|
|
995
829
|
{
|
|
996
|
-
"internalType": "uint256",
|
|
997
830
|
"name": "walletCount",
|
|
998
|
-
"type": "uint256"
|
|
831
|
+
"type": "uint256",
|
|
832
|
+
"internalType": "uint256"
|
|
999
833
|
},
|
|
1000
834
|
{
|
|
1001
|
-
"internalType": "bool",
|
|
1002
835
|
"name": "isProtected",
|
|
1003
|
-
"type": "bool"
|
|
836
|
+
"type": "bool",
|
|
837
|
+
"internalType": "bool"
|
|
1004
838
|
}
|
|
1005
839
|
],
|
|
1006
|
-
"stateMutability": "view"
|
|
1007
|
-
"type": "function"
|
|
840
|
+
"stateMutability": "view"
|
|
1008
841
|
},
|
|
1009
842
|
{
|
|
843
|
+
"type": "function",
|
|
844
|
+
"name": "getSignerNonce",
|
|
1010
845
|
"inputs": [
|
|
1011
846
|
{
|
|
1012
|
-
"internalType": "address",
|
|
1013
847
|
"name": "signer",
|
|
1014
|
-
"type": "address"
|
|
848
|
+
"type": "address",
|
|
849
|
+
"internalType": "address"
|
|
1015
850
|
}
|
|
1016
851
|
],
|
|
1017
|
-
"name": "getSignerNonce",
|
|
1018
852
|
"outputs": [
|
|
1019
853
|
{
|
|
1020
|
-
"internalType": "uint256",
|
|
1021
854
|
"name": "",
|
|
1022
|
-
"type": "uint256"
|
|
855
|
+
"type": "uint256",
|
|
856
|
+
"internalType": "uint256"
|
|
1023
857
|
}
|
|
1024
858
|
],
|
|
1025
|
-
"stateMutability": "view"
|
|
1026
|
-
"type": "function"
|
|
859
|
+
"stateMutability": "view"
|
|
1027
860
|
},
|
|
1028
861
|
{
|
|
1029
|
-
"
|
|
862
|
+
"type": "function",
|
|
1030
863
|
"name": "getSupportedFunctions",
|
|
864
|
+
"inputs": [],
|
|
1031
865
|
"outputs": [
|
|
1032
866
|
{
|
|
1033
|
-
"internalType": "bytes4[]",
|
|
1034
867
|
"name": "",
|
|
1035
|
-
"type": "bytes4[]"
|
|
868
|
+
"type": "bytes4[]",
|
|
869
|
+
"internalType": "bytes4[]"
|
|
1036
870
|
}
|
|
1037
871
|
],
|
|
1038
|
-
"stateMutability": "view"
|
|
1039
|
-
"type": "function"
|
|
872
|
+
"stateMutability": "view"
|
|
1040
873
|
},
|
|
1041
874
|
{
|
|
1042
|
-
"
|
|
875
|
+
"type": "function",
|
|
1043
876
|
"name": "getSupportedOperationTypes",
|
|
877
|
+
"inputs": [],
|
|
1044
878
|
"outputs": [
|
|
1045
879
|
{
|
|
1046
|
-
"internalType": "bytes32[]",
|
|
1047
880
|
"name": "",
|
|
1048
|
-
"type": "bytes32[]"
|
|
881
|
+
"type": "bytes32[]",
|
|
882
|
+
"internalType": "bytes32[]"
|
|
1049
883
|
}
|
|
1050
884
|
],
|
|
1051
|
-
"stateMutability": "view"
|
|
1052
|
-
"type": "function"
|
|
885
|
+
"stateMutability": "view"
|
|
1053
886
|
},
|
|
1054
887
|
{
|
|
1055
|
-
"
|
|
888
|
+
"type": "function",
|
|
1056
889
|
"name": "getSupportedRoles",
|
|
890
|
+
"inputs": [],
|
|
1057
891
|
"outputs": [
|
|
1058
892
|
{
|
|
1059
|
-
"internalType": "bytes32[]",
|
|
1060
893
|
"name": "",
|
|
1061
|
-
"type": "bytes32[]"
|
|
894
|
+
"type": "bytes32[]",
|
|
895
|
+
"internalType": "bytes32[]"
|
|
1062
896
|
}
|
|
1063
897
|
],
|
|
1064
|
-
"stateMutability": "view"
|
|
1065
|
-
"type": "function"
|
|
898
|
+
"stateMutability": "view"
|
|
1066
899
|
},
|
|
1067
900
|
{
|
|
1068
|
-
"
|
|
901
|
+
"type": "function",
|
|
1069
902
|
"name": "getTimeLockPeriodSec",
|
|
903
|
+
"inputs": [],
|
|
1070
904
|
"outputs": [
|
|
1071
905
|
{
|
|
1072
|
-
"internalType": "uint256",
|
|
1073
906
|
"name": "",
|
|
1074
|
-
"type": "uint256"
|
|
907
|
+
"type": "uint256",
|
|
908
|
+
"internalType": "uint256"
|
|
1075
909
|
}
|
|
1076
910
|
],
|
|
1077
|
-
"stateMutability": "view"
|
|
1078
|
-
"type": "function"
|
|
911
|
+
"stateMutability": "view"
|
|
1079
912
|
},
|
|
1080
913
|
{
|
|
914
|
+
"type": "function",
|
|
915
|
+
"name": "getTransaction",
|
|
1081
916
|
"inputs": [
|
|
1082
917
|
{
|
|
1083
|
-
"internalType": "uint256",
|
|
1084
918
|
"name": "txId",
|
|
1085
|
-
"type": "uint256"
|
|
919
|
+
"type": "uint256",
|
|
920
|
+
"internalType": "uint256"
|
|
1086
921
|
}
|
|
1087
922
|
],
|
|
1088
|
-
"name": "getTransaction",
|
|
1089
923
|
"outputs": [
|
|
1090
924
|
{
|
|
925
|
+
"name": "",
|
|
926
|
+
"type": "tuple",
|
|
927
|
+
"internalType": "struct EngineBlox.TxRecord",
|
|
1091
928
|
"components": [
|
|
1092
929
|
{
|
|
1093
|
-
"internalType": "uint256",
|
|
1094
930
|
"name": "txId",
|
|
1095
|
-
"type": "uint256"
|
|
931
|
+
"type": "uint256",
|
|
932
|
+
"internalType": "uint256"
|
|
1096
933
|
},
|
|
1097
934
|
{
|
|
1098
|
-
"internalType": "uint256",
|
|
1099
935
|
"name": "releaseTime",
|
|
1100
|
-
"type": "uint256"
|
|
936
|
+
"type": "uint256",
|
|
937
|
+
"internalType": "uint256"
|
|
1101
938
|
},
|
|
1102
939
|
{
|
|
1103
|
-
"internalType": "enum EngineBlox.TxStatus",
|
|
1104
940
|
"name": "status",
|
|
1105
|
-
"type": "uint8"
|
|
941
|
+
"type": "uint8",
|
|
942
|
+
"internalType": "enum EngineBlox.TxStatus"
|
|
1106
943
|
},
|
|
1107
944
|
{
|
|
945
|
+
"name": "params",
|
|
946
|
+
"type": "tuple",
|
|
947
|
+
"internalType": "struct EngineBlox.TxParams",
|
|
1108
948
|
"components": [
|
|
1109
949
|
{
|
|
1110
|
-
"internalType": "address",
|
|
1111
950
|
"name": "requester",
|
|
1112
|
-
"type": "address"
|
|
951
|
+
"type": "address",
|
|
952
|
+
"internalType": "address"
|
|
1113
953
|
},
|
|
1114
954
|
{
|
|
1115
|
-
"internalType": "address",
|
|
1116
955
|
"name": "target",
|
|
1117
|
-
"type": "address"
|
|
956
|
+
"type": "address",
|
|
957
|
+
"internalType": "address"
|
|
1118
958
|
},
|
|
1119
959
|
{
|
|
1120
|
-
"internalType": "uint256",
|
|
1121
960
|
"name": "value",
|
|
1122
|
-
"type": "uint256"
|
|
961
|
+
"type": "uint256",
|
|
962
|
+
"internalType": "uint256"
|
|
1123
963
|
},
|
|
1124
964
|
{
|
|
1125
|
-
"internalType": "uint256",
|
|
1126
965
|
"name": "gasLimit",
|
|
1127
|
-
"type": "uint256"
|
|
966
|
+
"type": "uint256",
|
|
967
|
+
"internalType": "uint256"
|
|
1128
968
|
},
|
|
1129
969
|
{
|
|
1130
|
-
"internalType": "bytes32",
|
|
1131
970
|
"name": "operationType",
|
|
1132
|
-
"type": "bytes32"
|
|
971
|
+
"type": "bytes32",
|
|
972
|
+
"internalType": "bytes32"
|
|
1133
973
|
},
|
|
1134
974
|
{
|
|
1135
|
-
"internalType": "bytes4",
|
|
1136
975
|
"name": "executionSelector",
|
|
1137
|
-
"type": "bytes4"
|
|
976
|
+
"type": "bytes4",
|
|
977
|
+
"internalType": "bytes4"
|
|
1138
978
|
},
|
|
1139
979
|
{
|
|
1140
|
-
"internalType": "bytes",
|
|
1141
980
|
"name": "executionParams",
|
|
1142
|
-
"type": "bytes"
|
|
981
|
+
"type": "bytes",
|
|
982
|
+
"internalType": "bytes"
|
|
1143
983
|
}
|
|
1144
|
-
]
|
|
1145
|
-
"internalType": "struct EngineBlox.TxParams",
|
|
1146
|
-
"name": "params",
|
|
1147
|
-
"type": "tuple"
|
|
984
|
+
]
|
|
1148
985
|
},
|
|
1149
986
|
{
|
|
1150
|
-
"internalType": "bytes32",
|
|
1151
987
|
"name": "message",
|
|
1152
|
-
"type": "bytes32"
|
|
988
|
+
"type": "bytes32",
|
|
989
|
+
"internalType": "bytes32"
|
|
1153
990
|
},
|
|
1154
991
|
{
|
|
1155
|
-
"
|
|
1156
|
-
"
|
|
1157
|
-
"
|
|
992
|
+
"name": "resultHash",
|
|
993
|
+
"type": "bytes32",
|
|
994
|
+
"internalType": "bytes32"
|
|
1158
995
|
},
|
|
1159
996
|
{
|
|
997
|
+
"name": "payment",
|
|
998
|
+
"type": "tuple",
|
|
999
|
+
"internalType": "struct EngineBlox.PaymentDetails",
|
|
1160
1000
|
"components": [
|
|
1161
1001
|
{
|
|
1162
|
-
"internalType": "address",
|
|
1163
1002
|
"name": "recipient",
|
|
1164
|
-
"type": "address"
|
|
1003
|
+
"type": "address",
|
|
1004
|
+
"internalType": "address"
|
|
1165
1005
|
},
|
|
1166
1006
|
{
|
|
1167
|
-
"internalType": "uint256",
|
|
1168
1007
|
"name": "nativeTokenAmount",
|
|
1169
|
-
"type": "uint256"
|
|
1008
|
+
"type": "uint256",
|
|
1009
|
+
"internalType": "uint256"
|
|
1170
1010
|
},
|
|
1171
1011
|
{
|
|
1172
|
-
"internalType": "address",
|
|
1173
1012
|
"name": "erc20TokenAddress",
|
|
1174
|
-
"type": "address"
|
|
1013
|
+
"type": "address",
|
|
1014
|
+
"internalType": "address"
|
|
1175
1015
|
},
|
|
1176
1016
|
{
|
|
1177
|
-
"internalType": "uint256",
|
|
1178
1017
|
"name": "erc20TokenAmount",
|
|
1179
|
-
"type": "uint256"
|
|
1018
|
+
"type": "uint256",
|
|
1019
|
+
"internalType": "uint256"
|
|
1180
1020
|
}
|
|
1181
|
-
]
|
|
1182
|
-
"internalType": "struct EngineBlox.PaymentDetails",
|
|
1183
|
-
"name": "payment",
|
|
1184
|
-
"type": "tuple"
|
|
1021
|
+
]
|
|
1185
1022
|
}
|
|
1186
|
-
]
|
|
1187
|
-
"internalType": "struct EngineBlox.TxRecord",
|
|
1188
|
-
"name": "",
|
|
1189
|
-
"type": "tuple"
|
|
1023
|
+
]
|
|
1190
1024
|
}
|
|
1191
1025
|
],
|
|
1192
|
-
"stateMutability": "view"
|
|
1193
|
-
"type": "function"
|
|
1026
|
+
"stateMutability": "view"
|
|
1194
1027
|
},
|
|
1195
1028
|
{
|
|
1029
|
+
"type": "function",
|
|
1030
|
+
"name": "getTransactionHistory",
|
|
1196
1031
|
"inputs": [
|
|
1197
1032
|
{
|
|
1198
|
-
"internalType": "uint256",
|
|
1199
1033
|
"name": "fromTxId",
|
|
1200
|
-
"type": "uint256"
|
|
1034
|
+
"type": "uint256",
|
|
1035
|
+
"internalType": "uint256"
|
|
1201
1036
|
},
|
|
1202
1037
|
{
|
|
1203
|
-
"internalType": "uint256",
|
|
1204
1038
|
"name": "toTxId",
|
|
1205
|
-
"type": "uint256"
|
|
1039
|
+
"type": "uint256",
|
|
1040
|
+
"internalType": "uint256"
|
|
1206
1041
|
}
|
|
1207
1042
|
],
|
|
1208
|
-
"name": "getTransactionHistory",
|
|
1209
1043
|
"outputs": [
|
|
1210
1044
|
{
|
|
1045
|
+
"name": "",
|
|
1046
|
+
"type": "tuple[]",
|
|
1047
|
+
"internalType": "struct EngineBlox.TxRecord[]",
|
|
1211
1048
|
"components": [
|
|
1212
1049
|
{
|
|
1213
|
-
"internalType": "uint256",
|
|
1214
1050
|
"name": "txId",
|
|
1215
|
-
"type": "uint256"
|
|
1051
|
+
"type": "uint256",
|
|
1052
|
+
"internalType": "uint256"
|
|
1216
1053
|
},
|
|
1217
1054
|
{
|
|
1218
|
-
"internalType": "uint256",
|
|
1219
1055
|
"name": "releaseTime",
|
|
1220
|
-
"type": "uint256"
|
|
1056
|
+
"type": "uint256",
|
|
1057
|
+
"internalType": "uint256"
|
|
1221
1058
|
},
|
|
1222
1059
|
{
|
|
1223
|
-
"internalType": "enum EngineBlox.TxStatus",
|
|
1224
1060
|
"name": "status",
|
|
1225
|
-
"type": "uint8"
|
|
1061
|
+
"type": "uint8",
|
|
1062
|
+
"internalType": "enum EngineBlox.TxStatus"
|
|
1226
1063
|
},
|
|
1227
1064
|
{
|
|
1065
|
+
"name": "params",
|
|
1066
|
+
"type": "tuple",
|
|
1067
|
+
"internalType": "struct EngineBlox.TxParams",
|
|
1228
1068
|
"components": [
|
|
1229
1069
|
{
|
|
1230
|
-
"internalType": "address",
|
|
1231
1070
|
"name": "requester",
|
|
1232
|
-
"type": "address"
|
|
1071
|
+
"type": "address",
|
|
1072
|
+
"internalType": "address"
|
|
1233
1073
|
},
|
|
1234
1074
|
{
|
|
1235
|
-
"internalType": "address",
|
|
1236
1075
|
"name": "target",
|
|
1237
|
-
"type": "address"
|
|
1076
|
+
"type": "address",
|
|
1077
|
+
"internalType": "address"
|
|
1238
1078
|
},
|
|
1239
1079
|
{
|
|
1240
|
-
"internalType": "uint256",
|
|
1241
1080
|
"name": "value",
|
|
1242
|
-
"type": "uint256"
|
|
1081
|
+
"type": "uint256",
|
|
1082
|
+
"internalType": "uint256"
|
|
1243
1083
|
},
|
|
1244
1084
|
{
|
|
1245
|
-
"internalType": "uint256",
|
|
1246
1085
|
"name": "gasLimit",
|
|
1247
|
-
"type": "uint256"
|
|
1086
|
+
"type": "uint256",
|
|
1087
|
+
"internalType": "uint256"
|
|
1248
1088
|
},
|
|
1249
1089
|
{
|
|
1250
|
-
"internalType": "bytes32",
|
|
1251
1090
|
"name": "operationType",
|
|
1252
|
-
"type": "bytes32"
|
|
1091
|
+
"type": "bytes32",
|
|
1092
|
+
"internalType": "bytes32"
|
|
1253
1093
|
},
|
|
1254
1094
|
{
|
|
1255
|
-
"internalType": "bytes4",
|
|
1256
1095
|
"name": "executionSelector",
|
|
1257
|
-
"type": "bytes4"
|
|
1096
|
+
"type": "bytes4",
|
|
1097
|
+
"internalType": "bytes4"
|
|
1258
1098
|
},
|
|
1259
1099
|
{
|
|
1260
|
-
"internalType": "bytes",
|
|
1261
1100
|
"name": "executionParams",
|
|
1262
|
-
"type": "bytes"
|
|
1101
|
+
"type": "bytes",
|
|
1102
|
+
"internalType": "bytes"
|
|
1263
1103
|
}
|
|
1264
|
-
]
|
|
1265
|
-
"internalType": "struct EngineBlox.TxParams",
|
|
1266
|
-
"name": "params",
|
|
1267
|
-
"type": "tuple"
|
|
1104
|
+
]
|
|
1268
1105
|
},
|
|
1269
1106
|
{
|
|
1270
|
-
"internalType": "bytes32",
|
|
1271
1107
|
"name": "message",
|
|
1272
|
-
"type": "bytes32"
|
|
1108
|
+
"type": "bytes32",
|
|
1109
|
+
"internalType": "bytes32"
|
|
1273
1110
|
},
|
|
1274
1111
|
{
|
|
1275
|
-
"
|
|
1276
|
-
"
|
|
1277
|
-
"
|
|
1112
|
+
"name": "resultHash",
|
|
1113
|
+
"type": "bytes32",
|
|
1114
|
+
"internalType": "bytes32"
|
|
1278
1115
|
},
|
|
1279
1116
|
{
|
|
1117
|
+
"name": "payment",
|
|
1118
|
+
"type": "tuple",
|
|
1119
|
+
"internalType": "struct EngineBlox.PaymentDetails",
|
|
1280
1120
|
"components": [
|
|
1281
1121
|
{
|
|
1282
|
-
"internalType": "address",
|
|
1283
1122
|
"name": "recipient",
|
|
1284
|
-
"type": "address"
|
|
1123
|
+
"type": "address",
|
|
1124
|
+
"internalType": "address"
|
|
1285
1125
|
},
|
|
1286
1126
|
{
|
|
1287
|
-
"internalType": "uint256",
|
|
1288
1127
|
"name": "nativeTokenAmount",
|
|
1289
|
-
"type": "uint256"
|
|
1128
|
+
"type": "uint256",
|
|
1129
|
+
"internalType": "uint256"
|
|
1290
1130
|
},
|
|
1291
1131
|
{
|
|
1292
|
-
"internalType": "address",
|
|
1293
1132
|
"name": "erc20TokenAddress",
|
|
1294
|
-
"type": "address"
|
|
1133
|
+
"type": "address",
|
|
1134
|
+
"internalType": "address"
|
|
1295
1135
|
},
|
|
1296
1136
|
{
|
|
1297
|
-
"internalType": "uint256",
|
|
1298
1137
|
"name": "erc20TokenAmount",
|
|
1299
|
-
"type": "uint256"
|
|
1138
|
+
"type": "uint256",
|
|
1139
|
+
"internalType": "uint256"
|
|
1300
1140
|
}
|
|
1301
|
-
]
|
|
1302
|
-
"internalType": "struct EngineBlox.PaymentDetails",
|
|
1303
|
-
"name": "payment",
|
|
1304
|
-
"type": "tuple"
|
|
1141
|
+
]
|
|
1305
1142
|
}
|
|
1306
|
-
]
|
|
1307
|
-
"internalType": "struct EngineBlox.TxRecord[]",
|
|
1308
|
-
"name": "",
|
|
1309
|
-
"type": "tuple[]"
|
|
1143
|
+
]
|
|
1310
1144
|
}
|
|
1311
1145
|
],
|
|
1312
|
-
"stateMutability": "view"
|
|
1313
|
-
"type": "function"
|
|
1146
|
+
"stateMutability": "view"
|
|
1314
1147
|
},
|
|
1315
1148
|
{
|
|
1149
|
+
"type": "function",
|
|
1150
|
+
"name": "getWalletRoles",
|
|
1316
1151
|
"inputs": [
|
|
1317
1152
|
{
|
|
1318
|
-
"internalType": "address",
|
|
1319
1153
|
"name": "wallet",
|
|
1320
|
-
"type": "address"
|
|
1154
|
+
"type": "address",
|
|
1155
|
+
"internalType": "address"
|
|
1321
1156
|
}
|
|
1322
1157
|
],
|
|
1323
|
-
"name": "getWalletRoles",
|
|
1324
1158
|
"outputs": [
|
|
1325
1159
|
{
|
|
1326
|
-
"internalType": "bytes32[]",
|
|
1327
1160
|
"name": "",
|
|
1328
|
-
"type": "bytes32[]"
|
|
1161
|
+
"type": "bytes32[]",
|
|
1162
|
+
"internalType": "bytes32[]"
|
|
1329
1163
|
}
|
|
1330
1164
|
],
|
|
1331
|
-
"stateMutability": "view"
|
|
1332
|
-
"type": "function"
|
|
1165
|
+
"stateMutability": "view"
|
|
1333
1166
|
},
|
|
1334
1167
|
{
|
|
1168
|
+
"type": "function",
|
|
1169
|
+
"name": "hasRole",
|
|
1335
1170
|
"inputs": [
|
|
1336
1171
|
{
|
|
1337
|
-
"internalType": "bytes32",
|
|
1338
1172
|
"name": "roleHash",
|
|
1339
|
-
"type": "bytes32"
|
|
1173
|
+
"type": "bytes32",
|
|
1174
|
+
"internalType": "bytes32"
|
|
1340
1175
|
},
|
|
1341
1176
|
{
|
|
1342
|
-
"internalType": "address",
|
|
1343
1177
|
"name": "wallet",
|
|
1344
|
-
"type": "address"
|
|
1345
|
-
|
|
1346
|
-
],
|
|
1347
|
-
"name": "hasRole",
|
|
1348
|
-
"outputs": [
|
|
1349
|
-
{
|
|
1350
|
-
"internalType": "bool",
|
|
1351
|
-
"name": "",
|
|
1352
|
-
"type": "bool"
|
|
1178
|
+
"type": "address",
|
|
1179
|
+
"internalType": "address"
|
|
1353
1180
|
}
|
|
1354
1181
|
],
|
|
1355
|
-
"stateMutability": "view",
|
|
1356
|
-
"type": "function"
|
|
1357
|
-
},
|
|
1358
|
-
{
|
|
1359
|
-
"inputs": [],
|
|
1360
|
-
"name": "initialized",
|
|
1361
|
-
"outputs": [
|
|
1362
|
-
{
|
|
1363
|
-
"internalType": "bool",
|
|
1364
|
-
"name": "",
|
|
1365
|
-
"type": "bool"
|
|
1366
|
-
}
|
|
1367
|
-
],
|
|
1368
|
-
"stateMutability": "view",
|
|
1369
|
-
"type": "function"
|
|
1370
|
-
},
|
|
1371
|
-
{
|
|
1372
|
-
"inputs": [],
|
|
1373
|
-
"name": "owner",
|
|
1374
1182
|
"outputs": [
|
|
1375
1183
|
{
|
|
1376
|
-
"internalType": "address",
|
|
1377
1184
|
"name": "",
|
|
1378
|
-
"type": "
|
|
1185
|
+
"type": "bool",
|
|
1186
|
+
"internalType": "bool"
|
|
1379
1187
|
}
|
|
1380
1188
|
],
|
|
1381
|
-
"stateMutability": "view"
|
|
1382
|
-
"type": "function"
|
|
1189
|
+
"stateMutability": "view"
|
|
1383
1190
|
},
|
|
1384
1191
|
{
|
|
1192
|
+
"type": "function",
|
|
1193
|
+
"name": "initialize",
|
|
1385
1194
|
"inputs": [
|
|
1386
1195
|
{
|
|
1387
|
-
"internalType": "address",
|
|
1388
1196
|
"name": "initialOwner",
|
|
1389
|
-
"type": "address"
|
|
1197
|
+
"type": "address",
|
|
1198
|
+
"internalType": "address"
|
|
1390
1199
|
},
|
|
1391
1200
|
{
|
|
1392
|
-
"internalType": "address",
|
|
1393
1201
|
"name": "broadcaster",
|
|
1394
|
-
"type": "address"
|
|
1202
|
+
"type": "address",
|
|
1203
|
+
"internalType": "address"
|
|
1395
1204
|
},
|
|
1396
1205
|
{
|
|
1397
|
-
"internalType": "address",
|
|
1398
1206
|
"name": "recovery",
|
|
1399
|
-
"type": "address"
|
|
1207
|
+
"type": "address",
|
|
1208
|
+
"internalType": "address"
|
|
1400
1209
|
},
|
|
1401
1210
|
{
|
|
1402
|
-
"internalType": "uint256",
|
|
1403
1211
|
"name": "timeLockPeriodSec",
|
|
1404
|
-
"type": "uint256"
|
|
1212
|
+
"type": "uint256",
|
|
1213
|
+
"internalType": "uint256"
|
|
1405
1214
|
},
|
|
1406
1215
|
{
|
|
1407
|
-
"internalType": "address",
|
|
1408
1216
|
"name": "eventForwarder",
|
|
1409
|
-
"type": "address"
|
|
1217
|
+
"type": "address",
|
|
1218
|
+
"internalType": "address"
|
|
1410
1219
|
}
|
|
1411
1220
|
],
|
|
1412
|
-
"name": "initialize",
|
|
1413
1221
|
"outputs": [],
|
|
1414
|
-
"stateMutability": "nonpayable"
|
|
1415
|
-
"type": "function"
|
|
1222
|
+
"stateMutability": "nonpayable"
|
|
1416
1223
|
},
|
|
1417
1224
|
{
|
|
1418
|
-
"
|
|
1225
|
+
"type": "function",
|
|
1226
|
+
"name": "initialized",
|
|
1227
|
+
"inputs": [],
|
|
1228
|
+
"outputs": [
|
|
1419
1229
|
{
|
|
1420
|
-
"
|
|
1421
|
-
"
|
|
1422
|
-
"
|
|
1230
|
+
"name": "",
|
|
1231
|
+
"type": "bool",
|
|
1232
|
+
"internalType": "bool"
|
|
1423
1233
|
}
|
|
1424
1234
|
],
|
|
1425
|
-
"
|
|
1235
|
+
"stateMutability": "view"
|
|
1236
|
+
},
|
|
1237
|
+
{
|
|
1238
|
+
"type": "function",
|
|
1239
|
+
"name": "owner",
|
|
1240
|
+
"inputs": [],
|
|
1426
1241
|
"outputs": [
|
|
1427
1242
|
{
|
|
1428
|
-
"internalType": "bool",
|
|
1429
1243
|
"name": "",
|
|
1430
|
-
"type": "
|
|
1244
|
+
"type": "address",
|
|
1245
|
+
"internalType": "address"
|
|
1431
1246
|
}
|
|
1432
1247
|
],
|
|
1433
|
-
"stateMutability": "view"
|
|
1434
|
-
"type": "function"
|
|
1248
|
+
"stateMutability": "view"
|
|
1435
1249
|
},
|
|
1436
1250
|
{
|
|
1251
|
+
"type": "function",
|
|
1252
|
+
"name": "roleConfigBatchRequestAndApprove",
|
|
1437
1253
|
"inputs": [
|
|
1438
1254
|
{
|
|
1255
|
+
"name": "metaTx",
|
|
1256
|
+
"type": "tuple",
|
|
1257
|
+
"internalType": "struct EngineBlox.MetaTransaction",
|
|
1439
1258
|
"components": [
|
|
1440
1259
|
{
|
|
1260
|
+
"name": "txRecord",
|
|
1261
|
+
"type": "tuple",
|
|
1262
|
+
"internalType": "struct EngineBlox.TxRecord",
|
|
1441
1263
|
"components": [
|
|
1442
1264
|
{
|
|
1443
|
-
"internalType": "uint256",
|
|
1444
1265
|
"name": "txId",
|
|
1445
|
-
"type": "uint256"
|
|
1266
|
+
"type": "uint256",
|
|
1267
|
+
"internalType": "uint256"
|
|
1446
1268
|
},
|
|
1447
1269
|
{
|
|
1448
|
-
"internalType": "uint256",
|
|
1449
1270
|
"name": "releaseTime",
|
|
1450
|
-
"type": "uint256"
|
|
1271
|
+
"type": "uint256",
|
|
1272
|
+
"internalType": "uint256"
|
|
1451
1273
|
},
|
|
1452
1274
|
{
|
|
1453
|
-
"internalType": "enum EngineBlox.TxStatus",
|
|
1454
1275
|
"name": "status",
|
|
1455
|
-
"type": "uint8"
|
|
1276
|
+
"type": "uint8",
|
|
1277
|
+
"internalType": "enum EngineBlox.TxStatus"
|
|
1456
1278
|
},
|
|
1457
1279
|
{
|
|
1280
|
+
"name": "params",
|
|
1281
|
+
"type": "tuple",
|
|
1282
|
+
"internalType": "struct EngineBlox.TxParams",
|
|
1458
1283
|
"components": [
|
|
1459
1284
|
{
|
|
1460
|
-
"internalType": "address",
|
|
1461
1285
|
"name": "requester",
|
|
1462
|
-
"type": "address"
|
|
1286
|
+
"type": "address",
|
|
1287
|
+
"internalType": "address"
|
|
1463
1288
|
},
|
|
1464
1289
|
{
|
|
1465
|
-
"internalType": "address",
|
|
1466
1290
|
"name": "target",
|
|
1467
|
-
"type": "address"
|
|
1291
|
+
"type": "address",
|
|
1292
|
+
"internalType": "address"
|
|
1468
1293
|
},
|
|
1469
1294
|
{
|
|
1470
|
-
"internalType": "uint256",
|
|
1471
1295
|
"name": "value",
|
|
1472
|
-
"type": "uint256"
|
|
1296
|
+
"type": "uint256",
|
|
1297
|
+
"internalType": "uint256"
|
|
1473
1298
|
},
|
|
1474
1299
|
{
|
|
1475
|
-
"internalType": "uint256",
|
|
1476
1300
|
"name": "gasLimit",
|
|
1477
|
-
"type": "uint256"
|
|
1301
|
+
"type": "uint256",
|
|
1302
|
+
"internalType": "uint256"
|
|
1478
1303
|
},
|
|
1479
1304
|
{
|
|
1480
|
-
"internalType": "bytes32",
|
|
1481
1305
|
"name": "operationType",
|
|
1482
|
-
"type": "bytes32"
|
|
1306
|
+
"type": "bytes32",
|
|
1307
|
+
"internalType": "bytes32"
|
|
1483
1308
|
},
|
|
1484
1309
|
{
|
|
1485
|
-
"internalType": "bytes4",
|
|
1486
1310
|
"name": "executionSelector",
|
|
1487
|
-
"type": "bytes4"
|
|
1311
|
+
"type": "bytes4",
|
|
1312
|
+
"internalType": "bytes4"
|
|
1488
1313
|
},
|
|
1489
1314
|
{
|
|
1490
|
-
"internalType": "bytes",
|
|
1491
1315
|
"name": "executionParams",
|
|
1492
|
-
"type": "bytes"
|
|
1316
|
+
"type": "bytes",
|
|
1317
|
+
"internalType": "bytes"
|
|
1493
1318
|
}
|
|
1494
|
-
]
|
|
1495
|
-
"internalType": "struct EngineBlox.TxParams",
|
|
1496
|
-
"name": "params",
|
|
1497
|
-
"type": "tuple"
|
|
1319
|
+
]
|
|
1498
1320
|
},
|
|
1499
1321
|
{
|
|
1500
|
-
"internalType": "bytes32",
|
|
1501
1322
|
"name": "message",
|
|
1502
|
-
"type": "bytes32"
|
|
1323
|
+
"type": "bytes32",
|
|
1324
|
+
"internalType": "bytes32"
|
|
1503
1325
|
},
|
|
1504
1326
|
{
|
|
1505
|
-
"
|
|
1506
|
-
"
|
|
1507
|
-
"
|
|
1327
|
+
"name": "resultHash",
|
|
1328
|
+
"type": "bytes32",
|
|
1329
|
+
"internalType": "bytes32"
|
|
1508
1330
|
},
|
|
1509
1331
|
{
|
|
1332
|
+
"name": "payment",
|
|
1333
|
+
"type": "tuple",
|
|
1334
|
+
"internalType": "struct EngineBlox.PaymentDetails",
|
|
1510
1335
|
"components": [
|
|
1511
1336
|
{
|
|
1512
|
-
"internalType": "address",
|
|
1513
1337
|
"name": "recipient",
|
|
1514
|
-
"type": "address"
|
|
1338
|
+
"type": "address",
|
|
1339
|
+
"internalType": "address"
|
|
1515
1340
|
},
|
|
1516
1341
|
{
|
|
1517
|
-
"internalType": "uint256",
|
|
1518
1342
|
"name": "nativeTokenAmount",
|
|
1519
|
-
"type": "uint256"
|
|
1343
|
+
"type": "uint256",
|
|
1344
|
+
"internalType": "uint256"
|
|
1520
1345
|
},
|
|
1521
1346
|
{
|
|
1522
|
-
"internalType": "address",
|
|
1523
1347
|
"name": "erc20TokenAddress",
|
|
1524
|
-
"type": "address"
|
|
1348
|
+
"type": "address",
|
|
1349
|
+
"internalType": "address"
|
|
1525
1350
|
},
|
|
1526
1351
|
{
|
|
1527
|
-
"internalType": "uint256",
|
|
1528
1352
|
"name": "erc20TokenAmount",
|
|
1529
|
-
"type": "uint256"
|
|
1353
|
+
"type": "uint256",
|
|
1354
|
+
"internalType": "uint256"
|
|
1530
1355
|
}
|
|
1531
|
-
]
|
|
1532
|
-
"internalType": "struct EngineBlox.PaymentDetails",
|
|
1533
|
-
"name": "payment",
|
|
1534
|
-
"type": "tuple"
|
|
1356
|
+
]
|
|
1535
1357
|
}
|
|
1536
|
-
]
|
|
1537
|
-
"internalType": "struct EngineBlox.TxRecord",
|
|
1538
|
-
"name": "txRecord",
|
|
1539
|
-
"type": "tuple"
|
|
1358
|
+
]
|
|
1540
1359
|
},
|
|
1541
1360
|
{
|
|
1361
|
+
"name": "params",
|
|
1362
|
+
"type": "tuple",
|
|
1363
|
+
"internalType": "struct EngineBlox.MetaTxParams",
|
|
1542
1364
|
"components": [
|
|
1543
1365
|
{
|
|
1544
|
-
"internalType": "uint256",
|
|
1545
1366
|
"name": "chainId",
|
|
1546
|
-
"type": "uint256"
|
|
1367
|
+
"type": "uint256",
|
|
1368
|
+
"internalType": "uint256"
|
|
1547
1369
|
},
|
|
1548
1370
|
{
|
|
1549
|
-
"internalType": "uint256",
|
|
1550
1371
|
"name": "nonce",
|
|
1551
|
-
"type": "uint256"
|
|
1372
|
+
"type": "uint256",
|
|
1373
|
+
"internalType": "uint256"
|
|
1552
1374
|
},
|
|
1553
1375
|
{
|
|
1554
|
-
"internalType": "address",
|
|
1555
1376
|
"name": "handlerContract",
|
|
1556
|
-
"type": "address"
|
|
1377
|
+
"type": "address",
|
|
1378
|
+
"internalType": "address"
|
|
1557
1379
|
},
|
|
1558
1380
|
{
|
|
1559
|
-
"internalType": "bytes4",
|
|
1560
1381
|
"name": "handlerSelector",
|
|
1561
|
-
"type": "bytes4"
|
|
1382
|
+
"type": "bytes4",
|
|
1383
|
+
"internalType": "bytes4"
|
|
1562
1384
|
},
|
|
1563
1385
|
{
|
|
1564
|
-
"internalType": "enum EngineBlox.TxAction",
|
|
1565
1386
|
"name": "action",
|
|
1566
|
-
"type": "uint8"
|
|
1387
|
+
"type": "uint8",
|
|
1388
|
+
"internalType": "enum EngineBlox.TxAction"
|
|
1567
1389
|
},
|
|
1568
1390
|
{
|
|
1569
|
-
"internalType": "uint256",
|
|
1570
1391
|
"name": "deadline",
|
|
1571
|
-
"type": "uint256"
|
|
1392
|
+
"type": "uint256",
|
|
1393
|
+
"internalType": "uint256"
|
|
1572
1394
|
},
|
|
1573
1395
|
{
|
|
1574
|
-
"internalType": "uint256",
|
|
1575
1396
|
"name": "maxGasPrice",
|
|
1576
|
-
"type": "uint256"
|
|
1397
|
+
"type": "uint256",
|
|
1398
|
+
"internalType": "uint256"
|
|
1577
1399
|
},
|
|
1578
1400
|
{
|
|
1579
|
-
"internalType": "address",
|
|
1580
1401
|
"name": "signer",
|
|
1581
|
-
"type": "address"
|
|
1402
|
+
"type": "address",
|
|
1403
|
+
"internalType": "address"
|
|
1582
1404
|
}
|
|
1583
|
-
]
|
|
1584
|
-
"internalType": "struct EngineBlox.MetaTxParams",
|
|
1585
|
-
"name": "params",
|
|
1586
|
-
"type": "tuple"
|
|
1405
|
+
]
|
|
1587
1406
|
},
|
|
1588
1407
|
{
|
|
1589
|
-
"internalType": "bytes32",
|
|
1590
1408
|
"name": "message",
|
|
1591
|
-
"type": "bytes32"
|
|
1409
|
+
"type": "bytes32",
|
|
1410
|
+
"internalType": "bytes32"
|
|
1592
1411
|
},
|
|
1593
1412
|
{
|
|
1594
|
-
"internalType": "bytes",
|
|
1595
1413
|
"name": "signature",
|
|
1596
|
-
"type": "bytes"
|
|
1414
|
+
"type": "bytes",
|
|
1415
|
+
"internalType": "bytes"
|
|
1597
1416
|
},
|
|
1598
1417
|
{
|
|
1599
|
-
"internalType": "bytes",
|
|
1600
1418
|
"name": "data",
|
|
1601
|
-
"type": "bytes"
|
|
1419
|
+
"type": "bytes",
|
|
1420
|
+
"internalType": "bytes"
|
|
1602
1421
|
}
|
|
1603
|
-
]
|
|
1604
|
-
"internalType": "struct EngineBlox.MetaTransaction",
|
|
1605
|
-
"name": "metaTx",
|
|
1606
|
-
"type": "tuple"
|
|
1422
|
+
]
|
|
1607
1423
|
}
|
|
1608
1424
|
],
|
|
1609
|
-
"name": "roleConfigBatchRequestAndApprove",
|
|
1610
1425
|
"outputs": [
|
|
1611
1426
|
{
|
|
1612
|
-
"internalType": "uint256",
|
|
1613
1427
|
"name": "",
|
|
1614
|
-
"type": "uint256"
|
|
1428
|
+
"type": "uint256",
|
|
1429
|
+
"internalType": "uint256"
|
|
1615
1430
|
}
|
|
1616
1431
|
],
|
|
1617
|
-
"stateMutability": "nonpayable"
|
|
1618
|
-
"type": "function"
|
|
1432
|
+
"stateMutability": "nonpayable"
|
|
1619
1433
|
},
|
|
1620
1434
|
{
|
|
1435
|
+
"type": "function",
|
|
1436
|
+
"name": "supportsInterface",
|
|
1621
1437
|
"inputs": [
|
|
1622
1438
|
{
|
|
1623
|
-
"
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
"name": "actionType",
|
|
1627
|
-
"type": "uint8"
|
|
1628
|
-
},
|
|
1629
|
-
{
|
|
1630
|
-
"internalType": "bytes",
|
|
1631
|
-
"name": "data",
|
|
1632
|
-
"type": "bytes"
|
|
1633
|
-
}
|
|
1634
|
-
],
|
|
1635
|
-
"internalType": "struct IRuntimeRBAC.RoleConfigAction[]",
|
|
1636
|
-
"name": "actions",
|
|
1637
|
-
"type": "tuple[]"
|
|
1439
|
+
"name": "interfaceId",
|
|
1440
|
+
"type": "bytes4",
|
|
1441
|
+
"internalType": "bytes4"
|
|
1638
1442
|
}
|
|
1639
1443
|
],
|
|
1640
|
-
"
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1444
|
+
"outputs": [
|
|
1445
|
+
{
|
|
1446
|
+
"name": "",
|
|
1447
|
+
"type": "bool",
|
|
1448
|
+
"internalType": "bool"
|
|
1449
|
+
}
|
|
1450
|
+
],
|
|
1451
|
+
"stateMutability": "view"
|
|
1452
|
+
},
|
|
1453
|
+
{
|
|
1454
|
+
"type": "event",
|
|
1455
|
+
"name": "ComponentEvent",
|
|
1456
|
+
"inputs": [
|
|
1457
|
+
{
|
|
1458
|
+
"name": "functionSelector",
|
|
1459
|
+
"type": "bytes4",
|
|
1460
|
+
"indexed": true,
|
|
1461
|
+
"internalType": "bytes4"
|
|
1462
|
+
},
|
|
1463
|
+
{
|
|
1464
|
+
"name": "data",
|
|
1465
|
+
"type": "bytes",
|
|
1466
|
+
"indexed": false,
|
|
1467
|
+
"internalType": "bytes"
|
|
1468
|
+
}
|
|
1469
|
+
],
|
|
1470
|
+
"anonymous": false
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
"type": "event",
|
|
1474
|
+
"name": "Initialized",
|
|
1475
|
+
"inputs": [
|
|
1476
|
+
{
|
|
1477
|
+
"name": "version",
|
|
1478
|
+
"type": "uint64",
|
|
1479
|
+
"indexed": false,
|
|
1480
|
+
"internalType": "uint64"
|
|
1481
|
+
}
|
|
1482
|
+
],
|
|
1483
|
+
"anonymous": false
|
|
1484
|
+
},
|
|
1485
|
+
{
|
|
1486
|
+
"type": "error",
|
|
1487
|
+
"name": "ArrayLengthMismatch",
|
|
1488
|
+
"inputs": [
|
|
1489
|
+
{
|
|
1490
|
+
"name": "array1Length",
|
|
1491
|
+
"type": "uint256",
|
|
1492
|
+
"internalType": "uint256"
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
"name": "array2Length",
|
|
1496
|
+
"type": "uint256",
|
|
1497
|
+
"internalType": "uint256"
|
|
1498
|
+
}
|
|
1499
|
+
]
|
|
1500
|
+
},
|
|
1501
|
+
{
|
|
1502
|
+
"type": "error",
|
|
1503
|
+
"name": "BatchSizeExceeded",
|
|
1504
|
+
"inputs": [
|
|
1505
|
+
{
|
|
1506
|
+
"name": "currentSize",
|
|
1507
|
+
"type": "uint256",
|
|
1508
|
+
"internalType": "uint256"
|
|
1509
|
+
},
|
|
1510
|
+
{
|
|
1511
|
+
"name": "maxSize",
|
|
1512
|
+
"type": "uint256",
|
|
1513
|
+
"internalType": "uint256"
|
|
1514
|
+
}
|
|
1515
|
+
]
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
"type": "error",
|
|
1519
|
+
"name": "CannotModifyProtected",
|
|
1520
|
+
"inputs": [
|
|
1521
|
+
{
|
|
1522
|
+
"name": "resourceId",
|
|
1523
|
+
"type": "bytes32",
|
|
1524
|
+
"internalType": "bytes32"
|
|
1525
|
+
}
|
|
1526
|
+
]
|
|
1527
|
+
},
|
|
1528
|
+
{
|
|
1529
|
+
"type": "error",
|
|
1530
|
+
"name": "ContractFunctionMustBeProtected",
|
|
1531
|
+
"inputs": [
|
|
1532
|
+
{
|
|
1533
|
+
"name": "functionSelector",
|
|
1534
|
+
"type": "bytes4",
|
|
1535
|
+
"internalType": "bytes4"
|
|
1536
|
+
}
|
|
1537
|
+
]
|
|
1538
|
+
},
|
|
1539
|
+
{
|
|
1540
|
+
"type": "error",
|
|
1541
|
+
"name": "InvalidInitialization",
|
|
1542
|
+
"inputs": []
|
|
1543
|
+
},
|
|
1544
|
+
{
|
|
1545
|
+
"type": "error",
|
|
1546
|
+
"name": "InvalidPayment",
|
|
1547
|
+
"inputs": []
|
|
1548
|
+
},
|
|
1549
|
+
{
|
|
1550
|
+
"type": "error",
|
|
1551
|
+
"name": "MetaTxHandlerContractMismatch",
|
|
1552
|
+
"inputs": [
|
|
1553
|
+
{
|
|
1554
|
+
"name": "signedContract",
|
|
1555
|
+
"type": "address",
|
|
1556
|
+
"internalType": "address"
|
|
1557
|
+
},
|
|
1558
|
+
{
|
|
1559
|
+
"name": "entryContract",
|
|
1560
|
+
"type": "address",
|
|
1561
|
+
"internalType": "address"
|
|
1562
|
+
}
|
|
1563
|
+
]
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
"type": "error",
|
|
1567
|
+
"name": "MetaTxHandlerSelectorMismatch",
|
|
1568
|
+
"inputs": [
|
|
1569
|
+
{
|
|
1570
|
+
"name": "signedSelector",
|
|
1571
|
+
"type": "bytes4",
|
|
1572
|
+
"internalType": "bytes4"
|
|
1573
|
+
},
|
|
1574
|
+
{
|
|
1575
|
+
"name": "entrySelector",
|
|
1576
|
+
"type": "bytes4",
|
|
1577
|
+
"internalType": "bytes4"
|
|
1578
|
+
}
|
|
1579
|
+
]
|
|
1580
|
+
},
|
|
1581
|
+
{
|
|
1582
|
+
"type": "error",
|
|
1583
|
+
"name": "NoPermission",
|
|
1584
|
+
"inputs": [
|
|
1585
|
+
{
|
|
1586
|
+
"name": "caller",
|
|
1587
|
+
"type": "address",
|
|
1588
|
+
"internalType": "address"
|
|
1589
|
+
}
|
|
1590
|
+
]
|
|
1591
|
+
},
|
|
1592
|
+
{
|
|
1593
|
+
"type": "error",
|
|
1594
|
+
"name": "NotInitializing",
|
|
1595
|
+
"inputs": []
|
|
1596
|
+
},
|
|
1597
|
+
{
|
|
1598
|
+
"type": "error",
|
|
1599
|
+
"name": "NotSupported",
|
|
1600
|
+
"inputs": []
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
"type": "error",
|
|
1604
|
+
"name": "OnlyCallableByContract",
|
|
1605
|
+
"inputs": [
|
|
1606
|
+
{
|
|
1607
|
+
"name": "caller",
|
|
1608
|
+
"type": "address",
|
|
1609
|
+
"internalType": "address"
|
|
1610
|
+
},
|
|
1611
|
+
{
|
|
1612
|
+
"name": "contractAddress",
|
|
1613
|
+
"type": "address",
|
|
1614
|
+
"internalType": "address"
|
|
1615
|
+
}
|
|
1616
|
+
]
|
|
1617
|
+
},
|
|
1618
|
+
{
|
|
1619
|
+
"type": "error",
|
|
1620
|
+
"name": "RangeSizeExceeded",
|
|
1621
|
+
"inputs": [
|
|
1622
|
+
{
|
|
1623
|
+
"name": "rangeSize",
|
|
1624
|
+
"type": "uint256",
|
|
1625
|
+
"internalType": "uint256"
|
|
1626
|
+
},
|
|
1627
|
+
{
|
|
1628
|
+
"name": "maxRangeSize",
|
|
1629
|
+
"type": "uint256",
|
|
1630
|
+
"internalType": "uint256"
|
|
1631
|
+
}
|
|
1632
|
+
]
|
|
1633
|
+
},
|
|
1634
|
+
{
|
|
1635
|
+
"type": "error",
|
|
1636
|
+
"name": "ReentrancyGuardReentrantCall",
|
|
1637
|
+
"inputs": []
|
|
1638
|
+
},
|
|
1639
|
+
{
|
|
1640
|
+
"type": "error",
|
|
1641
|
+
"name": "ResourceNotFound",
|
|
1642
|
+
"inputs": [
|
|
1643
|
+
{
|
|
1644
|
+
"name": "resourceId",
|
|
1645
|
+
"type": "bytes32",
|
|
1646
|
+
"internalType": "bytes32"
|
|
1647
|
+
}
|
|
1648
|
+
]
|
|
1644
1649
|
}
|
|
1645
1650
|
]
|