@venusprotocol/governance-contracts 1.0.1-dev.6 → 1.1.0-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 (70) hide show
  1. package/artifacts/build-info/4b74a981a83b37e1de5123f7f9359ad5.json +1 -0
  2. package/artifacts/build-info/5ef7ba07b1e4b96d9b02042d36d229c2.json +1 -0
  3. package/artifacts/build-info/97a3124320e74f843bc59439c75c258d.json +1 -0
  4. package/artifacts/contracts/Governance/GovernorBravoDelegate.sol/GovernorBravoDelegate.dbg.json +1 -1
  5. package/artifacts/contracts/Governance/GovernorBravoDelegate.sol/GovernorBravoDelegate.json +3 -3
  6. package/artifacts/contracts/Governance/GovernorBravoDelegator.sol/GovernorBravoDelegator.dbg.json +1 -1
  7. package/artifacts/contracts/Governance/GovernorBravoDelegator.sol/GovernorBravoDelegator.json +25 -18
  8. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorAlphaInterface.dbg.json +1 -1
  9. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateInterface.dbg.json +4 -0
  10. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateInterface.json +58 -0
  11. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1.dbg.json +1 -1
  12. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1.json +2 -2
  13. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV2.dbg.json +1 -1
  14. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV2.json +2 -2
  15. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage.dbg.json +1 -1
  16. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage.json +2 -2
  17. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents.dbg.json +1 -1
  18. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents.json +2 -2
  19. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/TimelockInterface.dbg.json +1 -1
  20. package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/XvsVaultInterface.dbg.json +1 -1
  21. package/artifacts/contracts/legacy/GovernorAlpha.sol/GovernorAlpha.dbg.json +4 -0
  22. package/artifacts/contracts/legacy/GovernorAlpha.sol/GovernorAlpha.json +731 -0
  23. package/artifacts/contracts/legacy/GovernorAlpha.sol/TimelockInterface.dbg.json +4 -0
  24. package/artifacts/contracts/legacy/GovernorAlpha.sol/TimelockInterface.json +188 -0
  25. package/artifacts/contracts/legacy/GovernorAlpha.sol/XVSInterface.dbg.json +4 -0
  26. package/artifacts/contracts/legacy/GovernorAlpha.sol/XVSInterface.json +37 -0
  27. package/artifacts/contracts/legacy/GovernorAlpha2.sol/GovernorAlpha2.dbg.json +4 -0
  28. package/artifacts/contracts/legacy/GovernorAlpha2.sol/GovernorAlpha2.json +736 -0
  29. package/artifacts/contracts/legacy/GovernorAlpha2.sol/TimelockInterface.dbg.json +4 -0
  30. package/artifacts/contracts/legacy/GovernorAlpha2.sol/TimelockInterface.json +188 -0
  31. package/artifacts/contracts/legacy/GovernorAlpha2.sol/XVSInterface.dbg.json +4 -0
  32. package/artifacts/contracts/legacy/GovernorAlpha2.sol/XVSInterface.json +37 -0
  33. package/contracts/Governance/GovernorBravoDelegate.sol +1 -1
  34. package/contracts/Governance/GovernorBravoDelegator.sol +6 -10
  35. package/contracts/Governance/GovernorBravoInterfaces.sol +19 -5
  36. package/contracts/legacy/GovernorAlpha.sol +426 -0
  37. package/contracts/legacy/GovernorAlpha2.sol +427 -0
  38. package/deployments/bscmainnet/.chainId +1 -0
  39. package/deployments/bscmainnet/CriticalTimelock.json +463 -0
  40. package/deployments/bscmainnet/FastTrackTimelock.json +463 -0
  41. package/deployments/bscmainnet/GovernorAlpha.json +726 -0
  42. package/deployments/bscmainnet/GovernorAlpha2.json +731 -0
  43. package/deployments/bscmainnet/GovernorBravoDelegate.json +1168 -0
  44. package/deployments/bscmainnet/GovernorBravoDelegator.json +1576 -0
  45. package/deployments/bscmainnet/GovernorBravoDelegator_Implementation.json +1168 -0
  46. package/deployments/bscmainnet/GovernorBravoDelegator_Proxy.json +413 -0
  47. package/deployments/bscmainnet/NormalTimelock.json +463 -0
  48. package/deployments/bsctestnet/.chainId +1 -0
  49. package/deployments/bsctestnet/CriticalTimelock.json +463 -0
  50. package/deployments/bsctestnet/FastTrackTimelock.json +463 -0
  51. package/deployments/bsctestnet/GovernorAlpha.json +726 -0
  52. package/deployments/bsctestnet/GovernorBravoDelegate.json +1168 -0
  53. package/deployments/bsctestnet/GovernorBravoDelegator.json +1576 -0
  54. package/deployments/bsctestnet/GovernorBravoDelegator_Implementation.json +1168 -0
  55. package/deployments/bsctestnet/GovernorBravoDelegator_Proxy.json +413 -0
  56. package/deployments/bsctestnet/NormalTimelock.json +463 -0
  57. package/deployments/deployments.json +13981 -0
  58. package/dist/deploy/001-access-control.d.ts.map +1 -1
  59. package/dist/deploy/001-access-control.js +7 -2
  60. package/dist/deploy/001-access-control.js.map +1 -1
  61. package/dist/deploy/helpers/constants.d.ts +2 -0
  62. package/dist/deploy/helpers/constants.d.ts.map +1 -1
  63. package/dist/deploy/helpers/constants.js +1 -0
  64. package/dist/deploy/helpers/constants.js.map +1 -1
  65. package/dist/deploy/helpers/deploymentUtils.d.ts +2 -0
  66. package/dist/deploy/helpers/deploymentUtils.d.ts.map +1 -1
  67. package/dist/deploy/helpers/deploymentUtils.js +1 -0
  68. package/dist/deploy/helpers/deploymentUtils.js.map +1 -1
  69. package/package.json +1 -1
  70. package/artifacts/build-info/e5638231ea42ec29d0230b1b013f1a57.json +0 -1
