@venusprotocol/governance-contracts 1.1.0-dev.2 → 1.1.0-dev.4

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 (30) hide show
  1. package/README.md +11 -0
  2. package/artifacts/build-info/52cd2a2ed6764b7fce3ff5a23ca8a581.json +1 -0
  3. package/artifacts/contracts/Governance/GovernorBravoDelegate.sol/GovernorBravoDelegate.dbg.json +1 -1
  4. package/artifacts/contracts/Governance/GovernorBravoDelegator.sol/GovernorBravoDelegator.dbg.json +1 -1
  5. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorAlphaInterface.dbg.json +1 -1
  6. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateInterface.dbg.json +1 -1
  7. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1.dbg.json +1 -1
  8. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV2.dbg.json +1 -1
  9. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage.dbg.json +1 -1
  10. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents.dbg.json +1 -1
  11. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/TimelockInterface.dbg.json +1 -1
  12. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/XvsVaultInterface.dbg.json +1 -1
  13. package/artifacts/contracts/legacy/GovernorBravoDelegateV1.sol/GovernorBravoDelegateV1.dbg.json +4 -0
  14. package/artifacts/contracts/legacy/GovernorBravoDelegateV1.sol/GovernorBravoDelegateV1.json +1143 -0
  15. package/artifacts/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1.dbg.json +4 -0
  16. package/artifacts/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1.json +278 -0
  17. package/artifacts/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage.dbg.json +4 -0
  18. package/artifacts/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage.json +56 -0
  19. package/artifacts/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoEventsV1.dbg.json +4 -0
  20. package/artifacts/contracts/legacy/GovernorBravoInterfaces.sol/GovernorBravoEventsV1.json +306 -0
  21. package/contracts/legacy/GovernorBravoDelegateV1.sol +528 -0
  22. package/contracts/legacy/GovernorBravoInterfaces.sol +176 -0
  23. package/deployments/bscmainnet/AccessControlManager.json +285 -0
  24. package/deployments/bscmainnet.json +7167 -0
  25. package/deployments/bsctestnet/AccessControlManager.json +364 -0
  26. package/deployments/bsctestnet.json +6437 -0
  27. package/deployments/sepolia.json +369 -0
  28. package/package.json +1 -1
  29. package/artifacts/build-info/97a3124320e74f843bc59439c75c258d.json +0 -1
  30. package/deployments/deployments.json +0 -13981
