@venusprotocol/venus-protocol 10.1.0-slim-dev.6 → 10.1.0-slim-dev.7
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/contracts/Admin/VBNBAdmin.sol/VBNBAdmin.json +2 -2
- package/artifacts/contracts/Admin/VBNBAdminStorage.sol/VBNBAdminStorage.json +2 -2
- package/artifacts/contracts/Comptroller/ComptrollerInterface.sol/ComptrollerInterface.json +65 -0
- package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV10Storage.json +2 -2
- package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV11Storage.json +2 -2
- package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV12Storage.json +2 -2
- package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV13Storage.json +2 -2
- package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV14Storage.json +2 -2
- package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV15Storage.json +2 -2
- package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV16Storage.json +2 -2
- package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV17Storage.json +2 -2
- package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV18Storage.json +736 -0
- package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV1Storage.json +2 -2
- package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV2Storage.json +2 -2
- package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV3Storage.json +2 -2
- package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV4Storage.json +2 -2
- package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV5Storage.json +2 -2
- package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV6Storage.json +2 -2
- package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV7Storage.json +2 -2
- package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV8Storage.json +2 -2
- package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV9Storage.json +2 -2
- package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/UnitrollerAdminStorage.json +2 -2
- package/artifacts/contracts/Comptroller/Diamond/Diamond.sol/Diamond.json +34 -2
- package/artifacts/contracts/Comptroller/Diamond/DiamondConsolidated.sol/DiamondConsolidated.json +310 -2
- package/artifacts/contracts/Comptroller/Diamond/facets/FacetBase.sol/FacetBase.json +128 -2
- package/artifacts/contracts/Comptroller/Diamond/facets/FlashLoanFacet.sol/FlashLoanFacet.json +1208 -0
- package/artifacts/contracts/Comptroller/Diamond/facets/MarketFacet.sol/MarketFacet.json +128 -2
- package/artifacts/contracts/Comptroller/Diamond/facets/PolicyFacet.sol/PolicyFacet.json +128 -2
- package/artifacts/contracts/Comptroller/Diamond/facets/RewardFacet.sol/RewardFacet.json +128 -2
- package/artifacts/contracts/Comptroller/Diamond/facets/SetterFacet.sol/SetterFacet.json +197 -2
- package/artifacts/contracts/Comptroller/Diamond/facets/XVSRewardsHelper.sol/XVSRewardsHelper.json +128 -2
- package/artifacts/contracts/Comptroller/Diamond/interfaces/IFlashLoanFacet.sol/IFlashLoanFacet.json +44 -0
- package/artifacts/contracts/Comptroller/Diamond/interfaces/ISetterFacet.sol/ISetterFacet.json +31 -0
- package/artifacts/contracts/Comptroller/Unitroller.sol/Unitroller.json +96 -2
- package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV10StorageR1.json +2 -2
- package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV11StorageR1.json +2 -2
- package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV12StorageR1.json +2 -2
- package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV13StorageR1.json +2 -2
- package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV14StorageR1.json +2 -2
- package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV15StorageR1.json +2 -2
- package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV16StorageR1.json +2 -2
- package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV1StorageR1.json +2 -2
- package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV2StorageR1.json +2 -2
- package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV3StorageR1.json +2 -2
- package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV4StorageR1.json +2 -2
- package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV5StorageR1.json +2 -2
- package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV6StorageR1.json +2 -2
- package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV7StorageR1.json +2 -2
- package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV8StorageR1.json +2 -2
- package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV9StorageR1.json +2 -2
- package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/UnitrollerAdminStorageR1.json +2 -2
- package/artifacts/contracts/Comptroller/legacy/Diamond/DiamondConsolidatedR1.sol/DiamondConsolidatedR1.json +96 -2
- package/artifacts/contracts/Comptroller/legacy/Diamond/DiamondR1.sol/DiamondR1.json +2 -2
- package/artifacts/contracts/Comptroller/legacy/Diamond/facets/FacetBaseR1.sol/FacetBaseR1.json +96 -2
- package/artifacts/contracts/Comptroller/legacy/Diamond/facets/MarketFacetR1.sol/MarketFacetR1.json +96 -2
- package/artifacts/contracts/Comptroller/legacy/Diamond/facets/PolicyFacetR1.sol/PolicyFacetR1.json +96 -2
- package/artifacts/contracts/Comptroller/legacy/Diamond/facets/RewardFacetR1.sol/RewardFacetR1.json +96 -2
- package/artifacts/contracts/Comptroller/legacy/Diamond/facets/SetterFacetR1.sol/SetterFacetR1.json +96 -2
- package/artifacts/contracts/Comptroller/legacy/Diamond/facets/XVSRewardsHelperR1.sol/XVSRewardsHelperR1.json +96 -2
- package/artifacts/contracts/FlashLoan/interfaces/IFlashLoanReceiver.sol/IFlashLoanReceiver.json +60 -0
- package/artifacts/contracts/Lens/ComptrollerLens.sol/ComptrollerLens.json +96 -2
- package/artifacts/contracts/Lens/SnapshotLens.sol/SnapshotLens.json +2 -2
- package/artifacts/contracts/Lens/VenusLens.sol/VenusLens.json +2 -2
- package/artifacts/contracts/Liquidator/Liquidator.sol/Liquidator.json +2 -2
- package/artifacts/contracts/Tokens/VAI/VAIController.sol/VAIController.json +2 -2
- package/artifacts/contracts/Tokens/VAI/VAIControllerStorage.sol/VAIControllerStorageG1.json +2 -2
- package/artifacts/contracts/Tokens/VAI/VAIControllerStorage.sol/VAIControllerStorageG2.json +2 -2
- package/artifacts/contracts/Tokens/VAI/VAIControllerStorage.sol/VAIControllerStorageG3.json +2 -2
- package/artifacts/contracts/Tokens/VAI/VAIControllerStorage.sol/VAIControllerStorageG4.json +2 -2
- package/artifacts/contracts/Tokens/VAI/VAIControllerStorage.sol/VAIUnitrollerAdminStorage.json +2 -2
- package/artifacts/contracts/Tokens/VAI/VAIUnitroller.sol/VAIUnitroller.json +2 -2
- package/artifacts/contracts/Tokens/VTokens/VBNB.sol/VBNB.json +372 -2
- package/artifacts/contracts/Tokens/VTokens/VBep20.sol/VBep20.json +372 -2
- package/artifacts/contracts/Tokens/VTokens/VBep20Delegate.sol/VBep20Delegate.json +372 -2
- package/artifacts/contracts/Tokens/VTokens/VBep20Delegator.sol/VBep20Delegator.json +229 -2
- package/artifacts/contracts/Tokens/VTokens/VBep20Immutable.sol/VBep20Immutable.json +372 -2
- package/artifacts/contracts/Tokens/VTokens/VToken.sol/VToken.json +370 -0
- package/artifacts/contracts/Tokens/VTokens/VTokenInterfaces.sol/VTokenInterface.json +227 -0
- package/artifacts/contracts/Tokens/VTokens/VTokenInterfaces.sol/VTokenStorage.json +54 -2
- package/artifacts/contracts/Tokens/VTokens/VTokenInterfaces.sol/VTokenStorageBase.json +2 -2
- package/artifacts/contracts/Tokens/test/IERC20NonStandard.sol/IERC20NonStandard.json +182 -0
- package/artifacts/contracts/Utils/ErrorReporter.sol/ComptrollerErrorReporter.json +96 -2
- package/artifacts/contracts/Utils/ErrorReporter.sol/TokenErrorReporter.json +2 -2
- package/artifacts/contracts/Utils/ErrorReporter.sol/VAIControllerErrorReporter.json +2 -2
- package/artifacts/contracts/Utils/ReentrancyGuardTransient.sol/ReentrancyGuardTransient.json +16 -0
- package/artifacts/contracts/Utils/TransientSlot.sol/TransientSlot.json +10 -0
- package/artifacts/contracts/test/BadFlashLoanReceiver.sol/BadFlashLoanReceiver.json +112 -0
- package/artifacts/contracts/test/BorrowDebtFlashLoanReceiver.sol/BorrowDebtFlashLoanReceiver.json +112 -0
- package/artifacts/contracts/test/ComptrollerHarness.sol/ComptrollerHarness.json +310 -2
- package/artifacts/contracts/test/ComptrollerHarness.sol/EchoTypesComptroller.json +2 -2
- package/artifacts/contracts/test/ComptrollerMock.sol/ComptrollerMock.json +310 -2
- package/artifacts/contracts/test/ComptrollerMockR1.sol/ComptrollerMockR1.json +96 -2
- package/artifacts/contracts/test/ComptrollerScenario.sol/ComptrollerScenario.json +310 -2
- package/artifacts/contracts/test/DiamondHarness.sol/DiamondHarness.json +34 -2
- package/artifacts/contracts/test/EvilXDelegator.sol/EvilXDelegator.json +253 -2
- package/artifacts/contracts/test/EvilXToken.sol/EvilXToken.json +372 -2
- package/artifacts/contracts/test/EvilXToken.sol/VBep20Scenario.json +372 -2
- package/artifacts/contracts/test/FlashLoanReceiverBase.sol/FlashLoanReceiverBase.json +73 -0
- package/artifacts/contracts/test/InsufficientRepaymentFlashLoanReceiver.sol/InsufficientRepaymentFlashLoanReceiver.json +112 -0
- package/artifacts/contracts/test/LiquidatorHarness.sol/LiquidatorHarness.json +2 -2
- package/artifacts/contracts/test/MockFlashLoanReceiver.sol/MockFlashLoanReceiver.json +112 -0
- package/artifacts/contracts/test/MockProtocolShareReserve.sol/MockProtocolShareReserve.json +2 -2
- package/artifacts/contracts/test/MockVBNB.sol/MockVBNB.json +372 -2
- package/artifacts/contracts/test/SimplePriceOracle.sol/SimplePriceOracle.json +2 -2
- package/artifacts/contracts/test/VAIControllerHarness.sol/VAIControllerHarness.json +2 -2
- package/artifacts/contracts/test/VBep20Harness.sol/VBep20DelegateHarness.json +372 -2
- package/artifacts/contracts/test/VBep20Harness.sol/VBep20DelegateScenario.json +372 -2
- package/artifacts/contracts/test/VBep20Harness.sol/VBep20DelegateScenarioExtra.json +372 -2
- package/artifacts/contracts/test/VBep20Harness.sol/VBep20DelegatorScenario.json +213 -42
- package/artifacts/contracts/test/VBep20Harness.sol/VBep20Harness.json +372 -2
- package/artifacts/contracts/test/VBep20Harness.sol/VBep20Scenario.json +372 -2
- package/artifacts/contracts/test/VBep20Harness.sol/VEvil.json +372 -2
- package/artifacts/contracts/test/VBep20MockDelegate.sol/VBep20MockDelegate.json +372 -2
- package/deployments/bscmainnet_addresses.json +8 -7
- package/deployments/bsctestnet_addresses.json +8 -7
- package/package.json +3 -2
|
@@ -0,0 +1,1208 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "FlashLoanFacet",
|
|
4
|
+
"sourceName": "contracts/Comptroller/Diamond/facets/FlashLoanFacet.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [],
|
|
8
|
+
"name": "AlreadyInSelectedPool",
|
|
9
|
+
"type": "error"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"inputs": [],
|
|
13
|
+
"name": "ArrayLengthMismatch",
|
|
14
|
+
"type": "error"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"inputs": [],
|
|
18
|
+
"name": "BorrowNotAllowedInPool",
|
|
19
|
+
"type": "error"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"inputs": [],
|
|
23
|
+
"name": "EmptyPoolLabel",
|
|
24
|
+
"type": "error"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"inputs": [],
|
|
28
|
+
"name": "ExecuteFlashLoanFailed",
|
|
29
|
+
"type": "error"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"inputs": [],
|
|
33
|
+
"name": "FailedToCreateDebtPosition",
|
|
34
|
+
"type": "error"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"inputs": [],
|
|
38
|
+
"name": "FlashLoanNotEnabled",
|
|
39
|
+
"type": "error"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"inputs": [],
|
|
43
|
+
"name": "FlashLoanPausedSystemWide",
|
|
44
|
+
"type": "error"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"inputs": [
|
|
48
|
+
{
|
|
49
|
+
"internalType": "uint96",
|
|
50
|
+
"name": "poolId",
|
|
51
|
+
"type": "uint96"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"name": "InactivePool",
|
|
55
|
+
"type": "error"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"inputs": [],
|
|
59
|
+
"name": "IncompatibleBorrowedAssets",
|
|
60
|
+
"type": "error"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"inputs": [],
|
|
64
|
+
"name": "InvalidAmount",
|
|
65
|
+
"type": "error"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"inputs": [],
|
|
69
|
+
"name": "InvalidFlashLoanParams",
|
|
70
|
+
"type": "error"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"inputs": [],
|
|
74
|
+
"name": "InvalidOperationForCorePool",
|
|
75
|
+
"type": "error"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"inputs": [
|
|
79
|
+
{
|
|
80
|
+
"internalType": "enum WeightFunction",
|
|
81
|
+
"name": "strategy",
|
|
82
|
+
"type": "uint8"
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
"name": "InvalidWeightingStrategy",
|
|
86
|
+
"type": "error"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"inputs": [
|
|
90
|
+
{
|
|
91
|
+
"internalType": "uint256",
|
|
92
|
+
"name": "errorCode",
|
|
93
|
+
"type": "uint256"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"internalType": "uint256",
|
|
97
|
+
"name": "shortfall",
|
|
98
|
+
"type": "uint256"
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
"name": "LiquidityCheckFailed",
|
|
102
|
+
"type": "error"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"inputs": [
|
|
106
|
+
{
|
|
107
|
+
"internalType": "uint96",
|
|
108
|
+
"name": "poolId",
|
|
109
|
+
"type": "uint96"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"internalType": "address",
|
|
113
|
+
"name": "vToken",
|
|
114
|
+
"type": "address"
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
"name": "MarketAlreadyListed",
|
|
118
|
+
"type": "error"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"inputs": [],
|
|
122
|
+
"name": "MarketConfigNotFound",
|
|
123
|
+
"type": "error"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"inputs": [
|
|
127
|
+
{
|
|
128
|
+
"internalType": "address",
|
|
129
|
+
"name": "vToken",
|
|
130
|
+
"type": "address"
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
"name": "MarketNotListed",
|
|
134
|
+
"type": "error"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"inputs": [],
|
|
138
|
+
"name": "MarketNotListedInCorePool",
|
|
139
|
+
"type": "error"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"inputs": [],
|
|
143
|
+
"name": "NoAssetsRequested",
|
|
144
|
+
"type": "error"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"inputs": [],
|
|
148
|
+
"name": "NotAnApprovedDelegate",
|
|
149
|
+
"type": "error"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"inputs": [
|
|
153
|
+
{
|
|
154
|
+
"internalType": "uint256",
|
|
155
|
+
"name": "repaid",
|
|
156
|
+
"type": "uint256"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"internalType": "uint256",
|
|
160
|
+
"name": "required",
|
|
161
|
+
"type": "uint256"
|
|
162
|
+
}
|
|
163
|
+
],
|
|
164
|
+
"name": "NotEnoughRepayment",
|
|
165
|
+
"type": "error"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"inputs": [
|
|
169
|
+
{
|
|
170
|
+
"internalType": "uint96",
|
|
171
|
+
"name": "poolId",
|
|
172
|
+
"type": "uint96"
|
|
173
|
+
}
|
|
174
|
+
],
|
|
175
|
+
"name": "PoolDoesNotExist",
|
|
176
|
+
"type": "error"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"inputs": [
|
|
180
|
+
{
|
|
181
|
+
"internalType": "uint96",
|
|
182
|
+
"name": "poolId",
|
|
183
|
+
"type": "uint96"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"internalType": "address",
|
|
187
|
+
"name": "vToken",
|
|
188
|
+
"type": "address"
|
|
189
|
+
}
|
|
190
|
+
],
|
|
191
|
+
"name": "PoolMarketNotFound",
|
|
192
|
+
"type": "error"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"inputs": [],
|
|
196
|
+
"name": "ReentrancyGuardReentrantCall",
|
|
197
|
+
"type": "error"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"inputs": [
|
|
201
|
+
{
|
|
202
|
+
"internalType": "address",
|
|
203
|
+
"name": "sender",
|
|
204
|
+
"type": "address"
|
|
205
|
+
}
|
|
206
|
+
],
|
|
207
|
+
"name": "SenderNotAuthorizedForFlashLoan",
|
|
208
|
+
"type": "error"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"inputs": [
|
|
212
|
+
{
|
|
213
|
+
"internalType": "uint256",
|
|
214
|
+
"name": "requested",
|
|
215
|
+
"type": "uint256"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"internalType": "uint256",
|
|
219
|
+
"name": "maximum",
|
|
220
|
+
"type": "uint256"
|
|
221
|
+
}
|
|
222
|
+
],
|
|
223
|
+
"name": "TooManyAssetsRequested",
|
|
224
|
+
"type": "error"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"anonymous": false,
|
|
228
|
+
"inputs": [
|
|
229
|
+
{
|
|
230
|
+
"indexed": false,
|
|
231
|
+
"internalType": "uint256",
|
|
232
|
+
"name": "amount",
|
|
233
|
+
"type": "uint256"
|
|
234
|
+
}
|
|
235
|
+
],
|
|
236
|
+
"name": "DistributedVAIVaultVenus",
|
|
237
|
+
"type": "event"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"anonymous": false,
|
|
241
|
+
"inputs": [
|
|
242
|
+
{
|
|
243
|
+
"indexed": false,
|
|
244
|
+
"internalType": "uint256",
|
|
245
|
+
"name": "error",
|
|
246
|
+
"type": "uint256"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"indexed": false,
|
|
250
|
+
"internalType": "uint256",
|
|
251
|
+
"name": "info",
|
|
252
|
+
"type": "uint256"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"indexed": false,
|
|
256
|
+
"internalType": "uint256",
|
|
257
|
+
"name": "detail",
|
|
258
|
+
"type": "uint256"
|
|
259
|
+
}
|
|
260
|
+
],
|
|
261
|
+
"name": "Failure",
|
|
262
|
+
"type": "event"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"anonymous": false,
|
|
266
|
+
"inputs": [
|
|
267
|
+
{
|
|
268
|
+
"indexed": true,
|
|
269
|
+
"internalType": "address",
|
|
270
|
+
"name": "receiver",
|
|
271
|
+
"type": "address"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"indexed": false,
|
|
275
|
+
"internalType": "contract VToken[]",
|
|
276
|
+
"name": "assets",
|
|
277
|
+
"type": "address[]"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"indexed": false,
|
|
281
|
+
"internalType": "uint256[]",
|
|
282
|
+
"name": "amounts",
|
|
283
|
+
"type": "uint256[]"
|
|
284
|
+
}
|
|
285
|
+
],
|
|
286
|
+
"name": "FlashLoanExecuted",
|
|
287
|
+
"type": "event"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"anonymous": false,
|
|
291
|
+
"inputs": [
|
|
292
|
+
{
|
|
293
|
+
"indexed": true,
|
|
294
|
+
"internalType": "address",
|
|
295
|
+
"name": "receiver",
|
|
296
|
+
"type": "address"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"indexed": true,
|
|
300
|
+
"internalType": "address",
|
|
301
|
+
"name": "onBehalf",
|
|
302
|
+
"type": "address"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"indexed": true,
|
|
306
|
+
"internalType": "address",
|
|
307
|
+
"name": "asset",
|
|
308
|
+
"type": "address"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"indexed": false,
|
|
312
|
+
"internalType": "uint256",
|
|
313
|
+
"name": "repaidAmount",
|
|
314
|
+
"type": "uint256"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"indexed": false,
|
|
318
|
+
"internalType": "uint256",
|
|
319
|
+
"name": "remainingDebt",
|
|
320
|
+
"type": "uint256"
|
|
321
|
+
}
|
|
322
|
+
],
|
|
323
|
+
"name": "FlashLoanRepaid",
|
|
324
|
+
"type": "event"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"anonymous": false,
|
|
328
|
+
"inputs": [
|
|
329
|
+
{
|
|
330
|
+
"indexed": true,
|
|
331
|
+
"internalType": "contract VToken",
|
|
332
|
+
"name": "vToken",
|
|
333
|
+
"type": "address"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"indexed": true,
|
|
337
|
+
"internalType": "address",
|
|
338
|
+
"name": "account",
|
|
339
|
+
"type": "address"
|
|
340
|
+
}
|
|
341
|
+
],
|
|
342
|
+
"name": "MarketEntered",
|
|
343
|
+
"type": "event"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"inputs": [],
|
|
347
|
+
"name": "MAX_FLASHLOAN_ASSETS",
|
|
348
|
+
"outputs": [
|
|
349
|
+
{
|
|
350
|
+
"internalType": "uint256",
|
|
351
|
+
"name": "",
|
|
352
|
+
"type": "uint256"
|
|
353
|
+
}
|
|
354
|
+
],
|
|
355
|
+
"stateMutability": "view",
|
|
356
|
+
"type": "function"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"inputs": [
|
|
360
|
+
{
|
|
361
|
+
"internalType": "address",
|
|
362
|
+
"name": "",
|
|
363
|
+
"type": "address"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"internalType": "uint256",
|
|
367
|
+
"name": "",
|
|
368
|
+
"type": "uint256"
|
|
369
|
+
}
|
|
370
|
+
],
|
|
371
|
+
"name": "accountAssets",
|
|
372
|
+
"outputs": [
|
|
373
|
+
{
|
|
374
|
+
"internalType": "contract VToken",
|
|
375
|
+
"name": "",
|
|
376
|
+
"type": "address"
|
|
377
|
+
}
|
|
378
|
+
],
|
|
379
|
+
"stateMutability": "view",
|
|
380
|
+
"type": "function"
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"inputs": [
|
|
384
|
+
{
|
|
385
|
+
"internalType": "address",
|
|
386
|
+
"name": "market",
|
|
387
|
+
"type": "address"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"internalType": "enum Action",
|
|
391
|
+
"name": "action",
|
|
392
|
+
"type": "uint8"
|
|
393
|
+
}
|
|
394
|
+
],
|
|
395
|
+
"name": "actionPaused",
|
|
396
|
+
"outputs": [
|
|
397
|
+
{
|
|
398
|
+
"internalType": "bool",
|
|
399
|
+
"name": "",
|
|
400
|
+
"type": "bool"
|
|
401
|
+
}
|
|
402
|
+
],
|
|
403
|
+
"stateMutability": "view",
|
|
404
|
+
"type": "function"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"inputs": [],
|
|
408
|
+
"name": "admin",
|
|
409
|
+
"outputs": [
|
|
410
|
+
{
|
|
411
|
+
"internalType": "address",
|
|
412
|
+
"name": "",
|
|
413
|
+
"type": "address"
|
|
414
|
+
}
|
|
415
|
+
],
|
|
416
|
+
"stateMutability": "view",
|
|
417
|
+
"type": "function"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"inputs": [
|
|
421
|
+
{
|
|
422
|
+
"internalType": "uint256",
|
|
423
|
+
"name": "",
|
|
424
|
+
"type": "uint256"
|
|
425
|
+
}
|
|
426
|
+
],
|
|
427
|
+
"name": "allMarkets",
|
|
428
|
+
"outputs": [
|
|
429
|
+
{
|
|
430
|
+
"internalType": "contract VToken",
|
|
431
|
+
"name": "",
|
|
432
|
+
"type": "address"
|
|
433
|
+
}
|
|
434
|
+
],
|
|
435
|
+
"stateMutability": "view",
|
|
436
|
+
"type": "function"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"inputs": [
|
|
440
|
+
{
|
|
441
|
+
"internalType": "address",
|
|
442
|
+
"name": "",
|
|
443
|
+
"type": "address"
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
"internalType": "address",
|
|
447
|
+
"name": "",
|
|
448
|
+
"type": "address"
|
|
449
|
+
}
|
|
450
|
+
],
|
|
451
|
+
"name": "approvedDelegates",
|
|
452
|
+
"outputs": [
|
|
453
|
+
{
|
|
454
|
+
"internalType": "bool",
|
|
455
|
+
"name": "",
|
|
456
|
+
"type": "bool"
|
|
457
|
+
}
|
|
458
|
+
],
|
|
459
|
+
"stateMutability": "view",
|
|
460
|
+
"type": "function"
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"inputs": [
|
|
464
|
+
{
|
|
465
|
+
"internalType": "address",
|
|
466
|
+
"name": "",
|
|
467
|
+
"type": "address"
|
|
468
|
+
}
|
|
469
|
+
],
|
|
470
|
+
"name": "authorizedFlashLoan",
|
|
471
|
+
"outputs": [
|
|
472
|
+
{
|
|
473
|
+
"internalType": "bool",
|
|
474
|
+
"name": "",
|
|
475
|
+
"type": "bool"
|
|
476
|
+
}
|
|
477
|
+
],
|
|
478
|
+
"stateMutability": "view",
|
|
479
|
+
"type": "function"
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
"inputs": [],
|
|
483
|
+
"name": "borrowCapGuardian",
|
|
484
|
+
"outputs": [
|
|
485
|
+
{
|
|
486
|
+
"internalType": "address",
|
|
487
|
+
"name": "",
|
|
488
|
+
"type": "address"
|
|
489
|
+
}
|
|
490
|
+
],
|
|
491
|
+
"stateMutability": "view",
|
|
492
|
+
"type": "function"
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"inputs": [
|
|
496
|
+
{
|
|
497
|
+
"internalType": "address",
|
|
498
|
+
"name": "",
|
|
499
|
+
"type": "address"
|
|
500
|
+
}
|
|
501
|
+
],
|
|
502
|
+
"name": "borrowCaps",
|
|
503
|
+
"outputs": [
|
|
504
|
+
{
|
|
505
|
+
"internalType": "uint256",
|
|
506
|
+
"name": "",
|
|
507
|
+
"type": "uint256"
|
|
508
|
+
}
|
|
509
|
+
],
|
|
510
|
+
"stateMutability": "view",
|
|
511
|
+
"type": "function"
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"inputs": [],
|
|
515
|
+
"name": "closeFactorMantissa",
|
|
516
|
+
"outputs": [
|
|
517
|
+
{
|
|
518
|
+
"internalType": "uint256",
|
|
519
|
+
"name": "",
|
|
520
|
+
"type": "uint256"
|
|
521
|
+
}
|
|
522
|
+
],
|
|
523
|
+
"stateMutability": "view",
|
|
524
|
+
"type": "function"
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"inputs": [],
|
|
528
|
+
"name": "comptrollerImplementation",
|
|
529
|
+
"outputs": [
|
|
530
|
+
{
|
|
531
|
+
"internalType": "address",
|
|
532
|
+
"name": "",
|
|
533
|
+
"type": "address"
|
|
534
|
+
}
|
|
535
|
+
],
|
|
536
|
+
"stateMutability": "view",
|
|
537
|
+
"type": "function"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"inputs": [],
|
|
541
|
+
"name": "comptrollerLens",
|
|
542
|
+
"outputs": [
|
|
543
|
+
{
|
|
544
|
+
"internalType": "contract ComptrollerLensInterface",
|
|
545
|
+
"name": "",
|
|
546
|
+
"type": "address"
|
|
547
|
+
}
|
|
548
|
+
],
|
|
549
|
+
"stateMutability": "view",
|
|
550
|
+
"type": "function"
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
"inputs": [],
|
|
554
|
+
"name": "corePoolId",
|
|
555
|
+
"outputs": [
|
|
556
|
+
{
|
|
557
|
+
"internalType": "uint96",
|
|
558
|
+
"name": "",
|
|
559
|
+
"type": "uint96"
|
|
560
|
+
}
|
|
561
|
+
],
|
|
562
|
+
"stateMutability": "view",
|
|
563
|
+
"type": "function"
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
"inputs": [
|
|
567
|
+
{
|
|
568
|
+
"internalType": "address payable",
|
|
569
|
+
"name": "onBehalf",
|
|
570
|
+
"type": "address"
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"internalType": "address payable",
|
|
574
|
+
"name": "receiver",
|
|
575
|
+
"type": "address"
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"internalType": "contract VToken[]",
|
|
579
|
+
"name": "vTokens",
|
|
580
|
+
"type": "address[]"
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"internalType": "uint256[]",
|
|
584
|
+
"name": "underlyingAmounts",
|
|
585
|
+
"type": "uint256[]"
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"internalType": "bytes",
|
|
589
|
+
"name": "param",
|
|
590
|
+
"type": "bytes"
|
|
591
|
+
}
|
|
592
|
+
],
|
|
593
|
+
"name": "executeFlashLoan",
|
|
594
|
+
"outputs": [],
|
|
595
|
+
"stateMutability": "nonpayable",
|
|
596
|
+
"type": "function"
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"inputs": [],
|
|
600
|
+
"name": "flashLoanPaused",
|
|
601
|
+
"outputs": [
|
|
602
|
+
{
|
|
603
|
+
"internalType": "bool",
|
|
604
|
+
"name": "",
|
|
605
|
+
"type": "bool"
|
|
606
|
+
}
|
|
607
|
+
],
|
|
608
|
+
"stateMutability": "view",
|
|
609
|
+
"type": "function"
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"inputs": [
|
|
613
|
+
{
|
|
614
|
+
"internalType": "uint96",
|
|
615
|
+
"name": "poolId",
|
|
616
|
+
"type": "uint96"
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"internalType": "address",
|
|
620
|
+
"name": "vToken",
|
|
621
|
+
"type": "address"
|
|
622
|
+
}
|
|
623
|
+
],
|
|
624
|
+
"name": "getPoolMarketIndex",
|
|
625
|
+
"outputs": [
|
|
626
|
+
{
|
|
627
|
+
"internalType": "PoolMarketId",
|
|
628
|
+
"name": "",
|
|
629
|
+
"type": "bytes32"
|
|
630
|
+
}
|
|
631
|
+
],
|
|
632
|
+
"stateMutability": "pure",
|
|
633
|
+
"type": "function"
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"inputs": [],
|
|
637
|
+
"name": "getXVSAddress",
|
|
638
|
+
"outputs": [
|
|
639
|
+
{
|
|
640
|
+
"internalType": "address",
|
|
641
|
+
"name": "",
|
|
642
|
+
"type": "address"
|
|
643
|
+
}
|
|
644
|
+
],
|
|
645
|
+
"stateMutability": "view",
|
|
646
|
+
"type": "function"
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"inputs": [
|
|
650
|
+
{
|
|
651
|
+
"internalType": "address",
|
|
652
|
+
"name": "",
|
|
653
|
+
"type": "address"
|
|
654
|
+
}
|
|
655
|
+
],
|
|
656
|
+
"name": "isForcedLiquidationEnabled",
|
|
657
|
+
"outputs": [
|
|
658
|
+
{
|
|
659
|
+
"internalType": "bool",
|
|
660
|
+
"name": "",
|
|
661
|
+
"type": "bool"
|
|
662
|
+
}
|
|
663
|
+
],
|
|
664
|
+
"stateMutability": "view",
|
|
665
|
+
"type": "function"
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"inputs": [
|
|
669
|
+
{
|
|
670
|
+
"internalType": "address",
|
|
671
|
+
"name": "user",
|
|
672
|
+
"type": "address"
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"internalType": "address",
|
|
676
|
+
"name": "market",
|
|
677
|
+
"type": "address"
|
|
678
|
+
}
|
|
679
|
+
],
|
|
680
|
+
"name": "isForcedLiquidationEnabledForUser",
|
|
681
|
+
"outputs": [
|
|
682
|
+
{
|
|
683
|
+
"internalType": "bool",
|
|
684
|
+
"name": "",
|
|
685
|
+
"type": "bool"
|
|
686
|
+
}
|
|
687
|
+
],
|
|
688
|
+
"stateMutability": "view",
|
|
689
|
+
"type": "function"
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"inputs": [],
|
|
693
|
+
"name": "lastPoolId",
|
|
694
|
+
"outputs": [
|
|
695
|
+
{
|
|
696
|
+
"internalType": "uint96",
|
|
697
|
+
"name": "",
|
|
698
|
+
"type": "uint96"
|
|
699
|
+
}
|
|
700
|
+
],
|
|
701
|
+
"stateMutability": "view",
|
|
702
|
+
"type": "function"
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"inputs": [],
|
|
706
|
+
"name": "liquidatorContract",
|
|
707
|
+
"outputs": [
|
|
708
|
+
{
|
|
709
|
+
"internalType": "address",
|
|
710
|
+
"name": "",
|
|
711
|
+
"type": "address"
|
|
712
|
+
}
|
|
713
|
+
],
|
|
714
|
+
"stateMutability": "view",
|
|
715
|
+
"type": "function"
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"inputs": [],
|
|
719
|
+
"name": "maxAssets",
|
|
720
|
+
"outputs": [
|
|
721
|
+
{
|
|
722
|
+
"internalType": "uint256",
|
|
723
|
+
"name": "",
|
|
724
|
+
"type": "uint256"
|
|
725
|
+
}
|
|
726
|
+
],
|
|
727
|
+
"stateMutability": "view",
|
|
728
|
+
"type": "function"
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"inputs": [],
|
|
732
|
+
"name": "minReleaseAmount",
|
|
733
|
+
"outputs": [
|
|
734
|
+
{
|
|
735
|
+
"internalType": "uint256",
|
|
736
|
+
"name": "",
|
|
737
|
+
"type": "uint256"
|
|
738
|
+
}
|
|
739
|
+
],
|
|
740
|
+
"stateMutability": "view",
|
|
741
|
+
"type": "function"
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
"inputs": [],
|
|
745
|
+
"name": "mintVAIGuardianPaused",
|
|
746
|
+
"outputs": [
|
|
747
|
+
{
|
|
748
|
+
"internalType": "bool",
|
|
749
|
+
"name": "",
|
|
750
|
+
"type": "bool"
|
|
751
|
+
}
|
|
752
|
+
],
|
|
753
|
+
"stateMutability": "view",
|
|
754
|
+
"type": "function"
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
"inputs": [
|
|
758
|
+
{
|
|
759
|
+
"internalType": "address",
|
|
760
|
+
"name": "",
|
|
761
|
+
"type": "address"
|
|
762
|
+
}
|
|
763
|
+
],
|
|
764
|
+
"name": "mintedVAIs",
|
|
765
|
+
"outputs": [
|
|
766
|
+
{
|
|
767
|
+
"internalType": "uint256",
|
|
768
|
+
"name": "",
|
|
769
|
+
"type": "uint256"
|
|
770
|
+
}
|
|
771
|
+
],
|
|
772
|
+
"stateMutability": "view",
|
|
773
|
+
"type": "function"
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
"inputs": [],
|
|
777
|
+
"name": "oracle",
|
|
778
|
+
"outputs": [
|
|
779
|
+
{
|
|
780
|
+
"internalType": "contract ResilientOracleInterface",
|
|
781
|
+
"name": "",
|
|
782
|
+
"type": "address"
|
|
783
|
+
}
|
|
784
|
+
],
|
|
785
|
+
"stateMutability": "view",
|
|
786
|
+
"type": "function"
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
"inputs": [],
|
|
790
|
+
"name": "pauseGuardian",
|
|
791
|
+
"outputs": [
|
|
792
|
+
{
|
|
793
|
+
"internalType": "address",
|
|
794
|
+
"name": "",
|
|
795
|
+
"type": "address"
|
|
796
|
+
}
|
|
797
|
+
],
|
|
798
|
+
"stateMutability": "view",
|
|
799
|
+
"type": "function"
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
"inputs": [],
|
|
803
|
+
"name": "pendingAdmin",
|
|
804
|
+
"outputs": [
|
|
805
|
+
{
|
|
806
|
+
"internalType": "address",
|
|
807
|
+
"name": "",
|
|
808
|
+
"type": "address"
|
|
809
|
+
}
|
|
810
|
+
],
|
|
811
|
+
"stateMutability": "view",
|
|
812
|
+
"type": "function"
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
"inputs": [],
|
|
816
|
+
"name": "pendingComptrollerImplementation",
|
|
817
|
+
"outputs": [
|
|
818
|
+
{
|
|
819
|
+
"internalType": "address",
|
|
820
|
+
"name": "",
|
|
821
|
+
"type": "address"
|
|
822
|
+
}
|
|
823
|
+
],
|
|
824
|
+
"stateMutability": "view",
|
|
825
|
+
"type": "function"
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
"inputs": [
|
|
829
|
+
{
|
|
830
|
+
"internalType": "uint96",
|
|
831
|
+
"name": "",
|
|
832
|
+
"type": "uint96"
|
|
833
|
+
}
|
|
834
|
+
],
|
|
835
|
+
"name": "pools",
|
|
836
|
+
"outputs": [
|
|
837
|
+
{
|
|
838
|
+
"internalType": "string",
|
|
839
|
+
"name": "label",
|
|
840
|
+
"type": "string"
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
"internalType": "bool",
|
|
844
|
+
"name": "isActive",
|
|
845
|
+
"type": "bool"
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
"internalType": "bool",
|
|
849
|
+
"name": "allowCorePoolFallback",
|
|
850
|
+
"type": "bool"
|
|
851
|
+
}
|
|
852
|
+
],
|
|
853
|
+
"stateMutability": "view",
|
|
854
|
+
"type": "function"
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
"inputs": [],
|
|
858
|
+
"name": "prime",
|
|
859
|
+
"outputs": [
|
|
860
|
+
{
|
|
861
|
+
"internalType": "contract IPrime",
|
|
862
|
+
"name": "",
|
|
863
|
+
"type": "address"
|
|
864
|
+
}
|
|
865
|
+
],
|
|
866
|
+
"stateMutability": "view",
|
|
867
|
+
"type": "function"
|
|
868
|
+
},
|
|
869
|
+
{
|
|
870
|
+
"inputs": [],
|
|
871
|
+
"name": "protocolPaused",
|
|
872
|
+
"outputs": [
|
|
873
|
+
{
|
|
874
|
+
"internalType": "bool",
|
|
875
|
+
"name": "",
|
|
876
|
+
"type": "bool"
|
|
877
|
+
}
|
|
878
|
+
],
|
|
879
|
+
"stateMutability": "view",
|
|
880
|
+
"type": "function"
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
"inputs": [],
|
|
884
|
+
"name": "releaseStartBlock",
|
|
885
|
+
"outputs": [
|
|
886
|
+
{
|
|
887
|
+
"internalType": "uint256",
|
|
888
|
+
"name": "",
|
|
889
|
+
"type": "uint256"
|
|
890
|
+
}
|
|
891
|
+
],
|
|
892
|
+
"stateMutability": "view",
|
|
893
|
+
"type": "function"
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
"inputs": [],
|
|
897
|
+
"name": "repayVAIGuardianPaused",
|
|
898
|
+
"outputs": [
|
|
899
|
+
{
|
|
900
|
+
"internalType": "bool",
|
|
901
|
+
"name": "",
|
|
902
|
+
"type": "bool"
|
|
903
|
+
}
|
|
904
|
+
],
|
|
905
|
+
"stateMutability": "view",
|
|
906
|
+
"type": "function"
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
"inputs": [
|
|
910
|
+
{
|
|
911
|
+
"internalType": "address",
|
|
912
|
+
"name": "",
|
|
913
|
+
"type": "address"
|
|
914
|
+
}
|
|
915
|
+
],
|
|
916
|
+
"name": "supplyCaps",
|
|
917
|
+
"outputs": [
|
|
918
|
+
{
|
|
919
|
+
"internalType": "uint256",
|
|
920
|
+
"name": "",
|
|
921
|
+
"type": "uint256"
|
|
922
|
+
}
|
|
923
|
+
],
|
|
924
|
+
"stateMutability": "view",
|
|
925
|
+
"type": "function"
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
"inputs": [],
|
|
929
|
+
"name": "treasuryAddress",
|
|
930
|
+
"outputs": [
|
|
931
|
+
{
|
|
932
|
+
"internalType": "address",
|
|
933
|
+
"name": "",
|
|
934
|
+
"type": "address"
|
|
935
|
+
}
|
|
936
|
+
],
|
|
937
|
+
"stateMutability": "view",
|
|
938
|
+
"type": "function"
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
"inputs": [],
|
|
942
|
+
"name": "treasuryGuardian",
|
|
943
|
+
"outputs": [
|
|
944
|
+
{
|
|
945
|
+
"internalType": "address",
|
|
946
|
+
"name": "",
|
|
947
|
+
"type": "address"
|
|
948
|
+
}
|
|
949
|
+
],
|
|
950
|
+
"stateMutability": "view",
|
|
951
|
+
"type": "function"
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
"inputs": [],
|
|
955
|
+
"name": "treasuryPercent",
|
|
956
|
+
"outputs": [
|
|
957
|
+
{
|
|
958
|
+
"internalType": "uint256",
|
|
959
|
+
"name": "",
|
|
960
|
+
"type": "uint256"
|
|
961
|
+
}
|
|
962
|
+
],
|
|
963
|
+
"stateMutability": "view",
|
|
964
|
+
"type": "function"
|
|
965
|
+
},
|
|
966
|
+
{
|
|
967
|
+
"inputs": [
|
|
968
|
+
{
|
|
969
|
+
"internalType": "address",
|
|
970
|
+
"name": "",
|
|
971
|
+
"type": "address"
|
|
972
|
+
}
|
|
973
|
+
],
|
|
974
|
+
"name": "userPoolId",
|
|
975
|
+
"outputs": [
|
|
976
|
+
{
|
|
977
|
+
"internalType": "uint96",
|
|
978
|
+
"name": "",
|
|
979
|
+
"type": "uint96"
|
|
980
|
+
}
|
|
981
|
+
],
|
|
982
|
+
"stateMutability": "view",
|
|
983
|
+
"type": "function"
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
"inputs": [],
|
|
987
|
+
"name": "vaiController",
|
|
988
|
+
"outputs": [
|
|
989
|
+
{
|
|
990
|
+
"internalType": "contract VAIControllerInterface",
|
|
991
|
+
"name": "",
|
|
992
|
+
"type": "address"
|
|
993
|
+
}
|
|
994
|
+
],
|
|
995
|
+
"stateMutability": "view",
|
|
996
|
+
"type": "function"
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
"inputs": [],
|
|
1000
|
+
"name": "vaiMintRate",
|
|
1001
|
+
"outputs": [
|
|
1002
|
+
{
|
|
1003
|
+
"internalType": "uint256",
|
|
1004
|
+
"name": "",
|
|
1005
|
+
"type": "uint256"
|
|
1006
|
+
}
|
|
1007
|
+
],
|
|
1008
|
+
"stateMutability": "view",
|
|
1009
|
+
"type": "function"
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
"inputs": [],
|
|
1013
|
+
"name": "vaiVaultAddress",
|
|
1014
|
+
"outputs": [
|
|
1015
|
+
{
|
|
1016
|
+
"internalType": "address",
|
|
1017
|
+
"name": "",
|
|
1018
|
+
"type": "address"
|
|
1019
|
+
}
|
|
1020
|
+
],
|
|
1021
|
+
"stateMutability": "view",
|
|
1022
|
+
"type": "function"
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
"inputs": [
|
|
1026
|
+
{
|
|
1027
|
+
"internalType": "address",
|
|
1028
|
+
"name": "",
|
|
1029
|
+
"type": "address"
|
|
1030
|
+
}
|
|
1031
|
+
],
|
|
1032
|
+
"name": "venusAccrued",
|
|
1033
|
+
"outputs": [
|
|
1034
|
+
{
|
|
1035
|
+
"internalType": "uint256",
|
|
1036
|
+
"name": "",
|
|
1037
|
+
"type": "uint256"
|
|
1038
|
+
}
|
|
1039
|
+
],
|
|
1040
|
+
"stateMutability": "view",
|
|
1041
|
+
"type": "function"
|
|
1042
|
+
},
|
|
1043
|
+
{
|
|
1044
|
+
"inputs": [
|
|
1045
|
+
{
|
|
1046
|
+
"internalType": "address",
|
|
1047
|
+
"name": "",
|
|
1048
|
+
"type": "address"
|
|
1049
|
+
}
|
|
1050
|
+
],
|
|
1051
|
+
"name": "venusBorrowSpeeds",
|
|
1052
|
+
"outputs": [
|
|
1053
|
+
{
|
|
1054
|
+
"internalType": "uint256",
|
|
1055
|
+
"name": "",
|
|
1056
|
+
"type": "uint256"
|
|
1057
|
+
}
|
|
1058
|
+
],
|
|
1059
|
+
"stateMutability": "view",
|
|
1060
|
+
"type": "function"
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
"inputs": [
|
|
1064
|
+
{
|
|
1065
|
+
"internalType": "address",
|
|
1066
|
+
"name": "",
|
|
1067
|
+
"type": "address"
|
|
1068
|
+
}
|
|
1069
|
+
],
|
|
1070
|
+
"name": "venusBorrowState",
|
|
1071
|
+
"outputs": [
|
|
1072
|
+
{
|
|
1073
|
+
"internalType": "uint224",
|
|
1074
|
+
"name": "index",
|
|
1075
|
+
"type": "uint224"
|
|
1076
|
+
},
|
|
1077
|
+
{
|
|
1078
|
+
"internalType": "uint32",
|
|
1079
|
+
"name": "block",
|
|
1080
|
+
"type": "uint32"
|
|
1081
|
+
}
|
|
1082
|
+
],
|
|
1083
|
+
"stateMutability": "view",
|
|
1084
|
+
"type": "function"
|
|
1085
|
+
},
|
|
1086
|
+
{
|
|
1087
|
+
"inputs": [
|
|
1088
|
+
{
|
|
1089
|
+
"internalType": "address",
|
|
1090
|
+
"name": "",
|
|
1091
|
+
"type": "address"
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
"internalType": "address",
|
|
1095
|
+
"name": "",
|
|
1096
|
+
"type": "address"
|
|
1097
|
+
}
|
|
1098
|
+
],
|
|
1099
|
+
"name": "venusBorrowerIndex",
|
|
1100
|
+
"outputs": [
|
|
1101
|
+
{
|
|
1102
|
+
"internalType": "uint256",
|
|
1103
|
+
"name": "",
|
|
1104
|
+
"type": "uint256"
|
|
1105
|
+
}
|
|
1106
|
+
],
|
|
1107
|
+
"stateMutability": "view",
|
|
1108
|
+
"type": "function"
|
|
1109
|
+
},
|
|
1110
|
+
{
|
|
1111
|
+
"inputs": [],
|
|
1112
|
+
"name": "venusInitialIndex",
|
|
1113
|
+
"outputs": [
|
|
1114
|
+
{
|
|
1115
|
+
"internalType": "uint224",
|
|
1116
|
+
"name": "",
|
|
1117
|
+
"type": "uint224"
|
|
1118
|
+
}
|
|
1119
|
+
],
|
|
1120
|
+
"stateMutability": "view",
|
|
1121
|
+
"type": "function"
|
|
1122
|
+
},
|
|
1123
|
+
{
|
|
1124
|
+
"inputs": [
|
|
1125
|
+
{
|
|
1126
|
+
"internalType": "address",
|
|
1127
|
+
"name": "",
|
|
1128
|
+
"type": "address"
|
|
1129
|
+
},
|
|
1130
|
+
{
|
|
1131
|
+
"internalType": "address",
|
|
1132
|
+
"name": "",
|
|
1133
|
+
"type": "address"
|
|
1134
|
+
}
|
|
1135
|
+
],
|
|
1136
|
+
"name": "venusSupplierIndex",
|
|
1137
|
+
"outputs": [
|
|
1138
|
+
{
|
|
1139
|
+
"internalType": "uint256",
|
|
1140
|
+
"name": "",
|
|
1141
|
+
"type": "uint256"
|
|
1142
|
+
}
|
|
1143
|
+
],
|
|
1144
|
+
"stateMutability": "view",
|
|
1145
|
+
"type": "function"
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
"inputs": [
|
|
1149
|
+
{
|
|
1150
|
+
"internalType": "address",
|
|
1151
|
+
"name": "",
|
|
1152
|
+
"type": "address"
|
|
1153
|
+
}
|
|
1154
|
+
],
|
|
1155
|
+
"name": "venusSupplySpeeds",
|
|
1156
|
+
"outputs": [
|
|
1157
|
+
{
|
|
1158
|
+
"internalType": "uint256",
|
|
1159
|
+
"name": "",
|
|
1160
|
+
"type": "uint256"
|
|
1161
|
+
}
|
|
1162
|
+
],
|
|
1163
|
+
"stateMutability": "view",
|
|
1164
|
+
"type": "function"
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
"inputs": [
|
|
1168
|
+
{
|
|
1169
|
+
"internalType": "address",
|
|
1170
|
+
"name": "",
|
|
1171
|
+
"type": "address"
|
|
1172
|
+
}
|
|
1173
|
+
],
|
|
1174
|
+
"name": "venusSupplyState",
|
|
1175
|
+
"outputs": [
|
|
1176
|
+
{
|
|
1177
|
+
"internalType": "uint224",
|
|
1178
|
+
"name": "index",
|
|
1179
|
+
"type": "uint224"
|
|
1180
|
+
},
|
|
1181
|
+
{
|
|
1182
|
+
"internalType": "uint32",
|
|
1183
|
+
"name": "block",
|
|
1184
|
+
"type": "uint32"
|
|
1185
|
+
}
|
|
1186
|
+
],
|
|
1187
|
+
"stateMutability": "view",
|
|
1188
|
+
"type": "function"
|
|
1189
|
+
},
|
|
1190
|
+
{
|
|
1191
|
+
"inputs": [],
|
|
1192
|
+
"name": "venusVAIVaultRate",
|
|
1193
|
+
"outputs": [
|
|
1194
|
+
{
|
|
1195
|
+
"internalType": "uint256",
|
|
1196
|
+
"name": "",
|
|
1197
|
+
"type": "uint256"
|
|
1198
|
+
}
|
|
1199
|
+
],
|
|
1200
|
+
"stateMutability": "view",
|
|
1201
|
+
"type": "function"
|
|
1202
|
+
}
|
|
1203
|
+
],
|
|
1204
|
+
"bytecode": "0x6080604052348015600e575f80fd5b50611a518061001c5f395ff3fe608060405234801561000f575f80fd5b50600436106102e5575f3560e01c80638c1ac18a11610195578063c5f956af116100e4578063e0f6123d1161009e578063e875544611610079578063e8755446146107bc578063f445d703146107c5578063f851a440146107f2578063fa6331d814610804575f80fd5b8063e0f6123d14610750578063e37d4b7914610772578063e85a2960146107a9575f80fd5b8063c5f956af146106ea578063c7ee005e146106fd578063d3270f9914610710578063d463654c14610723578063dce154491461072a578063dcfbc0c71461073d575f80fd5b8063b2eafc391161014f578063bbb8864a1161012a578063bbb8864a14610683578063bec04f72146106a2578063bf32442d146106ab578063c5b4db55146106bc575f80fd5b8063b2eafc3914610602578063b8324c7c14610615578063bb82aa5e14610670575f80fd5b80638c1ac18a1461057c5780639254f5e51461059e57806394b2294b146105b157806396c99064146105ba5780639bb27d62146105dc578063a657e579146105ef575f80fd5b80634a58443211610251578063719f701b1161020b5780637d172bd5116101e65780637d172bd51461052a5780637dc0d1d01461053d5780637fb8e8cd146105505780638a7dc1651461055d575f80fd5b8063719f701b146104cf57806373769099146104d85780637655138314610518575f80fd5b80634a5844321461044e5780634d99c7761461046d578063517aa0c71461048057806352d84d1e146104885780635544ed9c1461049b5780635dd3fc9d146104b0575f80fd5b806324a3d622116102a257806324a3d622146103bf57806326782247146103d25780632bc7e29e146103e55780634088c73e1461040457806341a18d2c14610411578063425fad581461043b575f80fd5b806302c3bcbb146102e957806304ef9d581461031b57806308e0225c146103245780630db4b4e51461034e57806310b983381461035757806321af456914610394575b5f80fd5b6103086102f73660046113a4565b60276020525f908152604090205481565b6040519081526020015b60405180910390f35b61030860225481565b6103086103323660046113c6565b601360209081525f928352604080842090915290825290205481565b610308601d5481565b6103846103653660046113c6565b602c60209081525f928352604080842090915290825290205460ff1681565b6040519015158152602001610312565b601e546103a7906001600160a01b031681565b6040516001600160a01b039091168152602001610312565b600a546103a7906001600160a01b031681565b6001546103a7906001600160a01b031681565b6103086103f33660046113a4565b60166020525f908152604090205481565b6018546103849060ff1681565b61030861041f3660046113c6565b601260209081525f928352604080842090915290825290205481565b6018546103849062010000900460ff1681565b61030861045c3660046113a4565b601f6020525f908152604090205481565b61030861047b366004611418565b61080d565b61030860c881565b6103a7610496366004611432565b61082e565b6104ae6104a9366004611589565b610856565b005b6103086104be3660046113a4565b602b6020525f908152604090205481565b610308601c5481565b6105006104e63660046113a4565b60356020525f90815260409020546001600160601b031681565b6040516001600160601b039091168152602001610312565b60185461038490610100900460ff1681565b601b546103a7906001600160a01b031681565b6004546103a7906001600160a01b031681565b6039546103849060ff1681565b61030861056b3660046113a4565b60146020525f908152604090205481565b61038461058a3660046113a4565b602d6020525f908152604090205460ff1681565b6015546103a7906001600160a01b031681565b61030860075481565b6105cd6105c836600461168e565b610b48565b604051610312939291906116d5565b6025546103a7906001600160a01b031681565b603754610500906001600160601b031681565b6020546103a7906001600160a01b031681565b61064c6106233660046113a4565b60106020525f90815260409020546001600160e01b03811690600160e01b900463ffffffff1682565b604080516001600160e01b03909316835263ffffffff909116602083015201610312565b6002546103a7906001600160a01b031681565b6103086106913660046113a4565b602a6020525f908152604090205481565b61030860175481565b6033546001600160a01b03166103a7565b6106d26ec097ce7bc90715b34b9f100000000081565b6040516001600160e01b039091168152602001610312565b6021546103a7906001600160a01b031681565b6031546103a7906001600160a01b031681565b6026546103a7906001600160a01b031681565b6105005f81565b6103a76107383660046116fe565b610bf5565b6003546103a7906001600160a01b031681565b61038461075e3660046113a4565b60386020525f908152604090205460ff1681565b61064c6107803660046113a4565b60116020525f90815260409020546001600160e01b03811690600160e01b900463ffffffff1682565b6103846107b7366004611728565b610c29565b61030860055481565b6103846107d33660046113c6565b603260209081525f928352604080842090915290825290205460ff1681565b5f546103a7906001600160a01b031681565b610308601a5481565b6001600160a01b031960a083901b166001600160a01b038216175b92915050565b600d818154811061083d575f80fd5b5f918252602090912001546001600160a01b0316905081565b61085e610c6d565b60395460ff1615610882576040516323118a8360e01b815260040160405180910390fd5b61088b85610cdc565b82515f8181036108ae5760405163bd96af5b60e01b815260040160405180910390fd5b60c88211156108df5760405163d2f1924360e01b81526004810183905260c860248201526044015b60405180910390fd5b835182146109005760405163aa6eb14560e01b815260040160405180910390fd5b5f5b82811015610a525761092c86828151811061091f5761091f611757565b6020026020010151610d2d565b805490925060ff1661097b5785818151811061094a5761094a611757565b6020026020010151604051635a9a1eb960e11b81526004016108d691906001600160a01b0391909116815260200190565b85818151811061098d5761098d611757565b60200260200101516001600160a01b031663ae3fcb1f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f4919061177a565b610a1157604051630a3fad8360e01b815260040160405180910390fd5b848181518110610a2357610a23611757565b60200260200101515f03610a4a5760405163162908e360e11b815260040160405180910390fd5b600101610902565b50610a5c86610cdc565b335f9081526038602052604090205460ff16610a8d576040516319d14ecf60e01b81523360048201526024016108d6565b336001600160a01b03881614801590610ac957506001600160a01b0387165f908152602c6020908152604080832033845290915290205460ff16155b15610ae7576040516337248ad960e01b815260040160405180910390fd5b610af48787878787610d4f565b856001600160a01b03167f785e5057f6e5f2e298f8dce2755a6ef29f9dd8a0f82a8b5cad101ea5ef803f048686604051610b2f929190611805565b60405180910390a25050610b41610e2a565b5050505050565b60366020525f9081526040902080548190610b6290611832565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8e90611832565b8015610bd95780601f10610bb057610100808354040283529160200191610bd9565b820191905f5260205f20905b815481529060010190602001808311610bbc57829003601f168201915b5050506002909301549192505060ff8082169161010090041683565b6008602052815f5260405f208181548110610c0e575f80fd5b5f918252602090912001546001600160a01b03169150829050565b6001600160a01b0382165f90815260296020526040812081836008811115610c5357610c5361186a565b815260208101919091526040015f205460ff169392505050565b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005c15610cad57604051633ee5aeb560e01b815260040160405180910390fd5b610cda60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005b90610e54565b565b6001600160a01b038116610d2a5760405162461bcd60e51b815260206004820152601560248201527463616e2774206265207a65726f206164647265737360581b60448201526064016108d6565b50565b5f60095f610d3b5f8561080d565b81526020019081526020015f209050919050565b604080518082019091526060808252602082015283518067ffffffffffffffff811115610d7e57610d7e611449565b604051908082528060200260200182016040528015610da7578160200160208202803683370190505b5082528067ffffffffffffffff811115610dc357610dc3611449565b604051908082528060200260200182016040528015610dec578160200160208202803683370190505b506020830152610dfe86868685610e5b565b5f610e1088888888875f015189610ffb565b9050610e208888888885886110a5565b5050505050505050565b610cda5f7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00610cd4565b80825d5050565b82515f5b81811015610ff357848181518110610e7957610e79611757565b60200260200101516001600160a01b03166371507cd5858381518110610ea157610ea1611757565b60200260200101516040518263ffffffff1660e01b8152600401610ec791815260200190565b6040805180830381865afa158015610ee1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f05919061187e565b8451805184908110610f1957610f19611757565b6020026020010185602001518481518110610f3657610f36611757565b6020026020010182815250828152505050848181518110610f5957610f59611757565b60200260200101516001600160a01b0316638d1f23d487868481518110610f8257610f82611757565b60200260200101516040518363ffffffff1660e01b8152600401610fbb9291906001600160a01b03929092168252602082015260400190565b5f604051808303815f87803b158015610fd2575f80fd5b505af1158015610fe4573d5f803e3d5ffd5b50505050806001019050610e5f565b505050505050565b60605f80876001600160a01b031663fc08f9f6888888338e8a6040518763ffffffff1660e01b8152600401611035969594939291906118a0565b5f604051808303815f875af1158015611050573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526110779190810190611910565b915091508161109957604051635a3b2cbb60e11b815260040160405180910390fd5b98975050505050505050565b83515f5b81811015610e20576111448682815181106110c6576110c6611757565b602002602001015189898885815181106110e2576110e2611757565b60200260200101518886815181106110fc576110fc611757565b6020026020010151885f0151878151811061111957611119611757565b60200260200101518960200151888151811061113757611137611757565b602002602001015161114c565b6001016110a9565b5f61115783866119c3565b90505f8185116111675784611169565b815b9050838110156111965760405163bcb60bf360e01b815260048101829052602481018590526044016108d6565b60405163324235c960e11b81526001600160a01b0388811660048301526024820183905260448201869052606482018590525f91908b16906364846b92906084016020604051808303815f875af11580156111f3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061121791906119d6565b90505f818411156112c45761122c82856119ed565b6040516366ce8d7d60e01b81526001600160a01b038c81166004830152602482018390529192505f918d16906366ce8d7d906044016020604051808303815f875af115801561127d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112a191906119d6565b905080156112c25760405163ab52b56f60e01b815260040160405180910390fd5b505b8a6001600160a01b0316636f307dc36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611300573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113249190611a00565b6001600160a01b03168a6001600160a01b03168a6001600160a01b03167f499433c603d8d6db664daa76d7158679cc9f90c4c30723e29495a8c39302a173858560405161137b929190918252602082015260400190565b60405180910390a45050505050505050505050565b6001600160a01b0381168114610d2a575f80fd5b5f602082840312156113b4575f80fd5b81356113bf81611390565b9392505050565b5f80604083850312156113d7575f80fd5b82356113e281611390565b915060208301356113f281611390565b809150509250929050565b80356001600160601b0381168114611413575f80fd5b919050565b5f8060408385031215611429575f80fd5b6113e2836113fd565b5f60208284031215611442575f80fd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561148657611486611449565b604052919050565b5f67ffffffffffffffff8211156114a7576114a7611449565b5060051b60200190565b5f82601f8301126114c0575f80fd5b813560206114d56114d08361148e565b61145d565b8083825260208201915060208460051b8701019350868411156114f6575f80fd5b602086015b8481101561151257803583529183019183016114fb565b509695505050505050565b5f82601f83011261152c575f80fd5b813567ffffffffffffffff81111561154657611546611449565b611559601f8201601f191660200161145d565b81815284602083860101111561156d575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f60a0868803121561159d575f80fd5b85356115a881611390565b94506020868101356115b981611390565b9450604087013567ffffffffffffffff808211156115d5575f80fd5b818901915089601f8301126115e8575f80fd5b81356115f66114d08261148e565b81815260059190911b8301840190848101908c831115611614575f80fd5b938501935b8285101561163b57843561162c81611390565b82529385019390850190611619565b975050506060890135925080831115611652575f80fd5b61165e8a848b016114b1565b94506080890135925080831115611673575f80fd5b50506116818882890161151d565b9150509295509295909350565b5f6020828403121561169e575f80fd5b6113bf826113fd565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b606081525f6116e760608301866116a7565b931515602083015250901515604090910152919050565b5f806040838503121561170f575f80fd5b823561171a81611390565b946020939093013593505050565b5f8060408385031215611739575f80fd5b823561174481611390565b91506020830135600981106113f2575f80fd5b634e487b7160e01b5f52603260045260245ffd5b80518015158114611413575f80fd5b5f6020828403121561178a575f80fd5b6113bf8261176b565b5f815180845260208085019450602084015f5b838110156117cb5781516001600160a01b0316875295820195908201906001016117a6565b509495945050505050565b5f815180845260208085019450602084015f5b838110156117cb578151875295820195908201906001016117e9565b604081525f6118176040830185611793565b828103602084015261182981856117d6565b95945050505050565b600181811c9082168061184657607f821691505b60208210810361186457634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52602160045260245ffd5b5f806040838503121561188f575f80fd5b505080516020909101519092909150565b60c081525f6118b260c0830189611793565b82810360208401526118c481896117d6565b905082810360408401526118d881886117d6565b6001600160a01b0387811660608601528616608085015283810360a0850152905061190381856116a7565b9998505050505050505050565b5f8060408385031215611921575f80fd5b61192a8361176b565b915060208084015167ffffffffffffffff811115611946575f80fd5b8401601f81018613611956575f80fd5b80516119646114d08261148e565b81815260059190911b82018301908381019088831115611982575f80fd5b928401925b828410156119a057835182529284019290840190611987565b80955050505050509250929050565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610828576108286119af565b5f602082840312156119e6575f80fd5b5051919050565b81810381811115610828576108286119af565b5f60208284031215611a10575f80fd5b81516113bf8161139056fea26469706673582212209cd3d81fb9d10e151925b12baabec95e8edecb883076621e2c24c076ac8c649a64736f6c63430008190033",
|
|
1205
|
+
"deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106102e5575f3560e01c80638c1ac18a11610195578063c5f956af116100e4578063e0f6123d1161009e578063e875544611610079578063e8755446146107bc578063f445d703146107c5578063f851a440146107f2578063fa6331d814610804575f80fd5b8063e0f6123d14610750578063e37d4b7914610772578063e85a2960146107a9575f80fd5b8063c5f956af146106ea578063c7ee005e146106fd578063d3270f9914610710578063d463654c14610723578063dce154491461072a578063dcfbc0c71461073d575f80fd5b8063b2eafc391161014f578063bbb8864a1161012a578063bbb8864a14610683578063bec04f72146106a2578063bf32442d146106ab578063c5b4db55146106bc575f80fd5b8063b2eafc3914610602578063b8324c7c14610615578063bb82aa5e14610670575f80fd5b80638c1ac18a1461057c5780639254f5e51461059e57806394b2294b146105b157806396c99064146105ba5780639bb27d62146105dc578063a657e579146105ef575f80fd5b80634a58443211610251578063719f701b1161020b5780637d172bd5116101e65780637d172bd51461052a5780637dc0d1d01461053d5780637fb8e8cd146105505780638a7dc1651461055d575f80fd5b8063719f701b146104cf57806373769099146104d85780637655138314610518575f80fd5b80634a5844321461044e5780634d99c7761461046d578063517aa0c71461048057806352d84d1e146104885780635544ed9c1461049b5780635dd3fc9d146104b0575f80fd5b806324a3d622116102a257806324a3d622146103bf57806326782247146103d25780632bc7e29e146103e55780634088c73e1461040457806341a18d2c14610411578063425fad581461043b575f80fd5b806302c3bcbb146102e957806304ef9d581461031b57806308e0225c146103245780630db4b4e51461034e57806310b983381461035757806321af456914610394575b5f80fd5b6103086102f73660046113a4565b60276020525f908152604090205481565b6040519081526020015b60405180910390f35b61030860225481565b6103086103323660046113c6565b601360209081525f928352604080842090915290825290205481565b610308601d5481565b6103846103653660046113c6565b602c60209081525f928352604080842090915290825290205460ff1681565b6040519015158152602001610312565b601e546103a7906001600160a01b031681565b6040516001600160a01b039091168152602001610312565b600a546103a7906001600160a01b031681565b6001546103a7906001600160a01b031681565b6103086103f33660046113a4565b60166020525f908152604090205481565b6018546103849060ff1681565b61030861041f3660046113c6565b601260209081525f928352604080842090915290825290205481565b6018546103849062010000900460ff1681565b61030861045c3660046113a4565b601f6020525f908152604090205481565b61030861047b366004611418565b61080d565b61030860c881565b6103a7610496366004611432565b61082e565b6104ae6104a9366004611589565b610856565b005b6103086104be3660046113a4565b602b6020525f908152604090205481565b610308601c5481565b6105006104e63660046113a4565b60356020525f90815260409020546001600160601b031681565b6040516001600160601b039091168152602001610312565b60185461038490610100900460ff1681565b601b546103a7906001600160a01b031681565b6004546103a7906001600160a01b031681565b6039546103849060ff1681565b61030861056b3660046113a4565b60146020525f908152604090205481565b61038461058a3660046113a4565b602d6020525f908152604090205460ff1681565b6015546103a7906001600160a01b031681565b61030860075481565b6105cd6105c836600461168e565b610b48565b604051610312939291906116d5565b6025546103a7906001600160a01b031681565b603754610500906001600160601b031681565b6020546103a7906001600160a01b031681565b61064c6106233660046113a4565b60106020525f90815260409020546001600160e01b03811690600160e01b900463ffffffff1682565b604080516001600160e01b03909316835263ffffffff909116602083015201610312565b6002546103a7906001600160a01b031681565b6103086106913660046113a4565b602a6020525f908152604090205481565b61030860175481565b6033546001600160a01b03166103a7565b6106d26ec097ce7bc90715b34b9f100000000081565b6040516001600160e01b039091168152602001610312565b6021546103a7906001600160a01b031681565b6031546103a7906001600160a01b031681565b6026546103a7906001600160a01b031681565b6105005f81565b6103a76107383660046116fe565b610bf5565b6003546103a7906001600160a01b031681565b61038461075e3660046113a4565b60386020525f908152604090205460ff1681565b61064c6107803660046113a4565b60116020525f90815260409020546001600160e01b03811690600160e01b900463ffffffff1682565b6103846107b7366004611728565b610c29565b61030860055481565b6103846107d33660046113c6565b603260209081525f928352604080842090915290825290205460ff1681565b5f546103a7906001600160a01b031681565b610308601a5481565b6001600160a01b031960a083901b166001600160a01b038216175b92915050565b600d818154811061083d575f80fd5b5f918252602090912001546001600160a01b0316905081565b61085e610c6d565b60395460ff1615610882576040516323118a8360e01b815260040160405180910390fd5b61088b85610cdc565b82515f8181036108ae5760405163bd96af5b60e01b815260040160405180910390fd5b60c88211156108df5760405163d2f1924360e01b81526004810183905260c860248201526044015b60405180910390fd5b835182146109005760405163aa6eb14560e01b815260040160405180910390fd5b5f5b82811015610a525761092c86828151811061091f5761091f611757565b6020026020010151610d2d565b805490925060ff1661097b5785818151811061094a5761094a611757565b6020026020010151604051635a9a1eb960e11b81526004016108d691906001600160a01b0391909116815260200190565b85818151811061098d5761098d611757565b60200260200101516001600160a01b031663ae3fcb1f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f4919061177a565b610a1157604051630a3fad8360e01b815260040160405180910390fd5b848181518110610a2357610a23611757565b60200260200101515f03610a4a5760405163162908e360e11b815260040160405180910390fd5b600101610902565b50610a5c86610cdc565b335f9081526038602052604090205460ff16610a8d576040516319d14ecf60e01b81523360048201526024016108d6565b336001600160a01b03881614801590610ac957506001600160a01b0387165f908152602c6020908152604080832033845290915290205460ff16155b15610ae7576040516337248ad960e01b815260040160405180910390fd5b610af48787878787610d4f565b856001600160a01b03167f785e5057f6e5f2e298f8dce2755a6ef29f9dd8a0f82a8b5cad101ea5ef803f048686604051610b2f929190611805565b60405180910390a25050610b41610e2a565b5050505050565b60366020525f9081526040902080548190610b6290611832565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8e90611832565b8015610bd95780601f10610bb057610100808354040283529160200191610bd9565b820191905f5260205f20905b815481529060010190602001808311610bbc57829003601f168201915b5050506002909301549192505060ff8082169161010090041683565b6008602052815f5260405f208181548110610c0e575f80fd5b5f918252602090912001546001600160a01b03169150829050565b6001600160a01b0382165f90815260296020526040812081836008811115610c5357610c5361186a565b815260208101919091526040015f205460ff169392505050565b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005c15610cad57604051633ee5aeb560e01b815260040160405180910390fd5b610cda60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005b90610e54565b565b6001600160a01b038116610d2a5760405162461bcd60e51b815260206004820152601560248201527463616e2774206265207a65726f206164647265737360581b60448201526064016108d6565b50565b5f60095f610d3b5f8561080d565b81526020019081526020015f209050919050565b604080518082019091526060808252602082015283518067ffffffffffffffff811115610d7e57610d7e611449565b604051908082528060200260200182016040528015610da7578160200160208202803683370190505b5082528067ffffffffffffffff811115610dc357610dc3611449565b604051908082528060200260200182016040528015610dec578160200160208202803683370190505b506020830152610dfe86868685610e5b565b5f610e1088888888875f015189610ffb565b9050610e208888888885886110a5565b5050505050505050565b610cda5f7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00610cd4565b80825d5050565b82515f5b81811015610ff357848181518110610e7957610e79611757565b60200260200101516001600160a01b03166371507cd5858381518110610ea157610ea1611757565b60200260200101516040518263ffffffff1660e01b8152600401610ec791815260200190565b6040805180830381865afa158015610ee1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f05919061187e565b8451805184908110610f1957610f19611757565b6020026020010185602001518481518110610f3657610f36611757565b6020026020010182815250828152505050848181518110610f5957610f59611757565b60200260200101516001600160a01b0316638d1f23d487868481518110610f8257610f82611757565b60200260200101516040518363ffffffff1660e01b8152600401610fbb9291906001600160a01b03929092168252602082015260400190565b5f604051808303815f87803b158015610fd2575f80fd5b505af1158015610fe4573d5f803e3d5ffd5b50505050806001019050610e5f565b505050505050565b60605f80876001600160a01b031663fc08f9f6888888338e8a6040518763ffffffff1660e01b8152600401611035969594939291906118a0565b5f604051808303815f875af1158015611050573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526110779190810190611910565b915091508161109957604051635a3b2cbb60e11b815260040160405180910390fd5b98975050505050505050565b83515f5b81811015610e20576111448682815181106110c6576110c6611757565b602002602001015189898885815181106110e2576110e2611757565b60200260200101518886815181106110fc576110fc611757565b6020026020010151885f0151878151811061111957611119611757565b60200260200101518960200151888151811061113757611137611757565b602002602001015161114c565b6001016110a9565b5f61115783866119c3565b90505f8185116111675784611169565b815b9050838110156111965760405163bcb60bf360e01b815260048101829052602481018590526044016108d6565b60405163324235c960e11b81526001600160a01b0388811660048301526024820183905260448201869052606482018590525f91908b16906364846b92906084016020604051808303815f875af11580156111f3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061121791906119d6565b90505f818411156112c45761122c82856119ed565b6040516366ce8d7d60e01b81526001600160a01b038c81166004830152602482018390529192505f918d16906366ce8d7d906044016020604051808303815f875af115801561127d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112a191906119d6565b905080156112c25760405163ab52b56f60e01b815260040160405180910390fd5b505b8a6001600160a01b0316636f307dc36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611300573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113249190611a00565b6001600160a01b03168a6001600160a01b03168a6001600160a01b03167f499433c603d8d6db664daa76d7158679cc9f90c4c30723e29495a8c39302a173858560405161137b929190918252602082015260400190565b60405180910390a45050505050505050505050565b6001600160a01b0381168114610d2a575f80fd5b5f602082840312156113b4575f80fd5b81356113bf81611390565b9392505050565b5f80604083850312156113d7575f80fd5b82356113e281611390565b915060208301356113f281611390565b809150509250929050565b80356001600160601b0381168114611413575f80fd5b919050565b5f8060408385031215611429575f80fd5b6113e2836113fd565b5f60208284031215611442575f80fd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561148657611486611449565b604052919050565b5f67ffffffffffffffff8211156114a7576114a7611449565b5060051b60200190565b5f82601f8301126114c0575f80fd5b813560206114d56114d08361148e565b61145d565b8083825260208201915060208460051b8701019350868411156114f6575f80fd5b602086015b8481101561151257803583529183019183016114fb565b509695505050505050565b5f82601f83011261152c575f80fd5b813567ffffffffffffffff81111561154657611546611449565b611559601f8201601f191660200161145d565b81815284602083860101111561156d575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f60a0868803121561159d575f80fd5b85356115a881611390565b94506020868101356115b981611390565b9450604087013567ffffffffffffffff808211156115d5575f80fd5b818901915089601f8301126115e8575f80fd5b81356115f66114d08261148e565b81815260059190911b8301840190848101908c831115611614575f80fd5b938501935b8285101561163b57843561162c81611390565b82529385019390850190611619565b975050506060890135925080831115611652575f80fd5b61165e8a848b016114b1565b94506080890135925080831115611673575f80fd5b50506116818882890161151d565b9150509295509295909350565b5f6020828403121561169e575f80fd5b6113bf826113fd565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b606081525f6116e760608301866116a7565b931515602083015250901515604090910152919050565b5f806040838503121561170f575f80fd5b823561171a81611390565b946020939093013593505050565b5f8060408385031215611739575f80fd5b823561174481611390565b91506020830135600981106113f2575f80fd5b634e487b7160e01b5f52603260045260245ffd5b80518015158114611413575f80fd5b5f6020828403121561178a575f80fd5b6113bf8261176b565b5f815180845260208085019450602084015f5b838110156117cb5781516001600160a01b0316875295820195908201906001016117a6565b509495945050505050565b5f815180845260208085019450602084015f5b838110156117cb578151875295820195908201906001016117e9565b604081525f6118176040830185611793565b828103602084015261182981856117d6565b95945050505050565b600181811c9082168061184657607f821691505b60208210810361186457634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52602160045260245ffd5b5f806040838503121561188f575f80fd5b505080516020909101519092909150565b60c081525f6118b260c0830189611793565b82810360208401526118c481896117d6565b905082810360408401526118d881886117d6565b6001600160a01b0387811660608601528616608085015283810360a0850152905061190381856116a7565b9998505050505050505050565b5f8060408385031215611921575f80fd5b61192a8361176b565b915060208084015167ffffffffffffffff811115611946575f80fd5b8401601f81018613611956575f80fd5b80516119646114d08261148e565b81815260059190911b82018301908381019088831115611982575f80fd5b928401925b828410156119a057835182529284019290840190611987565b80955050505050509250929050565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610828576108286119af565b5f602082840312156119e6575f80fd5b5051919050565b81810381811115610828576108286119af565b5f60208284031215611a10575f80fd5b81516113bf8161139056fea26469706673582212209cd3d81fb9d10e151925b12baabec95e8edecb883076621e2c24c076ac8c649a64736f6c63430008190033",
|
|
1206
|
+
"linkReferences": {},
|
|
1207
|
+
"deployedLinkReferences": {}
|
|
1208
|
+
}
|