@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,283 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "GovernorBravoDelegateStorageV1",
4
- "sourceName": "contracts/Governance/GovernorBravoInterfaces.sol",
5
- "abi": [
6
- {
7
- "constant": true,
8
- "inputs": [],
9
- "name": "admin",
10
- "outputs": [
11
- {
12
- "internalType": "address",
13
- "name": "",
14
- "type": "address"
15
- }
16
- ],
17
- "payable": false,
18
- "stateMutability": "view",
19
- "type": "function"
20
- },
21
- {
22
- "constant": true,
23
- "inputs": [],
24
- "name": "guardian",
25
- "outputs": [
26
- {
27
- "internalType": "address",
28
- "name": "",
29
- "type": "address"
30
- }
31
- ],
32
- "payable": false,
33
- "stateMutability": "view",
34
- "type": "function"
35
- },
36
- {
37
- "constant": true,
38
- "inputs": [],
39
- "name": "implementation",
40
- "outputs": [
41
- {
42
- "internalType": "address",
43
- "name": "",
44
- "type": "address"
45
- }
46
- ],
47
- "payable": false,
48
- "stateMutability": "view",
49
- "type": "function"
50
- },
51
- {
52
- "constant": true,
53
- "inputs": [],
54
- "name": "initialProposalId",
55
- "outputs": [
56
- {
57
- "internalType": "uint256",
58
- "name": "",
59
- "type": "uint256"
60
- }
61
- ],
62
- "payable": false,
63
- "stateMutability": "view",
64
- "type": "function"
65
- },
66
- {
67
- "constant": true,
68
- "inputs": [
69
- {
70
- "internalType": "address",
71
- "name": "",
72
- "type": "address"
73
- }
74
- ],
75
- "name": "latestProposalIds",
76
- "outputs": [
77
- {
78
- "internalType": "uint256",
79
- "name": "",
80
- "type": "uint256"
81
- }
82
- ],
83
- "payable": false,
84
- "stateMutability": "view",
85
- "type": "function"
86
- },
87
- {
88
- "constant": true,
89
- "inputs": [],
90
- "name": "pendingAdmin",
91
- "outputs": [
92
- {
93
- "internalType": "address",
94
- "name": "",
95
- "type": "address"
96
- }
97
- ],
98
- "payable": false,
99
- "stateMutability": "view",
100
- "type": "function"
101
- },
102
- {
103
- "constant": true,
104
- "inputs": [],
105
- "name": "proposalCount",
106
- "outputs": [
107
- {
108
- "internalType": "uint256",
109
- "name": "",
110
- "type": "uint256"
111
- }
112
- ],
113
- "payable": false,
114
- "stateMutability": "view",
115
- "type": "function"
116
- },
117
- {
118
- "constant": true,
119
- "inputs": [],
120
- "name": "proposalMaxOperations",
121
- "outputs": [
122
- {
123
- "internalType": "uint256",
124
- "name": "",
125
- "type": "uint256"
126
- }
127
- ],
128
- "payable": false,
129
- "stateMutability": "view",
130
- "type": "function"
131
- },
132
- {
133
- "constant": true,
134
- "inputs": [],
135
- "name": "proposalThreshold",
136
- "outputs": [
137
- {
138
- "internalType": "uint256",
139
- "name": "",
140
- "type": "uint256"
141
- }
142
- ],
143
- "payable": false,
144
- "stateMutability": "view",
145
- "type": "function"
146
- },
147
- {
148
- "constant": true,
149
- "inputs": [
150
- {
151
- "internalType": "uint256",
152
- "name": "",
153
- "type": "uint256"
154
- }
155
- ],
156
- "name": "proposals",
157
- "outputs": [
158
- {
159
- "internalType": "uint256",
160
- "name": "id",
161
- "type": "uint256"
162
- },
163
- {
164
- "internalType": "address",
165
- "name": "proposer",
166
- "type": "address"
167
- },
168
- {
169
- "internalType": "uint256",
170
- "name": "eta",
171
- "type": "uint256"
172
- },
173
- {
174
- "internalType": "uint256",
175
- "name": "startBlock",
176
- "type": "uint256"
177
- },
178
- {
179
- "internalType": "uint256",
180
- "name": "endBlock",
181
- "type": "uint256"
182
- },
183
- {
184
- "internalType": "uint256",
185
- "name": "forVotes",
186
- "type": "uint256"
187
- },
188
- {
189
- "internalType": "uint256",
190
- "name": "againstVotes",
191
- "type": "uint256"
192
- },
193
- {
194
- "internalType": "uint256",
195
- "name": "abstainVotes",
196
- "type": "uint256"
197
- },
198
- {
199
- "internalType": "bool",
200
- "name": "canceled",
201
- "type": "bool"
202
- },
203
- {
204
- "internalType": "bool",
205
- "name": "executed",
206
- "type": "bool"
207
- },
208
- {
209
- "internalType": "uint8",
210
- "name": "proposalType",
211
- "type": "uint8"
212
- }
213
- ],
214
- "payable": false,
215
- "stateMutability": "view",
216
- "type": "function"
217
- },
218
- {
219
- "constant": true,
220
- "inputs": [],
221
- "name": "timelock",
222
- "outputs": [
223
- {
224
- "internalType": "contract TimelockInterface",
225
- "name": "",
226
- "type": "address"
227
- }
228
- ],
229
- "payable": false,
230
- "stateMutability": "view",
231
- "type": "function"
232
- },
233
- {
234
- "constant": true,
235
- "inputs": [],
236
- "name": "votingDelay",
237
- "outputs": [
238
- {
239
- "internalType": "uint256",
240
- "name": "",
241
- "type": "uint256"
242
- }
243
- ],
244
- "payable": false,
245
- "stateMutability": "view",
246
- "type": "function"
247
- },
248
- {
249
- "constant": true,
250
- "inputs": [],
251
- "name": "votingPeriod",
252
- "outputs": [
253
- {
254
- "internalType": "uint256",
255
- "name": "",
256
- "type": "uint256"
257
- }
258
- ],
259
- "payable": false,
260
- "stateMutability": "view",
261
- "type": "function"
262
- },
263
- {
264
- "constant": true,
265
- "inputs": [],
266
- "name": "xvsVault",
267
- "outputs": [
268
- {
269
- "internalType": "contract XvsVaultInterface",
270
- "name": "",
271
- "type": "address"
272
- }
273
- ],
274
- "payable": false,
275
- "stateMutability": "view",
276
- "type": "function"
277
- }
278
- ],
279
- "bytecode": "0x608060405234801561001057600080fd5b506104ac806100206000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80635c60da1b1161008c578063d33219b411610066578063d33219b41461019c578063da35c664146101a4578063f851a440146101ac578063fc4eee42146101b4576100ea565b80635c60da1b146101845780637bdbe4d01461018c578063b58131b014610194576100ea565b80631b9ce575116100c85780631b9ce5751461014a578063267822471461015f5780633932abb114610174578063452a93201461017c576100ea565b8063013cf08b146100ef57806302a251a31461012257806317977c6114610137575b600080fd5b6101026100fd3660046102fa565b6101bc565b6040516101199b9a99989796959493929190610375565b60405180910390f35b61012a610228565b6040516101199190610367565b61012a6101453660046102d4565b61022e565b610152610240565b6040516101199190610359565b61016761024f565b604051610119919061034b565b61012a61025e565b610167610264565b610167610273565b61012a610282565b61012a610288565b61015261028e565b61012a61029d565b6101676102a3565b61012a6102b2565b600a60208190526000918252604090912080546001820154600283015460078401546008850154600986015496860154600b870154600c880154600e9098015496986001600160a01b039096169794969395929492939192909160ff808316926101009004811691168b565b60045481565b600b6020526000908152604090205481565b6009546001600160a01b031681565b6001546001600160a01b031681565b60035481565b600d546001600160a01b031681565b6002546001600160a01b031681565b600c5481565b60055481565b6008546001600160a01b031681565b60075481565b6000546001600160a01b031681565b60065481565b80356102c381610449565b92915050565b80356102c381610460565b6000602082840312156102e657600080fd5b60006102f284846102b8565b949350505050565b60006020828403121561030c57600080fd5b60006102f284846102c9565b61032181610419565b82525050565b61032181610424565b6103218161043e565b61032181610435565b61032181610438565b602081016102c38284610318565b602081016102c38284610330565b602081016102c38284610339565b6101608101610384828e610339565b610391602083018d610318565b61039e604083018c610339565b6103ab606083018b610339565b6103b8608083018a610339565b6103c560a0830189610339565b6103d260c0830188610339565b6103df60e0830187610339565b6103ed610100830186610327565b6103fb610120830185610327565b610409610140830184610342565b9c9b505050505050505050505050565b60006102c382610429565b151590565b6001600160a01b031690565b90565b60ff1690565b60006102c382610419565b61045281610419565b811461045d57600080fd5b50565b6104528161043556fea365627a7a723158203b29aa793e66b78e20dd7fe2c4df15abc81a65bf7541aa01e67d750b1d8295236c6578706572696d656e74616cf564736f6c63430005100040",
280
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c80635c60da1b1161008c578063d33219b411610066578063d33219b41461019c578063da35c664146101a4578063f851a440146101ac578063fc4eee42146101b4576100ea565b80635c60da1b146101845780637bdbe4d01461018c578063b58131b014610194576100ea565b80631b9ce575116100c85780631b9ce5751461014a578063267822471461015f5780633932abb114610174578063452a93201461017c576100ea565b8063013cf08b146100ef57806302a251a31461012257806317977c6114610137575b600080fd5b6101026100fd3660046102fa565b6101bc565b6040516101199b9a99989796959493929190610375565b60405180910390f35b61012a610228565b6040516101199190610367565b61012a6101453660046102d4565b61022e565b610152610240565b6040516101199190610359565b61016761024f565b604051610119919061034b565b61012a61025e565b610167610264565b610167610273565b61012a610282565b61012a610288565b61015261028e565b61012a61029d565b6101676102a3565b61012a6102b2565b600a60208190526000918252604090912080546001820154600283015460078401546008850154600986015496860154600b870154600c880154600e9098015496986001600160a01b039096169794969395929492939192909160ff808316926101009004811691168b565b60045481565b600b6020526000908152604090205481565b6009546001600160a01b031681565b6001546001600160a01b031681565b60035481565b600d546001600160a01b031681565b6002546001600160a01b031681565b600c5481565b60055481565b6008546001600160a01b031681565b60075481565b6000546001600160a01b031681565b60065481565b80356102c381610449565b92915050565b80356102c381610460565b6000602082840312156102e657600080fd5b60006102f284846102b8565b949350505050565b60006020828403121561030c57600080fd5b60006102f284846102c9565b61032181610419565b82525050565b61032181610424565b6103218161043e565b61032181610435565b61032181610438565b602081016102c38284610318565b602081016102c38284610330565b602081016102c38284610339565b6101608101610384828e610339565b610391602083018d610318565b61039e604083018c610339565b6103ab606083018b610339565b6103b8608083018a610339565b6103c560a0830189610339565b6103d260c0830188610339565b6103df60e0830187610339565b6103ed610100830186610327565b6103fb610120830185610327565b610409610140830184610342565b9c9b505050505050505050505050565b60006102c382610429565b151590565b6001600160a01b031690565b90565b60ff1690565b60006102c382610419565b61045281610419565b811461045d57600080fd5b50565b6104528161043556fea365627a7a723158203b29aa793e66b78e20dd7fe2c4df15abc81a65bf7541aa01e67d750b1d8295236c6578706572696d656e74616cf564736f6c63430005100040",
281
- "linkReferences": {},
282
- "deployedLinkReferences": {}
283
- }
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/fa9891803c56b8a530ff515ffc45dc03.json"
4
- }
@@ -1,335 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "GovernorBravoDelegateStorageV2",
4
- "sourceName": "contracts/Governance/GovernorBravoInterfaces.sol",
5
- "abi": [
6
- {
7
- "constant": true,
8
- "inputs": [],
9
- "name": "admin",
10
- "outputs": [
11
- {
12
- "internalType": "address",
13
- "name": "",
14
- "type": "address"
15
- }
16
- ],
17
- "payable": false,
18
- "stateMutability": "view",
19
- "type": "function"
20
- },
21
- {
22
- "constant": true,
23
- "inputs": [],
24
- "name": "guardian",
25
- "outputs": [
26
- {
27
- "internalType": "address",
28
- "name": "",
29
- "type": "address"
30
- }
31
- ],
32
- "payable": false,
33
- "stateMutability": "view",
34
- "type": "function"
35
- },
36
- {
37
- "constant": true,
38
- "inputs": [],
39
- "name": "implementation",
40
- "outputs": [
41
- {
42
- "internalType": "address",
43
- "name": "",
44
- "type": "address"
45
- }
46
- ],
47
- "payable": false,
48
- "stateMutability": "view",
49
- "type": "function"
50
- },
51
- {
52
- "constant": true,
53
- "inputs": [],
54
- "name": "initialProposalId",
55
- "outputs": [
56
- {
57
- "internalType": "uint256",
58
- "name": "",
59
- "type": "uint256"
60
- }
61
- ],
62
- "payable": false,
63
- "stateMutability": "view",
64
- "type": "function"
65
- },
66
- {
67
- "constant": true,
68
- "inputs": [
69
- {
70
- "internalType": "address",
71
- "name": "",
72
- "type": "address"
73
- }
74
- ],
75
- "name": "latestProposalIds",
76
- "outputs": [
77
- {
78
- "internalType": "uint256",
79
- "name": "",
80
- "type": "uint256"
81
- }
82
- ],
83
- "payable": false,
84
- "stateMutability": "view",
85
- "type": "function"
86
- },
87
- {
88
- "constant": true,
89
- "inputs": [],
90
- "name": "pendingAdmin",
91
- "outputs": [
92
- {
93
- "internalType": "address",
94
- "name": "",
95
- "type": "address"
96
- }
97
- ],
98
- "payable": false,
99
- "stateMutability": "view",
100
- "type": "function"
101
- },
102
- {
103
- "constant": true,
104
- "inputs": [
105
- {
106
- "internalType": "uint256",
107
- "name": "",
108
- "type": "uint256"
109
- }
110
- ],
111
- "name": "proposalConfigs",
112
- "outputs": [
113
- {
114
- "internalType": "uint256",
115
- "name": "votingDelay",
116
- "type": "uint256"
117
- },
118
- {
119
- "internalType": "uint256",
120
- "name": "votingPeriod",
121
- "type": "uint256"
122
- },
123
- {
124
- "internalType": "uint256",
125
- "name": "proposalThreshold",
126
- "type": "uint256"
127
- }
128
- ],
129
- "payable": false,
130
- "stateMutability": "view",
131
- "type": "function"
132
- },
133
- {
134
- "constant": true,
135
- "inputs": [],
136
- "name": "proposalCount",
137
- "outputs": [
138
- {
139
- "internalType": "uint256",
140
- "name": "",
141
- "type": "uint256"
142
- }
143
- ],
144
- "payable": false,
145
- "stateMutability": "view",
146
- "type": "function"
147
- },
148
- {
149
- "constant": true,
150
- "inputs": [],
151
- "name": "proposalMaxOperations",
152
- "outputs": [
153
- {
154
- "internalType": "uint256",
155
- "name": "",
156
- "type": "uint256"
157
- }
158
- ],
159
- "payable": false,
160
- "stateMutability": "view",
161
- "type": "function"
162
- },
163
- {
164
- "constant": true,
165
- "inputs": [],
166
- "name": "proposalThreshold",
167
- "outputs": [
168
- {
169
- "internalType": "uint256",
170
- "name": "",
171
- "type": "uint256"
172
- }
173
- ],
174
- "payable": false,
175
- "stateMutability": "view",
176
- "type": "function"
177
- },
178
- {
179
- "constant": true,
180
- "inputs": [
181
- {
182
- "internalType": "uint256",
183
- "name": "",
184
- "type": "uint256"
185
- }
186
- ],
187
- "name": "proposalTimelocks",
188
- "outputs": [
189
- {
190
- "internalType": "contract TimelockInterface",
191
- "name": "",
192
- "type": "address"
193
- }
194
- ],
195
- "payable": false,
196
- "stateMutability": "view",
197
- "type": "function"
198
- },
199
- {
200
- "constant": true,
201
- "inputs": [
202
- {
203
- "internalType": "uint256",
204
- "name": "",
205
- "type": "uint256"
206
- }
207
- ],
208
- "name": "proposals",
209
- "outputs": [
210
- {
211
- "internalType": "uint256",
212
- "name": "id",
213
- "type": "uint256"
214
- },
215
- {
216
- "internalType": "address",
217
- "name": "proposer",
218
- "type": "address"
219
- },
220
- {
221
- "internalType": "uint256",
222
- "name": "eta",
223
- "type": "uint256"
224
- },
225
- {
226
- "internalType": "uint256",
227
- "name": "startBlock",
228
- "type": "uint256"
229
- },
230
- {
231
- "internalType": "uint256",
232
- "name": "endBlock",
233
- "type": "uint256"
234
- },
235
- {
236
- "internalType": "uint256",
237
- "name": "forVotes",
238
- "type": "uint256"
239
- },
240
- {
241
- "internalType": "uint256",
242
- "name": "againstVotes",
243
- "type": "uint256"
244
- },
245
- {
246
- "internalType": "uint256",
247
- "name": "abstainVotes",
248
- "type": "uint256"
249
- },
250
- {
251
- "internalType": "bool",
252
- "name": "canceled",
253
- "type": "bool"
254
- },
255
- {
256
- "internalType": "bool",
257
- "name": "executed",
258
- "type": "bool"
259
- },
260
- {
261
- "internalType": "uint8",
262
- "name": "proposalType",
263
- "type": "uint8"
264
- }
265
- ],
266
- "payable": false,
267
- "stateMutability": "view",
268
- "type": "function"
269
- },
270
- {
271
- "constant": true,
272
- "inputs": [],
273
- "name": "timelock",
274
- "outputs": [
275
- {
276
- "internalType": "contract TimelockInterface",
277
- "name": "",
278
- "type": "address"
279
- }
280
- ],
281
- "payable": false,
282
- "stateMutability": "view",
283
- "type": "function"
284
- },
285
- {
286
- "constant": true,
287
- "inputs": [],
288
- "name": "votingDelay",
289
- "outputs": [
290
- {
291
- "internalType": "uint256",
292
- "name": "",
293
- "type": "uint256"
294
- }
295
- ],
296
- "payable": false,
297
- "stateMutability": "view",
298
- "type": "function"
299
- },
300
- {
301
- "constant": true,
302
- "inputs": [],
303
- "name": "votingPeriod",
304
- "outputs": [
305
- {
306
- "internalType": "uint256",
307
- "name": "",
308
- "type": "uint256"
309
- }
310
- ],
311
- "payable": false,
312
- "stateMutability": "view",
313
- "type": "function"
314
- },
315
- {
316
- "constant": true,
317
- "inputs": [],
318
- "name": "xvsVault",
319
- "outputs": [
320
- {
321
- "internalType": "contract XvsVaultInterface",
322
- "name": "",
323
- "type": "address"
324
- }
325
- ],
326
- "payable": false,
327
- "stateMutability": "view",
328
- "type": "function"
329
- }
330
- ],
331
- "bytecode": "0x608060405234801561001057600080fd5b5061055b806100206000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80635c60da1b11610097578063da35c66411610066578063da35c664146101dc578063ee9799ee146101e4578063f851a440146101f7578063fc4eee42146101ff57610100565b80635c60da1b146101bc5780637bdbe4d0146101c4578063b58131b0146101cc578063d33219b4146101d457610100565b806326782247116100d3578063267822471461017557806335a87de21461018a5780633932abb1146101ac578063452a9320146101b457610100565b8063013cf08b1461010557806302a251a31461013857806317977c611461014d5780631b9ce57514610160575b600080fd5b610118610113366004610381565b610207565b60405161012f9b9a999897969594939291906103fc565b60405180910390f35b610140610273565b60405161012f91906103ee565b61014061015b36600461035b565b610279565b61016861028b565b60405161012f91906103e0565b61017d61029a565b60405161012f91906103d2565b61019d610198366004610381565b6102a9565b60405161012f939291906104a0565b6101406102ca565b61017d6102d0565b61017d6102df565b6101406102ee565b6101406102f4565b6101686102fa565b610140610309565b6101686101f2366004610381565b61030f565b61017d61032a565b610140610339565b600a60208190526000918252604090912080546001820154600283015460078401546008850154600986015496860154600b870154600c880154600e9098015496986001600160a01b039096169794969395929492939192909160ff808316926101009004811691168b565b60045481565b600b6020526000908152604090205481565b6009546001600160a01b031681565b6001546001600160a01b031681565b600e6020526000908152604090208054600182015460029092015490919083565b60035481565b600d546001600160a01b031681565b6002546001600160a01b031681565b600c5481565b60055481565b6008546001600160a01b031681565b60075481565b600f602052600090815260409020546001600160a01b031681565b6000546001600160a01b031681565b60065481565b803561034a816104f8565b92915050565b803561034a8161050f565b60006020828403121561036d57600080fd5b6000610379848461033f565b949350505050565b60006020828403121561039357600080fd5b60006103798484610350565b6103a8816104c8565b82525050565b6103a8816104d3565b6103a8816104ed565b6103a8816104e4565b6103a8816104e7565b6020810161034a828461039f565b6020810161034a82846103b7565b6020810161034a82846103c0565b610160810161040b828e6103c0565b610418602083018d61039f565b610425604083018c6103c0565b610432606083018b6103c0565b61043f608083018a6103c0565b61044c60a08301896103c0565b61045960c08301886103c0565b61046660e08301876103c0565b6104746101008301866103ae565b6104826101208301856103ae565b6104906101408301846103c9565b9c9b505050505050505050505050565b606081016104ae82866103c0565b6104bb60208301856103c0565b61037960408301846103c0565b600061034a826104d8565b151590565b6001600160a01b031690565b90565b60ff1690565b600061034a826104c8565b610501816104c8565b811461050c57600080fd5b50565b610501816104e456fea365627a7a72315820b297d28e59e7f6657a74a4ac0294f4304921bfaa7fe421e5c5ad9d5d3dfea92a6c6578706572696d656e74616cf564736f6c63430005100040",
332
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101005760003560e01c80635c60da1b11610097578063da35c66411610066578063da35c664146101dc578063ee9799ee146101e4578063f851a440146101f7578063fc4eee42146101ff57610100565b80635c60da1b146101bc5780637bdbe4d0146101c4578063b58131b0146101cc578063d33219b4146101d457610100565b806326782247116100d3578063267822471461017557806335a87de21461018a5780633932abb1146101ac578063452a9320146101b457610100565b8063013cf08b1461010557806302a251a31461013857806317977c611461014d5780631b9ce57514610160575b600080fd5b610118610113366004610381565b610207565b60405161012f9b9a999897969594939291906103fc565b60405180910390f35b610140610273565b60405161012f91906103ee565b61014061015b36600461035b565b610279565b61016861028b565b60405161012f91906103e0565b61017d61029a565b60405161012f91906103d2565b61019d610198366004610381565b6102a9565b60405161012f939291906104a0565b6101406102ca565b61017d6102d0565b61017d6102df565b6101406102ee565b6101406102f4565b6101686102fa565b610140610309565b6101686101f2366004610381565b61030f565b61017d61032a565b610140610339565b600a60208190526000918252604090912080546001820154600283015460078401546008850154600986015496860154600b870154600c880154600e9098015496986001600160a01b039096169794969395929492939192909160ff808316926101009004811691168b565b60045481565b600b6020526000908152604090205481565b6009546001600160a01b031681565b6001546001600160a01b031681565b600e6020526000908152604090208054600182015460029092015490919083565b60035481565b600d546001600160a01b031681565b6002546001600160a01b031681565b600c5481565b60055481565b6008546001600160a01b031681565b60075481565b600f602052600090815260409020546001600160a01b031681565b6000546001600160a01b031681565b60065481565b803561034a816104f8565b92915050565b803561034a8161050f565b60006020828403121561036d57600080fd5b6000610379848461033f565b949350505050565b60006020828403121561039357600080fd5b60006103798484610350565b6103a8816104c8565b82525050565b6103a8816104d3565b6103a8816104ed565b6103a8816104e4565b6103a8816104e7565b6020810161034a828461039f565b6020810161034a82846103b7565b6020810161034a82846103c0565b610160810161040b828e6103c0565b610418602083018d61039f565b610425604083018c6103c0565b610432606083018b6103c0565b61043f608083018a6103c0565b61044c60a08301896103c0565b61045960c08301886103c0565b61046660e08301876103c0565b6104746101008301866103ae565b6104826101208301856103ae565b6104906101408301846103c9565b9c9b505050505050505050505050565b606081016104ae82866103c0565b6104bb60208301856103c0565b61037960408301846103c0565b600061034a826104d8565b151590565b6001600160a01b031690565b90565b60ff1690565b600061034a826104c8565b610501816104c8565b811461050c57600080fd5b50565b610501816104e456fea365627a7a72315820b297d28e59e7f6657a74a4ac0294f4304921bfaa7fe421e5c5ad9d5d3dfea92a6c6578706572696d656e74616cf564736f6c63430005100040",
333
- "linkReferences": {},
334
- "deployedLinkReferences": {}
335
- }
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/fa9891803c56b8a530ff515ffc45dc03.json"
4
- }