@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.
- package/contracts/Governance/AccessControlManager.sol +44 -5
- package/contracts/Governance/AccessControlledV5.sol +4 -5
- package/contracts/Governance/AccessControlledV8.sol +4 -6
- package/contracts/Governance/GovernorBravoDelegate.sol +67 -0
- package/contracts/Governance/GovernorBravoDelegator.sol +5 -0
- package/contracts/Governance/GovernorBravoInterfaces.sol +23 -2
- package/contracts/Governance/IAccessControlManagerV5.sol +5 -0
- package/contracts/Governance/IAccessControlManagerV8.sol +5 -0
- package/contracts/Governance/Timelock.sol +5 -0
- package/package.json +1 -1
- package/artifacts/@openzeppelin/contracts/access/AccessControl.sol/AccessControl.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/access/AccessControl.sol/AccessControl.json +0 -215
- package/artifacts/@openzeppelin/contracts/access/IAccessControl.sol/IAccessControl.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/access/IAccessControl.sol/IAccessControl.json +0 -183
- package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.json +0 -10
- package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.json +0 -10
- package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.json +0 -30
- package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.json +0 -30
- package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.json +0 -10
- package/artifacts/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol/Ownable2StepUpgradeable.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol/Ownable2StepUpgradeable.json +0 -115
- package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.json +0 -76
- package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.json +0 -24
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.json +0 -10
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.json +0 -24
- package/artifacts/@venusprotocol/venus-protocol/contracts/Governance/XVS.sol/Owned.dbg.json +0 -4
- package/artifacts/@venusprotocol/venus-protocol/contracts/Governance/XVS.sol/Owned.json +0 -66
- package/artifacts/@venusprotocol/venus-protocol/contracts/Governance/XVS.sol/Tokenlock.dbg.json +0 -4
- package/artifacts/@venusprotocol/venus-protocol/contracts/Governance/XVS.sol/Tokenlock.json +0 -90
- package/artifacts/@venusprotocol/venus-protocol/contracts/Governance/XVS.sol/XVS.dbg.json +0 -4
- package/artifacts/@venusprotocol/venus-protocol/contracts/Governance/XVS.sol/XVS.json +0 -618
- package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/Address.sol/Address.dbg.json +0 -4
- package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/Address.sol/Address.json +0 -10
- package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/ECDSA.sol/ECDSA.dbg.json +0 -4
- package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/ECDSA.sol/ECDSA.json +0 -10
- package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/IBEP20.sol/IBEP20.dbg.json +0 -4
- package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/IBEP20.sol/IBEP20.json +0 -206
- package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/SafeBEP20.sol/SafeBEP20.dbg.json +0 -4
- package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/SafeBEP20.sol/SafeBEP20.json +0 -10
- package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/SafeMath.sol/SafeMath.dbg.json +0 -4
- package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/SafeMath.sol/SafeMath.json +0 -10
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSStore.sol/XVSStore.dbg.json +0 -4
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSStore.sol/XVSStore.json +0 -244
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVault.sol/IXVSStore.dbg.json +0 -4
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVault.sol/IXVSStore.json +0 -56
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVault.sol/XVSVault.dbg.json +0 -4
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVault.sol/XVSVault.json +0 -1211
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultErrorReporter.sol/XVSVaultErrorReporter.dbg.json +0 -4
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultErrorReporter.sol/XVSVaultErrorReporter.json +0 -36
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultProxy.sol/XVSVaultProxy.dbg.json +0 -4
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultProxy.sol/XVSVaultProxy.json +0 -255
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultStorage.sol/XVSVaultAdminStorage.dbg.json +0 -4
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultStorage.sol/XVSVaultAdminStorage.json +0 -71
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultStorage.sol/XVSVaultStorage.dbg.json +0 -4
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultStorage.sol/XVSVaultStorage.json +0 -313
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultStorage.sol/XVSVaultStorageV1.dbg.json +0 -4
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultStorage.sol/XVSVaultStorageV1.json +0 -240
- package/artifacts/build-info/0ed8a45a04a58741f8391cb7a77f7ff9.json +0 -1
- package/artifacts/build-info/1659b7cff20ee8b7949bfbefa681db8b.json +0 -1
- package/artifacts/build-info/21eeeec59918770851ef762f6f414247.json +0 -1
- package/artifacts/build-info/60a7730a05f99cbf38891be24e3a5c77.json +0 -1
- package/artifacts/build-info/fa9891803c56b8a530ff515ffc45dc03.json +0 -1
- package/artifacts/contracts/Governance/AccessControlManager.sol/AccessControlManager.dbg.json +0 -4
- package/artifacts/contracts/Governance/AccessControlManager.sol/AccessControlManager.json +0 -369
- package/artifacts/contracts/Governance/AccessControlledV5.sol/AccessControlledV5.dbg.json +0 -4
- package/artifacts/contracts/Governance/AccessControlledV5.sol/AccessControlledV5.json +0 -45
- package/artifacts/contracts/Governance/AccessControlledV8.sol/AccessControlledV8.dbg.json +0 -4
- package/artifacts/contracts/Governance/AccessControlledV8.sol/AccessControlledV8.json +0 -181
- package/artifacts/contracts/Governance/GovernorBravoDelegate.sol/GovernorBravoDelegate.dbg.json +0 -4
- package/artifacts/contracts/Governance/GovernorBravoDelegate.sol/GovernorBravoDelegate.json +0 -1173
- package/artifacts/contracts/Governance/GovernorBravoDelegator.sol/GovernorBravoDelegator.dbg.json +0 -4
- package/artifacts/contracts/Governance/GovernorBravoDelegator.sol/GovernorBravoDelegator.json +0 -424
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorAlphaInterface.dbg.json +0 -4
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorAlphaInterface.json +0 -26
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1.dbg.json +0 -4
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1.json +0 -283
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV2.dbg.json +0 -4
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV2.json +0 -335
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage.dbg.json +0 -4
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage.json +0 -56
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents.dbg.json +0 -4
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents.json +0 -312
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/TimelockInterface.dbg.json +0 -4
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/TimelockInterface.json +0 -188
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/XvsVaultInterface.dbg.json +0 -4
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/XvsVaultInterface.json +0 -37
- package/artifacts/contracts/Governance/IAccessControlManagerV5.sol/IAccessControlManagerV5.dbg.json +0 -4
- package/artifacts/contracts/Governance/IAccessControlManagerV5.sol/IAccessControlManagerV5.json +0 -300
- package/artifacts/contracts/Governance/IAccessControlManagerV8.sol/IAccessControlManagerV8.dbg.json +0 -4
- package/artifacts/contracts/Governance/IAccessControlManagerV8.sol/IAccessControlManagerV8.json +0 -282
- package/artifacts/contracts/Governance/Timelock.sol/Timelock.dbg.json +0 -4
- package/artifacts/contracts/Governance/Timelock.sol/Timelock.json +0 -468
- package/artifacts/contracts/Utils/SafeMath.sol/SafeMath.dbg.json +0 -4
- package/artifacts/contracts/Utils/SafeMath.sol/SafeMath.json +0 -10
- package/artifacts/contracts/test/MockAccessTest.sol/MockAccessTest.dbg.json +0 -4
- package/artifacts/contracts/test/MockAccessTest.sol/MockAccessTest.json +0 -194
|
@@ -1,313 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "XVSVaultStorage",
|
|
4
|
-
"sourceName": "@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultStorage.sol",
|
|
5
|
-
"abi": [
|
|
6
|
-
{
|
|
7
|
-
"constant": true,
|
|
8
|
-
"inputs": [],
|
|
9
|
-
"name": "DELEGATION_TYPEHASH",
|
|
10
|
-
"outputs": [
|
|
11
|
-
{
|
|
12
|
-
"internalType": "bytes32",
|
|
13
|
-
"name": "",
|
|
14
|
-
"type": "bytes32"
|
|
15
|
-
}
|
|
16
|
-
],
|
|
17
|
-
"payable": false,
|
|
18
|
-
"stateMutability": "view",
|
|
19
|
-
"type": "function"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"constant": true,
|
|
23
|
-
"inputs": [],
|
|
24
|
-
"name": "DOMAIN_TYPEHASH",
|
|
25
|
-
"outputs": [
|
|
26
|
-
{
|
|
27
|
-
"internalType": "bytes32",
|
|
28
|
-
"name": "",
|
|
29
|
-
"type": "bytes32"
|
|
30
|
-
}
|
|
31
|
-
],
|
|
32
|
-
"payable": false,
|
|
33
|
-
"stateMutability": "view",
|
|
34
|
-
"type": "function"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"constant": true,
|
|
38
|
-
"inputs": [],
|
|
39
|
-
"name": "admin",
|
|
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
|
-
{
|
|
55
|
-
"internalType": "address",
|
|
56
|
-
"name": "",
|
|
57
|
-
"type": "address"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"internalType": "uint32",
|
|
61
|
-
"name": "",
|
|
62
|
-
"type": "uint32"
|
|
63
|
-
}
|
|
64
|
-
],
|
|
65
|
-
"name": "checkpoints",
|
|
66
|
-
"outputs": [
|
|
67
|
-
{
|
|
68
|
-
"internalType": "uint32",
|
|
69
|
-
"name": "fromBlock",
|
|
70
|
-
"type": "uint32"
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"internalType": "uint96",
|
|
74
|
-
"name": "votes",
|
|
75
|
-
"type": "uint96"
|
|
76
|
-
}
|
|
77
|
-
],
|
|
78
|
-
"payable": false,
|
|
79
|
-
"stateMutability": "view",
|
|
80
|
-
"type": "function"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"constant": true,
|
|
84
|
-
"inputs": [
|
|
85
|
-
{
|
|
86
|
-
"internalType": "address",
|
|
87
|
-
"name": "",
|
|
88
|
-
"type": "address"
|
|
89
|
-
}
|
|
90
|
-
],
|
|
91
|
-
"name": "delegates",
|
|
92
|
-
"outputs": [
|
|
93
|
-
{
|
|
94
|
-
"internalType": "address",
|
|
95
|
-
"name": "",
|
|
96
|
-
"type": "address"
|
|
97
|
-
}
|
|
98
|
-
],
|
|
99
|
-
"payable": false,
|
|
100
|
-
"stateMutability": "view",
|
|
101
|
-
"type": "function"
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
"constant": true,
|
|
105
|
-
"inputs": [],
|
|
106
|
-
"name": "implementation",
|
|
107
|
-
"outputs": [
|
|
108
|
-
{
|
|
109
|
-
"internalType": "address",
|
|
110
|
-
"name": "",
|
|
111
|
-
"type": "address"
|
|
112
|
-
}
|
|
113
|
-
],
|
|
114
|
-
"payable": false,
|
|
115
|
-
"stateMutability": "view",
|
|
116
|
-
"type": "function"
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
"constant": true,
|
|
120
|
-
"inputs": [
|
|
121
|
-
{
|
|
122
|
-
"internalType": "address",
|
|
123
|
-
"name": "",
|
|
124
|
-
"type": "address"
|
|
125
|
-
}
|
|
126
|
-
],
|
|
127
|
-
"name": "nonces",
|
|
128
|
-
"outputs": [
|
|
129
|
-
{
|
|
130
|
-
"internalType": "uint256",
|
|
131
|
-
"name": "",
|
|
132
|
-
"type": "uint256"
|
|
133
|
-
}
|
|
134
|
-
],
|
|
135
|
-
"payable": false,
|
|
136
|
-
"stateMutability": "view",
|
|
137
|
-
"type": "function"
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
"constant": true,
|
|
141
|
-
"inputs": [
|
|
142
|
-
{
|
|
143
|
-
"internalType": "address",
|
|
144
|
-
"name": "",
|
|
145
|
-
"type": "address"
|
|
146
|
-
}
|
|
147
|
-
],
|
|
148
|
-
"name": "numCheckpoints",
|
|
149
|
-
"outputs": [
|
|
150
|
-
{
|
|
151
|
-
"internalType": "uint32",
|
|
152
|
-
"name": "",
|
|
153
|
-
"type": "uint32"
|
|
154
|
-
}
|
|
155
|
-
],
|
|
156
|
-
"payable": false,
|
|
157
|
-
"stateMutability": "view",
|
|
158
|
-
"type": "function"
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
"constant": true,
|
|
162
|
-
"inputs": [],
|
|
163
|
-
"name": "pendingAdmin",
|
|
164
|
-
"outputs": [
|
|
165
|
-
{
|
|
166
|
-
"internalType": "address",
|
|
167
|
-
"name": "",
|
|
168
|
-
"type": "address"
|
|
169
|
-
}
|
|
170
|
-
],
|
|
171
|
-
"payable": false,
|
|
172
|
-
"stateMutability": "view",
|
|
173
|
-
"type": "function"
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
"constant": true,
|
|
177
|
-
"inputs": [],
|
|
178
|
-
"name": "pendingXVSVaultImplementation",
|
|
179
|
-
"outputs": [
|
|
180
|
-
{
|
|
181
|
-
"internalType": "address",
|
|
182
|
-
"name": "",
|
|
183
|
-
"type": "address"
|
|
184
|
-
}
|
|
185
|
-
],
|
|
186
|
-
"payable": false,
|
|
187
|
-
"stateMutability": "view",
|
|
188
|
-
"type": "function"
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
"constant": true,
|
|
192
|
-
"inputs": [
|
|
193
|
-
{
|
|
194
|
-
"internalType": "address",
|
|
195
|
-
"name": "",
|
|
196
|
-
"type": "address"
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
"internalType": "uint256",
|
|
200
|
-
"name": "",
|
|
201
|
-
"type": "uint256"
|
|
202
|
-
}
|
|
203
|
-
],
|
|
204
|
-
"name": "poolInfos",
|
|
205
|
-
"outputs": [
|
|
206
|
-
{
|
|
207
|
-
"internalType": "contract IBEP20",
|
|
208
|
-
"name": "token",
|
|
209
|
-
"type": "address"
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
"internalType": "uint256",
|
|
213
|
-
"name": "allocPoint",
|
|
214
|
-
"type": "uint256"
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
"internalType": "uint256",
|
|
218
|
-
"name": "lastRewardBlock",
|
|
219
|
-
"type": "uint256"
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
"internalType": "uint256",
|
|
223
|
-
"name": "accRewardPerShare",
|
|
224
|
-
"type": "uint256"
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
"internalType": "uint256",
|
|
228
|
-
"name": "lockPeriod",
|
|
229
|
-
"type": "uint256"
|
|
230
|
-
}
|
|
231
|
-
],
|
|
232
|
-
"payable": false,
|
|
233
|
-
"stateMutability": "view",
|
|
234
|
-
"type": "function"
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
"constant": true,
|
|
238
|
-
"inputs": [
|
|
239
|
-
{
|
|
240
|
-
"internalType": "address",
|
|
241
|
-
"name": "",
|
|
242
|
-
"type": "address"
|
|
243
|
-
}
|
|
244
|
-
],
|
|
245
|
-
"name": "rewardTokenAmountsPerBlock",
|
|
246
|
-
"outputs": [
|
|
247
|
-
{
|
|
248
|
-
"internalType": "uint256",
|
|
249
|
-
"name": "",
|
|
250
|
-
"type": "uint256"
|
|
251
|
-
}
|
|
252
|
-
],
|
|
253
|
-
"payable": false,
|
|
254
|
-
"stateMutability": "view",
|
|
255
|
-
"type": "function"
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
"constant": true,
|
|
259
|
-
"inputs": [
|
|
260
|
-
{
|
|
261
|
-
"internalType": "address",
|
|
262
|
-
"name": "",
|
|
263
|
-
"type": "address"
|
|
264
|
-
}
|
|
265
|
-
],
|
|
266
|
-
"name": "totalAllocPoints",
|
|
267
|
-
"outputs": [
|
|
268
|
-
{
|
|
269
|
-
"internalType": "uint256",
|
|
270
|
-
"name": "",
|
|
271
|
-
"type": "uint256"
|
|
272
|
-
}
|
|
273
|
-
],
|
|
274
|
-
"payable": false,
|
|
275
|
-
"stateMutability": "view",
|
|
276
|
-
"type": "function"
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
"constant": true,
|
|
280
|
-
"inputs": [],
|
|
281
|
-
"name": "xvsAddress",
|
|
282
|
-
"outputs": [
|
|
283
|
-
{
|
|
284
|
-
"internalType": "address",
|
|
285
|
-
"name": "",
|
|
286
|
-
"type": "address"
|
|
287
|
-
}
|
|
288
|
-
],
|
|
289
|
-
"payable": false,
|
|
290
|
-
"stateMutability": "view",
|
|
291
|
-
"type": "function"
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
"constant": true,
|
|
295
|
-
"inputs": [],
|
|
296
|
-
"name": "xvsStore",
|
|
297
|
-
"outputs": [
|
|
298
|
-
{
|
|
299
|
-
"internalType": "address",
|
|
300
|
-
"name": "",
|
|
301
|
-
"type": "address"
|
|
302
|
-
}
|
|
303
|
-
],
|
|
304
|
-
"payable": false,
|
|
305
|
-
"stateMutability": "view",
|
|
306
|
-
"type": "function"
|
|
307
|
-
}
|
|
308
|
-
],
|
|
309
|
-
"bytecode": "0x608060405234801561001057600080fd5b5061053a806100206000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80635c60da1b11610097578063de0368b211610066578063de0368b214610288578063e7a324dc14610290578063f1127ed814610298578063f851a440146102f7576100f5565b80635c60da1b146101ba5780636fcfff45146101c25780637ecebe001461020157806392e3500014610227576100f5565b80632eda5c6c116100d35780632eda5c6c14610140578063358ae036146101665780634298bdbd1461016e578063587cde1e14610194576100f5565b806320606b70146100fa57806324f52bbf146101145780632678224714610138575b600080fd5b6101026102ff565b60408051918252519081900360200190f35b61011c61031a565b604080516001600160a01b039092168252519081900360200190f35b61011c610329565b6101026004803603602081101561015657600080fd5b50356001600160a01b0316610338565b61011c61034a565b6101026004803603602081101561018457600080fd5b50356001600160a01b0316610359565b61011c600480360360208110156101aa57600080fd5b50356001600160a01b031661036b565b61011c610386565b6101e8600480360360208110156101d857600080fd5b50356001600160a01b0316610395565b6040805163ffffffff9092168252519081900360200190f35b6101026004803603602081101561021757600080fd5b50356001600160a01b03166103ad565b6102536004803603604081101561023d57600080fd5b506001600160a01b0381351690602001356103bf565b604080516001600160a01b03909616865260208601949094528484019290925260608401526080830152519081900360a00190f35b61011c610414565b610102610423565b6102ca600480360360408110156102ae57600080fd5b5080356001600160a01b0316906020013563ffffffff1661043e565b6040805163ffffffff90931683526bffffffffffffffffffffffff90911660208301528051918290030190f35b61011c610479565b60405180604361048982396043019050604051809103902081565b6004546001600160a01b031681565b6001546001600160a01b031681565b60066020526000908152604090205481565b6005546001600160a01b031681565b60096020526000908152604090205481565b600f602052600090815260409020546001600160a01b031681565b6002546001600160a01b031681565b60116020526000908152604090205463ffffffff1681565b600e6020526000908152604090205481565b600860205281600052604060002081815481106103d857fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b039093169550909350919085565b6003546001600160a01b031681565b60405180603a6104cc8239603a019050604051809103902081565b601060209081526000928352604080842090915290825290205463ffffffff81169064010000000090046bffffffffffffffffffffffff1682565b6000546001600160a01b03168156fe454950373132446f6d61696e28737472696e67206e616d652c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e74726163742944656c65676174696f6e28616464726573732064656c6567617465652c75696e74323536206e6f6e63652c75696e743235362065787069727929a265627a7a7231582086aa99985b0f145c5acbcf61d74e042596b7459a48797fea3b683379c40fc74d64736f6c63430005100032",
|
|
310
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100f55760003560e01c80635c60da1b11610097578063de0368b211610066578063de0368b214610288578063e7a324dc14610290578063f1127ed814610298578063f851a440146102f7576100f5565b80635c60da1b146101ba5780636fcfff45146101c25780637ecebe001461020157806392e3500014610227576100f5565b80632eda5c6c116100d35780632eda5c6c14610140578063358ae036146101665780634298bdbd1461016e578063587cde1e14610194576100f5565b806320606b70146100fa57806324f52bbf146101145780632678224714610138575b600080fd5b6101026102ff565b60408051918252519081900360200190f35b61011c61031a565b604080516001600160a01b039092168252519081900360200190f35b61011c610329565b6101026004803603602081101561015657600080fd5b50356001600160a01b0316610338565b61011c61034a565b6101026004803603602081101561018457600080fd5b50356001600160a01b0316610359565b61011c600480360360208110156101aa57600080fd5b50356001600160a01b031661036b565b61011c610386565b6101e8600480360360208110156101d857600080fd5b50356001600160a01b0316610395565b6040805163ffffffff9092168252519081900360200190f35b6101026004803603602081101561021757600080fd5b50356001600160a01b03166103ad565b6102536004803603604081101561023d57600080fd5b506001600160a01b0381351690602001356103bf565b604080516001600160a01b03909616865260208601949094528484019290925260608401526080830152519081900360a00190f35b61011c610414565b610102610423565b6102ca600480360360408110156102ae57600080fd5b5080356001600160a01b0316906020013563ffffffff1661043e565b6040805163ffffffff90931683526bffffffffffffffffffffffff90911660208301528051918290030190f35b61011c610479565b60405180604361048982396043019050604051809103902081565b6004546001600160a01b031681565b6001546001600160a01b031681565b60066020526000908152604090205481565b6005546001600160a01b031681565b60096020526000908152604090205481565b600f602052600090815260409020546001600160a01b031681565b6002546001600160a01b031681565b60116020526000908152604090205463ffffffff1681565b600e6020526000908152604090205481565b600860205281600052604060002081815481106103d857fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b039093169550909350919085565b6003546001600160a01b031681565b60405180603a6104cc8239603a019050604051809103902081565b601060209081526000928352604080842090915290825290205463ffffffff81169064010000000090046bffffffffffffffffffffffff1682565b6000546001600160a01b03168156fe454950373132446f6d61696e28737472696e67206e616d652c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e74726163742944656c65676174696f6e28616464726573732064656c6567617465652c75696e74323536206e6f6e63652c75696e743235362065787069727929a265627a7a7231582086aa99985b0f145c5acbcf61d74e042596b7459a48797fea3b683379c40fc74d64736f6c63430005100032",
|
|
311
|
-
"linkReferences": {},
|
|
312
|
-
"deployedLinkReferences": {}
|
|
313
|
-
}
|
|
@@ -1,240 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "XVSVaultStorageV1",
|
|
4
|
-
"sourceName": "@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultStorage.sol",
|
|
5
|
-
"abi": [
|
|
6
|
-
{
|
|
7
|
-
"constant": true,
|
|
8
|
-
"inputs": [],
|
|
9
|
-
"name": "DELEGATION_TYPEHASH",
|
|
10
|
-
"outputs": [
|
|
11
|
-
{
|
|
12
|
-
"internalType": "bytes32",
|
|
13
|
-
"name": "",
|
|
14
|
-
"type": "bytes32"
|
|
15
|
-
}
|
|
16
|
-
],
|
|
17
|
-
"payable": false,
|
|
18
|
-
"stateMutability": "view",
|
|
19
|
-
"type": "function"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"constant": true,
|
|
23
|
-
"inputs": [],
|
|
24
|
-
"name": "DOMAIN_TYPEHASH",
|
|
25
|
-
"outputs": [
|
|
26
|
-
{
|
|
27
|
-
"internalType": "bytes32",
|
|
28
|
-
"name": "",
|
|
29
|
-
"type": "bytes32"
|
|
30
|
-
}
|
|
31
|
-
],
|
|
32
|
-
"payable": false,
|
|
33
|
-
"stateMutability": "view",
|
|
34
|
-
"type": "function"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"constant": true,
|
|
38
|
-
"inputs": [],
|
|
39
|
-
"name": "admin",
|
|
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": "implementation",
|
|
55
|
-
"outputs": [
|
|
56
|
-
{
|
|
57
|
-
"internalType": "address",
|
|
58
|
-
"name": "",
|
|
59
|
-
"type": "address"
|
|
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": "nonces",
|
|
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": "pendingXVSVaultImplementation",
|
|
106
|
-
"outputs": [
|
|
107
|
-
{
|
|
108
|
-
"internalType": "address",
|
|
109
|
-
"name": "",
|
|
110
|
-
"type": "address"
|
|
111
|
-
}
|
|
112
|
-
],
|
|
113
|
-
"payable": false,
|
|
114
|
-
"stateMutability": "view",
|
|
115
|
-
"type": "function"
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
"constant": true,
|
|
119
|
-
"inputs": [
|
|
120
|
-
{
|
|
121
|
-
"internalType": "address",
|
|
122
|
-
"name": "",
|
|
123
|
-
"type": "address"
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"internalType": "uint256",
|
|
127
|
-
"name": "",
|
|
128
|
-
"type": "uint256"
|
|
129
|
-
}
|
|
130
|
-
],
|
|
131
|
-
"name": "poolInfos",
|
|
132
|
-
"outputs": [
|
|
133
|
-
{
|
|
134
|
-
"internalType": "contract IBEP20",
|
|
135
|
-
"name": "token",
|
|
136
|
-
"type": "address"
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
"internalType": "uint256",
|
|
140
|
-
"name": "allocPoint",
|
|
141
|
-
"type": "uint256"
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
"internalType": "uint256",
|
|
145
|
-
"name": "lastRewardBlock",
|
|
146
|
-
"type": "uint256"
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
"internalType": "uint256",
|
|
150
|
-
"name": "accRewardPerShare",
|
|
151
|
-
"type": "uint256"
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
"internalType": "uint256",
|
|
155
|
-
"name": "lockPeriod",
|
|
156
|
-
"type": "uint256"
|
|
157
|
-
}
|
|
158
|
-
],
|
|
159
|
-
"payable": false,
|
|
160
|
-
"stateMutability": "view",
|
|
161
|
-
"type": "function"
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
"constant": true,
|
|
165
|
-
"inputs": [
|
|
166
|
-
{
|
|
167
|
-
"internalType": "address",
|
|
168
|
-
"name": "",
|
|
169
|
-
"type": "address"
|
|
170
|
-
}
|
|
171
|
-
],
|
|
172
|
-
"name": "rewardTokenAmountsPerBlock",
|
|
173
|
-
"outputs": [
|
|
174
|
-
{
|
|
175
|
-
"internalType": "uint256",
|
|
176
|
-
"name": "",
|
|
177
|
-
"type": "uint256"
|
|
178
|
-
}
|
|
179
|
-
],
|
|
180
|
-
"payable": false,
|
|
181
|
-
"stateMutability": "view",
|
|
182
|
-
"type": "function"
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
"constant": true,
|
|
186
|
-
"inputs": [
|
|
187
|
-
{
|
|
188
|
-
"internalType": "address",
|
|
189
|
-
"name": "",
|
|
190
|
-
"type": "address"
|
|
191
|
-
}
|
|
192
|
-
],
|
|
193
|
-
"name": "totalAllocPoints",
|
|
194
|
-
"outputs": [
|
|
195
|
-
{
|
|
196
|
-
"internalType": "uint256",
|
|
197
|
-
"name": "",
|
|
198
|
-
"type": "uint256"
|
|
199
|
-
}
|
|
200
|
-
],
|
|
201
|
-
"payable": false,
|
|
202
|
-
"stateMutability": "view",
|
|
203
|
-
"type": "function"
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
"constant": true,
|
|
207
|
-
"inputs": [],
|
|
208
|
-
"name": "xvsAddress",
|
|
209
|
-
"outputs": [
|
|
210
|
-
{
|
|
211
|
-
"internalType": "address",
|
|
212
|
-
"name": "",
|
|
213
|
-
"type": "address"
|
|
214
|
-
}
|
|
215
|
-
],
|
|
216
|
-
"payable": false,
|
|
217
|
-
"stateMutability": "view",
|
|
218
|
-
"type": "function"
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
"constant": true,
|
|
222
|
-
"inputs": [],
|
|
223
|
-
"name": "xvsStore",
|
|
224
|
-
"outputs": [
|
|
225
|
-
{
|
|
226
|
-
"internalType": "address",
|
|
227
|
-
"name": "",
|
|
228
|
-
"type": "address"
|
|
229
|
-
}
|
|
230
|
-
],
|
|
231
|
-
"payable": false,
|
|
232
|
-
"stateMutability": "view",
|
|
233
|
-
"type": "function"
|
|
234
|
-
}
|
|
235
|
-
],
|
|
236
|
-
"bytecode": "0x608060405234801561001057600080fd5b506103c7806100206000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80635c60da1b116100715780635c60da1b146101535780637ecebe001461015b57806392e3500014610181578063de0368b2146101e2578063e7a324dc146101ea578063f851a440146101f2576100b4565b806320606b70146100b957806324f52bbf146100d357806326782247146100f75780632eda5c6c146100ff578063358ae036146101255780634298bdbd1461012d575b600080fd5b6100c16101fa565b60408051918252519081900360200190f35b6100db610215565b604080516001600160a01b039092168252519081900360200190f35b6100db610224565b6100c16004803603602081101561011557600080fd5b50356001600160a01b0316610233565b6100db610245565b6100c16004803603602081101561014357600080fd5b50356001600160a01b0316610254565b6100db610266565b6100c16004803603602081101561017157600080fd5b50356001600160a01b0316610275565b6101ad6004803603604081101561019757600080fd5b506001600160a01b038135169060200135610287565b604080516001600160a01b03909616865260208601949094528484019290925260608401526080830152519081900360a00190f35b6100db6102dc565b6100c16102eb565b6100db610306565b60405180604361031682396043019050604051809103902081565b6004546001600160a01b031681565b6001546001600160a01b031681565b60066020526000908152604090205481565b6005546001600160a01b031681565b60096020526000908152604090205481565b6002546001600160a01b031681565b600e6020526000908152604090205481565b600860205281600052604060002081815481106102a057fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b039093169550909350919085565b6003546001600160a01b031681565b60405180603a6103598239603a019050604051809103902081565b6000546001600160a01b03168156fe454950373132446f6d61696e28737472696e67206e616d652c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e74726163742944656c65676174696f6e28616464726573732064656c6567617465652c75696e74323536206e6f6e63652c75696e743235362065787069727929a265627a7a72315820ff41b81008f02c6e47bfda8b35a3771b0b589d2aac95d954acb76eb481c04a7b64736f6c63430005100032",
|
|
237
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100b45760003560e01c80635c60da1b116100715780635c60da1b146101535780637ecebe001461015b57806392e3500014610181578063de0368b2146101e2578063e7a324dc146101ea578063f851a440146101f2576100b4565b806320606b70146100b957806324f52bbf146100d357806326782247146100f75780632eda5c6c146100ff578063358ae036146101255780634298bdbd1461012d575b600080fd5b6100c16101fa565b60408051918252519081900360200190f35b6100db610215565b604080516001600160a01b039092168252519081900360200190f35b6100db610224565b6100c16004803603602081101561011557600080fd5b50356001600160a01b0316610233565b6100db610245565b6100c16004803603602081101561014357600080fd5b50356001600160a01b0316610254565b6100db610266565b6100c16004803603602081101561017157600080fd5b50356001600160a01b0316610275565b6101ad6004803603604081101561019757600080fd5b506001600160a01b038135169060200135610287565b604080516001600160a01b03909616865260208601949094528484019290925260608401526080830152519081900360a00190f35b6100db6102dc565b6100c16102eb565b6100db610306565b60405180604361031682396043019050604051809103902081565b6004546001600160a01b031681565b6001546001600160a01b031681565b60066020526000908152604090205481565b6005546001600160a01b031681565b60096020526000908152604090205481565b6002546001600160a01b031681565b600e6020526000908152604090205481565b600860205281600052604060002081815481106102a057fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b039093169550909350919085565b6003546001600160a01b031681565b60405180603a6103598239603a019050604051809103902081565b6000546001600160a01b03168156fe454950373132446f6d61696e28737472696e67206e616d652c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e74726163742944656c65676174696f6e28616464726573732064656c6567617465652c75696e74323536206e6f6e63652c75696e743235362065787069727929a265627a7a72315820ff41b81008f02c6e47bfda8b35a3771b0b589d2aac95d954acb76eb481c04a7b64736f6c63430005100032",
|
|
238
|
-
"linkReferences": {},
|
|
239
|
-
"deployedLinkReferences": {}
|
|
240
|
-
}
|