@pendle/core-v2 0.6.4 → 0.6.5
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/SuperComposableYield/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/ISuperComposableYield.sol/ISuperComposableYield.json +0 -13
- package/build/artifacts/contracts/SuperComposableYield/SCYUtils.sol/SCYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/implementations/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/implementations/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBase.sol/SCYBase.json +0 -13
- package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.json +0 -13
- package/build/artifacts/contracts/core/PendleBaseToken.sol/PendleBaseToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleBaseToken.sol/PendleBaseToken.json +1 -1
- package/build/artifacts/contracts/core/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleMarket.sol/PendleMarket.json +51 -56
- package/build/artifacts/contracts/core/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleMarketFactory.sol/PendleMarketFactory.json +4 -30
- package/build/artifacts/contracts/core/PendleOwnershipToken.sol/PendleOwnershipToken.dbg.json +4 -0
- package/build/artifacts/contracts/core/PendleOwnershipToken.sol/PendleOwnershipToken.json +439 -0
- package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.json +2 -2
- package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.json +2 -20
- package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleBenQiErc20SCY.sol/PendleBenQiErc20SCY.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleBenQiErc20SCY.sol/PendleBenQiErc20SCY.json +16 -21
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleBtrflySCY.sol/PendleBtrflyScy.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleBtrflySCY.sol/PendleBtrflyScy.json +16 -21
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleStETHSCY.sol/PendleStEthSCY.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleStETHSCY.sol/PendleStEthSCY.json +18 -23
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleYearnVaultSCY.sol/PendleYearnVaultScy.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleYearnVaultSCY.sol/PendleYearnVaultScy.json +17 -22
- package/build/artifacts/contracts/core/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +7 -7
- package/build/artifacts/contracts/core/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleYieldToken.sol/PendleYieldToken.json +9 -9
- package/build/artifacts/contracts/core/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/core/RouterStatic.sol/RouterStatic.json +12 -628
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +3 -3
- package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.json +92 -128
- package/build/artifacts/contracts/core/actions/ActionRedeem.sol/PendleRouterRedeemUpg.dbg.json +4 -0
- package/build/artifacts/contracts/core/actions/ActionRedeem.sol/{ActionRedeem.json → PendleRouterRedeemUpg.json} +3 -3
- package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.json +69 -105
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndOTBase.sol/ActionSCYAndOTBase.dbg.json +4 -0
- package/build/artifacts/contracts/core/actions/base/{ActionSCYAndPTBase.sol/ActionSCYAndPTBase.json → ActionSCYAndOTBase.sol/ActionSCYAndOTBase.json} +2 -2
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndYOBase.sol/ActionSCYAndYOBase.dbg.json +4 -0
- package/build/artifacts/contracts/core/actions/base/{ActionSCYAndPYBase.sol/ActionSCYAndPYBase.json → ActionSCYAndYOBase.sol/ActionSCYAndYOBase.json} +14 -14
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.json +12 -12
- package/build/artifacts/contracts/core/actions/base/ActionType.sol/ActionType.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IJoePair.sol/IJoePair.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IJoeRouter01.sol/IJoeRouter01.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.json +78 -114
- package/build/artifacts/contracts/interfaces/IPActionRedeem.sol/IPActionRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.json +54 -90
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +138 -210
- package/build/artifacts/contracts/interfaces/IPBaseToken.sol/IPBaseToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +14 -14
- package/build/artifacts/contracts/interfaces/IPMarketAddRemoveCallback.sol/IPMarketAddRemoveCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketAddRemoveCallback.sol/IPMarketAddRemoveCallback.json +2 -2
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.json +1 -1
- package/build/artifacts/contracts/interfaces/IPOwnershipToken.sol/IPOwnershipToken.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{IPPrincipalToken.sol/IPPrincipalToken.json → IPOwnershipToken.sol/IPOwnershipToken.json} +2 -2
- package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +10 -626
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.json +3 -3
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +5 -5
- package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/JoeLibrary.sol/JoeLibrary.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/JoeLibrary.sol/JoeLibrary.json +2 -2
- package/build/artifacts/contracts/libraries/SCYIndex.sol/SCYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/SCYIndex.sol/SCYIndexLib.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.json +2 -2
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.json +2 -2
- package/build/artifacts/contracts/libraries/math/MarketMathAux.sol/MarketMathAux.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketMathAux.sol/MarketMathAux.json +2 -2
- package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/Math.sol/Math.json +2 -2
- package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.dbg.json +1 -1
- package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.json +3 -3
- package/build/artifacts/contracts/periphery/PendleJoeSwapHelperUpg.sol/PendleJoeSwapHelperUpg.dbg.json +1 -1
- package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +1 -1
- package/deployments/kovan.json +21 -24
- package/package.json +1 -1
- package/typechain-types/ActionCallback.ts +5 -5
- package/typechain-types/ActionCore.ts +280 -232
- package/typechain-types/{ActionSCYAndPYBase.ts → ActionSCYAndYOBase.ts} +54 -54
- package/typechain-types/ActionSCYAndYTBase.ts +49 -49
- package/typechain-types/ActionYT.ts +140 -92
- 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/IPActionCore.ts +231 -183
- package/typechain-types/IPActionYT.ts +91 -43
- package/typechain-types/IPAllAction.ts +322 -204
- package/typechain-types/IPFlashCallback.ts +115 -0
- package/typechain-types/IPLiquidYieldToken.ts +641 -0
- package/typechain-types/IPMarket.ts +55 -55
- package/typechain-types/IPMarketAddRemoveCallback.ts +10 -10
- package/typechain-types/IPMarketCallback.ts +107 -0
- package/typechain-types/IPMarketFactory.ts +3 -3
- package/typechain-types/IPMarketSwapCallback.ts +5 -5
- package/typechain-types/{IPPrincipalToken.ts → IPOwnershipToken.ts} +5 -5
- package/typechain-types/IPRouterCore.ts +769 -0
- package/typechain-types/IPRouterRedeem.ts +155 -0
- package/typechain-types/IPRouterStatic.ts +49 -529
- package/typechain-types/IPRouterYT.ts +489 -0
- package/typechain-types/IPYieldContractFactory.ts +19 -19
- package/typechain-types/IPYieldToken.ts +29 -29
- package/typechain-types/IPermissionsV2.ts +87 -0
- package/typechain-types/IRainbowBridge.ts +91 -0
- package/typechain-types/ISCYRewardIndex.ts +695 -0
- package/typechain-types/ISuperComposableYield.ts +0 -13
- 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/PendleAaveV3SCY.ts +0 -13
- package/typechain-types/PendleBaseToken.ts +1 -1
- package/typechain-types/PendleBenQiErc20LYT.ts +901 -0
- package/typechain-types/PendleBenQiErc20SCY.ts +20 -14
- package/typechain-types/PendleBenqiLiquidYieldToken.ts +1013 -0
- package/typechain-types/PendleBtrflyLYT.ts +781 -0
- package/typechain-types/PendleBtrflyScy.ts +20 -14
- package/typechain-types/PendleGauge.ts +469 -0
- package/typechain-types/PendleGovernanceManager.ts +5 -5
- 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/PendleMarket.ts +105 -102
- package/typechain-types/PendleMarketFactory.ts +8 -48
- package/typechain-types/{PendlePrincipalToken.ts → PendleOwnershipToken.ts} +6 -15
- 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/{ActionRedeem.ts → PendleRouterRedeemUpg.ts} +5 -5
- 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/PendleStEthSCY.ts +23 -15
- package/typechain-types/PendleYTLYTBenqi.ts +863 -0
- package/typechain-types/PendleYearnVaultLYT.ts +723 -0
- package/typechain-types/PendleYearnVaultScy.ts +23 -15
- package/typechain-types/PendleYieldContractFactory.ts +28 -28
- package/typechain-types/PendleYieldToken.ts +30 -30
- 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/RouterStatic.ts +49 -529
- package/typechain-types/SCYBase.ts +0 -13
- package/typechain-types/SCYBaseWithRewards.ts +0 -13
- 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/ActionCallback__factory.ts +2 -2
- package/typechain-types/factories/ActionCore__factory.ts +91 -127
- package/typechain-types/factories/{ActionSCYAndPYBase__factory.ts → ActionSCYAndYOBase__factory.ts} +20 -20
- package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +12 -12
- package/typechain-types/factories/ActionYT__factory.ts +68 -104
- 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/IPActionCore__factory.ts +78 -114
- package/typechain-types/factories/IPActionYT__factory.ts +54 -90
- package/typechain-types/factories/IPAllAction__factory.ts +138 -210
- package/typechain-types/factories/IPFlashCallback__factory.ts +49 -0
- package/typechain-types/factories/IPLiquidYieldToken__factory.ts +433 -0
- package/typechain-types/factories/IPMarketAddRemoveCallback__factory.ts +2 -2
- package/typechain-types/factories/IPMarketCallback__factory.ts +55 -0
- package/typechain-types/factories/IPMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/IPMarketSwapCallback__factory.ts +1 -1
- package/typechain-types/factories/IPMarket__factory.ts +14 -14
- package/typechain-types/factories/{IPPrincipalToken__factory.ts → IPOwnershipToken__factory.ts} +8 -8
- package/typechain-types/factories/IPRouterCore__factory.ts +531 -0
- package/typechain-types/factories/IPRouterRedeem__factory.ts +72 -0
- package/typechain-types/factories/IPRouterStatic__factory.ts +10 -626
- package/typechain-types/factories/IPRouterYT__factory.ts +305 -0
- package/typechain-types/factories/IPYieldContractFactory__factory.ts +3 -3
- package/typechain-types/factories/IPYieldToken__factory.ts +5 -5
- 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/ISuperComposableYield__factory.ts +0 -13
- 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/PendleAaveV3SCY__factory.ts +1 -24
- package/typechain-types/factories/PendleBaseToken__factory.ts +1 -1
- package/typechain-types/factories/PendleBenQiErc20LYT__factory.ts +748 -0
- package/typechain-types/factories/PendleBenQiErc20SCY__factory.ts +15 -25
- package/typechain-types/factories/PendleBenqiLiquidYieldToken__factory.ts +785 -0
- package/typechain-types/factories/PendleBtrflyLYT__factory.ts +647 -0
- package/typechain-types/factories/PendleBtrflyScy__factory.ts +15 -25
- package/typechain-types/factories/PendleGauge__factory.ts +383 -0
- package/typechain-types/factories/PendleGovernanceManager__factory.ts +2 -2
- 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/PendleMarketFactory__factory.ts +3 -29
- package/typechain-types/factories/PendleMarket__factory.ts +54 -59
- 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/{ActionRedeem__factory.ts → PendleRouterRedeemUpg__factory.ts} +26 -19
- 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/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleStEthSCY__factory.ts +17 -27
- package/typechain-types/factories/PendleYTLYTBenqi__factory.ts +713 -0
- package/typechain-types/factories/PendleYearnVaultLYT__factory.ts +586 -0
- package/typechain-types/factories/PendleYearnVaultScy__factory.ts +16 -26
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +6 -6
- package/typechain-types/factories/PendleYieldToken__factory.ts +12 -12
- 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/RouterStatic__factory.ts +11 -627
- package/typechain-types/factories/SCYBaseWithRewards__factory.ts +0 -13
- package/typechain-types/factories/SCYBase__factory.ts +0 -13
- 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 +20 -20
- package/typechain-types/index.ts +8 -8
- package/build/artifacts/contracts/core/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +0 -4
- package/build/artifacts/contracts/core/PendlePrincipalToken.sol/PendlePrincipalToken.json +0 -452
- package/build/artifacts/contracts/core/actions/ActionRedeem.sol/ActionRedeem.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +0 -4
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +0 -540
|
@@ -0,0 +1,1471 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import {
|
|
5
|
+
Signer,
|
|
6
|
+
utils,
|
|
7
|
+
Contract,
|
|
8
|
+
ContractFactory,
|
|
9
|
+
Overrides,
|
|
10
|
+
BigNumberish,
|
|
11
|
+
} from "ethers";
|
|
12
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
13
|
+
import type { QiAvax, QiAvaxInterface } from "../QiAvax";
|
|
14
|
+
|
|
15
|
+
const _abi = [
|
|
16
|
+
{
|
|
17
|
+
inputs: [
|
|
18
|
+
{
|
|
19
|
+
internalType: "contract ComptrollerInterface",
|
|
20
|
+
name: "comptroller_",
|
|
21
|
+
type: "address",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
internalType: "contract InterestRateModel",
|
|
25
|
+
name: "interestRateModel_",
|
|
26
|
+
type: "address",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
internalType: "uint256",
|
|
30
|
+
name: "initialExchangeRateMantissa_",
|
|
31
|
+
type: "uint256",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
internalType: "string",
|
|
35
|
+
name: "name_",
|
|
36
|
+
type: "string",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
internalType: "string",
|
|
40
|
+
name: "symbol_",
|
|
41
|
+
type: "string",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
internalType: "uint8",
|
|
45
|
+
name: "decimals_",
|
|
46
|
+
type: "uint8",
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
internalType: "address payable",
|
|
50
|
+
name: "admin_",
|
|
51
|
+
type: "address",
|
|
52
|
+
},
|
|
53
|
+
],
|
|
54
|
+
payable: false,
|
|
55
|
+
stateMutability: "nonpayable",
|
|
56
|
+
type: "constructor",
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
anonymous: false,
|
|
60
|
+
inputs: [
|
|
61
|
+
{
|
|
62
|
+
indexed: false,
|
|
63
|
+
internalType: "uint256",
|
|
64
|
+
name: "cashPrior",
|
|
65
|
+
type: "uint256",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
indexed: false,
|
|
69
|
+
internalType: "uint256",
|
|
70
|
+
name: "interestAccumulated",
|
|
71
|
+
type: "uint256",
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
indexed: false,
|
|
75
|
+
internalType: "uint256",
|
|
76
|
+
name: "borrowIndex",
|
|
77
|
+
type: "uint256",
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
indexed: false,
|
|
81
|
+
internalType: "uint256",
|
|
82
|
+
name: "totalBorrows",
|
|
83
|
+
type: "uint256",
|
|
84
|
+
},
|
|
85
|
+
],
|
|
86
|
+
name: "AccrueInterest",
|
|
87
|
+
type: "event",
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
anonymous: false,
|
|
91
|
+
inputs: [
|
|
92
|
+
{
|
|
93
|
+
indexed: true,
|
|
94
|
+
internalType: "address",
|
|
95
|
+
name: "owner",
|
|
96
|
+
type: "address",
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
indexed: true,
|
|
100
|
+
internalType: "address",
|
|
101
|
+
name: "spender",
|
|
102
|
+
type: "address",
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
indexed: false,
|
|
106
|
+
internalType: "uint256",
|
|
107
|
+
name: "amount",
|
|
108
|
+
type: "uint256",
|
|
109
|
+
},
|
|
110
|
+
],
|
|
111
|
+
name: "Approval",
|
|
112
|
+
type: "event",
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
anonymous: false,
|
|
116
|
+
inputs: [
|
|
117
|
+
{
|
|
118
|
+
indexed: false,
|
|
119
|
+
internalType: "address",
|
|
120
|
+
name: "borrower",
|
|
121
|
+
type: "address",
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
indexed: false,
|
|
125
|
+
internalType: "uint256",
|
|
126
|
+
name: "borrowAmount",
|
|
127
|
+
type: "uint256",
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
indexed: false,
|
|
131
|
+
internalType: "uint256",
|
|
132
|
+
name: "accountBorrows",
|
|
133
|
+
type: "uint256",
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
indexed: false,
|
|
137
|
+
internalType: "uint256",
|
|
138
|
+
name: "totalBorrows",
|
|
139
|
+
type: "uint256",
|
|
140
|
+
},
|
|
141
|
+
],
|
|
142
|
+
name: "Borrow",
|
|
143
|
+
type: "event",
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
anonymous: false,
|
|
147
|
+
inputs: [
|
|
148
|
+
{
|
|
149
|
+
indexed: false,
|
|
150
|
+
internalType: "uint256",
|
|
151
|
+
name: "error",
|
|
152
|
+
type: "uint256",
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
indexed: false,
|
|
156
|
+
internalType: "uint256",
|
|
157
|
+
name: "info",
|
|
158
|
+
type: "uint256",
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
indexed: false,
|
|
162
|
+
internalType: "uint256",
|
|
163
|
+
name: "detail",
|
|
164
|
+
type: "uint256",
|
|
165
|
+
},
|
|
166
|
+
],
|
|
167
|
+
name: "Failure",
|
|
168
|
+
type: "event",
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
anonymous: false,
|
|
172
|
+
inputs: [
|
|
173
|
+
{
|
|
174
|
+
indexed: false,
|
|
175
|
+
internalType: "address",
|
|
176
|
+
name: "liquidator",
|
|
177
|
+
type: "address",
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
indexed: false,
|
|
181
|
+
internalType: "address",
|
|
182
|
+
name: "borrower",
|
|
183
|
+
type: "address",
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
indexed: false,
|
|
187
|
+
internalType: "uint256",
|
|
188
|
+
name: "repayAmount",
|
|
189
|
+
type: "uint256",
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
indexed: false,
|
|
193
|
+
internalType: "address",
|
|
194
|
+
name: "qiTokenCollateral",
|
|
195
|
+
type: "address",
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
indexed: false,
|
|
199
|
+
internalType: "uint256",
|
|
200
|
+
name: "seizeTokens",
|
|
201
|
+
type: "uint256",
|
|
202
|
+
},
|
|
203
|
+
],
|
|
204
|
+
name: "LiquidateBorrow",
|
|
205
|
+
type: "event",
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
anonymous: false,
|
|
209
|
+
inputs: [
|
|
210
|
+
{
|
|
211
|
+
indexed: false,
|
|
212
|
+
internalType: "address",
|
|
213
|
+
name: "minter",
|
|
214
|
+
type: "address",
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
indexed: false,
|
|
218
|
+
internalType: "uint256",
|
|
219
|
+
name: "mintAmount",
|
|
220
|
+
type: "uint256",
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
indexed: false,
|
|
224
|
+
internalType: "uint256",
|
|
225
|
+
name: "mintTokens",
|
|
226
|
+
type: "uint256",
|
|
227
|
+
},
|
|
228
|
+
],
|
|
229
|
+
name: "Mint",
|
|
230
|
+
type: "event",
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
anonymous: false,
|
|
234
|
+
inputs: [
|
|
235
|
+
{
|
|
236
|
+
indexed: false,
|
|
237
|
+
internalType: "address",
|
|
238
|
+
name: "oldAdmin",
|
|
239
|
+
type: "address",
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
indexed: false,
|
|
243
|
+
internalType: "address",
|
|
244
|
+
name: "newAdmin",
|
|
245
|
+
type: "address",
|
|
246
|
+
},
|
|
247
|
+
],
|
|
248
|
+
name: "NewAdmin",
|
|
249
|
+
type: "event",
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
anonymous: false,
|
|
253
|
+
inputs: [
|
|
254
|
+
{
|
|
255
|
+
indexed: false,
|
|
256
|
+
internalType: "contract ComptrollerInterface",
|
|
257
|
+
name: "oldComptroller",
|
|
258
|
+
type: "address",
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
indexed: false,
|
|
262
|
+
internalType: "contract ComptrollerInterface",
|
|
263
|
+
name: "newComptroller",
|
|
264
|
+
type: "address",
|
|
265
|
+
},
|
|
266
|
+
],
|
|
267
|
+
name: "NewComptroller",
|
|
268
|
+
type: "event",
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
anonymous: false,
|
|
272
|
+
inputs: [
|
|
273
|
+
{
|
|
274
|
+
indexed: false,
|
|
275
|
+
internalType: "contract InterestRateModel",
|
|
276
|
+
name: "oldInterestRateModel",
|
|
277
|
+
type: "address",
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
indexed: false,
|
|
281
|
+
internalType: "contract InterestRateModel",
|
|
282
|
+
name: "newInterestRateModel",
|
|
283
|
+
type: "address",
|
|
284
|
+
},
|
|
285
|
+
],
|
|
286
|
+
name: "NewMarketInterestRateModel",
|
|
287
|
+
type: "event",
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
anonymous: false,
|
|
291
|
+
inputs: [
|
|
292
|
+
{
|
|
293
|
+
indexed: false,
|
|
294
|
+
internalType: "address",
|
|
295
|
+
name: "oldPendingAdmin",
|
|
296
|
+
type: "address",
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
indexed: false,
|
|
300
|
+
internalType: "address",
|
|
301
|
+
name: "newPendingAdmin",
|
|
302
|
+
type: "address",
|
|
303
|
+
},
|
|
304
|
+
],
|
|
305
|
+
name: "NewPendingAdmin",
|
|
306
|
+
type: "event",
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
anonymous: false,
|
|
310
|
+
inputs: [
|
|
311
|
+
{
|
|
312
|
+
indexed: false,
|
|
313
|
+
internalType: "uint256",
|
|
314
|
+
name: "oldProtocolSeizeShareMantissa",
|
|
315
|
+
type: "uint256",
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
indexed: false,
|
|
319
|
+
internalType: "uint256",
|
|
320
|
+
name: "newProtocolSeizeShareMantissa",
|
|
321
|
+
type: "uint256",
|
|
322
|
+
},
|
|
323
|
+
],
|
|
324
|
+
name: "NewProtocolSeizeShare",
|
|
325
|
+
type: "event",
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
anonymous: false,
|
|
329
|
+
inputs: [
|
|
330
|
+
{
|
|
331
|
+
indexed: false,
|
|
332
|
+
internalType: "uint256",
|
|
333
|
+
name: "oldReserveFactorMantissa",
|
|
334
|
+
type: "uint256",
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
indexed: false,
|
|
338
|
+
internalType: "uint256",
|
|
339
|
+
name: "newReserveFactorMantissa",
|
|
340
|
+
type: "uint256",
|
|
341
|
+
},
|
|
342
|
+
],
|
|
343
|
+
name: "NewReserveFactor",
|
|
344
|
+
type: "event",
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
anonymous: false,
|
|
348
|
+
inputs: [
|
|
349
|
+
{
|
|
350
|
+
indexed: false,
|
|
351
|
+
internalType: "address",
|
|
352
|
+
name: "redeemer",
|
|
353
|
+
type: "address",
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
indexed: false,
|
|
357
|
+
internalType: "uint256",
|
|
358
|
+
name: "redeemAmount",
|
|
359
|
+
type: "uint256",
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
indexed: false,
|
|
363
|
+
internalType: "uint256",
|
|
364
|
+
name: "redeemTokens",
|
|
365
|
+
type: "uint256",
|
|
366
|
+
},
|
|
367
|
+
],
|
|
368
|
+
name: "Redeem",
|
|
369
|
+
type: "event",
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
anonymous: false,
|
|
373
|
+
inputs: [
|
|
374
|
+
{
|
|
375
|
+
indexed: false,
|
|
376
|
+
internalType: "address",
|
|
377
|
+
name: "payer",
|
|
378
|
+
type: "address",
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
indexed: false,
|
|
382
|
+
internalType: "address",
|
|
383
|
+
name: "borrower",
|
|
384
|
+
type: "address",
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
indexed: false,
|
|
388
|
+
internalType: "uint256",
|
|
389
|
+
name: "repayAmount",
|
|
390
|
+
type: "uint256",
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
indexed: false,
|
|
394
|
+
internalType: "uint256",
|
|
395
|
+
name: "accountBorrows",
|
|
396
|
+
type: "uint256",
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
indexed: false,
|
|
400
|
+
internalType: "uint256",
|
|
401
|
+
name: "totalBorrows",
|
|
402
|
+
type: "uint256",
|
|
403
|
+
},
|
|
404
|
+
],
|
|
405
|
+
name: "RepayBorrow",
|
|
406
|
+
type: "event",
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
anonymous: false,
|
|
410
|
+
inputs: [
|
|
411
|
+
{
|
|
412
|
+
indexed: false,
|
|
413
|
+
internalType: "address",
|
|
414
|
+
name: "benefactor",
|
|
415
|
+
type: "address",
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
indexed: false,
|
|
419
|
+
internalType: "uint256",
|
|
420
|
+
name: "addAmount",
|
|
421
|
+
type: "uint256",
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
indexed: false,
|
|
425
|
+
internalType: "uint256",
|
|
426
|
+
name: "newTotalReserves",
|
|
427
|
+
type: "uint256",
|
|
428
|
+
},
|
|
429
|
+
],
|
|
430
|
+
name: "ReservesAdded",
|
|
431
|
+
type: "event",
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
anonymous: false,
|
|
435
|
+
inputs: [
|
|
436
|
+
{
|
|
437
|
+
indexed: false,
|
|
438
|
+
internalType: "address",
|
|
439
|
+
name: "admin",
|
|
440
|
+
type: "address",
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
indexed: false,
|
|
444
|
+
internalType: "uint256",
|
|
445
|
+
name: "reduceAmount",
|
|
446
|
+
type: "uint256",
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
indexed: false,
|
|
450
|
+
internalType: "uint256",
|
|
451
|
+
name: "newTotalReserves",
|
|
452
|
+
type: "uint256",
|
|
453
|
+
},
|
|
454
|
+
],
|
|
455
|
+
name: "ReservesReduced",
|
|
456
|
+
type: "event",
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
anonymous: false,
|
|
460
|
+
inputs: [
|
|
461
|
+
{
|
|
462
|
+
indexed: true,
|
|
463
|
+
internalType: "address",
|
|
464
|
+
name: "from",
|
|
465
|
+
type: "address",
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
indexed: true,
|
|
469
|
+
internalType: "address",
|
|
470
|
+
name: "to",
|
|
471
|
+
type: "address",
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
indexed: false,
|
|
475
|
+
internalType: "uint256",
|
|
476
|
+
name: "amount",
|
|
477
|
+
type: "uint256",
|
|
478
|
+
},
|
|
479
|
+
],
|
|
480
|
+
name: "Transfer",
|
|
481
|
+
type: "event",
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
payable: true,
|
|
485
|
+
stateMutability: "payable",
|
|
486
|
+
type: "fallback",
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
constant: false,
|
|
490
|
+
inputs: [],
|
|
491
|
+
name: "_acceptAdmin",
|
|
492
|
+
outputs: [
|
|
493
|
+
{
|
|
494
|
+
internalType: "uint256",
|
|
495
|
+
name: "",
|
|
496
|
+
type: "uint256",
|
|
497
|
+
},
|
|
498
|
+
],
|
|
499
|
+
payable: false,
|
|
500
|
+
stateMutability: "nonpayable",
|
|
501
|
+
type: "function",
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
constant: false,
|
|
505
|
+
inputs: [],
|
|
506
|
+
name: "_addReserves",
|
|
507
|
+
outputs: [
|
|
508
|
+
{
|
|
509
|
+
internalType: "uint256",
|
|
510
|
+
name: "",
|
|
511
|
+
type: "uint256",
|
|
512
|
+
},
|
|
513
|
+
],
|
|
514
|
+
payable: true,
|
|
515
|
+
stateMutability: "payable",
|
|
516
|
+
type: "function",
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
constant: false,
|
|
520
|
+
inputs: [
|
|
521
|
+
{
|
|
522
|
+
internalType: "uint256",
|
|
523
|
+
name: "reduceAmount",
|
|
524
|
+
type: "uint256",
|
|
525
|
+
},
|
|
526
|
+
],
|
|
527
|
+
name: "_reduceReserves",
|
|
528
|
+
outputs: [
|
|
529
|
+
{
|
|
530
|
+
internalType: "uint256",
|
|
531
|
+
name: "",
|
|
532
|
+
type: "uint256",
|
|
533
|
+
},
|
|
534
|
+
],
|
|
535
|
+
payable: false,
|
|
536
|
+
stateMutability: "nonpayable",
|
|
537
|
+
type: "function",
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
constant: false,
|
|
541
|
+
inputs: [
|
|
542
|
+
{
|
|
543
|
+
internalType: "contract ComptrollerInterface",
|
|
544
|
+
name: "newComptroller",
|
|
545
|
+
type: "address",
|
|
546
|
+
},
|
|
547
|
+
],
|
|
548
|
+
name: "_setComptroller",
|
|
549
|
+
outputs: [
|
|
550
|
+
{
|
|
551
|
+
internalType: "uint256",
|
|
552
|
+
name: "",
|
|
553
|
+
type: "uint256",
|
|
554
|
+
},
|
|
555
|
+
],
|
|
556
|
+
payable: false,
|
|
557
|
+
stateMutability: "nonpayable",
|
|
558
|
+
type: "function",
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
constant: false,
|
|
562
|
+
inputs: [
|
|
563
|
+
{
|
|
564
|
+
internalType: "contract InterestRateModel",
|
|
565
|
+
name: "newInterestRateModel",
|
|
566
|
+
type: "address",
|
|
567
|
+
},
|
|
568
|
+
],
|
|
569
|
+
name: "_setInterestRateModel",
|
|
570
|
+
outputs: [
|
|
571
|
+
{
|
|
572
|
+
internalType: "uint256",
|
|
573
|
+
name: "",
|
|
574
|
+
type: "uint256",
|
|
575
|
+
},
|
|
576
|
+
],
|
|
577
|
+
payable: false,
|
|
578
|
+
stateMutability: "nonpayable",
|
|
579
|
+
type: "function",
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
constant: false,
|
|
583
|
+
inputs: [
|
|
584
|
+
{
|
|
585
|
+
internalType: "address payable",
|
|
586
|
+
name: "newPendingAdmin",
|
|
587
|
+
type: "address",
|
|
588
|
+
},
|
|
589
|
+
],
|
|
590
|
+
name: "_setPendingAdmin",
|
|
591
|
+
outputs: [
|
|
592
|
+
{
|
|
593
|
+
internalType: "uint256",
|
|
594
|
+
name: "",
|
|
595
|
+
type: "uint256",
|
|
596
|
+
},
|
|
597
|
+
],
|
|
598
|
+
payable: false,
|
|
599
|
+
stateMutability: "nonpayable",
|
|
600
|
+
type: "function",
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
constant: false,
|
|
604
|
+
inputs: [
|
|
605
|
+
{
|
|
606
|
+
internalType: "uint256",
|
|
607
|
+
name: "newProtocolSeizeShareMantissa",
|
|
608
|
+
type: "uint256",
|
|
609
|
+
},
|
|
610
|
+
],
|
|
611
|
+
name: "_setProtocolSeizeShare",
|
|
612
|
+
outputs: [
|
|
613
|
+
{
|
|
614
|
+
internalType: "uint256",
|
|
615
|
+
name: "",
|
|
616
|
+
type: "uint256",
|
|
617
|
+
},
|
|
618
|
+
],
|
|
619
|
+
payable: false,
|
|
620
|
+
stateMutability: "nonpayable",
|
|
621
|
+
type: "function",
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
constant: false,
|
|
625
|
+
inputs: [
|
|
626
|
+
{
|
|
627
|
+
internalType: "uint256",
|
|
628
|
+
name: "newReserveFactorMantissa",
|
|
629
|
+
type: "uint256",
|
|
630
|
+
},
|
|
631
|
+
],
|
|
632
|
+
name: "_setReserveFactor",
|
|
633
|
+
outputs: [
|
|
634
|
+
{
|
|
635
|
+
internalType: "uint256",
|
|
636
|
+
name: "",
|
|
637
|
+
type: "uint256",
|
|
638
|
+
},
|
|
639
|
+
],
|
|
640
|
+
payable: false,
|
|
641
|
+
stateMutability: "nonpayable",
|
|
642
|
+
type: "function",
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
constant: true,
|
|
646
|
+
inputs: [],
|
|
647
|
+
name: "accrualBlockTimestamp",
|
|
648
|
+
outputs: [
|
|
649
|
+
{
|
|
650
|
+
internalType: "uint256",
|
|
651
|
+
name: "",
|
|
652
|
+
type: "uint256",
|
|
653
|
+
},
|
|
654
|
+
],
|
|
655
|
+
payable: false,
|
|
656
|
+
stateMutability: "view",
|
|
657
|
+
type: "function",
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
constant: false,
|
|
661
|
+
inputs: [],
|
|
662
|
+
name: "accrueInterest",
|
|
663
|
+
outputs: [
|
|
664
|
+
{
|
|
665
|
+
internalType: "uint256",
|
|
666
|
+
name: "",
|
|
667
|
+
type: "uint256",
|
|
668
|
+
},
|
|
669
|
+
],
|
|
670
|
+
payable: false,
|
|
671
|
+
stateMutability: "nonpayable",
|
|
672
|
+
type: "function",
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
constant: true,
|
|
676
|
+
inputs: [],
|
|
677
|
+
name: "admin",
|
|
678
|
+
outputs: [
|
|
679
|
+
{
|
|
680
|
+
internalType: "address payable",
|
|
681
|
+
name: "",
|
|
682
|
+
type: "address",
|
|
683
|
+
},
|
|
684
|
+
],
|
|
685
|
+
payable: false,
|
|
686
|
+
stateMutability: "view",
|
|
687
|
+
type: "function",
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
constant: true,
|
|
691
|
+
inputs: [
|
|
692
|
+
{
|
|
693
|
+
internalType: "address",
|
|
694
|
+
name: "owner",
|
|
695
|
+
type: "address",
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
internalType: "address",
|
|
699
|
+
name: "spender",
|
|
700
|
+
type: "address",
|
|
701
|
+
},
|
|
702
|
+
],
|
|
703
|
+
name: "allowance",
|
|
704
|
+
outputs: [
|
|
705
|
+
{
|
|
706
|
+
internalType: "uint256",
|
|
707
|
+
name: "",
|
|
708
|
+
type: "uint256",
|
|
709
|
+
},
|
|
710
|
+
],
|
|
711
|
+
payable: false,
|
|
712
|
+
stateMutability: "view",
|
|
713
|
+
type: "function",
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
constant: false,
|
|
717
|
+
inputs: [
|
|
718
|
+
{
|
|
719
|
+
internalType: "address",
|
|
720
|
+
name: "spender",
|
|
721
|
+
type: "address",
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
internalType: "uint256",
|
|
725
|
+
name: "amount",
|
|
726
|
+
type: "uint256",
|
|
727
|
+
},
|
|
728
|
+
],
|
|
729
|
+
name: "approve",
|
|
730
|
+
outputs: [
|
|
731
|
+
{
|
|
732
|
+
internalType: "bool",
|
|
733
|
+
name: "",
|
|
734
|
+
type: "bool",
|
|
735
|
+
},
|
|
736
|
+
],
|
|
737
|
+
payable: false,
|
|
738
|
+
stateMutability: "nonpayable",
|
|
739
|
+
type: "function",
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
constant: true,
|
|
743
|
+
inputs: [
|
|
744
|
+
{
|
|
745
|
+
internalType: "address",
|
|
746
|
+
name: "owner",
|
|
747
|
+
type: "address",
|
|
748
|
+
},
|
|
749
|
+
],
|
|
750
|
+
name: "balanceOf",
|
|
751
|
+
outputs: [
|
|
752
|
+
{
|
|
753
|
+
internalType: "uint256",
|
|
754
|
+
name: "",
|
|
755
|
+
type: "uint256",
|
|
756
|
+
},
|
|
757
|
+
],
|
|
758
|
+
payable: false,
|
|
759
|
+
stateMutability: "view",
|
|
760
|
+
type: "function",
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
constant: false,
|
|
764
|
+
inputs: [
|
|
765
|
+
{
|
|
766
|
+
internalType: "address",
|
|
767
|
+
name: "owner",
|
|
768
|
+
type: "address",
|
|
769
|
+
},
|
|
770
|
+
],
|
|
771
|
+
name: "balanceOfUnderlying",
|
|
772
|
+
outputs: [
|
|
773
|
+
{
|
|
774
|
+
internalType: "uint256",
|
|
775
|
+
name: "",
|
|
776
|
+
type: "uint256",
|
|
777
|
+
},
|
|
778
|
+
],
|
|
779
|
+
payable: false,
|
|
780
|
+
stateMutability: "nonpayable",
|
|
781
|
+
type: "function",
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
constant: false,
|
|
785
|
+
inputs: [
|
|
786
|
+
{
|
|
787
|
+
internalType: "uint256",
|
|
788
|
+
name: "borrowAmount",
|
|
789
|
+
type: "uint256",
|
|
790
|
+
},
|
|
791
|
+
],
|
|
792
|
+
name: "borrow",
|
|
793
|
+
outputs: [
|
|
794
|
+
{
|
|
795
|
+
internalType: "uint256",
|
|
796
|
+
name: "",
|
|
797
|
+
type: "uint256",
|
|
798
|
+
},
|
|
799
|
+
],
|
|
800
|
+
payable: false,
|
|
801
|
+
stateMutability: "nonpayable",
|
|
802
|
+
type: "function",
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
constant: false,
|
|
806
|
+
inputs: [
|
|
807
|
+
{
|
|
808
|
+
internalType: "address",
|
|
809
|
+
name: "account",
|
|
810
|
+
type: "address",
|
|
811
|
+
},
|
|
812
|
+
],
|
|
813
|
+
name: "borrowBalanceCurrent",
|
|
814
|
+
outputs: [
|
|
815
|
+
{
|
|
816
|
+
internalType: "uint256",
|
|
817
|
+
name: "",
|
|
818
|
+
type: "uint256",
|
|
819
|
+
},
|
|
820
|
+
],
|
|
821
|
+
payable: false,
|
|
822
|
+
stateMutability: "nonpayable",
|
|
823
|
+
type: "function",
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
constant: true,
|
|
827
|
+
inputs: [
|
|
828
|
+
{
|
|
829
|
+
internalType: "address",
|
|
830
|
+
name: "account",
|
|
831
|
+
type: "address",
|
|
832
|
+
},
|
|
833
|
+
],
|
|
834
|
+
name: "borrowBalanceStored",
|
|
835
|
+
outputs: [
|
|
836
|
+
{
|
|
837
|
+
internalType: "uint256",
|
|
838
|
+
name: "",
|
|
839
|
+
type: "uint256",
|
|
840
|
+
},
|
|
841
|
+
],
|
|
842
|
+
payable: false,
|
|
843
|
+
stateMutability: "view",
|
|
844
|
+
type: "function",
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
constant: true,
|
|
848
|
+
inputs: [],
|
|
849
|
+
name: "borrowIndex",
|
|
850
|
+
outputs: [
|
|
851
|
+
{
|
|
852
|
+
internalType: "uint256",
|
|
853
|
+
name: "",
|
|
854
|
+
type: "uint256",
|
|
855
|
+
},
|
|
856
|
+
],
|
|
857
|
+
payable: false,
|
|
858
|
+
stateMutability: "view",
|
|
859
|
+
type: "function",
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
constant: true,
|
|
863
|
+
inputs: [],
|
|
864
|
+
name: "borrowRatePerTimestamp",
|
|
865
|
+
outputs: [
|
|
866
|
+
{
|
|
867
|
+
internalType: "uint256",
|
|
868
|
+
name: "",
|
|
869
|
+
type: "uint256",
|
|
870
|
+
},
|
|
871
|
+
],
|
|
872
|
+
payable: false,
|
|
873
|
+
stateMutability: "view",
|
|
874
|
+
type: "function",
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
constant: true,
|
|
878
|
+
inputs: [],
|
|
879
|
+
name: "comptroller",
|
|
880
|
+
outputs: [
|
|
881
|
+
{
|
|
882
|
+
internalType: "contract ComptrollerInterface",
|
|
883
|
+
name: "",
|
|
884
|
+
type: "address",
|
|
885
|
+
},
|
|
886
|
+
],
|
|
887
|
+
payable: false,
|
|
888
|
+
stateMutability: "view",
|
|
889
|
+
type: "function",
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
constant: true,
|
|
893
|
+
inputs: [],
|
|
894
|
+
name: "decimals",
|
|
895
|
+
outputs: [
|
|
896
|
+
{
|
|
897
|
+
internalType: "uint8",
|
|
898
|
+
name: "",
|
|
899
|
+
type: "uint8",
|
|
900
|
+
},
|
|
901
|
+
],
|
|
902
|
+
payable: false,
|
|
903
|
+
stateMutability: "view",
|
|
904
|
+
type: "function",
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
constant: false,
|
|
908
|
+
inputs: [],
|
|
909
|
+
name: "exchangeRateCurrent",
|
|
910
|
+
outputs: [
|
|
911
|
+
{
|
|
912
|
+
internalType: "uint256",
|
|
913
|
+
name: "",
|
|
914
|
+
type: "uint256",
|
|
915
|
+
},
|
|
916
|
+
],
|
|
917
|
+
payable: false,
|
|
918
|
+
stateMutability: "nonpayable",
|
|
919
|
+
type: "function",
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
constant: true,
|
|
923
|
+
inputs: [],
|
|
924
|
+
name: "exchangeRateStored",
|
|
925
|
+
outputs: [
|
|
926
|
+
{
|
|
927
|
+
internalType: "uint256",
|
|
928
|
+
name: "",
|
|
929
|
+
type: "uint256",
|
|
930
|
+
},
|
|
931
|
+
],
|
|
932
|
+
payable: false,
|
|
933
|
+
stateMutability: "view",
|
|
934
|
+
type: "function",
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
constant: true,
|
|
938
|
+
inputs: [
|
|
939
|
+
{
|
|
940
|
+
internalType: "address",
|
|
941
|
+
name: "account",
|
|
942
|
+
type: "address",
|
|
943
|
+
},
|
|
944
|
+
],
|
|
945
|
+
name: "getAccountSnapshot",
|
|
946
|
+
outputs: [
|
|
947
|
+
{
|
|
948
|
+
internalType: "uint256",
|
|
949
|
+
name: "",
|
|
950
|
+
type: "uint256",
|
|
951
|
+
},
|
|
952
|
+
{
|
|
953
|
+
internalType: "uint256",
|
|
954
|
+
name: "",
|
|
955
|
+
type: "uint256",
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
internalType: "uint256",
|
|
959
|
+
name: "",
|
|
960
|
+
type: "uint256",
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
internalType: "uint256",
|
|
964
|
+
name: "",
|
|
965
|
+
type: "uint256",
|
|
966
|
+
},
|
|
967
|
+
],
|
|
968
|
+
payable: false,
|
|
969
|
+
stateMutability: "view",
|
|
970
|
+
type: "function",
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
constant: true,
|
|
974
|
+
inputs: [],
|
|
975
|
+
name: "getCash",
|
|
976
|
+
outputs: [
|
|
977
|
+
{
|
|
978
|
+
internalType: "uint256",
|
|
979
|
+
name: "",
|
|
980
|
+
type: "uint256",
|
|
981
|
+
},
|
|
982
|
+
],
|
|
983
|
+
payable: false,
|
|
984
|
+
stateMutability: "view",
|
|
985
|
+
type: "function",
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
constant: false,
|
|
989
|
+
inputs: [
|
|
990
|
+
{
|
|
991
|
+
internalType: "contract ComptrollerInterface",
|
|
992
|
+
name: "comptroller_",
|
|
993
|
+
type: "address",
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
internalType: "contract InterestRateModel",
|
|
997
|
+
name: "interestRateModel_",
|
|
998
|
+
type: "address",
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
internalType: "uint256",
|
|
1002
|
+
name: "initialExchangeRateMantissa_",
|
|
1003
|
+
type: "uint256",
|
|
1004
|
+
},
|
|
1005
|
+
{
|
|
1006
|
+
internalType: "string",
|
|
1007
|
+
name: "name_",
|
|
1008
|
+
type: "string",
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
internalType: "string",
|
|
1012
|
+
name: "symbol_",
|
|
1013
|
+
type: "string",
|
|
1014
|
+
},
|
|
1015
|
+
{
|
|
1016
|
+
internalType: "uint8",
|
|
1017
|
+
name: "decimals_",
|
|
1018
|
+
type: "uint8",
|
|
1019
|
+
},
|
|
1020
|
+
],
|
|
1021
|
+
name: "initialize",
|
|
1022
|
+
outputs: [],
|
|
1023
|
+
payable: false,
|
|
1024
|
+
stateMutability: "nonpayable",
|
|
1025
|
+
type: "function",
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
constant: true,
|
|
1029
|
+
inputs: [],
|
|
1030
|
+
name: "interestRateModel",
|
|
1031
|
+
outputs: [
|
|
1032
|
+
{
|
|
1033
|
+
internalType: "contract InterestRateModel",
|
|
1034
|
+
name: "",
|
|
1035
|
+
type: "address",
|
|
1036
|
+
},
|
|
1037
|
+
],
|
|
1038
|
+
payable: false,
|
|
1039
|
+
stateMutability: "view",
|
|
1040
|
+
type: "function",
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
constant: true,
|
|
1044
|
+
inputs: [],
|
|
1045
|
+
name: "isQiToken",
|
|
1046
|
+
outputs: [
|
|
1047
|
+
{
|
|
1048
|
+
internalType: "bool",
|
|
1049
|
+
name: "",
|
|
1050
|
+
type: "bool",
|
|
1051
|
+
},
|
|
1052
|
+
],
|
|
1053
|
+
payable: false,
|
|
1054
|
+
stateMutability: "view",
|
|
1055
|
+
type: "function",
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
constant: false,
|
|
1059
|
+
inputs: [
|
|
1060
|
+
{
|
|
1061
|
+
internalType: "address",
|
|
1062
|
+
name: "borrower",
|
|
1063
|
+
type: "address",
|
|
1064
|
+
},
|
|
1065
|
+
{
|
|
1066
|
+
internalType: "contract QiToken",
|
|
1067
|
+
name: "qiTokenCollateral",
|
|
1068
|
+
type: "address",
|
|
1069
|
+
},
|
|
1070
|
+
],
|
|
1071
|
+
name: "liquidateBorrow",
|
|
1072
|
+
outputs: [],
|
|
1073
|
+
payable: true,
|
|
1074
|
+
stateMutability: "payable",
|
|
1075
|
+
type: "function",
|
|
1076
|
+
},
|
|
1077
|
+
{
|
|
1078
|
+
constant: false,
|
|
1079
|
+
inputs: [],
|
|
1080
|
+
name: "mint",
|
|
1081
|
+
outputs: [],
|
|
1082
|
+
payable: true,
|
|
1083
|
+
stateMutability: "payable",
|
|
1084
|
+
type: "function",
|
|
1085
|
+
},
|
|
1086
|
+
{
|
|
1087
|
+
constant: true,
|
|
1088
|
+
inputs: [],
|
|
1089
|
+
name: "name",
|
|
1090
|
+
outputs: [
|
|
1091
|
+
{
|
|
1092
|
+
internalType: "string",
|
|
1093
|
+
name: "",
|
|
1094
|
+
type: "string",
|
|
1095
|
+
},
|
|
1096
|
+
],
|
|
1097
|
+
payable: false,
|
|
1098
|
+
stateMutability: "view",
|
|
1099
|
+
type: "function",
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
constant: true,
|
|
1103
|
+
inputs: [],
|
|
1104
|
+
name: "pendingAdmin",
|
|
1105
|
+
outputs: [
|
|
1106
|
+
{
|
|
1107
|
+
internalType: "address payable",
|
|
1108
|
+
name: "",
|
|
1109
|
+
type: "address",
|
|
1110
|
+
},
|
|
1111
|
+
],
|
|
1112
|
+
payable: false,
|
|
1113
|
+
stateMutability: "view",
|
|
1114
|
+
type: "function",
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
constant: true,
|
|
1118
|
+
inputs: [],
|
|
1119
|
+
name: "protocolSeizeShareMantissa",
|
|
1120
|
+
outputs: [
|
|
1121
|
+
{
|
|
1122
|
+
internalType: "uint256",
|
|
1123
|
+
name: "",
|
|
1124
|
+
type: "uint256",
|
|
1125
|
+
},
|
|
1126
|
+
],
|
|
1127
|
+
payable: false,
|
|
1128
|
+
stateMutability: "view",
|
|
1129
|
+
type: "function",
|
|
1130
|
+
},
|
|
1131
|
+
{
|
|
1132
|
+
constant: false,
|
|
1133
|
+
inputs: [
|
|
1134
|
+
{
|
|
1135
|
+
internalType: "uint256",
|
|
1136
|
+
name: "redeemTokens",
|
|
1137
|
+
type: "uint256",
|
|
1138
|
+
},
|
|
1139
|
+
],
|
|
1140
|
+
name: "redeem",
|
|
1141
|
+
outputs: [
|
|
1142
|
+
{
|
|
1143
|
+
internalType: "uint256",
|
|
1144
|
+
name: "",
|
|
1145
|
+
type: "uint256",
|
|
1146
|
+
},
|
|
1147
|
+
],
|
|
1148
|
+
payable: false,
|
|
1149
|
+
stateMutability: "nonpayable",
|
|
1150
|
+
type: "function",
|
|
1151
|
+
},
|
|
1152
|
+
{
|
|
1153
|
+
constant: false,
|
|
1154
|
+
inputs: [
|
|
1155
|
+
{
|
|
1156
|
+
internalType: "uint256",
|
|
1157
|
+
name: "redeemAmount",
|
|
1158
|
+
type: "uint256",
|
|
1159
|
+
},
|
|
1160
|
+
],
|
|
1161
|
+
name: "redeemUnderlying",
|
|
1162
|
+
outputs: [
|
|
1163
|
+
{
|
|
1164
|
+
internalType: "uint256",
|
|
1165
|
+
name: "",
|
|
1166
|
+
type: "uint256",
|
|
1167
|
+
},
|
|
1168
|
+
],
|
|
1169
|
+
payable: false,
|
|
1170
|
+
stateMutability: "nonpayable",
|
|
1171
|
+
type: "function",
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
1174
|
+
constant: false,
|
|
1175
|
+
inputs: [],
|
|
1176
|
+
name: "repayBorrow",
|
|
1177
|
+
outputs: [],
|
|
1178
|
+
payable: true,
|
|
1179
|
+
stateMutability: "payable",
|
|
1180
|
+
type: "function",
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
constant: false,
|
|
1184
|
+
inputs: [
|
|
1185
|
+
{
|
|
1186
|
+
internalType: "address",
|
|
1187
|
+
name: "borrower",
|
|
1188
|
+
type: "address",
|
|
1189
|
+
},
|
|
1190
|
+
],
|
|
1191
|
+
name: "repayBorrowBehalf",
|
|
1192
|
+
outputs: [],
|
|
1193
|
+
payable: true,
|
|
1194
|
+
stateMutability: "payable",
|
|
1195
|
+
type: "function",
|
|
1196
|
+
},
|
|
1197
|
+
{
|
|
1198
|
+
constant: true,
|
|
1199
|
+
inputs: [],
|
|
1200
|
+
name: "reserveFactorMantissa",
|
|
1201
|
+
outputs: [
|
|
1202
|
+
{
|
|
1203
|
+
internalType: "uint256",
|
|
1204
|
+
name: "",
|
|
1205
|
+
type: "uint256",
|
|
1206
|
+
},
|
|
1207
|
+
],
|
|
1208
|
+
payable: false,
|
|
1209
|
+
stateMutability: "view",
|
|
1210
|
+
type: "function",
|
|
1211
|
+
},
|
|
1212
|
+
{
|
|
1213
|
+
constant: false,
|
|
1214
|
+
inputs: [
|
|
1215
|
+
{
|
|
1216
|
+
internalType: "address",
|
|
1217
|
+
name: "liquidator",
|
|
1218
|
+
type: "address",
|
|
1219
|
+
},
|
|
1220
|
+
{
|
|
1221
|
+
internalType: "address",
|
|
1222
|
+
name: "borrower",
|
|
1223
|
+
type: "address",
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
internalType: "uint256",
|
|
1227
|
+
name: "seizeTokens",
|
|
1228
|
+
type: "uint256",
|
|
1229
|
+
},
|
|
1230
|
+
],
|
|
1231
|
+
name: "seize",
|
|
1232
|
+
outputs: [
|
|
1233
|
+
{
|
|
1234
|
+
internalType: "uint256",
|
|
1235
|
+
name: "",
|
|
1236
|
+
type: "uint256",
|
|
1237
|
+
},
|
|
1238
|
+
],
|
|
1239
|
+
payable: false,
|
|
1240
|
+
stateMutability: "nonpayable",
|
|
1241
|
+
type: "function",
|
|
1242
|
+
},
|
|
1243
|
+
{
|
|
1244
|
+
constant: true,
|
|
1245
|
+
inputs: [],
|
|
1246
|
+
name: "supplyRatePerTimestamp",
|
|
1247
|
+
outputs: [
|
|
1248
|
+
{
|
|
1249
|
+
internalType: "uint256",
|
|
1250
|
+
name: "",
|
|
1251
|
+
type: "uint256",
|
|
1252
|
+
},
|
|
1253
|
+
],
|
|
1254
|
+
payable: false,
|
|
1255
|
+
stateMutability: "view",
|
|
1256
|
+
type: "function",
|
|
1257
|
+
},
|
|
1258
|
+
{
|
|
1259
|
+
constant: true,
|
|
1260
|
+
inputs: [],
|
|
1261
|
+
name: "symbol",
|
|
1262
|
+
outputs: [
|
|
1263
|
+
{
|
|
1264
|
+
internalType: "string",
|
|
1265
|
+
name: "",
|
|
1266
|
+
type: "string",
|
|
1267
|
+
},
|
|
1268
|
+
],
|
|
1269
|
+
payable: false,
|
|
1270
|
+
stateMutability: "view",
|
|
1271
|
+
type: "function",
|
|
1272
|
+
},
|
|
1273
|
+
{
|
|
1274
|
+
constant: true,
|
|
1275
|
+
inputs: [],
|
|
1276
|
+
name: "totalBorrows",
|
|
1277
|
+
outputs: [
|
|
1278
|
+
{
|
|
1279
|
+
internalType: "uint256",
|
|
1280
|
+
name: "",
|
|
1281
|
+
type: "uint256",
|
|
1282
|
+
},
|
|
1283
|
+
],
|
|
1284
|
+
payable: false,
|
|
1285
|
+
stateMutability: "view",
|
|
1286
|
+
type: "function",
|
|
1287
|
+
},
|
|
1288
|
+
{
|
|
1289
|
+
constant: false,
|
|
1290
|
+
inputs: [],
|
|
1291
|
+
name: "totalBorrowsCurrent",
|
|
1292
|
+
outputs: [
|
|
1293
|
+
{
|
|
1294
|
+
internalType: "uint256",
|
|
1295
|
+
name: "",
|
|
1296
|
+
type: "uint256",
|
|
1297
|
+
},
|
|
1298
|
+
],
|
|
1299
|
+
payable: false,
|
|
1300
|
+
stateMutability: "nonpayable",
|
|
1301
|
+
type: "function",
|
|
1302
|
+
},
|
|
1303
|
+
{
|
|
1304
|
+
constant: true,
|
|
1305
|
+
inputs: [],
|
|
1306
|
+
name: "totalReserves",
|
|
1307
|
+
outputs: [
|
|
1308
|
+
{
|
|
1309
|
+
internalType: "uint256",
|
|
1310
|
+
name: "",
|
|
1311
|
+
type: "uint256",
|
|
1312
|
+
},
|
|
1313
|
+
],
|
|
1314
|
+
payable: false,
|
|
1315
|
+
stateMutability: "view",
|
|
1316
|
+
type: "function",
|
|
1317
|
+
},
|
|
1318
|
+
{
|
|
1319
|
+
constant: true,
|
|
1320
|
+
inputs: [],
|
|
1321
|
+
name: "totalSupply",
|
|
1322
|
+
outputs: [
|
|
1323
|
+
{
|
|
1324
|
+
internalType: "uint256",
|
|
1325
|
+
name: "",
|
|
1326
|
+
type: "uint256",
|
|
1327
|
+
},
|
|
1328
|
+
],
|
|
1329
|
+
payable: false,
|
|
1330
|
+
stateMutability: "view",
|
|
1331
|
+
type: "function",
|
|
1332
|
+
},
|
|
1333
|
+
{
|
|
1334
|
+
constant: false,
|
|
1335
|
+
inputs: [
|
|
1336
|
+
{
|
|
1337
|
+
internalType: "address",
|
|
1338
|
+
name: "dst",
|
|
1339
|
+
type: "address",
|
|
1340
|
+
},
|
|
1341
|
+
{
|
|
1342
|
+
internalType: "uint256",
|
|
1343
|
+
name: "amount",
|
|
1344
|
+
type: "uint256",
|
|
1345
|
+
},
|
|
1346
|
+
],
|
|
1347
|
+
name: "transfer",
|
|
1348
|
+
outputs: [
|
|
1349
|
+
{
|
|
1350
|
+
internalType: "bool",
|
|
1351
|
+
name: "",
|
|
1352
|
+
type: "bool",
|
|
1353
|
+
},
|
|
1354
|
+
],
|
|
1355
|
+
payable: false,
|
|
1356
|
+
stateMutability: "nonpayable",
|
|
1357
|
+
type: "function",
|
|
1358
|
+
},
|
|
1359
|
+
{
|
|
1360
|
+
constant: false,
|
|
1361
|
+
inputs: [
|
|
1362
|
+
{
|
|
1363
|
+
internalType: "address",
|
|
1364
|
+
name: "src",
|
|
1365
|
+
type: "address",
|
|
1366
|
+
},
|
|
1367
|
+
{
|
|
1368
|
+
internalType: "address",
|
|
1369
|
+
name: "dst",
|
|
1370
|
+
type: "address",
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
internalType: "uint256",
|
|
1374
|
+
name: "amount",
|
|
1375
|
+
type: "uint256",
|
|
1376
|
+
},
|
|
1377
|
+
],
|
|
1378
|
+
name: "transferFrom",
|
|
1379
|
+
outputs: [
|
|
1380
|
+
{
|
|
1381
|
+
internalType: "bool",
|
|
1382
|
+
name: "",
|
|
1383
|
+
type: "bool",
|
|
1384
|
+
},
|
|
1385
|
+
],
|
|
1386
|
+
payable: false,
|
|
1387
|
+
stateMutability: "nonpayable",
|
|
1388
|
+
type: "function",
|
|
1389
|
+
},
|
|
1390
|
+
];
|
|
1391
|
+
|
|
1392
|
+
const _bytecode =
|
|
1393
|
+
"0x60806040523480156200001157600080fd5b5060405162005b5438038062005b54833981810160405260e08110156200003757600080fd5b8151602083015160408085015160608601805192519496939591949391820192846401000000008211156200006b57600080fd5b9083019060208201858111156200008157600080fd5b82516401000000008111828201881017156200009c57600080fd5b82525081516020918201929091019080838360005b83811015620000cb578181015183820152602001620000b1565b50505050905090810190601f168015620000f95780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200011d57600080fd5b9083019060208201858111156200013357600080fd5b82516401000000008111828201881017156200014e57600080fd5b82525081516020918201929091019080838360005b838110156200017d57818101518382015260200162000163565b50505050905090810190601f168015620001ab5780820380516001836020036101000a031916815260200191505b506040908152602082015191015160038054610100600160a81b03191633610100021790559092509050620001e587878787878762000218565b600380546001600160a01b0390921661010002610100600160a81b03199092169190911790555062000853945050505050565b60035461010090046001600160a01b03163314620002685760405162461bcd60e51b815260040180806020018281038252602481526020018062005abb6024913960400191505060405180910390fd5b600954158015620002795750600a54155b620002b65760405162461bcd60e51b815260040180806020018281038252602381526020018062005adf6023913960400191505060405180910390fd5b600784905583620002f95760405162461bcd60e51b815260040180806020018281038252603081526020018062005b026030913960400191505060405180910390fd5b60006200030f876001600160e01b036200042e16565b9050801562000365576040805162461bcd60e51b815260206004820152601a60248201527f73657474696e6720636f6d7074726f6c6c6572206661696c6564000000000000604482015290519081900360640190fd5b620003786001600160e01b036200059616565b600955670de0b6b3a7640000600a556200039b866001600160e01b036200059b16565b90508015620003dc5760405162461bcd60e51b815260040180806020018281038252602281526020018062005b326022913960400191505060405180910390fd5b8351620003f1906001906020870190620007b1565b50825162000407906002906020860190620007b1565b50506003805460ff90921660ff199283161790556000805490911660011790555050505050565b60035460009061010090046001600160a01b031633146200046857620004606001603f6001600160e01b036200074116565b905062000591565b60055460408051623f1ee960e11b815290516001600160a01b0392831692851691627e3dd2916004808301926020929190829003018186803b158015620004ae57600080fd5b505afa158015620004c3573d6000803e3d6000fd5b505050506040513d6020811015620004da57600080fd5b50516200052e576040805162461bcd60e51b815260206004820152601c60248201527f6d61726b6572206d6574686f642072657475726e65642066616c736500000000604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b03858116918217909255604080519284168352602083019190915280517f7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d9281900390910190a160005b9150505b919050565b425b90565b600354600090819061010090046001600160a01b03163314620005d857620005cf600160426001600160e01b036200074116565b91505062000591565b620005eb6001600160e01b036200059616565b600954146200060b57620005cf600a60416001600160e01b036200074116565b600660009054906101000a90046001600160a01b03169050826001600160a01b0316632191f92a6040518163ffffffff1660e01b815260040160206040518083038186803b1580156200065d57600080fd5b505afa15801562000672573d6000803e3d6000fd5b505050506040513d60208110156200068957600080fd5b5051620006dd576040805162461bcd60e51b815260206004820152601c60248201527f6d61726b6572206d6574686f642072657475726e65642066616c736500000000604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b03858116918217909255604080519284168352602083019190915280517fedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f9269281900390910190a160006200058d565b60007f45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa08360108111156200077157fe5b8360538111156200077e57fe5b604080519283526020830191909152600082820152519081900360600190a1826010811115620007aa57fe5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620007f457805160ff191683800117855562000824565b8280016001018555821562000824579182015b828111156200082457825182559160200191906001019062000807565b506200083292915062000836565b5090565b6200059891905b808211156200083257600081556001016200083d565b61525880620008636000396000f3fe6080604052600436106102935760003560e01c806395d89b411161015a578063cd91801c116100c1578063e9c714f21161007a578063e9c714f214610a97578063f2b3abbd14610aac578063f3fdb15a14610adf578063f851a44014610af4578063fca7820b14610b09578063fcb6414714610b3357610293565b8063cd91801c146109cd578063cfa99201146109e2578063d3bd2c72146109f7578063db006a7514610a0c578063dd62ed3e14610a36578063e597461914610a7157610293565b8063aae40a2a11610113578063aae40a2a14610891578063b2a02ff1146108bf578063b71d1a0c14610902578063bd6d894d14610935578063c37f68e21461094a578063c5ebeaec146109a357610293565b806395d89b411461068757806395dd91931461069c57806399d8c1b4146106cf578063a6afed951461082e578063a9059cbb14610843578063aa5af0fd1461087c57610293565b80634576b5db116101fe57806370a08231116101b757806370a08231146105c157806373acee98146105f45780638303084614610609578063840bbeac14610633578063852a12e3146106485780638f840ddd1461067257610293565b80634576b5db1461051d57806347bd3718146105505780634e4d9fea146105655780635fe3b5671461056d578063601a0bf1146105825780636752e702146105ac57610293565b8063182df0f511610250578063182df0f51461042157806323b872dd146104365780632678224714610479578063313ce567146104aa5780633af9e669146104d55780633b1d21a21461050857610293565b806306fdde03146102d1578063095ea7b31461035b5780631249c58b146103a8578063173b9904146103b257806317bfdfbc146103d957806318160ddd1461040c575b600061029e34610b3b565b5090506102ce816040518060400160405280600b81526020016a1b5a5b9d0819985a5b195960aa1b815250610be3565b50005b3480156102dd57600080fd5b506102e6610de3565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610320578181015183820152602001610308565b50505050905090810190601f16801561034d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561036757600080fd5b506103946004803603604081101561037e57600080fd5b506001600160a01b038135169060200135610e70565b604080519115158252519081900360200190f35b6103b0610edd565b005b3480156103be57600080fd5b506103c7610f1b565b60408051918252519081900360200190f35b3480156103e557600080fd5b506103c7600480360360208110156103fc57600080fd5b50356001600160a01b0316610f21565b34801561041857600080fd5b506103c7610fe1565b34801561042d57600080fd5b506103c7610fe7565b34801561044257600080fd5b506103946004803603606081101561045957600080fd5b506001600160a01b0381358116916020810135909116906040013561104a565b34801561048557600080fd5b5061048e6110bc565b604080516001600160a01b039092168252519081900360200190f35b3480156104b657600080fd5b506104bf6110cb565b6040805160ff9092168252519081900360200190f35b3480156104e157600080fd5b506103c7600480360360208110156104f857600080fd5b50356001600160a01b03166110d4565b34801561051457600080fd5b506103c761118c565b34801561052957600080fd5b506103c76004803603602081101561054057600080fd5b50356001600160a01b031661119b565b34801561055c57600080fd5b506103c76112f0565b6103b06112f6565b34801561057957600080fd5b5061048e611338565b34801561058e57600080fd5b506103c7600480360360208110156105a557600080fd5b5035611347565b3480156105b857600080fd5b506103c76113e2565b3480156105cd57600080fd5b506103c7600480360360208110156105e457600080fd5b50356001600160a01b03166113e8565b34801561060057600080fd5b506103c7611403565b34801561061557600080fd5b506103c76004803603602081101561062c57600080fd5b50356114b9565b34801561063f57600080fd5b50610394611537565b34801561065457600080fd5b506103c76004803603602081101561066b57600080fd5b503561153c565b34801561067e57600080fd5b506103c7611547565b34801561069357600080fd5b506102e661154d565b3480156106a857600080fd5b506103c7600480360360208110156106bf57600080fd5b50356001600160a01b03166115a5565b3480156106db57600080fd5b506103b0600480360360c08110156106f257600080fd5b6001600160a01b0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561072d57600080fd5b82018360208201111561073f57600080fd5b8035906020019184600183028401116401000000008311171561076157600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156107b457600080fd5b8201836020820111156107c657600080fd5b803590602001918460018302840111640100000000831117156107e857600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050903560ff1691506116029050565b34801561083a57600080fd5b506103c76117e9565b34801561084f57600080fd5b506103946004803603604081101561086657600080fd5b506001600160a01b038135169060200135611b41565b34801561088857600080fd5b506103c7611bb2565b6103b0600480360360408110156108a757600080fd5b506001600160a01b0381358116916020013516611bb8565b3480156108cb57600080fd5b506103c7600480360360608110156108e257600080fd5b506001600160a01b03813581169160208101359091169060400135611c05565b34801561090e57600080fd5b506103c76004803603602081101561092557600080fd5b50356001600160a01b0316611c76565b34801561094157600080fd5b506103c7611d02565b34801561095657600080fd5b5061097d6004803603602081101561096d57600080fd5b50356001600160a01b0316611dbe565b604080519485526020850193909352838301919091526060830152519081900360800190f35b3480156109af57600080fd5b506103c7600480360360208110156109c657600080fd5b5035611e53565b3480156109d957600080fd5b506103c7611e5e565b3480156109ee57600080fd5b506103c7611ef3565b348015610a0357600080fd5b506103c7611ef9565b348015610a1857600080fd5b506103c760048036036020811015610a2f57600080fd5b5035611f67565b348015610a4257600080fd5b506103c760048036036040811015610a5957600080fd5b506001600160a01b0381358116916020013516611f72565b6103b060048036036020811015610a8757600080fd5b50356001600160a01b0316611f9d565b348015610aa357600080fd5b506103c7611feb565b348015610ab857600080fd5b506103c760048036036020811015610acf57600080fd5b50356001600160a01b03166120ee565b348015610aeb57600080fd5b5061048e612128565b348015610b0057600080fd5b5061048e612137565b348015610b1557600080fd5b506103c760048036036020811015610b2c57600080fd5b503561214b565b6103c76121c9565b60008054819060ff16610b82576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155610b946117e9565b90508015610bbf57610bb2816010811115610bab57fe5b601e6121d4565b925060009150610bcf9050565b610bc9338561223a565b92509250505b6000805460ff191660011790559092909150565b81610bed57610ddf565b606081516005016040519080825280601f01601f191660200182016040528015610c1e576020820181803883390190505b50905060005b8251811015610c6f57828181518110610c3957fe5b602001015160f81c60f81b828281518110610c5057fe5b60200101906001600160f81b031916908160001a905350600101610c24565b8151600160fd1b90839083908110610c8357fe5b60200101906001600160f81b031916908160001a905350602860f81b828260010181518110610cae57fe5b60200101906001600160f81b031916908160001a905350600a840460300160f81b828260020181518110610cde57fe5b60200101906001600160f81b031916908160001a905350600a840660300160f81b828260030181518110610d0e57fe5b60200101906001600160f81b031916908160001a905350602960f81b828260040181518110610d3957fe5b60200101906001600160f81b031916908160001a905350818415610ddb5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610da0578181015183820152602001610d88565b50505050905090810190601f168015610dcd5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5050505b5050565b60018054604080516020600284861615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610e685780601f10610e3d57610100808354040283529160200191610e68565b820191906000526020600020905b815481529060010190602001808311610e4b57829003601f168201915b505050505081565b336000818152600f602090815260408083206001600160a01b03871680855290835281842086905581518681529151939493909284927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a360019150505b92915050565b6000610ee834610b3b565b509050610f18816040518060400160405280600b81526020016a1b5a5b9d0819985a5b195960aa1b815250610be3565b50565b60085481565b6000805460ff16610f66576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155610f786117e9565b14610fc3576040805162461bcd60e51b81526020600482015260166024820152751858d8dc9d59481a5b9d195c995cdd0819985a5b195960521b604482015290519081900360640190fd5b610fcc826115a5565b90505b6000805460ff19166001179055919050565b600d5481565b6000806000610ff461260c565b9092509050600082600381111561100757fe5b146110435760405162461bcd60e51b815260040180806020018281038252603581526020018061516f6035913960400191505060405180910390fd5b9150505b90565b6000805460ff1661108f576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff191681556110a5338686866126bb565b1490506000805460ff191660011790559392505050565b6004546001600160a01b031681565b60035460ff1681565b60006110de614e10565b60405180602001604052806110f1611d02565b90526001600160a01b0384166000908152600e602052604081205491925090819061111d908490612949565b9092509050600082600381111561113057fe5b14611182576040805162461bcd60e51b815260206004820152601f60248201527f62616c616e636520636f756c64206e6f742062652063616c63756c6174656400604482015290519081900360640190fd5b925050505b919050565b600061119661299c565b905090565b60035460009061010090046001600160a01b031633146111c8576111c16001603f6121d4565b9050611187565b60055460408051623f1ee960e11b815290516001600160a01b0392831692851691627e3dd2916004808301926020929190829003018186803b15801561120d57600080fd5b505afa158015611221573d6000803e3d6000fd5b505050506040513d602081101561123757600080fd5b505161128a576040805162461bcd60e51b815260206004820152601c60248201527f6d61726b6572206d6574686f642072657475726e65642066616c736500000000604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b03858116918217909255604080519284168352602083019190915280517f7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d9281900390910190a160005b9392505050565b600b5481565b6000611301346129c8565b509050610f1881604051806040016040528060128152602001711c995c185e509bdc9c9bddc819985a5b195960721b815250610be3565b6005546001600160a01b031681565b6000805460ff1661138c576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff1916815561139e6117e9565b905080156113c4576113bc8160108111156113b557fe5b60306121d4565b915050610fcf565b6113cd83612a4a565b9150506000805460ff19166001179055919050565b60115481565b6001600160a01b03166000908152600e602052604090205490565b6000805460ff16611448576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff1916815561145a6117e9565b146114a5576040805162461bcd60e51b81526020600482015260166024820152751858d8dc9d59481a5b9d195c995cdd0819985a5b195960521b604482015290519081900360640190fd5b50600b546000805460ff1916600117905590565b6000805460ff166114fe576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff191681556115106117e9565b9050801561152e576113bc81601081111561152757fe5b60516121d4565b6113cd83612b7d565b600181565b6000610ed782612c0c565b600c5481565b6002805460408051602060018416156101000260001901909316849004601f81018490048402820184019092528181529291830182828015610e685780601f10610e3d57610100808354040283529160200191610e68565b60008060006115b384612c8d565b909250905060008260038111156115c657fe5b146112e95760405162461bcd60e51b815260040180806020018281038252603781526020018061507a6037913960400191505060405180910390fd5b60035461010090046001600160a01b031633146116505760405162461bcd60e51b8152600401808060200182810382526024815260200180614fb66024913960400191505060405180910390fd5b6009541580156116605750600a54155b61169b5760405162461bcd60e51b8152600401808060200182810382526023815260200180614fda6023913960400191505060405180910390fd5b6007849055836116dc5760405162461bcd60e51b8152600401808060200182810382526030815260200180614ffd6030913960400191505060405180910390fd5b60006116e78761119b565b9050801561173c576040805162461bcd60e51b815260206004820152601a60248201527f73657474696e6720636f6d7074726f6c6c6572206661696c6564000000000000604482015290519081900360640190fd5b611744612d41565b600955670de0b6b3a7640000600a5561175c86612d45565b9050801561179b5760405162461bcd60e51b815260040180806020018281038252602281526020018061502d6022913960400191505060405180910390fd5b83516117ae906001906020870190614e23565b5082516117c2906002906020860190614e23565b50506003805460ff90921660ff199283161790556000805490911660011790555050505050565b6000806117f4612d41565b6009549091508082141561180d57600092505050611047565b600061181761299c565b600b54600c54600a54600654604080516315f2405360e01b815260048101879052602481018690526044810185905290519596509394929391926000926001600160a01b03909216916315f24053916064808301926020929190829003018186803b15801561188557600080fd5b505afa158015611899573d6000803e3d6000fd5b505050506040513d60208110156118af57600080fd5b5051905065048c2739500081111561190e576040805162461bcd60e51b815260206004820152601c60248201527f626f72726f772072617465206973206162737572646c79206869676800000000604482015290519081900360640190fd5b60008061191b8989612eba565b9092509050600082600381111561192e57fe5b14611980576040805162461bcd60e51b815260206004820152601f60248201527f636f756c64206e6f742063616c63756c61746520626c6f636b2064656c746100604482015290519081900360640190fd5b611988614e10565b6000806000806119a660405180602001604052808a81525087612edd565b909750945060008760038111156119b957fe5b146119eb576119d6600960068960038111156119d157fe5b612f45565b9e505050505050505050505050505050611047565b6119f5858c612949565b90975093506000876003811115611a0857fe5b14611a20576119d6600960018960038111156119d157fe5b611a2a848c612fab565b90975092506000876003811115611a3d57fe5b14611a55576119d6600960048960038111156119d157fe5b611a706040518060200160405280600854815250858c612fd1565b90975091506000876003811115611a8357fe5b14611a9b576119d6600960058960038111156119d157fe5b611aa6858a8b612fd1565b90975090506000876003811115611ab957fe5b14611ad1576119d6600960038960038111156119d157fe5b60098e9055600a819055600b839055600c829055604080518d8152602081018690528082018390526060810185905290517f4dec04e750ca11537cabcd8a9eab06494de08da3735bc8871cd41250e190bc049181900360800190a160009e50505050505050505050505050505090565b6000805460ff16611b86576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155611b9c333386866126bb565b1490506000805460ff1916600117905592915050565b600a5481565b6000611bc583348461302d565b509050611c0081604051806040016040528060168152602001751b1a5c5d5a59185d19509bdc9c9bddc819985a5b195960521b815250610be3565b505050565b6000805460ff16611c4a576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19169055611c603385858561315f565b90506000805460ff191660011790559392505050565b60035460009061010090046001600160a01b03163314611c9c576111c1600160456121d4565b600480546001600160a01b038481166001600160a01b0319831681179093556040805191909216808252602082019390935281517fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9929181900390910190a160006112e9565b6000805460ff16611d47576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155611d596117e9565b14611da4576040805162461bcd60e51b81526020600482015260166024820152751858d8dc9d59481a5b9d195c995cdd0819985a5b195960521b604482015290519081900360640190fd5b611dac610fe7565b90506000805460ff1916600117905590565b6001600160a01b0381166000908152600e6020526040812054819081908190818080611de989612c8d565b935090506000816003811115611dfb57fe5b14611e195760095b975060009650869550859450611e4c9350505050565b611e2161260c565b925090506000816003811115611e3357fe5b14611e3f576009611e03565b5060009650919450925090505b9193509193565b6000610ed782613534565b6006546000906001600160a01b03166315f24053611e7a61299c565b600b54600c546040518463ffffffff1660e01b815260040180848152602001838152602001828152602001935050505060206040518083038186803b158015611ec257600080fd5b505afa158015611ed6573d6000803e3d6000fd5b505050506040513d6020811015611eec57600080fd5b5051905090565b60095481565b6006546000906001600160a01b031663b8168816611f1561299c565b600b54600c546008546040518563ffffffff1660e01b81526004018085815260200184815260200183815260200182815260200194505050505060206040518083038186803b158015611ec257600080fd5b6000610ed7826135b3565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b6000611fa9823461362d565b509050610ddf816040518060400160405280601881526020017f7265706179426f72726f77426568616c66206661696c65640000000000000000815250610be3565b6004546000906001600160a01b031633141580612006575033155b1561201e57612017600160006121d4565b9050611047565b60038054600480546001600160a01b03818116610100818102610100600160a81b0319871617968790556001600160a01b031990931690935560408051948390048216808652929095041660208401528351909391927ff9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc92908290030190a1600454604080516001600160a01b038085168252909216602083015280517fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a99281900390910190a160009250505090565b6000806120f96117e9565b9050801561211f5761211781601081111561211057fe5b60406121d4565b915050611187565b6112e983612d45565b6006546001600160a01b031681565b60035461010090046001600160a01b031681565b6000805460ff16612190576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff191681556121a26117e9565b905080156121c0576113bc8160108111156121b957fe5b60466121d4565b6113cd836136d8565b600061119634613780565b60007f45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa083601081111561220357fe5b83605381111561220f57fe5b604080519283526020830191909152600082820152519081900360600190a18260108111156112e957fe5b60055460408051634ef4c3e160e01b81523060048201526001600160a01b03858116602483015260448201859052915160009384938493911691634ef4c3e19160648082019260209290919082900301818787803b15801561229b57600080fd5b505af11580156122af573d6000803e3d6000fd5b505050506040513d60208110156122c557600080fd5b5051905080156122e9576122dc6003601f83612f45565b9250600091506126059050565b6122f1612d41565b60095414612305576122dc600a60226121d4565b61230d614ea1565b61231561260c565b604083018190526020830182600381111561232c57fe5b600381111561233757fe5b905250600090508160200151600381111561234e57fe5b146123785761236a60096021836020015160038111156119d157fe5b935060009250612605915050565b6123828686613814565b60c08201819052604080516020810182529083015181526123a391906138b0565b60608301819052602083018260038111156123ba57fe5b60038111156123c557fe5b90525060009050816020015160038111156123dc57fe5b1461242e576040805162461bcd60e51b815260206004820181905260248201527f4d494e545f45584348414e47455f43414c43554c4154494f4e5f4641494c4544604482015290519081900360640190fd5b61243e600d548260600151612fab565b608083018190526020830182600381111561245557fe5b600381111561246057fe5b905250600090508160200151600381111561247757fe5b146124b35760405162461bcd60e51b81526004018080602001828103825260288152602001806151a46028913960400191505060405180910390fd5b6001600160a01b0386166000908152600e602052604090205460608201516124db9190612fab565b60a08301819052602083018260038111156124f257fe5b60038111156124fd57fe5b905250600090508160200151600381111561251457fe5b146125505760405162461bcd60e51b815260040180806020018281038252602b81526020018061504f602b913960400191505060405180910390fd5b6080810151600d5560a08101516001600160a01b0387166000818152600e60209081526040918290209390935560c084015160608086015183519485529484019190915282820193909352517f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f929181900390910190a1606081015160408051918252516001600160a01b0388169130916000805160206150eb8339815191529181900360200190a360c00151600093509150505b9250929050565b600d54600090819080612627575050600754600091506126b7565b600061263161299c565b9050600061263d614e10565b600061264e84600b54600c546138c7565b93509050600081600381111561266057fe5b14612675579550600094506126b79350505050565b61267f8386613905565b92509050600081600381111561269157fe5b146126a6579550600094506126b79350505050565b50516000955093506126b792505050565b9091565b600554604080516317b9b84b60e31b81523060048201526001600160a01b03868116602483015285811660448301526064820185905291516000938493169163bdcdc25891608480830192602092919082900301818787803b15801561272057600080fd5b505af1158015612734573d6000803e3d6000fd5b505050506040513d602081101561274a57600080fd5b505190508015612769576127616003604a83612f45565b915050612941565b836001600160a01b0316856001600160a01b0316141561278f576127616002604b6121d4565b60006001600160a01b0387811690871614156127ae57506000196127d6565b506001600160a01b038086166000908152600f60209081526040808320938a16835292905220545b6000806000806127e68589612eba565b909450925060008460038111156127f957fe5b146128175761280a6009604b6121d4565b9650505050505050612941565b6001600160a01b038a166000908152600e602052604090205461283a9089612eba565b9094509150600084600381111561284d57fe5b1461285e5761280a6009604c6121d4565b6001600160a01b0389166000908152600e60205260409020546128819089612fab565b9094509050600084600381111561289457fe5b146128a55761280a6009604d6121d4565b6001600160a01b03808b166000908152600e6020526040808220859055918b1681522081905560001985146128fd576001600160a01b03808b166000908152600f60209081526040808320938f168352929052208390555b886001600160a01b03168a6001600160a01b03166000805160206150eb8339815191528a6040518082815260200191505060405180910390a3600096505050505050505b949350505050565b6000806000612956614e10565b6129608686612edd565b9092509050600082600381111561297357fe5b146129845750915060009050612605565b600061298f826139b5565b9350935050509250929050565b60008060006129ab4734612eba565b909250905060008260038111156129be57fe5b1461104357600080fd5b60008054819060ff16612a0f576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155612a216117e9565b90508015612a3f57610bb2816010811115612a3857fe5b60366121d4565b610bc93333866139c4565b600354600090819061010090046001600160a01b03163314612a7257612117600160316121d4565b612a7a612d41565b60095414612a8e57612117600a60336121d4565b82612a9761299c565b1015612aa957612117600e60326121d4565b600c54831115612abf57612117600260346121d4565b50600c5482810390811115612b055760405162461bcd60e51b81526004018080602001828103825260248152602001806152006024913960400191505060405180910390fd5b600c819055600354612b259061010090046001600160a01b031684613d12565b600354604080516101009092046001600160a01b0316825260208201859052818101839052517f3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e916060908290030190a160006112e9565b600354600090819061010090046001600160a01b03163314612ba557612117600160526121d4565b612bad612d41565b60095414612bc157612117600a60536121d4565b506011805490839055604080518281526020810185905281517ff5815f353a60e815cce7553e4f60c533a59d26b1b5504ea4b6db8d60da3e4da2929181900390910190a160006112e9565b6000805460ff16612c51576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff19168155612c636117e9565b90508015612c81576113bc816010811115612c7a57fe5b60276121d4565b6113cd33600085613d48565b6001600160a01b038116600090815260106020526040812080548291829182918291612cc4575060009450849350612d3c92505050565b612cd48160000154600a54614288565b90945092506000846003811115612ce757fe5b14612cfc575091935060009250612d3c915050565b612d0a8382600101546142c7565b90945091506000846003811115612d1d57fe5b14612d32575091935060009250612d3c915050565b5060009450925050505b915091565b4290565b600354600090819061010090046001600160a01b03163314612d6d57612117600160426121d4565b612d75612d41565b60095414612d8957612117600a60416121d4565b600660009054906101000a90046001600160a01b03169050826001600160a01b0316632191f92a6040518163ffffffff1660e01b815260040160206040518083038186803b158015612dda57600080fd5b505afa158015612dee573d6000803e3d6000fd5b505050506040513d6020811015612e0457600080fd5b5051612e57576040805162461bcd60e51b815260206004820152601c60248201527f6d61726b6572206d6574686f642072657475726e65642066616c736500000000604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b03858116918217909255604080519284168352602083019190915280517fedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f9269281900390910190a160006112e9565b600080838311612ed1575060009050818303612605565b50600390506000612605565b6000612ee7614e10565b600080612ef8866000015186614288565b90925090506000826003811115612f0b57fe5b14612f2a57506040805160208101909152600081529092509050612605565b60408051602081019091529081526000969095509350505050565b60007f45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0846010811115612f7457fe5b846053811115612f8057fe5b604080519283526020830191909152818101859052519081900360600190a183601081111561294157fe5b600080838301848110612fc357600092509050612605565b506002915060009050612605565b6000806000612fde614e10565b612fe88787612edd565b90925090506000826003811115612ffb57fe5b1461300c5750915060009050613025565b61301e613018826139b5565b86612fab565b9350935050505b935093915050565b60008054819060ff16613074576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff191681556130866117e9565b905080156130b1576130a481601081111561309d57fe5b600f6121d4565b9250600091506131489050565b836001600160a01b031663a6afed956040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156130ec57600080fd5b505af1158015613100573d6000803e3d6000fd5b505050506040513d602081101561311657600080fd5b505190508015613136576130a481601081111561312f57fe5b60106121d4565b613142338787876142f2565b92509250505b6000805460ff191660011790559094909350915050565b6005546040805163d02f735160e01b81523060048201526001600160a01b038781166024830152868116604483015285811660648301526084820185905291516000938493169163d02f73519160a480830192602092919082900301818787803b1580156131cc57600080fd5b505af11580156131e0573d6000803e3d6000fd5b505050506040513d60208110156131f657600080fd5b50519050801561320d576127616003601b83612f45565b846001600160a01b0316846001600160a01b03161415613233576127616006601c6121d4565b61323b614edf565b6001600160a01b0385166000908152600e602052604090205461325e9085612eba565b602083018190528282600381111561327257fe5b600381111561327d57fe5b905250600090508151600381111561329157fe5b146132b6576132ad6009601a836000015160038111156119d157fe5b92505050612941565b6132d08460405180602001604052806011548152506147e4565b608082018190526132e290859061480c565b60608201526132ef61260c565b60c083018190528282600381111561330357fe5b600381111561330e57fe5b905250600090508151600381111561332257fe5b14613374576040805162461bcd60e51b815260206004820152601860248201527f65786368616e67652072617465206d617468206572726f720000000000000000604482015290519081900360640190fd5b61339460405180602001604052808360c001518152508260800151614846565b60a08201819052600c546133a791614865565b60e0820152600d5460808201516133be919061480c565b6101008201526001600160a01b0386166000908152600e602052604090205460608201516133ec9190612fab565b604083018190528282600381111561340057fe5b600381111561340b57fe5b905250600090508151600381111561341f57fe5b1461343b576132ad60096019836000015160038111156119d157fe5b60e0810151600c55610100810151600d556020808201516001600160a01b038088166000818152600e855260408082209490945583860151928b168082529084902092909255606085015183519081529251919390926000805160206150eb833981519152929081900390910190a36080810151604080519182525130916001600160a01b038816916000805160206150eb8339815191529181900360200190a360a081015160e082015160408051308152602081019390935282810191909152517fa91e67c5ea634cd43a12c5a482724b03de01e85ca68702a53d0c2f45cb7c1dc59181900360600190a16000979650505050505050565b6000805460ff16613579576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff1916815561358b6117e9565b905080156135a9576113bc8160108111156135a257fe5b60086121d4565b6113cd338461489b565b6000805460ff166135f8576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff1916815561360a6117e9565b90508015613621576113bc816010811115612c7a57fe5b6113cd33846000613d48565b60008054819060ff16613674576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff191681556136866117e9565b905080156136b1576136a481601081111561369d57fe5b60356121d4565b9250600091506136c29050565b6136bc3386866139c4565b92509250505b6000805460ff1916600117905590939092509050565b60035460009061010090046001600160a01b031633146136fe576111c1600160476121d4565b613706612d41565b6009541461371a576111c1600a60486121d4565b670de0b6b3a7640000821115613736576111c1600260496121d4565b6008805490839055604080518281526020810185905281517faaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460929181900390910190a160006112e9565b6000805460ff166137c5576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6000805460ff191681556137d76117e9565b905080156137f5576113bc8160108111156137ee57fe5b604e6121d4565b6137fe83614b2f565b509150506000805460ff19166001179055919050565b6000336001600160a01b03841614613865576040805162461bcd60e51b815260206004820152600f60248201526e0e6cadcc8cae440dad2e6dac2e8c6d608b1b604482015290519081900360640190fd5b8134146138aa576040805162461bcd60e51b815260206004820152600e60248201526d0ecc2d8eaca40dad2e6dac2e8c6d60931b604482015290519081900360640190fd5b50919050565b60008060006138bd614e10565b6129608686614c17565b6000806000806138d78787612fab565b909250905060008260038111156138ea57fe5b146138fb5750915060009050613025565b61301e8186612eba565b600061390f614e10565b60008061392486670de0b6b3a7640000614288565b9092509050600082600381111561393757fe5b1461395657506040805160208101909152600081529092509050612605565b60008061396383886142c7565b9092509050600082600381111561397657fe5b1461399857506040805160208101909152600081529094509250612605915050565b604080516020810190915290815260009890975095505050505050565b51670de0b6b3a7640000900490565b60055460408051631200453160e11b81523060048201526001600160a01b0386811660248301528581166044830152606482018590529151600093849384939116916324008a629160848082019260209290919082900301818787803b158015613a2d57600080fd5b505af1158015613a41573d6000803e3d6000fd5b505050506040513d6020811015613a5757600080fd5b505190508015613a7b57613a6e6003603883612f45565b9250600091506130259050565b613a83612d41565b60095414613a9757613a6e600a60396121d4565b613a9f614f2c565b6001600160a01b0386166000908152601060205260409020600101546060820152613ac986612c8d565b6080830181905260208301826003811115613ae057fe5b6003811115613aeb57fe5b9052506000905081602001516003811115613b0257fe5b14613b2c57613b1e60096037836020015160038111156119d157fe5b935060009250613025915050565b600019851415613b455760808101516040820152613b4d565b604081018590525b613b5b878260400151613814565b60e082018190526080820151613b7091612eba565b60a0830181905260208301826003811115613b8757fe5b6003811115613b9257fe5b9052506000905081602001516003811115613ba957fe5b14613be55760405162461bcd60e51b815260040180806020018281038252603a8152602001806150b1603a913960400191505060405180910390fd5b613bf5600b548260e00151612eba565b60c0830181905260208301826003811115613c0c57fe5b6003811115613c1757fe5b9052506000905081602001516003811115613c2e57fe5b14613c6a5760405162461bcd60e51b815260040180806020018281038252603181526020018061510b6031913960400191505060405180910390fd5b60a080820180516001600160a01b03808a16600081815260106020908152604091829020948555600a5460019095019490945560c0870151600b81905560e088015195518251948f16855294840192909252828101949094526060820192909252608081019190915290517f1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1929181900390910190a160e00151600097909650945050505050565b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015611c00573d6000803e3d6000fd5b6000821580613d55575081155b613d905760405162461bcd60e51b81526004018080602001828103825260348152602001806151cc6034913960400191505060405180910390fd5b613d98614ea1565b613da061260c565b6040830181905260208301826003811115613db757fe5b6003811115613dc257fe5b9052506000905081602001516003811115613dd957fe5b14613dfd57613df56009602b836020015160038111156119d157fe5b9150506112e9565b8315613eb257600019841415613e30576001600160a01b0385166000908152600e60205260409020546060820152613e38565b606081018490525b613e58604051806020016040528083604001518152508260600151612949565b6080830181905260208301826003811115613e6f57fe5b6003811115613e7a57fe5b9052506000905081602001516003811115613e9157fe5b14613ead57613df560096029836020015160038111156119d157fe5b613f70565b600019831415613ef9576001600160a01b0385166000908152600e60209081526040918290205460608401908152825191820183529183015181529051613e589190612949565b6080810183905260408051602081018252908201518152613f1b9084906138b0565b6060830181905260208301826003811115613f3257fe5b6003811115613f3d57fe5b9052506000905081602001516003811115613f5457fe5b14613f7057613df56009602a836020015160038111156119d157fe5b60055460608201516040805163eabe7d9160e01b81523060048201526001600160a01b03898116602483015260448201939093529051600093929092169163eabe7d919160648082019260209290919082900301818787803b158015613fd557600080fd5b505af1158015613fe9573d6000803e3d6000fd5b505050506040513d6020811015613fff57600080fd5b50519050801561401f576140166003602883612f45565b925050506112e9565b614027612d41565b6009541461403b57614016600a602c6121d4565b61404b600d548360600151612eba565b60a084018190526020840182600381111561406257fe5b600381111561406d57fe5b905250600090508260200151600381111561408457fe5b146140a0576140166009602e846020015160038111156119d157fe5b6001600160a01b0386166000908152600e602052604090205460608301516140c89190612eba565b60c08401819052602084018260038111156140df57fe5b60038111156140ea57fe5b905250600090508260200151600381111561410157fe5b1461411d576140166009602d846020015160038111156119d157fe5b816080015161412a61299c565b101561413c57614016600e602f6121d4565b61414a868360800151613d12565b60a0820151600d5560c08201516001600160a01b0387166000818152600e60209081526040918290209390935560608501518151908152905130936000805160206150eb833981519152928290030190a36080820151606080840151604080516001600160a01b038b168152602081019490945283810191909152517fe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a9299281900390910190a160055460808301516060840151604080516351dff98960e01b81523060048201526001600160a01b038b81166024830152604482019490945260648101929092525191909216916351dff98991608480830192600092919082900301818387803b15801561425d57600080fd5b505af1158015614271573d6000803e3d6000fd5b506000925061427e915050565b9695505050505050565b6000808361429b57506000905080612605565b838302838582816142a857fe5b04146142bc57506002915060009050612605565b600092509050612605565b600080826142db5750600190506000612605565b60008385816142e657fe5b04915091509250929050565b60055460408051632fe3f38f60e11b81523060048201526001600160a01b0384811660248301528781166044830152868116606483015260848201869052915160009384938493911691635fc7e71e9160a48082019260209290919082900301818787803b15801561436357600080fd5b505af1158015614377573d6000803e3d6000fd5b505050506040513d602081101561438d57600080fd5b5051905080156143b1576143a46003601283612f45565b9250600091506147db9050565b6143b9612d41565b600954146143cd576143a4600a60166121d4565b6143d5612d41565b846001600160a01b031663cfa992016040518163ffffffff1660e01b815260040160206040518083038186803b15801561440e57600080fd5b505afa158015614422573d6000803e3d6000fd5b505050506040513d602081101561443857600080fd5b50511461444b576143a4600a60116121d4565b866001600160a01b0316866001600160a01b03161415614471576143a4600660176121d4565b84614482576143a4600760156121d4565b600019851415614498576143a4600760146121d4565b6000806144a68989896139c4565b909250905081156144d6576144c78260108111156144c057fe5b60186121d4565b9450600093506147db92505050565b6005546040805163c488847b60e01b81523060048201526001600160a01b038981166024830152604482018590528251600094859492169263c488847b926064808301939192829003018186803b15801561453057600080fd5b505afa158015614544573d6000803e3d6000fd5b505050506040513d604081101561455a57600080fd5b508051602090910151909250905081156145a55760405162461bcd60e51b815260040180806020018281038252603381526020018061513c6033913960400191505060405180910390fd5b80886001600160a01b03166370a082318c6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156145fc57600080fd5b505afa158015614610573d6000803e3d6000fd5b505050506040513d602081101561462657600080fd5b5051101561467b576040805162461bcd60e51b815260206004820152601860248201527f4c49515549444154455f5345495a455f544f4f5f4d5543480000000000000000604482015290519081900360640190fd5b60006001600160a01b0389163014156146a15761469a308d8d8561315f565b905061472b565b6040805163b2a02ff160e01b81526001600160a01b038e811660048301528d81166024830152604482018590529151918b169163b2a02ff1916064808201926020929091908290030181600087803b1580156146fc57600080fd5b505af1158015614710573d6000803e3d6000fd5b505050506040513d602081101561472657600080fd5b505190505b8015614775576040805162461bcd60e51b81526020600482015260146024820152731d1bdad95b881cd95a5e9d5c994819985a5b195960621b604482015290519081900360640190fd5b604080516001600160a01b03808f168252808e1660208301528183018790528b1660608201526080810184905290517f298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb529181900360a00190a16000975092955050505050505b94509492505050565b6000670de0b6b3a76400006147fd848460000151614c76565b8161480457fe5b049392505050565b60006112e98383604051806040016040528060158152602001747375627472616374696f6e20756e646572666c6f7760581b815250614cb8565b6000614850614e10565b61485a8484614d12565b9050612941816139b5565b60006112e98383604051806040016040528060118152602001706164646974696f6e206f766572666c6f7760781b815250614d3c565b6005546040805163368f515360e21b81523060048201526001600160a01b0385811660248301526044820185905291516000938493169163da3d454c91606480830192602092919082900301818787803b1580156148f857600080fd5b505af115801561490c573d6000803e3d6000fd5b505050506040513d602081101561492257600080fd5b505190508015614941576149396003600e83612f45565b915050610ed7565b614949612d41565b6009541461495c57614939600a806121d4565b8261496561299c565b101561497757614939600e60096121d4565b61497f614f72565b61498885612c8d565b602083018190528282600381111561499c57fe5b60038111156149a757fe5b90525060009050815160038111156149bb57fe5b146149e0576149d760096007836000015160038111156119d157fe5b92505050610ed7565b6149ee816020015185612fab565b6040830181905282826003811115614a0257fe5b6003811115614a0d57fe5b9052506000905081516003811115614a2157fe5b14614a3d576149d76009600c836000015160038111156119d157fe5b614a49600b5485612fab565b6060830181905282826003811115614a5d57fe5b6003811115614a6857fe5b9052506000905081516003811115614a7c57fe5b14614a98576149d76009600b836000015160038111156119d157fe5b614aa28585613d12565b604080820180516001600160a01b03881660008181526010602090815290859020928355600a54600190930192909255606080860151600b81905593518551928352928201899052818501929092529081019190915290517f13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab809181900360800190a1600095945050505050565b600080600080614b3d612d41565b60095414614b5c57614b51600a604f6121d4565b93509150612d3c9050565b614b663386613814565b905080600c54019150600c54821015614bc6576040805162461bcd60e51b815260206004820181905260248201527f61646420726573657276657320756e6578706563746564206f766572666c6f77604482015290519081900360640190fd5b600c829055604080513381526020810183905280820184905290517fa91e67c5ea634cd43a12c5a482724b03de01e85ca68702a53d0c2f45cb7c1dc59181900360600190a160009350915050915091565b6000614c21614e10565b600080614c36670de0b6b3a764000087614288565b90925090506000826003811115614c4957fe5b14614c6857506040805160208101909152600081529092509050612605565b61298f818660000151613905565b60006112e983836040518060400160405280601781526020017f6d756c7469706c69636174696f6e206f766572666c6f77000000000000000000815250614d9a565b60008184841115614d0a5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610da0578181015183820152602001610d88565b505050900390565b614d1a614e10565b6040518060200160405280614d33856000015185614c76565b90529392505050565b60008383018285821015614d915760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610da0578181015183820152602001610d88565b50949350505050565b6000831580614da7575082155b15614db4575060006112e9565b83830283858281614dc157fe5b04148390614d915760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610da0578181015183820152602001610d88565b6040518060200160405280600081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10614e6457805160ff1916838001178555614e91565b82800160010185558215614e91579182015b82811115614e91578251825591602001919060010190614e76565b50614e9d929150614f9b565b5090565b6040805160e0810190915280600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b604080516101208101909152806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6040805161010081019091528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b604080516080810190915280600081526020016000815260200160008152602001600081525090565b61104791905b80821115614e9d5760008155600101614fa156fe6f6e6c792061646d696e206d617920696e697469616c697a6520746865206d61726b65746d61726b6574206d6179206f6e6c7920626520696e697469616c697a6564206f6e6365696e697469616c2065786368616e67652072617465206d7573742062652067726561746572207468616e207a65726f2e73657474696e6720696e7465726573742072617465206d6f64656c206661696c65644d494e545f4e45575f4143434f554e545f42414c414e43455f43414c43554c4154494f4e5f4641494c4544626f72726f7742616c616e636553746f7265643a20626f72726f7742616c616e636553746f726564496e7465726e616c206661696c656452455041595f424f52524f575f4e45575f4143434f554e545f424f52524f575f42414c414e43455f43414c43554c4154494f4e5f4641494c4544ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef52455041595f424f52524f575f4e45575f544f54414c5f42414c414e43455f43414c43554c4154494f4e5f4641494c45444c49515549444154455f434f4d5054524f4c4c45525f43414c43554c4154455f414d4f554e545f5345495a455f4641494c454465786368616e67655261746553746f7265643a2065786368616e67655261746553746f726564496e7465726e616c206661696c65644d494e545f4e45575f544f54414c5f535550504c595f43414c43554c4154494f4e5f4641494c45446f6e65206f662072656465656d546f6b656e73496e206f722072656465656d416d6f756e74496e206d757374206265207a65726f72656475636520726573657276657320756e657870656374656420756e646572666c6f77a265627a7a72315820bb4489f09fe6780ca38eea47a7911afd92aa72d7b35315df705fe848fb43655d64736f6c634300051100326f6e6c792061646d696e206d617920696e697469616c697a6520746865206d61726b65746d61726b6574206d6179206f6e6c7920626520696e697469616c697a6564206f6e6365696e697469616c2065786368616e67652072617465206d7573742062652067726561746572207468616e207a65726f2e73657474696e6720696e7465726573742072617465206d6f64656c206661696c6564";
|
|
1394
|
+
|
|
1395
|
+
type QiAvaxConstructorParams =
|
|
1396
|
+
| [signer?: Signer]
|
|
1397
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
1398
|
+
|
|
1399
|
+
const isSuperArgs = (
|
|
1400
|
+
xs: QiAvaxConstructorParams
|
|
1401
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
1402
|
+
|
|
1403
|
+
export class QiAvax__factory extends ContractFactory {
|
|
1404
|
+
constructor(...args: QiAvaxConstructorParams) {
|
|
1405
|
+
if (isSuperArgs(args)) {
|
|
1406
|
+
super(...args);
|
|
1407
|
+
} else {
|
|
1408
|
+
super(_abi, _bytecode, args[0]);
|
|
1409
|
+
}
|
|
1410
|
+
this.contractName = "QiAvax";
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1413
|
+
deploy(
|
|
1414
|
+
comptroller_: string,
|
|
1415
|
+
interestRateModel_: string,
|
|
1416
|
+
initialExchangeRateMantissa_: BigNumberish,
|
|
1417
|
+
name_: string,
|
|
1418
|
+
symbol_: string,
|
|
1419
|
+
decimals_: BigNumberish,
|
|
1420
|
+
admin_: string,
|
|
1421
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1422
|
+
): Promise<QiAvax> {
|
|
1423
|
+
return super.deploy(
|
|
1424
|
+
comptroller_,
|
|
1425
|
+
interestRateModel_,
|
|
1426
|
+
initialExchangeRateMantissa_,
|
|
1427
|
+
name_,
|
|
1428
|
+
symbol_,
|
|
1429
|
+
decimals_,
|
|
1430
|
+
admin_,
|
|
1431
|
+
overrides || {}
|
|
1432
|
+
) as Promise<QiAvax>;
|
|
1433
|
+
}
|
|
1434
|
+
getDeployTransaction(
|
|
1435
|
+
comptroller_: string,
|
|
1436
|
+
interestRateModel_: string,
|
|
1437
|
+
initialExchangeRateMantissa_: BigNumberish,
|
|
1438
|
+
name_: string,
|
|
1439
|
+
symbol_: string,
|
|
1440
|
+
decimals_: BigNumberish,
|
|
1441
|
+
admin_: string,
|
|
1442
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1443
|
+
): TransactionRequest {
|
|
1444
|
+
return super.getDeployTransaction(
|
|
1445
|
+
comptroller_,
|
|
1446
|
+
interestRateModel_,
|
|
1447
|
+
initialExchangeRateMantissa_,
|
|
1448
|
+
name_,
|
|
1449
|
+
symbol_,
|
|
1450
|
+
decimals_,
|
|
1451
|
+
admin_,
|
|
1452
|
+
overrides || {}
|
|
1453
|
+
);
|
|
1454
|
+
}
|
|
1455
|
+
attach(address: string): QiAvax {
|
|
1456
|
+
return super.attach(address) as QiAvax;
|
|
1457
|
+
}
|
|
1458
|
+
connect(signer: Signer): QiAvax__factory {
|
|
1459
|
+
return super.connect(signer) as QiAvax__factory;
|
|
1460
|
+
}
|
|
1461
|
+
static readonly contractName: "QiAvax";
|
|
1462
|
+
public readonly contractName: "QiAvax";
|
|
1463
|
+
static readonly bytecode = _bytecode;
|
|
1464
|
+
static readonly abi = _abi;
|
|
1465
|
+
static createInterface(): QiAvaxInterface {
|
|
1466
|
+
return new utils.Interface(_abi) as QiAvaxInterface;
|
|
1467
|
+
}
|
|
1468
|
+
static connect(address: string, signerOrProvider: Signer | Provider): QiAvax {
|
|
1469
|
+
return new Contract(address, _abi, signerOrProvider) as QiAvax;
|
|
1470
|
+
}
|
|
1471
|
+
}
|