@venusprotocol/governance-contracts 1.1.0-dev.1 → 1.1.0-dev.3

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 (35) hide show
  1. package/README.md +11 -0
  2. package/artifacts/build-info/4b74a981a83b37e1de5123f7f9359ad5.json +1 -0
  3. package/artifacts/build-info/5ef7ba07b1e4b96d9b02042d36d229c2.json +1 -0
  4. package/artifacts/contracts/legacy/GovernorAlpha.sol/GovernorAlpha.dbg.json +4 -0
  5. package/artifacts/contracts/legacy/GovernorAlpha.sol/GovernorAlpha.json +731 -0
  6. package/artifacts/contracts/legacy/GovernorAlpha.sol/TimelockInterface.dbg.json +4 -0
  7. package/artifacts/contracts/legacy/GovernorAlpha.sol/TimelockInterface.json +188 -0
  8. package/artifacts/contracts/legacy/GovernorAlpha.sol/XVSInterface.dbg.json +4 -0
  9. package/artifacts/contracts/legacy/GovernorAlpha.sol/XVSInterface.json +37 -0
  10. package/artifacts/contracts/legacy/GovernorAlpha2.sol/GovernorAlpha2.dbg.json +4 -0
  11. package/artifacts/contracts/legacy/GovernorAlpha2.sol/GovernorAlpha2.json +736 -0
  12. package/artifacts/contracts/legacy/GovernorAlpha2.sol/TimelockInterface.dbg.json +4 -0
  13. package/artifacts/contracts/legacy/GovernorAlpha2.sol/TimelockInterface.json +188 -0
  14. package/artifacts/contracts/legacy/GovernorAlpha2.sol/XVSInterface.dbg.json +4 -0
  15. package/artifacts/contracts/legacy/GovernorAlpha2.sol/XVSInterface.json +37 -0
  16. package/contracts/legacy/GovernorAlpha.sol +426 -0
  17. package/contracts/legacy/GovernorAlpha2.sol +427 -0
  18. package/deployments/bscmainnet/CriticalTimelock.json +463 -0
  19. package/deployments/bscmainnet/FastTrackTimelock.json +463 -0
  20. package/deployments/bscmainnet.json +7167 -0
  21. package/deployments/bsctestnet/CriticalTimelock.json +463 -0
  22. package/deployments/bsctestnet/FastTrackTimelock.json +463 -0
  23. package/deployments/bsctestnet.json +6437 -0
  24. package/deployments/sepolia.json +369 -0
  25. package/dist/deploy/helpers/constants.d.ts +2 -0
  26. package/dist/deploy/helpers/constants.d.ts.map +1 -1
  27. package/dist/deploy/helpers/constants.js +1 -0
  28. package/dist/deploy/helpers/constants.js.map +1 -1
  29. package/dist/deploy/helpers/deploymentUtils.d.ts +2 -0
  30. package/dist/deploy/helpers/deploymentUtils.d.ts.map +1 -1
  31. package/dist/deploy/helpers/deploymentUtils.js +1 -0
  32. package/dist/deploy/helpers/deploymentUtils.js.map +1 -1
  33. package/package.json +1 -1
  34. /package/deployments/bscmainnet/{Timelock.json → NormalTimelock.json} +0 -0
  35. /package/deployments/bsctestnet/{Timelock.json → NormalTimelock.json} +0 -0
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/4b74a981a83b37e1de5123f7f9359ad5.json"
4
+ }
@@ -0,0 +1,188 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "TimelockInterface",
4
+ "sourceName": "contracts/legacy/GovernorAlpha.sol",
5
+ "abi": [
6
+ {
7
+ "constant": true,
8
+ "inputs": [],
9
+ "name": "GRACE_PERIOD",
10
+ "outputs": [
11
+ {
12
+ "internalType": "uint256",
13
+ "name": "",
14
+ "type": "uint256"
15
+ }
16
+ ],
17
+ "payable": false,
18
+ "stateMutability": "view",
19
+ "type": "function"
20
+ },
21
+ {
22
+ "constant": false,
23
+ "inputs": [],
24
+ "name": "acceptAdmin",
25
+ "outputs": [],
26
+ "payable": false,
27
+ "stateMutability": "nonpayable",
28
+ "type": "function"
29
+ },
30
+ {
31
+ "constant": false,
32
+ "inputs": [
33
+ {
34
+ "internalType": "address",
35
+ "name": "target",
36
+ "type": "address"
37
+ },
38
+ {
39
+ "internalType": "uint256",
40
+ "name": "value",
41
+ "type": "uint256"
42
+ },
43
+ {
44
+ "internalType": "string",
45
+ "name": "signature",
46
+ "type": "string"
47
+ },
48
+ {
49
+ "internalType": "bytes",
50
+ "name": "data",
51
+ "type": "bytes"
52
+ },
53
+ {
54
+ "internalType": "uint256",
55
+ "name": "eta",
56
+ "type": "uint256"
57
+ }
58
+ ],
59
+ "name": "cancelTransaction",
60
+ "outputs": [],
61
+ "payable": false,
62
+ "stateMutability": "nonpayable",
63
+ "type": "function"
64
+ },
65
+ {
66
+ "constant": true,
67
+ "inputs": [],
68
+ "name": "delay",
69
+ "outputs": [
70
+ {
71
+ "internalType": "uint256",
72
+ "name": "",
73
+ "type": "uint256"
74
+ }
75
+ ],
76
+ "payable": false,
77
+ "stateMutability": "view",
78
+ "type": "function"
79
+ },
80
+ {
81
+ "constant": false,
82
+ "inputs": [
83
+ {
84
+ "internalType": "address",
85
+ "name": "target",
86
+ "type": "address"
87
+ },
88
+ {
89
+ "internalType": "uint256",
90
+ "name": "value",
91
+ "type": "uint256"
92
+ },
93
+ {
94
+ "internalType": "string",
95
+ "name": "signature",
96
+ "type": "string"
97
+ },
98
+ {
99
+ "internalType": "bytes",
100
+ "name": "data",
101
+ "type": "bytes"
102
+ },
103
+ {
104
+ "internalType": "uint256",
105
+ "name": "eta",
106
+ "type": "uint256"
107
+ }
108
+ ],
109
+ "name": "executeTransaction",
110
+ "outputs": [
111
+ {
112
+ "internalType": "bytes",
113
+ "name": "",
114
+ "type": "bytes"
115
+ }
116
+ ],
117
+ "payable": true,
118
+ "stateMutability": "payable",
119
+ "type": "function"
120
+ },
121
+ {
122
+ "constant": false,
123
+ "inputs": [
124
+ {
125
+ "internalType": "address",
126
+ "name": "target",
127
+ "type": "address"
128
+ },
129
+ {
130
+ "internalType": "uint256",
131
+ "name": "value",
132
+ "type": "uint256"
133
+ },
134
+ {
135
+ "internalType": "string",
136
+ "name": "signature",
137
+ "type": "string"
138
+ },
139
+ {
140
+ "internalType": "bytes",
141
+ "name": "data",
142
+ "type": "bytes"
143
+ },
144
+ {
145
+ "internalType": "uint256",
146
+ "name": "eta",
147
+ "type": "uint256"
148
+ }
149
+ ],
150
+ "name": "queueTransaction",
151
+ "outputs": [
152
+ {
153
+ "internalType": "bytes32",
154
+ "name": "",
155
+ "type": "bytes32"
156
+ }
157
+ ],
158
+ "payable": false,
159
+ "stateMutability": "nonpayable",
160
+ "type": "function"
161
+ },
162
+ {
163
+ "constant": true,
164
+ "inputs": [
165
+ {
166
+ "internalType": "bytes32",
167
+ "name": "hash",
168
+ "type": "bytes32"
169
+ }
170
+ ],
171
+ "name": "queuedTransactions",
172
+ "outputs": [
173
+ {
174
+ "internalType": "bool",
175
+ "name": "",
176
+ "type": "bool"
177
+ }
178
+ ],
179
+ "payable": false,
180
+ "stateMutability": "view",
181
+ "type": "function"
182
+ }
183
+ ],
184
+ "bytecode": "0x",
185
+ "deployedBytecode": "0x",
186
+ "linkReferences": {},
187
+ "deployedLinkReferences": {}
188
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/4b74a981a83b37e1de5123f7f9359ad5.json"
4
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "XVSInterface",
4
+ "sourceName": "contracts/legacy/GovernorAlpha.sol",
5
+ "abi": [
6
+ {
7
+ "constant": true,
8
+ "inputs": [
9
+ {
10
+ "internalType": "address",
11
+ "name": "account",
12
+ "type": "address"
13
+ },
14
+ {
15
+ "internalType": "uint256",
16
+ "name": "blockNumber",
17
+ "type": "uint256"
18
+ }
19
+ ],
20
+ "name": "getPriorVotes",
21
+ "outputs": [
22
+ {
23
+ "internalType": "uint96",
24
+ "name": "",
25
+ "type": "uint96"
26
+ }
27
+ ],
28
+ "payable": false,
29
+ "stateMutability": "view",
30
+ "type": "function"
31
+ }
32
+ ],
33
+ "bytecode": "0x",
34
+ "deployedBytecode": "0x",
35
+ "linkReferences": {},
36
+ "deployedLinkReferences": {}
37
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/5ef7ba07b1e4b96d9b02042d36d229c2.json"
4
+ }