@venusprotocol/governance-contracts 1.0.1-dev.1 → 1.0.1-dev.2

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.
Files changed (105) hide show
  1. package/contracts/Governance/AccessControlManager.sol +44 -5
  2. package/contracts/Governance/AccessControlledV5.sol +4 -5
  3. package/contracts/Governance/AccessControlledV8.sol +4 -6
  4. package/contracts/Governance/GovernorBravoDelegate.sol +67 -0
  5. package/contracts/Governance/GovernorBravoDelegator.sol +5 -0
  6. package/contracts/Governance/GovernorBravoInterfaces.sol +23 -2
  7. package/contracts/Governance/IAccessControlManagerV5.sol +5 -0
  8. package/contracts/Governance/IAccessControlManagerV8.sol +5 -0
  9. package/contracts/Governance/Timelock.sol +5 -0
  10. package/package.json +1 -1
  11. package/artifacts/@openzeppelin/contracts/access/AccessControl.sol/AccessControl.dbg.json +0 -4
  12. package/artifacts/@openzeppelin/contracts/access/AccessControl.sol/AccessControl.json +0 -215
  13. package/artifacts/@openzeppelin/contracts/access/IAccessControl.sol/IAccessControl.dbg.json +0 -4
  14. package/artifacts/@openzeppelin/contracts/access/IAccessControl.sol/IAccessControl.json +0 -183
  15. package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +0 -4
  16. package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.json +0 -10
  17. package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.dbg.json +0 -4
  18. package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.json +0 -10
  19. package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.dbg.json +0 -4
  20. package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.json +0 -30
  21. package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.dbg.json +0 -4
  22. package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.json +0 -30
  23. package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.dbg.json +0 -4
  24. package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.json +0 -10
  25. package/artifacts/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol/Ownable2StepUpgradeable.dbg.json +0 -4
  26. package/artifacts/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol/Ownable2StepUpgradeable.json +0 -115
  27. package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +0 -4
  28. package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.json +0 -76
  29. package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +0 -4
  30. package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.json +0 -24
  31. package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +0 -4
  32. package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.json +0 -10
  33. package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +0 -4
  34. package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.json +0 -24
  35. package/artifacts/@venusprotocol/venus-protocol/contracts/Governance/XVS.sol/Owned.dbg.json +0 -4
  36. package/artifacts/@venusprotocol/venus-protocol/contracts/Governance/XVS.sol/Owned.json +0 -66
  37. package/artifacts/@venusprotocol/venus-protocol/contracts/Governance/XVS.sol/Tokenlock.dbg.json +0 -4
  38. package/artifacts/@venusprotocol/venus-protocol/contracts/Governance/XVS.sol/Tokenlock.json +0 -90
  39. package/artifacts/@venusprotocol/venus-protocol/contracts/Governance/XVS.sol/XVS.dbg.json +0 -4
  40. package/artifacts/@venusprotocol/venus-protocol/contracts/Governance/XVS.sol/XVS.json +0 -618
  41. package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/Address.sol/Address.dbg.json +0 -4
  42. package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/Address.sol/Address.json +0 -10
  43. package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/ECDSA.sol/ECDSA.dbg.json +0 -4
  44. package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/ECDSA.sol/ECDSA.json +0 -10
  45. package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/IBEP20.sol/IBEP20.dbg.json +0 -4
  46. package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/IBEP20.sol/IBEP20.json +0 -206
  47. package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/SafeBEP20.sol/SafeBEP20.dbg.json +0 -4
  48. package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/SafeBEP20.sol/SafeBEP20.json +0 -10
  49. package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/SafeMath.sol/SafeMath.dbg.json +0 -4
  50. package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/SafeMath.sol/SafeMath.json +0 -10
  51. package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSStore.sol/XVSStore.dbg.json +0 -4
  52. package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSStore.sol/XVSStore.json +0 -244
  53. package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVault.sol/IXVSStore.dbg.json +0 -4
  54. package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVault.sol/IXVSStore.json +0 -56
  55. package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVault.sol/XVSVault.dbg.json +0 -4
  56. package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVault.sol/XVSVault.json +0 -1211
  57. package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultErrorReporter.sol/XVSVaultErrorReporter.dbg.json +0 -4
  58. package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultErrorReporter.sol/XVSVaultErrorReporter.json +0 -36
  59. package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultProxy.sol/XVSVaultProxy.dbg.json +0 -4
  60. package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultProxy.sol/XVSVaultProxy.json +0 -255
  61. package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultStorage.sol/XVSVaultAdminStorage.dbg.json +0 -4
  62. package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultStorage.sol/XVSVaultAdminStorage.json +0 -71
  63. package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultStorage.sol/XVSVaultStorage.dbg.json +0 -4
  64. package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultStorage.sol/XVSVaultStorage.json +0 -313
  65. package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultStorage.sol/XVSVaultStorageV1.dbg.json +0 -4
  66. package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultStorage.sol/XVSVaultStorageV1.json +0 -240
  67. package/artifacts/build-info/0ed8a45a04a58741f8391cb7a77f7ff9.json +0 -1
  68. package/artifacts/build-info/1659b7cff20ee8b7949bfbefa681db8b.json +0 -1
  69. package/artifacts/build-info/21eeeec59918770851ef762f6f414247.json +0 -1
  70. package/artifacts/build-info/60a7730a05f99cbf38891be24e3a5c77.json +0 -1
  71. package/artifacts/build-info/fa9891803c56b8a530ff515ffc45dc03.json +0 -1
  72. package/artifacts/contracts/Governance/AccessControlManager.sol/AccessControlManager.dbg.json +0 -4
  73. package/artifacts/contracts/Governance/AccessControlManager.sol/AccessControlManager.json +0 -369
  74. package/artifacts/contracts/Governance/AccessControlledV5.sol/AccessControlledV5.dbg.json +0 -4
  75. package/artifacts/contracts/Governance/AccessControlledV5.sol/AccessControlledV5.json +0 -45
  76. package/artifacts/contracts/Governance/AccessControlledV8.sol/AccessControlledV8.dbg.json +0 -4
  77. package/artifacts/contracts/Governance/AccessControlledV8.sol/AccessControlledV8.json +0 -181
  78. package/artifacts/contracts/Governance/GovernorBravoDelegate.sol/GovernorBravoDelegate.dbg.json +0 -4
  79. package/artifacts/contracts/Governance/GovernorBravoDelegate.sol/GovernorBravoDelegate.json +0 -1173
  80. package/artifacts/contracts/Governance/GovernorBravoDelegator.sol/GovernorBravoDelegator.dbg.json +0 -4
  81. package/artifacts/contracts/Governance/GovernorBravoDelegator.sol/GovernorBravoDelegator.json +0 -424
  82. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorAlphaInterface.dbg.json +0 -4
  83. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorAlphaInterface.json +0 -26
  84. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1.dbg.json +0 -4
  85. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1.json +0 -283
  86. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV2.dbg.json +0 -4
  87. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV2.json +0 -335
  88. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage.dbg.json +0 -4
  89. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage.json +0 -56
  90. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents.dbg.json +0 -4
  91. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents.json +0 -312
  92. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/TimelockInterface.dbg.json +0 -4
  93. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/TimelockInterface.json +0 -188
  94. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/XvsVaultInterface.dbg.json +0 -4
  95. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/XvsVaultInterface.json +0 -37
  96. package/artifacts/contracts/Governance/IAccessControlManagerV5.sol/IAccessControlManagerV5.dbg.json +0 -4
  97. package/artifacts/contracts/Governance/IAccessControlManagerV5.sol/IAccessControlManagerV5.json +0 -300
  98. package/artifacts/contracts/Governance/IAccessControlManagerV8.sol/IAccessControlManagerV8.dbg.json +0 -4
  99. package/artifacts/contracts/Governance/IAccessControlManagerV8.sol/IAccessControlManagerV8.json +0 -282
  100. package/artifacts/contracts/Governance/Timelock.sol/Timelock.dbg.json +0 -4
  101. package/artifacts/contracts/Governance/Timelock.sol/Timelock.json +0 -468
  102. package/artifacts/contracts/Utils/SafeMath.sol/SafeMath.dbg.json +0 -4
  103. package/artifacts/contracts/Utils/SafeMath.sol/SafeMath.json +0 -10
  104. package/artifacts/contracts/test/MockAccessTest.sol/MockAccessTest.dbg.json +0 -4
  105. package/artifacts/contracts/test/MockAccessTest.sol/MockAccessTest.json +0 -194
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/0ed8a45a04a58741f8391cb7a77f7ff9.json"
4
- }
@@ -1,369 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "AccessControlManager",
4
- "sourceName": "contracts/Governance/AccessControlManager.sol",
5
- "abi": [
6
- {
7
- "inputs": [],
8
- "stateMutability": "nonpayable",
9
- "type": "constructor"
10
- },
11
- {
12
- "anonymous": false,
13
- "inputs": [
14
- {
15
- "indexed": false,
16
- "internalType": "address",
17
- "name": "account",
18
- "type": "address"
19
- },
20
- {
21
- "indexed": false,
22
- "internalType": "address",
23
- "name": "contractAddress",
24
- "type": "address"
25
- },
26
- {
27
- "indexed": false,
28
- "internalType": "string",
29
- "name": "functionSig",
30
- "type": "string"
31
- }
32
- ],
33
- "name": "PermissionGranted",
34
- "type": "event"
35
- },
36
- {
37
- "anonymous": false,
38
- "inputs": [
39
- {
40
- "indexed": false,
41
- "internalType": "address",
42
- "name": "account",
43
- "type": "address"
44
- },
45
- {
46
- "indexed": false,
47
- "internalType": "address",
48
- "name": "contractAddress",
49
- "type": "address"
50
- },
51
- {
52
- "indexed": false,
53
- "internalType": "string",
54
- "name": "functionSig",
55
- "type": "string"
56
- }
57
- ],
58
- "name": "PermissionRevoked",
59
- "type": "event"
60
- },
61
- {
62
- "anonymous": false,
63
- "inputs": [
64
- {
65
- "indexed": true,
66
- "internalType": "bytes32",
67
- "name": "role",
68
- "type": "bytes32"
69
- },
70
- {
71
- "indexed": true,
72
- "internalType": "bytes32",
73
- "name": "previousAdminRole",
74
- "type": "bytes32"
75
- },
76
- {
77
- "indexed": true,
78
- "internalType": "bytes32",
79
- "name": "newAdminRole",
80
- "type": "bytes32"
81
- }
82
- ],
83
- "name": "RoleAdminChanged",
84
- "type": "event"
85
- },
86
- {
87
- "anonymous": false,
88
- "inputs": [
89
- {
90
- "indexed": true,
91
- "internalType": "bytes32",
92
- "name": "role",
93
- "type": "bytes32"
94
- },
95
- {
96
- "indexed": true,
97
- "internalType": "address",
98
- "name": "account",
99
- "type": "address"
100
- },
101
- {
102
- "indexed": true,
103
- "internalType": "address",
104
- "name": "sender",
105
- "type": "address"
106
- }
107
- ],
108
- "name": "RoleGranted",
109
- "type": "event"
110
- },
111
- {
112
- "anonymous": false,
113
- "inputs": [
114
- {
115
- "indexed": true,
116
- "internalType": "bytes32",
117
- "name": "role",
118
- "type": "bytes32"
119
- },
120
- {
121
- "indexed": true,
122
- "internalType": "address",
123
- "name": "account",
124
- "type": "address"
125
- },
126
- {
127
- "indexed": true,
128
- "internalType": "address",
129
- "name": "sender",
130
- "type": "address"
131
- }
132
- ],
133
- "name": "RoleRevoked",
134
- "type": "event"
135
- },
136
- {
137
- "inputs": [],
138
- "name": "DEFAULT_ADMIN_ROLE",
139
- "outputs": [
140
- {
141
- "internalType": "bytes32",
142
- "name": "",
143
- "type": "bytes32"
144
- }
145
- ],
146
- "stateMutability": "view",
147
- "type": "function"
148
- },
149
- {
150
- "inputs": [
151
- {
152
- "internalType": "bytes32",
153
- "name": "role",
154
- "type": "bytes32"
155
- }
156
- ],
157
- "name": "getRoleAdmin",
158
- "outputs": [
159
- {
160
- "internalType": "bytes32",
161
- "name": "",
162
- "type": "bytes32"
163
- }
164
- ],
165
- "stateMutability": "view",
166
- "type": "function"
167
- },
168
- {
169
- "inputs": [
170
- {
171
- "internalType": "address",
172
- "name": "contractAddress",
173
- "type": "address"
174
- },
175
- {
176
- "internalType": "string",
177
- "name": "functionSig",
178
- "type": "string"
179
- },
180
- {
181
- "internalType": "address",
182
- "name": "accountToPermit",
183
- "type": "address"
184
- }
185
- ],
186
- "name": "giveCallPermission",
187
- "outputs": [],
188
- "stateMutability": "nonpayable",
189
- "type": "function"
190
- },
191
- {
192
- "inputs": [
193
- {
194
- "internalType": "bytes32",
195
- "name": "role",
196
- "type": "bytes32"
197
- },
198
- {
199
- "internalType": "address",
200
- "name": "account",
201
- "type": "address"
202
- }
203
- ],
204
- "name": "grantRole",
205
- "outputs": [],
206
- "stateMutability": "nonpayable",
207
- "type": "function"
208
- },
209
- {
210
- "inputs": [
211
- {
212
- "internalType": "address",
213
- "name": "account",
214
- "type": "address"
215
- },
216
- {
217
- "internalType": "address",
218
- "name": "contractAddress",
219
- "type": "address"
220
- },
221
- {
222
- "internalType": "string",
223
- "name": "functionSig",
224
- "type": "string"
225
- }
226
- ],
227
- "name": "hasPermission",
228
- "outputs": [
229
- {
230
- "internalType": "bool",
231
- "name": "",
232
- "type": "bool"
233
- }
234
- ],
235
- "stateMutability": "view",
236
- "type": "function"
237
- },
238
- {
239
- "inputs": [
240
- {
241
- "internalType": "bytes32",
242
- "name": "role",
243
- "type": "bytes32"
244
- },
245
- {
246
- "internalType": "address",
247
- "name": "account",
248
- "type": "address"
249
- }
250
- ],
251
- "name": "hasRole",
252
- "outputs": [
253
- {
254
- "internalType": "bool",
255
- "name": "",
256
- "type": "bool"
257
- }
258
- ],
259
- "stateMutability": "view",
260
- "type": "function"
261
- },
262
- {
263
- "inputs": [
264
- {
265
- "internalType": "address",
266
- "name": "account",
267
- "type": "address"
268
- },
269
- {
270
- "internalType": "string",
271
- "name": "functionSig",
272
- "type": "string"
273
- }
274
- ],
275
- "name": "isAllowedToCall",
276
- "outputs": [
277
- {
278
- "internalType": "bool",
279
- "name": "",
280
- "type": "bool"
281
- }
282
- ],
283
- "stateMutability": "view",
284
- "type": "function"
285
- },
286
- {
287
- "inputs": [
288
- {
289
- "internalType": "bytes32",
290
- "name": "role",
291
- "type": "bytes32"
292
- },
293
- {
294
- "internalType": "address",
295
- "name": "account",
296
- "type": "address"
297
- }
298
- ],
299
- "name": "renounceRole",
300
- "outputs": [],
301
- "stateMutability": "nonpayable",
302
- "type": "function"
303
- },
304
- {
305
- "inputs": [
306
- {
307
- "internalType": "address",
308
- "name": "contractAddress",
309
- "type": "address"
310
- },
311
- {
312
- "internalType": "string",
313
- "name": "functionSig",
314
- "type": "string"
315
- },
316
- {
317
- "internalType": "address",
318
- "name": "accountToRevoke",
319
- "type": "address"
320
- }
321
- ],
322
- "name": "revokeCallPermission",
323
- "outputs": [],
324
- "stateMutability": "nonpayable",
325
- "type": "function"
326
- },
327
- {
328
- "inputs": [
329
- {
330
- "internalType": "bytes32",
331
- "name": "role",
332
- "type": "bytes32"
333
- },
334
- {
335
- "internalType": "address",
336
- "name": "account",
337
- "type": "address"
338
- }
339
- ],
340
- "name": "revokeRole",
341
- "outputs": [],
342
- "stateMutability": "nonpayable",
343
- "type": "function"
344
- },
345
- {
346
- "inputs": [
347
- {
348
- "internalType": "bytes4",
349
- "name": "interfaceId",
350
- "type": "bytes4"
351
- }
352
- ],
353
- "name": "supportsInterface",
354
- "outputs": [
355
- {
356
- "internalType": "bool",
357
- "name": "",
358
- "type": "bool"
359
- }
360
- ],
361
- "stateMutability": "view",
362
- "type": "function"
363
- }
364
- ],
365
- "bytecode": "0x608060405234801561001057600080fd5b5061001c600033610021565b6100cd565b61002b828261002f565b5050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1661002b576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556100893390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610f50806100dc6000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c8063545f7a321161008157806391d148541161005b57806391d148541461019b578063a217fddf146101df578063d547741f146101e757600080fd5b8063545f7a3214610162578063584f6b601461017557806382bfd0f01461018857600080fd5b8063248a9ca3116100b2578063248a9ca3146101095780632f2ff15d1461013a57806336568abe1461014f57600080fd5b806301ffc9a7146100ce57806318c5e8ab146100f6575b600080fd5b6100e16100dc366004610a74565b6101fa565b60405190151581526020015b60405180910390f35b6100e1610104366004610b28565b610293565b61012c610117366004610b7b565b60009081526020819052604090206001015490565b6040519081526020016100ed565b61014d610148366004610b94565b610368565b005b61014d61015d366004610b94565b610392565b61014d610170366004610bc0565b61044a565b61014d610183366004610bc0565b6104c7565b6100e1610196366004610c25565b610535565b6100e16101a9366004610b94565b60009182526020828152604080842073ffffffffffffffffffffffffffffffffffffffff93909316845291905290205460ff1690565b61012c600081565b61014d6101f5366004610b94565b61059f565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b00000000000000000000000000000000000000000000000000000000148061028d57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6000803384846040516020016102ab93929190610c86565b60408051601f198184030181529181528151602092830120600081815280845282812073ffffffffffffffffffffffffffffffffffffffff8a16825290935291205490915060ff1615610302576001915050610361565b6000848460405160200161031893929190610c86565b60408051808303601f190181529181528151602092830120600090815280835281812073ffffffffffffffffffffffffffffffffffffffff8916825290925290205460ff169150505b9392505050565b600082815260208190526040902060010154610383816105c4565b61038d83836105d1565b505050565b73ffffffffffffffffffffffffffffffffffffffff8116331461043c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c66000000000000000000000000000000000060648201526084015b60405180910390fd5b61044682826106c1565b5050565b600084848460405160200161046193929190610c86565b604051602081830303815290604052805190602001209050610483818361059f565b7f55426a61e90ac7d7d1fc886b67b420ade8c8b535e68d655394bc271e3a12b8e2828686866040516104b89493929190610cc5565b60405180910390a15050505050565b60008484846040516020016104de93929190610c86565b6040516020818303038152906040528051906020012090506105008183610368565b7f69c5ce2d658fea352a2464f87ffbe1f09746c918a91da0994044c3767d641b3f828686866040516104b89493929190610cc5565b60008084848460405160200161054d93929190610c86565b60408051601f198184030181529181528151602092830120600081815280845282812073ffffffffffffffffffffffffffffffffffffffff8b16825290935291205490915060ff169695505050505050565b6000828152602081905260409020600101546105ba816105c4565b61038d83836106c1565b6105ce8133610778565b50565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff166104465760008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff85168452909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556106633390565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff16156104465760008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516808552925280832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff16610446576107b681610812565b6107c1836020610831565b6040516020016107d2929190610d4f565b60408051601f19818403018152908290527f08c379a000000000000000000000000000000000000000000000000000000000825261043391600401610dd0565b606061028d73ffffffffffffffffffffffffffffffffffffffff831660145b60606000610840836002610e32565b61084b906002610e6f565b67ffffffffffffffff81111561086357610863610e87565b6040519080825280601f01601f19166020018201604052801561088d576020820181803683370190505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106108c4576108c4610eb6565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061092757610927610eb6565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000610963846002610e32565b61096e906001610e6f565b90505b6001811115610a0b577f303132333435363738396162636465660000000000000000000000000000000085600f16601081106109af576109af610eb6565b1a60f81b8282815181106109c5576109c5610eb6565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060049490941c93610a0481610ee5565b9050610971565b508315610361576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610433565b600060208284031215610a8657600080fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461036157600080fd5b803573ffffffffffffffffffffffffffffffffffffffff81168114610ada57600080fd5b919050565b60008083601f840112610af157600080fd5b50813567ffffffffffffffff811115610b0957600080fd5b602083019150836020828501011115610b2157600080fd5b9250929050565b600080600060408486031215610b3d57600080fd5b610b4684610ab6565b9250602084013567ffffffffffffffff811115610b6257600080fd5b610b6e86828701610adf565b9497909650939450505050565b600060208284031215610b8d57600080fd5b5035919050565b60008060408385031215610ba757600080fd5b82359150610bb760208401610ab6565b90509250929050565b60008060008060608587031215610bd657600080fd5b610bdf85610ab6565b9350602085013567ffffffffffffffff811115610bfb57600080fd5b610c0787828801610adf565b9094509250610c1a905060408601610ab6565b905092959194509250565b60008060008060608587031215610c3b57600080fd5b610c4485610ab6565b9350610c5260208601610ab6565b9250604085013567ffffffffffffffff811115610c6e57600080fd5b610c7a87828801610adf565b95989497509550505050565b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008460601b168152818360148301376000910160140190815292915050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060606040830152826060830152828460808401376000608084840101526080601f19601f850116830101905095945050505050565b60005b83811015610d3a578181015183820152602001610d22565b83811115610d49576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351610d87816017850160208801610d1f565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351610dc4816028840160208801610d1f565b01602801949350505050565b6020815260008251806020840152610def816040850160208701610d1f565b601f01601f19169190910160400192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610e6a57610e6a610e03565b500290565b60008219821115610e8257610e82610e03565b500190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081610ef457610ef4610e03565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff019056fea264697066735822122078292e954b45a1cc5dd927eb56a1f1d4f9eccff9d29c06c6425d7d7741509dc264736f6c634300080d0033",
366
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100c95760003560e01c8063545f7a321161008157806391d148541161005b57806391d148541461019b578063a217fddf146101df578063d547741f146101e757600080fd5b8063545f7a3214610162578063584f6b601461017557806382bfd0f01461018857600080fd5b8063248a9ca3116100b2578063248a9ca3146101095780632f2ff15d1461013a57806336568abe1461014f57600080fd5b806301ffc9a7146100ce57806318c5e8ab146100f6575b600080fd5b6100e16100dc366004610a74565b6101fa565b60405190151581526020015b60405180910390f35b6100e1610104366004610b28565b610293565b61012c610117366004610b7b565b60009081526020819052604090206001015490565b6040519081526020016100ed565b61014d610148366004610b94565b610368565b005b61014d61015d366004610b94565b610392565b61014d610170366004610bc0565b61044a565b61014d610183366004610bc0565b6104c7565b6100e1610196366004610c25565b610535565b6100e16101a9366004610b94565b60009182526020828152604080842073ffffffffffffffffffffffffffffffffffffffff93909316845291905290205460ff1690565b61012c600081565b61014d6101f5366004610b94565b61059f565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b00000000000000000000000000000000000000000000000000000000148061028d57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6000803384846040516020016102ab93929190610c86565b60408051601f198184030181529181528151602092830120600081815280845282812073ffffffffffffffffffffffffffffffffffffffff8a16825290935291205490915060ff1615610302576001915050610361565b6000848460405160200161031893929190610c86565b60408051808303601f190181529181528151602092830120600090815280835281812073ffffffffffffffffffffffffffffffffffffffff8916825290925290205460ff169150505b9392505050565b600082815260208190526040902060010154610383816105c4565b61038d83836105d1565b505050565b73ffffffffffffffffffffffffffffffffffffffff8116331461043c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c66000000000000000000000000000000000060648201526084015b60405180910390fd5b61044682826106c1565b5050565b600084848460405160200161046193929190610c86565b604051602081830303815290604052805190602001209050610483818361059f565b7f55426a61e90ac7d7d1fc886b67b420ade8c8b535e68d655394bc271e3a12b8e2828686866040516104b89493929190610cc5565b60405180910390a15050505050565b60008484846040516020016104de93929190610c86565b6040516020818303038152906040528051906020012090506105008183610368565b7f69c5ce2d658fea352a2464f87ffbe1f09746c918a91da0994044c3767d641b3f828686866040516104b89493929190610cc5565b60008084848460405160200161054d93929190610c86565b60408051601f198184030181529181528151602092830120600081815280845282812073ffffffffffffffffffffffffffffffffffffffff8b16825290935291205490915060ff169695505050505050565b6000828152602081905260409020600101546105ba816105c4565b61038d83836106c1565b6105ce8133610778565b50565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff166104465760008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff85168452909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556106633390565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff16156104465760008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516808552925280832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff16610446576107b681610812565b6107c1836020610831565b6040516020016107d2929190610d4f565b60408051601f19818403018152908290527f08c379a000000000000000000000000000000000000000000000000000000000825261043391600401610dd0565b606061028d73ffffffffffffffffffffffffffffffffffffffff831660145b60606000610840836002610e32565b61084b906002610e6f565b67ffffffffffffffff81111561086357610863610e87565b6040519080825280601f01601f19166020018201604052801561088d576020820181803683370190505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106108c4576108c4610eb6565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061092757610927610eb6565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000610963846002610e32565b61096e906001610e6f565b90505b6001811115610a0b577f303132333435363738396162636465660000000000000000000000000000000085600f16601081106109af576109af610eb6565b1a60f81b8282815181106109c5576109c5610eb6565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060049490941c93610a0481610ee5565b9050610971565b508315610361576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610433565b600060208284031215610a8657600080fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461036157600080fd5b803573ffffffffffffffffffffffffffffffffffffffff81168114610ada57600080fd5b919050565b60008083601f840112610af157600080fd5b50813567ffffffffffffffff811115610b0957600080fd5b602083019150836020828501011115610b2157600080fd5b9250929050565b600080600060408486031215610b3d57600080fd5b610b4684610ab6565b9250602084013567ffffffffffffffff811115610b6257600080fd5b610b6e86828701610adf565b9497909650939450505050565b600060208284031215610b8d57600080fd5b5035919050565b60008060408385031215610ba757600080fd5b82359150610bb760208401610ab6565b90509250929050565b60008060008060608587031215610bd657600080fd5b610bdf85610ab6565b9350602085013567ffffffffffffffff811115610bfb57600080fd5b610c0787828801610adf565b9094509250610c1a905060408601610ab6565b905092959194509250565b60008060008060608587031215610c3b57600080fd5b610c4485610ab6565b9350610c5260208601610ab6565b9250604085013567ffffffffffffffff811115610c6e57600080fd5b610c7a87828801610adf565b95989497509550505050565b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008460601b168152818360148301376000910160140190815292915050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060606040830152826060830152828460808401376000608084840101526080601f19601f850116830101905095945050505050565b60005b83811015610d3a578181015183820152602001610d22565b83811115610d49576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351610d87816017850160208801610d1f565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351610dc4816028840160208801610d1f565b01602801949350505050565b6020815260008251806020840152610def816040850160208701610d1f565b601f01601f19169190910160400192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610e6a57610e6a610e03565b500290565b60008219821115610e8257610e82610e03565b500190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081610ef457610ef4610e03565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff019056fea264697066735822122078292e954b45a1cc5dd927eb56a1f1d4f9eccff9d29c06c6425d7d7741509dc264736f6c634300080d0033",
367
- "linkReferences": {},
368
- "deployedLinkReferences": {}
369
- }
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/21eeeec59918770851ef762f6f414247.json"
4
- }
@@ -1,45 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "AccessControlledV5",
4
- "sourceName": "contracts/Governance/AccessControlledV5.sol",
5
- "abi": [
6
- {
7
- "anonymous": false,
8
- "inputs": [
9
- {
10
- "indexed": false,
11
- "internalType": "address",
12
- "name": "oldAccessControlManager",
13
- "type": "address"
14
- },
15
- {
16
- "indexed": false,
17
- "internalType": "address",
18
- "name": "newAccessControlManager",
19
- "type": "address"
20
- }
21
- ],
22
- "name": "NewAccessControlManager",
23
- "type": "event"
24
- },
25
- {
26
- "constant": true,
27
- "inputs": [],
28
- "name": "accessControlManager",
29
- "outputs": [
30
- {
31
- "internalType": "contract IAccessControlManagerV5",
32
- "name": "",
33
- "type": "address"
34
- }
35
- ],
36
- "payable": false,
37
- "stateMutability": "view",
38
- "type": "function"
39
- }
40
- ],
41
- "bytecode": "0x6080604052348015600f57600080fd5b5060938061001e6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c8063b4a0bdf314602d575b600080fd5b6033604f565b604080516001600160a01b039092168252519081900360200190f35b6000546001600160a01b03169056fea265627a7a723158208f12831b54e73efd9b7fb82419368132897ed4e2f8fc35352c59a3ea9596b8b064736f6c63430005100032",
42
- "deployedBytecode": "0x6080604052348015600f57600080fd5b506004361060285760003560e01c8063b4a0bdf314602d575b600080fd5b6033604f565b604080516001600160a01b039092168252519081900360200190f35b6000546001600160a01b03169056fea265627a7a723158208f12831b54e73efd9b7fb82419368132897ed4e2f8fc35352c59a3ea9596b8b064736f6c63430005100032",
43
- "linkReferences": {},
44
- "deployedLinkReferences": {}
45
- }
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/0ed8a45a04a58741f8391cb7a77f7ff9.json"
4
- }
@@ -1,181 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "AccessControlledV8",
4
- "sourceName": "contracts/Governance/AccessControlledV8.sol",
5
- "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "sender",
11
- "type": "address"
12
- },
13
- {
14
- "internalType": "address",
15
- "name": "calledContract",
16
- "type": "address"
17
- },
18
- {
19
- "internalType": "string",
20
- "name": "methodSignature",
21
- "type": "string"
22
- }
23
- ],
24
- "name": "Unauthorized",
25
- "type": "error"
26
- },
27
- {
28
- "anonymous": false,
29
- "inputs": [
30
- {
31
- "indexed": false,
32
- "internalType": "uint8",
33
- "name": "version",
34
- "type": "uint8"
35
- }
36
- ],
37
- "name": "Initialized",
38
- "type": "event"
39
- },
40
- {
41
- "anonymous": false,
42
- "inputs": [
43
- {
44
- "indexed": false,
45
- "internalType": "address",
46
- "name": "oldAccessControlManager",
47
- "type": "address"
48
- },
49
- {
50
- "indexed": false,
51
- "internalType": "address",
52
- "name": "newAccessControlManager",
53
- "type": "address"
54
- }
55
- ],
56
- "name": "NewAccessControlManager",
57
- "type": "event"
58
- },
59
- {
60
- "anonymous": false,
61
- "inputs": [
62
- {
63
- "indexed": true,
64
- "internalType": "address",
65
- "name": "previousOwner",
66
- "type": "address"
67
- },
68
- {
69
- "indexed": true,
70
- "internalType": "address",
71
- "name": "newOwner",
72
- "type": "address"
73
- }
74
- ],
75
- "name": "OwnershipTransferStarted",
76
- "type": "event"
77
- },
78
- {
79
- "anonymous": false,
80
- "inputs": [
81
- {
82
- "indexed": true,
83
- "internalType": "address",
84
- "name": "previousOwner",
85
- "type": "address"
86
- },
87
- {
88
- "indexed": true,
89
- "internalType": "address",
90
- "name": "newOwner",
91
- "type": "address"
92
- }
93
- ],
94
- "name": "OwnershipTransferred",
95
- "type": "event"
96
- },
97
- {
98
- "inputs": [],
99
- "name": "acceptOwnership",
100
- "outputs": [],
101
- "stateMutability": "nonpayable",
102
- "type": "function"
103
- },
104
- {
105
- "inputs": [],
106
- "name": "accessControlManager",
107
- "outputs": [
108
- {
109
- "internalType": "contract IAccessControlManagerV8",
110
- "name": "",
111
- "type": "address"
112
- }
113
- ],
114
- "stateMutability": "view",
115
- "type": "function"
116
- },
117
- {
118
- "inputs": [],
119
- "name": "owner",
120
- "outputs": [
121
- {
122
- "internalType": "address",
123
- "name": "",
124
- "type": "address"
125
- }
126
- ],
127
- "stateMutability": "view",
128
- "type": "function"
129
- },
130
- {
131
- "inputs": [],
132
- "name": "pendingOwner",
133
- "outputs": [
134
- {
135
- "internalType": "address",
136
- "name": "",
137
- "type": "address"
138
- }
139
- ],
140
- "stateMutability": "view",
141
- "type": "function"
142
- },
143
- {
144
- "inputs": [],
145
- "name": "renounceOwnership",
146
- "outputs": [],
147
- "stateMutability": "nonpayable",
148
- "type": "function"
149
- },
150
- {
151
- "inputs": [
152
- {
153
- "internalType": "address",
154
- "name": "accessControlManager_",
155
- "type": "address"
156
- }
157
- ],
158
- "name": "setAccessControlManager",
159
- "outputs": [],
160
- "stateMutability": "nonpayable",
161
- "type": "function"
162
- },
163
- {
164
- "inputs": [
165
- {
166
- "internalType": "address",
167
- "name": "newOwner",
168
- "type": "address"
169
- }
170
- ],
171
- "name": "transferOwnership",
172
- "outputs": [],
173
- "stateMutability": "nonpayable",
174
- "type": "function"
175
- }
176
- ],
177
- "bytecode": "0x",
178
- "deployedBytecode": "0x",
179
- "linkReferences": {},
180
- "deployedLinkReferences": {}
181
- }
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/fa9891803c56b8a530ff515ffc45dc03.json"
4
- }