@pendle/core-v2 0.6.8 → 0.6.9
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/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPGauge.sol/{IPendleGauge.json → IPGauge.json} +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/{IVePToken.json → IPVeToken.json} +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/{IVotingEscrowPendle.json → IPVotingEscrow.json} +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowController.sol/IPVotingEscrowController.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPVotingEscrowController.sol/{VotingEscrowController.json → IPVotingEscrowController.json} +1 -1
- package/build/artifacts/contracts/interfaces/IVePToken.sol/IVePToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IVotingEscrowPendle.sol/IVotingEscrowPendle.dbg.json +1 -1
- package/contracts/interfaces/IPGauge.sol +1 -1
- package/contracts/interfaces/IPVeToken.sol +1 -1
- package/contracts/interfaces/IPVotingEscrow.sol +2 -2
- package/contracts/interfaces/IPVotingEscrowController.sol +1 -1
- package/package.json +1 -1
- package/typechain-types/ActionSCYAndYOBase.ts +223 -0
- package/typechain-types/AggregatorV2V3Interface.ts +380 -0
- package/typechain-types/BenqiChainlinkOracle.ts +362 -0
- package/typechain-types/BoringOwnable.ts +194 -0
- package/typechain-types/BoringOwnableData.ts +100 -0
- package/typechain-types/BoringOwnableUpg.ts +194 -0
- package/typechain-types/BoringOwnableUpgData.ts +100 -0
- package/typechain-types/Comptroller.ts +2860 -0
- package/typechain-types/ComptrollerErrorReporter.ts +70 -0
- package/typechain-types/ComptrollerInterface.ts +881 -0
- package/typechain-types/ComptrollerVXStorage.ts +781 -0
- package/typechain-types/CrosschainContract.ts +113 -0
- package/typechain-types/CrosschainReceiver.ts +347 -0
- package/typechain-types/CrosschainSender.ts +210 -0
- package/typechain-types/EIP20Interface.ts +337 -0
- package/typechain-types/EIP20NonStandardInterface.ts +298 -0
- package/typechain-types/ERC20Burnable.ts +473 -0
- package/typechain-types/ERC20Locker.ts +91 -0
- package/typechain-types/ERC20Premined.ts +473 -0
- package/typechain-types/ERC20PresetFixedSupply.ts +473 -0
- package/typechain-types/EpochController.ts +195 -0
- package/typechain-types/FundKeeper.ts +347 -0
- package/typechain-types/GaugeTypeControllerAbstract.ts +546 -0
- package/typechain-types/GaugeTypeControllerCrosschain.ts +733 -0
- package/typechain-types/GaugeTypeControllerMainchain.ts +604 -0
- package/typechain-types/IGaugeController.ts +99 -0
- package/typechain-types/ILiquidYieldToken.ts +639 -0
- package/typechain-types/ILiquidYieldTokenWrap.ts +790 -0
- package/typechain-types/IMessageBus.ts +543 -0
- package/typechain-types/IMessageReceiverApp.ts +110 -0
- package/typechain-types/IPFlashCallback.ts +115 -0
- package/typechain-types/IPGauge.ts +241 -0
- package/typechain-types/IPLiquidYieldToken.ts +641 -0
- package/typechain-types/IPMarketCallback.ts +107 -0
- package/typechain-types/IPOwnershipToken.ts +488 -0
- package/typechain-types/IPRouterCore.ts +769 -0
- package/typechain-types/IPRouterRedeem.ts +155 -0
- package/typechain-types/IPRouterYT.ts +489 -0
- package/typechain-types/IPVeToken.ts +103 -0
- package/typechain-types/IPVotingEscrow.ts +297 -0
- package/typechain-types/IPVotingEscrowController.ts +154 -0
- package/typechain-types/IPermissionsV2.ts +87 -0
- package/typechain-types/IRainbowBridge.ts +91 -0
- package/typechain-types/ISCYRewardIndex.ts +695 -0
- package/typechain-types/IVEPendleToken.ts +121 -0
- package/typechain-types/IXPendle.ts +114 -0
- package/typechain-types/InterestRateModel.ts +178 -0
- package/typechain-types/JumpRateModel.ts +347 -0
- package/typechain-types/LYTBase.ts +721 -0
- package/typechain-types/LYTBaseWithRewards.ts +806 -0
- package/typechain-types/LYTWrap.ts +872 -0
- package/typechain-types/LYTWrapWithRewards.ts +979 -0
- package/typechain-types/LiquidityMining.ts +468 -0
- package/typechain-types/Maximillion.ts +145 -0
- package/typechain-types/Ownable.ts +160 -0
- package/typechain-types/PendleAaveV3LYT.ts +808 -0
- package/typechain-types/PendleBenQiErc20LYT.ts +901 -0
- package/typechain-types/PendleBenqiLiquidYieldToken.ts +1013 -0
- package/typechain-types/PendleBtrflyLYT.ts +781 -0
- package/typechain-types/PendleGauge.ts +469 -0
- package/typechain-types/PendleJoeSwapHelper.ts +92 -0
- package/typechain-types/PendleLYTMockYT.ts +894 -0
- package/typechain-types/PendleLiquidYieldToken.ts +814 -0
- package/typechain-types/PendleLiquidYieldTokenBase.ts +941 -0
- package/typechain-types/PendleOwnershipToken.ts +598 -0
- package/typechain-types/PendleRouter01.ts +184 -0
- package/typechain-types/PendleRouter02.ts +564 -0
- package/typechain-types/PendleRouter03.ts +224 -0
- package/typechain-types/PendleRouterBase.ts +126 -0
- package/typechain-types/PendleRouterCore.ts +328 -0
- package/typechain-types/PendleRouterCoreUpg.ts +798 -0
- package/typechain-types/PendleRouterLytAndForge.ts +331 -0
- package/typechain-types/PendleRouterMarketBase.ts +82 -0
- package/typechain-types/PendleRouterOT.ts +463 -0
- package/typechain-types/PendleRouterProxy.ts +335 -0
- package/typechain-types/PendleRouterRawTokenOT.ts +865 -0
- package/typechain-types/PendleRouterRawTokenYT.ts +520 -0
- package/typechain-types/PendleRouterRedeemUpg.ts +125 -0
- package/typechain-types/PendleRouterSCYAndForgeBaseUpg.ts +98 -0
- package/typechain-types/PendleRouterStaticUpg.ts +399 -0
- package/typechain-types/PendleRouterYT.ts +227 -0
- package/typechain-types/PendleRouterYTBaseUpg.ts +134 -0
- package/typechain-types/PendleRouterYTUpg.ts +537 -0
- package/typechain-types/PendleYTLYTBenqi.ts +863 -0
- package/typechain-types/PendleYearnVaultLYT.ts +723 -0
- package/typechain-types/PermissionsV2.ts +87 -0
- package/typechain-types/PermlessAbstract.ts +57 -0
- package/typechain-types/PglStakingContract.ts +662 -0
- package/typechain-types/PglStakingContractProxy.ts +256 -0
- package/typechain-types/PglStakingContractProxyStorage.ts +136 -0
- package/typechain-types/PglStakingContractStorage.ts +397 -0
- package/typechain-types/PriceOracle.ts +116 -0
- package/typechain-types/ProtocolFakeUser.ts +105 -0
- package/typechain-types/Qi.ts +760 -0
- package/typechain-types/QiAvax.ts +1720 -0
- package/typechain-types/QiDelegateInterface.ts +145 -0
- package/typechain-types/QiDelegationStorage.ts +82 -0
- package/typechain-types/QiDelegatorInterface.ts +149 -0
- package/typechain-types/QiErc20.ts +1846 -0
- package/typechain-types/QiErc20Delegate.ts +1926 -0
- package/typechain-types/QiErc20Delegator.ts +1885 -0
- package/typechain-types/QiErc20Interface.ts +382 -0
- package/typechain-types/QiErc20Storage.ts +79 -0
- package/typechain-types/QiToken.ts +1475 -0
- package/typechain-types/QiTokenInterface.ts +1419 -0
- package/typechain-types/QiTokenSaleDistributor.ts +771 -0
- package/typechain-types/QiTokenSaleDistributorProxy.ts +256 -0
- package/typechain-types/QiTokenSaleDistributorProxyStorage.ts +136 -0
- package/typechain-types/QiTokenSaleDistributorStorage.ts +401 -0
- package/typechain-types/QiTokenStorage.ts +311 -0
- package/typechain-types/ReentrancyGuard.ts +52 -0
- package/typechain-types/SingleGaugeTypeController.ts +478 -0
- package/typechain-types/TokenErrorReporter.ts +70 -0
- package/typechain-types/Unitroller.ts +356 -0
- package/typechain-types/UnitrollerAdminStorage.ts +143 -0
- package/typechain-types/VePendle.ts +1156 -0
- package/typechain-types/VePendleCrosschain.ts +969 -0
- package/typechain-types/VePendleToken.ts +688 -0
- package/typechain-types/VotingController.ts +883 -0
- package/typechain-types/WETH9.ts +414 -0
- package/typechain-types/WhitePaperInterestRateModel.ts +304 -0
- package/typechain-types/XPendle.ts +618 -0
- package/typechain-types/factories/ActionSCYAndYOBase__factory.ts +200 -0
- package/typechain-types/factories/AggregatorV2V3Interface__factory.ts +288 -0
- package/typechain-types/factories/BenqiChainlinkOracle__factory.ts +311 -0
- package/typechain-types/factories/BoringOwnableData__factory.ts +90 -0
- package/typechain-types/factories/BoringOwnableUpgData__factory.ts +94 -0
- package/typechain-types/factories/BoringOwnableUpg__factory.ts +139 -0
- package/typechain-types/factories/BoringOwnable__factory.ts +149 -0
- package/typechain-types/factories/ComptrollerErrorReporter__factory.ts +93 -0
- package/typechain-types/factories/ComptrollerInterface__factory.ts +595 -0
- package/typechain-types/factories/ComptrollerVXStorage__factory.ts +610 -0
- package/typechain-types/factories/Comptroller__factory.ts +2189 -0
- package/typechain-types/factories/CrosschainContract__factory.ts +52 -0
- package/typechain-types/factories/CrosschainReceiver__factory.ts +187 -0
- package/typechain-types/factories/CrosschainSender__factory.ts +104 -0
- package/typechain-types/factories/EIP20Interface__factory.ts +248 -0
- package/typechain-types/factories/EIP20NonStandardInterface__factory.ts +213 -0
- package/typechain-types/factories/ERC20Burnable__factory.ts +324 -0
- package/typechain-types/factories/ERC20Locker__factory.ts +73 -0
- package/typechain-types/factories/ERC20Premined__factory.ts +393 -0
- package/typechain-types/factories/ERC20PresetFixedSupply__factory.ts +422 -0
- package/typechain-types/factories/EpochController__factory.ts +170 -0
- package/typechain-types/factories/FundKeeper__factory.ts +212 -0
- package/typechain-types/factories/GaugeTypeControllerAbstract__factory.ts +387 -0
- package/typechain-types/factories/GaugeTypeControllerCrosschain__factory.ts +522 -0
- package/typechain-types/factories/GaugeTypeControllerMainchain__factory.ts +431 -0
- package/typechain-types/factories/IGaugeController__factory.ts +45 -0
- package/typechain-types/factories/ILiquidYieldTokenWrap__factory.ts +533 -0
- package/typechain-types/factories/ILiquidYieldToken__factory.ts +429 -0
- package/typechain-types/factories/IMessageBus__factory.ts +396 -0
- package/typechain-types/factories/IMessageReceiverApp__factory.ts +55 -0
- package/typechain-types/factories/IPFlashCallback__factory.ts +49 -0
- package/typechain-types/factories/IPGauge__factory.ts +125 -0
- package/typechain-types/factories/IPLiquidYieldToken__factory.ts +433 -0
- package/typechain-types/factories/IPMarketCallback__factory.ts +55 -0
- package/typechain-types/factories/IPOwnershipToken__factory.ts +349 -0
- package/typechain-types/factories/IPRouterCore__factory.ts +531 -0
- package/typechain-types/factories/IPRouterRedeem__factory.ts +72 -0
- package/typechain-types/factories/IPRouterYT__factory.ts +305 -0
- package/typechain-types/factories/IPVeToken__factory.ts +55 -0
- package/typechain-types/factories/IPVotingEscrowController__factory.ts +80 -0
- package/typechain-types/factories/IPVotingEscrow__factory.ts +182 -0
- package/typechain-types/factories/IPermissionsV2__factory.ts +39 -0
- package/typechain-types/factories/IRainbowBridge__factory.ts +76 -0
- package/typechain-types/factories/ISCYRewardIndex__factory.ts +465 -0
- package/typechain-types/factories/IVEPendleToken__factory.ts +71 -0
- package/typechain-types/factories/IXPendle__factory.ts +61 -0
- package/typechain-types/factories/InterestRateModel__factory.ts +108 -0
- package/typechain-types/factories/JumpRateModel__factory.ts +334 -0
- package/typechain-types/factories/LYTBaseWithRewards__factory.ts +530 -0
- package/typechain-types/factories/LYTBase__factory.ts +474 -0
- package/typechain-types/factories/LYTWrapWithRewards__factory.ts +643 -0
- package/typechain-types/factories/LYTWrap__factory.ts +574 -0
- package/typechain-types/factories/LiquidityMining__factory.ts +367 -0
- package/typechain-types/factories/Maximillion__factory.ts +125 -0
- package/typechain-types/factories/Ownable__factory.ts +75 -0
- package/typechain-types/factories/PendleAaveV3LYT__factory.ts +657 -0
- package/typechain-types/factories/PendleBenQiErc20LYT__factory.ts +748 -0
- package/typechain-types/factories/PendleBenqiLiquidYieldToken__factory.ts +785 -0
- package/typechain-types/factories/PendleBtrflyLYT__factory.ts +647 -0
- package/typechain-types/factories/PendleGauge__factory.ts +383 -0
- package/typechain-types/factories/PendleJoeSwapHelper__factory.ts +52 -0
- package/typechain-types/factories/PendleLYTMockYT__factory.ts +732 -0
- package/typechain-types/factories/PendleLiquidYieldTokenBase__factory.ts +603 -0
- package/typechain-types/factories/PendleLiquidYieldToken__factory.ts +510 -0
- package/typechain-types/factories/PendleOwnershipToken__factory.ts +527 -0
- package/typechain-types/factories/PendleRouter01__factory.ts +152 -0
- package/typechain-types/factories/PendleRouter02__factory.ts +438 -0
- package/typechain-types/factories/PendleRouter03__factory.ts +190 -0
- package/typechain-types/factories/PendleRouterBase__factory.ts +68 -0
- package/typechain-types/factories/PendleRouterCoreUpg__factory.ts +635 -0
- package/typechain-types/factories/PendleRouterCore__factory.ts +268 -0
- package/typechain-types/factories/PendleRouterLytAndForge__factory.ts +294 -0
- package/typechain-types/factories/PendleRouterMarketBase__factory.ts +43 -0
- package/typechain-types/factories/PendleRouterOT__factory.ts +372 -0
- package/typechain-types/factories/PendleRouterProxy__factory.ts +285 -0
- package/typechain-types/factories/PendleRouterRawTokenOT__factory.ts +697 -0
- package/typechain-types/factories/PendleRouterRawTokenYT__factory.ts +431 -0
- package/typechain-types/factories/PendleRouterRedeemUpg__factory.ts +112 -0
- package/typechain-types/factories/PendleRouterSCYAndForgeBaseUpg__factory.ts +56 -0
- package/typechain-types/factories/PendleRouterStaticUpg__factory.ts +315 -0
- package/typechain-types/factories/PendleRouterYTBaseUpg__factory.ts +66 -0
- package/typechain-types/factories/PendleRouterYTUpg__factory.ts +422 -0
- package/typechain-types/factories/PendleRouterYT__factory.ts +184 -0
- package/typechain-types/factories/PendleYTLYTBenqi__factory.ts +713 -0
- package/typechain-types/factories/PendleYearnVaultLYT__factory.ts +586 -0
- package/typechain-types/factories/PermissionsV2__factory.ts +36 -0
- package/typechain-types/factories/PermlessAbstract__factory.ts +30 -0
- package/typechain-types/factories/PglStakingContractProxyStorage__factory.ts +130 -0
- package/typechain-types/factories/PglStakingContractProxy__factory.ts +187 -0
- package/typechain-types/factories/PglStakingContractStorage__factory.ts +309 -0
- package/typechain-types/factories/PglStakingContract__factory.ts +446 -0
- package/typechain-types/factories/PriceOracle__factory.ts +59 -0
- package/typechain-types/factories/ProtocolFakeUser__factory.ts +87 -0
- package/typechain-types/factories/QiAvax__factory.ts +1471 -0
- package/typechain-types/factories/QiDelegateInterface__factory.ts +65 -0
- package/typechain-types/factories/QiDelegationStorage__factory.ts +79 -0
- package/typechain-types/factories/QiDelegatorInterface__factory.ts +89 -0
- package/typechain-types/factories/QiErc20Delegate__factory.ts +1563 -0
- package/typechain-types/factories/QiErc20Delegator__factory.ts +1648 -0
- package/typechain-types/factories/QiErc20Interface__factory.ts +239 -0
- package/typechain-types/factories/QiErc20Storage__factory.ts +79 -0
- package/typechain-types/factories/QiErc20__factory.ts +1515 -0
- package/typechain-types/factories/QiTokenInterface__factory.ts +1182 -0
- package/typechain-types/factories/QiTokenSaleDistributorProxyStorage__factory.ts +124 -0
- package/typechain-types/factories/QiTokenSaleDistributorProxy__factory.ts +171 -0
- package/typechain-types/factories/QiTokenSaleDistributorStorage__factory.ts +289 -0
- package/typechain-types/factories/QiTokenSaleDistributor__factory.ts +480 -0
- package/typechain-types/factories/QiTokenStorage__factory.ts +274 -0
- package/typechain-types/factories/QiToken__factory.ts +1219 -0
- package/typechain-types/factories/Qi__factory.ts +648 -0
- package/typechain-types/factories/ReentrancyGuard__factory.ts +69 -0
- package/typechain-types/factories/SingleGaugeTypeController__factory.ts +341 -0
- package/typechain-types/factories/TokenErrorReporter__factory.ts +89 -0
- package/typechain-types/factories/UnitrollerAdminStorage__factory.ts +128 -0
- package/typechain-types/factories/Unitroller__factory.ts +305 -0
- package/typechain-types/factories/VePendleCrosschain__factory.ts +727 -0
- package/typechain-types/factories/VePendleToken__factory.ts +494 -0
- package/typechain-types/factories/VePendle__factory.ts +800 -0
- package/typechain-types/factories/VotingController__factory.ts +610 -0
- package/typechain-types/factories/WETH9__factory.ts +342 -0
- package/typechain-types/factories/WhitePaperInterestRateModel__factory.ts +281 -0
- package/typechain-types/factories/XPendle__factory.ts +473 -0
- package/typechain-types/hardhat.d.ts +52 -16
- package/typechain-types/index.ts +22 -6
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPendleGauge.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IVePToken.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IVotingEscrowPendle.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPVotingEscrowController.sol/VotingEscrowController.dbg.json +0 -4
|
@@ -0,0 +1,2189 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
+
import type { Comptroller, ComptrollerInterface } from "../Comptroller";
|
|
7
|
+
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [],
|
|
11
|
+
payable: false,
|
|
12
|
+
stateMutability: "nonpayable",
|
|
13
|
+
type: "constructor",
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
anonymous: false,
|
|
17
|
+
inputs: [
|
|
18
|
+
{
|
|
19
|
+
indexed: false,
|
|
20
|
+
internalType: "string",
|
|
21
|
+
name: "action",
|
|
22
|
+
type: "string",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
indexed: false,
|
|
26
|
+
internalType: "bool",
|
|
27
|
+
name: "pauseState",
|
|
28
|
+
type: "bool",
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
name: "ActionPaused",
|
|
32
|
+
type: "event",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
anonymous: false,
|
|
36
|
+
inputs: [
|
|
37
|
+
{
|
|
38
|
+
indexed: false,
|
|
39
|
+
internalType: "contract QiToken",
|
|
40
|
+
name: "qiToken",
|
|
41
|
+
type: "address",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
indexed: false,
|
|
45
|
+
internalType: "string",
|
|
46
|
+
name: "action",
|
|
47
|
+
type: "string",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
indexed: false,
|
|
51
|
+
internalType: "bool",
|
|
52
|
+
name: "pauseState",
|
|
53
|
+
type: "bool",
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
name: "ActionPaused",
|
|
57
|
+
type: "event",
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
anonymous: false,
|
|
61
|
+
inputs: [
|
|
62
|
+
{
|
|
63
|
+
indexed: true,
|
|
64
|
+
internalType: "address",
|
|
65
|
+
name: "contributor",
|
|
66
|
+
type: "address",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
indexed: false,
|
|
70
|
+
internalType: "uint256",
|
|
71
|
+
name: "newSpeed",
|
|
72
|
+
type: "uint256",
|
|
73
|
+
},
|
|
74
|
+
],
|
|
75
|
+
name: "ContributorQiSpeedUpdated",
|
|
76
|
+
type: "event",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
anonymous: false,
|
|
80
|
+
inputs: [
|
|
81
|
+
{
|
|
82
|
+
indexed: true,
|
|
83
|
+
internalType: "uint8",
|
|
84
|
+
name: "tokenType",
|
|
85
|
+
type: "uint8",
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
indexed: true,
|
|
89
|
+
internalType: "contract QiToken",
|
|
90
|
+
name: "qiToken",
|
|
91
|
+
type: "address",
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
indexed: true,
|
|
95
|
+
internalType: "address",
|
|
96
|
+
name: "borrower",
|
|
97
|
+
type: "address",
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
indexed: false,
|
|
101
|
+
internalType: "uint256",
|
|
102
|
+
name: "qiDelta",
|
|
103
|
+
type: "uint256",
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
indexed: false,
|
|
107
|
+
internalType: "uint256",
|
|
108
|
+
name: "qiBorrowIndex",
|
|
109
|
+
type: "uint256",
|
|
110
|
+
},
|
|
111
|
+
],
|
|
112
|
+
name: "DistributedBorrowerReward",
|
|
113
|
+
type: "event",
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
anonymous: false,
|
|
117
|
+
inputs: [
|
|
118
|
+
{
|
|
119
|
+
indexed: true,
|
|
120
|
+
internalType: "uint8",
|
|
121
|
+
name: "tokenType",
|
|
122
|
+
type: "uint8",
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
indexed: true,
|
|
126
|
+
internalType: "contract QiToken",
|
|
127
|
+
name: "qiToken",
|
|
128
|
+
type: "address",
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
indexed: true,
|
|
132
|
+
internalType: "address",
|
|
133
|
+
name: "borrower",
|
|
134
|
+
type: "address",
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
indexed: false,
|
|
138
|
+
internalType: "uint256",
|
|
139
|
+
name: "qiDelta",
|
|
140
|
+
type: "uint256",
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
indexed: false,
|
|
144
|
+
internalType: "uint256",
|
|
145
|
+
name: "qiBorrowIndex",
|
|
146
|
+
type: "uint256",
|
|
147
|
+
},
|
|
148
|
+
],
|
|
149
|
+
name: "DistributedSupplierReward",
|
|
150
|
+
type: "event",
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
anonymous: false,
|
|
154
|
+
inputs: [
|
|
155
|
+
{
|
|
156
|
+
indexed: false,
|
|
157
|
+
internalType: "uint256",
|
|
158
|
+
name: "error",
|
|
159
|
+
type: "uint256",
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
indexed: false,
|
|
163
|
+
internalType: "uint256",
|
|
164
|
+
name: "info",
|
|
165
|
+
type: "uint256",
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
indexed: false,
|
|
169
|
+
internalType: "uint256",
|
|
170
|
+
name: "detail",
|
|
171
|
+
type: "uint256",
|
|
172
|
+
},
|
|
173
|
+
],
|
|
174
|
+
name: "Failure",
|
|
175
|
+
type: "event",
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
anonymous: false,
|
|
179
|
+
inputs: [
|
|
180
|
+
{
|
|
181
|
+
indexed: false,
|
|
182
|
+
internalType: "contract QiToken",
|
|
183
|
+
name: "qiToken",
|
|
184
|
+
type: "address",
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
indexed: false,
|
|
188
|
+
internalType: "address",
|
|
189
|
+
name: "account",
|
|
190
|
+
type: "address",
|
|
191
|
+
},
|
|
192
|
+
],
|
|
193
|
+
name: "MarketEntered",
|
|
194
|
+
type: "event",
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
anonymous: false,
|
|
198
|
+
inputs: [
|
|
199
|
+
{
|
|
200
|
+
indexed: false,
|
|
201
|
+
internalType: "contract QiToken",
|
|
202
|
+
name: "qiToken",
|
|
203
|
+
type: "address",
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
indexed: false,
|
|
207
|
+
internalType: "address",
|
|
208
|
+
name: "account",
|
|
209
|
+
type: "address",
|
|
210
|
+
},
|
|
211
|
+
],
|
|
212
|
+
name: "MarketExited",
|
|
213
|
+
type: "event",
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
anonymous: false,
|
|
217
|
+
inputs: [
|
|
218
|
+
{
|
|
219
|
+
indexed: false,
|
|
220
|
+
internalType: "contract QiToken",
|
|
221
|
+
name: "qiToken",
|
|
222
|
+
type: "address",
|
|
223
|
+
},
|
|
224
|
+
],
|
|
225
|
+
name: "MarketListed",
|
|
226
|
+
type: "event",
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
anonymous: false,
|
|
230
|
+
inputs: [
|
|
231
|
+
{
|
|
232
|
+
indexed: true,
|
|
233
|
+
internalType: "contract QiToken",
|
|
234
|
+
name: "qiToken",
|
|
235
|
+
type: "address",
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
indexed: false,
|
|
239
|
+
internalType: "uint256",
|
|
240
|
+
name: "newBorrowCap",
|
|
241
|
+
type: "uint256",
|
|
242
|
+
},
|
|
243
|
+
],
|
|
244
|
+
name: "NewBorrowCap",
|
|
245
|
+
type: "event",
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
anonymous: false,
|
|
249
|
+
inputs: [
|
|
250
|
+
{
|
|
251
|
+
indexed: false,
|
|
252
|
+
internalType: "address",
|
|
253
|
+
name: "oldBorrowCapGuardian",
|
|
254
|
+
type: "address",
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
indexed: false,
|
|
258
|
+
internalType: "address",
|
|
259
|
+
name: "newBorrowCapGuardian",
|
|
260
|
+
type: "address",
|
|
261
|
+
},
|
|
262
|
+
],
|
|
263
|
+
name: "NewBorrowCapGuardian",
|
|
264
|
+
type: "event",
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
anonymous: false,
|
|
268
|
+
inputs: [
|
|
269
|
+
{
|
|
270
|
+
indexed: false,
|
|
271
|
+
internalType: "uint256",
|
|
272
|
+
name: "oldCloseFactorMantissa",
|
|
273
|
+
type: "uint256",
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
indexed: false,
|
|
277
|
+
internalType: "uint256",
|
|
278
|
+
name: "newCloseFactorMantissa",
|
|
279
|
+
type: "uint256",
|
|
280
|
+
},
|
|
281
|
+
],
|
|
282
|
+
name: "NewCloseFactor",
|
|
283
|
+
type: "event",
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
anonymous: false,
|
|
287
|
+
inputs: [
|
|
288
|
+
{
|
|
289
|
+
indexed: false,
|
|
290
|
+
internalType: "contract QiToken",
|
|
291
|
+
name: "qiToken",
|
|
292
|
+
type: "address",
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
indexed: false,
|
|
296
|
+
internalType: "uint256",
|
|
297
|
+
name: "oldCollateralFactorMantissa",
|
|
298
|
+
type: "uint256",
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
indexed: false,
|
|
302
|
+
internalType: "uint256",
|
|
303
|
+
name: "newCollateralFactorMantissa",
|
|
304
|
+
type: "uint256",
|
|
305
|
+
},
|
|
306
|
+
],
|
|
307
|
+
name: "NewCollateralFactor",
|
|
308
|
+
type: "event",
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
anonymous: false,
|
|
312
|
+
inputs: [
|
|
313
|
+
{
|
|
314
|
+
indexed: false,
|
|
315
|
+
internalType: "uint256",
|
|
316
|
+
name: "oldLiquidationIncentiveMantissa",
|
|
317
|
+
type: "uint256",
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
indexed: false,
|
|
321
|
+
internalType: "uint256",
|
|
322
|
+
name: "newLiquidationIncentiveMantissa",
|
|
323
|
+
type: "uint256",
|
|
324
|
+
},
|
|
325
|
+
],
|
|
326
|
+
name: "NewLiquidationIncentive",
|
|
327
|
+
type: "event",
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
anonymous: false,
|
|
331
|
+
inputs: [
|
|
332
|
+
{
|
|
333
|
+
indexed: false,
|
|
334
|
+
internalType: "address",
|
|
335
|
+
name: "oldPauseGuardian",
|
|
336
|
+
type: "address",
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
indexed: false,
|
|
340
|
+
internalType: "address",
|
|
341
|
+
name: "newPauseGuardian",
|
|
342
|
+
type: "address",
|
|
343
|
+
},
|
|
344
|
+
],
|
|
345
|
+
name: "NewPauseGuardian",
|
|
346
|
+
type: "event",
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
anonymous: false,
|
|
350
|
+
inputs: [
|
|
351
|
+
{
|
|
352
|
+
indexed: false,
|
|
353
|
+
internalType: "contract PriceOracle",
|
|
354
|
+
name: "oldPriceOracle",
|
|
355
|
+
type: "address",
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
indexed: false,
|
|
359
|
+
internalType: "contract PriceOracle",
|
|
360
|
+
name: "newPriceOracle",
|
|
361
|
+
type: "address",
|
|
362
|
+
},
|
|
363
|
+
],
|
|
364
|
+
name: "NewPriceOracle",
|
|
365
|
+
type: "event",
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
anonymous: false,
|
|
369
|
+
inputs: [
|
|
370
|
+
{
|
|
371
|
+
indexed: false,
|
|
372
|
+
internalType: "address",
|
|
373
|
+
name: "recipient",
|
|
374
|
+
type: "address",
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
indexed: false,
|
|
378
|
+
internalType: "uint256",
|
|
379
|
+
name: "amount",
|
|
380
|
+
type: "uint256",
|
|
381
|
+
},
|
|
382
|
+
],
|
|
383
|
+
name: "QiGranted",
|
|
384
|
+
type: "event",
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
anonymous: false,
|
|
388
|
+
inputs: [
|
|
389
|
+
{
|
|
390
|
+
indexed: false,
|
|
391
|
+
internalType: "uint8",
|
|
392
|
+
name: "tokenType",
|
|
393
|
+
type: "uint8",
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
indexed: true,
|
|
397
|
+
internalType: "contract QiToken",
|
|
398
|
+
name: "qiToken",
|
|
399
|
+
type: "address",
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
indexed: false,
|
|
403
|
+
internalType: "uint256",
|
|
404
|
+
name: "newSpeed",
|
|
405
|
+
type: "uint256",
|
|
406
|
+
},
|
|
407
|
+
],
|
|
408
|
+
name: "SpeedUpdated",
|
|
409
|
+
type: "event",
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
payable: true,
|
|
413
|
+
stateMutability: "payable",
|
|
414
|
+
type: "fallback",
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
constant: false,
|
|
418
|
+
inputs: [
|
|
419
|
+
{
|
|
420
|
+
internalType: "contract Unitroller",
|
|
421
|
+
name: "unitroller",
|
|
422
|
+
type: "address",
|
|
423
|
+
},
|
|
424
|
+
],
|
|
425
|
+
name: "_become",
|
|
426
|
+
outputs: [],
|
|
427
|
+
payable: false,
|
|
428
|
+
stateMutability: "nonpayable",
|
|
429
|
+
type: "function",
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
constant: true,
|
|
433
|
+
inputs: [],
|
|
434
|
+
name: "_borrowGuardianPaused",
|
|
435
|
+
outputs: [
|
|
436
|
+
{
|
|
437
|
+
internalType: "bool",
|
|
438
|
+
name: "",
|
|
439
|
+
type: "bool",
|
|
440
|
+
},
|
|
441
|
+
],
|
|
442
|
+
payable: false,
|
|
443
|
+
stateMutability: "view",
|
|
444
|
+
type: "function",
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
constant: false,
|
|
448
|
+
inputs: [
|
|
449
|
+
{
|
|
450
|
+
internalType: "address payable",
|
|
451
|
+
name: "recipient",
|
|
452
|
+
type: "address",
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
internalType: "uint256",
|
|
456
|
+
name: "amount",
|
|
457
|
+
type: "uint256",
|
|
458
|
+
},
|
|
459
|
+
],
|
|
460
|
+
name: "_grantQi",
|
|
461
|
+
outputs: [],
|
|
462
|
+
payable: false,
|
|
463
|
+
stateMutability: "nonpayable",
|
|
464
|
+
type: "function",
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
constant: true,
|
|
468
|
+
inputs: [],
|
|
469
|
+
name: "_mintGuardianPaused",
|
|
470
|
+
outputs: [
|
|
471
|
+
{
|
|
472
|
+
internalType: "bool",
|
|
473
|
+
name: "",
|
|
474
|
+
type: "bool",
|
|
475
|
+
},
|
|
476
|
+
],
|
|
477
|
+
payable: false,
|
|
478
|
+
stateMutability: "view",
|
|
479
|
+
type: "function",
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
constant: false,
|
|
483
|
+
inputs: [
|
|
484
|
+
{
|
|
485
|
+
internalType: "address",
|
|
486
|
+
name: "newBorrowCapGuardian",
|
|
487
|
+
type: "address",
|
|
488
|
+
},
|
|
489
|
+
],
|
|
490
|
+
name: "_setBorrowCapGuardian",
|
|
491
|
+
outputs: [],
|
|
492
|
+
payable: false,
|
|
493
|
+
stateMutability: "nonpayable",
|
|
494
|
+
type: "function",
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
constant: false,
|
|
498
|
+
inputs: [
|
|
499
|
+
{
|
|
500
|
+
internalType: "contract QiToken",
|
|
501
|
+
name: "qiToken",
|
|
502
|
+
type: "address",
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
internalType: "bool",
|
|
506
|
+
name: "state",
|
|
507
|
+
type: "bool",
|
|
508
|
+
},
|
|
509
|
+
],
|
|
510
|
+
name: "_setBorrowPaused",
|
|
511
|
+
outputs: [
|
|
512
|
+
{
|
|
513
|
+
internalType: "bool",
|
|
514
|
+
name: "",
|
|
515
|
+
type: "bool",
|
|
516
|
+
},
|
|
517
|
+
],
|
|
518
|
+
payable: false,
|
|
519
|
+
stateMutability: "nonpayable",
|
|
520
|
+
type: "function",
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
constant: false,
|
|
524
|
+
inputs: [
|
|
525
|
+
{
|
|
526
|
+
internalType: "uint256",
|
|
527
|
+
name: "newCloseFactorMantissa",
|
|
528
|
+
type: "uint256",
|
|
529
|
+
},
|
|
530
|
+
],
|
|
531
|
+
name: "_setCloseFactor",
|
|
532
|
+
outputs: [
|
|
533
|
+
{
|
|
534
|
+
internalType: "uint256",
|
|
535
|
+
name: "",
|
|
536
|
+
type: "uint256",
|
|
537
|
+
},
|
|
538
|
+
],
|
|
539
|
+
payable: false,
|
|
540
|
+
stateMutability: "nonpayable",
|
|
541
|
+
type: "function",
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
constant: false,
|
|
545
|
+
inputs: [
|
|
546
|
+
{
|
|
547
|
+
internalType: "contract QiToken",
|
|
548
|
+
name: "qiToken",
|
|
549
|
+
type: "address",
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
internalType: "uint256",
|
|
553
|
+
name: "newCollateralFactorMantissa",
|
|
554
|
+
type: "uint256",
|
|
555
|
+
},
|
|
556
|
+
],
|
|
557
|
+
name: "_setCollateralFactor",
|
|
558
|
+
outputs: [
|
|
559
|
+
{
|
|
560
|
+
internalType: "uint256",
|
|
561
|
+
name: "",
|
|
562
|
+
type: "uint256",
|
|
563
|
+
},
|
|
564
|
+
],
|
|
565
|
+
payable: false,
|
|
566
|
+
stateMutability: "nonpayable",
|
|
567
|
+
type: "function",
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
constant: false,
|
|
571
|
+
inputs: [
|
|
572
|
+
{
|
|
573
|
+
internalType: "uint256",
|
|
574
|
+
name: "newLiquidationIncentiveMantissa",
|
|
575
|
+
type: "uint256",
|
|
576
|
+
},
|
|
577
|
+
],
|
|
578
|
+
name: "_setLiquidationIncentive",
|
|
579
|
+
outputs: [
|
|
580
|
+
{
|
|
581
|
+
internalType: "uint256",
|
|
582
|
+
name: "",
|
|
583
|
+
type: "uint256",
|
|
584
|
+
},
|
|
585
|
+
],
|
|
586
|
+
payable: false,
|
|
587
|
+
stateMutability: "nonpayable",
|
|
588
|
+
type: "function",
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
constant: false,
|
|
592
|
+
inputs: [
|
|
593
|
+
{
|
|
594
|
+
internalType: "contract QiToken[]",
|
|
595
|
+
name: "qiTokens",
|
|
596
|
+
type: "address[]",
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
internalType: "uint256[]",
|
|
600
|
+
name: "newBorrowCaps",
|
|
601
|
+
type: "uint256[]",
|
|
602
|
+
},
|
|
603
|
+
],
|
|
604
|
+
name: "_setMarketBorrowCaps",
|
|
605
|
+
outputs: [],
|
|
606
|
+
payable: false,
|
|
607
|
+
stateMutability: "nonpayable",
|
|
608
|
+
type: "function",
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
constant: false,
|
|
612
|
+
inputs: [
|
|
613
|
+
{
|
|
614
|
+
internalType: "contract QiToken",
|
|
615
|
+
name: "qiToken",
|
|
616
|
+
type: "address",
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
internalType: "bool",
|
|
620
|
+
name: "state",
|
|
621
|
+
type: "bool",
|
|
622
|
+
},
|
|
623
|
+
],
|
|
624
|
+
name: "_setMintPaused",
|
|
625
|
+
outputs: [
|
|
626
|
+
{
|
|
627
|
+
internalType: "bool",
|
|
628
|
+
name: "",
|
|
629
|
+
type: "bool",
|
|
630
|
+
},
|
|
631
|
+
],
|
|
632
|
+
payable: false,
|
|
633
|
+
stateMutability: "nonpayable",
|
|
634
|
+
type: "function",
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
constant: false,
|
|
638
|
+
inputs: [
|
|
639
|
+
{
|
|
640
|
+
internalType: "address",
|
|
641
|
+
name: "newPauseGuardian",
|
|
642
|
+
type: "address",
|
|
643
|
+
},
|
|
644
|
+
],
|
|
645
|
+
name: "_setPauseGuardian",
|
|
646
|
+
outputs: [
|
|
647
|
+
{
|
|
648
|
+
internalType: "uint256",
|
|
649
|
+
name: "",
|
|
650
|
+
type: "uint256",
|
|
651
|
+
},
|
|
652
|
+
],
|
|
653
|
+
payable: false,
|
|
654
|
+
stateMutability: "nonpayable",
|
|
655
|
+
type: "function",
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
constant: false,
|
|
659
|
+
inputs: [
|
|
660
|
+
{
|
|
661
|
+
internalType: "contract PriceOracle",
|
|
662
|
+
name: "newOracle",
|
|
663
|
+
type: "address",
|
|
664
|
+
},
|
|
665
|
+
],
|
|
666
|
+
name: "_setPriceOracle",
|
|
667
|
+
outputs: [
|
|
668
|
+
{
|
|
669
|
+
internalType: "uint256",
|
|
670
|
+
name: "",
|
|
671
|
+
type: "uint256",
|
|
672
|
+
},
|
|
673
|
+
],
|
|
674
|
+
payable: false,
|
|
675
|
+
stateMutability: "nonpayable",
|
|
676
|
+
type: "function",
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
constant: false,
|
|
680
|
+
inputs: [
|
|
681
|
+
{
|
|
682
|
+
internalType: "uint8",
|
|
683
|
+
name: "rewardType",
|
|
684
|
+
type: "uint8",
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
internalType: "contract QiToken",
|
|
688
|
+
name: "qiToken",
|
|
689
|
+
type: "address",
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
internalType: "uint256",
|
|
693
|
+
name: "rewardSpeed",
|
|
694
|
+
type: "uint256",
|
|
695
|
+
},
|
|
696
|
+
],
|
|
697
|
+
name: "_setRewardSpeed",
|
|
698
|
+
outputs: [],
|
|
699
|
+
payable: false,
|
|
700
|
+
stateMutability: "nonpayable",
|
|
701
|
+
type: "function",
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
constant: false,
|
|
705
|
+
inputs: [
|
|
706
|
+
{
|
|
707
|
+
internalType: "bool",
|
|
708
|
+
name: "state",
|
|
709
|
+
type: "bool",
|
|
710
|
+
},
|
|
711
|
+
],
|
|
712
|
+
name: "_setSeizePaused",
|
|
713
|
+
outputs: [
|
|
714
|
+
{
|
|
715
|
+
internalType: "bool",
|
|
716
|
+
name: "",
|
|
717
|
+
type: "bool",
|
|
718
|
+
},
|
|
719
|
+
],
|
|
720
|
+
payable: false,
|
|
721
|
+
stateMutability: "nonpayable",
|
|
722
|
+
type: "function",
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
constant: false,
|
|
726
|
+
inputs: [
|
|
727
|
+
{
|
|
728
|
+
internalType: "bool",
|
|
729
|
+
name: "state",
|
|
730
|
+
type: "bool",
|
|
731
|
+
},
|
|
732
|
+
],
|
|
733
|
+
name: "_setTransferPaused",
|
|
734
|
+
outputs: [
|
|
735
|
+
{
|
|
736
|
+
internalType: "bool",
|
|
737
|
+
name: "",
|
|
738
|
+
type: "bool",
|
|
739
|
+
},
|
|
740
|
+
],
|
|
741
|
+
payable: false,
|
|
742
|
+
stateMutability: "nonpayable",
|
|
743
|
+
type: "function",
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
constant: false,
|
|
747
|
+
inputs: [
|
|
748
|
+
{
|
|
749
|
+
internalType: "contract QiToken",
|
|
750
|
+
name: "qiToken",
|
|
751
|
+
type: "address",
|
|
752
|
+
},
|
|
753
|
+
],
|
|
754
|
+
name: "_supportMarket",
|
|
755
|
+
outputs: [
|
|
756
|
+
{
|
|
757
|
+
internalType: "uint256",
|
|
758
|
+
name: "",
|
|
759
|
+
type: "uint256",
|
|
760
|
+
},
|
|
761
|
+
],
|
|
762
|
+
payable: false,
|
|
763
|
+
stateMutability: "nonpayable",
|
|
764
|
+
type: "function",
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
constant: true,
|
|
768
|
+
inputs: [
|
|
769
|
+
{
|
|
770
|
+
internalType: "address",
|
|
771
|
+
name: "",
|
|
772
|
+
type: "address",
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
internalType: "uint256",
|
|
776
|
+
name: "",
|
|
777
|
+
type: "uint256",
|
|
778
|
+
},
|
|
779
|
+
],
|
|
780
|
+
name: "accountAssets",
|
|
781
|
+
outputs: [
|
|
782
|
+
{
|
|
783
|
+
internalType: "contract QiToken",
|
|
784
|
+
name: "",
|
|
785
|
+
type: "address",
|
|
786
|
+
},
|
|
787
|
+
],
|
|
788
|
+
payable: false,
|
|
789
|
+
stateMutability: "view",
|
|
790
|
+
type: "function",
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
constant: true,
|
|
794
|
+
inputs: [],
|
|
795
|
+
name: "admin",
|
|
796
|
+
outputs: [
|
|
797
|
+
{
|
|
798
|
+
internalType: "address",
|
|
799
|
+
name: "",
|
|
800
|
+
type: "address",
|
|
801
|
+
},
|
|
802
|
+
],
|
|
803
|
+
payable: false,
|
|
804
|
+
stateMutability: "view",
|
|
805
|
+
type: "function",
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
constant: true,
|
|
809
|
+
inputs: [
|
|
810
|
+
{
|
|
811
|
+
internalType: "uint256",
|
|
812
|
+
name: "",
|
|
813
|
+
type: "uint256",
|
|
814
|
+
},
|
|
815
|
+
],
|
|
816
|
+
name: "allMarkets",
|
|
817
|
+
outputs: [
|
|
818
|
+
{
|
|
819
|
+
internalType: "contract QiToken",
|
|
820
|
+
name: "",
|
|
821
|
+
type: "address",
|
|
822
|
+
},
|
|
823
|
+
],
|
|
824
|
+
payable: false,
|
|
825
|
+
stateMutability: "view",
|
|
826
|
+
type: "function",
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
constant: false,
|
|
830
|
+
inputs: [
|
|
831
|
+
{
|
|
832
|
+
internalType: "address",
|
|
833
|
+
name: "qiToken",
|
|
834
|
+
type: "address",
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
internalType: "address",
|
|
838
|
+
name: "borrower",
|
|
839
|
+
type: "address",
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
internalType: "uint256",
|
|
843
|
+
name: "borrowAmount",
|
|
844
|
+
type: "uint256",
|
|
845
|
+
},
|
|
846
|
+
],
|
|
847
|
+
name: "borrowAllowed",
|
|
848
|
+
outputs: [
|
|
849
|
+
{
|
|
850
|
+
internalType: "uint256",
|
|
851
|
+
name: "",
|
|
852
|
+
type: "uint256",
|
|
853
|
+
},
|
|
854
|
+
],
|
|
855
|
+
payable: false,
|
|
856
|
+
stateMutability: "nonpayable",
|
|
857
|
+
type: "function",
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
constant: true,
|
|
861
|
+
inputs: [],
|
|
862
|
+
name: "borrowCapGuardian",
|
|
863
|
+
outputs: [
|
|
864
|
+
{
|
|
865
|
+
internalType: "address",
|
|
866
|
+
name: "",
|
|
867
|
+
type: "address",
|
|
868
|
+
},
|
|
869
|
+
],
|
|
870
|
+
payable: false,
|
|
871
|
+
stateMutability: "view",
|
|
872
|
+
type: "function",
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
constant: true,
|
|
876
|
+
inputs: [
|
|
877
|
+
{
|
|
878
|
+
internalType: "address",
|
|
879
|
+
name: "",
|
|
880
|
+
type: "address",
|
|
881
|
+
},
|
|
882
|
+
],
|
|
883
|
+
name: "borrowCaps",
|
|
884
|
+
outputs: [
|
|
885
|
+
{
|
|
886
|
+
internalType: "uint256",
|
|
887
|
+
name: "",
|
|
888
|
+
type: "uint256",
|
|
889
|
+
},
|
|
890
|
+
],
|
|
891
|
+
payable: false,
|
|
892
|
+
stateMutability: "view",
|
|
893
|
+
type: "function",
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
constant: true,
|
|
897
|
+
inputs: [
|
|
898
|
+
{
|
|
899
|
+
internalType: "address",
|
|
900
|
+
name: "",
|
|
901
|
+
type: "address",
|
|
902
|
+
},
|
|
903
|
+
],
|
|
904
|
+
name: "borrowGuardianPaused",
|
|
905
|
+
outputs: [
|
|
906
|
+
{
|
|
907
|
+
internalType: "bool",
|
|
908
|
+
name: "",
|
|
909
|
+
type: "bool",
|
|
910
|
+
},
|
|
911
|
+
],
|
|
912
|
+
payable: false,
|
|
913
|
+
stateMutability: "view",
|
|
914
|
+
type: "function",
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
constant: false,
|
|
918
|
+
inputs: [
|
|
919
|
+
{
|
|
920
|
+
internalType: "address",
|
|
921
|
+
name: "qiToken",
|
|
922
|
+
type: "address",
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
internalType: "address",
|
|
926
|
+
name: "borrower",
|
|
927
|
+
type: "address",
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
internalType: "uint256",
|
|
931
|
+
name: "borrowAmount",
|
|
932
|
+
type: "uint256",
|
|
933
|
+
},
|
|
934
|
+
],
|
|
935
|
+
name: "borrowVerify",
|
|
936
|
+
outputs: [],
|
|
937
|
+
payable: false,
|
|
938
|
+
stateMutability: "nonpayable",
|
|
939
|
+
type: "function",
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
constant: true,
|
|
943
|
+
inputs: [
|
|
944
|
+
{
|
|
945
|
+
internalType: "address",
|
|
946
|
+
name: "account",
|
|
947
|
+
type: "address",
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
internalType: "contract QiToken",
|
|
951
|
+
name: "qiToken",
|
|
952
|
+
type: "address",
|
|
953
|
+
},
|
|
954
|
+
],
|
|
955
|
+
name: "checkMembership",
|
|
956
|
+
outputs: [
|
|
957
|
+
{
|
|
958
|
+
internalType: "bool",
|
|
959
|
+
name: "",
|
|
960
|
+
type: "bool",
|
|
961
|
+
},
|
|
962
|
+
],
|
|
963
|
+
payable: false,
|
|
964
|
+
stateMutability: "view",
|
|
965
|
+
type: "function",
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
constant: false,
|
|
969
|
+
inputs: [
|
|
970
|
+
{
|
|
971
|
+
internalType: "uint8",
|
|
972
|
+
name: "rewardType",
|
|
973
|
+
type: "uint8",
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
internalType: "address payable",
|
|
977
|
+
name: "holder",
|
|
978
|
+
type: "address",
|
|
979
|
+
},
|
|
980
|
+
],
|
|
981
|
+
name: "claimReward",
|
|
982
|
+
outputs: [],
|
|
983
|
+
payable: false,
|
|
984
|
+
stateMutability: "nonpayable",
|
|
985
|
+
type: "function",
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
constant: false,
|
|
989
|
+
inputs: [
|
|
990
|
+
{
|
|
991
|
+
internalType: "uint8",
|
|
992
|
+
name: "rewardType",
|
|
993
|
+
type: "uint8",
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
internalType: "address payable",
|
|
997
|
+
name: "holder",
|
|
998
|
+
type: "address",
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
internalType: "contract QiToken[]",
|
|
1002
|
+
name: "qiTokens",
|
|
1003
|
+
type: "address[]",
|
|
1004
|
+
},
|
|
1005
|
+
],
|
|
1006
|
+
name: "claimReward",
|
|
1007
|
+
outputs: [],
|
|
1008
|
+
payable: false,
|
|
1009
|
+
stateMutability: "nonpayable",
|
|
1010
|
+
type: "function",
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
constant: false,
|
|
1014
|
+
inputs: [
|
|
1015
|
+
{
|
|
1016
|
+
internalType: "uint8",
|
|
1017
|
+
name: "rewardType",
|
|
1018
|
+
type: "uint8",
|
|
1019
|
+
},
|
|
1020
|
+
{
|
|
1021
|
+
internalType: "address payable[]",
|
|
1022
|
+
name: "holders",
|
|
1023
|
+
type: "address[]",
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
internalType: "contract QiToken[]",
|
|
1027
|
+
name: "qiTokens",
|
|
1028
|
+
type: "address[]",
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
internalType: "bool",
|
|
1032
|
+
name: "borrowers",
|
|
1033
|
+
type: "bool",
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
internalType: "bool",
|
|
1037
|
+
name: "suppliers",
|
|
1038
|
+
type: "bool",
|
|
1039
|
+
},
|
|
1040
|
+
],
|
|
1041
|
+
name: "claimReward",
|
|
1042
|
+
outputs: [],
|
|
1043
|
+
payable: true,
|
|
1044
|
+
stateMutability: "payable",
|
|
1045
|
+
type: "function",
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
constant: true,
|
|
1049
|
+
inputs: [],
|
|
1050
|
+
name: "closeFactorMantissa",
|
|
1051
|
+
outputs: [
|
|
1052
|
+
{
|
|
1053
|
+
internalType: "uint256",
|
|
1054
|
+
name: "",
|
|
1055
|
+
type: "uint256",
|
|
1056
|
+
},
|
|
1057
|
+
],
|
|
1058
|
+
payable: false,
|
|
1059
|
+
stateMutability: "view",
|
|
1060
|
+
type: "function",
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
constant: true,
|
|
1064
|
+
inputs: [],
|
|
1065
|
+
name: "comptrollerImplementation",
|
|
1066
|
+
outputs: [
|
|
1067
|
+
{
|
|
1068
|
+
internalType: "address",
|
|
1069
|
+
name: "",
|
|
1070
|
+
type: "address",
|
|
1071
|
+
},
|
|
1072
|
+
],
|
|
1073
|
+
payable: false,
|
|
1074
|
+
stateMutability: "view",
|
|
1075
|
+
type: "function",
|
|
1076
|
+
},
|
|
1077
|
+
{
|
|
1078
|
+
constant: false,
|
|
1079
|
+
inputs: [
|
|
1080
|
+
{
|
|
1081
|
+
internalType: "address[]",
|
|
1082
|
+
name: "qiTokens",
|
|
1083
|
+
type: "address[]",
|
|
1084
|
+
},
|
|
1085
|
+
],
|
|
1086
|
+
name: "enterMarkets",
|
|
1087
|
+
outputs: [
|
|
1088
|
+
{
|
|
1089
|
+
internalType: "uint256[]",
|
|
1090
|
+
name: "",
|
|
1091
|
+
type: "uint256[]",
|
|
1092
|
+
},
|
|
1093
|
+
],
|
|
1094
|
+
payable: false,
|
|
1095
|
+
stateMutability: "nonpayable",
|
|
1096
|
+
type: "function",
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
constant: false,
|
|
1100
|
+
inputs: [
|
|
1101
|
+
{
|
|
1102
|
+
internalType: "address",
|
|
1103
|
+
name: "qiTokenAddress",
|
|
1104
|
+
type: "address",
|
|
1105
|
+
},
|
|
1106
|
+
],
|
|
1107
|
+
name: "exitMarket",
|
|
1108
|
+
outputs: [
|
|
1109
|
+
{
|
|
1110
|
+
internalType: "uint256",
|
|
1111
|
+
name: "",
|
|
1112
|
+
type: "uint256",
|
|
1113
|
+
},
|
|
1114
|
+
],
|
|
1115
|
+
payable: false,
|
|
1116
|
+
stateMutability: "nonpayable",
|
|
1117
|
+
type: "function",
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
constant: true,
|
|
1121
|
+
inputs: [
|
|
1122
|
+
{
|
|
1123
|
+
internalType: "address",
|
|
1124
|
+
name: "account",
|
|
1125
|
+
type: "address",
|
|
1126
|
+
},
|
|
1127
|
+
],
|
|
1128
|
+
name: "getAccountLiquidity",
|
|
1129
|
+
outputs: [
|
|
1130
|
+
{
|
|
1131
|
+
internalType: "uint256",
|
|
1132
|
+
name: "",
|
|
1133
|
+
type: "uint256",
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
internalType: "uint256",
|
|
1137
|
+
name: "",
|
|
1138
|
+
type: "uint256",
|
|
1139
|
+
},
|
|
1140
|
+
{
|
|
1141
|
+
internalType: "uint256",
|
|
1142
|
+
name: "",
|
|
1143
|
+
type: "uint256",
|
|
1144
|
+
},
|
|
1145
|
+
],
|
|
1146
|
+
payable: false,
|
|
1147
|
+
stateMutability: "view",
|
|
1148
|
+
type: "function",
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
constant: true,
|
|
1152
|
+
inputs: [],
|
|
1153
|
+
name: "getAllMarkets",
|
|
1154
|
+
outputs: [
|
|
1155
|
+
{
|
|
1156
|
+
internalType: "contract QiToken[]",
|
|
1157
|
+
name: "",
|
|
1158
|
+
type: "address[]",
|
|
1159
|
+
},
|
|
1160
|
+
],
|
|
1161
|
+
payable: false,
|
|
1162
|
+
stateMutability: "view",
|
|
1163
|
+
type: "function",
|
|
1164
|
+
},
|
|
1165
|
+
{
|
|
1166
|
+
constant: true,
|
|
1167
|
+
inputs: [
|
|
1168
|
+
{
|
|
1169
|
+
internalType: "address",
|
|
1170
|
+
name: "account",
|
|
1171
|
+
type: "address",
|
|
1172
|
+
},
|
|
1173
|
+
],
|
|
1174
|
+
name: "getAssetsIn",
|
|
1175
|
+
outputs: [
|
|
1176
|
+
{
|
|
1177
|
+
internalType: "contract QiToken[]",
|
|
1178
|
+
name: "",
|
|
1179
|
+
type: "address[]",
|
|
1180
|
+
},
|
|
1181
|
+
],
|
|
1182
|
+
payable: false,
|
|
1183
|
+
stateMutability: "view",
|
|
1184
|
+
type: "function",
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
constant: true,
|
|
1188
|
+
inputs: [],
|
|
1189
|
+
name: "getBlockTimestamp",
|
|
1190
|
+
outputs: [
|
|
1191
|
+
{
|
|
1192
|
+
internalType: "uint256",
|
|
1193
|
+
name: "",
|
|
1194
|
+
type: "uint256",
|
|
1195
|
+
},
|
|
1196
|
+
],
|
|
1197
|
+
payable: false,
|
|
1198
|
+
stateMutability: "view",
|
|
1199
|
+
type: "function",
|
|
1200
|
+
},
|
|
1201
|
+
{
|
|
1202
|
+
constant: true,
|
|
1203
|
+
inputs: [
|
|
1204
|
+
{
|
|
1205
|
+
internalType: "address",
|
|
1206
|
+
name: "account",
|
|
1207
|
+
type: "address",
|
|
1208
|
+
},
|
|
1209
|
+
{
|
|
1210
|
+
internalType: "address",
|
|
1211
|
+
name: "qiTokenModify",
|
|
1212
|
+
type: "address",
|
|
1213
|
+
},
|
|
1214
|
+
{
|
|
1215
|
+
internalType: "uint256",
|
|
1216
|
+
name: "redeemTokens",
|
|
1217
|
+
type: "uint256",
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
internalType: "uint256",
|
|
1221
|
+
name: "borrowAmount",
|
|
1222
|
+
type: "uint256",
|
|
1223
|
+
},
|
|
1224
|
+
],
|
|
1225
|
+
name: "getHypotheticalAccountLiquidity",
|
|
1226
|
+
outputs: [
|
|
1227
|
+
{
|
|
1228
|
+
internalType: "uint256",
|
|
1229
|
+
name: "",
|
|
1230
|
+
type: "uint256",
|
|
1231
|
+
},
|
|
1232
|
+
{
|
|
1233
|
+
internalType: "uint256",
|
|
1234
|
+
name: "",
|
|
1235
|
+
type: "uint256",
|
|
1236
|
+
},
|
|
1237
|
+
{
|
|
1238
|
+
internalType: "uint256",
|
|
1239
|
+
name: "",
|
|
1240
|
+
type: "uint256",
|
|
1241
|
+
},
|
|
1242
|
+
],
|
|
1243
|
+
payable: false,
|
|
1244
|
+
stateMutability: "view",
|
|
1245
|
+
type: "function",
|
|
1246
|
+
},
|
|
1247
|
+
{
|
|
1248
|
+
constant: true,
|
|
1249
|
+
inputs: [],
|
|
1250
|
+
name: "initialIndexConstant",
|
|
1251
|
+
outputs: [
|
|
1252
|
+
{
|
|
1253
|
+
internalType: "uint224",
|
|
1254
|
+
name: "",
|
|
1255
|
+
type: "uint224",
|
|
1256
|
+
},
|
|
1257
|
+
],
|
|
1258
|
+
payable: false,
|
|
1259
|
+
stateMutability: "view",
|
|
1260
|
+
type: "function",
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
constant: true,
|
|
1264
|
+
inputs: [],
|
|
1265
|
+
name: "isComptroller",
|
|
1266
|
+
outputs: [
|
|
1267
|
+
{
|
|
1268
|
+
internalType: "bool",
|
|
1269
|
+
name: "",
|
|
1270
|
+
type: "bool",
|
|
1271
|
+
},
|
|
1272
|
+
],
|
|
1273
|
+
payable: false,
|
|
1274
|
+
stateMutability: "view",
|
|
1275
|
+
type: "function",
|
|
1276
|
+
},
|
|
1277
|
+
{
|
|
1278
|
+
constant: false,
|
|
1279
|
+
inputs: [
|
|
1280
|
+
{
|
|
1281
|
+
internalType: "address",
|
|
1282
|
+
name: "qiTokenBorrowed",
|
|
1283
|
+
type: "address",
|
|
1284
|
+
},
|
|
1285
|
+
{
|
|
1286
|
+
internalType: "address",
|
|
1287
|
+
name: "qiTokenCollateral",
|
|
1288
|
+
type: "address",
|
|
1289
|
+
},
|
|
1290
|
+
{
|
|
1291
|
+
internalType: "address",
|
|
1292
|
+
name: "liquidator",
|
|
1293
|
+
type: "address",
|
|
1294
|
+
},
|
|
1295
|
+
{
|
|
1296
|
+
internalType: "address",
|
|
1297
|
+
name: "borrower",
|
|
1298
|
+
type: "address",
|
|
1299
|
+
},
|
|
1300
|
+
{
|
|
1301
|
+
internalType: "uint256",
|
|
1302
|
+
name: "repayAmount",
|
|
1303
|
+
type: "uint256",
|
|
1304
|
+
},
|
|
1305
|
+
],
|
|
1306
|
+
name: "liquidateBorrowAllowed",
|
|
1307
|
+
outputs: [
|
|
1308
|
+
{
|
|
1309
|
+
internalType: "uint256",
|
|
1310
|
+
name: "",
|
|
1311
|
+
type: "uint256",
|
|
1312
|
+
},
|
|
1313
|
+
],
|
|
1314
|
+
payable: false,
|
|
1315
|
+
stateMutability: "nonpayable",
|
|
1316
|
+
type: "function",
|
|
1317
|
+
},
|
|
1318
|
+
{
|
|
1319
|
+
constant: false,
|
|
1320
|
+
inputs: [
|
|
1321
|
+
{
|
|
1322
|
+
internalType: "address",
|
|
1323
|
+
name: "qiTokenBorrowed",
|
|
1324
|
+
type: "address",
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
internalType: "address",
|
|
1328
|
+
name: "qiTokenCollateral",
|
|
1329
|
+
type: "address",
|
|
1330
|
+
},
|
|
1331
|
+
{
|
|
1332
|
+
internalType: "address",
|
|
1333
|
+
name: "liquidator",
|
|
1334
|
+
type: "address",
|
|
1335
|
+
},
|
|
1336
|
+
{
|
|
1337
|
+
internalType: "address",
|
|
1338
|
+
name: "borrower",
|
|
1339
|
+
type: "address",
|
|
1340
|
+
},
|
|
1341
|
+
{
|
|
1342
|
+
internalType: "uint256",
|
|
1343
|
+
name: "actualRepayAmount",
|
|
1344
|
+
type: "uint256",
|
|
1345
|
+
},
|
|
1346
|
+
{
|
|
1347
|
+
internalType: "uint256",
|
|
1348
|
+
name: "seizeTokens",
|
|
1349
|
+
type: "uint256",
|
|
1350
|
+
},
|
|
1351
|
+
],
|
|
1352
|
+
name: "liquidateBorrowVerify",
|
|
1353
|
+
outputs: [],
|
|
1354
|
+
payable: false,
|
|
1355
|
+
stateMutability: "nonpayable",
|
|
1356
|
+
type: "function",
|
|
1357
|
+
},
|
|
1358
|
+
{
|
|
1359
|
+
constant: true,
|
|
1360
|
+
inputs: [
|
|
1361
|
+
{
|
|
1362
|
+
internalType: "address",
|
|
1363
|
+
name: "qiTokenBorrowed",
|
|
1364
|
+
type: "address",
|
|
1365
|
+
},
|
|
1366
|
+
{
|
|
1367
|
+
internalType: "address",
|
|
1368
|
+
name: "qiTokenCollateral",
|
|
1369
|
+
type: "address",
|
|
1370
|
+
},
|
|
1371
|
+
{
|
|
1372
|
+
internalType: "uint256",
|
|
1373
|
+
name: "actualRepayAmount",
|
|
1374
|
+
type: "uint256",
|
|
1375
|
+
},
|
|
1376
|
+
],
|
|
1377
|
+
name: "liquidateCalculateSeizeTokens",
|
|
1378
|
+
outputs: [
|
|
1379
|
+
{
|
|
1380
|
+
internalType: "uint256",
|
|
1381
|
+
name: "",
|
|
1382
|
+
type: "uint256",
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
internalType: "uint256",
|
|
1386
|
+
name: "",
|
|
1387
|
+
type: "uint256",
|
|
1388
|
+
},
|
|
1389
|
+
],
|
|
1390
|
+
payable: false,
|
|
1391
|
+
stateMutability: "view",
|
|
1392
|
+
type: "function",
|
|
1393
|
+
},
|
|
1394
|
+
{
|
|
1395
|
+
constant: true,
|
|
1396
|
+
inputs: [],
|
|
1397
|
+
name: "liquidationIncentiveMantissa",
|
|
1398
|
+
outputs: [
|
|
1399
|
+
{
|
|
1400
|
+
internalType: "uint256",
|
|
1401
|
+
name: "",
|
|
1402
|
+
type: "uint256",
|
|
1403
|
+
},
|
|
1404
|
+
],
|
|
1405
|
+
payable: false,
|
|
1406
|
+
stateMutability: "view",
|
|
1407
|
+
type: "function",
|
|
1408
|
+
},
|
|
1409
|
+
{
|
|
1410
|
+
constant: true,
|
|
1411
|
+
inputs: [
|
|
1412
|
+
{
|
|
1413
|
+
internalType: "address",
|
|
1414
|
+
name: "",
|
|
1415
|
+
type: "address",
|
|
1416
|
+
},
|
|
1417
|
+
],
|
|
1418
|
+
name: "markets",
|
|
1419
|
+
outputs: [
|
|
1420
|
+
{
|
|
1421
|
+
internalType: "bool",
|
|
1422
|
+
name: "isListed",
|
|
1423
|
+
type: "bool",
|
|
1424
|
+
},
|
|
1425
|
+
{
|
|
1426
|
+
internalType: "uint256",
|
|
1427
|
+
name: "collateralFactorMantissa",
|
|
1428
|
+
type: "uint256",
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
internalType: "bool",
|
|
1432
|
+
name: "isQied",
|
|
1433
|
+
type: "bool",
|
|
1434
|
+
},
|
|
1435
|
+
],
|
|
1436
|
+
payable: false,
|
|
1437
|
+
stateMutability: "view",
|
|
1438
|
+
type: "function",
|
|
1439
|
+
},
|
|
1440
|
+
{
|
|
1441
|
+
constant: true,
|
|
1442
|
+
inputs: [],
|
|
1443
|
+
name: "maxAssets",
|
|
1444
|
+
outputs: [
|
|
1445
|
+
{
|
|
1446
|
+
internalType: "uint256",
|
|
1447
|
+
name: "",
|
|
1448
|
+
type: "uint256",
|
|
1449
|
+
},
|
|
1450
|
+
],
|
|
1451
|
+
payable: false,
|
|
1452
|
+
stateMutability: "view",
|
|
1453
|
+
type: "function",
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
constant: false,
|
|
1457
|
+
inputs: [
|
|
1458
|
+
{
|
|
1459
|
+
internalType: "address",
|
|
1460
|
+
name: "qiToken",
|
|
1461
|
+
type: "address",
|
|
1462
|
+
},
|
|
1463
|
+
{
|
|
1464
|
+
internalType: "address",
|
|
1465
|
+
name: "minter",
|
|
1466
|
+
type: "address",
|
|
1467
|
+
},
|
|
1468
|
+
{
|
|
1469
|
+
internalType: "uint256",
|
|
1470
|
+
name: "mintAmount",
|
|
1471
|
+
type: "uint256",
|
|
1472
|
+
},
|
|
1473
|
+
],
|
|
1474
|
+
name: "mintAllowed",
|
|
1475
|
+
outputs: [
|
|
1476
|
+
{
|
|
1477
|
+
internalType: "uint256",
|
|
1478
|
+
name: "",
|
|
1479
|
+
type: "uint256",
|
|
1480
|
+
},
|
|
1481
|
+
],
|
|
1482
|
+
payable: false,
|
|
1483
|
+
stateMutability: "nonpayable",
|
|
1484
|
+
type: "function",
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
constant: true,
|
|
1488
|
+
inputs: [
|
|
1489
|
+
{
|
|
1490
|
+
internalType: "address",
|
|
1491
|
+
name: "",
|
|
1492
|
+
type: "address",
|
|
1493
|
+
},
|
|
1494
|
+
],
|
|
1495
|
+
name: "mintGuardianPaused",
|
|
1496
|
+
outputs: [
|
|
1497
|
+
{
|
|
1498
|
+
internalType: "bool",
|
|
1499
|
+
name: "",
|
|
1500
|
+
type: "bool",
|
|
1501
|
+
},
|
|
1502
|
+
],
|
|
1503
|
+
payable: false,
|
|
1504
|
+
stateMutability: "view",
|
|
1505
|
+
type: "function",
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
constant: false,
|
|
1509
|
+
inputs: [
|
|
1510
|
+
{
|
|
1511
|
+
internalType: "address",
|
|
1512
|
+
name: "qiToken",
|
|
1513
|
+
type: "address",
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
internalType: "address",
|
|
1517
|
+
name: "minter",
|
|
1518
|
+
type: "address",
|
|
1519
|
+
},
|
|
1520
|
+
{
|
|
1521
|
+
internalType: "uint256",
|
|
1522
|
+
name: "actualMintAmount",
|
|
1523
|
+
type: "uint256",
|
|
1524
|
+
},
|
|
1525
|
+
{
|
|
1526
|
+
internalType: "uint256",
|
|
1527
|
+
name: "mintTokens",
|
|
1528
|
+
type: "uint256",
|
|
1529
|
+
},
|
|
1530
|
+
],
|
|
1531
|
+
name: "mintVerify",
|
|
1532
|
+
outputs: [],
|
|
1533
|
+
payable: false,
|
|
1534
|
+
stateMutability: "nonpayable",
|
|
1535
|
+
type: "function",
|
|
1536
|
+
},
|
|
1537
|
+
{
|
|
1538
|
+
constant: true,
|
|
1539
|
+
inputs: [],
|
|
1540
|
+
name: "oracle",
|
|
1541
|
+
outputs: [
|
|
1542
|
+
{
|
|
1543
|
+
internalType: "contract PriceOracle",
|
|
1544
|
+
name: "",
|
|
1545
|
+
type: "address",
|
|
1546
|
+
},
|
|
1547
|
+
],
|
|
1548
|
+
payable: false,
|
|
1549
|
+
stateMutability: "view",
|
|
1550
|
+
type: "function",
|
|
1551
|
+
},
|
|
1552
|
+
{
|
|
1553
|
+
constant: true,
|
|
1554
|
+
inputs: [],
|
|
1555
|
+
name: "pauseGuardian",
|
|
1556
|
+
outputs: [
|
|
1557
|
+
{
|
|
1558
|
+
internalType: "address",
|
|
1559
|
+
name: "",
|
|
1560
|
+
type: "address",
|
|
1561
|
+
},
|
|
1562
|
+
],
|
|
1563
|
+
payable: false,
|
|
1564
|
+
stateMutability: "view",
|
|
1565
|
+
type: "function",
|
|
1566
|
+
},
|
|
1567
|
+
{
|
|
1568
|
+
constant: true,
|
|
1569
|
+
inputs: [],
|
|
1570
|
+
name: "pendingAdmin",
|
|
1571
|
+
outputs: [
|
|
1572
|
+
{
|
|
1573
|
+
internalType: "address",
|
|
1574
|
+
name: "",
|
|
1575
|
+
type: "address",
|
|
1576
|
+
},
|
|
1577
|
+
],
|
|
1578
|
+
payable: false,
|
|
1579
|
+
stateMutability: "view",
|
|
1580
|
+
type: "function",
|
|
1581
|
+
},
|
|
1582
|
+
{
|
|
1583
|
+
constant: true,
|
|
1584
|
+
inputs: [],
|
|
1585
|
+
name: "pendingComptrollerImplementation",
|
|
1586
|
+
outputs: [
|
|
1587
|
+
{
|
|
1588
|
+
internalType: "address",
|
|
1589
|
+
name: "",
|
|
1590
|
+
type: "address",
|
|
1591
|
+
},
|
|
1592
|
+
],
|
|
1593
|
+
payable: false,
|
|
1594
|
+
stateMutability: "view",
|
|
1595
|
+
type: "function",
|
|
1596
|
+
},
|
|
1597
|
+
{
|
|
1598
|
+
constant: true,
|
|
1599
|
+
inputs: [],
|
|
1600
|
+
name: "qiAddress",
|
|
1601
|
+
outputs: [
|
|
1602
|
+
{
|
|
1603
|
+
internalType: "address",
|
|
1604
|
+
name: "",
|
|
1605
|
+
type: "address",
|
|
1606
|
+
},
|
|
1607
|
+
],
|
|
1608
|
+
payable: false,
|
|
1609
|
+
stateMutability: "view",
|
|
1610
|
+
type: "function",
|
|
1611
|
+
},
|
|
1612
|
+
{
|
|
1613
|
+
constant: false,
|
|
1614
|
+
inputs: [
|
|
1615
|
+
{
|
|
1616
|
+
internalType: "address",
|
|
1617
|
+
name: "qiToken",
|
|
1618
|
+
type: "address",
|
|
1619
|
+
},
|
|
1620
|
+
{
|
|
1621
|
+
internalType: "address",
|
|
1622
|
+
name: "redeemer",
|
|
1623
|
+
type: "address",
|
|
1624
|
+
},
|
|
1625
|
+
{
|
|
1626
|
+
internalType: "uint256",
|
|
1627
|
+
name: "redeemTokens",
|
|
1628
|
+
type: "uint256",
|
|
1629
|
+
},
|
|
1630
|
+
],
|
|
1631
|
+
name: "redeemAllowed",
|
|
1632
|
+
outputs: [
|
|
1633
|
+
{
|
|
1634
|
+
internalType: "uint256",
|
|
1635
|
+
name: "",
|
|
1636
|
+
type: "uint256",
|
|
1637
|
+
},
|
|
1638
|
+
],
|
|
1639
|
+
payable: false,
|
|
1640
|
+
stateMutability: "nonpayable",
|
|
1641
|
+
type: "function",
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
constant: false,
|
|
1645
|
+
inputs: [
|
|
1646
|
+
{
|
|
1647
|
+
internalType: "address",
|
|
1648
|
+
name: "qiToken",
|
|
1649
|
+
type: "address",
|
|
1650
|
+
},
|
|
1651
|
+
{
|
|
1652
|
+
internalType: "address",
|
|
1653
|
+
name: "redeemer",
|
|
1654
|
+
type: "address",
|
|
1655
|
+
},
|
|
1656
|
+
{
|
|
1657
|
+
internalType: "uint256",
|
|
1658
|
+
name: "redeemAmount",
|
|
1659
|
+
type: "uint256",
|
|
1660
|
+
},
|
|
1661
|
+
{
|
|
1662
|
+
internalType: "uint256",
|
|
1663
|
+
name: "redeemTokens",
|
|
1664
|
+
type: "uint256",
|
|
1665
|
+
},
|
|
1666
|
+
],
|
|
1667
|
+
name: "redeemVerify",
|
|
1668
|
+
outputs: [],
|
|
1669
|
+
payable: false,
|
|
1670
|
+
stateMutability: "nonpayable",
|
|
1671
|
+
type: "function",
|
|
1672
|
+
},
|
|
1673
|
+
{
|
|
1674
|
+
constant: false,
|
|
1675
|
+
inputs: [
|
|
1676
|
+
{
|
|
1677
|
+
internalType: "address",
|
|
1678
|
+
name: "qiToken",
|
|
1679
|
+
type: "address",
|
|
1680
|
+
},
|
|
1681
|
+
{
|
|
1682
|
+
internalType: "address",
|
|
1683
|
+
name: "payer",
|
|
1684
|
+
type: "address",
|
|
1685
|
+
},
|
|
1686
|
+
{
|
|
1687
|
+
internalType: "address",
|
|
1688
|
+
name: "borrower",
|
|
1689
|
+
type: "address",
|
|
1690
|
+
},
|
|
1691
|
+
{
|
|
1692
|
+
internalType: "uint256",
|
|
1693
|
+
name: "repayAmount",
|
|
1694
|
+
type: "uint256",
|
|
1695
|
+
},
|
|
1696
|
+
],
|
|
1697
|
+
name: "repayBorrowAllowed",
|
|
1698
|
+
outputs: [
|
|
1699
|
+
{
|
|
1700
|
+
internalType: "uint256",
|
|
1701
|
+
name: "",
|
|
1702
|
+
type: "uint256",
|
|
1703
|
+
},
|
|
1704
|
+
],
|
|
1705
|
+
payable: false,
|
|
1706
|
+
stateMutability: "nonpayable",
|
|
1707
|
+
type: "function",
|
|
1708
|
+
},
|
|
1709
|
+
{
|
|
1710
|
+
constant: false,
|
|
1711
|
+
inputs: [
|
|
1712
|
+
{
|
|
1713
|
+
internalType: "address",
|
|
1714
|
+
name: "qiToken",
|
|
1715
|
+
type: "address",
|
|
1716
|
+
},
|
|
1717
|
+
{
|
|
1718
|
+
internalType: "address",
|
|
1719
|
+
name: "payer",
|
|
1720
|
+
type: "address",
|
|
1721
|
+
},
|
|
1722
|
+
{
|
|
1723
|
+
internalType: "address",
|
|
1724
|
+
name: "borrower",
|
|
1725
|
+
type: "address",
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
internalType: "uint256",
|
|
1729
|
+
name: "actualRepayAmount",
|
|
1730
|
+
type: "uint256",
|
|
1731
|
+
},
|
|
1732
|
+
{
|
|
1733
|
+
internalType: "uint256",
|
|
1734
|
+
name: "borrowerIndex",
|
|
1735
|
+
type: "uint256",
|
|
1736
|
+
},
|
|
1737
|
+
],
|
|
1738
|
+
name: "repayBorrowVerify",
|
|
1739
|
+
outputs: [],
|
|
1740
|
+
payable: false,
|
|
1741
|
+
stateMutability: "nonpayable",
|
|
1742
|
+
type: "function",
|
|
1743
|
+
},
|
|
1744
|
+
{
|
|
1745
|
+
constant: true,
|
|
1746
|
+
inputs: [
|
|
1747
|
+
{
|
|
1748
|
+
internalType: "uint8",
|
|
1749
|
+
name: "",
|
|
1750
|
+
type: "uint8",
|
|
1751
|
+
},
|
|
1752
|
+
{
|
|
1753
|
+
internalType: "address",
|
|
1754
|
+
name: "",
|
|
1755
|
+
type: "address",
|
|
1756
|
+
},
|
|
1757
|
+
],
|
|
1758
|
+
name: "rewardAccrued",
|
|
1759
|
+
outputs: [
|
|
1760
|
+
{
|
|
1761
|
+
internalType: "uint256",
|
|
1762
|
+
name: "",
|
|
1763
|
+
type: "uint256",
|
|
1764
|
+
},
|
|
1765
|
+
],
|
|
1766
|
+
payable: false,
|
|
1767
|
+
stateMutability: "view",
|
|
1768
|
+
type: "function",
|
|
1769
|
+
},
|
|
1770
|
+
{
|
|
1771
|
+
constant: true,
|
|
1772
|
+
inputs: [],
|
|
1773
|
+
name: "rewardAvax",
|
|
1774
|
+
outputs: [
|
|
1775
|
+
{
|
|
1776
|
+
internalType: "uint8",
|
|
1777
|
+
name: "",
|
|
1778
|
+
type: "uint8",
|
|
1779
|
+
},
|
|
1780
|
+
],
|
|
1781
|
+
payable: false,
|
|
1782
|
+
stateMutability: "view",
|
|
1783
|
+
type: "function",
|
|
1784
|
+
},
|
|
1785
|
+
{
|
|
1786
|
+
constant: true,
|
|
1787
|
+
inputs: [
|
|
1788
|
+
{
|
|
1789
|
+
internalType: "uint8",
|
|
1790
|
+
name: "",
|
|
1791
|
+
type: "uint8",
|
|
1792
|
+
},
|
|
1793
|
+
{
|
|
1794
|
+
internalType: "address",
|
|
1795
|
+
name: "",
|
|
1796
|
+
type: "address",
|
|
1797
|
+
},
|
|
1798
|
+
],
|
|
1799
|
+
name: "rewardBorrowState",
|
|
1800
|
+
outputs: [
|
|
1801
|
+
{
|
|
1802
|
+
internalType: "uint224",
|
|
1803
|
+
name: "index",
|
|
1804
|
+
type: "uint224",
|
|
1805
|
+
},
|
|
1806
|
+
{
|
|
1807
|
+
internalType: "uint32",
|
|
1808
|
+
name: "timestamp",
|
|
1809
|
+
type: "uint32",
|
|
1810
|
+
},
|
|
1811
|
+
],
|
|
1812
|
+
payable: false,
|
|
1813
|
+
stateMutability: "view",
|
|
1814
|
+
type: "function",
|
|
1815
|
+
},
|
|
1816
|
+
{
|
|
1817
|
+
constant: true,
|
|
1818
|
+
inputs: [
|
|
1819
|
+
{
|
|
1820
|
+
internalType: "uint8",
|
|
1821
|
+
name: "",
|
|
1822
|
+
type: "uint8",
|
|
1823
|
+
},
|
|
1824
|
+
{
|
|
1825
|
+
internalType: "address",
|
|
1826
|
+
name: "",
|
|
1827
|
+
type: "address",
|
|
1828
|
+
},
|
|
1829
|
+
{
|
|
1830
|
+
internalType: "address",
|
|
1831
|
+
name: "",
|
|
1832
|
+
type: "address",
|
|
1833
|
+
},
|
|
1834
|
+
],
|
|
1835
|
+
name: "rewardBorrowerIndex",
|
|
1836
|
+
outputs: [
|
|
1837
|
+
{
|
|
1838
|
+
internalType: "uint256",
|
|
1839
|
+
name: "",
|
|
1840
|
+
type: "uint256",
|
|
1841
|
+
},
|
|
1842
|
+
],
|
|
1843
|
+
payable: false,
|
|
1844
|
+
stateMutability: "view",
|
|
1845
|
+
type: "function",
|
|
1846
|
+
},
|
|
1847
|
+
{
|
|
1848
|
+
constant: true,
|
|
1849
|
+
inputs: [],
|
|
1850
|
+
name: "rewardQi",
|
|
1851
|
+
outputs: [
|
|
1852
|
+
{
|
|
1853
|
+
internalType: "uint8",
|
|
1854
|
+
name: "",
|
|
1855
|
+
type: "uint8",
|
|
1856
|
+
},
|
|
1857
|
+
],
|
|
1858
|
+
payable: false,
|
|
1859
|
+
stateMutability: "view",
|
|
1860
|
+
type: "function",
|
|
1861
|
+
},
|
|
1862
|
+
{
|
|
1863
|
+
constant: true,
|
|
1864
|
+
inputs: [
|
|
1865
|
+
{
|
|
1866
|
+
internalType: "uint8",
|
|
1867
|
+
name: "",
|
|
1868
|
+
type: "uint8",
|
|
1869
|
+
},
|
|
1870
|
+
{
|
|
1871
|
+
internalType: "address",
|
|
1872
|
+
name: "",
|
|
1873
|
+
type: "address",
|
|
1874
|
+
},
|
|
1875
|
+
],
|
|
1876
|
+
name: "rewardSpeeds",
|
|
1877
|
+
outputs: [
|
|
1878
|
+
{
|
|
1879
|
+
internalType: "uint256",
|
|
1880
|
+
name: "",
|
|
1881
|
+
type: "uint256",
|
|
1882
|
+
},
|
|
1883
|
+
],
|
|
1884
|
+
payable: false,
|
|
1885
|
+
stateMutability: "view",
|
|
1886
|
+
type: "function",
|
|
1887
|
+
},
|
|
1888
|
+
{
|
|
1889
|
+
constant: true,
|
|
1890
|
+
inputs: [
|
|
1891
|
+
{
|
|
1892
|
+
internalType: "uint8",
|
|
1893
|
+
name: "",
|
|
1894
|
+
type: "uint8",
|
|
1895
|
+
},
|
|
1896
|
+
{
|
|
1897
|
+
internalType: "address",
|
|
1898
|
+
name: "",
|
|
1899
|
+
type: "address",
|
|
1900
|
+
},
|
|
1901
|
+
{
|
|
1902
|
+
internalType: "address",
|
|
1903
|
+
name: "",
|
|
1904
|
+
type: "address",
|
|
1905
|
+
},
|
|
1906
|
+
],
|
|
1907
|
+
name: "rewardSupplierIndex",
|
|
1908
|
+
outputs: [
|
|
1909
|
+
{
|
|
1910
|
+
internalType: "uint256",
|
|
1911
|
+
name: "",
|
|
1912
|
+
type: "uint256",
|
|
1913
|
+
},
|
|
1914
|
+
],
|
|
1915
|
+
payable: false,
|
|
1916
|
+
stateMutability: "view",
|
|
1917
|
+
type: "function",
|
|
1918
|
+
},
|
|
1919
|
+
{
|
|
1920
|
+
constant: true,
|
|
1921
|
+
inputs: [
|
|
1922
|
+
{
|
|
1923
|
+
internalType: "uint8",
|
|
1924
|
+
name: "",
|
|
1925
|
+
type: "uint8",
|
|
1926
|
+
},
|
|
1927
|
+
{
|
|
1928
|
+
internalType: "address",
|
|
1929
|
+
name: "",
|
|
1930
|
+
type: "address",
|
|
1931
|
+
},
|
|
1932
|
+
],
|
|
1933
|
+
name: "rewardSupplyState",
|
|
1934
|
+
outputs: [
|
|
1935
|
+
{
|
|
1936
|
+
internalType: "uint224",
|
|
1937
|
+
name: "index",
|
|
1938
|
+
type: "uint224",
|
|
1939
|
+
},
|
|
1940
|
+
{
|
|
1941
|
+
internalType: "uint32",
|
|
1942
|
+
name: "timestamp",
|
|
1943
|
+
type: "uint32",
|
|
1944
|
+
},
|
|
1945
|
+
],
|
|
1946
|
+
payable: false,
|
|
1947
|
+
stateMutability: "view",
|
|
1948
|
+
type: "function",
|
|
1949
|
+
},
|
|
1950
|
+
{
|
|
1951
|
+
constant: false,
|
|
1952
|
+
inputs: [
|
|
1953
|
+
{
|
|
1954
|
+
internalType: "address",
|
|
1955
|
+
name: "qiTokenCollateral",
|
|
1956
|
+
type: "address",
|
|
1957
|
+
},
|
|
1958
|
+
{
|
|
1959
|
+
internalType: "address",
|
|
1960
|
+
name: "qiTokenBorrowed",
|
|
1961
|
+
type: "address",
|
|
1962
|
+
},
|
|
1963
|
+
{
|
|
1964
|
+
internalType: "address",
|
|
1965
|
+
name: "liquidator",
|
|
1966
|
+
type: "address",
|
|
1967
|
+
},
|
|
1968
|
+
{
|
|
1969
|
+
internalType: "address",
|
|
1970
|
+
name: "borrower",
|
|
1971
|
+
type: "address",
|
|
1972
|
+
},
|
|
1973
|
+
{
|
|
1974
|
+
internalType: "uint256",
|
|
1975
|
+
name: "seizeTokens",
|
|
1976
|
+
type: "uint256",
|
|
1977
|
+
},
|
|
1978
|
+
],
|
|
1979
|
+
name: "seizeAllowed",
|
|
1980
|
+
outputs: [
|
|
1981
|
+
{
|
|
1982
|
+
internalType: "uint256",
|
|
1983
|
+
name: "",
|
|
1984
|
+
type: "uint256",
|
|
1985
|
+
},
|
|
1986
|
+
],
|
|
1987
|
+
payable: false,
|
|
1988
|
+
stateMutability: "nonpayable",
|
|
1989
|
+
type: "function",
|
|
1990
|
+
},
|
|
1991
|
+
{
|
|
1992
|
+
constant: true,
|
|
1993
|
+
inputs: [],
|
|
1994
|
+
name: "seizeGuardianPaused",
|
|
1995
|
+
outputs: [
|
|
1996
|
+
{
|
|
1997
|
+
internalType: "bool",
|
|
1998
|
+
name: "",
|
|
1999
|
+
type: "bool",
|
|
2000
|
+
},
|
|
2001
|
+
],
|
|
2002
|
+
payable: false,
|
|
2003
|
+
stateMutability: "view",
|
|
2004
|
+
type: "function",
|
|
2005
|
+
},
|
|
2006
|
+
{
|
|
2007
|
+
constant: false,
|
|
2008
|
+
inputs: [
|
|
2009
|
+
{
|
|
2010
|
+
internalType: "address",
|
|
2011
|
+
name: "qiTokenCollateral",
|
|
2012
|
+
type: "address",
|
|
2013
|
+
},
|
|
2014
|
+
{
|
|
2015
|
+
internalType: "address",
|
|
2016
|
+
name: "qiTokenBorrowed",
|
|
2017
|
+
type: "address",
|
|
2018
|
+
},
|
|
2019
|
+
{
|
|
2020
|
+
internalType: "address",
|
|
2021
|
+
name: "liquidator",
|
|
2022
|
+
type: "address",
|
|
2023
|
+
},
|
|
2024
|
+
{
|
|
2025
|
+
internalType: "address",
|
|
2026
|
+
name: "borrower",
|
|
2027
|
+
type: "address",
|
|
2028
|
+
},
|
|
2029
|
+
{
|
|
2030
|
+
internalType: "uint256",
|
|
2031
|
+
name: "seizeTokens",
|
|
2032
|
+
type: "uint256",
|
|
2033
|
+
},
|
|
2034
|
+
],
|
|
2035
|
+
name: "seizeVerify",
|
|
2036
|
+
outputs: [],
|
|
2037
|
+
payable: false,
|
|
2038
|
+
stateMutability: "nonpayable",
|
|
2039
|
+
type: "function",
|
|
2040
|
+
},
|
|
2041
|
+
{
|
|
2042
|
+
constant: false,
|
|
2043
|
+
inputs: [
|
|
2044
|
+
{
|
|
2045
|
+
internalType: "address",
|
|
2046
|
+
name: "newQiAddress",
|
|
2047
|
+
type: "address",
|
|
2048
|
+
},
|
|
2049
|
+
],
|
|
2050
|
+
name: "setQiAddress",
|
|
2051
|
+
outputs: [],
|
|
2052
|
+
payable: false,
|
|
2053
|
+
stateMutability: "nonpayable",
|
|
2054
|
+
type: "function",
|
|
2055
|
+
},
|
|
2056
|
+
{
|
|
2057
|
+
constant: false,
|
|
2058
|
+
inputs: [
|
|
2059
|
+
{
|
|
2060
|
+
internalType: "address",
|
|
2061
|
+
name: "qiToken",
|
|
2062
|
+
type: "address",
|
|
2063
|
+
},
|
|
2064
|
+
{
|
|
2065
|
+
internalType: "address",
|
|
2066
|
+
name: "src",
|
|
2067
|
+
type: "address",
|
|
2068
|
+
},
|
|
2069
|
+
{
|
|
2070
|
+
internalType: "address",
|
|
2071
|
+
name: "dst",
|
|
2072
|
+
type: "address",
|
|
2073
|
+
},
|
|
2074
|
+
{
|
|
2075
|
+
internalType: "uint256",
|
|
2076
|
+
name: "transferTokens",
|
|
2077
|
+
type: "uint256",
|
|
2078
|
+
},
|
|
2079
|
+
],
|
|
2080
|
+
name: "transferAllowed",
|
|
2081
|
+
outputs: [
|
|
2082
|
+
{
|
|
2083
|
+
internalType: "uint256",
|
|
2084
|
+
name: "",
|
|
2085
|
+
type: "uint256",
|
|
2086
|
+
},
|
|
2087
|
+
],
|
|
2088
|
+
payable: false,
|
|
2089
|
+
stateMutability: "nonpayable",
|
|
2090
|
+
type: "function",
|
|
2091
|
+
},
|
|
2092
|
+
{
|
|
2093
|
+
constant: true,
|
|
2094
|
+
inputs: [],
|
|
2095
|
+
name: "transferGuardianPaused",
|
|
2096
|
+
outputs: [
|
|
2097
|
+
{
|
|
2098
|
+
internalType: "bool",
|
|
2099
|
+
name: "",
|
|
2100
|
+
type: "bool",
|
|
2101
|
+
},
|
|
2102
|
+
],
|
|
2103
|
+
payable: false,
|
|
2104
|
+
stateMutability: "view",
|
|
2105
|
+
type: "function",
|
|
2106
|
+
},
|
|
2107
|
+
{
|
|
2108
|
+
constant: false,
|
|
2109
|
+
inputs: [
|
|
2110
|
+
{
|
|
2111
|
+
internalType: "address",
|
|
2112
|
+
name: "qiToken",
|
|
2113
|
+
type: "address",
|
|
2114
|
+
},
|
|
2115
|
+
{
|
|
2116
|
+
internalType: "address",
|
|
2117
|
+
name: "src",
|
|
2118
|
+
type: "address",
|
|
2119
|
+
},
|
|
2120
|
+
{
|
|
2121
|
+
internalType: "address",
|
|
2122
|
+
name: "dst",
|
|
2123
|
+
type: "address",
|
|
2124
|
+
},
|
|
2125
|
+
{
|
|
2126
|
+
internalType: "uint256",
|
|
2127
|
+
name: "transferTokens",
|
|
2128
|
+
type: "uint256",
|
|
2129
|
+
},
|
|
2130
|
+
],
|
|
2131
|
+
name: "transferVerify",
|
|
2132
|
+
outputs: [],
|
|
2133
|
+
payable: false,
|
|
2134
|
+
stateMutability: "nonpayable",
|
|
2135
|
+
type: "function",
|
|
2136
|
+
},
|
|
2137
|
+
];
|
|
2138
|
+
|
|
2139
|
+
const _bytecode =
|
|
2140
|
+
"0x608060405234801561001057600080fd5b50600080546001600160a01b03191633179055615c8c80620000336000396000f3fe6080604052600436106104255760003560e01c80636d154ea511610229578063bb82aa5e1161012e578063dce15449116100b6578063eabe7d911161007a578063eabe7d9114611501578063ed302dfd14611544578063ede4edd014611575578063f0663983146115a8578063f851a440146115ea57610425565b8063dce1544914611450578063dcfbc0c714611489578063e4028eee1461149e578063e6653f3d146114d7578063e8755446146114ec57610425565b8063c488847b116100fd578063c488847b1461130d578063ceeca69314611369578063d02f73511461137e578063d81c5e45146113d1578063da3d454c1461140d57610425565b8063bb82aa5e146111ce578063bd60aac4146111e3578063bdcdc25814611216578063c29982381461125f57610425565b806388e972b8116101b157806394b2294b1161018057806394b2294b146110d9578063a76b3fda146110ee578063abfceffc14611121578063ac0b0bb7146111a4578063b0772d0b146111b957610425565b806388e972b814610fd95780638e8f294b1461101d5780638ebf636414611072578063929fe9a11461109e57610425565b80637937969d116101f85780637937969d14610e20578063796b89b914610e645780637dc0d1d014610e7957806387f7630314610e8e5780638805714b14610ea357610425565b80636d154ea514610ca15780636d35bf9114610cd4578063731f0c2b14610d27578063744532ae14610d5a57610425565b806341c728b91161032f57806351dff989116102b75780635ec88c79116102865780635ec88c7914610ad45780635f5af1aa14610b075780635fc7e71e14610b3a578063607ef6c114610b8d5780636a56947e14610c5857610425565b806351dff989146109eb57806352d84d1e14610a3457806355ee1fe114610a5e5780635c77860514610a9157610425565b80634b3a0a74116102fe5780634b3a0a741461087a5780634c0cc832146108de5780634e79238f146109175780634ef4c3e11461097e5780634fd42e17146109c157610425565b806341c728b91461079057806347ef3b3b146107d95780634a584432146108325780634ada90af1461086557610425565b806324a3d622116103b25780632d70db78116103815780632d70db78146106b7578063317b0b77146106e3578063391957d71461070d5780633bcf7ec1146107405780633c94786f1461077b57610425565b806324a3d6221461063c578063267822471461065157806326d71f1e146106665780632b7e34341461067b57610425565b806318c882a5116103f957806318c882a5146105055780631d504dc6146105405780631ededc911461057357806321af4569146105c257806324008a62146105f357610425565b80627e3dd21461042757806305b9783d146104505780630952c5631461049e5780630b8d87df146104da575b005b34801561043357600080fd5b5061043c6115ff565b604080519115158252519081900360200190f35b34801561045c57600080fd5b5061048c6004803603604081101561047357600080fd5b50803560ff1690602001356001600160a01b0316611604565b60408051918252519081900360200190f35b3480156104aa57600080fd5b50610425600480360360408110156104c157600080fd5b50803560ff1690602001356001600160a01b0316611621565b3480156104e657600080fd5b506104ef6115ff565b6040805160ff9092168252519081900360200190f35b34801561051157600080fd5b5061043c6004803603604081101561052857600080fd5b506001600160a01b038135169060200135151561168a565b34801561054c57600080fd5b506104256004803603602081101561056357600080fd5b50356001600160a01b031661182a565b34801561057f57600080fd5b50610425600480360360a081101561059657600080fd5b506001600160a01b03813581169160208101358216916040820135169060608101359060800135611989565b3480156105ce57600080fd5b506105d7611990565b604080516001600160a01b039092168252519081900360200190f35b3480156105ff57600080fd5b5061048c6004803603608081101561061657600080fd5b506001600160a01b0381358116916020810135821691604082013516906060013561199f565b34801561064857600080fd5b506105d7611a5c565b34801561065d57600080fd5b506105d7611a6b565b34801561067257600080fd5b506105d7611a7a565b34801561068757600080fd5b5061048c6004803603604081101561069e57600080fd5b50803560ff1690602001356001600160a01b0316611a89565b3480156106c357600080fd5b5061043c600480360360208110156106da57600080fd5b50351515611aa6565b3480156106ef57600080fd5b5061048c6004803603602081101561070657600080fd5b5035611be0565b34801561071957600080fd5b506104256004803603602081101561073057600080fd5b50356001600160a01b0316611c8d565b34801561074c57600080fd5b5061043c6004803603604081101561076357600080fd5b506001600160a01b0381351690602001351515611d39565b34801561078757600080fd5b5061043c611ed4565b34801561079c57600080fd5b50610425600480360360808110156107b357600080fd5b506001600160a01b03813581169160208101359091169060408101359060600135611ee4565b3480156107e557600080fd5b50610425600480360360c08110156107fc57600080fd5b506001600160a01b0381358116916020810135821691604082013581169160608101359091169060808101359060a00135611eea565b34801561083e57600080fd5b5061048c6004803603602081101561085557600080fd5b50356001600160a01b0316611ef2565b34801561087157600080fd5b5061048c611f04565b34801561088657600080fd5b506108b66004803603604081101561089d57600080fd5b50803560ff1690602001356001600160a01b0316611f0a565b604080516001600160e01b03909316835263ffffffff90911660208301528051918290030190f35b3480156108ea57600080fd5b506104256004803603604081101561090157600080fd5b506001600160a01b038135169060200135611f3f565b34801561092357600080fd5b506109606004803603608081101561093a57600080fd5b506001600160a01b03813581169160208101359091169060408101359060600135612044565b60408051938452602084019290925282820152519081900360600190f35b34801561098a57600080fd5b5061048c600480360360608110156109a157600080fd5b506001600160a01b0381358116916020810135909116906040013561207e565b3480156109cd57600080fd5b5061048c600480360360208110156109e457600080fd5b503561211b565b3480156109f757600080fd5b5061042560048036036080811015610a0e57600080fd5b506001600160a01b0381358116916020810135909116906040810135906060013561218b565b348015610a4057600080fd5b506105d760048036036020811015610a5757600080fd5b50356121df565b348015610a6a57600080fd5b5061048c60048036036020811015610a8157600080fd5b50356001600160a01b0316612206565b348015610a9d57600080fd5b5061042560048036036060811015610ab457600080fd5b506001600160a01b0381358116916020810135909116906040013561228b565b348015610ae057600080fd5b5061096060048036036020811015610af757600080fd5b50356001600160a01b0316612290565b348015610b1357600080fd5b5061048c60048036036020811015610b2a57600080fd5b50356001600160a01b03166122c5565b348015610b4657600080fd5b5061048c600480360360a0811015610b5d57600080fd5b506001600160a01b0381358116916020810135821691604082013581169160608101359091169060800135612349565b348015610b9957600080fd5b5061042560048036036040811015610bb057600080fd5b810190602081018135600160201b811115610bca57600080fd5b820183602082011115610bdc57600080fd5b803590602001918460208302840111600160201b83111715610bfd57600080fd5b919390929091602081019035600160201b811115610c1a57600080fd5b820183602082011115610c2c57600080fd5b803590602001918460208302840111600160201b83111715610c4d57600080fd5b5090925090506124ae565b348015610c6457600080fd5b5061042560048036036080811015610c7b57600080fd5b506001600160a01b03813581169160208101358216916040820135169060600135611ee4565b348015610cad57600080fd5b5061043c60048036036020811015610cc457600080fd5b50356001600160a01b031661263e565b348015610ce057600080fd5b50610425600480360360a0811015610cf757600080fd5b506001600160a01b0381358116916020810135821691604082013581169160608101359091169060800135611989565b348015610d3357600080fd5b5061043c60048036036020811015610d4a57600080fd5b50356001600160a01b0316612653565b348015610d6657600080fd5b5061042560048036036060811015610d7d57600080fd5b60ff823516916001600160a01b0360208201351691810190606081016040820135600160201b811115610daf57600080fd5b820183602082011115610dc157600080fd5b803590602001918460208302840111600160201b83111715610de257600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550612668945050505050565b348015610e2c57600080fd5b5061048c60048036036060811015610e4357600080fd5b5060ff813516906001600160a01b03602082013581169160400135166126c6565b348015610e7057600080fd5b5061048c6126e9565b348015610e8557600080fd5b506105d76126ee565b348015610e9a57600080fd5b5061043c6126fd565b610425600480360360a0811015610eb957600080fd5b60ff8235169190810190604081016020820135600160201b811115610edd57600080fd5b820183602082011115610eef57600080fd5b803590602001918460208302840111600160201b83111715610f1057600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b811115610f5f57600080fd5b820183602082011115610f7157600080fd5b803590602001918460208302840111600160201b83111715610f9257600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955050505080351515915060200135151561270d565b348015610fe557600080fd5b5061048c60048036036060811015610ffc57600080fd5b5060ff813516906001600160a01b0360208201358116916040013516612a47565b34801561102957600080fd5b506110506004803603602081101561104057600080fd5b50356001600160a01b0316612a6a565b6040805193151584526020840192909252151582820152519081900360600190f35b34801561107e57600080fd5b5061043c6004803603602081101561109557600080fd5b50351515612a90565b3480156110aa57600080fd5b5061043c600480360360408110156110c157600080fd5b506001600160a01b0381358116916020013516612bc9565b3480156110e557600080fd5b5061048c612bfc565b3480156110fa57600080fd5b5061048c6004803603602081101561111157600080fd5b50356001600160a01b0316612c02565b34801561112d57600080fd5b506111546004803603602081101561114457600080fd5b50356001600160a01b0316612d5f565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015611190578181015183820152602001611178565b505050509050019250505060405180910390f35b3480156111b057600080fd5b5061043c612de8565b3480156111c557600080fd5b50611154612df8565b3480156111da57600080fd5b506105d7612e5a565b3480156111ef57600080fd5b506104256004803603602081101561120657600080fd5b50356001600160a01b0316612e69565b34801561122257600080fd5b5061048c6004803603608081101561123957600080fd5b506001600160a01b03813581169160208101358216916040820135169060600135612ea2565b34801561126b57600080fd5b506111546004803603602081101561128257600080fd5b810190602081018135600160201b81111561129c57600080fd5b8201836020820111156112ae57600080fd5b803590602001918460208302840111600160201b831117156112cf57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550612f29945050505050565b34801561131957600080fd5b506113506004803603606081101561133057600080fd5b506001600160a01b03813581169160208101359091169060400135612fc0565b6040805192835260208301919091528051918290030190f35b34801561137557600080fd5b506104ef6131e8565b34801561138a57600080fd5b5061048c600480360360a08110156113a157600080fd5b506001600160a01b03813581169160208101358216916040820135811691606081013590911690608001356131ed565b3480156113dd57600080fd5b506108b6600480360360408110156113f457600080fd5b50803560ff1690602001356001600160a01b0316613398565b34801561141957600080fd5b5061048c6004803603606081101561143057600080fd5b506001600160a01b038135811691602081013590911690604001356133cd565b34801561145c57600080fd5b506105d76004803603604081101561147357600080fd5b506001600160a01b03813516906020013561379e565b34801561149557600080fd5b506105d76137d3565b3480156114aa57600080fd5b5061048c600480360360408110156114c157600080fd5b506001600160a01b0381351690602001356137e2565b3480156114e357600080fd5b5061043c613992565b3480156114f857600080fd5b5061048c6139a2565b34801561150d57600080fd5b5061048c6004803603606081101561152457600080fd5b506001600160a01b038135811691602081013590911690604001356139a8565b34801561155057600080fd5b506115596139da565b604080516001600160e01b039092168252519081900360200190f35b34801561158157600080fd5b5061048c6004803603602081101561159857600080fd5b50356001600160a01b03166139ed565b3480156115b457600080fd5b50610425600480360360608110156115cb57600080fd5b5060ff813516906001600160a01b036020820135169060400135613d00565b3480156115f657600080fd5b506105d7613db5565b600181565b601660209081526000928352604080842090915290825290205481565b6116868282600d80548060200260200160405190810160405280929190818152602001828054801561167c57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161165e575b5050505050612668565b5050565b6001600160a01b03821660009081526009602052604081205460ff166116e15760405162461bcd60e51b8152600401808060200182810382526028815260200180615b426028913960400191505060405180910390fd5b600a546001600160a01b031633148061170457506000546001600160a01b031633145b61173f5760405162461bcd60e51b8152600401808060200182810382526027815260200180615b8a6027913960400191505060405180910390fd5b6000546001600160a01b031633148061175a57506001821515145b6117a4576040805162461bcd60e51b81526020600482015260166024820152756f6e6c792061646d696e2063616e20756e706175736560501b604482015290519081900360640190fd5b6001600160a01b0383166000818152600c6020908152604091829020805486151560ff199091168117909155825193845283830152606090830181905260069083015265426f72726f7760d01b6080830152517f71aec636243f9709bb0007ae15e9afb8150ab01716d75fd7573be5cc096e03b09181900360a00190a150805b92915050565b806001600160a01b031663f851a4406040518163ffffffff1660e01b815260040160206040518083038186803b15801561186357600080fd5b505afa158015611877573d6000803e3d6000fd5b505050506040513d602081101561188d57600080fd5b50516001600160a01b031633146118d55760405162461bcd60e51b8152600401808060200182810382526027815260200180615c316027913960400191505060405180910390fd5b806001600160a01b031663c1e803346040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561191057600080fd5b505af1158015611924573d6000803e3d6000fd5b505050506040513d602081101561193a57600080fd5b505115611986576040805162461bcd60e51b815260206004820152601560248201527418da185b99d9481b9bdd08185d5d1a1bdc9a5e9959605a1b604482015290519081900360640190fd5b50565b5050505050565b600e546001600160a01b031681565b6001600160a01b03841660009081526009602052604081205460ff166119c757506009611a54565b6119cf615a82565b6040518060200160405280876001600160a01b031663aa5af0fd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611a1357600080fd5b505afa158015611a27573d6000803e3d6000fd5b505050506040513d6020811015611a3d57600080fd5b505190529050611a4e868583613dc4565b60009150505b949350505050565b600a546001600160a01b031681565b6001546001600160a01b031681565b6017546001600160a01b031681565b601160209081526000928352604080842090915290825290205481565b600a546000906001600160a01b0316331480611acc57506000546001600160a01b031633145b611b075760405162461bcd60e51b8152600401808060200182810382526027815260200180615b8a6027913960400191505060405180910390fd5b6000546001600160a01b0316331480611b2257506001821515145b611b6c576040805162461bcd60e51b81526020600482015260166024820152756f6e6c792061646d696e2063616e20756e706175736560501b604482015290519081900360640190fd5b600a8054831515600160b81b810260ff60b81b1990921691909117909155604080516020810192909252808252600582820152645365697a6560d81b6060830152517fef159d9a32b2472e32b098f954f3ce62d232939f1c207070b584df1814de2de09181900360800190a150805b919050565b600080546001600160a01b03163314611c40576040805162461bcd60e51b815260206004820152601f60248201527f6f6e6c792061646d696e2063616e2073657420636c6f736520666163746f7200604482015290519081900360640190fd5b6005805490839055604080518281526020810185905281517f3b9670cf975d26958e754b57098eaa2ac914d8d2a31b83257997b9f346110fd9929181900390910190a160005b9392505050565b6000546001600160a01b03163314611cd65760405162461bcd60e51b8152600401808060200182810382526026815260200180615bb16026913960400191505060405180910390fd5b600e80546001600160a01b038381166001600160a01b0319831681179093556040805191909216808252602082019390935281517feda98690e518e9a05f8ec6837663e188211b2da8f4906648b323f2c1d4434e29929181900390910190a15050565b6001600160a01b03821660009081526009602052604081205460ff16611d905760405162461bcd60e51b8152600401808060200182810382526028815260200180615b426028913960400191505060405180910390fd5b600a546001600160a01b0316331480611db357506000546001600160a01b031633145b611dee5760405162461bcd60e51b8152600401808060200182810382526027815260200180615b8a6027913960400191505060405180910390fd5b6000546001600160a01b0316331480611e0957506001821515145b611e53576040805162461bcd60e51b81526020600482015260166024820152756f6e6c792061646d696e2063616e20756e706175736560501b604482015290519081900360640190fd5b6001600160a01b0383166000818152600b6020908152604091829020805486151560ff199091168117909155825193845283830152606090830181905260049083015263135a5b9d60e21b6080830152517f71aec636243f9709bb0007ae15e9afb8150ab01716d75fd7573be5cc096e03b09181900360a00190a150919050565b600a54600160a01b900460ff1681565b50505050565b505050505050565b600f6020526000908152604090205481565b60065481565b60136020908152600092835260408084209091529082529020546001600160e01b03811690600160e01b900463ffffffff1682565b611f47613df1565b611f98576040805162461bcd60e51b815260206004820152601a60248201527f6f6e6c792061646d696e2063616e206772616e742062656e7169000000000000604482015290519081900360640190fd5b6000611fa660008484613e1a565b90508015611ffb576040805162461bcd60e51b815260206004820152601c60248201527f696e73756666696369656e742062656e716920666f72206772616e7400000000604482015290519081900360640190fd5b604080516001600160a01b03851681526020810184905281517f23b40999b12039b28906192443f166517e9b2c60ff1fd6ec74637416e1204417929181900390910190a1505050565b6000806000806000806120598a8a8a8a613fba565b92509250925082601181111561206b57fe5b95509093509150505b9450945094915050565b6001600160a01b0383166000908152600b602052604081205460ff16156120dd576040805162461bcd60e51b815260206004820152600e60248201526d1b5a5b9d081a5cc81c185d5cd95960921b604482015290519081900360640190fd5b6001600160a01b03841660009081526009602052604090205460ff166121075760095b9050611c86565b61211184846142f2565b6000949350505050565b600080546001600160a01b031633146121415761213a6001600b61431d565b9050611bdb565b6006805490839055604080518281526020810185905281517faeba5a6c40a8ac138134bff1aaa65debf25971188a58804bad717f82f0ec1316929181900390910190a16000611c86565b801580156121995750600082115b15611ee4576040805162461bcd60e51b815260206004820152601160248201527072656465656d546f6b656e73207a65726f60781b604482015290519081900360640190fd5b600d81815481106121ec57fe5b6000918252602090912001546001600160a01b0316905081565b600080546001600160a01b031633146122255761213a6001601061431d565b600480546001600160a01b038481166001600160a01b0319831681179093556040805191909216808252602082019390935281517fd52b2b9b7e9ee655fcb95d2e5b9e0c9f69e7ef2b8e9d2d0ea78402d576d22e22929181900390910190a16000611c86565b505050565b6000806000806000806122a7876000806000613fba565b9250925092508260118111156122b957fe5b97919650945092505050565b600080546001600160a01b031633146122e45761213a6001601361431d565b600a80546001600160a01b038481166001600160a01b0319831617928390556040805192821680845293909116602083015280517f0613b6ee6a04f0d09f390e4d9318894b9f6ac7fd83897cd8d18896ba579c401e9281900390910190a16000611c86565b6001600160a01b03851660009081526009602052604081205460ff16158061238a57506001600160a01b03851660009081526009602052604090205460ff16155b156123995760095b90506124a5565b6000806123a585614383565b919350909150600090508260118111156123bb57fe5b146123d5578160118111156123cc57fe5b925050506124a5565b806123e15760036123cc565b6000886001600160a01b03166395dd9193876040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561243957600080fd5b505afa15801561244d573d6000803e3d6000fd5b505050506040513d602081101561246357600080fd5b50516040805160208101909152600554815290915060009061248590836143a3565b90508086111561249c5760119450505050506124a5565b60009450505050505b95945050505050565b6000546001600160a01b03163314806124d15750600e546001600160a01b031633145b61250c5760405162461bcd60e51b8152600401808060200182810382526035815260200180615bd76035913960400191505060405180910390fd5b8281811580159061251c57508082145b61255d576040805162461bcd60e51b815260206004820152600d60248201526c1a5b9d985b1a59081a5b9c1d5d609a1b604482015290519081900360640190fd5b60005b828110156126355784848281811061257457fe5b90506020020135600f600089898581811061258b57fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b03168152602001908152602001600020819055508686828181106125cb57fe5b905060200201356001600160a01b03166001600160a01b03167f6f1951b2aad10f3fc81b86d91105b413a5b3f847a34bbc5ce1904201b14438f686868481811061261157fe5b905060200201356040518082815260200191505060405180910390a2600101612560565b50505050505050565b600c6020526000908152604090205460ff1681565b600b6020526000908152604090205460ff1681565b60408051600180825281830190925260609160208083019080388339019050509050828160008151811061269857fe5b60200260200101906001600160a01b031690816001600160a01b031681525050611ee484828460018061270d565b601560209081526000938452604080852082529284528284209052825290205481565b425b90565b6004546001600160a01b031681565b600a54600160b01b900460ff1681565b60018560ff16111561275e576040805162461bcd60e51b81526020600482015260156024820152741c995dd85c99151e5c19481a5cc81a5b9d985b1a59605a1b604482015290519081900360640190fd5b60005b8351811015611eea57600084828151811061277857fe5b6020908102919091018101516001600160a01b0381166000908152600990925260409091205490915060ff166127ed576040805162461bcd60e51b81526020600482015260156024820152741b585c9ad95d081b5d5cdd081899481b1a5cdd1959605a1b604482015290519081900360640190fd5b6001841515141561296c57612800615a82565b6040518060200160405280836001600160a01b031663aa5af0fd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561284457600080fd5b505afa158015612858573d6000803e3d6000fd5b505050506040513d602081101561286e57600080fd5b50519052905061287f8883836143c2565b60005b8751811015612969576128aa89848a848151811061289c57fe5b6020026020010151856146f4565b61291a8960ff168983815181106128bd57fe5b6020026020010151601660008d60ff1660ff16815260200190815260200160002060008c86815181106128ec57fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002054613e1a565b60ff8a1660009081526016602052604081208a519091908b908590811061293d57fe5b6020908102919091018101516001600160a01b0316825281019190915260400160002055600101612882565b50505b60018315151415612a3e576129818782614944565b60005b8651811015612a3c576129ab888389848151811061299e57fe5b6020026020010151614c36565b6129ed8860ff168883815181106129be57fe5b6020026020010151601660008c60ff1660ff16815260200190815260200160002060008b86815181106128ec57fe5b60ff8916600090815260166020526040812089519091908a9085908110612a1057fe5b6020908102919091018101516001600160a01b0316825281019190915260400160002055600101612984565b505b50600101612761565b601460209081526000938452604080852082529284528284209052825290205481565b60096020526000908152604090208054600182015460039092015460ff91821692911683565b600a546000906001600160a01b0316331480612ab657506000546001600160a01b031633145b612af15760405162461bcd60e51b8152600401808060200182810382526027815260200180615b8a6027913960400191505060405180910390fd5b6000546001600160a01b0316331480612b0c57506001821515145b612b56576040805162461bcd60e51b81526020600482015260166024820152756f6e6c792061646d696e2063616e20756e706175736560501b604482015290519081900360640190fd5b600a8054831515600160b01b810260ff60b01b1990921691909117909155604080516020810192909252808252600882820152672a3930b739b332b960c11b6060830152517fef159d9a32b2472e32b098f954f3ce62d232939f1c207070b584df1814de2de09181900360800190a15090565b6001600160a01b038082166000908152600960209081526040808320938616835260029093019052205460ff1692915050565b60075481565b600080546001600160a01b03163314612c215761213a6001601261431d565b6001600160a01b03821660009081526009602052604090205460ff1615612c4e5761213a600a601161431d565b816001600160a01b031663840bbeac6040518163ffffffff1660e01b815260040160206040518083038186803b158015612c8757600080fd5b505afa158015612c9b573d6000803e3d6000fd5b505050506040513d6020811015612cb157600080fd5b5050604080516060810182526001808252600060208381018281528486018381526001600160a01b03891684526009909252949091209251835490151560ff19918216178455935191830191909155516003909101805491151591909216179055612d1b82614e9d565b604080516001600160a01b038416815290517fcf583bb0c569eb967f806b11601c4cb93c10310485c67add5f8362c2f212321f9181900360200190a1600092915050565b60608060086000846001600160a01b03166001600160a01b03168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015612ddb57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311612dbd575b5093979650505050505050565b600a54600160b81b900460ff1681565b6060600d805480602002602001604051908101604052809291908181526020018280548015612e5057602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311612e32575b5050505050905090565b6002546001600160a01b031681565b6000546001600160a01b03163314612e8057600080fd5b601780546001600160a01b0319166001600160a01b0392909216919091179055565b600a54600090600160b01b900460ff1615612ef9576040805162461bcd60e51b81526020600482015260126024820152711d1c985b9cd9995c881a5cc81c185d5cd95960721b604482015290519081900360640190fd5b6000612f06868685614f7b565b90508015612f15579050611a54565b612f1f86866142f2565b611a4e86856142f2565b6060600082519050606081604051908082528060200260200182016040528015612f5d578160200160208202803883390190505b50905060005b82811015612fb8576000858281518110612f7957fe5b60200260200101519050612f8d8133615027565b6011811115612f9857fe5b838381518110612fa457fe5b602090810291909101015250600101612f63565b509392505050565b600480546040805163fc57d4df60e01b81526001600160a01b038781169482019490945290516000938493849391169163fc57d4df91602480820192602092909190829003018186803b15801561301657600080fd5b505afa15801561302a573d6000803e3d6000fd5b505050506040513d602081101561304057600080fd5b5051600480546040805163fc57d4df60e01b81526001600160a01b038a8116948201949094529051939450600093929091169163fc57d4df91602480820192602092909190829003018186803b15801561309957600080fd5b505afa1580156130ad573d6000803e3d6000fd5b505050506040513d60208110156130c357600080fd5b505190508115806130d2575080155b156130e757600d9350600092506131e0915050565b6000866001600160a01b031663182df0f56040518163ffffffff1660e01b815260040160206040518083038186803b15801561312257600080fd5b505afa158015613136573d6000803e3d6000fd5b505050506040513d602081101561314c57600080fd5b50519050600061315a615a82565b613162615a82565b61316a615a82565b613192604051806020016040528060065481525060405180602001604052808a81525061511d565b92506131ba60405180602001604052808881525060405180602001604052808881525061511d565b91506131c6838361515c565b90506131d2818b6143a3565b600099509750505050505050505b935093915050565b600081565b600a54600090600160b81b900460ff1615613241576040805162461bcd60e51b815260206004820152600f60248201526e1cd95a5e99481a5cc81c185d5cd959608a1b604482015290519081900360640190fd5b6001600160a01b03861660009081526009602052604090205460ff16158061328257506001600160a01b03851660009081526009602052604090205460ff16155b1561328e576009612392565b846001600160a01b0316635fe3b5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156132c757600080fd5b505afa1580156132db573d6000803e3d6000fd5b505050506040513d60208110156132f157600080fd5b505160408051635fe3b56760e01b815290516001600160a01b0392831692891691635fe3b567916004808301926020929190829003018186803b15801561333757600080fd5b505afa15801561334b573d6000803e3d6000fd5b505050506040513d602081101561336157600080fd5b50516001600160a01b031614613378576002612392565b61338286846142f2565b61338c86856142f2565b60009695505050505050565b60126020908152600092835260408084209091529082529020546001600160e01b03811690600160e01b900463ffffffff1682565b6001600160a01b0383166000908152600c602052604081205460ff161561342e576040805162461bcd60e51b815260206004820152601060248201526f189bdc9c9bddc81a5cc81c185d5cd95960821b604482015290519081900360640190fd5b6001600160a01b03841660009081526009602052604090205460ff16613455576009612100565b6001600160a01b038085166000908152600960209081526040808320938716835260029093019052205460ff1661354657336001600160a01b038516146134dc576040805162461bcd60e51b815260206004820152601660248201527539b2b73232b91036bab9ba1031329038b4aa37b5b2b760511b604482015290519081900360640190fd5b60006134e83385615027565b905060008160118111156134f857fe5b146135115780601181111561350957fe5b915050611c86565b6001600160a01b038086166000908152600960209081526040808320938816835260029093019052205460ff1661354457fe5b505b600480546040805163fc57d4df60e01b81526001600160a01b03888116948201949094529051929091169163fc57d4df91602480820192602092909190829003018186803b15801561359757600080fd5b505afa1580156135ab573d6000803e3d6000fd5b505050506040513d60208110156135c157600080fd5b50516135ce57600d612100565b6001600160a01b0384166000908152600f602052604090205480156136bb576000856001600160a01b03166347bd37186040518163ffffffff1660e01b815260040160206040518083038186803b15801561362857600080fd5b505afa15801561363c573d6000803e3d6000fd5b505050506040513d602081101561365257600080fd5b5051905060006136628286615198565b90508281106136b8576040805162461bcd60e51b815260206004820152601960248201527f6d61726b657420626f72726f7720636170207265616368656400000000000000604482015290519081900360640190fd5b50505b6000806136cb8688600088613fba565b919350909150600090508260118111156136e157fe5b146136fc578160118111156136f257fe5b9350505050611c86565b80156137095760046136f2565b613711615a82565b6040518060200160405280896001600160a01b031663aa5af0fd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561375557600080fd5b505afa158015613769573d6000803e3d6000fd5b505050506040513d602081101561377f57600080fd5b505190529050613790888883613dc4565b600098975050505050505050565b600860205281600052604060002081815481106137b757fe5b6000918252602090912001546001600160a01b03169150829050565b6003546001600160a01b031681565b600080546001600160a01b03163314613808576138016001600661431d565b9050611824565b6001600160a01b0383166000908152600960205260409020805460ff1661383d576138356009600761431d565b915050611824565b613845615a82565b50604080516020810190915283815261385c615a82565b506040805160208101909152670c7d713b49da0000815261387d81836151ce565b156138985761388e6006600861431d565b9350505050611824565b84158015906139215750600480546040805163fc57d4df60e01b81526001600160a01b038a8116948201949094529051929091169163fc57d4df91602480820192602092909190829003018186803b1580156138f357600080fd5b505afa158015613907573d6000803e3d6000fd5b505050506040513d602081101561391d57600080fd5b5051155b156139325761388e600d600961431d565b60018301805490869055604080516001600160a01b03891681526020810183905280820188905290517f70483e6592cd5182d45ac970e05bc62cdcc90e9d8ef2c2dbe686cf383bcd7fc59181900360600190a16000979650505050505050565b600a54600160a81b900460ff1681565b60055481565b6000806139b6858585614f7b565b905080156139c5579050611c86565b6139cf85856142f2565b600095945050505050565b6ec097ce7bc90715b34b9f100000000081565b6000808290506000806000836001600160a01b031663c37f68e2336040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060806040518083038186803b158015613a4e57600080fd5b505afa158015613a62573d6000803e3d6000fd5b505050506040513d6080811015613a7857600080fd5b508051602082015160409092015190945090925090508215613acb5760405162461bcd60e51b8152600401808060200182810382526025815260200180615c0c6025913960400191505060405180910390fd5b8015613ae857613add600c600261431d565b945050505050611bdb565b6000613af5873385614f7b565b90508015613b1657613b0a600e6003836151d5565b95505050505050611bdb565b6001600160a01b0385166000908152600960209081526040808320338452600281019092529091205460ff16613b555760009650505050505050611bdb565b3360009081526002820160209081526040808320805460ff191690556008825291829020805483518184028101840190945280845260609392830182828015613bc757602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311613ba9575b5050835193945083925060009150505b82811015613c1c57896001600160a01b0316848281518110613bf557fe5b60200260200101516001600160a01b03161415613c1457809150613c1c565b600101613bd7565b50818110613c2657fe5b336000908152600860205260409020805481906000198101908110613c4757fe5b9060005260206000200160009054906101000a90046001600160a01b0316818381548110613c7157fe5b600091825260209091200180546001600160a01b0319166001600160a01b03929092169190911790558054613caa826000198301615a95565b50604080516001600160a01b038c16815233602082015281517fe699a64c18b07ac5b7301aa273f36a2287239eb9501d81950672794afba29a0d929181900390910190a160009c9b505050505050505050505050565b60018360ff161115613d51576040805162461bcd60e51b81526020600482015260156024820152741c995dd85c99151e5c19481a5cc81a5b9d985b1a59605a1b604482015290519081900360640190fd5b613d59613df1565b613daa576040805162461bcd60e51b815260206004820152601f60248201527f6f6e6c792061646d696e2063616e207365742072657761726420737065656400604482015290519081900360640190fd5b61228b83838361523b565b6000546001600160a01b031681565b60005b60018160ff1611611ee457613ddd8185846143c2565b613de9818585856146f4565b600101613dc7565b600080546001600160a01b0316331480613e1557506002546001600160a01b031633145b905090565b600083613f5257601754604080516370a0823160e01b815230600482015290516001600160a01b039092169160009183916370a0823191602480820192602092909190829003018186803b158015613e7157600080fd5b505afa158015613e85573d6000803e3d6000fd5b505050506040513d6020811015613e9b57600080fd5b505190508315801590613eae5750808411155b15613f4b57816001600160a01b031663a9059cbb86866040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015613f1357600080fd5b505af1158015613f27573d6000803e3d6000fd5b505050506040513d6020811015613f3d57600080fd5b5060009350611c8692505050565b5050613fb3565b8360011415613fb357478215801590613f6b5750808311155b15613fb1576040516001600160a01b0385169084156108fc029085906000818181858888f19350505050158015613fa6573d6000803e3d6000fd5b506000915050611c86565b505b5092915050565b6000806000613fc7615ab9565b6001600160a01b0388166000908152600860209081526040808320805482518185028101850190935280835260609383018282801561402f57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311614011575b50939450600093505050505b81518110156142b357600082828151811061405257fe5b60200260200101519050806001600160a01b031663c37f68e28d6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060806040518083038186803b1580156140b257600080fd5b505afa1580156140c6573d6000803e3d6000fd5b505050506040513d60808110156140dc57600080fd5b508051602082015160408084015160609485015160808b01529389019390935291870191909152935083156141215750600f9650600095508594506120749350505050565b60408051602080820183526001600160a01b0380851660008181526009845285902060010154845260c08a01939093528351808301855260808a0151815260e08a015260048054855163fc57d4df60e01b815291820194909452935192169263fc57d4df9260248083019392829003018186803b1580156141a157600080fd5b505afa1580156141b5573d6000803e3d6000fd5b505050506040513d60208110156141cb57600080fd5b505160a086018190526141ee5750600d9650600095508594506120749350505050565b604080516020810190915260a0860151815261010086015260c085015160e08601516142289161421d9161511d565b86610100015161511d565b610120860181905260408601518651614242929190615630565b85526101008501516060860151602087015161425f929190615630565b60208601526001600160a01b03818116908c1614156142aa5761428c8561012001518b8760200151615630565b602086018190526101008601516142a4918b90615630565b60208601525b5060010161403b565b506020830151835111156142d95750506020810151905160009450039150829050612074565b5050805160209091015160009450849350039050612074565b60005b60018160ff161161228b5761430a8184614944565b614315818484614c36565b6001016142f5565b60007f45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa083601181111561434c57fe5b83601381111561435857fe5b604080519283526020830191909152600082820152519081900360600190a1826011811115611c8657fe5b6000806000614396846000806000613fba565b9250925092509193909250565b60006143ad615a82565b6143b78484615658565b9050611a5481615679565b60018360ff161115614413576040805162461bcd60e51b81526020600482015260156024820152741c995dd85c99151e5c19481a5cc81a5b9d985b1a59605a1b604482015290519081900360640190fd5b60ff831660008181526013602090815260408083206001600160a01b03871680855290835281842094845260118352818420908452909152812054906144576126e9565b8354909150600090614477908390600160e01b900463ffffffff16615688565b90506000811180156144895750600083115b156146995760006144fe876001600160a01b03166347bd37186040518163ffffffff1660e01b815260040160206040518083038186803b1580156144cc57600080fd5b505afa1580156144e0573d6000803e3d6000fd5b505050506040513d60208110156144f657600080fd5b5051876156c2565b9050600061450c83866156e0565b9050614516615a82565b60008311614533576040518060200160405280600081525061453d565b61453d8284615722565b9050614547615a82565b604080516020810190915288546001600160e01b031681526145699083615757565b905060405180604001604052806145b983600001516040518060400160405280601a81526020017f6e657720696e646578206578636565647320323234206269747300000000000081525061577c565b6001600160e01b031681526020016145f4886040518060400160405280601f8152602001600080516020615b6a833981519152815250615816565b63ffffffff16815250601360008d60ff1660ff16815260200190815260200160002060008c6001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a8154816001600160e01b0302191690836001600160e01b03160217905550602082015181600001601c6101000a81548163ffffffff021916908363ffffffff16021790555090505050505050612635565b8015612635576146cc826040518060400160405280601f8152602001600080516020615b6a833981519152815250615816565b845463ffffffff91909116600160e01b026001600160e01b0390911617845550505050505050565b60018460ff161115614745576040805162461bcd60e51b81526020600482015260156024820152741c995dd85c99151e5c19481a5cc81a5b9d985b1a59605a1b604482015290519081900360640190fd5b60ff841660009081526013602090815260408083206001600160a01b03871684529091529020614773615a82565b50604080516020810190915281546001600160e01b03168152614794615a82565b50604080516020808201835260ff89166000908152601582528381206001600160a01b03808b1683529083528482209089168083528184529482208054855286519590925290915291909155805115612635576147ef615a82565b6147f9838361586b565b90506000614856886001600160a01b03166395dd9193896040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156144cc57600080fd5b905060006148648284615890565b60ff8b1660009081526016602090815260408083206001600160a01b038d168452909152812054919250906148999083615198565b905080601660008d60ff1660ff16815260200190815260200160002060008b6001600160a01b03166001600160a01b0316815260200190815260200160002081905550886001600160a01b03168a6001600160a01b03168c60ff167fa1b6a046664a0ecf068059f26de56878f8d0e799907ca2e42d9148ccbdc717a7858a60000151604051808381526020018281526020019250505060405180910390a45050505050505050505050565b60018260ff161115614995576040805162461bcd60e51b81526020600482015260156024820152741c995dd85c99151e5c19481a5cc81a5b9d985b1a59605a1b604482015290519081900360640190fd5b60ff821660008181526012602090815260408083206001600160a01b03861680855290835281842094845260118352818420908452909152812054906149d96126e9565b83549091506000906149f9908390600160e01b900463ffffffff16615688565b9050600081118015614a0b5750600083115b15614bdc576000856001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015614a4b57600080fd5b505afa158015614a5f573d6000803e3d6000fd5b505050506040513d6020811015614a7557600080fd5b505190506000614a8583866156e0565b9050614a8f615a82565b60008311614aac5760405180602001604052806000815250614ab6565b614ab68284615722565b9050614ac0615a82565b604080516020810190915288546001600160e01b03168152614ae29083615757565b90506040518060400160405280614b3283600001516040518060400160405280601a81526020017f6e657720696e646578206578636565647320323234206269747300000000000081525061577c565b6001600160e01b03168152602001614b6d886040518060400160405280601f8152602001600080516020615b6a833981519152815250615816565b63ffffffff90811690915260ff8c1660009081526012602090815260408083206001600160a01b038f1684528252909120835181549490920151909216600160e01b026001600160e01b039182166001600160e01b0319909416939093171691909117905550611eea92505050565b8015611eea57614c0f826040518060400160405280601f8152602001600080516020615b6a833981519152815250615816565b845463ffffffff91909116600160e01b026001600160e01b03909116178455505050505050565b60018360ff161115614c87576040805162461bcd60e51b81526020600482015260156024820152741c995dd85c99151e5c19481a5cc81a5b9d985b1a59605a1b604482015290519081900360640190fd5b60ff831660009081526012602090815260408083206001600160a01b03861684529091529020614cb5615a82565b50604080516020810190915281546001600160e01b03168152614cd6615a82565b50604080516020808201835260ff88166000908152601482528381206001600160a01b03808a16835290835284822090881680835281845294822080548552865195909252909152919091558051158015614d315750815115155b15614d49576ec097ce7bc90715b34b9f100000000081525b614d51615a82565b614d5b838361586b565b90506000866001600160a01b03166370a08231876040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015614db557600080fd5b505afa158015614dc9573d6000803e3d6000fd5b505050506040513d6020811015614ddf57600080fd5b505190506000614def8284615890565b60ff8a1660009081526016602090815260408083206001600160a01b038c16845290915281205491925090614e249083615198565b60ff8b1660008181526016602090815260408083206001600160a01b03808f16808652918452938290208690558b51825189815293840152815195965094928e1693927faccd035d02c456be35306aecd5a5fe62320713dde09ccd68b0a5e8ed930399999281900390910190a450505050505050505050565b60005b600d54811015614f2857816001600160a01b0316600d8281548110614ec157fe5b6000918252602090912001546001600160a01b03161415614f20576040805162461bcd60e51b81526020600482015260146024820152731b585c9ad95d08185b1c9958591e48185919195960621b604482015290519081900360640190fd5b600101614ea0565b50600d80546001810182556000919091527fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03831660009081526009602052604081205460ff16614fa2576009612100565b6001600160a01b038085166000908152600960209081526040808320938716835260029093019052205460ff16614fda576000612100565b600080614fea8587866000613fba565b9193509091506000905082601181111561500057fe5b1461501a5781601181111561501157fe5b92505050611c86565b801561338c576004615011565b6001600160a01b0382166000908152600960205260408120805460ff16615052576009915050611824565b6001600160a01b038316600090815260028201602052604090205460ff16151560011415615084576000915050611824565b6001600160a01b0380841660008181526002840160209081526040808320805460ff19166001908117909155600883528184208054918201815584529282902090920180549489166001600160a01b031990951685179055815193845283019190915280517f3ab23ab0d51cccc0c3085aec51f99228625aa1a922b3a8ca89a26b0f2027a1a59281900390910190a15060009392505050565b615125615a82565b6040518060200160405280670de0b6b3a764000061514b866000015186600001516156e0565b8161515257fe5b0490529392505050565b615164615a82565b604051806020016040528061518f6151888660000151670de0b6b3a76400006156e0565b85516158bf565b90529392505050565b6000611c868383604051806040016040528060118152602001706164646974696f6e206f766572666c6f7760781b8152506158f2565b5190511090565b60007f45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa084601181111561520457fe5b84601381111561521057fe5b604080519283526020830191909152818101859052519081900360600190a1836011811115611a5457fe5b60ff831660009081526011602090815260408083206001600160a01b038616845290915290205480156152ff57615270615a82565b6040518060200160405280856001600160a01b031663aa5af0fd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156152b457600080fd5b505afa1580156152c8573d6000803e3d6000fd5b505050506040513d60208110156152de57600080fd5b5051905290506152ee8585614944565b6152f98585836143c2565b506155bd565b81156155bd576001600160a01b0383166000908152600960205260409020805460ff161515600114615378576040805162461bcd60e51b815260206004820152601a60248201527f62656e7169206d61726b6574206973206e6f74206c6973746564000000000000604482015290519081900360640190fd5b60ff851660009081526012602090815260408083206001600160a01b03881684529091529020546001600160e01b03161580156153e6575060ff851660009081526012602090815260408083206001600160a01b0388168452909152902054600160e01b900463ffffffff16155b156154ae5760405180604001604052806ec097ce7bc90715b34b9f10000000006001600160e01b0316815260200161544861541f6126e9565b6040518060400160405280601f8152602001600080516020615b6a833981519152815250615816565b63ffffffff90811690915260ff871660009081526012602090815260408083206001600160a01b038a1684528252909120835181549490920151909216600160e01b026001600160e01b039182166001600160e01b031990941693909317169190911790555b60ff851660009081526013602090815260408083206001600160a01b03881684529091529020546001600160e01b031615801561551c575060ff851660009081526013602090815260408083206001600160a01b0388168452909152902054600160e01b900463ffffffff16155b156155bb5760405180604001604052806ec097ce7bc90715b34b9f10000000006001600160e01b0316815260200161555561541f6126e9565b63ffffffff90811690915260ff871660009081526013602090815260408083206001600160a01b038a1684528252909120835181549490920151909216600160e01b026001600160e01b039182166001600160e01b031990941693909317169190911790555b505b818114611ee45760ff841660008181526011602090815260408083206001600160a01b038816808552908352928190208690558051938452908301859052805191927ffab3e36e10faad8967f2935c339d100f2a9967474535409986a1306be31f7b2f929081900390910190a250505050565b600061563a615a82565b6156448585615658565b90506124a561565282615679565b84615198565b615660615a82565b604051806020016040528061518f8560000151856156e0565b51670de0b6b3a7640000900490565b6000611c868383604051806040016040528060158152602001747375627472616374696f6e20756e646572666c6f7760581b815250615950565b6000611c866156d984670de0b6b3a76400006156e0565b83516158bf565b6000611c8683836040518060400160405280601781526020017f6d756c7469706c69636174696f6e206f766572666c6f770000000000000000008152506159aa565b61572a615a82565b604051806020016040528061518f615751866ec097ce7bc90715b34b9f10000000006156e0565b856158bf565b61575f615a82565b604051806020016040528061518f85600001518560000151615198565b600081600160e01b841061580e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156157d35781810151838201526020016157bb565b50505050905090810190601f1680156158005780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b509192915050565b600081600160201b841061580e5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156157d35781810151838201526020016157bb565b615873615a82565b604051806020016040528061518f85600001518560000151615688565b60006ec097ce7bc90715b34b9f10000000006158b08484600001516156e0565b816158b757fe5b049392505050565b6000611c8683836040518060400160405280600e81526020016d646976696465206279207a65726f60901b815250615a20565b600083830182858210156159475760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156157d35781810151838201526020016157bb565b50949350505050565b600081848411156159a25760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156157d35781810151838201526020016157bb565b505050900390565b60008315806159b7575082155b156159c457506000611c86565b838302838582816159d157fe5b041483906159475760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156157d35781810151838201526020016157bb565b60008183615a6f5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156157d35781810151838201526020016157bb565b50828481615a7957fe5b04949350505050565b6040518060200160405280600081525090565b81548183558181111561228b5760008381526020902061228b918101908301615b23565b604051806101400160405280600081526020016000815260200160008152602001600081526020016000815260200160008152602001615af7615a82565b8152602001615b04615a82565b8152602001615b11615a82565b8152602001615b1e615a82565b905290565b6126eb91905b80821115615b3d5760008155600101615b29565b509056fe63616e6e6f742070617573652061206d61726b65742074686174206973206e6f74206c6973746564626c6f636b2074696d657374616d7020657863656564732033322062697473006f6e6c7920706175736520677561726469616e20616e642061646d696e2063616e2070617573656f6e6c792061646d696e2063616e2073657420626f72726f772063617020677561726469616e6f6e6c792061646d696e206f7220626f72726f772063617020677561726469616e2063616e2073657420626f72726f772063617073657869744d61726b65743a206765744163636f756e74536e617073686f74206661696c65646f6e6c7920756e6974726f6c6c65722061646d696e2063616e206368616e676520627261696e73a265627a7a7231582084f6f177f61f0f7b2108f228e6e49b03d36a74b90f5706d9b751138f92bb699d64736f6c63430005110032";
|
|
2141
|
+
|
|
2142
|
+
type ComptrollerConstructorParams =
|
|
2143
|
+
| [signer?: Signer]
|
|
2144
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
2145
|
+
|
|
2146
|
+
const isSuperArgs = (
|
|
2147
|
+
xs: ComptrollerConstructorParams
|
|
2148
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
2149
|
+
|
|
2150
|
+
export class Comptroller__factory extends ContractFactory {
|
|
2151
|
+
constructor(...args: ComptrollerConstructorParams) {
|
|
2152
|
+
if (isSuperArgs(args)) {
|
|
2153
|
+
super(...args);
|
|
2154
|
+
} else {
|
|
2155
|
+
super(_abi, _bytecode, args[0]);
|
|
2156
|
+
}
|
|
2157
|
+
this.contractName = "Comptroller";
|
|
2158
|
+
}
|
|
2159
|
+
|
|
2160
|
+
deploy(
|
|
2161
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2162
|
+
): Promise<Comptroller> {
|
|
2163
|
+
return super.deploy(overrides || {}) as Promise<Comptroller>;
|
|
2164
|
+
}
|
|
2165
|
+
getDeployTransaction(
|
|
2166
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2167
|
+
): TransactionRequest {
|
|
2168
|
+
return super.getDeployTransaction(overrides || {});
|
|
2169
|
+
}
|
|
2170
|
+
attach(address: string): Comptroller {
|
|
2171
|
+
return super.attach(address) as Comptroller;
|
|
2172
|
+
}
|
|
2173
|
+
connect(signer: Signer): Comptroller__factory {
|
|
2174
|
+
return super.connect(signer) as Comptroller__factory;
|
|
2175
|
+
}
|
|
2176
|
+
static readonly contractName: "Comptroller";
|
|
2177
|
+
public readonly contractName: "Comptroller";
|
|
2178
|
+
static readonly bytecode = _bytecode;
|
|
2179
|
+
static readonly abi = _abi;
|
|
2180
|
+
static createInterface(): ComptrollerInterface {
|
|
2181
|
+
return new utils.Interface(_abi) as ComptrollerInterface;
|
|
2182
|
+
}
|
|
2183
|
+
static connect(
|
|
2184
|
+
address: string,
|
|
2185
|
+
signerOrProvider: Signer | Provider
|
|
2186
|
+
): Comptroller {
|
|
2187
|
+
return new Contract(address, _abi, signerOrProvider) as Comptroller;
|
|
2188
|
+
}
|
|
2189
|
+
}
|