@bloxchain/contracts 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 +7 -7
- package/abi/BaseStateMachine.abi.json +798 -753
- 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/RuntimeRBAC.abi.json +901 -959
- package/abi/RuntimeRBACDefinitions.abi.json +265 -81
- package/abi/SecureOwnable.abi.json +1522 -2581
- package/abi/SecureOwnableDefinitions.abi.json +174 -164
- package/components/README.md +8 -0
- package/core/access/RuntimeRBAC.sol +253 -270
- package/core/access/interface/IRuntimeRBAC.sol +55 -84
- package/core/access/lib/definitions/RuntimeRBACDefinitions.sol +97 -4
- package/core/base/BaseStateMachine.sol +198 -108
- package/core/base/interface/IBaseStateMachine.sol +153 -153
- package/core/execution/GuardController.sol +156 -131
- package/core/execution/interface/IGuardController.sol +146 -120
- package/core/execution/lib/definitions/GuardControllerDefinitions.sol +207 -45
- package/core/lib/EngineBlox.sol +2636 -2322
- package/{interfaces → core/lib/interfaces}/IDefinition.sol +49 -49
- package/{interfaces → core/lib/interfaces}/IEventForwarder.sol +5 -3
- package/{utils → core/lib/utils}/SharedValidation.sol +69 -22
- package/core/pattern/Account.sol +84 -0
- package/core/security/SecureOwnable.sol +180 -146
- package/core/security/interface/ISecureOwnable.sol +105 -104
- package/core/security/lib/definitions/SecureOwnableDefinitions.sol +818 -786
- package/package.json +5 -5
- package/standards/README.md +12 -0
- package/standards/behavior/ICopyable.sol +34 -0
- package/standards/hooks/IOnActionHook.sol +21 -0
- package/abi/AccountBlox.abi.json +0 -5799
- package/abi/BareBlox.abi.json +0 -1284
- package/abi/RoleBlox.abi.json +0 -4209
- package/abi/SecureBlox.abi.json +0 -3828
- package/abi/SimpleRWA20.abi.json +0 -5288
- package/abi/SimpleRWA20Definitions.abi.json +0 -191
- package/abi/SimpleVault.abi.json +0 -4951
- package/abi/SimpleVaultDefinitions.abi.json +0 -269
- package/core/research/BloxchainWallet.sol +0 -306
- package/core/research/erc20-blox/ERC20Blox.sol +0 -140
- package/core/research/erc20-blox/lib/definitions/ERC20BloxDefinitions.sol +0 -185
- package/interfaces/IOnActionHook.sol +0 -79
|
@@ -1,411 +1,421 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
|
-
"
|
|
3
|
+
"type": "function",
|
|
4
4
|
"name": "BROADCASTER_UPDATE",
|
|
5
|
+
"inputs": [],
|
|
5
6
|
"outputs": [
|
|
6
7
|
{
|
|
7
|
-
"internalType": "bytes32",
|
|
8
8
|
"name": "",
|
|
9
|
-
"type": "bytes32"
|
|
9
|
+
"type": "bytes32",
|
|
10
|
+
"internalType": "bytes32"
|
|
10
11
|
}
|
|
11
12
|
],
|
|
12
|
-
"stateMutability": "view"
|
|
13
|
-
"type": "function"
|
|
13
|
+
"stateMutability": "view"
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
|
-
"
|
|
16
|
+
"type": "function",
|
|
17
17
|
"name": "OWNERSHIP_TRANSFER",
|
|
18
|
+
"inputs": [],
|
|
18
19
|
"outputs": [
|
|
19
20
|
{
|
|
20
|
-
"internalType": "bytes32",
|
|
21
21
|
"name": "",
|
|
22
|
-
"type": "bytes32"
|
|
22
|
+
"type": "bytes32",
|
|
23
|
+
"internalType": "bytes32"
|
|
23
24
|
}
|
|
24
25
|
],
|
|
25
|
-
"stateMutability": "view"
|
|
26
|
-
"type": "function"
|
|
26
|
+
"stateMutability": "view"
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
|
-
"
|
|
29
|
+
"type": "function",
|
|
30
30
|
"name": "RECOVERY_UPDATE",
|
|
31
|
+
"inputs": [],
|
|
31
32
|
"outputs": [
|
|
32
33
|
{
|
|
33
|
-
"internalType": "bytes32",
|
|
34
34
|
"name": "",
|
|
35
|
-
"type": "bytes32"
|
|
35
|
+
"type": "bytes32",
|
|
36
|
+
"internalType": "bytes32"
|
|
36
37
|
}
|
|
37
38
|
],
|
|
38
|
-
"stateMutability": "view"
|
|
39
|
-
"type": "function"
|
|
39
|
+
"stateMutability": "view"
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
|
-
"
|
|
42
|
+
"type": "function",
|
|
43
43
|
"name": "TIMELOCK_UPDATE",
|
|
44
|
+
"inputs": [],
|
|
44
45
|
"outputs": [
|
|
45
46
|
{
|
|
46
|
-
"internalType": "bytes32",
|
|
47
47
|
"name": "",
|
|
48
|
-
"type": "bytes32"
|
|
48
|
+
"type": "bytes32",
|
|
49
|
+
"internalType": "bytes32"
|
|
49
50
|
}
|
|
50
51
|
],
|
|
51
|
-
"stateMutability": "view"
|
|
52
|
-
"type": "function"
|
|
52
|
+
"stateMutability": "view"
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
|
-
"
|
|
55
|
+
"type": "function",
|
|
56
56
|
"name": "TRANSFER_OWNERSHIP_APPROVE_META_SELECTOR",
|
|
57
|
+
"inputs": [],
|
|
57
58
|
"outputs": [
|
|
58
59
|
{
|
|
59
|
-
"internalType": "bytes4",
|
|
60
60
|
"name": "",
|
|
61
|
-
"type": "bytes4"
|
|
61
|
+
"type": "bytes4",
|
|
62
|
+
"internalType": "bytes4"
|
|
62
63
|
}
|
|
63
64
|
],
|
|
64
|
-
"stateMutability": "view"
|
|
65
|
-
"type": "function"
|
|
65
|
+
"stateMutability": "view"
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
|
-
"
|
|
68
|
+
"type": "function",
|
|
69
69
|
"name": "TRANSFER_OWNERSHIP_CANCELLATION_SELECTOR",
|
|
70
|
+
"inputs": [],
|
|
70
71
|
"outputs": [
|
|
71
72
|
{
|
|
72
|
-
"internalType": "bytes4",
|
|
73
73
|
"name": "",
|
|
74
|
-
"type": "bytes4"
|
|
74
|
+
"type": "bytes4",
|
|
75
|
+
"internalType": "bytes4"
|
|
75
76
|
}
|
|
76
77
|
],
|
|
77
|
-
"stateMutability": "view"
|
|
78
|
-
"type": "function"
|
|
78
|
+
"stateMutability": "view"
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
|
-
"
|
|
81
|
+
"type": "function",
|
|
82
82
|
"name": "TRANSFER_OWNERSHIP_CANCEL_META_SELECTOR",
|
|
83
|
+
"inputs": [],
|
|
83
84
|
"outputs": [
|
|
84
85
|
{
|
|
85
|
-
"internalType": "bytes4",
|
|
86
86
|
"name": "",
|
|
87
|
-
"type": "bytes4"
|
|
87
|
+
"type": "bytes4",
|
|
88
|
+
"internalType": "bytes4"
|
|
88
89
|
}
|
|
89
90
|
],
|
|
90
|
-
"stateMutability": "view"
|
|
91
|
-
"type": "function"
|
|
91
|
+
"stateMutability": "view"
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
|
-
"
|
|
94
|
+
"type": "function",
|
|
95
95
|
"name": "TRANSFER_OWNERSHIP_DELAYED_APPROVAL_SELECTOR",
|
|
96
|
+
"inputs": [],
|
|
96
97
|
"outputs": [
|
|
97
98
|
{
|
|
98
|
-
"internalType": "bytes4",
|
|
99
99
|
"name": "",
|
|
100
|
-
"type": "bytes4"
|
|
100
|
+
"type": "bytes4",
|
|
101
|
+
"internalType": "bytes4"
|
|
101
102
|
}
|
|
102
103
|
],
|
|
103
|
-
"stateMutability": "view"
|
|
104
|
-
"type": "function"
|
|
104
|
+
"stateMutability": "view"
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
|
-
"
|
|
107
|
+
"type": "function",
|
|
108
108
|
"name": "TRANSFER_OWNERSHIP_REQUEST_SELECTOR",
|
|
109
|
+
"inputs": [],
|
|
109
110
|
"outputs": [
|
|
110
111
|
{
|
|
111
|
-
"internalType": "bytes4",
|
|
112
112
|
"name": "",
|
|
113
|
-
"type": "bytes4"
|
|
113
|
+
"type": "bytes4",
|
|
114
|
+
"internalType": "bytes4"
|
|
114
115
|
}
|
|
115
116
|
],
|
|
116
|
-
"stateMutability": "view"
|
|
117
|
-
"type": "function"
|
|
117
|
+
"stateMutability": "view"
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
|
-
"
|
|
120
|
+
"type": "function",
|
|
121
121
|
"name": "TRANSFER_OWNERSHIP_SELECTOR",
|
|
122
|
+
"inputs": [],
|
|
122
123
|
"outputs": [
|
|
123
124
|
{
|
|
124
|
-
"internalType": "bytes4",
|
|
125
125
|
"name": "",
|
|
126
|
-
"type": "bytes4"
|
|
126
|
+
"type": "bytes4",
|
|
127
|
+
"internalType": "bytes4"
|
|
127
128
|
}
|
|
128
129
|
],
|
|
129
|
-
"stateMutability": "view"
|
|
130
|
-
"type": "function"
|
|
130
|
+
"stateMutability": "view"
|
|
131
131
|
},
|
|
132
132
|
{
|
|
133
|
-
"
|
|
133
|
+
"type": "function",
|
|
134
134
|
"name": "UPDATE_BROADCASTER_APPROVE_META_SELECTOR",
|
|
135
|
+
"inputs": [],
|
|
135
136
|
"outputs": [
|
|
136
137
|
{
|
|
137
|
-
"internalType": "bytes4",
|
|
138
138
|
"name": "",
|
|
139
|
-
"type": "bytes4"
|
|
139
|
+
"type": "bytes4",
|
|
140
|
+
"internalType": "bytes4"
|
|
140
141
|
}
|
|
141
142
|
],
|
|
142
|
-
"stateMutability": "view"
|
|
143
|
-
"type": "function"
|
|
143
|
+
"stateMutability": "view"
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
|
-
"
|
|
146
|
+
"type": "function",
|
|
147
147
|
"name": "UPDATE_BROADCASTER_CANCELLATION_SELECTOR",
|
|
148
|
+
"inputs": [],
|
|
148
149
|
"outputs": [
|
|
149
150
|
{
|
|
150
|
-
"internalType": "bytes4",
|
|
151
151
|
"name": "",
|
|
152
|
-
"type": "bytes4"
|
|
152
|
+
"type": "bytes4",
|
|
153
|
+
"internalType": "bytes4"
|
|
153
154
|
}
|
|
154
155
|
],
|
|
155
|
-
"stateMutability": "view"
|
|
156
|
-
"type": "function"
|
|
156
|
+
"stateMutability": "view"
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
|
-
"
|
|
159
|
+
"type": "function",
|
|
160
160
|
"name": "UPDATE_BROADCASTER_CANCEL_META_SELECTOR",
|
|
161
|
+
"inputs": [],
|
|
161
162
|
"outputs": [
|
|
162
163
|
{
|
|
163
|
-
"internalType": "bytes4",
|
|
164
164
|
"name": "",
|
|
165
|
-
"type": "bytes4"
|
|
165
|
+
"type": "bytes4",
|
|
166
|
+
"internalType": "bytes4"
|
|
166
167
|
}
|
|
167
168
|
],
|
|
168
|
-
"stateMutability": "view"
|
|
169
|
-
"type": "function"
|
|
169
|
+
"stateMutability": "view"
|
|
170
170
|
},
|
|
171
171
|
{
|
|
172
|
-
"
|
|
172
|
+
"type": "function",
|
|
173
173
|
"name": "UPDATE_BROADCASTER_DELAYED_APPROVAL_SELECTOR",
|
|
174
|
+
"inputs": [],
|
|
174
175
|
"outputs": [
|
|
175
176
|
{
|
|
176
|
-
"internalType": "bytes4",
|
|
177
177
|
"name": "",
|
|
178
|
-
"type": "bytes4"
|
|
178
|
+
"type": "bytes4",
|
|
179
|
+
"internalType": "bytes4"
|
|
179
180
|
}
|
|
180
181
|
],
|
|
181
|
-
"stateMutability": "view"
|
|
182
|
-
"type": "function"
|
|
182
|
+
"stateMutability": "view"
|
|
183
183
|
},
|
|
184
184
|
{
|
|
185
|
-
"
|
|
185
|
+
"type": "function",
|
|
186
186
|
"name": "UPDATE_BROADCASTER_REQUEST_SELECTOR",
|
|
187
|
+
"inputs": [],
|
|
187
188
|
"outputs": [
|
|
188
189
|
{
|
|
189
|
-
"internalType": "bytes4",
|
|
190
190
|
"name": "",
|
|
191
|
-
"type": "bytes4"
|
|
191
|
+
"type": "bytes4",
|
|
192
|
+
"internalType": "bytes4"
|
|
192
193
|
}
|
|
193
194
|
],
|
|
194
|
-
"stateMutability": "view"
|
|
195
|
-
"type": "function"
|
|
195
|
+
"stateMutability": "view"
|
|
196
196
|
},
|
|
197
197
|
{
|
|
198
|
-
"
|
|
198
|
+
"type": "function",
|
|
199
199
|
"name": "UPDATE_BROADCASTER_SELECTOR",
|
|
200
|
+
"inputs": [],
|
|
200
201
|
"outputs": [
|
|
201
202
|
{
|
|
202
|
-
"internalType": "bytes4",
|
|
203
203
|
"name": "",
|
|
204
|
-
"type": "bytes4"
|
|
204
|
+
"type": "bytes4",
|
|
205
|
+
"internalType": "bytes4"
|
|
205
206
|
}
|
|
206
207
|
],
|
|
207
|
-
"stateMutability": "view"
|
|
208
|
-
"type": "function"
|
|
208
|
+
"stateMutability": "view"
|
|
209
209
|
},
|
|
210
210
|
{
|
|
211
|
-
"
|
|
211
|
+
"type": "function",
|
|
212
212
|
"name": "UPDATE_RECOVERY_META_SELECTOR",
|
|
213
|
+
"inputs": [],
|
|
213
214
|
"outputs": [
|
|
214
215
|
{
|
|
215
|
-
"internalType": "bytes4",
|
|
216
216
|
"name": "",
|
|
217
|
-
"type": "bytes4"
|
|
217
|
+
"type": "bytes4",
|
|
218
|
+
"internalType": "bytes4"
|
|
218
219
|
}
|
|
219
220
|
],
|
|
220
|
-
"stateMutability": "view"
|
|
221
|
-
"type": "function"
|
|
221
|
+
"stateMutability": "view"
|
|
222
222
|
},
|
|
223
223
|
{
|
|
224
|
-
"
|
|
224
|
+
"type": "function",
|
|
225
225
|
"name": "UPDATE_RECOVERY_SELECTOR",
|
|
226
|
+
"inputs": [],
|
|
226
227
|
"outputs": [
|
|
227
228
|
{
|
|
228
|
-
"internalType": "bytes4",
|
|
229
229
|
"name": "",
|
|
230
|
-
"type": "bytes4"
|
|
230
|
+
"type": "bytes4",
|
|
231
|
+
"internalType": "bytes4"
|
|
231
232
|
}
|
|
232
233
|
],
|
|
233
|
-
"stateMutability": "view"
|
|
234
|
-
"type": "function"
|
|
234
|
+
"stateMutability": "view"
|
|
235
235
|
},
|
|
236
236
|
{
|
|
237
|
-
"
|
|
237
|
+
"type": "function",
|
|
238
238
|
"name": "UPDATE_TIMELOCK_META_SELECTOR",
|
|
239
|
+
"inputs": [],
|
|
239
240
|
"outputs": [
|
|
240
241
|
{
|
|
241
|
-
"internalType": "bytes4",
|
|
242
242
|
"name": "",
|
|
243
|
-
"type": "bytes4"
|
|
243
|
+
"type": "bytes4",
|
|
244
|
+
"internalType": "bytes4"
|
|
244
245
|
}
|
|
245
246
|
],
|
|
246
|
-
"stateMutability": "view"
|
|
247
|
-
"type": "function"
|
|
247
|
+
"stateMutability": "view"
|
|
248
248
|
},
|
|
249
249
|
{
|
|
250
|
-
"
|
|
250
|
+
"type": "function",
|
|
251
251
|
"name": "UPDATE_TIMELOCK_SELECTOR",
|
|
252
|
+
"inputs": [],
|
|
252
253
|
"outputs": [
|
|
253
254
|
{
|
|
254
|
-
"internalType": "bytes4",
|
|
255
255
|
"name": "",
|
|
256
|
-
"type": "bytes4"
|
|
256
|
+
"type": "bytes4",
|
|
257
|
+
"internalType": "bytes4"
|
|
257
258
|
}
|
|
258
259
|
],
|
|
259
|
-
"stateMutability": "view"
|
|
260
|
-
"type": "function"
|
|
260
|
+
"stateMutability": "view"
|
|
261
261
|
},
|
|
262
262
|
{
|
|
263
|
-
"
|
|
263
|
+
"type": "function",
|
|
264
264
|
"name": "getFunctionSchemas",
|
|
265
|
+
"inputs": [],
|
|
265
266
|
"outputs": [
|
|
266
267
|
{
|
|
268
|
+
"name": "",
|
|
269
|
+
"type": "tuple[]",
|
|
270
|
+
"internalType": "struct EngineBlox.FunctionSchema[]",
|
|
267
271
|
"components": [
|
|
268
272
|
{
|
|
269
|
-
"internalType": "string",
|
|
270
273
|
"name": "functionSignature",
|
|
271
|
-
"type": "string"
|
|
274
|
+
"type": "string",
|
|
275
|
+
"internalType": "string"
|
|
272
276
|
},
|
|
273
277
|
{
|
|
274
|
-
"internalType": "bytes4",
|
|
275
278
|
"name": "functionSelector",
|
|
276
|
-
"type": "bytes4"
|
|
279
|
+
"type": "bytes4",
|
|
280
|
+
"internalType": "bytes4"
|
|
277
281
|
},
|
|
278
282
|
{
|
|
279
|
-
"internalType": "bytes32",
|
|
280
283
|
"name": "operationType",
|
|
281
|
-
"type": "bytes32"
|
|
284
|
+
"type": "bytes32",
|
|
285
|
+
"internalType": "bytes32"
|
|
282
286
|
},
|
|
283
287
|
{
|
|
284
|
-
"internalType": "string",
|
|
285
288
|
"name": "operationName",
|
|
286
|
-
"type": "string"
|
|
289
|
+
"type": "string",
|
|
290
|
+
"internalType": "string"
|
|
287
291
|
},
|
|
288
292
|
{
|
|
289
|
-
"internalType": "uint16",
|
|
290
293
|
"name": "supportedActionsBitmap",
|
|
291
|
-
"type": "uint16"
|
|
294
|
+
"type": "uint16",
|
|
295
|
+
"internalType": "uint16"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"name": "enforceHandlerRelations",
|
|
299
|
+
"type": "bool",
|
|
300
|
+
"internalType": "bool"
|
|
292
301
|
},
|
|
293
302
|
{
|
|
294
|
-
"internalType": "bool",
|
|
295
303
|
"name": "isProtected",
|
|
296
|
-
"type": "bool"
|
|
304
|
+
"type": "bool",
|
|
305
|
+
"internalType": "bool"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"name": "isGrantRevocable",
|
|
309
|
+
"type": "bool",
|
|
310
|
+
"internalType": "bool"
|
|
297
311
|
},
|
|
298
312
|
{
|
|
299
|
-
"internalType": "bytes4[]",
|
|
300
313
|
"name": "handlerForSelectors",
|
|
301
|
-
"type": "bytes4[]"
|
|
314
|
+
"type": "bytes4[]",
|
|
315
|
+
"internalType": "bytes4[]"
|
|
302
316
|
}
|
|
303
|
-
]
|
|
304
|
-
"internalType": "struct EngineBlox.FunctionSchema[]",
|
|
305
|
-
"name": "",
|
|
306
|
-
"type": "tuple[]"
|
|
317
|
+
]
|
|
307
318
|
}
|
|
308
319
|
],
|
|
309
|
-
"stateMutability": "pure"
|
|
310
|
-
"type": "function"
|
|
320
|
+
"stateMutability": "pure"
|
|
311
321
|
},
|
|
312
322
|
{
|
|
313
|
-
"
|
|
323
|
+
"type": "function",
|
|
314
324
|
"name": "getRolePermissions",
|
|
325
|
+
"inputs": [],
|
|
315
326
|
"outputs": [
|
|
316
327
|
{
|
|
328
|
+
"name": "",
|
|
329
|
+
"type": "tuple",
|
|
330
|
+
"internalType": "struct IDefinition.RolePermission",
|
|
317
331
|
"components": [
|
|
318
332
|
{
|
|
319
|
-
"internalType": "bytes32[]",
|
|
320
333
|
"name": "roleHashes",
|
|
321
|
-
"type": "bytes32[]"
|
|
334
|
+
"type": "bytes32[]",
|
|
335
|
+
"internalType": "bytes32[]"
|
|
322
336
|
},
|
|
323
337
|
{
|
|
338
|
+
"name": "functionPermissions",
|
|
339
|
+
"type": "tuple[]",
|
|
340
|
+
"internalType": "struct EngineBlox.FunctionPermission[]",
|
|
324
341
|
"components": [
|
|
325
342
|
{
|
|
326
|
-
"internalType": "bytes4",
|
|
327
343
|
"name": "functionSelector",
|
|
328
|
-
"type": "bytes4"
|
|
344
|
+
"type": "bytes4",
|
|
345
|
+
"internalType": "bytes4"
|
|
329
346
|
},
|
|
330
347
|
{
|
|
331
|
-
"internalType": "uint16",
|
|
332
348
|
"name": "grantedActionsBitmap",
|
|
333
|
-
"type": "uint16"
|
|
349
|
+
"type": "uint16",
|
|
350
|
+
"internalType": "uint16"
|
|
334
351
|
},
|
|
335
352
|
{
|
|
336
|
-
"internalType": "bytes4[]",
|
|
337
353
|
"name": "handlerForSelectors",
|
|
338
|
-
"type": "bytes4[]"
|
|
354
|
+
"type": "bytes4[]",
|
|
355
|
+
"internalType": "bytes4[]"
|
|
339
356
|
}
|
|
340
|
-
]
|
|
341
|
-
"internalType": "struct EngineBlox.FunctionPermission[]",
|
|
342
|
-
"name": "functionPermissions",
|
|
343
|
-
"type": "tuple[]"
|
|
357
|
+
]
|
|
344
358
|
}
|
|
345
|
-
]
|
|
346
|
-
"internalType": "struct IDefinition.RolePermission",
|
|
347
|
-
"name": "",
|
|
348
|
-
"type": "tuple"
|
|
359
|
+
]
|
|
349
360
|
}
|
|
350
361
|
],
|
|
351
|
-
"stateMutability": "pure"
|
|
352
|
-
"type": "function"
|
|
362
|
+
"stateMutability": "pure"
|
|
353
363
|
},
|
|
354
364
|
{
|
|
365
|
+
"type": "function",
|
|
366
|
+
"name": "supportsInterface",
|
|
355
367
|
"inputs": [
|
|
356
368
|
{
|
|
357
|
-
"
|
|
358
|
-
"
|
|
359
|
-
"
|
|
369
|
+
"name": "interfaceId",
|
|
370
|
+
"type": "bytes4",
|
|
371
|
+
"internalType": "bytes4"
|
|
360
372
|
}
|
|
361
373
|
],
|
|
362
|
-
"name": "updateRecoveryExecutionParams",
|
|
363
374
|
"outputs": [
|
|
364
375
|
{
|
|
365
|
-
"internalType": "bytes",
|
|
366
376
|
"name": "",
|
|
367
|
-
"type": "
|
|
377
|
+
"type": "bool",
|
|
378
|
+
"internalType": "bool"
|
|
368
379
|
}
|
|
369
380
|
],
|
|
370
|
-
"stateMutability": "pure"
|
|
371
|
-
"type": "function"
|
|
381
|
+
"stateMutability": "pure"
|
|
372
382
|
},
|
|
373
383
|
{
|
|
384
|
+
"type": "function",
|
|
385
|
+
"name": "updateRecoveryExecutionParams",
|
|
374
386
|
"inputs": [
|
|
375
387
|
{
|
|
376
|
-
"
|
|
377
|
-
"
|
|
378
|
-
"
|
|
388
|
+
"name": "newRecoveryAddress",
|
|
389
|
+
"type": "address",
|
|
390
|
+
"internalType": "address"
|
|
379
391
|
}
|
|
380
392
|
],
|
|
381
|
-
"name": "updateTimeLockExecutionParams",
|
|
382
393
|
"outputs": [
|
|
383
394
|
{
|
|
384
|
-
"internalType": "bytes",
|
|
385
395
|
"name": "",
|
|
386
|
-
"type": "bytes"
|
|
396
|
+
"type": "bytes",
|
|
397
|
+
"internalType": "bytes"
|
|
387
398
|
}
|
|
388
399
|
],
|
|
389
|
-
"stateMutability": "pure"
|
|
390
|
-
"type": "function"
|
|
400
|
+
"stateMutability": "pure"
|
|
391
401
|
},
|
|
392
402
|
{
|
|
403
|
+
"type": "function",
|
|
404
|
+
"name": "updateTimeLockExecutionParams",
|
|
393
405
|
"inputs": [
|
|
394
406
|
{
|
|
395
|
-
"
|
|
396
|
-
"
|
|
397
|
-
"
|
|
407
|
+
"name": "newTimeLockPeriodSec",
|
|
408
|
+
"type": "uint256",
|
|
409
|
+
"internalType": "uint256"
|
|
398
410
|
}
|
|
399
411
|
],
|
|
400
|
-
"name": "supportsInterface",
|
|
401
412
|
"outputs": [
|
|
402
413
|
{
|
|
403
|
-
"internalType": "bool",
|
|
404
414
|
"name": "",
|
|
405
|
-
"type": "
|
|
415
|
+
"type": "bytes",
|
|
416
|
+
"internalType": "bytes"
|
|
406
417
|
}
|
|
407
418
|
],
|
|
408
|
-
"stateMutability": "pure"
|
|
409
|
-
"type": "function"
|
|
419
|
+
"stateMutability": "pure"
|
|
410
420
|
}
|
|
411
421
|
]
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Bloxchain Components
|
|
2
|
+
|
|
3
|
+
Official **components** built on top of `core/` that form a component library for building applications. These are maintained by the protocol team and sit outside the minimal engine.
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
## Structure
|
|
7
|
+
|
|
8
|
+
Subfolders will be added by domain as components are added.
|