@@ -0,0 +1,463 @@
1
+ {
2
+ "address": "0x939bD8d64c0A9583A7Dcea9933f7b21697ab6396",
3
+ "abi": [
4
+ {
5
+ "inputs": [
6
+ {
7
+ "internalType": "address",
8
+ "name": "admin_",
9
+ "type": "address"
10
+ },
11
+ {
12
+ "internalType": "uint256",
13
+ "name": "delay_",
14
+ "type": "uint256"
15
+ }
16
+ ],
17
+ "payable": false,
18
+ "stateMutability": "nonpayable",
19
+ "type": "constructor"
20
+ },
21
+ {
22
+ "anonymous": false,
23
+ "inputs": [
24
+ {
25
+ "indexed": true,
26
+ "internalType": "bytes32",
27
+ "name": "txHash",
28
+ "type": "bytes32"
29
+ },
30
+ {
31
+ "indexed": true,
32
+ "internalType": "address",
33
+ "name": "target",
34
+ "type": "address"
35
+ },
36
+ {
37
+ "indexed": false,
38
+ "internalType": "uint256",
39
+ "name": "value",
40
+ "type": "uint256"
41
+ },
42
+ {
43
+ "indexed": false,
44
+ "internalType": "string",
45
+ "name": "signature",
46
+ "type": "string"
47
+ },
48
+ {
49
+ "indexed": false,
50
+ "internalType": "bytes",
51
+ "name": "data",
52
+ "type": "bytes"
53
+ },
54
+ {
55
+ "indexed": false,
56
+ "internalType": "uint256",
57
+ "name": "eta",
58
+ "type": "uint256"
59
+ }
60
+ ],
61
+ "name": "CancelTransaction",
62
+ "type": "event"
63
+ },
64
+ {
65
+ "anonymous": false,
66
+ "inputs": [
67
+ {
68
+ "indexed": true,
69
+ "internalType": "bytes32",
70
+ "name": "txHash",
71
+ "type": "bytes32"
72
+ },
73
+ {
74
+ "indexed": true,
75
+ "internalType": "address",
76
+ "name": "target",
77
+ "type": "address"
78
+ },
79
+ {
80
+ "indexed": false,
81
+ "internalType": "uint256",
82
+ "name": "value",
83
+ "type": "uint256"
84
+ },
85
+ {
86
+ "indexed": false,
87
+ "internalType": "string",
88
+ "name": "signature",
89
+ "type": "string"
90
+ },
91
+ {
92
+ "indexed": false,
93
+ "internalType": "bytes",
94
+ "name": "data",
95
+ "type": "bytes"
96
+ },
97
+ {
98
+ "indexed": false,
99
+ "internalType": "uint256",
100
+ "name": "eta",
101
+ "type": "uint256"
102
+ }
103
+ ],
104
+ "name": "ExecuteTransaction",
105
+ "type": "event"
106
+ },
107
+ {
108
+ "anonymous": false,
109
+ "inputs": [
110
+ {
111
+ "indexed": true,
112
+ "internalType": "address",
113
+ "name": "newAdmin",
114
+ "type": "address"
115
+ }
116
+ ],
117
+ "name": "NewAdmin",
118
+ "type": "event"
119
+ },
120
+ {
121
+ "anonymous": false,
122
+ "inputs": [
123
+ {
124
+ "indexed": true,
125
+ "internalType": "uint256",
126
+ "name": "newDelay",
127
+ "type": "uint256"
128
+ }
129
+ ],
130
+ "name": "NewDelay",
131
+ "type": "event"
132
+ },
133
+ {
134
+ "anonymous": false,
135
+ "inputs": [
136
+ {
137
+ "indexed": true,
138
+ "internalType": "address",
139
+ "name": "newPendingAdmin",
140
+ "type": "address"
141
+ }
142
+ ],
143
+ "name": "NewPendingAdmin",
144
+ "type": "event"
145
+ },
146
+ {
147
+ "anonymous": false,
148
+ "inputs": [
149
+ {
150
+ "indexed": true,
151
+ "internalType": "bytes32",
152
+ "name": "txHash",
153
+ "type": "bytes32"
154
+ },
155
+ {
156
+ "indexed": true,
157
+ "internalType": "address",
158
+ "name": "target",
159
+ "type": "address"
160
+ },
161
+ {
162
+ "indexed": false,
163
+ "internalType": "uint256",
164
+ "name": "value",
165
+ "type": "uint256"
166
+ },
167
+ {
168
+ "indexed": false,
169
+ "internalType": "string",
170
+ "name": "signature",
171
+ "type": "string"
172
+ },
173
+ {
174
+ "indexed": false,
175
+ "internalType": "bytes",
176
+ "name": "data",
177
+ "type": "bytes"
178
+ },
179
+ {
180
+ "indexed": false,
181
+ "internalType": "uint256",
182
+ "name": "eta",
183
+ "type": "uint256"
184
+ }
185
+ ],
186
+ "name": "QueueTransaction",
187
+ "type": "event"
188
+ },
189
+ {
190
+ "payable": true,
191
+ "stateMutability": "payable",
192
+ "type": "fallback"
193
+ },
194
+ {
195
+ "constant": true,
196
+ "inputs": [],
197
+ "name": "GRACE_PERIOD",
198
+ "outputs": [
199
+ {
200
+ "internalType": "uint256",
201
+ "name": "",
202
+ "type": "uint256"
203
+ }
204
+ ],
205
+ "payable": false,
206
+ "stateMutability": "view",
207
+ "type": "function"
208
+ },
209
+ {
210
+ "constant": true,
211
+ "inputs": [],
212
+ "name": "MAXIMUM_DELAY",
213
+ "outputs": [
214
+ {
215
+ "internalType": "uint256",
216
+ "name": "",
217
+ "type": "uint256"
218
+ }
219
+ ],
220
+ "payable": false,
221
+ "stateMutability": "view",
222
+ "type": "function"
223
+ },
224
+ {
225
+ "constant": true,
226
+ "inputs": [],
227
+ "name": "MINIMUM_DELAY",
228
+ "outputs": [
229
+ {
230
+ "internalType": "uint256",
231
+ "name": "",
232
+ "type": "uint256"
233
+ }
234
+ ],
235
+ "payable": false,
236
+ "stateMutability": "view",
237
+ "type": "function"
238
+ },
239
+ {
240
+ "constant": false,
241
+ "inputs": [],
242
+ "name": "acceptAdmin",
243
+ "outputs": [],
244
+ "payable": false,
245
+ "stateMutability": "nonpayable",
246
+ "type": "function"
247
+ },
248
+ {
249
+ "constant": true,
250
+ "inputs": [],
251
+ "name": "admin",
252
+ "outputs": [
253
+ {
254
+ "internalType": "address",
255
+ "name": "",
256
+ "type": "address"
257
+ }
258
+ ],
259
+ "payable": false,
260
+ "stateMutability": "view",
261
+ "type": "function"
262
+ },
263
+ {
264
+ "constant": false,
265
+ "inputs": [
266
+ {
267
+ "internalType": "address",
268
+ "name": "target",
269
+ "type": "address"
270
+ },
271
+ {
272
+ "internalType": "uint256",
273
+ "name": "value",
274
+ "type": "uint256"
275
+ },
276
+ {
277
+ "internalType": "string",
278
+ "name": "signature",
279
+ "type": "string"
280
+ },
281
+ {
282
+ "internalType": "bytes",
283
+ "name": "data",
284
+ "type": "bytes"
285
+ },
286
+ {
287
+ "internalType": "uint256",
288
+ "name": "eta",
289
+ "type": "uint256"
290
+ }
291
+ ],
292
+ "name": "cancelTransaction",
293
+ "outputs": [],
294
+ "payable": false,
295
+ "stateMutability": "nonpayable",
296
+ "type": "function"
297
+ },
298
+ {
299
+ "constant": true,
300
+ "inputs": [],
301
+ "name": "delay",
302
+ "outputs": [
303
+ {
304
+ "internalType": "uint256",
305
+ "name": "",
306
+ "type": "uint256"
307
+ }
308
+ ],
309
+ "payable": false,
310
+ "stateMutability": "view",
311
+ "type": "function"
312
+ },
313
+ {
314
+ "constant": false,
315
+ "inputs": [
316
+ {
317
+ "internalType": "address",
318
+ "name": "target",
319
+ "type": "address"
320
+ },
321
+ {
322
+ "internalType": "uint256",
323
+ "name": "value",
324
+ "type": "uint256"
325
+ },
326
+ {
327
+ "internalType": "string",
328
+ "name": "signature",
329
+ "type": "string"
330
+ },
331
+ {
332
+ "internalType": "bytes",
333
+ "name": "data",
334
+ "type": "bytes"
335
+ },
336
+ {
337
+ "internalType": "uint256",
338
+ "name": "eta",
339
+ "type": "uint256"
340
+ }
341
+ ],
342
+ "name": "executeTransaction",
343
+ "outputs": [
344
+ {
345
+ "internalType": "bytes",
346
+ "name": "",
347
+ "type": "bytes"
348
+ }
349
+ ],
350
+ "payable": true,
351
+ "stateMutability": "payable",
352
+ "type": "function"
353
+ },
354
+ {
355
+ "constant": true,
356
+ "inputs": [],
357
+ "name": "pendingAdmin",
358
+ "outputs": [
359
+ {
360
+ "internalType": "address",
361
+ "name": "",
362
+ "type": "address"
363
+ }
364
+ ],
365
+ "payable": false,
366
+ "stateMutability": "view",
367
+ "type": "function"
368
+ },
369
+ {
370
+ "constant": false,
371
+ "inputs": [
372
+ {
373
+ "internalType": "address",
374
+ "name": "target",
375
+ "type": "address"
376
+ },
377
+ {
378
+ "internalType": "uint256",
379
+ "name": "value",
380
+ "type": "uint256"
381
+ },
382
+ {
383
+ "internalType": "string",
384
+ "name": "signature",
385
+ "type": "string"
386
+ },
387
+ {
388
+ "internalType": "bytes",
389
+ "name": "data",
390
+ "type": "bytes"
391
+ },
392
+ {
393
+ "internalType": "uint256",
394
+ "name": "eta",
395
+ "type": "uint256"
396
+ }
397
+ ],
398
+ "name": "queueTransaction",
399
+ "outputs": [
400
+ {
401
+ "internalType": "bytes32",
402
+ "name": "",
403
+ "type": "bytes32"
404
+ }
405
+ ],
406
+ "payable": false,
407
+ "stateMutability": "nonpayable",
408
+ "type": "function"
409
+ },
410
+ {
411
+ "constant": true,
412
+ "inputs": [
413
+ {
414
+ "internalType": "bytes32",
415
+ "name": "",
416
+ "type": "bytes32"
417
+ }
418
+ ],
419
+ "name": "queuedTransactions",
420
+ "outputs": [
421
+ {
422
+ "internalType": "bool",
423
+ "name": "",
424
+ "type": "bool"
425
+ }
426
+ ],
427
+ "payable": false,
428
+ "stateMutability": "view",
429
+ "type": "function"
430
+ },
431
+ {
432
+ "constant": false,
433
+ "inputs": [
434
+ {
435
+ "internalType": "uint256",
436
+ "name": "delay_",
437
+ "type": "uint256"
438
+ }
439
+ ],
440
+ "name": "setDelay",
441
+ "outputs": [],
442
+ "payable": false,
443
+ "stateMutability": "nonpayable",
444
+ "type": "function"
445
+ },
446
+ {
447
+ "constant": false,
448
+ "inputs": [
449
+ {
450
+ "internalType": "address",
451
+ "name": "pendingAdmin_",
452
+ "type": "address"
453
+ }
454
+ ],
455
+ "name": "setPendingAdmin",
456
+ "outputs": [],
457
+ "payable": false,
458
+ "stateMutability": "nonpayable",
459
+ "type": "function"
460
+ }
461
+ ],
462
+ "numDeployments": 1
463
+ }
@@ -0,0 +1 @@
1
+ 97