@etherisc/gif-next 0.0.2-ebbe63d → 0.0.2-fe77319
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +95 -1
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +179 -0
- package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/InstanceLinked.json +35 -0
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +179 -0
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +192 -0
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/components/Pool.sol/Pool.json +195 -0
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/components/Product.sol/Product.json +213 -0
- package/artifacts/contracts/experiment/A.sol/A.dbg.json +4 -0
- package/artifacts/contracts/experiment/A.sol/A.json +128 -0
- package/artifacts/contracts/experiment/A.sol/AShared.dbg.json +4 -0
- package/artifacts/contracts/experiment/A.sol/AShared.json +42 -0
- package/artifacts/contracts/experiment/B.sol/B.dbg.json +4 -0
- package/artifacts/contracts/experiment/B.sol/B.json +76 -0
- package/artifacts/contracts/experiment/C.sol/C.dbg.json +4 -0
- package/artifacts/contracts/experiment/C.sol/C.json +89 -0
- package/artifacts/contracts/experiment/IA.sol/IA.dbg.json +4 -0
- package/artifacts/contracts/experiment/IA.sol/IA.json +128 -0
- package/artifacts/contracts/experiment/IA.sol/ISharedA.dbg.json +4 -0
- package/artifacts/contracts/experiment/IA.sol/ISharedA.json +37 -0
- package/artifacts/contracts/experiment/IB.sol/IB.dbg.json +4 -0
- package/artifacts/contracts/experiment/IB.sol/IB.json +50 -0
- package/artifacts/contracts/experiment/IC.sol/IC.dbg.json +4 -0
- package/artifacts/contracts/experiment/IC.sol/IC.json +63 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +892 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +4 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.json +1009 -0
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +4 -0
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +400 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccess.json +10 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +4 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +35 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +4 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +50 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +4 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +336 -0
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +4 -0
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +327 -0
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +105 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponent.json +10 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +4 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +179 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +4 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +245 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +94 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +4 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +24 -0
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +4 -0
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.json +10 -0
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +4 -0
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +231 -0
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +4 -0
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +231 -0
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +4 -0
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.json +10 -0
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +4 -0
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +149 -0
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +4 -0
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +162 -0
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +4 -0
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +75 -0
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +114 -0
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +4 -0
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +75 -0
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +125 -0
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +24 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +166 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +271 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +49 -0
- package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +4 -0
- package/artifacts/contracts/registry/Registry.sol/Registerable.json +166 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +4 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.json +289 -0
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +60 -0
- package/contracts/components/Component.sol +62 -0
- package/contracts/components/IPool.sol +9 -0
- package/contracts/components/IProduct.sol +11 -0
- package/contracts/components/Pool.sol +29 -0
- package/contracts/components/Product.sol +65 -0
- package/contracts/experiment/A.sol +56 -0
- package/contracts/experiment/B.sol +23 -0
- package/contracts/experiment/C.sol +28 -0
- package/contracts/experiment/IA.sol +18 -0
- package/contracts/experiment/IB.sol +9 -0
- package/contracts/experiment/IC.sol +11 -0
- package/contracts/instance/IInstance.sol +20 -0
- package/contracts/instance/Instance.sol +63 -0
- package/contracts/instance/access/Access.sol +218 -0
- package/contracts/instance/access/IAccess.sol +83 -0
- package/contracts/instance/component/ComponentModule.sol +259 -0
- package/contracts/instance/component/IComponent.sol +94 -0
- package/contracts/instance/policy/IPolicy.sol +66 -0
- package/contracts/instance/policy/PolicyModule.sol +106 -0
- package/contracts/instance/pool/IPoolModule.sol +40 -0
- package/contracts/instance/pool/PoolModule.sol +83 -0
- package/contracts/instance/product/IProductService.sol +45 -0
- package/contracts/instance/product/ProductService.sol +105 -0
- package/contracts/registry/IRegistry.sol +66 -0
- package/contracts/registry/Registry.sol +197 -0
- package/package.json +7 -6
- package/artifacts/contracts/Dip.sol/DIP.dbg.json +0 -4
- package/artifacts/contracts/Dip.sol/DIP.json +0 -338
- package/artifacts/contracts/Lock.sol/Lock.dbg.json +0 -4
- package/artifacts/contracts/Lock.sol/Lock.json +0 -74
- package/contracts/Dip.sol +0 -26
- package/contracts/Lock.sol +0 -34
@@ -0,0 +1,400 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "AccessModule",
|
4
|
+
"sourceName": "contracts/instance/access/Access.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"anonymous": false,
|
8
|
+
"inputs": [
|
9
|
+
{
|
10
|
+
"indexed": false,
|
11
|
+
"internalType": "bytes32",
|
12
|
+
"name": "role",
|
13
|
+
"type": "bytes32"
|
14
|
+
},
|
15
|
+
{
|
16
|
+
"indexed": false,
|
17
|
+
"internalType": "address",
|
18
|
+
"name": "member",
|
19
|
+
"type": "address"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"indexed": false,
|
23
|
+
"internalType": "bool",
|
24
|
+
"name": "isMember",
|
25
|
+
"type": "bool"
|
26
|
+
}
|
27
|
+
],
|
28
|
+
"name": "LogAccessRoleGranted",
|
29
|
+
"type": "event"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"anonymous": false,
|
33
|
+
"inputs": [
|
34
|
+
{
|
35
|
+
"indexed": false,
|
36
|
+
"internalType": "uint256",
|
37
|
+
"name": "idx",
|
38
|
+
"type": "uint256"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"indexed": false,
|
42
|
+
"internalType": "address",
|
43
|
+
"name": "module",
|
44
|
+
"type": "address"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"indexed": false,
|
48
|
+
"internalType": "string",
|
49
|
+
"name": "comment",
|
50
|
+
"type": "string"
|
51
|
+
}
|
52
|
+
],
|
53
|
+
"name": "LogDebug",
|
54
|
+
"type": "event"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"inputs": [],
|
58
|
+
"name": "ORACLE_OWNER",
|
59
|
+
"outputs": [
|
60
|
+
{
|
61
|
+
"internalType": "string",
|
62
|
+
"name": "",
|
63
|
+
"type": "string"
|
64
|
+
}
|
65
|
+
],
|
66
|
+
"stateMutability": "view",
|
67
|
+
"type": "function"
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"inputs": [],
|
71
|
+
"name": "ORACLE_OWNER_ROLE",
|
72
|
+
"outputs": [
|
73
|
+
{
|
74
|
+
"internalType": "bytes32",
|
75
|
+
"name": "role",
|
76
|
+
"type": "bytes32"
|
77
|
+
}
|
78
|
+
],
|
79
|
+
"stateMutability": "view",
|
80
|
+
"type": "function"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"inputs": [],
|
84
|
+
"name": "POOL_OWNER",
|
85
|
+
"outputs": [
|
86
|
+
{
|
87
|
+
"internalType": "string",
|
88
|
+
"name": "",
|
89
|
+
"type": "string"
|
90
|
+
}
|
91
|
+
],
|
92
|
+
"stateMutability": "view",
|
93
|
+
"type": "function"
|
94
|
+
},
|
95
|
+
{
|
96
|
+
"inputs": [],
|
97
|
+
"name": "POOL_OWNER_ROLE",
|
98
|
+
"outputs": [
|
99
|
+
{
|
100
|
+
"internalType": "bytes32",
|
101
|
+
"name": "role",
|
102
|
+
"type": "bytes32"
|
103
|
+
}
|
104
|
+
],
|
105
|
+
"stateMutability": "view",
|
106
|
+
"type": "function"
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"inputs": [],
|
110
|
+
"name": "PRODUCT_OWNER",
|
111
|
+
"outputs": [
|
112
|
+
{
|
113
|
+
"internalType": "string",
|
114
|
+
"name": "",
|
115
|
+
"type": "string"
|
116
|
+
}
|
117
|
+
],
|
118
|
+
"stateMutability": "view",
|
119
|
+
"type": "function"
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"inputs": [],
|
123
|
+
"name": "PRODUCT_OWNER_ROLE",
|
124
|
+
"outputs": [
|
125
|
+
{
|
126
|
+
"internalType": "bytes32",
|
127
|
+
"name": "role",
|
128
|
+
"type": "bytes32"
|
129
|
+
}
|
130
|
+
],
|
131
|
+
"stateMutability": "view",
|
132
|
+
"type": "function"
|
133
|
+
},
|
134
|
+
{
|
135
|
+
"inputs": [
|
136
|
+
{
|
137
|
+
"internalType": "string",
|
138
|
+
"name": "roleName",
|
139
|
+
"type": "string"
|
140
|
+
}
|
141
|
+
],
|
142
|
+
"name": "createRole",
|
143
|
+
"outputs": [
|
144
|
+
{
|
145
|
+
"internalType": "bytes32",
|
146
|
+
"name": "role",
|
147
|
+
"type": "bytes32"
|
148
|
+
}
|
149
|
+
],
|
150
|
+
"stateMutability": "nonpayable",
|
151
|
+
"type": "function"
|
152
|
+
},
|
153
|
+
{
|
154
|
+
"inputs": [
|
155
|
+
{
|
156
|
+
"internalType": "bytes32",
|
157
|
+
"name": "role",
|
158
|
+
"type": "bytes32"
|
159
|
+
}
|
160
|
+
],
|
161
|
+
"name": "disableRole",
|
162
|
+
"outputs": [],
|
163
|
+
"stateMutability": "nonpayable",
|
164
|
+
"type": "function"
|
165
|
+
},
|
166
|
+
{
|
167
|
+
"inputs": [
|
168
|
+
{
|
169
|
+
"internalType": "bytes32",
|
170
|
+
"name": "role",
|
171
|
+
"type": "bytes32"
|
172
|
+
}
|
173
|
+
],
|
174
|
+
"name": "enableRole",
|
175
|
+
"outputs": [],
|
176
|
+
"stateMutability": "nonpayable",
|
177
|
+
"type": "function"
|
178
|
+
},
|
179
|
+
{
|
180
|
+
"inputs": [],
|
181
|
+
"name": "getOwner",
|
182
|
+
"outputs": [
|
183
|
+
{
|
184
|
+
"internalType": "address",
|
185
|
+
"name": "owner",
|
186
|
+
"type": "address"
|
187
|
+
}
|
188
|
+
],
|
189
|
+
"stateMutability": "view",
|
190
|
+
"type": "function"
|
191
|
+
},
|
192
|
+
{
|
193
|
+
"inputs": [],
|
194
|
+
"name": "getRegistry",
|
195
|
+
"outputs": [
|
196
|
+
{
|
197
|
+
"internalType": "contract IRegistry",
|
198
|
+
"name": "registry",
|
199
|
+
"type": "address"
|
200
|
+
}
|
201
|
+
],
|
202
|
+
"stateMutability": "view",
|
203
|
+
"type": "function"
|
204
|
+
},
|
205
|
+
{
|
206
|
+
"inputs": [
|
207
|
+
{
|
208
|
+
"internalType": "uint256",
|
209
|
+
"name": "idx",
|
210
|
+
"type": "uint256"
|
211
|
+
}
|
212
|
+
],
|
213
|
+
"name": "getRole",
|
214
|
+
"outputs": [
|
215
|
+
{
|
216
|
+
"internalType": "bytes32",
|
217
|
+
"name": "role",
|
218
|
+
"type": "bytes32"
|
219
|
+
}
|
220
|
+
],
|
221
|
+
"stateMutability": "view",
|
222
|
+
"type": "function"
|
223
|
+
},
|
224
|
+
{
|
225
|
+
"inputs": [],
|
226
|
+
"name": "getRoleCount",
|
227
|
+
"outputs": [
|
228
|
+
{
|
229
|
+
"internalType": "uint256",
|
230
|
+
"name": "roles",
|
231
|
+
"type": "uint256"
|
232
|
+
}
|
233
|
+
],
|
234
|
+
"stateMutability": "view",
|
235
|
+
"type": "function"
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"inputs": [
|
239
|
+
{
|
240
|
+
"internalType": "string",
|
241
|
+
"name": "roleName",
|
242
|
+
"type": "string"
|
243
|
+
}
|
244
|
+
],
|
245
|
+
"name": "getRoleForName",
|
246
|
+
"outputs": [
|
247
|
+
{
|
248
|
+
"internalType": "bytes32",
|
249
|
+
"name": "role",
|
250
|
+
"type": "bytes32"
|
251
|
+
}
|
252
|
+
],
|
253
|
+
"stateMutability": "pure",
|
254
|
+
"type": "function"
|
255
|
+
},
|
256
|
+
{
|
257
|
+
"inputs": [
|
258
|
+
{
|
259
|
+
"internalType": "bytes32",
|
260
|
+
"name": "role",
|
261
|
+
"type": "bytes32"
|
262
|
+
}
|
263
|
+
],
|
264
|
+
"name": "getRoleInfo",
|
265
|
+
"outputs": [
|
266
|
+
{
|
267
|
+
"components": [
|
268
|
+
{
|
269
|
+
"internalType": "bytes32",
|
270
|
+
"name": "id",
|
271
|
+
"type": "bytes32"
|
272
|
+
},
|
273
|
+
{
|
274
|
+
"internalType": "string",
|
275
|
+
"name": "name",
|
276
|
+
"type": "string"
|
277
|
+
},
|
278
|
+
{
|
279
|
+
"internalType": "bool",
|
280
|
+
"name": "isActive",
|
281
|
+
"type": "bool"
|
282
|
+
}
|
283
|
+
],
|
284
|
+
"internalType": "struct IAccess.RoleInfo",
|
285
|
+
"name": "info",
|
286
|
+
"type": "tuple"
|
287
|
+
}
|
288
|
+
],
|
289
|
+
"stateMutability": "view",
|
290
|
+
"type": "function"
|
291
|
+
},
|
292
|
+
{
|
293
|
+
"inputs": [
|
294
|
+
{
|
295
|
+
"internalType": "bytes32",
|
296
|
+
"name": "role",
|
297
|
+
"type": "bytes32"
|
298
|
+
},
|
299
|
+
{
|
300
|
+
"internalType": "uint256",
|
301
|
+
"name": "idx",
|
302
|
+
"type": "uint256"
|
303
|
+
}
|
304
|
+
],
|
305
|
+
"name": "getRoleMember",
|
306
|
+
"outputs": [
|
307
|
+
{
|
308
|
+
"internalType": "address",
|
309
|
+
"name": "roleMembers",
|
310
|
+
"type": "address"
|
311
|
+
}
|
312
|
+
],
|
313
|
+
"stateMutability": "view",
|
314
|
+
"type": "function"
|
315
|
+
},
|
316
|
+
{
|
317
|
+
"inputs": [
|
318
|
+
{
|
319
|
+
"internalType": "bytes32",
|
320
|
+
"name": "role",
|
321
|
+
"type": "bytes32"
|
322
|
+
}
|
323
|
+
],
|
324
|
+
"name": "getRoleMemberCount",
|
325
|
+
"outputs": [
|
326
|
+
{
|
327
|
+
"internalType": "uint256",
|
328
|
+
"name": "roleMembers",
|
329
|
+
"type": "uint256"
|
330
|
+
}
|
331
|
+
],
|
332
|
+
"stateMutability": "view",
|
333
|
+
"type": "function"
|
334
|
+
},
|
335
|
+
{
|
336
|
+
"inputs": [
|
337
|
+
{
|
338
|
+
"internalType": "bytes32",
|
339
|
+
"name": "role",
|
340
|
+
"type": "bytes32"
|
341
|
+
},
|
342
|
+
{
|
343
|
+
"internalType": "address",
|
344
|
+
"name": "member",
|
345
|
+
"type": "address"
|
346
|
+
}
|
347
|
+
],
|
348
|
+
"name": "grantRole",
|
349
|
+
"outputs": [],
|
350
|
+
"stateMutability": "nonpayable",
|
351
|
+
"type": "function"
|
352
|
+
},
|
353
|
+
{
|
354
|
+
"inputs": [
|
355
|
+
{
|
356
|
+
"internalType": "bytes32",
|
357
|
+
"name": "role",
|
358
|
+
"type": "bytes32"
|
359
|
+
},
|
360
|
+
{
|
361
|
+
"internalType": "address",
|
362
|
+
"name": "member",
|
363
|
+
"type": "address"
|
364
|
+
}
|
365
|
+
],
|
366
|
+
"name": "hasRole",
|
367
|
+
"outputs": [
|
368
|
+
{
|
369
|
+
"internalType": "bool",
|
370
|
+
"name": "",
|
371
|
+
"type": "bool"
|
372
|
+
}
|
373
|
+
],
|
374
|
+
"stateMutability": "view",
|
375
|
+
"type": "function"
|
376
|
+
},
|
377
|
+
{
|
378
|
+
"inputs": [
|
379
|
+
{
|
380
|
+
"internalType": "bytes32",
|
381
|
+
"name": "role",
|
382
|
+
"type": "bytes32"
|
383
|
+
},
|
384
|
+
{
|
385
|
+
"internalType": "address",
|
386
|
+
"name": "member",
|
387
|
+
"type": "address"
|
388
|
+
}
|
389
|
+
],
|
390
|
+
"name": "revokeRole",
|
391
|
+
"outputs": [],
|
392
|
+
"stateMutability": "nonpayable",
|
393
|
+
"type": "function"
|
394
|
+
}
|
395
|
+
],
|
396
|
+
"bytecode": "0x",
|
397
|
+
"deployedBytecode": "0x",
|
398
|
+
"linkReferences": {},
|
399
|
+
"deployedLinkReferences": {}
|
400
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "IAccessCheckRole",
|
4
|
+
"sourceName": "contracts/instance/access/IAccess.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "bytes32",
|
10
|
+
"name": "role",
|
11
|
+
"type": "bytes32"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "address",
|
15
|
+
"name": "member",
|
16
|
+
"type": "address"
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"name": "hasRole",
|
20
|
+
"outputs": [
|
21
|
+
{
|
22
|
+
"internalType": "bool",
|
23
|
+
"name": "",
|
24
|
+
"type": "bool"
|
25
|
+
}
|
26
|
+
],
|
27
|
+
"stateMutability": "view",
|
28
|
+
"type": "function"
|
29
|
+
}
|
30
|
+
],
|
31
|
+
"bytecode": "0x",
|
32
|
+
"deployedBytecode": "0x",
|
33
|
+
"linkReferences": {},
|
34
|
+
"deployedLinkReferences": {}
|
35
|
+
}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "IAccessComponentTypeRoles",
|
4
|
+
"sourceName": "contracts/instance/access/IAccess.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [],
|
8
|
+
"name": "ORACLE_OWNER_ROLE",
|
9
|
+
"outputs": [
|
10
|
+
{
|
11
|
+
"internalType": "bytes32",
|
12
|
+
"name": "role",
|
13
|
+
"type": "bytes32"
|
14
|
+
}
|
15
|
+
],
|
16
|
+
"stateMutability": "view",
|
17
|
+
"type": "function"
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"inputs": [],
|
21
|
+
"name": "POOL_OWNER_ROLE",
|
22
|
+
"outputs": [
|
23
|
+
{
|
24
|
+
"internalType": "bytes32",
|
25
|
+
"name": "role",
|
26
|
+
"type": "bytes32"
|
27
|
+
}
|
28
|
+
],
|
29
|
+
"stateMutability": "view",
|
30
|
+
"type": "function"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"inputs": [],
|
34
|
+
"name": "PRODUCT_OWNER_ROLE",
|
35
|
+
"outputs": [
|
36
|
+
{
|
37
|
+
"internalType": "bytes32",
|
38
|
+
"name": "role",
|
39
|
+
"type": "bytes32"
|
40
|
+
}
|
41
|
+
],
|
42
|
+
"stateMutability": "view",
|
43
|
+
"type": "function"
|
44
|
+
}
|
45
|
+
],
|
46
|
+
"bytecode": "0x",
|
47
|
+
"deployedBytecode": "0x",
|
48
|
+
"linkReferences": {},
|
49
|
+
"deployedLinkReferences": {}
|
50
|
+
}
|