@venusprotocol/governance-contracts 1.0.1-dev.2 → 1.0.1-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.
- package/artifacts/@openzeppelin/contracts/access/AccessControl.sol/AccessControl.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/access/AccessControl.sol/AccessControl.json +215 -0
- package/artifacts/@openzeppelin/contracts/access/IAccessControl.sol/IAccessControl.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/access/IAccessControl.sol/IAccessControl.json +183 -0
- package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.json +10 -0
- package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.json +10 -0
- package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.json +30 -0
- package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.json +30 -0
- package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.json +10 -0
- package/artifacts/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol/Ownable2StepUpgradeable.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol/Ownable2StepUpgradeable.json +115 -0
- package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.json +76 -0
- package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.json +24 -0
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.json +10 -0
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.json +24 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/Governance/XVS.sol/Owned.dbg.json +4 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/Governance/XVS.sol/Owned.json +66 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/Governance/XVS.sol/Tokenlock.dbg.json +4 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/Governance/XVS.sol/Tokenlock.json +90 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/Governance/XVS.sol/XVS.dbg.json +4 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/Governance/XVS.sol/XVS.json +618 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/Address.sol/Address.dbg.json +4 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/Address.sol/Address.json +10 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/ECDSA.sol/ECDSA.dbg.json +4 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/ECDSA.sol/ECDSA.json +10 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/IBEP20.sol/IBEP20.dbg.json +4 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/IBEP20.sol/IBEP20.json +206 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/SafeBEP20.sol/SafeBEP20.dbg.json +4 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/SafeBEP20.sol/SafeBEP20.json +10 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/SafeMath.sol/SafeMath.dbg.json +4 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/Utils/SafeMath.sol/SafeMath.json +10 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSStore.sol/XVSStore.dbg.json +4 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSStore.sol/XVSStore.json +244 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVault.sol/IXVSStore.dbg.json +4 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVault.sol/IXVSStore.json +56 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVault.sol/XVSVault.dbg.json +4 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVault.sol/XVSVault.json +1211 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultErrorReporter.sol/XVSVaultErrorReporter.dbg.json +4 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultErrorReporter.sol/XVSVaultErrorReporter.json +36 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultProxy.sol/XVSVaultProxy.dbg.json +4 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultProxy.sol/XVSVaultProxy.json +255 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultStorage.sol/XVSVaultAdminStorage.dbg.json +4 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultStorage.sol/XVSVaultAdminStorage.json +71 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultStorage.sol/XVSVaultStorage.dbg.json +4 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultStorage.sol/XVSVaultStorage.json +313 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultStorage.sol/XVSVaultStorageV1.dbg.json +4 -0
- package/artifacts/@venusprotocol/venus-protocol/contracts/XVSVault/XVSVaultStorage.sol/XVSVaultStorageV1.json +240 -0
- package/artifacts/build-info/0e028ff5062f0f59a7ffef92b702c074.json +1 -0
- package/artifacts/build-info/56323f6708e82b6f7b159248c3c1268a.json +1 -0
- package/artifacts/build-info/60a7730a05f99cbf38891be24e3a5c77.json +1 -0
- package/artifacts/build-info/bb792d434e41d4003eeb48354b3a6c5c.json +1 -0
- package/artifacts/build-info/e5638231ea42ec29d0230b1b013f1a57.json +1 -0
- package/artifacts/contracts/Governance/AccessControlManager.sol/AccessControlManager.dbg.json +4 -0
- package/artifacts/contracts/Governance/AccessControlManager.sol/AccessControlManager.json +369 -0
- package/artifacts/contracts/Governance/AccessControlledV5.sol/AccessControlledV5.dbg.json +4 -0
- package/artifacts/contracts/Governance/AccessControlledV5.sol/AccessControlledV5.json +45 -0
- package/artifacts/contracts/Governance/AccessControlledV8.sol/AccessControlledV8.dbg.json +4 -0
- package/artifacts/contracts/Governance/AccessControlledV8.sol/AccessControlledV8.json +181 -0
- package/artifacts/contracts/Governance/GovernorBravoDelegate.sol/GovernorBravoDelegate.dbg.json +4 -0
- package/artifacts/contracts/Governance/GovernorBravoDelegate.sol/GovernorBravoDelegate.json +1173 -0
- package/artifacts/contracts/Governance/GovernorBravoDelegator.sol/GovernorBravoDelegator.dbg.json +4 -0
- package/artifacts/contracts/Governance/GovernorBravoDelegator.sol/GovernorBravoDelegator.json +424 -0
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorAlphaInterface.dbg.json +4 -0
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorAlphaInterface.json +26 -0
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1.dbg.json +4 -0
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV1.json +283 -0
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV2.dbg.json +4 -0
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegateStorageV2.json +335 -0
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage.dbg.json +4 -0
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoDelegatorStorage.json +56 -0
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents.dbg.json +4 -0
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/GovernorBravoEvents.json +312 -0
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/TimelockInterface.dbg.json +4 -0
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/TimelockInterface.json +188 -0
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/XvsVaultInterface.dbg.json +4 -0
- package/artifacts/contracts/Governance/GovernorBravoInterfaces.sol/XvsVaultInterface.json +37 -0
- package/artifacts/contracts/Governance/IAccessControlManagerV5.sol/IAccessControlManagerV5.dbg.json +4 -0
- package/artifacts/contracts/Governance/IAccessControlManagerV5.sol/IAccessControlManagerV5.json +300 -0
- package/artifacts/contracts/Governance/IAccessControlManagerV8.sol/IAccessControlManagerV8.dbg.json +4 -0
- package/artifacts/contracts/Governance/IAccessControlManagerV8.sol/IAccessControlManagerV8.json +282 -0
- package/artifacts/contracts/Governance/Timelock.sol/Timelock.dbg.json +4 -0
- package/artifacts/contracts/Governance/Timelock.sol/Timelock.json +468 -0
- package/artifacts/contracts/Utils/SafeMath.sol/SafeMath.dbg.json +4 -0
- package/artifacts/contracts/Utils/SafeMath.sol/SafeMath.json +10 -0
- package/artifacts/contracts/test/MockAccessTest.sol/MockAccessTest.dbg.json +4 -0
- package/artifacts/contracts/test/MockAccessTest.sol/MockAccessTest.json +194 -0
- package/contracts/Governance/Timelock.sol +58 -1
- package/package.json +1 -1
|
@@ -0,0 +1,618 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "XVS",
|
|
4
|
+
"sourceName": "@venusprotocol/venus-protocol/contracts/Governance/XVS.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "address",
|
|
10
|
+
"name": "account",
|
|
11
|
+
"type": "address"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"payable": false,
|
|
15
|
+
"stateMutability": "nonpayable",
|
|
16
|
+
"type": "constructor"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"anonymous": false,
|
|
20
|
+
"inputs": [
|
|
21
|
+
{
|
|
22
|
+
"indexed": true,
|
|
23
|
+
"internalType": "address",
|
|
24
|
+
"name": "owner",
|
|
25
|
+
"type": "address"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"indexed": true,
|
|
29
|
+
"internalType": "address",
|
|
30
|
+
"name": "spender",
|
|
31
|
+
"type": "address"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"indexed": false,
|
|
35
|
+
"internalType": "uint256",
|
|
36
|
+
"name": "amount",
|
|
37
|
+
"type": "uint256"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"name": "Approval",
|
|
41
|
+
"type": "event"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"anonymous": false,
|
|
45
|
+
"inputs": [
|
|
46
|
+
{
|
|
47
|
+
"indexed": true,
|
|
48
|
+
"internalType": "address",
|
|
49
|
+
"name": "delegator",
|
|
50
|
+
"type": "address"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"indexed": true,
|
|
54
|
+
"internalType": "address",
|
|
55
|
+
"name": "fromDelegate",
|
|
56
|
+
"type": "address"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"indexed": true,
|
|
60
|
+
"internalType": "address",
|
|
61
|
+
"name": "toDelegate",
|
|
62
|
+
"type": "address"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"name": "DelegateChanged",
|
|
66
|
+
"type": "event"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"anonymous": false,
|
|
70
|
+
"inputs": [
|
|
71
|
+
{
|
|
72
|
+
"indexed": true,
|
|
73
|
+
"internalType": "address",
|
|
74
|
+
"name": "delegate",
|
|
75
|
+
"type": "address"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"indexed": false,
|
|
79
|
+
"internalType": "uint256",
|
|
80
|
+
"name": "previousBalance",
|
|
81
|
+
"type": "uint256"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"indexed": false,
|
|
85
|
+
"internalType": "uint256",
|
|
86
|
+
"name": "newBalance",
|
|
87
|
+
"type": "uint256"
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"name": "DelegateVotesChanged",
|
|
91
|
+
"type": "event"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"anonymous": false,
|
|
95
|
+
"inputs": [],
|
|
96
|
+
"name": "Freezed",
|
|
97
|
+
"type": "event"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"anonymous": false,
|
|
101
|
+
"inputs": [
|
|
102
|
+
{
|
|
103
|
+
"indexed": true,
|
|
104
|
+
"internalType": "address",
|
|
105
|
+
"name": "_from",
|
|
106
|
+
"type": "address"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"indexed": true,
|
|
110
|
+
"internalType": "address",
|
|
111
|
+
"name": "_to",
|
|
112
|
+
"type": "address"
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
"name": "OwnershipTransferred",
|
|
116
|
+
"type": "event"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"anonymous": false,
|
|
120
|
+
"inputs": [
|
|
121
|
+
{
|
|
122
|
+
"indexed": true,
|
|
123
|
+
"internalType": "address",
|
|
124
|
+
"name": "from",
|
|
125
|
+
"type": "address"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"indexed": true,
|
|
129
|
+
"internalType": "address",
|
|
130
|
+
"name": "to",
|
|
131
|
+
"type": "address"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"indexed": false,
|
|
135
|
+
"internalType": "uint256",
|
|
136
|
+
"name": "amount",
|
|
137
|
+
"type": "uint256"
|
|
138
|
+
}
|
|
139
|
+
],
|
|
140
|
+
"name": "Transfer",
|
|
141
|
+
"type": "event"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"anonymous": false,
|
|
145
|
+
"inputs": [],
|
|
146
|
+
"name": "UnFreezed",
|
|
147
|
+
"type": "event"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"constant": true,
|
|
151
|
+
"inputs": [],
|
|
152
|
+
"name": "DELEGATION_TYPEHASH",
|
|
153
|
+
"outputs": [
|
|
154
|
+
{
|
|
155
|
+
"internalType": "bytes32",
|
|
156
|
+
"name": "",
|
|
157
|
+
"type": "bytes32"
|
|
158
|
+
}
|
|
159
|
+
],
|
|
160
|
+
"payable": false,
|
|
161
|
+
"stateMutability": "view",
|
|
162
|
+
"type": "function"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"constant": true,
|
|
166
|
+
"inputs": [],
|
|
167
|
+
"name": "DOMAIN_TYPEHASH",
|
|
168
|
+
"outputs": [
|
|
169
|
+
{
|
|
170
|
+
"internalType": "bytes32",
|
|
171
|
+
"name": "",
|
|
172
|
+
"type": "bytes32"
|
|
173
|
+
}
|
|
174
|
+
],
|
|
175
|
+
"payable": false,
|
|
176
|
+
"stateMutability": "view",
|
|
177
|
+
"type": "function"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"constant": true,
|
|
181
|
+
"inputs": [
|
|
182
|
+
{
|
|
183
|
+
"internalType": "address",
|
|
184
|
+
"name": "account",
|
|
185
|
+
"type": "address"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"internalType": "address",
|
|
189
|
+
"name": "spender",
|
|
190
|
+
"type": "address"
|
|
191
|
+
}
|
|
192
|
+
],
|
|
193
|
+
"name": "allowance",
|
|
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": false,
|
|
207
|
+
"inputs": [
|
|
208
|
+
{
|
|
209
|
+
"internalType": "address",
|
|
210
|
+
"name": "spender",
|
|
211
|
+
"type": "address"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"internalType": "uint256",
|
|
215
|
+
"name": "rawAmount",
|
|
216
|
+
"type": "uint256"
|
|
217
|
+
}
|
|
218
|
+
],
|
|
219
|
+
"name": "approve",
|
|
220
|
+
"outputs": [
|
|
221
|
+
{
|
|
222
|
+
"internalType": "bool",
|
|
223
|
+
"name": "",
|
|
224
|
+
"type": "bool"
|
|
225
|
+
}
|
|
226
|
+
],
|
|
227
|
+
"payable": false,
|
|
228
|
+
"stateMutability": "nonpayable",
|
|
229
|
+
"type": "function"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"constant": true,
|
|
233
|
+
"inputs": [
|
|
234
|
+
{
|
|
235
|
+
"internalType": "address",
|
|
236
|
+
"name": "account",
|
|
237
|
+
"type": "address"
|
|
238
|
+
}
|
|
239
|
+
],
|
|
240
|
+
"name": "balanceOf",
|
|
241
|
+
"outputs": [
|
|
242
|
+
{
|
|
243
|
+
"internalType": "uint256",
|
|
244
|
+
"name": "",
|
|
245
|
+
"type": "uint256"
|
|
246
|
+
}
|
|
247
|
+
],
|
|
248
|
+
"payable": false,
|
|
249
|
+
"stateMutability": "view",
|
|
250
|
+
"type": "function"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"constant": true,
|
|
254
|
+
"inputs": [
|
|
255
|
+
{
|
|
256
|
+
"internalType": "address",
|
|
257
|
+
"name": "",
|
|
258
|
+
"type": "address"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"internalType": "uint32",
|
|
262
|
+
"name": "",
|
|
263
|
+
"type": "uint32"
|
|
264
|
+
}
|
|
265
|
+
],
|
|
266
|
+
"name": "checkpoints",
|
|
267
|
+
"outputs": [
|
|
268
|
+
{
|
|
269
|
+
"internalType": "uint32",
|
|
270
|
+
"name": "fromBlock",
|
|
271
|
+
"type": "uint32"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"internalType": "uint96",
|
|
275
|
+
"name": "votes",
|
|
276
|
+
"type": "uint96"
|
|
277
|
+
}
|
|
278
|
+
],
|
|
279
|
+
"payable": false,
|
|
280
|
+
"stateMutability": "view",
|
|
281
|
+
"type": "function"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"constant": true,
|
|
285
|
+
"inputs": [],
|
|
286
|
+
"name": "decimals",
|
|
287
|
+
"outputs": [
|
|
288
|
+
{
|
|
289
|
+
"internalType": "uint8",
|
|
290
|
+
"name": "",
|
|
291
|
+
"type": "uint8"
|
|
292
|
+
}
|
|
293
|
+
],
|
|
294
|
+
"payable": false,
|
|
295
|
+
"stateMutability": "view",
|
|
296
|
+
"type": "function"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"constant": false,
|
|
300
|
+
"inputs": [
|
|
301
|
+
{
|
|
302
|
+
"internalType": "address",
|
|
303
|
+
"name": "delegatee",
|
|
304
|
+
"type": "address"
|
|
305
|
+
}
|
|
306
|
+
],
|
|
307
|
+
"name": "delegate",
|
|
308
|
+
"outputs": [],
|
|
309
|
+
"payable": false,
|
|
310
|
+
"stateMutability": "nonpayable",
|
|
311
|
+
"type": "function"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"constant": false,
|
|
315
|
+
"inputs": [
|
|
316
|
+
{
|
|
317
|
+
"internalType": "address",
|
|
318
|
+
"name": "delegatee",
|
|
319
|
+
"type": "address"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"internalType": "uint256",
|
|
323
|
+
"name": "nonce",
|
|
324
|
+
"type": "uint256"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"internalType": "uint256",
|
|
328
|
+
"name": "expiry",
|
|
329
|
+
"type": "uint256"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"internalType": "uint8",
|
|
333
|
+
"name": "v",
|
|
334
|
+
"type": "uint8"
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"internalType": "bytes32",
|
|
338
|
+
"name": "r",
|
|
339
|
+
"type": "bytes32"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"internalType": "bytes32",
|
|
343
|
+
"name": "s",
|
|
344
|
+
"type": "bytes32"
|
|
345
|
+
}
|
|
346
|
+
],
|
|
347
|
+
"name": "delegateBySig",
|
|
348
|
+
"outputs": [],
|
|
349
|
+
"payable": false,
|
|
350
|
+
"stateMutability": "nonpayable",
|
|
351
|
+
"type": "function"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"constant": true,
|
|
355
|
+
"inputs": [
|
|
356
|
+
{
|
|
357
|
+
"internalType": "address",
|
|
358
|
+
"name": "",
|
|
359
|
+
"type": "address"
|
|
360
|
+
}
|
|
361
|
+
],
|
|
362
|
+
"name": "delegates",
|
|
363
|
+
"outputs": [
|
|
364
|
+
{
|
|
365
|
+
"internalType": "address",
|
|
366
|
+
"name": "",
|
|
367
|
+
"type": "address"
|
|
368
|
+
}
|
|
369
|
+
],
|
|
370
|
+
"payable": false,
|
|
371
|
+
"stateMutability": "view",
|
|
372
|
+
"type": "function"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"constant": false,
|
|
376
|
+
"inputs": [],
|
|
377
|
+
"name": "freeze",
|
|
378
|
+
"outputs": [],
|
|
379
|
+
"payable": false,
|
|
380
|
+
"stateMutability": "nonpayable",
|
|
381
|
+
"type": "function"
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"constant": true,
|
|
385
|
+
"inputs": [
|
|
386
|
+
{
|
|
387
|
+
"internalType": "address",
|
|
388
|
+
"name": "account",
|
|
389
|
+
"type": "address"
|
|
390
|
+
}
|
|
391
|
+
],
|
|
392
|
+
"name": "getCurrentVotes",
|
|
393
|
+
"outputs": [
|
|
394
|
+
{
|
|
395
|
+
"internalType": "uint96",
|
|
396
|
+
"name": "",
|
|
397
|
+
"type": "uint96"
|
|
398
|
+
}
|
|
399
|
+
],
|
|
400
|
+
"payable": false,
|
|
401
|
+
"stateMutability": "view",
|
|
402
|
+
"type": "function"
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"constant": true,
|
|
406
|
+
"inputs": [
|
|
407
|
+
{
|
|
408
|
+
"internalType": "address",
|
|
409
|
+
"name": "account",
|
|
410
|
+
"type": "address"
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"internalType": "uint256",
|
|
414
|
+
"name": "blockNumber",
|
|
415
|
+
"type": "uint256"
|
|
416
|
+
}
|
|
417
|
+
],
|
|
418
|
+
"name": "getPriorVotes",
|
|
419
|
+
"outputs": [
|
|
420
|
+
{
|
|
421
|
+
"internalType": "uint96",
|
|
422
|
+
"name": "",
|
|
423
|
+
"type": "uint96"
|
|
424
|
+
}
|
|
425
|
+
],
|
|
426
|
+
"payable": false,
|
|
427
|
+
"stateMutability": "view",
|
|
428
|
+
"type": "function"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"constant": true,
|
|
432
|
+
"inputs": [],
|
|
433
|
+
"name": "name",
|
|
434
|
+
"outputs": [
|
|
435
|
+
{
|
|
436
|
+
"internalType": "string",
|
|
437
|
+
"name": "",
|
|
438
|
+
"type": "string"
|
|
439
|
+
}
|
|
440
|
+
],
|
|
441
|
+
"payable": false,
|
|
442
|
+
"stateMutability": "view",
|
|
443
|
+
"type": "function"
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
"constant": true,
|
|
447
|
+
"inputs": [
|
|
448
|
+
{
|
|
449
|
+
"internalType": "address",
|
|
450
|
+
"name": "",
|
|
451
|
+
"type": "address"
|
|
452
|
+
}
|
|
453
|
+
],
|
|
454
|
+
"name": "nonces",
|
|
455
|
+
"outputs": [
|
|
456
|
+
{
|
|
457
|
+
"internalType": "uint256",
|
|
458
|
+
"name": "",
|
|
459
|
+
"type": "uint256"
|
|
460
|
+
}
|
|
461
|
+
],
|
|
462
|
+
"payable": false,
|
|
463
|
+
"stateMutability": "view",
|
|
464
|
+
"type": "function"
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"constant": true,
|
|
468
|
+
"inputs": [
|
|
469
|
+
{
|
|
470
|
+
"internalType": "address",
|
|
471
|
+
"name": "",
|
|
472
|
+
"type": "address"
|
|
473
|
+
}
|
|
474
|
+
],
|
|
475
|
+
"name": "numCheckpoints",
|
|
476
|
+
"outputs": [
|
|
477
|
+
{
|
|
478
|
+
"internalType": "uint32",
|
|
479
|
+
"name": "",
|
|
480
|
+
"type": "uint32"
|
|
481
|
+
}
|
|
482
|
+
],
|
|
483
|
+
"payable": false,
|
|
484
|
+
"stateMutability": "view",
|
|
485
|
+
"type": "function"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"constant": true,
|
|
489
|
+
"inputs": [],
|
|
490
|
+
"name": "owner",
|
|
491
|
+
"outputs": [
|
|
492
|
+
{
|
|
493
|
+
"internalType": "address",
|
|
494
|
+
"name": "",
|
|
495
|
+
"type": "address"
|
|
496
|
+
}
|
|
497
|
+
],
|
|
498
|
+
"payable": false,
|
|
499
|
+
"stateMutability": "view",
|
|
500
|
+
"type": "function"
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
"constant": true,
|
|
504
|
+
"inputs": [],
|
|
505
|
+
"name": "symbol",
|
|
506
|
+
"outputs": [
|
|
507
|
+
{
|
|
508
|
+
"internalType": "string",
|
|
509
|
+
"name": "",
|
|
510
|
+
"type": "string"
|
|
511
|
+
}
|
|
512
|
+
],
|
|
513
|
+
"payable": false,
|
|
514
|
+
"stateMutability": "view",
|
|
515
|
+
"type": "function"
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
"constant": true,
|
|
519
|
+
"inputs": [],
|
|
520
|
+
"name": "totalSupply",
|
|
521
|
+
"outputs": [
|
|
522
|
+
{
|
|
523
|
+
"internalType": "uint256",
|
|
524
|
+
"name": "",
|
|
525
|
+
"type": "uint256"
|
|
526
|
+
}
|
|
527
|
+
],
|
|
528
|
+
"payable": false,
|
|
529
|
+
"stateMutability": "view",
|
|
530
|
+
"type": "function"
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"constant": false,
|
|
534
|
+
"inputs": [
|
|
535
|
+
{
|
|
536
|
+
"internalType": "address",
|
|
537
|
+
"name": "dst",
|
|
538
|
+
"type": "address"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"internalType": "uint256",
|
|
542
|
+
"name": "rawAmount",
|
|
543
|
+
"type": "uint256"
|
|
544
|
+
}
|
|
545
|
+
],
|
|
546
|
+
"name": "transfer",
|
|
547
|
+
"outputs": [
|
|
548
|
+
{
|
|
549
|
+
"internalType": "bool",
|
|
550
|
+
"name": "",
|
|
551
|
+
"type": "bool"
|
|
552
|
+
}
|
|
553
|
+
],
|
|
554
|
+
"payable": false,
|
|
555
|
+
"stateMutability": "nonpayable",
|
|
556
|
+
"type": "function"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"constant": false,
|
|
560
|
+
"inputs": [
|
|
561
|
+
{
|
|
562
|
+
"internalType": "address",
|
|
563
|
+
"name": "src",
|
|
564
|
+
"type": "address"
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"internalType": "address",
|
|
568
|
+
"name": "dst",
|
|
569
|
+
"type": "address"
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"internalType": "uint256",
|
|
573
|
+
"name": "rawAmount",
|
|
574
|
+
"type": "uint256"
|
|
575
|
+
}
|
|
576
|
+
],
|
|
577
|
+
"name": "transferFrom",
|
|
578
|
+
"outputs": [
|
|
579
|
+
{
|
|
580
|
+
"internalType": "bool",
|
|
581
|
+
"name": "",
|
|
582
|
+
"type": "bool"
|
|
583
|
+
}
|
|
584
|
+
],
|
|
585
|
+
"payable": false,
|
|
586
|
+
"stateMutability": "nonpayable",
|
|
587
|
+
"type": "function"
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
"constant": false,
|
|
591
|
+
"inputs": [
|
|
592
|
+
{
|
|
593
|
+
"internalType": "address",
|
|
594
|
+
"name": "newOwner",
|
|
595
|
+
"type": "address"
|
|
596
|
+
}
|
|
597
|
+
],
|
|
598
|
+
"name": "transferOwnership",
|
|
599
|
+
"outputs": [],
|
|
600
|
+
"payable": false,
|
|
601
|
+
"stateMutability": "nonpayable",
|
|
602
|
+
"type": "function"
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
"constant": false,
|
|
606
|
+
"inputs": [],
|
|
607
|
+
"name": "unfreeze",
|
|
608
|
+
"outputs": [],
|
|
609
|
+
"payable": false,
|
|
610
|
+
"stateMutability": "nonpayable",
|
|
611
|
+
"type": "function"
|
|
612
|
+
}
|
|
613
|
+
],
|
|
614
|
+
"bytecode": "0x60806040526000805460ff60a01b1916905534801561001d57600080fd5b50604051611d00380380611d008339818101604052602081101561004057600080fd5b5051600080546001600160a01b031916331781556001600160a01b03821680825260026020908152604080842080546001600160601b0319166a18d0bf423c03d8de000000908117909155815190815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350611c30806100d06000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c806370a08231116100c3578063b4b5ea571161007c578063b4b5ea571461040e578063c3cda52014610434578063dd62ed3e1461047b578063e7a324dc146104a9578063f1127ed8146104b1578063f2fde38b1461050b5761014d565b806370a082311461033e578063782d6fe1146103645780637ecebe00146103ac5780638da5cb5b146103d257806395d89b41146103da578063a9059cbb146103e25761014d565b8063313ce56711610115578063313ce56714610267578063587cde1e146102855780635c19a95c146102c757806362a5af3b146102ef5780636a28f000146102f75780636fcfff45146102ff5761014d565b806306fdde0314610152578063095ea7b3146101cf57806318160ddd1461020f57806320606b701461022957806323b872dd14610231575b600080fd5b61015a610531565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561019457818101518382015260200161017c565b50505050905090810190601f1680156101c15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101fb600480360360408110156101e557600080fd5b506001600160a01b038135169060200135610552565b604080519115158252519081900360200190f35b610217610661565b60408051918252519081900360200190f35b610217610670565b6101fb6004803603606081101561024757600080fd5b506001600160a01b0381358116916020810135909116906040013561068b565b61026f610820565b6040805160ff9092168252519081900360200190f35b6102ab6004803603602081101561029b57600080fd5b50356001600160a01b0316610825565b604080516001600160a01b039092168252519081900360200190f35b6102ed600480360360208110156102dd57600080fd5b50356001600160a01b0316610840565b005b6102ed61089e565b6102ed61092b565b6103256004803603602081101561031557600080fd5b50356001600160a01b03166109b2565b6040805163ffffffff9092168252519081900360200190f35b6102176004803603602081101561035457600080fd5b50356001600160a01b03166109ca565b6103906004803603604081101561037a57600080fd5b506001600160a01b0381351690602001356109ee565b604080516001600160601b039092168252519081900360200190f35b610217600480360360208110156103c257600080fd5b50356001600160a01b0316610c1b565b6102ab610c2d565b61015a610c3c565b6101fb600480360360408110156103f857600080fd5b506001600160a01b038135169060200135610c5b565b6103906004803603602081101561042457600080fd5b50356001600160a01b0316610ce8565b6102ed600480360360c081101561044a57600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a00135610d59565b6102176004803603604081101561049157600080fd5b506001600160a01b0381358116916020013516611050565b610217611084565b6104e3600480360360408110156104c757600080fd5b5080356001600160a01b0316906020013563ffffffff1661109f565b6040805163ffffffff90931683526001600160601b0390911660208301528051918290030190f35b6102ed6004803603602081101561052157600080fd5b50356001600160a01b03166110d4565b6040518060400160405280600581526020016456656e757360d81b81525081565b60008054600160a01b900460ff16156105a4576040805162461bcd60e51b815260206004820152600f60248201526e151bdad95b881a5cc81b1bd8dad959608a1b604482015290519081900360640190fd5b60006000198314156105b957506000196105de565b6105db83604051806060016040528060248152602001611ab560249139611173565b90505b3360008181526001602090815260408083206001600160a01b0389168085529083529281902080546001600160601b0319166001600160601b038716908117909155815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a360019150505b92915050565b6a18d0bf423c03d8de00000081565b604051806043611a7282396043019050604051809103902081565b60008054600160a01b900460ff16156106dd576040805162461bcd60e51b815260206004820152600f60248201526e151bdad95b881a5cc81b1bd8dad959608a1b604482015290519081900360640190fd5b6001600160a01b03841660009081526001602090815260408083203380855290835281842054825160608101909352602480845291946001600160601b03909116939092610733928892611ab590830139611173565b9050866001600160a01b0316836001600160a01b03161415801561076057506001600160601b0382811614155b1561080857600061078a83836040518060600160405280603c8152602001611911603c913961120d565b6001600160a01b038981166000818152600160209081526040808320948a168084529482529182902080546001600160601b0319166001600160601b03871690811790915582519081529151949550929391927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92592918290030190a3505b61081387878361127a565b5060019695505050505050565b601281565b6003602052600090815260409020546001600160a01b031681565b600054600160a01b900460ff1615610891576040805162461bcd60e51b815260206004820152600f60248201526e151bdad95b881a5cc81b1bd8dad959608a1b604482015290519081900360640190fd5b61089b338261145f565b50565b6000546001600160a01b031633146108ef576040805162461bcd60e51b815260206004820152600f60248201526e29b437bab6321031329037bbb732b960891b604482015290519081900360640190fd5b6000805460ff60a01b1916600160a01b1781556040517f962a6139ca22015759d0878e2cf5d770dcb8152e1d5ba08e46a969dd9b154a9c9190a1565b6000546001600160a01b0316331461097c576040805162461bcd60e51b815260206004820152600f60248201526e29b437bab6321031329037bbb732b960891b604482015290519081900360640190fd5b6000805460ff60a01b191681556040517ff0daac2271a735ea786b9adf80dfcbd6a3cbd52f3cab0a78337114692d5faf5d9190a1565b60056020526000908152604090205463ffffffff1681565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b6000438210610a2e5760405162461bcd60e51b8152600401808060200182810382526026815260200180611b0c6026913960400191505060405180910390fd5b6001600160a01b03831660009081526005602052604090205463ffffffff1680610a5c57600091505061065b565b6001600160a01b038416600090815260046020908152604080832063ffffffff600019860181168552925290912054168310610ad8576001600160a01b03841660009081526004602090815260408083206000199490940163ffffffff1683529290522054600160201b90046001600160601b0316905061065b565b6001600160a01b038416600090815260046020908152604080832083805290915290205463ffffffff16831015610b1357600091505061065b565b600060001982015b8163ffffffff168163ffffffff161115610bd657600282820363ffffffff16048103610b456118f9565b506001600160a01b038716600090815260046020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b03169181019190915290871415610bb15760200151945061065b9350505050565b805163ffffffff16871115610bc857819350610bcf565b6001820392505b5050610b1b565b506001600160a01b038516600090815260046020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b60066020526000908152604090205481565b6000546001600160a01b031681565b6040518060400160405280600381526020016258565360e81b81525081565b60008054600160a01b900460ff1615610cad576040805162461bcd60e51b815260206004820152600f60248201526e151bdad95b881a5cc81b1bd8dad959608a1b604482015290519081900360640190fd5b6000610cd1836040518060600160405280602581526020016119a960259139611173565b9050610cde33858361127a565b5060019392505050565b6001600160a01b03811660009081526005602052604081205463ffffffff1680610d13576000610d52565b6001600160a01b0383166000908152600460209081526040808320600019850163ffffffff168452909152902054600160201b90046001600160601b03165b9392505050565b600054600160a01b900460ff1615610daa576040805162461bcd60e51b815260206004820152600f60248201526e151bdad95b881a5cc81b1bd8dad959608a1b604482015290519081900360640190fd5b60006040518080611a726043913960408051918290036043018220828201909152600582526456656e757360d81b60209092019190915290507f1a6875e3c24a024aa04a101518d25b2c59648a74ace83f8261f2a8e64025d85b610e0c6114e9565b3060405160200180858152602001848152602001838152602001826001600160a01b03166001600160a01b0316815260200194505050505060405160208183030381529060405280519060200120905060006040518080611bc2603a91396040805191829003603a0182206020808401919091526001600160a01b038c1683830152606083018b905260808084018b90528251808503909101815260a08401835280519082012061190160f01b60c085015260c2840187905260e2808501829052835180860390910181526101028501808552815191840191909120600091829052610122860180865281905260ff8c1661014287015261016286018b905261018286018a9052935191965092945091926001926101a28083019392601f198301929081900390910190855afa158015610f4a573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610f9c5760405162461bcd60e51b8152600401808060200182810382526025815260200180611a286025913960400191505060405180910390fd5b6001600160a01b03811660009081526006602052604090208054600181019091558914610ffa5760405162461bcd60e51b81526004018080602001828103825260218152602001806119ce6021913960400191505060405180910390fd5b874211156110395760405162461bcd60e51b8152600401808060200182810382526025815260200180611a4d6025913960400191505060405180910390fd5b611043818b61145f565b505050505b505050505050565b6001600160a01b0391821660009081526001602090815260408083209390941682529190915220546001600160601b031690565b60405180603a611bc28239603a019050604051809103902081565b600460209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b6000546001600160a01b03163314611125576040805162461bcd60e51b815260206004820152600f60248201526e29b437bab6321031329037bbb732b960891b604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0383811691821780845560405192939116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b600081600160601b84106112055760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156111ca5781810151838201526020016111b2565b50505050905090810190601f1680156111f75780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b509192915050565b6000836001600160601b0316836001600160601b0316111582906112725760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156111ca5781810151838201526020016111b2565b505050900390565b6001600160a01b0383166112bf5760405162461bcd60e51b815260040180806020018281038252603b815260200180611b32603b913960400191505060405180910390fd5b6001600160a01b0382166113045760405162461bcd60e51b81526004018080602001828103825260398152602001806119ef6039913960400191505060405180910390fd5b6001600160a01b03831660009081526002602090815260409182902054825160608101909352603580845261134f936001600160601b03909216928592919061194d9083013961120d565b6001600160a01b03848116600090815260026020908152604080832080546001600160601b0319166001600160601b0396871617905592861682529082902054825160608101909352602f8084526113b79491909116928592909190611b6d908301396114ed565b6001600160a01b0383811660008181526002602090815260409182902080546001600160601b0319166001600160601b039687161790558151948616855290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a36001600160a01b0380841660009081526003602052604080822054858416835291205461145a92918216911683611557565b505050565b6001600160a01b03808316600081815260036020818152604080842080546002845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46114e3828483611557565b50505050565b4690565b6000838301826001600160601b03808716908316101561154e5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156111ca5781810151838201526020016111b2565b50949350505050565b816001600160a01b0316836001600160a01b03161415801561158257506000816001600160601b0316115b1561145a576001600160a01b0383161561163a576001600160a01b03831660009081526005602052604081205463ffffffff1690816115c2576000611601565b6001600160a01b0385166000908152600460209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b9050600061162882856040518060600160405280602781526020016119826027913961120d565b9050611636868484846116e5565b5050505b6001600160a01b0382161561145a576001600160a01b03821660009081526005602052604081205463ffffffff1690816116755760006116b4565b6001600160a01b0384166000908152600460209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b905060006116db8285604051806060016040528060268152602001611b9c602691396114ed565b9050611048858484845b600061170943604051806060016040528060338152602001611ad9603391396118a4565b905060008463ffffffff1611801561175257506001600160a01b038516600090815260046020908152604080832063ffffffff6000198901811685529252909120548282169116145b156117b1576001600160a01b0385166000908152600460209081526040808320600019880163ffffffff168452909152902080546fffffffffffffffffffffffff000000001916600160201b6001600160601b03851602179055611850565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000818152600483528781208c871682528352878120965187549451909516600160201b026fffffffffffffffffffffffff000000001995871663ffffffff19958616179590951694909417909555938252600590935292909220805460018801909316929091169190911790555b604080516001600160601b0380861682528416602082015281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b600081600160201b84106112055760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156111ca5781810151838201526020016111b2565b60408051808201909152600080825260208201529056fe5856533a3a7472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e63655856533a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e63655856533a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f77735856533a3a7472616e736665723a20616d6f756e74206578636565647320393620626974735856533a3a64656c656761746542795369673a20696e76616c6964206e6f6e63655856533a3a5f7472616e73666572546f6b656e733a2063616e6e6f74207472616e7366657220746f20746865207a65726f20616464726573735856533a3a64656c656761746542795369673a20696e76616c6964207369676e61747572655856533a3a64656c656761746542795369673a207369676e61747572652065787069726564454950373132446f6d61696e28737472696e67206e616d652c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e7472616374295856533a3a617070726f76653a20616d6f756e74206578636565647320393620626974735856533a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d626572206578636565647320333220626974735856533a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e65645856533a3a5f7472616e73666572546f6b656e733a2063616e6e6f74207472616e736665722066726f6d20746865207a65726f20616464726573735856533a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f77735856533a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f777344656c65676174696f6e28616464726573732064656c6567617465652c75696e74323536206e6f6e63652c75696e743235362065787069727929a265627a7a72315820f59da763bfec43533ce4c2793b6f74a61baddc686c9a293636f4c0478a110e7b64736f6c63430005100032",
|
|
615
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061014d5760003560e01c806370a08231116100c3578063b4b5ea571161007c578063b4b5ea571461040e578063c3cda52014610434578063dd62ed3e1461047b578063e7a324dc146104a9578063f1127ed8146104b1578063f2fde38b1461050b5761014d565b806370a082311461033e578063782d6fe1146103645780637ecebe00146103ac5780638da5cb5b146103d257806395d89b41146103da578063a9059cbb146103e25761014d565b8063313ce56711610115578063313ce56714610267578063587cde1e146102855780635c19a95c146102c757806362a5af3b146102ef5780636a28f000146102f75780636fcfff45146102ff5761014d565b806306fdde0314610152578063095ea7b3146101cf57806318160ddd1461020f57806320606b701461022957806323b872dd14610231575b600080fd5b61015a610531565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561019457818101518382015260200161017c565b50505050905090810190601f1680156101c15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101fb600480360360408110156101e557600080fd5b506001600160a01b038135169060200135610552565b604080519115158252519081900360200190f35b610217610661565b60408051918252519081900360200190f35b610217610670565b6101fb6004803603606081101561024757600080fd5b506001600160a01b0381358116916020810135909116906040013561068b565b61026f610820565b6040805160ff9092168252519081900360200190f35b6102ab6004803603602081101561029b57600080fd5b50356001600160a01b0316610825565b604080516001600160a01b039092168252519081900360200190f35b6102ed600480360360208110156102dd57600080fd5b50356001600160a01b0316610840565b005b6102ed61089e565b6102ed61092b565b6103256004803603602081101561031557600080fd5b50356001600160a01b03166109b2565b6040805163ffffffff9092168252519081900360200190f35b6102176004803603602081101561035457600080fd5b50356001600160a01b03166109ca565b6103906004803603604081101561037a57600080fd5b506001600160a01b0381351690602001356109ee565b604080516001600160601b039092168252519081900360200190f35b610217600480360360208110156103c257600080fd5b50356001600160a01b0316610c1b565b6102ab610c2d565b61015a610c3c565b6101fb600480360360408110156103f857600080fd5b506001600160a01b038135169060200135610c5b565b6103906004803603602081101561042457600080fd5b50356001600160a01b0316610ce8565b6102ed600480360360c081101561044a57600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a00135610d59565b6102176004803603604081101561049157600080fd5b506001600160a01b0381358116916020013516611050565b610217611084565b6104e3600480360360408110156104c757600080fd5b5080356001600160a01b0316906020013563ffffffff1661109f565b6040805163ffffffff90931683526001600160601b0390911660208301528051918290030190f35b6102ed6004803603602081101561052157600080fd5b50356001600160a01b03166110d4565b6040518060400160405280600581526020016456656e757360d81b81525081565b60008054600160a01b900460ff16156105a4576040805162461bcd60e51b815260206004820152600f60248201526e151bdad95b881a5cc81b1bd8dad959608a1b604482015290519081900360640190fd5b60006000198314156105b957506000196105de565b6105db83604051806060016040528060248152602001611ab560249139611173565b90505b3360008181526001602090815260408083206001600160a01b0389168085529083529281902080546001600160601b0319166001600160601b038716908117909155815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a360019150505b92915050565b6a18d0bf423c03d8de00000081565b604051806043611a7282396043019050604051809103902081565b60008054600160a01b900460ff16156106dd576040805162461bcd60e51b815260206004820152600f60248201526e151bdad95b881a5cc81b1bd8dad959608a1b604482015290519081900360640190fd5b6001600160a01b03841660009081526001602090815260408083203380855290835281842054825160608101909352602480845291946001600160601b03909116939092610733928892611ab590830139611173565b9050866001600160a01b0316836001600160a01b03161415801561076057506001600160601b0382811614155b1561080857600061078a83836040518060600160405280603c8152602001611911603c913961120d565b6001600160a01b038981166000818152600160209081526040808320948a168084529482529182902080546001600160601b0319166001600160601b03871690811790915582519081529151949550929391927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92592918290030190a3505b61081387878361127a565b5060019695505050505050565b601281565b6003602052600090815260409020546001600160a01b031681565b600054600160a01b900460ff1615610891576040805162461bcd60e51b815260206004820152600f60248201526e151bdad95b881a5cc81b1bd8dad959608a1b604482015290519081900360640190fd5b61089b338261145f565b50565b6000546001600160a01b031633146108ef576040805162461bcd60e51b815260206004820152600f60248201526e29b437bab6321031329037bbb732b960891b604482015290519081900360640190fd5b6000805460ff60a01b1916600160a01b1781556040517f962a6139ca22015759d0878e2cf5d770dcb8152e1d5ba08e46a969dd9b154a9c9190a1565b6000546001600160a01b0316331461097c576040805162461bcd60e51b815260206004820152600f60248201526e29b437bab6321031329037bbb732b960891b604482015290519081900360640190fd5b6000805460ff60a01b191681556040517ff0daac2271a735ea786b9adf80dfcbd6a3cbd52f3cab0a78337114692d5faf5d9190a1565b60056020526000908152604090205463ffffffff1681565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b6000438210610a2e5760405162461bcd60e51b8152600401808060200182810382526026815260200180611b0c6026913960400191505060405180910390fd5b6001600160a01b03831660009081526005602052604090205463ffffffff1680610a5c57600091505061065b565b6001600160a01b038416600090815260046020908152604080832063ffffffff600019860181168552925290912054168310610ad8576001600160a01b03841660009081526004602090815260408083206000199490940163ffffffff1683529290522054600160201b90046001600160601b0316905061065b565b6001600160a01b038416600090815260046020908152604080832083805290915290205463ffffffff16831015610b1357600091505061065b565b600060001982015b8163ffffffff168163ffffffff161115610bd657600282820363ffffffff16048103610b456118f9565b506001600160a01b038716600090815260046020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b03169181019190915290871415610bb15760200151945061065b9350505050565b805163ffffffff16871115610bc857819350610bcf565b6001820392505b5050610b1b565b506001600160a01b038516600090815260046020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b60066020526000908152604090205481565b6000546001600160a01b031681565b6040518060400160405280600381526020016258565360e81b81525081565b60008054600160a01b900460ff1615610cad576040805162461bcd60e51b815260206004820152600f60248201526e151bdad95b881a5cc81b1bd8dad959608a1b604482015290519081900360640190fd5b6000610cd1836040518060600160405280602581526020016119a960259139611173565b9050610cde33858361127a565b5060019392505050565b6001600160a01b03811660009081526005602052604081205463ffffffff1680610d13576000610d52565b6001600160a01b0383166000908152600460209081526040808320600019850163ffffffff168452909152902054600160201b90046001600160601b03165b9392505050565b600054600160a01b900460ff1615610daa576040805162461bcd60e51b815260206004820152600f60248201526e151bdad95b881a5cc81b1bd8dad959608a1b604482015290519081900360640190fd5b60006040518080611a726043913960408051918290036043018220828201909152600582526456656e757360d81b60209092019190915290507f1a6875e3c24a024aa04a101518d25b2c59648a74ace83f8261f2a8e64025d85b610e0c6114e9565b3060405160200180858152602001848152602001838152602001826001600160a01b03166001600160a01b0316815260200194505050505060405160208183030381529060405280519060200120905060006040518080611bc2603a91396040805191829003603a0182206020808401919091526001600160a01b038c1683830152606083018b905260808084018b90528251808503909101815260a08401835280519082012061190160f01b60c085015260c2840187905260e2808501829052835180860390910181526101028501808552815191840191909120600091829052610122860180865281905260ff8c1661014287015261016286018b905261018286018a9052935191965092945091926001926101a28083019392601f198301929081900390910190855afa158015610f4a573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610f9c5760405162461bcd60e51b8152600401808060200182810382526025815260200180611a286025913960400191505060405180910390fd5b6001600160a01b03811660009081526006602052604090208054600181019091558914610ffa5760405162461bcd60e51b81526004018080602001828103825260218152602001806119ce6021913960400191505060405180910390fd5b874211156110395760405162461bcd60e51b8152600401808060200182810382526025815260200180611a4d6025913960400191505060405180910390fd5b611043818b61145f565b505050505b505050505050565b6001600160a01b0391821660009081526001602090815260408083209390941682529190915220546001600160601b031690565b60405180603a611bc28239603a019050604051809103902081565b600460209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b6000546001600160a01b03163314611125576040805162461bcd60e51b815260206004820152600f60248201526e29b437bab6321031329037bbb732b960891b604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0383811691821780845560405192939116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b600081600160601b84106112055760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156111ca5781810151838201526020016111b2565b50505050905090810190601f1680156111f75780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b509192915050565b6000836001600160601b0316836001600160601b0316111582906112725760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156111ca5781810151838201526020016111b2565b505050900390565b6001600160a01b0383166112bf5760405162461bcd60e51b815260040180806020018281038252603b815260200180611b32603b913960400191505060405180910390fd5b6001600160a01b0382166113045760405162461bcd60e51b81526004018080602001828103825260398152602001806119ef6039913960400191505060405180910390fd5b6001600160a01b03831660009081526002602090815260409182902054825160608101909352603580845261134f936001600160601b03909216928592919061194d9083013961120d565b6001600160a01b03848116600090815260026020908152604080832080546001600160601b0319166001600160601b0396871617905592861682529082902054825160608101909352602f8084526113b79491909116928592909190611b6d908301396114ed565b6001600160a01b0383811660008181526002602090815260409182902080546001600160601b0319166001600160601b039687161790558151948616855290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a36001600160a01b0380841660009081526003602052604080822054858416835291205461145a92918216911683611557565b505050565b6001600160a01b03808316600081815260036020818152604080842080546002845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46114e3828483611557565b50505050565b4690565b6000838301826001600160601b03808716908316101561154e5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156111ca5781810151838201526020016111b2565b50949350505050565b816001600160a01b0316836001600160a01b03161415801561158257506000816001600160601b0316115b1561145a576001600160a01b0383161561163a576001600160a01b03831660009081526005602052604081205463ffffffff1690816115c2576000611601565b6001600160a01b0385166000908152600460209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b9050600061162882856040518060600160405280602781526020016119826027913961120d565b9050611636868484846116e5565b5050505b6001600160a01b0382161561145a576001600160a01b03821660009081526005602052604081205463ffffffff1690816116755760006116b4565b6001600160a01b0384166000908152600460209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b905060006116db8285604051806060016040528060268152602001611b9c602691396114ed565b9050611048858484845b600061170943604051806060016040528060338152602001611ad9603391396118a4565b905060008463ffffffff1611801561175257506001600160a01b038516600090815260046020908152604080832063ffffffff6000198901811685529252909120548282169116145b156117b1576001600160a01b0385166000908152600460209081526040808320600019880163ffffffff168452909152902080546fffffffffffffffffffffffff000000001916600160201b6001600160601b03851602179055611850565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000818152600483528781208c871682528352878120965187549451909516600160201b026fffffffffffffffffffffffff000000001995871663ffffffff19958616179590951694909417909555938252600590935292909220805460018801909316929091169190911790555b604080516001600160601b0380861682528416602082015281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b600081600160201b84106112055760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156111ca5781810151838201526020016111b2565b60408051808201909152600080825260208201529056fe5856533a3a7472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e63655856533a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e63655856533a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f77735856533a3a7472616e736665723a20616d6f756e74206578636565647320393620626974735856533a3a64656c656761746542795369673a20696e76616c6964206e6f6e63655856533a3a5f7472616e73666572546f6b656e733a2063616e6e6f74207472616e7366657220746f20746865207a65726f20616464726573735856533a3a64656c656761746542795369673a20696e76616c6964207369676e61747572655856533a3a64656c656761746542795369673a207369676e61747572652065787069726564454950373132446f6d61696e28737472696e67206e616d652c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e7472616374295856533a3a617070726f76653a20616d6f756e74206578636565647320393620626974735856533a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d626572206578636565647320333220626974735856533a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e65645856533a3a5f7472616e73666572546f6b656e733a2063616e6e6f74207472616e736665722066726f6d20746865207a65726f20616464726573735856533a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f77735856533a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f777344656c65676174696f6e28616464726573732064656c6567617465652c75696e74323536206e6f6e63652c75696e743235362065787069727929a265627a7a72315820f59da763bfec43533ce4c2793b6f74a61baddc686c9a293636f4c0478a110e7b64736f6c63430005100032",
|
|
616
|
+
"linkReferences": {},
|
|
617
|
+
"deployedLinkReferences": {}
|
|
618
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "Address",
|
|
4
|
+
"sourceName": "@venusprotocol/venus-protocol/contracts/Utils/Address.sol",
|
|
5
|
+
"abi": [],
|
|
6
|
+
"bytecode": "0x60556023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea265627a7a723158203d410cb0fa56c0f428469bd4b1fefd9a81e123003e08e97eae66b9567f577fc264736f6c63430005100032",
|
|
7
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea265627a7a723158203d410cb0fa56c0f428469bd4b1fefd9a81e123003e08e97eae66b9567f577fc264736f6c63430005100032",
|
|
8
|
+
"linkReferences": {},
|
|
9
|
+
"deployedLinkReferences": {}
|
|
10
|
+
}
|