@cartesi/devnet 1.6.0
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/LICENSE +202 -0
- package/build/anvil_state.json +1 -0
- package/deployments/localhost/.chainId +1 -0
- package/deployments/localhost/AuthorityFactory.json +177 -0
- package/deployments/localhost/AuthorityHistoryPairFactory.json +276 -0
- package/deployments/localhost/Bitmask.json +44 -0
- package/deployments/localhost/CartesiDAppFactory.json +231 -0
- package/deployments/localhost/CartesiMathV2.json +213 -0
- package/deployments/localhost/DAppAddressRelay.json +102 -0
- package/deployments/localhost/ERC1155BatchPortal.json +133 -0
- package/deployments/localhost/ERC1155SinglePortal.json +132 -0
- package/deployments/localhost/ERC20Portal.json +120 -0
- package/deployments/localhost/ERC721Portal.json +126 -0
- package/deployments/localhost/EtherPortal.json +121 -0
- package/deployments/localhost/HistoryFactory.json +177 -0
- package/deployments/localhost/InputBox.json +207 -0
- package/deployments/localhost/MerkleV2.json +217 -0
- package/deployments/localhost/SelfHostedApplicationFactory.json +226 -0
- package/deployments/localhost/TestMultiToken.json +829 -0
- package/deployments/localhost/TestNFT.json +891 -0
- package/deployments/localhost/TestToken.json +1079 -0
- package/deployments/localhost/UnrolledCordic.json +54 -0
- package/dist/deploy/01_token.js +15 -0
- package/dist/deploy/02_nft.js +15 -0
- package/dist/deploy/03_multitoken.js +15 -0
- package/dist/src/tasks/deploy-anvil.d.ts +6 -0
- package/dist/src/tasks/deploy-anvil.d.ts.map +1 -0
- package/dist/src/tasks/deploy-anvil.js +38 -0
- package/export/abi/localhost.json +3205 -0
- package/export/artifacts/@openzeppelin/contracts/access/Ownable.sol/Ownable.json +128 -0
- package/export/artifacts/@openzeppelin/contracts/access/manager/AccessManaged.sol/AccessManaged.json +137 -0
- package/export/artifacts/@openzeppelin/contracts/access/manager/AuthorityUtils.sol/AuthorityUtils.json +32 -0
- package/export/artifacts/@openzeppelin/contracts/access/manager/IAccessManaged.sol/IAccessManaged.json +133 -0
- package/export/artifacts/@openzeppelin/contracts/access/manager/IAccessManager.sol/IAccessManager.json +1251 -0
- package/export/artifacts/@openzeppelin/contracts/access/manager/IAuthority.sol/IAuthority.json +60 -0
- package/export/artifacts/@openzeppelin/contracts/interfaces/IERC4906.sol/IERC4906.json +401 -0
- package/export/artifacts/@openzeppelin/contracts/interfaces/IERC5267.sol/IERC5267.json +84 -0
- package/export/artifacts/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors.json +190 -0
- package/export/artifacts/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC20Errors.json +165 -0
- package/export/artifacts/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors.json +197 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC1155/ERC1155.sol/ERC1155.json +553 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC1155/IERC1155.sol/IERC1155.json +362 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol/IERC1155Receiver.json +156 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol/IERC1155MetadataURI.json +385 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.json +436 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.json +242 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol/ERC20Burnable.json +472 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.sol/ERC20Pausable.json +502 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol/ERC20Permit.json +695 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.json +293 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol/IERC20Permit.json +114 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.json +595 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC721/IERC721.sol/IERC721.json +363 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol/IERC721Receiver.json +66 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol/ERC721URIStorage.json +630 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol/IERC721Metadata.json +421 -0
- package/export/artifacts/@openzeppelin/contracts/utils/Arrays.sol/Arrays.json +38 -0
- package/export/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.json +24 -0
- package/export/artifacts/@openzeppelin/contracts/utils/Nonces.sol/Nonces.json +73 -0
- package/export/artifacts/@openzeppelin/contracts/utils/Pausable.sol/Pausable.json +103 -0
- package/export/artifacts/@openzeppelin/contracts/utils/ShortStrings.sol/ShortStrings.json +55 -0
- package/export/artifacts/@openzeppelin/contracts/utils/StorageSlot.sol/StorageSlot.json +40 -0
- package/export/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.json +62 -0
- package/export/artifacts/@openzeppelin/contracts/utils/cryptography/ECDSA.sol/ECDSA.json +84 -0
- package/export/artifacts/@openzeppelin/contracts/utils/cryptography/EIP712.sol/EIP712.json +105 -0
- package/export/artifacts/@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol/MessageHashUtils.json +36 -0
- package/export/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.json +50 -0
- package/export/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.json +50 -0
- package/export/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.json +65 -0
- package/export/artifacts/@openzeppelin/contracts/utils/math/SafeCast.sol/SafeCast.json +173 -0
- package/export/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.json +36 -0
- package/export/artifacts/@openzeppelin/contracts/utils/types/Time.sol/Time.json +41 -0
- package/export/artifacts/contracts/TestMultiToken.sol/TestMultiToken.json +750 -0
- package/export/artifacts/contracts/TestNFT.sol/TestNFT.json +779 -0
- package/export/artifacts/contracts/TestToken.sol/TestToken.json +963 -0
- package/package.json +41 -0
|
@@ -0,0 +1,1251 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contractName": "IAccessManager",
|
|
3
|
+
"sourceName": "@openzeppelin/contracts/access/manager/IAccessManager.sol",
|
|
4
|
+
"abi": [
|
|
5
|
+
{
|
|
6
|
+
"inputs": [
|
|
7
|
+
{
|
|
8
|
+
"internalType": "bytes32",
|
|
9
|
+
"name": "operationId",
|
|
10
|
+
"type": "bytes32"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"name": "AccessManagerAlreadyScheduled",
|
|
14
|
+
"type": "error"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"inputs": [],
|
|
18
|
+
"name": "AccessManagerBadConfirmation",
|
|
19
|
+
"type": "error"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"inputs": [
|
|
23
|
+
{
|
|
24
|
+
"internalType": "bytes32",
|
|
25
|
+
"name": "operationId",
|
|
26
|
+
"type": "bytes32"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"name": "AccessManagerExpired",
|
|
30
|
+
"type": "error"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"inputs": [
|
|
34
|
+
{
|
|
35
|
+
"internalType": "address",
|
|
36
|
+
"name": "initialAdmin",
|
|
37
|
+
"type": "address"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"name": "AccessManagerInvalidInitialAdmin",
|
|
41
|
+
"type": "error"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"inputs": [
|
|
45
|
+
{
|
|
46
|
+
"internalType": "address",
|
|
47
|
+
"name": "account",
|
|
48
|
+
"type": "address"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"name": "AccessManagerLockedAccount",
|
|
52
|
+
"type": "error"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"inputs": [
|
|
56
|
+
{
|
|
57
|
+
"internalType": "uint64",
|
|
58
|
+
"name": "roleId",
|
|
59
|
+
"type": "uint64"
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"name": "AccessManagerLockedRole",
|
|
63
|
+
"type": "error"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"inputs": [
|
|
67
|
+
{
|
|
68
|
+
"internalType": "bytes32",
|
|
69
|
+
"name": "operationId",
|
|
70
|
+
"type": "bytes32"
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"name": "AccessManagerNotReady",
|
|
74
|
+
"type": "error"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"inputs": [
|
|
78
|
+
{
|
|
79
|
+
"internalType": "bytes32",
|
|
80
|
+
"name": "operationId",
|
|
81
|
+
"type": "bytes32"
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"name": "AccessManagerNotScheduled",
|
|
85
|
+
"type": "error"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"inputs": [
|
|
89
|
+
{
|
|
90
|
+
"internalType": "address",
|
|
91
|
+
"name": "msgsender",
|
|
92
|
+
"type": "address"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"internalType": "uint64",
|
|
96
|
+
"name": "roleId",
|
|
97
|
+
"type": "uint64"
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
"name": "AccessManagerUnauthorizedAccount",
|
|
101
|
+
"type": "error"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"inputs": [
|
|
105
|
+
{
|
|
106
|
+
"internalType": "address",
|
|
107
|
+
"name": "caller",
|
|
108
|
+
"type": "address"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"internalType": "address",
|
|
112
|
+
"name": "target",
|
|
113
|
+
"type": "address"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"internalType": "bytes4",
|
|
117
|
+
"name": "selector",
|
|
118
|
+
"type": "bytes4"
|
|
119
|
+
}
|
|
120
|
+
],
|
|
121
|
+
"name": "AccessManagerUnauthorizedCall",
|
|
122
|
+
"type": "error"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"inputs": [
|
|
126
|
+
{
|
|
127
|
+
"internalType": "address",
|
|
128
|
+
"name": "msgsender",
|
|
129
|
+
"type": "address"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"internalType": "address",
|
|
133
|
+
"name": "caller",
|
|
134
|
+
"type": "address"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"internalType": "address",
|
|
138
|
+
"name": "target",
|
|
139
|
+
"type": "address"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"internalType": "bytes4",
|
|
143
|
+
"name": "selector",
|
|
144
|
+
"type": "bytes4"
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
"name": "AccessManagerUnauthorizedCancel",
|
|
148
|
+
"type": "error"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"inputs": [
|
|
152
|
+
{
|
|
153
|
+
"internalType": "address",
|
|
154
|
+
"name": "target",
|
|
155
|
+
"type": "address"
|
|
156
|
+
}
|
|
157
|
+
],
|
|
158
|
+
"name": "AccessManagerUnauthorizedConsume",
|
|
159
|
+
"type": "error"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"anonymous": false,
|
|
163
|
+
"inputs": [
|
|
164
|
+
{
|
|
165
|
+
"indexed": true,
|
|
166
|
+
"internalType": "bytes32",
|
|
167
|
+
"name": "operationId",
|
|
168
|
+
"type": "bytes32"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"indexed": true,
|
|
172
|
+
"internalType": "uint32",
|
|
173
|
+
"name": "nonce",
|
|
174
|
+
"type": "uint32"
|
|
175
|
+
}
|
|
176
|
+
],
|
|
177
|
+
"name": "OperationCanceled",
|
|
178
|
+
"type": "event"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"anonymous": false,
|
|
182
|
+
"inputs": [
|
|
183
|
+
{
|
|
184
|
+
"indexed": true,
|
|
185
|
+
"internalType": "bytes32",
|
|
186
|
+
"name": "operationId",
|
|
187
|
+
"type": "bytes32"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"indexed": true,
|
|
191
|
+
"internalType": "uint32",
|
|
192
|
+
"name": "nonce",
|
|
193
|
+
"type": "uint32"
|
|
194
|
+
}
|
|
195
|
+
],
|
|
196
|
+
"name": "OperationExecuted",
|
|
197
|
+
"type": "event"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"anonymous": false,
|
|
201
|
+
"inputs": [
|
|
202
|
+
{
|
|
203
|
+
"indexed": true,
|
|
204
|
+
"internalType": "bytes32",
|
|
205
|
+
"name": "operationId",
|
|
206
|
+
"type": "bytes32"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"indexed": true,
|
|
210
|
+
"internalType": "uint32",
|
|
211
|
+
"name": "nonce",
|
|
212
|
+
"type": "uint32"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"indexed": false,
|
|
216
|
+
"internalType": "uint48",
|
|
217
|
+
"name": "schedule",
|
|
218
|
+
"type": "uint48"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"indexed": false,
|
|
222
|
+
"internalType": "address",
|
|
223
|
+
"name": "caller",
|
|
224
|
+
"type": "address"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"indexed": false,
|
|
228
|
+
"internalType": "address",
|
|
229
|
+
"name": "target",
|
|
230
|
+
"type": "address"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"indexed": false,
|
|
234
|
+
"internalType": "bytes",
|
|
235
|
+
"name": "data",
|
|
236
|
+
"type": "bytes"
|
|
237
|
+
}
|
|
238
|
+
],
|
|
239
|
+
"name": "OperationScheduled",
|
|
240
|
+
"type": "event"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"anonymous": false,
|
|
244
|
+
"inputs": [
|
|
245
|
+
{
|
|
246
|
+
"indexed": true,
|
|
247
|
+
"internalType": "uint64",
|
|
248
|
+
"name": "roleId",
|
|
249
|
+
"type": "uint64"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"indexed": true,
|
|
253
|
+
"internalType": "uint64",
|
|
254
|
+
"name": "admin",
|
|
255
|
+
"type": "uint64"
|
|
256
|
+
}
|
|
257
|
+
],
|
|
258
|
+
"name": "RoleAdminChanged",
|
|
259
|
+
"type": "event"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"anonymous": false,
|
|
263
|
+
"inputs": [
|
|
264
|
+
{
|
|
265
|
+
"indexed": true,
|
|
266
|
+
"internalType": "uint64",
|
|
267
|
+
"name": "roleId",
|
|
268
|
+
"type": "uint64"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"indexed": false,
|
|
272
|
+
"internalType": "uint32",
|
|
273
|
+
"name": "delay",
|
|
274
|
+
"type": "uint32"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"indexed": false,
|
|
278
|
+
"internalType": "uint48",
|
|
279
|
+
"name": "since",
|
|
280
|
+
"type": "uint48"
|
|
281
|
+
}
|
|
282
|
+
],
|
|
283
|
+
"name": "RoleGrantDelayChanged",
|
|
284
|
+
"type": "event"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"anonymous": false,
|
|
288
|
+
"inputs": [
|
|
289
|
+
{
|
|
290
|
+
"indexed": true,
|
|
291
|
+
"internalType": "uint64",
|
|
292
|
+
"name": "roleId",
|
|
293
|
+
"type": "uint64"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"indexed": true,
|
|
297
|
+
"internalType": "address",
|
|
298
|
+
"name": "account",
|
|
299
|
+
"type": "address"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"indexed": false,
|
|
303
|
+
"internalType": "uint32",
|
|
304
|
+
"name": "delay",
|
|
305
|
+
"type": "uint32"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"indexed": false,
|
|
309
|
+
"internalType": "uint48",
|
|
310
|
+
"name": "since",
|
|
311
|
+
"type": "uint48"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"indexed": false,
|
|
315
|
+
"internalType": "bool",
|
|
316
|
+
"name": "newMember",
|
|
317
|
+
"type": "bool"
|
|
318
|
+
}
|
|
319
|
+
],
|
|
320
|
+
"name": "RoleGranted",
|
|
321
|
+
"type": "event"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"anonymous": false,
|
|
325
|
+
"inputs": [
|
|
326
|
+
{
|
|
327
|
+
"indexed": true,
|
|
328
|
+
"internalType": "uint64",
|
|
329
|
+
"name": "roleId",
|
|
330
|
+
"type": "uint64"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"indexed": true,
|
|
334
|
+
"internalType": "uint64",
|
|
335
|
+
"name": "guardian",
|
|
336
|
+
"type": "uint64"
|
|
337
|
+
}
|
|
338
|
+
],
|
|
339
|
+
"name": "RoleGuardianChanged",
|
|
340
|
+
"type": "event"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"anonymous": false,
|
|
344
|
+
"inputs": [
|
|
345
|
+
{
|
|
346
|
+
"indexed": true,
|
|
347
|
+
"internalType": "uint64",
|
|
348
|
+
"name": "roleId",
|
|
349
|
+
"type": "uint64"
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"indexed": false,
|
|
353
|
+
"internalType": "string",
|
|
354
|
+
"name": "label",
|
|
355
|
+
"type": "string"
|
|
356
|
+
}
|
|
357
|
+
],
|
|
358
|
+
"name": "RoleLabel",
|
|
359
|
+
"type": "event"
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"anonymous": false,
|
|
363
|
+
"inputs": [
|
|
364
|
+
{
|
|
365
|
+
"indexed": true,
|
|
366
|
+
"internalType": "uint64",
|
|
367
|
+
"name": "roleId",
|
|
368
|
+
"type": "uint64"
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"indexed": true,
|
|
372
|
+
"internalType": "address",
|
|
373
|
+
"name": "account",
|
|
374
|
+
"type": "address"
|
|
375
|
+
}
|
|
376
|
+
],
|
|
377
|
+
"name": "RoleRevoked",
|
|
378
|
+
"type": "event"
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"anonymous": false,
|
|
382
|
+
"inputs": [
|
|
383
|
+
{
|
|
384
|
+
"indexed": true,
|
|
385
|
+
"internalType": "address",
|
|
386
|
+
"name": "target",
|
|
387
|
+
"type": "address"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"indexed": false,
|
|
391
|
+
"internalType": "uint32",
|
|
392
|
+
"name": "delay",
|
|
393
|
+
"type": "uint32"
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"indexed": false,
|
|
397
|
+
"internalType": "uint48",
|
|
398
|
+
"name": "since",
|
|
399
|
+
"type": "uint48"
|
|
400
|
+
}
|
|
401
|
+
],
|
|
402
|
+
"name": "TargetAdminDelayUpdated",
|
|
403
|
+
"type": "event"
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"anonymous": false,
|
|
407
|
+
"inputs": [
|
|
408
|
+
{
|
|
409
|
+
"indexed": true,
|
|
410
|
+
"internalType": "address",
|
|
411
|
+
"name": "target",
|
|
412
|
+
"type": "address"
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"indexed": false,
|
|
416
|
+
"internalType": "bool",
|
|
417
|
+
"name": "closed",
|
|
418
|
+
"type": "bool"
|
|
419
|
+
}
|
|
420
|
+
],
|
|
421
|
+
"name": "TargetClosed",
|
|
422
|
+
"type": "event"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"anonymous": false,
|
|
426
|
+
"inputs": [
|
|
427
|
+
{
|
|
428
|
+
"indexed": true,
|
|
429
|
+
"internalType": "address",
|
|
430
|
+
"name": "target",
|
|
431
|
+
"type": "address"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"indexed": false,
|
|
435
|
+
"internalType": "bytes4",
|
|
436
|
+
"name": "selector",
|
|
437
|
+
"type": "bytes4"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"indexed": true,
|
|
441
|
+
"internalType": "uint64",
|
|
442
|
+
"name": "roleId",
|
|
443
|
+
"type": "uint64"
|
|
444
|
+
}
|
|
445
|
+
],
|
|
446
|
+
"name": "TargetFunctionRoleUpdated",
|
|
447
|
+
"type": "event"
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"inputs": [
|
|
451
|
+
{
|
|
452
|
+
"internalType": "address",
|
|
453
|
+
"name": "caller",
|
|
454
|
+
"type": "address"
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"internalType": "address",
|
|
458
|
+
"name": "target",
|
|
459
|
+
"type": "address"
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"internalType": "bytes4",
|
|
463
|
+
"name": "selector",
|
|
464
|
+
"type": "bytes4"
|
|
465
|
+
}
|
|
466
|
+
],
|
|
467
|
+
"name": "canCall",
|
|
468
|
+
"outputs": [
|
|
469
|
+
{
|
|
470
|
+
"internalType": "bool",
|
|
471
|
+
"name": "allowed",
|
|
472
|
+
"type": "bool"
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"internalType": "uint32",
|
|
476
|
+
"name": "delay",
|
|
477
|
+
"type": "uint32"
|
|
478
|
+
}
|
|
479
|
+
],
|
|
480
|
+
"stateMutability": "view",
|
|
481
|
+
"type": "function"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"inputs": [
|
|
485
|
+
{
|
|
486
|
+
"internalType": "address",
|
|
487
|
+
"name": "caller",
|
|
488
|
+
"type": "address"
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"internalType": "address",
|
|
492
|
+
"name": "target",
|
|
493
|
+
"type": "address"
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"internalType": "bytes",
|
|
497
|
+
"name": "data",
|
|
498
|
+
"type": "bytes"
|
|
499
|
+
}
|
|
500
|
+
],
|
|
501
|
+
"name": "cancel",
|
|
502
|
+
"outputs": [
|
|
503
|
+
{
|
|
504
|
+
"internalType": "uint32",
|
|
505
|
+
"name": "",
|
|
506
|
+
"type": "uint32"
|
|
507
|
+
}
|
|
508
|
+
],
|
|
509
|
+
"stateMutability": "nonpayable",
|
|
510
|
+
"type": "function"
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"inputs": [
|
|
514
|
+
{
|
|
515
|
+
"internalType": "address",
|
|
516
|
+
"name": "caller",
|
|
517
|
+
"type": "address"
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"internalType": "bytes",
|
|
521
|
+
"name": "data",
|
|
522
|
+
"type": "bytes"
|
|
523
|
+
}
|
|
524
|
+
],
|
|
525
|
+
"name": "consumeScheduledOp",
|
|
526
|
+
"outputs": [],
|
|
527
|
+
"stateMutability": "nonpayable",
|
|
528
|
+
"type": "function"
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"inputs": [
|
|
532
|
+
{
|
|
533
|
+
"internalType": "address",
|
|
534
|
+
"name": "target",
|
|
535
|
+
"type": "address"
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
"internalType": "bytes",
|
|
539
|
+
"name": "data",
|
|
540
|
+
"type": "bytes"
|
|
541
|
+
}
|
|
542
|
+
],
|
|
543
|
+
"name": "execute",
|
|
544
|
+
"outputs": [
|
|
545
|
+
{
|
|
546
|
+
"internalType": "uint32",
|
|
547
|
+
"name": "",
|
|
548
|
+
"type": "uint32"
|
|
549
|
+
}
|
|
550
|
+
],
|
|
551
|
+
"stateMutability": "payable",
|
|
552
|
+
"type": "function"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"inputs": [],
|
|
556
|
+
"name": "expiration",
|
|
557
|
+
"outputs": [
|
|
558
|
+
{
|
|
559
|
+
"internalType": "uint32",
|
|
560
|
+
"name": "",
|
|
561
|
+
"type": "uint32"
|
|
562
|
+
}
|
|
563
|
+
],
|
|
564
|
+
"stateMutability": "view",
|
|
565
|
+
"type": "function"
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"inputs": [
|
|
569
|
+
{
|
|
570
|
+
"internalType": "uint64",
|
|
571
|
+
"name": "roleId",
|
|
572
|
+
"type": "uint64"
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"internalType": "address",
|
|
576
|
+
"name": "account",
|
|
577
|
+
"type": "address"
|
|
578
|
+
}
|
|
579
|
+
],
|
|
580
|
+
"name": "getAccess",
|
|
581
|
+
"outputs": [
|
|
582
|
+
{
|
|
583
|
+
"internalType": "uint48",
|
|
584
|
+
"name": "",
|
|
585
|
+
"type": "uint48"
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"internalType": "uint32",
|
|
589
|
+
"name": "",
|
|
590
|
+
"type": "uint32"
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
"internalType": "uint32",
|
|
594
|
+
"name": "",
|
|
595
|
+
"type": "uint32"
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"internalType": "uint48",
|
|
599
|
+
"name": "",
|
|
600
|
+
"type": "uint48"
|
|
601
|
+
}
|
|
602
|
+
],
|
|
603
|
+
"stateMutability": "view",
|
|
604
|
+
"type": "function"
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"inputs": [
|
|
608
|
+
{
|
|
609
|
+
"internalType": "bytes32",
|
|
610
|
+
"name": "id",
|
|
611
|
+
"type": "bytes32"
|
|
612
|
+
}
|
|
613
|
+
],
|
|
614
|
+
"name": "getNonce",
|
|
615
|
+
"outputs": [
|
|
616
|
+
{
|
|
617
|
+
"internalType": "uint32",
|
|
618
|
+
"name": "",
|
|
619
|
+
"type": "uint32"
|
|
620
|
+
}
|
|
621
|
+
],
|
|
622
|
+
"stateMutability": "view",
|
|
623
|
+
"type": "function"
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"inputs": [
|
|
627
|
+
{
|
|
628
|
+
"internalType": "uint64",
|
|
629
|
+
"name": "roleId",
|
|
630
|
+
"type": "uint64"
|
|
631
|
+
}
|
|
632
|
+
],
|
|
633
|
+
"name": "getRoleAdmin",
|
|
634
|
+
"outputs": [
|
|
635
|
+
{
|
|
636
|
+
"internalType": "uint64",
|
|
637
|
+
"name": "",
|
|
638
|
+
"type": "uint64"
|
|
639
|
+
}
|
|
640
|
+
],
|
|
641
|
+
"stateMutability": "view",
|
|
642
|
+
"type": "function"
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"inputs": [
|
|
646
|
+
{
|
|
647
|
+
"internalType": "uint64",
|
|
648
|
+
"name": "roleId",
|
|
649
|
+
"type": "uint64"
|
|
650
|
+
}
|
|
651
|
+
],
|
|
652
|
+
"name": "getRoleGrantDelay",
|
|
653
|
+
"outputs": [
|
|
654
|
+
{
|
|
655
|
+
"internalType": "uint32",
|
|
656
|
+
"name": "",
|
|
657
|
+
"type": "uint32"
|
|
658
|
+
}
|
|
659
|
+
],
|
|
660
|
+
"stateMutability": "view",
|
|
661
|
+
"type": "function"
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"inputs": [
|
|
665
|
+
{
|
|
666
|
+
"internalType": "uint64",
|
|
667
|
+
"name": "roleId",
|
|
668
|
+
"type": "uint64"
|
|
669
|
+
}
|
|
670
|
+
],
|
|
671
|
+
"name": "getRoleGuardian",
|
|
672
|
+
"outputs": [
|
|
673
|
+
{
|
|
674
|
+
"internalType": "uint64",
|
|
675
|
+
"name": "",
|
|
676
|
+
"type": "uint64"
|
|
677
|
+
}
|
|
678
|
+
],
|
|
679
|
+
"stateMutability": "view",
|
|
680
|
+
"type": "function"
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"inputs": [
|
|
684
|
+
{
|
|
685
|
+
"internalType": "bytes32",
|
|
686
|
+
"name": "id",
|
|
687
|
+
"type": "bytes32"
|
|
688
|
+
}
|
|
689
|
+
],
|
|
690
|
+
"name": "getSchedule",
|
|
691
|
+
"outputs": [
|
|
692
|
+
{
|
|
693
|
+
"internalType": "uint48",
|
|
694
|
+
"name": "",
|
|
695
|
+
"type": "uint48"
|
|
696
|
+
}
|
|
697
|
+
],
|
|
698
|
+
"stateMutability": "view",
|
|
699
|
+
"type": "function"
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"inputs": [
|
|
703
|
+
{
|
|
704
|
+
"internalType": "address",
|
|
705
|
+
"name": "target",
|
|
706
|
+
"type": "address"
|
|
707
|
+
}
|
|
708
|
+
],
|
|
709
|
+
"name": "getTargetAdminDelay",
|
|
710
|
+
"outputs": [
|
|
711
|
+
{
|
|
712
|
+
"internalType": "uint32",
|
|
713
|
+
"name": "",
|
|
714
|
+
"type": "uint32"
|
|
715
|
+
}
|
|
716
|
+
],
|
|
717
|
+
"stateMutability": "view",
|
|
718
|
+
"type": "function"
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
"inputs": [
|
|
722
|
+
{
|
|
723
|
+
"internalType": "address",
|
|
724
|
+
"name": "target",
|
|
725
|
+
"type": "address"
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
"internalType": "bytes4",
|
|
729
|
+
"name": "selector",
|
|
730
|
+
"type": "bytes4"
|
|
731
|
+
}
|
|
732
|
+
],
|
|
733
|
+
"name": "getTargetFunctionRole",
|
|
734
|
+
"outputs": [
|
|
735
|
+
{
|
|
736
|
+
"internalType": "uint64",
|
|
737
|
+
"name": "",
|
|
738
|
+
"type": "uint64"
|
|
739
|
+
}
|
|
740
|
+
],
|
|
741
|
+
"stateMutability": "view",
|
|
742
|
+
"type": "function"
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
"inputs": [
|
|
746
|
+
{
|
|
747
|
+
"internalType": "uint64",
|
|
748
|
+
"name": "roleId",
|
|
749
|
+
"type": "uint64"
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"internalType": "address",
|
|
753
|
+
"name": "account",
|
|
754
|
+
"type": "address"
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
"internalType": "uint32",
|
|
758
|
+
"name": "executionDelay",
|
|
759
|
+
"type": "uint32"
|
|
760
|
+
}
|
|
761
|
+
],
|
|
762
|
+
"name": "grantRole",
|
|
763
|
+
"outputs": [],
|
|
764
|
+
"stateMutability": "nonpayable",
|
|
765
|
+
"type": "function"
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
"inputs": [
|
|
769
|
+
{
|
|
770
|
+
"internalType": "uint64",
|
|
771
|
+
"name": "roleId",
|
|
772
|
+
"type": "uint64"
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
"internalType": "address",
|
|
776
|
+
"name": "account",
|
|
777
|
+
"type": "address"
|
|
778
|
+
}
|
|
779
|
+
],
|
|
780
|
+
"name": "hasRole",
|
|
781
|
+
"outputs": [
|
|
782
|
+
{
|
|
783
|
+
"internalType": "bool",
|
|
784
|
+
"name": "",
|
|
785
|
+
"type": "bool"
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"internalType": "uint32",
|
|
789
|
+
"name": "",
|
|
790
|
+
"type": "uint32"
|
|
791
|
+
}
|
|
792
|
+
],
|
|
793
|
+
"stateMutability": "view",
|
|
794
|
+
"type": "function"
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
"inputs": [
|
|
798
|
+
{
|
|
799
|
+
"internalType": "address",
|
|
800
|
+
"name": "caller",
|
|
801
|
+
"type": "address"
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
"internalType": "address",
|
|
805
|
+
"name": "target",
|
|
806
|
+
"type": "address"
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"internalType": "bytes",
|
|
810
|
+
"name": "data",
|
|
811
|
+
"type": "bytes"
|
|
812
|
+
}
|
|
813
|
+
],
|
|
814
|
+
"name": "hashOperation",
|
|
815
|
+
"outputs": [
|
|
816
|
+
{
|
|
817
|
+
"internalType": "bytes32",
|
|
818
|
+
"name": "",
|
|
819
|
+
"type": "bytes32"
|
|
820
|
+
}
|
|
821
|
+
],
|
|
822
|
+
"stateMutability": "view",
|
|
823
|
+
"type": "function"
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
"inputs": [
|
|
827
|
+
{
|
|
828
|
+
"internalType": "address",
|
|
829
|
+
"name": "target",
|
|
830
|
+
"type": "address"
|
|
831
|
+
}
|
|
832
|
+
],
|
|
833
|
+
"name": "isTargetClosed",
|
|
834
|
+
"outputs": [
|
|
835
|
+
{
|
|
836
|
+
"internalType": "bool",
|
|
837
|
+
"name": "",
|
|
838
|
+
"type": "bool"
|
|
839
|
+
}
|
|
840
|
+
],
|
|
841
|
+
"stateMutability": "view",
|
|
842
|
+
"type": "function"
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
"inputs": [
|
|
846
|
+
{
|
|
847
|
+
"internalType": "uint64",
|
|
848
|
+
"name": "roleId",
|
|
849
|
+
"type": "uint64"
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
"internalType": "string",
|
|
853
|
+
"name": "label",
|
|
854
|
+
"type": "string"
|
|
855
|
+
}
|
|
856
|
+
],
|
|
857
|
+
"name": "labelRole",
|
|
858
|
+
"outputs": [],
|
|
859
|
+
"stateMutability": "nonpayable",
|
|
860
|
+
"type": "function"
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
"inputs": [],
|
|
864
|
+
"name": "minSetback",
|
|
865
|
+
"outputs": [
|
|
866
|
+
{
|
|
867
|
+
"internalType": "uint32",
|
|
868
|
+
"name": "",
|
|
869
|
+
"type": "uint32"
|
|
870
|
+
}
|
|
871
|
+
],
|
|
872
|
+
"stateMutability": "view",
|
|
873
|
+
"type": "function"
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
"inputs": [
|
|
877
|
+
{
|
|
878
|
+
"internalType": "uint64",
|
|
879
|
+
"name": "roleId",
|
|
880
|
+
"type": "uint64"
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
"internalType": "address",
|
|
884
|
+
"name": "callerConfirmation",
|
|
885
|
+
"type": "address"
|
|
886
|
+
}
|
|
887
|
+
],
|
|
888
|
+
"name": "renounceRole",
|
|
889
|
+
"outputs": [],
|
|
890
|
+
"stateMutability": "nonpayable",
|
|
891
|
+
"type": "function"
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
"inputs": [
|
|
895
|
+
{
|
|
896
|
+
"internalType": "uint64",
|
|
897
|
+
"name": "roleId",
|
|
898
|
+
"type": "uint64"
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
"internalType": "address",
|
|
902
|
+
"name": "account",
|
|
903
|
+
"type": "address"
|
|
904
|
+
}
|
|
905
|
+
],
|
|
906
|
+
"name": "revokeRole",
|
|
907
|
+
"outputs": [],
|
|
908
|
+
"stateMutability": "nonpayable",
|
|
909
|
+
"type": "function"
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
"inputs": [
|
|
913
|
+
{
|
|
914
|
+
"internalType": "address",
|
|
915
|
+
"name": "target",
|
|
916
|
+
"type": "address"
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
"internalType": "bytes",
|
|
920
|
+
"name": "data",
|
|
921
|
+
"type": "bytes"
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
"internalType": "uint48",
|
|
925
|
+
"name": "when",
|
|
926
|
+
"type": "uint48"
|
|
927
|
+
}
|
|
928
|
+
],
|
|
929
|
+
"name": "schedule",
|
|
930
|
+
"outputs": [
|
|
931
|
+
{
|
|
932
|
+
"internalType": "bytes32",
|
|
933
|
+
"name": "",
|
|
934
|
+
"type": "bytes32"
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
"internalType": "uint32",
|
|
938
|
+
"name": "",
|
|
939
|
+
"type": "uint32"
|
|
940
|
+
}
|
|
941
|
+
],
|
|
942
|
+
"stateMutability": "nonpayable",
|
|
943
|
+
"type": "function"
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
"inputs": [
|
|
947
|
+
{
|
|
948
|
+
"internalType": "uint64",
|
|
949
|
+
"name": "roleId",
|
|
950
|
+
"type": "uint64"
|
|
951
|
+
},
|
|
952
|
+
{
|
|
953
|
+
"internalType": "uint32",
|
|
954
|
+
"name": "newDelay",
|
|
955
|
+
"type": "uint32"
|
|
956
|
+
}
|
|
957
|
+
],
|
|
958
|
+
"name": "setGrantDelay",
|
|
959
|
+
"outputs": [],
|
|
960
|
+
"stateMutability": "nonpayable",
|
|
961
|
+
"type": "function"
|
|
962
|
+
},
|
|
963
|
+
{
|
|
964
|
+
"inputs": [
|
|
965
|
+
{
|
|
966
|
+
"internalType": "uint64",
|
|
967
|
+
"name": "roleId",
|
|
968
|
+
"type": "uint64"
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
"internalType": "uint64",
|
|
972
|
+
"name": "admin",
|
|
973
|
+
"type": "uint64"
|
|
974
|
+
}
|
|
975
|
+
],
|
|
976
|
+
"name": "setRoleAdmin",
|
|
977
|
+
"outputs": [],
|
|
978
|
+
"stateMutability": "nonpayable",
|
|
979
|
+
"type": "function"
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
"inputs": [
|
|
983
|
+
{
|
|
984
|
+
"internalType": "uint64",
|
|
985
|
+
"name": "roleId",
|
|
986
|
+
"type": "uint64"
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
"internalType": "uint64",
|
|
990
|
+
"name": "guardian",
|
|
991
|
+
"type": "uint64"
|
|
992
|
+
}
|
|
993
|
+
],
|
|
994
|
+
"name": "setRoleGuardian",
|
|
995
|
+
"outputs": [],
|
|
996
|
+
"stateMutability": "nonpayable",
|
|
997
|
+
"type": "function"
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
"inputs": [
|
|
1001
|
+
{
|
|
1002
|
+
"internalType": "address",
|
|
1003
|
+
"name": "target",
|
|
1004
|
+
"type": "address"
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"internalType": "uint32",
|
|
1008
|
+
"name": "newDelay",
|
|
1009
|
+
"type": "uint32"
|
|
1010
|
+
}
|
|
1011
|
+
],
|
|
1012
|
+
"name": "setTargetAdminDelay",
|
|
1013
|
+
"outputs": [],
|
|
1014
|
+
"stateMutability": "nonpayable",
|
|
1015
|
+
"type": "function"
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"inputs": [
|
|
1019
|
+
{
|
|
1020
|
+
"internalType": "address",
|
|
1021
|
+
"name": "target",
|
|
1022
|
+
"type": "address"
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
"internalType": "bool",
|
|
1026
|
+
"name": "closed",
|
|
1027
|
+
"type": "bool"
|
|
1028
|
+
}
|
|
1029
|
+
],
|
|
1030
|
+
"name": "setTargetClosed",
|
|
1031
|
+
"outputs": [],
|
|
1032
|
+
"stateMutability": "nonpayable",
|
|
1033
|
+
"type": "function"
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
"inputs": [
|
|
1037
|
+
{
|
|
1038
|
+
"internalType": "address",
|
|
1039
|
+
"name": "target",
|
|
1040
|
+
"type": "address"
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
"internalType": "bytes4[]",
|
|
1044
|
+
"name": "selectors",
|
|
1045
|
+
"type": "bytes4[]"
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
"internalType": "uint64",
|
|
1049
|
+
"name": "roleId",
|
|
1050
|
+
"type": "uint64"
|
|
1051
|
+
}
|
|
1052
|
+
],
|
|
1053
|
+
"name": "setTargetFunctionRole",
|
|
1054
|
+
"outputs": [],
|
|
1055
|
+
"stateMutability": "nonpayable",
|
|
1056
|
+
"type": "function"
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
"inputs": [
|
|
1060
|
+
{
|
|
1061
|
+
"internalType": "address",
|
|
1062
|
+
"name": "target",
|
|
1063
|
+
"type": "address"
|
|
1064
|
+
},
|
|
1065
|
+
{
|
|
1066
|
+
"internalType": "address",
|
|
1067
|
+
"name": "newAuthority",
|
|
1068
|
+
"type": "address"
|
|
1069
|
+
}
|
|
1070
|
+
],
|
|
1071
|
+
"name": "updateAuthority",
|
|
1072
|
+
"outputs": [],
|
|
1073
|
+
"stateMutability": "nonpayable",
|
|
1074
|
+
"type": "function"
|
|
1075
|
+
}
|
|
1076
|
+
],
|
|
1077
|
+
"bytecode": "0x",
|
|
1078
|
+
"deployedBytecode": "0x",
|
|
1079
|
+
"linkReferences": {},
|
|
1080
|
+
"deployedLinkReferences": {},
|
|
1081
|
+
"devdoc": {
|
|
1082
|
+
"events": {
|
|
1083
|
+
"OperationCanceled(bytes32,uint32)": {
|
|
1084
|
+
"details": "A scheduled operation was canceled."
|
|
1085
|
+
},
|
|
1086
|
+
"OperationExecuted(bytes32,uint32)": {
|
|
1087
|
+
"details": "A scheduled operation was executed."
|
|
1088
|
+
},
|
|
1089
|
+
"OperationScheduled(bytes32,uint32,uint48,address,address,bytes)": {
|
|
1090
|
+
"details": "A delayed operation was scheduled."
|
|
1091
|
+
},
|
|
1092
|
+
"RoleAdminChanged(uint64,uint64)": {
|
|
1093
|
+
"details": "Role acting as admin over a given `roleId` is updated."
|
|
1094
|
+
},
|
|
1095
|
+
"RoleGrantDelayChanged(uint64,uint32,uint48)": {
|
|
1096
|
+
"details": "Grant delay for a given `roleId` will be updated to `delay` when `since` is reached."
|
|
1097
|
+
},
|
|
1098
|
+
"RoleGranted(uint64,address,uint32,uint48,bool)": {
|
|
1099
|
+
"details": "Emitted when `account` is granted `roleId`. NOTE: The meaning of the `since` argument depends on the `newMember` argument. If the role is granted to a new member, the `since` argument indicates when the account becomes a member of the role, otherwise it indicates the execution delay for this account and roleId is updated."
|
|
1100
|
+
},
|
|
1101
|
+
"RoleGuardianChanged(uint64,uint64)": {
|
|
1102
|
+
"details": "Role acting as guardian over a given `roleId` is updated."
|
|
1103
|
+
},
|
|
1104
|
+
"RoleLabel(uint64,string)": {
|
|
1105
|
+
"details": "Informational labelling for a roleId."
|
|
1106
|
+
},
|
|
1107
|
+
"RoleRevoked(uint64,address)": {
|
|
1108
|
+
"details": "Emitted when `account` membership or `roleId` is revoked. Unlike granting, revoking is instantaneous."
|
|
1109
|
+
},
|
|
1110
|
+
"TargetAdminDelayUpdated(address,uint32,uint48)": {
|
|
1111
|
+
"details": "Admin delay for a given `target` will be updated to `delay` when `since` is reached."
|
|
1112
|
+
},
|
|
1113
|
+
"TargetClosed(address,bool)": {
|
|
1114
|
+
"details": "Target mode is updated (true = closed, false = open)."
|
|
1115
|
+
},
|
|
1116
|
+
"TargetFunctionRoleUpdated(address,bytes4,uint64)": {
|
|
1117
|
+
"details": "Role required to invoke `selector` on `target` is updated to `roleId`."
|
|
1118
|
+
}
|
|
1119
|
+
},
|
|
1120
|
+
"kind": "dev",
|
|
1121
|
+
"methods": {
|
|
1122
|
+
"canCall(address,address,bytes4)": {
|
|
1123
|
+
"details": "Check if an address (`caller`) is authorised to call a given function on a given contract directly (with no restriction). Additionally, it returns the delay needed to perform the call indirectly through the {schedule} & {execute} workflow. This function is usually called by the targeted contract to control immediate execution of restricted functions. Therefore we only return true if the call can be performed without any delay. If the call is subject to a previously set delay (not zero), then the function should return false and the caller should schedule the operation for future execution. If `immediate` is true, the delay can be disregarded and the operation can be immediately executed, otherwise the operation can be executed if and only if delay is greater than 0. NOTE: The IAuthority interface does not include the `uint32` delay. This is an extension of that interface that is backward compatible. Some contracts may thus ignore the second return argument. In that case they will fail to identify the indirect workflow, and will consider calls that require a delay to be forbidden. NOTE: This function does not report the permissions of this manager itself. These are defined by the {_canCallSelf} function instead."
|
|
1124
|
+
},
|
|
1125
|
+
"cancel(address,address,bytes)": {
|
|
1126
|
+
"details": "Cancel a scheduled (delayed) operation. Returns the nonce that identifies the previously scheduled operation that is cancelled. Requirements: - the caller must be the proposer, a guardian of the targeted function, or a global admin Emits a {OperationCanceled} event."
|
|
1127
|
+
},
|
|
1128
|
+
"consumeScheduledOp(address,bytes)": {
|
|
1129
|
+
"details": "Consume a scheduled operation targeting the caller. If such an operation exists, mark it as consumed (emit an {OperationExecuted} event and clean the state). Otherwise, throw an error. This is useful for contract that want to enforce that calls targeting them were scheduled on the manager, with all the verifications that it implies. Emit a {OperationExecuted} event."
|
|
1130
|
+
},
|
|
1131
|
+
"execute(address,bytes)": {
|
|
1132
|
+
"details": "Execute a function that is delay restricted, provided it was properly scheduled beforehand, or the execution delay is 0. Returns the nonce that identifies the previously scheduled operation that is executed, or 0 if the operation wasn't previously scheduled (if the caller doesn't have an execution delay). Emits an {OperationExecuted} event only if the call was scheduled and delayed."
|
|
1133
|
+
},
|
|
1134
|
+
"expiration()": {
|
|
1135
|
+
"details": "Expiration delay for scheduled proposals. Defaults to 1 week. IMPORTANT: Avoid overriding the expiration with 0. Otherwise every contract proposal will be expired immediately, disabling any scheduling usage."
|
|
1136
|
+
},
|
|
1137
|
+
"getAccess(uint64,address)": {
|
|
1138
|
+
"details": "Get the access details for a given account for a given role. These details include the timepoint at which membership becomes active, and the delay applied to all operation by this user that requires this permission level. Returns: [0] Timestamp at which the account membership becomes valid. 0 means role is not granted. [1] Current execution delay for the account. [2] Pending execution delay for the account. [3] Timestamp at which the pending execution delay will become active. 0 means no delay update is scheduled."
|
|
1139
|
+
},
|
|
1140
|
+
"getNonce(bytes32)": {
|
|
1141
|
+
"details": "Return the nonce for the latest scheduled operation with a given id. Returns 0 if the operation has never been scheduled."
|
|
1142
|
+
},
|
|
1143
|
+
"getRoleAdmin(uint64)": {
|
|
1144
|
+
"details": "Get the id of the role that acts as an admin for the given role. The admin permission is required to grant the role, revoke the role and update the execution delay to execute an operation that is restricted to this role."
|
|
1145
|
+
},
|
|
1146
|
+
"getRoleGrantDelay(uint64)": {
|
|
1147
|
+
"details": "Get the role current grant delay. Its value may change at any point without an event emitted following a call to {setGrantDelay}. Changes to this value, including effect timepoint are notified in advance by the {RoleGrantDelayChanged} event."
|
|
1148
|
+
},
|
|
1149
|
+
"getRoleGuardian(uint64)": {
|
|
1150
|
+
"details": "Get the role that acts as a guardian for a given role. The guardian permission allows canceling operations that have been scheduled under the role."
|
|
1151
|
+
},
|
|
1152
|
+
"getSchedule(bytes32)": {
|
|
1153
|
+
"details": "Return the timepoint at which a scheduled operation will be ready for execution. This returns 0 if the operation is not yet scheduled, has expired, was executed, or was canceled."
|
|
1154
|
+
},
|
|
1155
|
+
"getTargetAdminDelay(address)": {
|
|
1156
|
+
"details": "Get the admin delay for a target contract. Changes to contract configuration are subject to this delay."
|
|
1157
|
+
},
|
|
1158
|
+
"getTargetFunctionRole(address,bytes4)": {
|
|
1159
|
+
"details": "Get the role required to call a function."
|
|
1160
|
+
},
|
|
1161
|
+
"grantRole(uint64,address,uint32)": {
|
|
1162
|
+
"details": "Add `account` to `roleId`, or change its execution delay. This gives the account the authorization to call any function that is restricted to this role. An optional execution delay (in seconds) can be set. If that delay is non 0, the user is required to schedule any operation that is restricted to members of this role. The user will only be able to execute the operation after the delay has passed, before it has expired. During this period, admin and guardians can cancel the operation (see {cancel}). If the account has already been granted this role, the execution delay will be updated. This update is not immediate and follows the delay rules. For example, if a user currently has a delay of 3 hours, and this is called to reduce that delay to 1 hour, the new delay will take some time to take effect, enforcing that any operation executed in the 3 hours that follows this update was indeed scheduled before this update. Requirements: - the caller must be an admin for the role (see {getRoleAdmin}) - granted role must not be the `PUBLIC_ROLE` Emits a {RoleGranted} event."
|
|
1163
|
+
},
|
|
1164
|
+
"hasRole(uint64,address)": {
|
|
1165
|
+
"details": "Check if a given account currently has the permission level corresponding to a given role. Note that this permission might be associated with an execution delay. {getAccess} can provide more details."
|
|
1166
|
+
},
|
|
1167
|
+
"hashOperation(address,address,bytes)": {
|
|
1168
|
+
"details": "Hashing function for delayed operations."
|
|
1169
|
+
},
|
|
1170
|
+
"isTargetClosed(address)": {
|
|
1171
|
+
"details": "Get whether the contract is closed disabling any access. Otherwise role permissions are applied."
|
|
1172
|
+
},
|
|
1173
|
+
"labelRole(uint64,string)": {
|
|
1174
|
+
"details": "Give a label to a role, for improved role discoverability by UIs. Requirements: - the caller must be a global admin Emits a {RoleLabel} event."
|
|
1175
|
+
},
|
|
1176
|
+
"minSetback()": {
|
|
1177
|
+
"details": "Minimum setback for all delay updates, with the exception of execution delays. It can be increased without setback (and reset via {revokeRole} in the case event of an accidental increase). Defaults to 5 days."
|
|
1178
|
+
},
|
|
1179
|
+
"renounceRole(uint64,address)": {
|
|
1180
|
+
"details": "Renounce role permissions for the calling account with immediate effect. If the sender is not in the role this call has no effect. Requirements: - the caller must be `callerConfirmation`. Emits a {RoleRevoked} event if the account had the role."
|
|
1181
|
+
},
|
|
1182
|
+
"revokeRole(uint64,address)": {
|
|
1183
|
+
"details": "Remove an account from a role, with immediate effect. If the account does not have the role, this call has no effect. Requirements: - the caller must be an admin for the role (see {getRoleAdmin}) - revoked role must not be the `PUBLIC_ROLE` Emits a {RoleRevoked} event if the account had the role."
|
|
1184
|
+
},
|
|
1185
|
+
"schedule(address,bytes,uint48)": {
|
|
1186
|
+
"details": "Schedule a delayed operation for future execution, and return the operation identifier. It is possible to choose the timestamp at which the operation becomes executable as long as it satisfies the execution delays required for the caller. The special value zero will automatically set the earliest possible time. Returns the `operationId` that was scheduled. Since this value is a hash of the parameters, it can reoccur when the same parameters are used; if this is relevant, the returned `nonce` can be used to uniquely identify this scheduled operation from other occurrences of the same `operationId` in invocations of {execute} and {cancel}. Emits a {OperationScheduled} event. NOTE: It is not possible to concurrently schedule more than one operation with the same `target` and `data`. If this is necessary, a random byte can be appended to `data` to act as a salt that will be ignored by the target contract if it is using standard Solidity ABI encoding."
|
|
1187
|
+
},
|
|
1188
|
+
"setGrantDelay(uint64,uint32)": {
|
|
1189
|
+
"details": "Update the delay for granting a `roleId`. Requirements: - the caller must be a global admin Emits a {RoleGrantDelayChanged} event."
|
|
1190
|
+
},
|
|
1191
|
+
"setRoleAdmin(uint64,uint64)": {
|
|
1192
|
+
"details": "Change admin role for a given role. Requirements: - the caller must be a global admin Emits a {RoleAdminChanged} event"
|
|
1193
|
+
},
|
|
1194
|
+
"setRoleGuardian(uint64,uint64)": {
|
|
1195
|
+
"details": "Change guardian role for a given role. Requirements: - the caller must be a global admin Emits a {RoleGuardianChanged} event"
|
|
1196
|
+
},
|
|
1197
|
+
"setTargetAdminDelay(address,uint32)": {
|
|
1198
|
+
"details": "Set the delay for changing the configuration of a given target contract. Requirements: - the caller must be a global admin Emits a {TargetAdminDelayUpdated} event."
|
|
1199
|
+
},
|
|
1200
|
+
"setTargetClosed(address,bool)": {
|
|
1201
|
+
"details": "Set the closed flag for a contract. Requirements: - the caller must be a global admin Emits a {TargetClosed} event."
|
|
1202
|
+
},
|
|
1203
|
+
"setTargetFunctionRole(address,bytes4[],uint64)": {
|
|
1204
|
+
"details": "Set the role required to call functions identified by the `selectors` in the `target` contract. Requirements: - the caller must be a global admin Emits a {TargetFunctionRoleUpdated} event per selector."
|
|
1205
|
+
},
|
|
1206
|
+
"updateAuthority(address,address)": {
|
|
1207
|
+
"details": "Changes the authority of a target managed by this manager instance. Requirements: - the caller must be a global admin"
|
|
1208
|
+
}
|
|
1209
|
+
},
|
|
1210
|
+
"version": 1
|
|
1211
|
+
},
|
|
1212
|
+
"userdoc": {
|
|
1213
|
+
"kind": "user",
|
|
1214
|
+
"methods": {},
|
|
1215
|
+
"version": 1
|
|
1216
|
+
},
|
|
1217
|
+
"evm": {
|
|
1218
|
+
"gasEstimates": null,
|
|
1219
|
+
"methodIdentifiers": {
|
|
1220
|
+
"canCall(address,address,bytes4)": "b7009613",
|
|
1221
|
+
"cancel(address,address,bytes)": "d6bb62c6",
|
|
1222
|
+
"consumeScheduledOp(address,bytes)": "94c7d7ee",
|
|
1223
|
+
"execute(address,bytes)": "1cff79cd",
|
|
1224
|
+
"expiration()": "4665096d",
|
|
1225
|
+
"getAccess(uint64,address)": "3078f114",
|
|
1226
|
+
"getNonce(bytes32)": "4136a33c",
|
|
1227
|
+
"getRoleAdmin(uint64)": "530dd456",
|
|
1228
|
+
"getRoleGrantDelay(uint64)": "12be8727",
|
|
1229
|
+
"getRoleGuardian(uint64)": "0b0a93ba",
|
|
1230
|
+
"getSchedule(bytes32)": "3adc277a",
|
|
1231
|
+
"getTargetAdminDelay(address)": "4c1da1e2",
|
|
1232
|
+
"getTargetFunctionRole(address,bytes4)": "6d5115bd",
|
|
1233
|
+
"grantRole(uint64,address,uint32)": "25c471a0",
|
|
1234
|
+
"hasRole(uint64,address)": "d1f856ee",
|
|
1235
|
+
"hashOperation(address,address,bytes)": "abd9bd2a",
|
|
1236
|
+
"isTargetClosed(address)": "a166aa89",
|
|
1237
|
+
"labelRole(uint64,string)": "853551b8",
|
|
1238
|
+
"minSetback()": "cc1b6c81",
|
|
1239
|
+
"renounceRole(uint64,address)": "fe0776f5",
|
|
1240
|
+
"revokeRole(uint64,address)": "b7d2b162",
|
|
1241
|
+
"schedule(address,bytes,uint48)": "f801a698",
|
|
1242
|
+
"setGrantDelay(uint64,uint32)": "a64d95ce",
|
|
1243
|
+
"setRoleAdmin(uint64,uint64)": "30cae187",
|
|
1244
|
+
"setRoleGuardian(uint64,uint64)": "52962952",
|
|
1245
|
+
"setTargetAdminDelay(address,uint32)": "d22b5989",
|
|
1246
|
+
"setTargetClosed(address,bool)": "167bd395",
|
|
1247
|
+
"setTargetFunctionRole(address,bytes4[],uint64)": "08d6122d",
|
|
1248
|
+
"updateAuthority(address,address)": "18ff183c"
|
|
1249
|
+
}
|
|
1250
|
+
}
|
|
1251
|
+
}
|