@@ -0,0 +1,364 @@
1
+ {
2
+ "address": "0x45f8a08F534f34A97187626E05d4b6648Eeaa9AA",
3
+ "abi": [
4
+ {
5
+ "inputs": [],
6
+ "stateMutability": "nonpayable",
7
+ "type": "constructor"
8
+ },
9
+ {
10
+ "anonymous": false,
11
+ "inputs": [
12
+ {
13
+ "indexed": false,
14
+ "internalType": "address",
15
+ "name": "account",
16
+ "type": "address"
17
+ },
18
+ {
19
+ "indexed": false,
20
+ "internalType": "address",
21
+ "name": "contractAddress",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "indexed": false,
26
+ "internalType": "string",
27
+ "name": "functionSig",
28
+ "type": "string"
29
+ }
30
+ ],
31
+ "name": "PermissionGranted",
32
+ "type": "event"
33
+ },
34
+ {
35
+ "anonymous": false,
36
+ "inputs": [
37
+ {
38
+ "indexed": false,
39
+ "internalType": "address",
40
+ "name": "account",
41
+ "type": "address"
42
+ },
43
+ {
44
+ "indexed": false,
45
+ "internalType": "address",
46
+ "name": "contractAddress",
47
+ "type": "address"
48
+ },
49
+ {
50
+ "indexed": false,
51
+ "internalType": "string",
52
+ "name": "functionSig",
53
+ "type": "string"
54
+ }
55
+ ],
56
+ "name": "PermissionRevoked",
57
+ "type": "event"
58
+ },
59
+ {
60
+ "anonymous": false,
61
+ "inputs": [
62
+ {
63
+ "indexed": true,
64
+ "internalType": "bytes32",
65
+ "name": "role",
66
+ "type": "bytes32"
67
+ },
68
+ {
69
+ "indexed": true,
70
+ "internalType": "bytes32",
71
+ "name": "previousAdminRole",
72
+ "type": "bytes32"
73
+ },
74
+ {
75
+ "indexed": true,
76
+ "internalType": "bytes32",
77
+ "name": "newAdminRole",
78
+ "type": "bytes32"
79
+ }
80
+ ],
81
+ "name": "RoleAdminChanged",
82
+ "type": "event"
83
+ },
84
+ {
85
+ "anonymous": false,
86
+ "inputs": [
87
+ {
88
+ "indexed": true,
89
+ "internalType": "bytes32",
90
+ "name": "role",
91
+ "type": "bytes32"
92
+ },
93
+ {
94
+ "indexed": true,
95
+ "internalType": "address",
96
+ "name": "account",
97
+ "type": "address"
98
+ },
99
+ {
100
+ "indexed": true,
101
+ "internalType": "address",
102
+ "name": "sender",
103
+ "type": "address"
104
+ }
105
+ ],
106
+ "name": "RoleGranted",
107
+ "type": "event"
108
+ },
109
+ {
110
+ "anonymous": false,
111
+ "inputs": [
112
+ {
113
+ "indexed": true,
114
+ "internalType": "bytes32",
115
+ "name": "role",
116
+ "type": "bytes32"
117
+ },
118
+ {
119
+ "indexed": true,
120
+ "internalType": "address",
121
+ "name": "account",
122
+ "type": "address"
123
+ },
124
+ {
125
+ "indexed": true,
126
+ "internalType": "address",
127
+ "name": "sender",
128
+ "type": "address"
129
+ }
130
+ ],
131
+ "name": "RoleRevoked",
132
+ "type": "event"
133
+ },
134
+ {
135
+ "inputs": [],
136
+ "name": "DEFAULT_ADMIN_ROLE",
137
+ "outputs": [
138
+ {
139
+ "internalType": "bytes32",
140
+ "name": "",
141
+ "type": "bytes32"
142
+ }
143
+ ],
144
+ "stateMutability": "view",
145
+ "type": "function"
146
+ },
147
+ {
148
+ "inputs": [
149
+ {
150
+ "internalType": "bytes32",
151
+ "name": "role",
152
+ "type": "bytes32"
153
+ }
154
+ ],
155
+ "name": "getRoleAdmin",
156
+ "outputs": [
157
+ {
158
+ "internalType": "bytes32",
159
+ "name": "",
160
+ "type": "bytes32"
161
+ }
162
+ ],
163
+ "stateMutability": "view",
164
+ "type": "function"
165
+ },
166
+ {
167
+ "inputs": [
168
+ {
169
+ "internalType": "address",
170
+ "name": "contractAddress",
171
+ "type": "address"
172
+ },
173
+ {
174
+ "internalType": "string",
175
+ "name": "functionSig",
176
+ "type": "string"
177
+ },
178
+ {
179
+ "internalType": "address",
180
+ "name": "accountToPermit",
181
+ "type": "address"
182
+ }
183
+ ],
184
+ "name": "giveCallPermission",
185
+ "outputs": [],
186
+ "stateMutability": "nonpayable",
187
+ "type": "function"
188
+ },
189
+ {
190
+ "inputs": [
191
+ {
192
+ "internalType": "bytes32",
193
+ "name": "role",
194
+ "type": "bytes32"
195
+ },
196
+ {
197
+ "internalType": "address",
198
+ "name": "account",
199
+ "type": "address"
200
+ }
201
+ ],
202
+ "name": "grantRole",
203
+ "outputs": [],
204
+ "stateMutability": "nonpayable",
205
+ "type": "function"
206
+ },
207
+ {
208
+ "inputs": [
209
+ {
210
+ "internalType": "address",
211
+ "name": "account",
212
+ "type": "address"
213
+ },
214
+ {
215
+ "internalType": "address",
216
+ "name": "contractAddress",
217
+ "type": "address"
218
+ },
219
+ {
220
+ "internalType": "string",
221
+ "name": "functionSig",
222
+ "type": "string"
223
+ }
224
+ ],
225
+ "name": "hasPermission",
226
+ "outputs": [
227
+ {
228
+ "internalType": "bool",
229
+ "name": "",
230
+ "type": "bool"
231
+ }
232
+ ],
233
+ "stateMutability": "view",
234
+ "type": "function"
235
+ },
236
+ {
237
+ "inputs": [
238
+ {
239
+ "internalType": "bytes32",
240
+ "name": "role",
241
+ "type": "bytes32"
242
+ },
243
+ {
244
+ "internalType": "address",
245
+ "name": "account",
246
+ "type": "address"
247
+ }
248
+ ],
249
+ "name": "hasRole",
250
+ "outputs": [
251
+ {
252
+ "internalType": "bool",
253
+ "name": "",
254
+ "type": "bool"
255
+ }
256
+ ],
257
+ "stateMutability": "view",
258
+ "type": "function"
259
+ },
260
+ {
261
+ "inputs": [
262
+ {
263
+ "internalType": "address",
264
+ "name": "account",
265
+ "type": "address"
266
+ },
267
+ {
268
+ "internalType": "string",
269
+ "name": "functionSig",
270
+ "type": "string"
271
+ }
272
+ ],
273
+ "name": "isAllowedToCall",
274
+ "outputs": [
275
+ {
276
+ "internalType": "bool",
277
+ "name": "",
278
+ "type": "bool"
279
+ }
280
+ ],
281
+ "stateMutability": "view",
282
+ "type": "function"
283
+ },
284
+ {
285
+ "inputs": [
286
+ {
287
+ "internalType": "bytes32",
288
+ "name": "role",
289
+ "type": "bytes32"
290
+ },
291
+ {
292
+ "internalType": "address",
293
+ "name": "account",
294
+ "type": "address"
295
+ }
296
+ ],
297
+ "name": "renounceRole",
298
+ "outputs": [],
299
+ "stateMutability": "nonpayable",
300
+ "type": "function"
301
+ },
302
+ {
303
+ "inputs": [
304
+ {
305
+ "internalType": "address",
306
+ "name": "contractAddress",
307
+ "type": "address"
308
+ },
309
+ {
310
+ "internalType": "string",
311
+ "name": "functionSig",
312
+ "type": "string"
313
+ },
314
+ {
315
+ "internalType": "address",
316
+ "name": "accountToRevoke",
317
+ "type": "address"
318
+ }
319
+ ],
320
+ "name": "revokeCallPermission",
321
+ "outputs": [],
322
+ "stateMutability": "nonpayable",
323
+ "type": "function"
324
+ },
325
+ {
326
+ "inputs": [
327
+ {
328
+ "internalType": "bytes32",
329
+ "name": "role",
330
+ "type": "bytes32"
331
+ },
332
+ {
333
+ "internalType": "address",
334
+ "name": "account",
335
+ "type": "address"
336
+ }
337
+ ],
338
+ "name": "revokeRole",
339
+ "outputs": [],
340
+ "stateMutability": "nonpayable",
341
+ "type": "function"
342
+ },
343
+ {
344
+ "inputs": [
345
+ {
346
+ "internalType": "bytes4",
347
+ "name": "interfaceId",
348
+ "type": "bytes4"
349
+ }
350
+ ],
351
+ "name": "supportsInterface",
352
+ "outputs": [
353
+ {
354
+ "internalType": "bool",
355
+ "name": "",
356
+ "type": "bool"
357
+ }
358
+ ],
359
+ "stateMutability": "view",
360
+ "type": "function"
361
+ }
362
+ ],
363
+ "numDeployments": 1
364
+ }