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