@pendle/core-v2 0.6.8 → 0.6.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPGauge.sol/{IPendleGauge.json → IPGauge.json} +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/{IVePToken.json → IPVeToken.json} +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/{IVotingEscrowPendle.json → IPVotingEscrow.json} +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowController.sol/IPVotingEscrowController.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPVotingEscrowController.sol/{VotingEscrowController.json → IPVotingEscrowController.json} +1 -1
- package/build/artifacts/contracts/interfaces/IVePToken.sol/IVePToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IVotingEscrowPendle.sol/IVotingEscrowPendle.dbg.json +1 -1
- package/contracts/interfaces/IPGauge.sol +1 -1
- package/contracts/interfaces/IPVeToken.sol +1 -1
- package/contracts/interfaces/IPVotingEscrow.sol +2 -2
- package/contracts/interfaces/IPVotingEscrowController.sol +1 -1
- package/package.json +1 -1
- package/typechain-types/ActionSCYAndYOBase.ts +223 -0
- package/typechain-types/AggregatorV2V3Interface.ts +380 -0
- package/typechain-types/BenqiChainlinkOracle.ts +362 -0
- package/typechain-types/BoringOwnable.ts +194 -0
- package/typechain-types/BoringOwnableData.ts +100 -0
- package/typechain-types/BoringOwnableUpg.ts +194 -0
- package/typechain-types/BoringOwnableUpgData.ts +100 -0
- package/typechain-types/Comptroller.ts +2860 -0
- package/typechain-types/ComptrollerErrorReporter.ts +70 -0
- package/typechain-types/ComptrollerInterface.ts +881 -0
- package/typechain-types/ComptrollerVXStorage.ts +781 -0
- package/typechain-types/CrosschainContract.ts +113 -0
- package/typechain-types/CrosschainReceiver.ts +347 -0
- package/typechain-types/CrosschainSender.ts +210 -0
- package/typechain-types/EIP20Interface.ts +337 -0
- package/typechain-types/EIP20NonStandardInterface.ts +298 -0
- package/typechain-types/ERC20Burnable.ts +473 -0
- package/typechain-types/ERC20Locker.ts +91 -0
- package/typechain-types/ERC20Premined.ts +473 -0
- package/typechain-types/ERC20PresetFixedSupply.ts +473 -0
- package/typechain-types/EpochController.ts +195 -0
- package/typechain-types/FundKeeper.ts +347 -0
- package/typechain-types/GaugeTypeControllerAbstract.ts +546 -0
- package/typechain-types/GaugeTypeControllerCrosschain.ts +733 -0
- package/typechain-types/GaugeTypeControllerMainchain.ts +604 -0
- package/typechain-types/IGaugeController.ts +99 -0
- package/typechain-types/ILiquidYieldToken.ts +639 -0
- package/typechain-types/ILiquidYieldTokenWrap.ts +790 -0
- package/typechain-types/IMessageBus.ts +543 -0
- package/typechain-types/IMessageReceiverApp.ts +110 -0
- package/typechain-types/IPFlashCallback.ts +115 -0
- package/typechain-types/IPGauge.ts +241 -0
- package/typechain-types/IPLiquidYieldToken.ts +641 -0
- package/typechain-types/IPMarketCallback.ts +107 -0
- package/typechain-types/IPOwnershipToken.ts +488 -0
- package/typechain-types/IPRouterCore.ts +769 -0
- package/typechain-types/IPRouterRedeem.ts +155 -0
- package/typechain-types/IPRouterYT.ts +489 -0
- package/typechain-types/IPVeToken.ts +103 -0
- package/typechain-types/IPVotingEscrow.ts +297 -0
- package/typechain-types/IPVotingEscrowController.ts +154 -0
- package/typechain-types/IPermissionsV2.ts +87 -0
- package/typechain-types/IRainbowBridge.ts +91 -0
- package/typechain-types/ISCYRewardIndex.ts +695 -0
- package/typechain-types/IVEPendleToken.ts +121 -0
- package/typechain-types/IXPendle.ts +114 -0
- package/typechain-types/InterestRateModel.ts +178 -0
- package/typechain-types/JumpRateModel.ts +347 -0
- package/typechain-types/LYTBase.ts +721 -0
- package/typechain-types/LYTBaseWithRewards.ts +806 -0
- package/typechain-types/LYTWrap.ts +872 -0
- package/typechain-types/LYTWrapWithRewards.ts +979 -0
- package/typechain-types/LiquidityMining.ts +468 -0
- package/typechain-types/Maximillion.ts +145 -0
- package/typechain-types/Ownable.ts +160 -0
- package/typechain-types/PendleAaveV3LYT.ts +808 -0
- package/typechain-types/PendleBenQiErc20LYT.ts +901 -0
- package/typechain-types/PendleBenqiLiquidYieldToken.ts +1013 -0
- package/typechain-types/PendleBtrflyLYT.ts +781 -0
- package/typechain-types/PendleGauge.ts +469 -0
- package/typechain-types/PendleJoeSwapHelper.ts +92 -0
- package/typechain-types/PendleLYTMockYT.ts +894 -0
- package/typechain-types/PendleLiquidYieldToken.ts +814 -0
- package/typechain-types/PendleLiquidYieldTokenBase.ts +941 -0
- package/typechain-types/PendleOwnershipToken.ts +598 -0
- package/typechain-types/PendleRouter01.ts +184 -0
- package/typechain-types/PendleRouter02.ts +564 -0
- package/typechain-types/PendleRouter03.ts +224 -0
- package/typechain-types/PendleRouterBase.ts +126 -0
- package/typechain-types/PendleRouterCore.ts +328 -0
- package/typechain-types/PendleRouterCoreUpg.ts +798 -0
- package/typechain-types/PendleRouterLytAndForge.ts +331 -0
- package/typechain-types/PendleRouterMarketBase.ts +82 -0
- package/typechain-types/PendleRouterOT.ts +463 -0
- package/typechain-types/PendleRouterProxy.ts +335 -0
- package/typechain-types/PendleRouterRawTokenOT.ts +865 -0
- package/typechain-types/PendleRouterRawTokenYT.ts +520 -0
- package/typechain-types/PendleRouterRedeemUpg.ts +125 -0
- package/typechain-types/PendleRouterSCYAndForgeBaseUpg.ts +98 -0
- package/typechain-types/PendleRouterStaticUpg.ts +399 -0
- package/typechain-types/PendleRouterYT.ts +227 -0
- package/typechain-types/PendleRouterYTBaseUpg.ts +134 -0
- package/typechain-types/PendleRouterYTUpg.ts +537 -0
- package/typechain-types/PendleYTLYTBenqi.ts +863 -0
- package/typechain-types/PendleYearnVaultLYT.ts +723 -0
- package/typechain-types/PermissionsV2.ts +87 -0
- package/typechain-types/PermlessAbstract.ts +57 -0
- package/typechain-types/PglStakingContract.ts +662 -0
- package/typechain-types/PglStakingContractProxy.ts +256 -0
- package/typechain-types/PglStakingContractProxyStorage.ts +136 -0
- package/typechain-types/PglStakingContractStorage.ts +397 -0
- package/typechain-types/PriceOracle.ts +116 -0
- package/typechain-types/ProtocolFakeUser.ts +105 -0
- package/typechain-types/Qi.ts +760 -0
- package/typechain-types/QiAvax.ts +1720 -0
- package/typechain-types/QiDelegateInterface.ts +145 -0
- package/typechain-types/QiDelegationStorage.ts +82 -0
- package/typechain-types/QiDelegatorInterface.ts +149 -0
- package/typechain-types/QiErc20.ts +1846 -0
- package/typechain-types/QiErc20Delegate.ts +1926 -0
- package/typechain-types/QiErc20Delegator.ts +1885 -0
- package/typechain-types/QiErc20Interface.ts +382 -0
- package/typechain-types/QiErc20Storage.ts +79 -0
- package/typechain-types/QiToken.ts +1475 -0
- package/typechain-types/QiTokenInterface.ts +1419 -0
- package/typechain-types/QiTokenSaleDistributor.ts +771 -0
- package/typechain-types/QiTokenSaleDistributorProxy.ts +256 -0
- package/typechain-types/QiTokenSaleDistributorProxyStorage.ts +136 -0
- package/typechain-types/QiTokenSaleDistributorStorage.ts +401 -0
- package/typechain-types/QiTokenStorage.ts +311 -0
- package/typechain-types/ReentrancyGuard.ts +52 -0
- package/typechain-types/SingleGaugeTypeController.ts +478 -0
- package/typechain-types/TokenErrorReporter.ts +70 -0
- package/typechain-types/Unitroller.ts +356 -0
- package/typechain-types/UnitrollerAdminStorage.ts +143 -0
- package/typechain-types/VePendle.ts +1156 -0
- package/typechain-types/VePendleCrosschain.ts +969 -0
- package/typechain-types/VePendleToken.ts +688 -0
- package/typechain-types/VotingController.ts +883 -0
- package/typechain-types/WETH9.ts +414 -0
- package/typechain-types/WhitePaperInterestRateModel.ts +304 -0
- package/typechain-types/XPendle.ts +618 -0
- package/typechain-types/factories/ActionSCYAndYOBase__factory.ts +200 -0
- package/typechain-types/factories/AggregatorV2V3Interface__factory.ts +288 -0
- package/typechain-types/factories/BenqiChainlinkOracle__factory.ts +311 -0
- package/typechain-types/factories/BoringOwnableData__factory.ts +90 -0
- package/typechain-types/factories/BoringOwnableUpgData__factory.ts +94 -0
- package/typechain-types/factories/BoringOwnableUpg__factory.ts +139 -0
- package/typechain-types/factories/BoringOwnable__factory.ts +149 -0
- package/typechain-types/factories/ComptrollerErrorReporter__factory.ts +93 -0
- package/typechain-types/factories/ComptrollerInterface__factory.ts +595 -0
- package/typechain-types/factories/ComptrollerVXStorage__factory.ts +610 -0
- package/typechain-types/factories/Comptroller__factory.ts +2189 -0
- package/typechain-types/factories/CrosschainContract__factory.ts +52 -0
- package/typechain-types/factories/CrosschainReceiver__factory.ts +187 -0
- package/typechain-types/factories/CrosschainSender__factory.ts +104 -0
- package/typechain-types/factories/EIP20Interface__factory.ts +248 -0
- package/typechain-types/factories/EIP20NonStandardInterface__factory.ts +213 -0
- package/typechain-types/factories/ERC20Burnable__factory.ts +324 -0
- package/typechain-types/factories/ERC20Locker__factory.ts +73 -0
- package/typechain-types/factories/ERC20Premined__factory.ts +393 -0
- package/typechain-types/factories/ERC20PresetFixedSupply__factory.ts +422 -0
- package/typechain-types/factories/EpochController__factory.ts +170 -0
- package/typechain-types/factories/FundKeeper__factory.ts +212 -0
- package/typechain-types/factories/GaugeTypeControllerAbstract__factory.ts +387 -0
- package/typechain-types/factories/GaugeTypeControllerCrosschain__factory.ts +522 -0
- package/typechain-types/factories/GaugeTypeControllerMainchain__factory.ts +431 -0
- package/typechain-types/factories/IGaugeController__factory.ts +45 -0
- package/typechain-types/factories/ILiquidYieldTokenWrap__factory.ts +533 -0
- package/typechain-types/factories/ILiquidYieldToken__factory.ts +429 -0
- package/typechain-types/factories/IMessageBus__factory.ts +396 -0
- package/typechain-types/factories/IMessageReceiverApp__factory.ts +55 -0
- package/typechain-types/factories/IPFlashCallback__factory.ts +49 -0
- package/typechain-types/factories/IPGauge__factory.ts +125 -0
- package/typechain-types/factories/IPLiquidYieldToken__factory.ts +433 -0
- package/typechain-types/factories/IPMarketCallback__factory.ts +55 -0
- package/typechain-types/factories/IPOwnershipToken__factory.ts +349 -0
- package/typechain-types/factories/IPRouterCore__factory.ts +531 -0
- package/typechain-types/factories/IPRouterRedeem__factory.ts +72 -0
- package/typechain-types/factories/IPRouterYT__factory.ts +305 -0
- package/typechain-types/factories/IPVeToken__factory.ts +55 -0
- package/typechain-types/factories/IPVotingEscrowController__factory.ts +80 -0
- package/typechain-types/factories/IPVotingEscrow__factory.ts +182 -0
- package/typechain-types/factories/IPermissionsV2__factory.ts +39 -0
- package/typechain-types/factories/IRainbowBridge__factory.ts +76 -0
- package/typechain-types/factories/ISCYRewardIndex__factory.ts +465 -0
- package/typechain-types/factories/IVEPendleToken__factory.ts +71 -0
- package/typechain-types/factories/IXPendle__factory.ts +61 -0
- package/typechain-types/factories/InterestRateModel__factory.ts +108 -0
- package/typechain-types/factories/JumpRateModel__factory.ts +334 -0
- package/typechain-types/factories/LYTBaseWithRewards__factory.ts +530 -0
- package/typechain-types/factories/LYTBase__factory.ts +474 -0
- package/typechain-types/factories/LYTWrapWithRewards__factory.ts +643 -0
- package/typechain-types/factories/LYTWrap__factory.ts +574 -0
- package/typechain-types/factories/LiquidityMining__factory.ts +367 -0
- package/typechain-types/factories/Maximillion__factory.ts +125 -0
- package/typechain-types/factories/Ownable__factory.ts +75 -0
- package/typechain-types/factories/PendleAaveV3LYT__factory.ts +657 -0
- package/typechain-types/factories/PendleBenQiErc20LYT__factory.ts +748 -0
- package/typechain-types/factories/PendleBenqiLiquidYieldToken__factory.ts +785 -0
- package/typechain-types/factories/PendleBtrflyLYT__factory.ts +647 -0
- package/typechain-types/factories/PendleGauge__factory.ts +383 -0
- package/typechain-types/factories/PendleJoeSwapHelper__factory.ts +52 -0
- package/typechain-types/factories/PendleLYTMockYT__factory.ts +732 -0
- package/typechain-types/factories/PendleLiquidYieldTokenBase__factory.ts +603 -0
- package/typechain-types/factories/PendleLiquidYieldToken__factory.ts +510 -0
- package/typechain-types/factories/PendleOwnershipToken__factory.ts +527 -0
- package/typechain-types/factories/PendleRouter01__factory.ts +152 -0
- package/typechain-types/factories/PendleRouter02__factory.ts +438 -0
- package/typechain-types/factories/PendleRouter03__factory.ts +190 -0
- package/typechain-types/factories/PendleRouterBase__factory.ts +68 -0
- package/typechain-types/factories/PendleRouterCoreUpg__factory.ts +635 -0
- package/typechain-types/factories/PendleRouterCore__factory.ts +268 -0
- package/typechain-types/factories/PendleRouterLytAndForge__factory.ts +294 -0
- package/typechain-types/factories/PendleRouterMarketBase__factory.ts +43 -0
- package/typechain-types/factories/PendleRouterOT__factory.ts +372 -0
- package/typechain-types/factories/PendleRouterProxy__factory.ts +285 -0
- package/typechain-types/factories/PendleRouterRawTokenOT__factory.ts +697 -0
- package/typechain-types/factories/PendleRouterRawTokenYT__factory.ts +431 -0
- package/typechain-types/factories/PendleRouterRedeemUpg__factory.ts +112 -0
- package/typechain-types/factories/PendleRouterSCYAndForgeBaseUpg__factory.ts +56 -0
- package/typechain-types/factories/PendleRouterStaticUpg__factory.ts +315 -0
- package/typechain-types/factories/PendleRouterYTBaseUpg__factory.ts +66 -0
- package/typechain-types/factories/PendleRouterYTUpg__factory.ts +422 -0
- package/typechain-types/factories/PendleRouterYT__factory.ts +184 -0
- package/typechain-types/factories/PendleYTLYTBenqi__factory.ts +713 -0
- package/typechain-types/factories/PendleYearnVaultLYT__factory.ts +586 -0
- package/typechain-types/factories/PermissionsV2__factory.ts +36 -0
- package/typechain-types/factories/PermlessAbstract__factory.ts +30 -0
- package/typechain-types/factories/PglStakingContractProxyStorage__factory.ts +130 -0
- package/typechain-types/factories/PglStakingContractProxy__factory.ts +187 -0
- package/typechain-types/factories/PglStakingContractStorage__factory.ts +309 -0
- package/typechain-types/factories/PglStakingContract__factory.ts +446 -0
- package/typechain-types/factories/PriceOracle__factory.ts +59 -0
- package/typechain-types/factories/ProtocolFakeUser__factory.ts +87 -0
- package/typechain-types/factories/QiAvax__factory.ts +1471 -0
- package/typechain-types/factories/QiDelegateInterface__factory.ts +65 -0
- package/typechain-types/factories/QiDelegationStorage__factory.ts +79 -0
- package/typechain-types/factories/QiDelegatorInterface__factory.ts +89 -0
- package/typechain-types/factories/QiErc20Delegate__factory.ts +1563 -0
- package/typechain-types/factories/QiErc20Delegator__factory.ts +1648 -0
- package/typechain-types/factories/QiErc20Interface__factory.ts +239 -0
- package/typechain-types/factories/QiErc20Storage__factory.ts +79 -0
- package/typechain-types/factories/QiErc20__factory.ts +1515 -0
- package/typechain-types/factories/QiTokenInterface__factory.ts +1182 -0
- package/typechain-types/factories/QiTokenSaleDistributorProxyStorage__factory.ts +124 -0
- package/typechain-types/factories/QiTokenSaleDistributorProxy__factory.ts +171 -0
- package/typechain-types/factories/QiTokenSaleDistributorStorage__factory.ts +289 -0
- package/typechain-types/factories/QiTokenSaleDistributor__factory.ts +480 -0
- package/typechain-types/factories/QiTokenStorage__factory.ts +274 -0
- package/typechain-types/factories/QiToken__factory.ts +1219 -0
- package/typechain-types/factories/Qi__factory.ts +648 -0
- package/typechain-types/factories/ReentrancyGuard__factory.ts +69 -0
- package/typechain-types/factories/SingleGaugeTypeController__factory.ts +341 -0
- package/typechain-types/factories/TokenErrorReporter__factory.ts +89 -0
- package/typechain-types/factories/UnitrollerAdminStorage__factory.ts +128 -0
- package/typechain-types/factories/Unitroller__factory.ts +305 -0
- package/typechain-types/factories/VePendleCrosschain__factory.ts +727 -0
- package/typechain-types/factories/VePendleToken__factory.ts +494 -0
- package/typechain-types/factories/VePendle__factory.ts +800 -0
- package/typechain-types/factories/VotingController__factory.ts +610 -0
- package/typechain-types/factories/WETH9__factory.ts +342 -0
- package/typechain-types/factories/WhitePaperInterestRateModel__factory.ts +281 -0
- package/typechain-types/factories/XPendle__factory.ts +473 -0
- package/typechain-types/hardhat.d.ts +52 -16
- package/typechain-types/index.ts +22 -6
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPendleGauge.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IVePToken.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IVotingEscrowPendle.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPVotingEscrowController.sol/VotingEscrowController.dbg.json +0 -4
|
@@ -0,0 +1,2860 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import {
|
|
5
|
+
BaseContract,
|
|
6
|
+
BigNumber,
|
|
7
|
+
BigNumberish,
|
|
8
|
+
BytesLike,
|
|
9
|
+
CallOverrides,
|
|
10
|
+
ContractTransaction,
|
|
11
|
+
Overrides,
|
|
12
|
+
PayableOverrides,
|
|
13
|
+
PopulatedTransaction,
|
|
14
|
+
Signer,
|
|
15
|
+
utils,
|
|
16
|
+
} from "ethers";
|
|
17
|
+
import { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
|
|
18
|
+
import { Listener, Provider } from "@ethersproject/providers";
|
|
19
|
+
import { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "./common";
|
|
20
|
+
|
|
21
|
+
export interface ComptrollerInterface extends utils.Interface {
|
|
22
|
+
contractName: "Comptroller";
|
|
23
|
+
functions: {
|
|
24
|
+
"_become(address)": FunctionFragment;
|
|
25
|
+
"_borrowGuardianPaused()": FunctionFragment;
|
|
26
|
+
"_grantQi(address,uint256)": FunctionFragment;
|
|
27
|
+
"_mintGuardianPaused()": FunctionFragment;
|
|
28
|
+
"_setBorrowCapGuardian(address)": FunctionFragment;
|
|
29
|
+
"_setBorrowPaused(address,bool)": FunctionFragment;
|
|
30
|
+
"_setCloseFactor(uint256)": FunctionFragment;
|
|
31
|
+
"_setCollateralFactor(address,uint256)": FunctionFragment;
|
|
32
|
+
"_setLiquidationIncentive(uint256)": FunctionFragment;
|
|
33
|
+
"_setMarketBorrowCaps(address[],uint256[])": FunctionFragment;
|
|
34
|
+
"_setMintPaused(address,bool)": FunctionFragment;
|
|
35
|
+
"_setPauseGuardian(address)": FunctionFragment;
|
|
36
|
+
"_setPriceOracle(address)": FunctionFragment;
|
|
37
|
+
"_setRewardSpeed(uint8,address,uint256)": FunctionFragment;
|
|
38
|
+
"_setSeizePaused(bool)": FunctionFragment;
|
|
39
|
+
"_setTransferPaused(bool)": FunctionFragment;
|
|
40
|
+
"_supportMarket(address)": FunctionFragment;
|
|
41
|
+
"accountAssets(address,uint256)": FunctionFragment;
|
|
42
|
+
"admin()": FunctionFragment;
|
|
43
|
+
"allMarkets(uint256)": FunctionFragment;
|
|
44
|
+
"borrowAllowed(address,address,uint256)": FunctionFragment;
|
|
45
|
+
"borrowCapGuardian()": FunctionFragment;
|
|
46
|
+
"borrowCaps(address)": FunctionFragment;
|
|
47
|
+
"borrowGuardianPaused(address)": FunctionFragment;
|
|
48
|
+
"borrowVerify(address,address,uint256)": FunctionFragment;
|
|
49
|
+
"checkMembership(address,address)": FunctionFragment;
|
|
50
|
+
"claimReward(uint8,address)": FunctionFragment;
|
|
51
|
+
"closeFactorMantissa()": FunctionFragment;
|
|
52
|
+
"comptrollerImplementation()": FunctionFragment;
|
|
53
|
+
"enterMarkets(address[])": FunctionFragment;
|
|
54
|
+
"exitMarket(address)": FunctionFragment;
|
|
55
|
+
"getAccountLiquidity(address)": FunctionFragment;
|
|
56
|
+
"getAllMarkets()": FunctionFragment;
|
|
57
|
+
"getAssetsIn(address)": FunctionFragment;
|
|
58
|
+
"getBlockTimestamp()": FunctionFragment;
|
|
59
|
+
"getHypotheticalAccountLiquidity(address,address,uint256,uint256)": FunctionFragment;
|
|
60
|
+
"initialIndexConstant()": FunctionFragment;
|
|
61
|
+
"isComptroller()": FunctionFragment;
|
|
62
|
+
"liquidateBorrowAllowed(address,address,address,address,uint256)": FunctionFragment;
|
|
63
|
+
"liquidateBorrowVerify(address,address,address,address,uint256,uint256)": FunctionFragment;
|
|
64
|
+
"liquidateCalculateSeizeTokens(address,address,uint256)": FunctionFragment;
|
|
65
|
+
"liquidationIncentiveMantissa()": FunctionFragment;
|
|
66
|
+
"markets(address)": FunctionFragment;
|
|
67
|
+
"maxAssets()": FunctionFragment;
|
|
68
|
+
"mintAllowed(address,address,uint256)": FunctionFragment;
|
|
69
|
+
"mintGuardianPaused(address)": FunctionFragment;
|
|
70
|
+
"mintVerify(address,address,uint256,uint256)": FunctionFragment;
|
|
71
|
+
"oracle()": FunctionFragment;
|
|
72
|
+
"pauseGuardian()": FunctionFragment;
|
|
73
|
+
"pendingAdmin()": FunctionFragment;
|
|
74
|
+
"pendingComptrollerImplementation()": FunctionFragment;
|
|
75
|
+
"qiAddress()": FunctionFragment;
|
|
76
|
+
"redeemAllowed(address,address,uint256)": FunctionFragment;
|
|
77
|
+
"redeemVerify(address,address,uint256,uint256)": FunctionFragment;
|
|
78
|
+
"repayBorrowAllowed(address,address,address,uint256)": FunctionFragment;
|
|
79
|
+
"repayBorrowVerify(address,address,address,uint256,uint256)": FunctionFragment;
|
|
80
|
+
"rewardAccrued(uint8,address)": FunctionFragment;
|
|
81
|
+
"rewardAvax()": FunctionFragment;
|
|
82
|
+
"rewardBorrowState(uint8,address)": FunctionFragment;
|
|
83
|
+
"rewardBorrowerIndex(uint8,address,address)": FunctionFragment;
|
|
84
|
+
"rewardQi()": FunctionFragment;
|
|
85
|
+
"rewardSpeeds(uint8,address)": FunctionFragment;
|
|
86
|
+
"rewardSupplierIndex(uint8,address,address)": FunctionFragment;
|
|
87
|
+
"rewardSupplyState(uint8,address)": FunctionFragment;
|
|
88
|
+
"seizeAllowed(address,address,address,address,uint256)": FunctionFragment;
|
|
89
|
+
"seizeGuardianPaused()": FunctionFragment;
|
|
90
|
+
"seizeVerify(address,address,address,address,uint256)": FunctionFragment;
|
|
91
|
+
"setQiAddress(address)": FunctionFragment;
|
|
92
|
+
"transferAllowed(address,address,address,uint256)": FunctionFragment;
|
|
93
|
+
"transferGuardianPaused()": FunctionFragment;
|
|
94
|
+
"transferVerify(address,address,address,uint256)": FunctionFragment;
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
encodeFunctionData(functionFragment: "_become", values: [string]): string;
|
|
98
|
+
encodeFunctionData(
|
|
99
|
+
functionFragment: "_borrowGuardianPaused",
|
|
100
|
+
values?: undefined
|
|
101
|
+
): string;
|
|
102
|
+
encodeFunctionData(
|
|
103
|
+
functionFragment: "_grantQi",
|
|
104
|
+
values: [string, BigNumberish]
|
|
105
|
+
): string;
|
|
106
|
+
encodeFunctionData(
|
|
107
|
+
functionFragment: "_mintGuardianPaused",
|
|
108
|
+
values?: undefined
|
|
109
|
+
): string;
|
|
110
|
+
encodeFunctionData(
|
|
111
|
+
functionFragment: "_setBorrowCapGuardian",
|
|
112
|
+
values: [string]
|
|
113
|
+
): string;
|
|
114
|
+
encodeFunctionData(
|
|
115
|
+
functionFragment: "_setBorrowPaused",
|
|
116
|
+
values: [string, boolean]
|
|
117
|
+
): string;
|
|
118
|
+
encodeFunctionData(
|
|
119
|
+
functionFragment: "_setCloseFactor",
|
|
120
|
+
values: [BigNumberish]
|
|
121
|
+
): string;
|
|
122
|
+
encodeFunctionData(
|
|
123
|
+
functionFragment: "_setCollateralFactor",
|
|
124
|
+
values: [string, BigNumberish]
|
|
125
|
+
): string;
|
|
126
|
+
encodeFunctionData(
|
|
127
|
+
functionFragment: "_setLiquidationIncentive",
|
|
128
|
+
values: [BigNumberish]
|
|
129
|
+
): string;
|
|
130
|
+
encodeFunctionData(
|
|
131
|
+
functionFragment: "_setMarketBorrowCaps",
|
|
132
|
+
values: [string[], BigNumberish[]]
|
|
133
|
+
): string;
|
|
134
|
+
encodeFunctionData(
|
|
135
|
+
functionFragment: "_setMintPaused",
|
|
136
|
+
values: [string, boolean]
|
|
137
|
+
): string;
|
|
138
|
+
encodeFunctionData(
|
|
139
|
+
functionFragment: "_setPauseGuardian",
|
|
140
|
+
values: [string]
|
|
141
|
+
): string;
|
|
142
|
+
encodeFunctionData(
|
|
143
|
+
functionFragment: "_setPriceOracle",
|
|
144
|
+
values: [string]
|
|
145
|
+
): string;
|
|
146
|
+
encodeFunctionData(
|
|
147
|
+
functionFragment: "_setRewardSpeed",
|
|
148
|
+
values: [BigNumberish, string, BigNumberish]
|
|
149
|
+
): string;
|
|
150
|
+
encodeFunctionData(
|
|
151
|
+
functionFragment: "_setSeizePaused",
|
|
152
|
+
values: [boolean]
|
|
153
|
+
): string;
|
|
154
|
+
encodeFunctionData(
|
|
155
|
+
functionFragment: "_setTransferPaused",
|
|
156
|
+
values: [boolean]
|
|
157
|
+
): string;
|
|
158
|
+
encodeFunctionData(
|
|
159
|
+
functionFragment: "_supportMarket",
|
|
160
|
+
values: [string]
|
|
161
|
+
): string;
|
|
162
|
+
encodeFunctionData(
|
|
163
|
+
functionFragment: "accountAssets",
|
|
164
|
+
values: [string, BigNumberish]
|
|
165
|
+
): string;
|
|
166
|
+
encodeFunctionData(functionFragment: "admin", values?: undefined): string;
|
|
167
|
+
encodeFunctionData(
|
|
168
|
+
functionFragment: "allMarkets",
|
|
169
|
+
values: [BigNumberish]
|
|
170
|
+
): string;
|
|
171
|
+
encodeFunctionData(
|
|
172
|
+
functionFragment: "borrowAllowed",
|
|
173
|
+
values: [string, string, BigNumberish]
|
|
174
|
+
): string;
|
|
175
|
+
encodeFunctionData(
|
|
176
|
+
functionFragment: "borrowCapGuardian",
|
|
177
|
+
values?: undefined
|
|
178
|
+
): string;
|
|
179
|
+
encodeFunctionData(functionFragment: "borrowCaps", values: [string]): string;
|
|
180
|
+
encodeFunctionData(
|
|
181
|
+
functionFragment: "borrowGuardianPaused",
|
|
182
|
+
values: [string]
|
|
183
|
+
): string;
|
|
184
|
+
encodeFunctionData(
|
|
185
|
+
functionFragment: "borrowVerify",
|
|
186
|
+
values: [string, string, BigNumberish]
|
|
187
|
+
): string;
|
|
188
|
+
encodeFunctionData(
|
|
189
|
+
functionFragment: "checkMembership",
|
|
190
|
+
values: [string, string]
|
|
191
|
+
): string;
|
|
192
|
+
encodeFunctionData(
|
|
193
|
+
functionFragment: "claimReward",
|
|
194
|
+
values: [BigNumberish, string]
|
|
195
|
+
): string;
|
|
196
|
+
encodeFunctionData(
|
|
197
|
+
functionFragment: "closeFactorMantissa",
|
|
198
|
+
values?: undefined
|
|
199
|
+
): string;
|
|
200
|
+
encodeFunctionData(
|
|
201
|
+
functionFragment: "comptrollerImplementation",
|
|
202
|
+
values?: undefined
|
|
203
|
+
): string;
|
|
204
|
+
encodeFunctionData(
|
|
205
|
+
functionFragment: "enterMarkets",
|
|
206
|
+
values: [string[]]
|
|
207
|
+
): string;
|
|
208
|
+
encodeFunctionData(functionFragment: "exitMarket", values: [string]): string;
|
|
209
|
+
encodeFunctionData(
|
|
210
|
+
functionFragment: "getAccountLiquidity",
|
|
211
|
+
values: [string]
|
|
212
|
+
): string;
|
|
213
|
+
encodeFunctionData(
|
|
214
|
+
functionFragment: "getAllMarkets",
|
|
215
|
+
values?: undefined
|
|
216
|
+
): string;
|
|
217
|
+
encodeFunctionData(functionFragment: "getAssetsIn", values: [string]): string;
|
|
218
|
+
encodeFunctionData(
|
|
219
|
+
functionFragment: "getBlockTimestamp",
|
|
220
|
+
values?: undefined
|
|
221
|
+
): string;
|
|
222
|
+
encodeFunctionData(
|
|
223
|
+
functionFragment: "getHypotheticalAccountLiquidity",
|
|
224
|
+
values: [string, string, BigNumberish, BigNumberish]
|
|
225
|
+
): string;
|
|
226
|
+
encodeFunctionData(
|
|
227
|
+
functionFragment: "initialIndexConstant",
|
|
228
|
+
values?: undefined
|
|
229
|
+
): string;
|
|
230
|
+
encodeFunctionData(
|
|
231
|
+
functionFragment: "isComptroller",
|
|
232
|
+
values?: undefined
|
|
233
|
+
): string;
|
|
234
|
+
encodeFunctionData(
|
|
235
|
+
functionFragment: "liquidateBorrowAllowed",
|
|
236
|
+
values: [string, string, string, string, BigNumberish]
|
|
237
|
+
): string;
|
|
238
|
+
encodeFunctionData(
|
|
239
|
+
functionFragment: "liquidateBorrowVerify",
|
|
240
|
+
values: [string, string, string, string, BigNumberish, BigNumberish]
|
|
241
|
+
): string;
|
|
242
|
+
encodeFunctionData(
|
|
243
|
+
functionFragment: "liquidateCalculateSeizeTokens",
|
|
244
|
+
values: [string, string, BigNumberish]
|
|
245
|
+
): string;
|
|
246
|
+
encodeFunctionData(
|
|
247
|
+
functionFragment: "liquidationIncentiveMantissa",
|
|
248
|
+
values?: undefined
|
|
249
|
+
): string;
|
|
250
|
+
encodeFunctionData(functionFragment: "markets", values: [string]): string;
|
|
251
|
+
encodeFunctionData(functionFragment: "maxAssets", values?: undefined): string;
|
|
252
|
+
encodeFunctionData(
|
|
253
|
+
functionFragment: "mintAllowed",
|
|
254
|
+
values: [string, string, BigNumberish]
|
|
255
|
+
): string;
|
|
256
|
+
encodeFunctionData(
|
|
257
|
+
functionFragment: "mintGuardianPaused",
|
|
258
|
+
values: [string]
|
|
259
|
+
): string;
|
|
260
|
+
encodeFunctionData(
|
|
261
|
+
functionFragment: "mintVerify",
|
|
262
|
+
values: [string, string, BigNumberish, BigNumberish]
|
|
263
|
+
): string;
|
|
264
|
+
encodeFunctionData(functionFragment: "oracle", values?: undefined): string;
|
|
265
|
+
encodeFunctionData(
|
|
266
|
+
functionFragment: "pauseGuardian",
|
|
267
|
+
values?: undefined
|
|
268
|
+
): string;
|
|
269
|
+
encodeFunctionData(
|
|
270
|
+
functionFragment: "pendingAdmin",
|
|
271
|
+
values?: undefined
|
|
272
|
+
): string;
|
|
273
|
+
encodeFunctionData(
|
|
274
|
+
functionFragment: "pendingComptrollerImplementation",
|
|
275
|
+
values?: undefined
|
|
276
|
+
): string;
|
|
277
|
+
encodeFunctionData(functionFragment: "qiAddress", values?: undefined): string;
|
|
278
|
+
encodeFunctionData(
|
|
279
|
+
functionFragment: "redeemAllowed",
|
|
280
|
+
values: [string, string, BigNumberish]
|
|
281
|
+
): string;
|
|
282
|
+
encodeFunctionData(
|
|
283
|
+
functionFragment: "redeemVerify",
|
|
284
|
+
values: [string, string, BigNumberish, BigNumberish]
|
|
285
|
+
): string;
|
|
286
|
+
encodeFunctionData(
|
|
287
|
+
functionFragment: "repayBorrowAllowed",
|
|
288
|
+
values: [string, string, string, BigNumberish]
|
|
289
|
+
): string;
|
|
290
|
+
encodeFunctionData(
|
|
291
|
+
functionFragment: "repayBorrowVerify",
|
|
292
|
+
values: [string, string, string, BigNumberish, BigNumberish]
|
|
293
|
+
): string;
|
|
294
|
+
encodeFunctionData(
|
|
295
|
+
functionFragment: "rewardAccrued",
|
|
296
|
+
values: [BigNumberish, string]
|
|
297
|
+
): string;
|
|
298
|
+
encodeFunctionData(
|
|
299
|
+
functionFragment: "rewardAvax",
|
|
300
|
+
values?: undefined
|
|
301
|
+
): string;
|
|
302
|
+
encodeFunctionData(
|
|
303
|
+
functionFragment: "rewardBorrowState",
|
|
304
|
+
values: [BigNumberish, string]
|
|
305
|
+
): string;
|
|
306
|
+
encodeFunctionData(
|
|
307
|
+
functionFragment: "rewardBorrowerIndex",
|
|
308
|
+
values: [BigNumberish, string, string]
|
|
309
|
+
): string;
|
|
310
|
+
encodeFunctionData(functionFragment: "rewardQi", values?: undefined): string;
|
|
311
|
+
encodeFunctionData(
|
|
312
|
+
functionFragment: "rewardSpeeds",
|
|
313
|
+
values: [BigNumberish, string]
|
|
314
|
+
): string;
|
|
315
|
+
encodeFunctionData(
|
|
316
|
+
functionFragment: "rewardSupplierIndex",
|
|
317
|
+
values: [BigNumberish, string, string]
|
|
318
|
+
): string;
|
|
319
|
+
encodeFunctionData(
|
|
320
|
+
functionFragment: "rewardSupplyState",
|
|
321
|
+
values: [BigNumberish, string]
|
|
322
|
+
): string;
|
|
323
|
+
encodeFunctionData(
|
|
324
|
+
functionFragment: "seizeAllowed",
|
|
325
|
+
values: [string, string, string, string, BigNumberish]
|
|
326
|
+
): string;
|
|
327
|
+
encodeFunctionData(
|
|
328
|
+
functionFragment: "seizeGuardianPaused",
|
|
329
|
+
values?: undefined
|
|
330
|
+
): string;
|
|
331
|
+
encodeFunctionData(
|
|
332
|
+
functionFragment: "seizeVerify",
|
|
333
|
+
values: [string, string, string, string, BigNumberish]
|
|
334
|
+
): string;
|
|
335
|
+
encodeFunctionData(
|
|
336
|
+
functionFragment: "setQiAddress",
|
|
337
|
+
values: [string]
|
|
338
|
+
): string;
|
|
339
|
+
encodeFunctionData(
|
|
340
|
+
functionFragment: "transferAllowed",
|
|
341
|
+
values: [string, string, string, BigNumberish]
|
|
342
|
+
): string;
|
|
343
|
+
encodeFunctionData(
|
|
344
|
+
functionFragment: "transferGuardianPaused",
|
|
345
|
+
values?: undefined
|
|
346
|
+
): string;
|
|
347
|
+
encodeFunctionData(
|
|
348
|
+
functionFragment: "transferVerify",
|
|
349
|
+
values: [string, string, string, BigNumberish]
|
|
350
|
+
): string;
|
|
351
|
+
|
|
352
|
+
decodeFunctionResult(functionFragment: "_become", data: BytesLike): Result;
|
|
353
|
+
decodeFunctionResult(
|
|
354
|
+
functionFragment: "_borrowGuardianPaused",
|
|
355
|
+
data: BytesLike
|
|
356
|
+
): Result;
|
|
357
|
+
decodeFunctionResult(functionFragment: "_grantQi", data: BytesLike): Result;
|
|
358
|
+
decodeFunctionResult(
|
|
359
|
+
functionFragment: "_mintGuardianPaused",
|
|
360
|
+
data: BytesLike
|
|
361
|
+
): Result;
|
|
362
|
+
decodeFunctionResult(
|
|
363
|
+
functionFragment: "_setBorrowCapGuardian",
|
|
364
|
+
data: BytesLike
|
|
365
|
+
): Result;
|
|
366
|
+
decodeFunctionResult(
|
|
367
|
+
functionFragment: "_setBorrowPaused",
|
|
368
|
+
data: BytesLike
|
|
369
|
+
): Result;
|
|
370
|
+
decodeFunctionResult(
|
|
371
|
+
functionFragment: "_setCloseFactor",
|
|
372
|
+
data: BytesLike
|
|
373
|
+
): Result;
|
|
374
|
+
decodeFunctionResult(
|
|
375
|
+
functionFragment: "_setCollateralFactor",
|
|
376
|
+
data: BytesLike
|
|
377
|
+
): Result;
|
|
378
|
+
decodeFunctionResult(
|
|
379
|
+
functionFragment: "_setLiquidationIncentive",
|
|
380
|
+
data: BytesLike
|
|
381
|
+
): Result;
|
|
382
|
+
decodeFunctionResult(
|
|
383
|
+
functionFragment: "_setMarketBorrowCaps",
|
|
384
|
+
data: BytesLike
|
|
385
|
+
): Result;
|
|
386
|
+
decodeFunctionResult(
|
|
387
|
+
functionFragment: "_setMintPaused",
|
|
388
|
+
data: BytesLike
|
|
389
|
+
): Result;
|
|
390
|
+
decodeFunctionResult(
|
|
391
|
+
functionFragment: "_setPauseGuardian",
|
|
392
|
+
data: BytesLike
|
|
393
|
+
): Result;
|
|
394
|
+
decodeFunctionResult(
|
|
395
|
+
functionFragment: "_setPriceOracle",
|
|
396
|
+
data: BytesLike
|
|
397
|
+
): Result;
|
|
398
|
+
decodeFunctionResult(
|
|
399
|
+
functionFragment: "_setRewardSpeed",
|
|
400
|
+
data: BytesLike
|
|
401
|
+
): Result;
|
|
402
|
+
decodeFunctionResult(
|
|
403
|
+
functionFragment: "_setSeizePaused",
|
|
404
|
+
data: BytesLike
|
|
405
|
+
): Result;
|
|
406
|
+
decodeFunctionResult(
|
|
407
|
+
functionFragment: "_setTransferPaused",
|
|
408
|
+
data: BytesLike
|
|
409
|
+
): Result;
|
|
410
|
+
decodeFunctionResult(
|
|
411
|
+
functionFragment: "_supportMarket",
|
|
412
|
+
data: BytesLike
|
|
413
|
+
): Result;
|
|
414
|
+
decodeFunctionResult(
|
|
415
|
+
functionFragment: "accountAssets",
|
|
416
|
+
data: BytesLike
|
|
417
|
+
): Result;
|
|
418
|
+
decodeFunctionResult(functionFragment: "admin", data: BytesLike): Result;
|
|
419
|
+
decodeFunctionResult(functionFragment: "allMarkets", data: BytesLike): Result;
|
|
420
|
+
decodeFunctionResult(
|
|
421
|
+
functionFragment: "borrowAllowed",
|
|
422
|
+
data: BytesLike
|
|
423
|
+
): Result;
|
|
424
|
+
decodeFunctionResult(
|
|
425
|
+
functionFragment: "borrowCapGuardian",
|
|
426
|
+
data: BytesLike
|
|
427
|
+
): Result;
|
|
428
|
+
decodeFunctionResult(functionFragment: "borrowCaps", data: BytesLike): Result;
|
|
429
|
+
decodeFunctionResult(
|
|
430
|
+
functionFragment: "borrowGuardianPaused",
|
|
431
|
+
data: BytesLike
|
|
432
|
+
): Result;
|
|
433
|
+
decodeFunctionResult(
|
|
434
|
+
functionFragment: "borrowVerify",
|
|
435
|
+
data: BytesLike
|
|
436
|
+
): Result;
|
|
437
|
+
decodeFunctionResult(
|
|
438
|
+
functionFragment: "checkMembership",
|
|
439
|
+
data: BytesLike
|
|
440
|
+
): Result;
|
|
441
|
+
decodeFunctionResult(
|
|
442
|
+
functionFragment: "claimReward",
|
|
443
|
+
data: BytesLike
|
|
444
|
+
): Result;
|
|
445
|
+
decodeFunctionResult(
|
|
446
|
+
functionFragment: "closeFactorMantissa",
|
|
447
|
+
data: BytesLike
|
|
448
|
+
): Result;
|
|
449
|
+
decodeFunctionResult(
|
|
450
|
+
functionFragment: "comptrollerImplementation",
|
|
451
|
+
data: BytesLike
|
|
452
|
+
): Result;
|
|
453
|
+
decodeFunctionResult(
|
|
454
|
+
functionFragment: "enterMarkets",
|
|
455
|
+
data: BytesLike
|
|
456
|
+
): Result;
|
|
457
|
+
decodeFunctionResult(functionFragment: "exitMarket", data: BytesLike): Result;
|
|
458
|
+
decodeFunctionResult(
|
|
459
|
+
functionFragment: "getAccountLiquidity",
|
|
460
|
+
data: BytesLike
|
|
461
|
+
): Result;
|
|
462
|
+
decodeFunctionResult(
|
|
463
|
+
functionFragment: "getAllMarkets",
|
|
464
|
+
data: BytesLike
|
|
465
|
+
): Result;
|
|
466
|
+
decodeFunctionResult(
|
|
467
|
+
functionFragment: "getAssetsIn",
|
|
468
|
+
data: BytesLike
|
|
469
|
+
): Result;
|
|
470
|
+
decodeFunctionResult(
|
|
471
|
+
functionFragment: "getBlockTimestamp",
|
|
472
|
+
data: BytesLike
|
|
473
|
+
): Result;
|
|
474
|
+
decodeFunctionResult(
|
|
475
|
+
functionFragment: "getHypotheticalAccountLiquidity",
|
|
476
|
+
data: BytesLike
|
|
477
|
+
): Result;
|
|
478
|
+
decodeFunctionResult(
|
|
479
|
+
functionFragment: "initialIndexConstant",
|
|
480
|
+
data: BytesLike
|
|
481
|
+
): Result;
|
|
482
|
+
decodeFunctionResult(
|
|
483
|
+
functionFragment: "isComptroller",
|
|
484
|
+
data: BytesLike
|
|
485
|
+
): Result;
|
|
486
|
+
decodeFunctionResult(
|
|
487
|
+
functionFragment: "liquidateBorrowAllowed",
|
|
488
|
+
data: BytesLike
|
|
489
|
+
): Result;
|
|
490
|
+
decodeFunctionResult(
|
|
491
|
+
functionFragment: "liquidateBorrowVerify",
|
|
492
|
+
data: BytesLike
|
|
493
|
+
): Result;
|
|
494
|
+
decodeFunctionResult(
|
|
495
|
+
functionFragment: "liquidateCalculateSeizeTokens",
|
|
496
|
+
data: BytesLike
|
|
497
|
+
): Result;
|
|
498
|
+
decodeFunctionResult(
|
|
499
|
+
functionFragment: "liquidationIncentiveMantissa",
|
|
500
|
+
data: BytesLike
|
|
501
|
+
): Result;
|
|
502
|
+
decodeFunctionResult(functionFragment: "markets", data: BytesLike): Result;
|
|
503
|
+
decodeFunctionResult(functionFragment: "maxAssets", data: BytesLike): Result;
|
|
504
|
+
decodeFunctionResult(
|
|
505
|
+
functionFragment: "mintAllowed",
|
|
506
|
+
data: BytesLike
|
|
507
|
+
): Result;
|
|
508
|
+
decodeFunctionResult(
|
|
509
|
+
functionFragment: "mintGuardianPaused",
|
|
510
|
+
data: BytesLike
|
|
511
|
+
): Result;
|
|
512
|
+
decodeFunctionResult(functionFragment: "mintVerify", data: BytesLike): Result;
|
|
513
|
+
decodeFunctionResult(functionFragment: "oracle", data: BytesLike): Result;
|
|
514
|
+
decodeFunctionResult(
|
|
515
|
+
functionFragment: "pauseGuardian",
|
|
516
|
+
data: BytesLike
|
|
517
|
+
): Result;
|
|
518
|
+
decodeFunctionResult(
|
|
519
|
+
functionFragment: "pendingAdmin",
|
|
520
|
+
data: BytesLike
|
|
521
|
+
): Result;
|
|
522
|
+
decodeFunctionResult(
|
|
523
|
+
functionFragment: "pendingComptrollerImplementation",
|
|
524
|
+
data: BytesLike
|
|
525
|
+
): Result;
|
|
526
|
+
decodeFunctionResult(functionFragment: "qiAddress", data: BytesLike): Result;
|
|
527
|
+
decodeFunctionResult(
|
|
528
|
+
functionFragment: "redeemAllowed",
|
|
529
|
+
data: BytesLike
|
|
530
|
+
): Result;
|
|
531
|
+
decodeFunctionResult(
|
|
532
|
+
functionFragment: "redeemVerify",
|
|
533
|
+
data: BytesLike
|
|
534
|
+
): Result;
|
|
535
|
+
decodeFunctionResult(
|
|
536
|
+
functionFragment: "repayBorrowAllowed",
|
|
537
|
+
data: BytesLike
|
|
538
|
+
): Result;
|
|
539
|
+
decodeFunctionResult(
|
|
540
|
+
functionFragment: "repayBorrowVerify",
|
|
541
|
+
data: BytesLike
|
|
542
|
+
): Result;
|
|
543
|
+
decodeFunctionResult(
|
|
544
|
+
functionFragment: "rewardAccrued",
|
|
545
|
+
data: BytesLike
|
|
546
|
+
): Result;
|
|
547
|
+
decodeFunctionResult(functionFragment: "rewardAvax", data: BytesLike): Result;
|
|
548
|
+
decodeFunctionResult(
|
|
549
|
+
functionFragment: "rewardBorrowState",
|
|
550
|
+
data: BytesLike
|
|
551
|
+
): Result;
|
|
552
|
+
decodeFunctionResult(
|
|
553
|
+
functionFragment: "rewardBorrowerIndex",
|
|
554
|
+
data: BytesLike
|
|
555
|
+
): Result;
|
|
556
|
+
decodeFunctionResult(functionFragment: "rewardQi", data: BytesLike): Result;
|
|
557
|
+
decodeFunctionResult(
|
|
558
|
+
functionFragment: "rewardSpeeds",
|
|
559
|
+
data: BytesLike
|
|
560
|
+
): Result;
|
|
561
|
+
decodeFunctionResult(
|
|
562
|
+
functionFragment: "rewardSupplierIndex",
|
|
563
|
+
data: BytesLike
|
|
564
|
+
): Result;
|
|
565
|
+
decodeFunctionResult(
|
|
566
|
+
functionFragment: "rewardSupplyState",
|
|
567
|
+
data: BytesLike
|
|
568
|
+
): Result;
|
|
569
|
+
decodeFunctionResult(
|
|
570
|
+
functionFragment: "seizeAllowed",
|
|
571
|
+
data: BytesLike
|
|
572
|
+
): Result;
|
|
573
|
+
decodeFunctionResult(
|
|
574
|
+
functionFragment: "seizeGuardianPaused",
|
|
575
|
+
data: BytesLike
|
|
576
|
+
): Result;
|
|
577
|
+
decodeFunctionResult(
|
|
578
|
+
functionFragment: "seizeVerify",
|
|
579
|
+
data: BytesLike
|
|
580
|
+
): Result;
|
|
581
|
+
decodeFunctionResult(
|
|
582
|
+
functionFragment: "setQiAddress",
|
|
583
|
+
data: BytesLike
|
|
584
|
+
): Result;
|
|
585
|
+
decodeFunctionResult(
|
|
586
|
+
functionFragment: "transferAllowed",
|
|
587
|
+
data: BytesLike
|
|
588
|
+
): Result;
|
|
589
|
+
decodeFunctionResult(
|
|
590
|
+
functionFragment: "transferGuardianPaused",
|
|
591
|
+
data: BytesLike
|
|
592
|
+
): Result;
|
|
593
|
+
decodeFunctionResult(
|
|
594
|
+
functionFragment: "transferVerify",
|
|
595
|
+
data: BytesLike
|
|
596
|
+
): Result;
|
|
597
|
+
|
|
598
|
+
events: {
|
|
599
|
+
"ActionPaused(string,bool)": EventFragment;
|
|
600
|
+
"ContributorQiSpeedUpdated(address,uint256)": EventFragment;
|
|
601
|
+
"DistributedBorrowerReward(uint8,address,address,uint256,uint256)": EventFragment;
|
|
602
|
+
"DistributedSupplierReward(uint8,address,address,uint256,uint256)": EventFragment;
|
|
603
|
+
"Failure(uint256,uint256,uint256)": EventFragment;
|
|
604
|
+
"MarketEntered(address,address)": EventFragment;
|
|
605
|
+
"MarketExited(address,address)": EventFragment;
|
|
606
|
+
"MarketListed(address)": EventFragment;
|
|
607
|
+
"NewBorrowCap(address,uint256)": EventFragment;
|
|
608
|
+
"NewBorrowCapGuardian(address,address)": EventFragment;
|
|
609
|
+
"NewCloseFactor(uint256,uint256)": EventFragment;
|
|
610
|
+
"NewCollateralFactor(address,uint256,uint256)": EventFragment;
|
|
611
|
+
"NewLiquidationIncentive(uint256,uint256)": EventFragment;
|
|
612
|
+
"NewPauseGuardian(address,address)": EventFragment;
|
|
613
|
+
"NewPriceOracle(address,address)": EventFragment;
|
|
614
|
+
"QiGranted(address,uint256)": EventFragment;
|
|
615
|
+
"SpeedUpdated(uint8,address,uint256)": EventFragment;
|
|
616
|
+
};
|
|
617
|
+
|
|
618
|
+
getEvent(nameOrSignatureOrTopic: "ActionPaused"): EventFragment;
|
|
619
|
+
getEvent(nameOrSignatureOrTopic: "ContributorQiSpeedUpdated"): EventFragment;
|
|
620
|
+
getEvent(nameOrSignatureOrTopic: "DistributedBorrowerReward"): EventFragment;
|
|
621
|
+
getEvent(nameOrSignatureOrTopic: "DistributedSupplierReward"): EventFragment;
|
|
622
|
+
getEvent(nameOrSignatureOrTopic: "Failure"): EventFragment;
|
|
623
|
+
getEvent(nameOrSignatureOrTopic: "MarketEntered"): EventFragment;
|
|
624
|
+
getEvent(nameOrSignatureOrTopic: "MarketExited"): EventFragment;
|
|
625
|
+
getEvent(nameOrSignatureOrTopic: "MarketListed"): EventFragment;
|
|
626
|
+
getEvent(nameOrSignatureOrTopic: "NewBorrowCap"): EventFragment;
|
|
627
|
+
getEvent(nameOrSignatureOrTopic: "NewBorrowCapGuardian"): EventFragment;
|
|
628
|
+
getEvent(nameOrSignatureOrTopic: "NewCloseFactor"): EventFragment;
|
|
629
|
+
getEvent(nameOrSignatureOrTopic: "NewCollateralFactor"): EventFragment;
|
|
630
|
+
getEvent(nameOrSignatureOrTopic: "NewLiquidationIncentive"): EventFragment;
|
|
631
|
+
getEvent(nameOrSignatureOrTopic: "NewPauseGuardian"): EventFragment;
|
|
632
|
+
getEvent(nameOrSignatureOrTopic: "NewPriceOracle"): EventFragment;
|
|
633
|
+
getEvent(nameOrSignatureOrTopic: "QiGranted"): EventFragment;
|
|
634
|
+
getEvent(nameOrSignatureOrTopic: "SpeedUpdated"): EventFragment;
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
export type ActionPaused_string_bool_Event = TypedEvent<
|
|
638
|
+
[string, boolean],
|
|
639
|
+
{ action: string; pauseState: boolean }
|
|
640
|
+
>;
|
|
641
|
+
|
|
642
|
+
export type ActionPaused_string_bool_EventFilter =
|
|
643
|
+
TypedEventFilter<ActionPaused_string_bool_Event>;
|
|
644
|
+
|
|
645
|
+
export type ActionPaused_address_string_bool_Event = TypedEvent<
|
|
646
|
+
[string, string, boolean],
|
|
647
|
+
{ qiToken: string; action: string; pauseState: boolean }
|
|
648
|
+
>;
|
|
649
|
+
|
|
650
|
+
export type ActionPaused_address_string_bool_EventFilter =
|
|
651
|
+
TypedEventFilter<ActionPaused_address_string_bool_Event>;
|
|
652
|
+
|
|
653
|
+
export type ContributorQiSpeedUpdatedEvent = TypedEvent<
|
|
654
|
+
[string, BigNumber],
|
|
655
|
+
{ contributor: string; newSpeed: BigNumber }
|
|
656
|
+
>;
|
|
657
|
+
|
|
658
|
+
export type ContributorQiSpeedUpdatedEventFilter =
|
|
659
|
+
TypedEventFilter<ContributorQiSpeedUpdatedEvent>;
|
|
660
|
+
|
|
661
|
+
export type DistributedBorrowerRewardEvent = TypedEvent<
|
|
662
|
+
[number, string, string, BigNumber, BigNumber],
|
|
663
|
+
{
|
|
664
|
+
tokenType: number;
|
|
665
|
+
qiToken: string;
|
|
666
|
+
borrower: string;
|
|
667
|
+
qiDelta: BigNumber;
|
|
668
|
+
qiBorrowIndex: BigNumber;
|
|
669
|
+
}
|
|
670
|
+
>;
|
|
671
|
+
|
|
672
|
+
export type DistributedBorrowerRewardEventFilter =
|
|
673
|
+
TypedEventFilter<DistributedBorrowerRewardEvent>;
|
|
674
|
+
|
|
675
|
+
export type DistributedSupplierRewardEvent = TypedEvent<
|
|
676
|
+
[number, string, string, BigNumber, BigNumber],
|
|
677
|
+
{
|
|
678
|
+
tokenType: number;
|
|
679
|
+
qiToken: string;
|
|
680
|
+
borrower: string;
|
|
681
|
+
qiDelta: BigNumber;
|
|
682
|
+
qiBorrowIndex: BigNumber;
|
|
683
|
+
}
|
|
684
|
+
>;
|
|
685
|
+
|
|
686
|
+
export type DistributedSupplierRewardEventFilter =
|
|
687
|
+
TypedEventFilter<DistributedSupplierRewardEvent>;
|
|
688
|
+
|
|
689
|
+
export type FailureEvent = TypedEvent<
|
|
690
|
+
[BigNumber, BigNumber, BigNumber],
|
|
691
|
+
{ error: BigNumber; info: BigNumber; detail: BigNumber }
|
|
692
|
+
>;
|
|
693
|
+
|
|
694
|
+
export type FailureEventFilter = TypedEventFilter<FailureEvent>;
|
|
695
|
+
|
|
696
|
+
export type MarketEnteredEvent = TypedEvent<
|
|
697
|
+
[string, string],
|
|
698
|
+
{ qiToken: string; account: string }
|
|
699
|
+
>;
|
|
700
|
+
|
|
701
|
+
export type MarketEnteredEventFilter = TypedEventFilter<MarketEnteredEvent>;
|
|
702
|
+
|
|
703
|
+
export type MarketExitedEvent = TypedEvent<
|
|
704
|
+
[string, string],
|
|
705
|
+
{ qiToken: string; account: string }
|
|
706
|
+
>;
|
|
707
|
+
|
|
708
|
+
export type MarketExitedEventFilter = TypedEventFilter<MarketExitedEvent>;
|
|
709
|
+
|
|
710
|
+
export type MarketListedEvent = TypedEvent<[string], { qiToken: string }>;
|
|
711
|
+
|
|
712
|
+
export type MarketListedEventFilter = TypedEventFilter<MarketListedEvent>;
|
|
713
|
+
|
|
714
|
+
export type NewBorrowCapEvent = TypedEvent<
|
|
715
|
+
[string, BigNumber],
|
|
716
|
+
{ qiToken: string; newBorrowCap: BigNumber }
|
|
717
|
+
>;
|
|
718
|
+
|
|
719
|
+
export type NewBorrowCapEventFilter = TypedEventFilter<NewBorrowCapEvent>;
|
|
720
|
+
|
|
721
|
+
export type NewBorrowCapGuardianEvent = TypedEvent<
|
|
722
|
+
[string, string],
|
|
723
|
+
{ oldBorrowCapGuardian: string; newBorrowCapGuardian: string }
|
|
724
|
+
>;
|
|
725
|
+
|
|
726
|
+
export type NewBorrowCapGuardianEventFilter =
|
|
727
|
+
TypedEventFilter<NewBorrowCapGuardianEvent>;
|
|
728
|
+
|
|
729
|
+
export type NewCloseFactorEvent = TypedEvent<
|
|
730
|
+
[BigNumber, BigNumber],
|
|
731
|
+
{ oldCloseFactorMantissa: BigNumber; newCloseFactorMantissa: BigNumber }
|
|
732
|
+
>;
|
|
733
|
+
|
|
734
|
+
export type NewCloseFactorEventFilter = TypedEventFilter<NewCloseFactorEvent>;
|
|
735
|
+
|
|
736
|
+
export type NewCollateralFactorEvent = TypedEvent<
|
|
737
|
+
[string, BigNumber, BigNumber],
|
|
738
|
+
{
|
|
739
|
+
qiToken: string;
|
|
740
|
+
oldCollateralFactorMantissa: BigNumber;
|
|
741
|
+
newCollateralFactorMantissa: BigNumber;
|
|
742
|
+
}
|
|
743
|
+
>;
|
|
744
|
+
|
|
745
|
+
export type NewCollateralFactorEventFilter =
|
|
746
|
+
TypedEventFilter<NewCollateralFactorEvent>;
|
|
747
|
+
|
|
748
|
+
export type NewLiquidationIncentiveEvent = TypedEvent<
|
|
749
|
+
[BigNumber, BigNumber],
|
|
750
|
+
{
|
|
751
|
+
oldLiquidationIncentiveMantissa: BigNumber;
|
|
752
|
+
newLiquidationIncentiveMantissa: BigNumber;
|
|
753
|
+
}
|
|
754
|
+
>;
|
|
755
|
+
|
|
756
|
+
export type NewLiquidationIncentiveEventFilter =
|
|
757
|
+
TypedEventFilter<NewLiquidationIncentiveEvent>;
|
|
758
|
+
|
|
759
|
+
export type NewPauseGuardianEvent = TypedEvent<
|
|
760
|
+
[string, string],
|
|
761
|
+
{ oldPauseGuardian: string; newPauseGuardian: string }
|
|
762
|
+
>;
|
|
763
|
+
|
|
764
|
+
export type NewPauseGuardianEventFilter =
|
|
765
|
+
TypedEventFilter<NewPauseGuardianEvent>;
|
|
766
|
+
|
|
767
|
+
export type NewPriceOracleEvent = TypedEvent<
|
|
768
|
+
[string, string],
|
|
769
|
+
{ oldPriceOracle: string; newPriceOracle: string }
|
|
770
|
+
>;
|
|
771
|
+
|
|
772
|
+
export type NewPriceOracleEventFilter = TypedEventFilter<NewPriceOracleEvent>;
|
|
773
|
+
|
|
774
|
+
export type QiGrantedEvent = TypedEvent<
|
|
775
|
+
[string, BigNumber],
|
|
776
|
+
{ recipient: string; amount: BigNumber }
|
|
777
|
+
>;
|
|
778
|
+
|
|
779
|
+
export type QiGrantedEventFilter = TypedEventFilter<QiGrantedEvent>;
|
|
780
|
+
|
|
781
|
+
export type SpeedUpdatedEvent = TypedEvent<
|
|
782
|
+
[number, string, BigNumber],
|
|
783
|
+
{ tokenType: number; qiToken: string; newSpeed: BigNumber }
|
|
784
|
+
>;
|
|
785
|
+
|
|
786
|
+
export type SpeedUpdatedEventFilter = TypedEventFilter<SpeedUpdatedEvent>;
|
|
787
|
+
|
|
788
|
+
export interface Comptroller extends BaseContract {
|
|
789
|
+
contractName: "Comptroller";
|
|
790
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
|
791
|
+
attach(addressOrName: string): this;
|
|
792
|
+
deployed(): Promise<this>;
|
|
793
|
+
|
|
794
|
+
interface: ComptrollerInterface;
|
|
795
|
+
|
|
796
|
+
queryFilter<TEvent extends TypedEvent>(
|
|
797
|
+
event: TypedEventFilter<TEvent>,
|
|
798
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
799
|
+
toBlock?: string | number | undefined
|
|
800
|
+
): Promise<Array<TEvent>>;
|
|
801
|
+
|
|
802
|
+
listeners<TEvent extends TypedEvent>(
|
|
803
|
+
eventFilter?: TypedEventFilter<TEvent>
|
|
804
|
+
): Array<TypedListener<TEvent>>;
|
|
805
|
+
listeners(eventName?: string): Array<Listener>;
|
|
806
|
+
removeAllListeners<TEvent extends TypedEvent>(
|
|
807
|
+
eventFilter: TypedEventFilter<TEvent>
|
|
808
|
+
): this;
|
|
809
|
+
removeAllListeners(eventName?: string): this;
|
|
810
|
+
off: OnEvent<this>;
|
|
811
|
+
on: OnEvent<this>;
|
|
812
|
+
once: OnEvent<this>;
|
|
813
|
+
removeListener: OnEvent<this>;
|
|
814
|
+
|
|
815
|
+
functions: {
|
|
816
|
+
_become(
|
|
817
|
+
unitroller: string,
|
|
818
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
819
|
+
): Promise<ContractTransaction>;
|
|
820
|
+
|
|
821
|
+
_borrowGuardianPaused(overrides?: CallOverrides): Promise<[boolean]>;
|
|
822
|
+
|
|
823
|
+
_grantQi(
|
|
824
|
+
recipient: string,
|
|
825
|
+
amount: BigNumberish,
|
|
826
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
827
|
+
): Promise<ContractTransaction>;
|
|
828
|
+
|
|
829
|
+
_mintGuardianPaused(overrides?: CallOverrides): Promise<[boolean]>;
|
|
830
|
+
|
|
831
|
+
_setBorrowCapGuardian(
|
|
832
|
+
newBorrowCapGuardian: string,
|
|
833
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
834
|
+
): Promise<ContractTransaction>;
|
|
835
|
+
|
|
836
|
+
_setBorrowPaused(
|
|
837
|
+
qiToken: string,
|
|
838
|
+
state: boolean,
|
|
839
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
840
|
+
): Promise<ContractTransaction>;
|
|
841
|
+
|
|
842
|
+
_setCloseFactor(
|
|
843
|
+
newCloseFactorMantissa: BigNumberish,
|
|
844
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
845
|
+
): Promise<ContractTransaction>;
|
|
846
|
+
|
|
847
|
+
_setCollateralFactor(
|
|
848
|
+
qiToken: string,
|
|
849
|
+
newCollateralFactorMantissa: BigNumberish,
|
|
850
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
851
|
+
): Promise<ContractTransaction>;
|
|
852
|
+
|
|
853
|
+
_setLiquidationIncentive(
|
|
854
|
+
newLiquidationIncentiveMantissa: BigNumberish,
|
|
855
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
856
|
+
): Promise<ContractTransaction>;
|
|
857
|
+
|
|
858
|
+
_setMarketBorrowCaps(
|
|
859
|
+
qiTokens: string[],
|
|
860
|
+
newBorrowCaps: BigNumberish[],
|
|
861
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
862
|
+
): Promise<ContractTransaction>;
|
|
863
|
+
|
|
864
|
+
_setMintPaused(
|
|
865
|
+
qiToken: string,
|
|
866
|
+
state: boolean,
|
|
867
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
868
|
+
): Promise<ContractTransaction>;
|
|
869
|
+
|
|
870
|
+
_setPauseGuardian(
|
|
871
|
+
newPauseGuardian: string,
|
|
872
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
873
|
+
): Promise<ContractTransaction>;
|
|
874
|
+
|
|
875
|
+
_setPriceOracle(
|
|
876
|
+
newOracle: string,
|
|
877
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
878
|
+
): Promise<ContractTransaction>;
|
|
879
|
+
|
|
880
|
+
_setRewardSpeed(
|
|
881
|
+
rewardType: BigNumberish,
|
|
882
|
+
qiToken: string,
|
|
883
|
+
rewardSpeed: BigNumberish,
|
|
884
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
885
|
+
): Promise<ContractTransaction>;
|
|
886
|
+
|
|
887
|
+
_setSeizePaused(
|
|
888
|
+
state: boolean,
|
|
889
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
890
|
+
): Promise<ContractTransaction>;
|
|
891
|
+
|
|
892
|
+
_setTransferPaused(
|
|
893
|
+
state: boolean,
|
|
894
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
895
|
+
): Promise<ContractTransaction>;
|
|
896
|
+
|
|
897
|
+
_supportMarket(
|
|
898
|
+
qiToken: string,
|
|
899
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
900
|
+
): Promise<ContractTransaction>;
|
|
901
|
+
|
|
902
|
+
accountAssets(
|
|
903
|
+
arg0: string,
|
|
904
|
+
arg1: BigNumberish,
|
|
905
|
+
overrides?: CallOverrides
|
|
906
|
+
): Promise<[string]>;
|
|
907
|
+
|
|
908
|
+
admin(overrides?: CallOverrides): Promise<[string]>;
|
|
909
|
+
|
|
910
|
+
allMarkets(
|
|
911
|
+
arg0: BigNumberish,
|
|
912
|
+
overrides?: CallOverrides
|
|
913
|
+
): Promise<[string]>;
|
|
914
|
+
|
|
915
|
+
borrowAllowed(
|
|
916
|
+
qiToken: string,
|
|
917
|
+
borrower: string,
|
|
918
|
+
borrowAmount: BigNumberish,
|
|
919
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
920
|
+
): Promise<ContractTransaction>;
|
|
921
|
+
|
|
922
|
+
borrowCapGuardian(overrides?: CallOverrides): Promise<[string]>;
|
|
923
|
+
|
|
924
|
+
borrowCaps(arg0: string, overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
925
|
+
|
|
926
|
+
borrowGuardianPaused(
|
|
927
|
+
arg0: string,
|
|
928
|
+
overrides?: CallOverrides
|
|
929
|
+
): Promise<[boolean]>;
|
|
930
|
+
|
|
931
|
+
borrowVerify(
|
|
932
|
+
qiToken: string,
|
|
933
|
+
borrower: string,
|
|
934
|
+
borrowAmount: BigNumberish,
|
|
935
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
936
|
+
): Promise<ContractTransaction>;
|
|
937
|
+
|
|
938
|
+
checkMembership(
|
|
939
|
+
account: string,
|
|
940
|
+
qiToken: string,
|
|
941
|
+
overrides?: CallOverrides
|
|
942
|
+
): Promise<[boolean]>;
|
|
943
|
+
|
|
944
|
+
"claimReward(uint8,address)"(
|
|
945
|
+
rewardType: BigNumberish,
|
|
946
|
+
holder: string,
|
|
947
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
948
|
+
): Promise<ContractTransaction>;
|
|
949
|
+
|
|
950
|
+
"claimReward(uint8,address,address[])"(
|
|
951
|
+
rewardType: BigNumberish,
|
|
952
|
+
holder: string,
|
|
953
|
+
qiTokens: string[],
|
|
954
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
955
|
+
): Promise<ContractTransaction>;
|
|
956
|
+
|
|
957
|
+
"claimReward(uint8,address[],address[],bool,bool)"(
|
|
958
|
+
rewardType: BigNumberish,
|
|
959
|
+
holders: string[],
|
|
960
|
+
qiTokens: string[],
|
|
961
|
+
borrowers: boolean,
|
|
962
|
+
suppliers: boolean,
|
|
963
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
964
|
+
): Promise<ContractTransaction>;
|
|
965
|
+
|
|
966
|
+
closeFactorMantissa(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
967
|
+
|
|
968
|
+
comptrollerImplementation(overrides?: CallOverrides): Promise<[string]>;
|
|
969
|
+
|
|
970
|
+
enterMarkets(
|
|
971
|
+
qiTokens: string[],
|
|
972
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
973
|
+
): Promise<ContractTransaction>;
|
|
974
|
+
|
|
975
|
+
exitMarket(
|
|
976
|
+
qiTokenAddress: string,
|
|
977
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
978
|
+
): Promise<ContractTransaction>;
|
|
979
|
+
|
|
980
|
+
getAccountLiquidity(
|
|
981
|
+
account: string,
|
|
982
|
+
overrides?: CallOverrides
|
|
983
|
+
): Promise<[BigNumber, BigNumber, BigNumber]>;
|
|
984
|
+
|
|
985
|
+
getAllMarkets(overrides?: CallOverrides): Promise<[string[]]>;
|
|
986
|
+
|
|
987
|
+
getAssetsIn(
|
|
988
|
+
account: string,
|
|
989
|
+
overrides?: CallOverrides
|
|
990
|
+
): Promise<[string[]]>;
|
|
991
|
+
|
|
992
|
+
getBlockTimestamp(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
993
|
+
|
|
994
|
+
getHypotheticalAccountLiquidity(
|
|
995
|
+
account: string,
|
|
996
|
+
qiTokenModify: string,
|
|
997
|
+
redeemTokens: BigNumberish,
|
|
998
|
+
borrowAmount: BigNumberish,
|
|
999
|
+
overrides?: CallOverrides
|
|
1000
|
+
): Promise<[BigNumber, BigNumber, BigNumber]>;
|
|
1001
|
+
|
|
1002
|
+
initialIndexConstant(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
1003
|
+
|
|
1004
|
+
isComptroller(overrides?: CallOverrides): Promise<[boolean]>;
|
|
1005
|
+
|
|
1006
|
+
liquidateBorrowAllowed(
|
|
1007
|
+
qiTokenBorrowed: string,
|
|
1008
|
+
qiTokenCollateral: string,
|
|
1009
|
+
liquidator: string,
|
|
1010
|
+
borrower: string,
|
|
1011
|
+
repayAmount: BigNumberish,
|
|
1012
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1013
|
+
): Promise<ContractTransaction>;
|
|
1014
|
+
|
|
1015
|
+
liquidateBorrowVerify(
|
|
1016
|
+
qiTokenBorrowed: string,
|
|
1017
|
+
qiTokenCollateral: string,
|
|
1018
|
+
liquidator: string,
|
|
1019
|
+
borrower: string,
|
|
1020
|
+
actualRepayAmount: BigNumberish,
|
|
1021
|
+
seizeTokens: BigNumberish,
|
|
1022
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1023
|
+
): Promise<ContractTransaction>;
|
|
1024
|
+
|
|
1025
|
+
liquidateCalculateSeizeTokens(
|
|
1026
|
+
qiTokenBorrowed: string,
|
|
1027
|
+
qiTokenCollateral: string,
|
|
1028
|
+
actualRepayAmount: BigNumberish,
|
|
1029
|
+
overrides?: CallOverrides
|
|
1030
|
+
): Promise<[BigNumber, BigNumber]>;
|
|
1031
|
+
|
|
1032
|
+
liquidationIncentiveMantissa(
|
|
1033
|
+
overrides?: CallOverrides
|
|
1034
|
+
): Promise<[BigNumber]>;
|
|
1035
|
+
|
|
1036
|
+
markets(
|
|
1037
|
+
arg0: string,
|
|
1038
|
+
overrides?: CallOverrides
|
|
1039
|
+
): Promise<
|
|
1040
|
+
[boolean, BigNumber, boolean] & {
|
|
1041
|
+
isListed: boolean;
|
|
1042
|
+
collateralFactorMantissa: BigNumber;
|
|
1043
|
+
isQied: boolean;
|
|
1044
|
+
}
|
|
1045
|
+
>;
|
|
1046
|
+
|
|
1047
|
+
maxAssets(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
1048
|
+
|
|
1049
|
+
mintAllowed(
|
|
1050
|
+
qiToken: string,
|
|
1051
|
+
minter: string,
|
|
1052
|
+
mintAmount: BigNumberish,
|
|
1053
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1054
|
+
): Promise<ContractTransaction>;
|
|
1055
|
+
|
|
1056
|
+
mintGuardianPaused(
|
|
1057
|
+
arg0: string,
|
|
1058
|
+
overrides?: CallOverrides
|
|
1059
|
+
): Promise<[boolean]>;
|
|
1060
|
+
|
|
1061
|
+
mintVerify(
|
|
1062
|
+
qiToken: string,
|
|
1063
|
+
minter: string,
|
|
1064
|
+
actualMintAmount: BigNumberish,
|
|
1065
|
+
mintTokens: BigNumberish,
|
|
1066
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1067
|
+
): Promise<ContractTransaction>;
|
|
1068
|
+
|
|
1069
|
+
oracle(overrides?: CallOverrides): Promise<[string]>;
|
|
1070
|
+
|
|
1071
|
+
pauseGuardian(overrides?: CallOverrides): Promise<[string]>;
|
|
1072
|
+
|
|
1073
|
+
pendingAdmin(overrides?: CallOverrides): Promise<[string]>;
|
|
1074
|
+
|
|
1075
|
+
pendingComptrollerImplementation(
|
|
1076
|
+
overrides?: CallOverrides
|
|
1077
|
+
): Promise<[string]>;
|
|
1078
|
+
|
|
1079
|
+
qiAddress(overrides?: CallOverrides): Promise<[string]>;
|
|
1080
|
+
|
|
1081
|
+
redeemAllowed(
|
|
1082
|
+
qiToken: string,
|
|
1083
|
+
redeemer: string,
|
|
1084
|
+
redeemTokens: BigNumberish,
|
|
1085
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1086
|
+
): Promise<ContractTransaction>;
|
|
1087
|
+
|
|
1088
|
+
redeemVerify(
|
|
1089
|
+
qiToken: string,
|
|
1090
|
+
redeemer: string,
|
|
1091
|
+
redeemAmount: BigNumberish,
|
|
1092
|
+
redeemTokens: BigNumberish,
|
|
1093
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1094
|
+
): Promise<ContractTransaction>;
|
|
1095
|
+
|
|
1096
|
+
repayBorrowAllowed(
|
|
1097
|
+
qiToken: string,
|
|
1098
|
+
payer: string,
|
|
1099
|
+
borrower: string,
|
|
1100
|
+
repayAmount: BigNumberish,
|
|
1101
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1102
|
+
): Promise<ContractTransaction>;
|
|
1103
|
+
|
|
1104
|
+
repayBorrowVerify(
|
|
1105
|
+
qiToken: string,
|
|
1106
|
+
payer: string,
|
|
1107
|
+
borrower: string,
|
|
1108
|
+
actualRepayAmount: BigNumberish,
|
|
1109
|
+
borrowerIndex: BigNumberish,
|
|
1110
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1111
|
+
): Promise<ContractTransaction>;
|
|
1112
|
+
|
|
1113
|
+
rewardAccrued(
|
|
1114
|
+
arg0: BigNumberish,
|
|
1115
|
+
arg1: string,
|
|
1116
|
+
overrides?: CallOverrides
|
|
1117
|
+
): Promise<[BigNumber]>;
|
|
1118
|
+
|
|
1119
|
+
rewardAvax(overrides?: CallOverrides): Promise<[number]>;
|
|
1120
|
+
|
|
1121
|
+
rewardBorrowState(
|
|
1122
|
+
arg0: BigNumberish,
|
|
1123
|
+
arg1: string,
|
|
1124
|
+
overrides?: CallOverrides
|
|
1125
|
+
): Promise<[BigNumber, number] & { index: BigNumber; timestamp: number }>;
|
|
1126
|
+
|
|
1127
|
+
rewardBorrowerIndex(
|
|
1128
|
+
arg0: BigNumberish,
|
|
1129
|
+
arg1: string,
|
|
1130
|
+
arg2: string,
|
|
1131
|
+
overrides?: CallOverrides
|
|
1132
|
+
): Promise<[BigNumber]>;
|
|
1133
|
+
|
|
1134
|
+
rewardQi(overrides?: CallOverrides): Promise<[number]>;
|
|
1135
|
+
|
|
1136
|
+
rewardSpeeds(
|
|
1137
|
+
arg0: BigNumberish,
|
|
1138
|
+
arg1: string,
|
|
1139
|
+
overrides?: CallOverrides
|
|
1140
|
+
): Promise<[BigNumber]>;
|
|
1141
|
+
|
|
1142
|
+
rewardSupplierIndex(
|
|
1143
|
+
arg0: BigNumberish,
|
|
1144
|
+
arg1: string,
|
|
1145
|
+
arg2: string,
|
|
1146
|
+
overrides?: CallOverrides
|
|
1147
|
+
): Promise<[BigNumber]>;
|
|
1148
|
+
|
|
1149
|
+
rewardSupplyState(
|
|
1150
|
+
arg0: BigNumberish,
|
|
1151
|
+
arg1: string,
|
|
1152
|
+
overrides?: CallOverrides
|
|
1153
|
+
): Promise<[BigNumber, number] & { index: BigNumber; timestamp: number }>;
|
|
1154
|
+
|
|
1155
|
+
seizeAllowed(
|
|
1156
|
+
qiTokenCollateral: string,
|
|
1157
|
+
qiTokenBorrowed: string,
|
|
1158
|
+
liquidator: string,
|
|
1159
|
+
borrower: string,
|
|
1160
|
+
seizeTokens: BigNumberish,
|
|
1161
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1162
|
+
): Promise<ContractTransaction>;
|
|
1163
|
+
|
|
1164
|
+
seizeGuardianPaused(overrides?: CallOverrides): Promise<[boolean]>;
|
|
1165
|
+
|
|
1166
|
+
seizeVerify(
|
|
1167
|
+
qiTokenCollateral: string,
|
|
1168
|
+
qiTokenBorrowed: string,
|
|
1169
|
+
liquidator: string,
|
|
1170
|
+
borrower: string,
|
|
1171
|
+
seizeTokens: BigNumberish,
|
|
1172
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1173
|
+
): Promise<ContractTransaction>;
|
|
1174
|
+
|
|
1175
|
+
setQiAddress(
|
|
1176
|
+
newQiAddress: string,
|
|
1177
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1178
|
+
): Promise<ContractTransaction>;
|
|
1179
|
+
|
|
1180
|
+
transferAllowed(
|
|
1181
|
+
qiToken: string,
|
|
1182
|
+
src: string,
|
|
1183
|
+
dst: string,
|
|
1184
|
+
transferTokens: BigNumberish,
|
|
1185
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1186
|
+
): Promise<ContractTransaction>;
|
|
1187
|
+
|
|
1188
|
+
transferGuardianPaused(overrides?: CallOverrides): Promise<[boolean]>;
|
|
1189
|
+
|
|
1190
|
+
transferVerify(
|
|
1191
|
+
qiToken: string,
|
|
1192
|
+
src: string,
|
|
1193
|
+
dst: string,
|
|
1194
|
+
transferTokens: BigNumberish,
|
|
1195
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1196
|
+
): Promise<ContractTransaction>;
|
|
1197
|
+
};
|
|
1198
|
+
|
|
1199
|
+
_become(
|
|
1200
|
+
unitroller: string,
|
|
1201
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1202
|
+
): Promise<ContractTransaction>;
|
|
1203
|
+
|
|
1204
|
+
_borrowGuardianPaused(overrides?: CallOverrides): Promise<boolean>;
|
|
1205
|
+
|
|
1206
|
+
_grantQi(
|
|
1207
|
+
recipient: string,
|
|
1208
|
+
amount: BigNumberish,
|
|
1209
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1210
|
+
): Promise<ContractTransaction>;
|
|
1211
|
+
|
|
1212
|
+
_mintGuardianPaused(overrides?: CallOverrides): Promise<boolean>;
|
|
1213
|
+
|
|
1214
|
+
_setBorrowCapGuardian(
|
|
1215
|
+
newBorrowCapGuardian: string,
|
|
1216
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1217
|
+
): Promise<ContractTransaction>;
|
|
1218
|
+
|
|
1219
|
+
_setBorrowPaused(
|
|
1220
|
+
qiToken: string,
|
|
1221
|
+
state: boolean,
|
|
1222
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1223
|
+
): Promise<ContractTransaction>;
|
|
1224
|
+
|
|
1225
|
+
_setCloseFactor(
|
|
1226
|
+
newCloseFactorMantissa: BigNumberish,
|
|
1227
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1228
|
+
): Promise<ContractTransaction>;
|
|
1229
|
+
|
|
1230
|
+
_setCollateralFactor(
|
|
1231
|
+
qiToken: string,
|
|
1232
|
+
newCollateralFactorMantissa: BigNumberish,
|
|
1233
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1234
|
+
): Promise<ContractTransaction>;
|
|
1235
|
+
|
|
1236
|
+
_setLiquidationIncentive(
|
|
1237
|
+
newLiquidationIncentiveMantissa: BigNumberish,
|
|
1238
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1239
|
+
): Promise<ContractTransaction>;
|
|
1240
|
+
|
|
1241
|
+
_setMarketBorrowCaps(
|
|
1242
|
+
qiTokens: string[],
|
|
1243
|
+
newBorrowCaps: BigNumberish[],
|
|
1244
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1245
|
+
): Promise<ContractTransaction>;
|
|
1246
|
+
|
|
1247
|
+
_setMintPaused(
|
|
1248
|
+
qiToken: string,
|
|
1249
|
+
state: boolean,
|
|
1250
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1251
|
+
): Promise<ContractTransaction>;
|
|
1252
|
+
|
|
1253
|
+
_setPauseGuardian(
|
|
1254
|
+
newPauseGuardian: string,
|
|
1255
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1256
|
+
): Promise<ContractTransaction>;
|
|
1257
|
+
|
|
1258
|
+
_setPriceOracle(
|
|
1259
|
+
newOracle: string,
|
|
1260
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1261
|
+
): Promise<ContractTransaction>;
|
|
1262
|
+
|
|
1263
|
+
_setRewardSpeed(
|
|
1264
|
+
rewardType: BigNumberish,
|
|
1265
|
+
qiToken: string,
|
|
1266
|
+
rewardSpeed: BigNumberish,
|
|
1267
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1268
|
+
): Promise<ContractTransaction>;
|
|
1269
|
+
|
|
1270
|
+
_setSeizePaused(
|
|
1271
|
+
state: boolean,
|
|
1272
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1273
|
+
): Promise<ContractTransaction>;
|
|
1274
|
+
|
|
1275
|
+
_setTransferPaused(
|
|
1276
|
+
state: boolean,
|
|
1277
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1278
|
+
): Promise<ContractTransaction>;
|
|
1279
|
+
|
|
1280
|
+
_supportMarket(
|
|
1281
|
+
qiToken: string,
|
|
1282
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1283
|
+
): Promise<ContractTransaction>;
|
|
1284
|
+
|
|
1285
|
+
accountAssets(
|
|
1286
|
+
arg0: string,
|
|
1287
|
+
arg1: BigNumberish,
|
|
1288
|
+
overrides?: CallOverrides
|
|
1289
|
+
): Promise<string>;
|
|
1290
|
+
|
|
1291
|
+
admin(overrides?: CallOverrides): Promise<string>;
|
|
1292
|
+
|
|
1293
|
+
allMarkets(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>;
|
|
1294
|
+
|
|
1295
|
+
borrowAllowed(
|
|
1296
|
+
qiToken: string,
|
|
1297
|
+
borrower: string,
|
|
1298
|
+
borrowAmount: BigNumberish,
|
|
1299
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1300
|
+
): Promise<ContractTransaction>;
|
|
1301
|
+
|
|
1302
|
+
borrowCapGuardian(overrides?: CallOverrides): Promise<string>;
|
|
1303
|
+
|
|
1304
|
+
borrowCaps(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
1305
|
+
|
|
1306
|
+
borrowGuardianPaused(
|
|
1307
|
+
arg0: string,
|
|
1308
|
+
overrides?: CallOverrides
|
|
1309
|
+
): Promise<boolean>;
|
|
1310
|
+
|
|
1311
|
+
borrowVerify(
|
|
1312
|
+
qiToken: string,
|
|
1313
|
+
borrower: string,
|
|
1314
|
+
borrowAmount: BigNumberish,
|
|
1315
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1316
|
+
): Promise<ContractTransaction>;
|
|
1317
|
+
|
|
1318
|
+
checkMembership(
|
|
1319
|
+
account: string,
|
|
1320
|
+
qiToken: string,
|
|
1321
|
+
overrides?: CallOverrides
|
|
1322
|
+
): Promise<boolean>;
|
|
1323
|
+
|
|
1324
|
+
"claimReward(uint8,address)"(
|
|
1325
|
+
rewardType: BigNumberish,
|
|
1326
|
+
holder: string,
|
|
1327
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1328
|
+
): Promise<ContractTransaction>;
|
|
1329
|
+
|
|
1330
|
+
"claimReward(uint8,address,address[])"(
|
|
1331
|
+
rewardType: BigNumberish,
|
|
1332
|
+
holder: string,
|
|
1333
|
+
qiTokens: string[],
|
|
1334
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1335
|
+
): Promise<ContractTransaction>;
|
|
1336
|
+
|
|
1337
|
+
"claimReward(uint8,address[],address[],bool,bool)"(
|
|
1338
|
+
rewardType: BigNumberish,
|
|
1339
|
+
holders: string[],
|
|
1340
|
+
qiTokens: string[],
|
|
1341
|
+
borrowers: boolean,
|
|
1342
|
+
suppliers: boolean,
|
|
1343
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
1344
|
+
): Promise<ContractTransaction>;
|
|
1345
|
+
|
|
1346
|
+
closeFactorMantissa(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1347
|
+
|
|
1348
|
+
comptrollerImplementation(overrides?: CallOverrides): Promise<string>;
|
|
1349
|
+
|
|
1350
|
+
enterMarkets(
|
|
1351
|
+
qiTokens: string[],
|
|
1352
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1353
|
+
): Promise<ContractTransaction>;
|
|
1354
|
+
|
|
1355
|
+
exitMarket(
|
|
1356
|
+
qiTokenAddress: string,
|
|
1357
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1358
|
+
): Promise<ContractTransaction>;
|
|
1359
|
+
|
|
1360
|
+
getAccountLiquidity(
|
|
1361
|
+
account: string,
|
|
1362
|
+
overrides?: CallOverrides
|
|
1363
|
+
): Promise<[BigNumber, BigNumber, BigNumber]>;
|
|
1364
|
+
|
|
1365
|
+
getAllMarkets(overrides?: CallOverrides): Promise<string[]>;
|
|
1366
|
+
|
|
1367
|
+
getAssetsIn(account: string, overrides?: CallOverrides): Promise<string[]>;
|
|
1368
|
+
|
|
1369
|
+
getBlockTimestamp(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1370
|
+
|
|
1371
|
+
getHypotheticalAccountLiquidity(
|
|
1372
|
+
account: string,
|
|
1373
|
+
qiTokenModify: string,
|
|
1374
|
+
redeemTokens: BigNumberish,
|
|
1375
|
+
borrowAmount: BigNumberish,
|
|
1376
|
+
overrides?: CallOverrides
|
|
1377
|
+
): Promise<[BigNumber, BigNumber, BigNumber]>;
|
|
1378
|
+
|
|
1379
|
+
initialIndexConstant(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1380
|
+
|
|
1381
|
+
isComptroller(overrides?: CallOverrides): Promise<boolean>;
|
|
1382
|
+
|
|
1383
|
+
liquidateBorrowAllowed(
|
|
1384
|
+
qiTokenBorrowed: string,
|
|
1385
|
+
qiTokenCollateral: string,
|
|
1386
|
+
liquidator: string,
|
|
1387
|
+
borrower: string,
|
|
1388
|
+
repayAmount: BigNumberish,
|
|
1389
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1390
|
+
): Promise<ContractTransaction>;
|
|
1391
|
+
|
|
1392
|
+
liquidateBorrowVerify(
|
|
1393
|
+
qiTokenBorrowed: string,
|
|
1394
|
+
qiTokenCollateral: string,
|
|
1395
|
+
liquidator: string,
|
|
1396
|
+
borrower: string,
|
|
1397
|
+
actualRepayAmount: BigNumberish,
|
|
1398
|
+
seizeTokens: BigNumberish,
|
|
1399
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1400
|
+
): Promise<ContractTransaction>;
|
|
1401
|
+
|
|
1402
|
+
liquidateCalculateSeizeTokens(
|
|
1403
|
+
qiTokenBorrowed: string,
|
|
1404
|
+
qiTokenCollateral: string,
|
|
1405
|
+
actualRepayAmount: BigNumberish,
|
|
1406
|
+
overrides?: CallOverrides
|
|
1407
|
+
): Promise<[BigNumber, BigNumber]>;
|
|
1408
|
+
|
|
1409
|
+
liquidationIncentiveMantissa(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1410
|
+
|
|
1411
|
+
markets(
|
|
1412
|
+
arg0: string,
|
|
1413
|
+
overrides?: CallOverrides
|
|
1414
|
+
): Promise<
|
|
1415
|
+
[boolean, BigNumber, boolean] & {
|
|
1416
|
+
isListed: boolean;
|
|
1417
|
+
collateralFactorMantissa: BigNumber;
|
|
1418
|
+
isQied: boolean;
|
|
1419
|
+
}
|
|
1420
|
+
>;
|
|
1421
|
+
|
|
1422
|
+
maxAssets(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1423
|
+
|
|
1424
|
+
mintAllowed(
|
|
1425
|
+
qiToken: string,
|
|
1426
|
+
minter: string,
|
|
1427
|
+
mintAmount: BigNumberish,
|
|
1428
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1429
|
+
): Promise<ContractTransaction>;
|
|
1430
|
+
|
|
1431
|
+
mintGuardianPaused(arg0: string, overrides?: CallOverrides): Promise<boolean>;
|
|
1432
|
+
|
|
1433
|
+
mintVerify(
|
|
1434
|
+
qiToken: string,
|
|
1435
|
+
minter: string,
|
|
1436
|
+
actualMintAmount: BigNumberish,
|
|
1437
|
+
mintTokens: BigNumberish,
|
|
1438
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1439
|
+
): Promise<ContractTransaction>;
|
|
1440
|
+
|
|
1441
|
+
oracle(overrides?: CallOverrides): Promise<string>;
|
|
1442
|
+
|
|
1443
|
+
pauseGuardian(overrides?: CallOverrides): Promise<string>;
|
|
1444
|
+
|
|
1445
|
+
pendingAdmin(overrides?: CallOverrides): Promise<string>;
|
|
1446
|
+
|
|
1447
|
+
pendingComptrollerImplementation(overrides?: CallOverrides): Promise<string>;
|
|
1448
|
+
|
|
1449
|
+
qiAddress(overrides?: CallOverrides): Promise<string>;
|
|
1450
|
+
|
|
1451
|
+
redeemAllowed(
|
|
1452
|
+
qiToken: string,
|
|
1453
|
+
redeemer: string,
|
|
1454
|
+
redeemTokens: BigNumberish,
|
|
1455
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1456
|
+
): Promise<ContractTransaction>;
|
|
1457
|
+
|
|
1458
|
+
redeemVerify(
|
|
1459
|
+
qiToken: string,
|
|
1460
|
+
redeemer: string,
|
|
1461
|
+
redeemAmount: BigNumberish,
|
|
1462
|
+
redeemTokens: BigNumberish,
|
|
1463
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1464
|
+
): Promise<ContractTransaction>;
|
|
1465
|
+
|
|
1466
|
+
repayBorrowAllowed(
|
|
1467
|
+
qiToken: string,
|
|
1468
|
+
payer: string,
|
|
1469
|
+
borrower: string,
|
|
1470
|
+
repayAmount: BigNumberish,
|
|
1471
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1472
|
+
): Promise<ContractTransaction>;
|
|
1473
|
+
|
|
1474
|
+
repayBorrowVerify(
|
|
1475
|
+
qiToken: string,
|
|
1476
|
+
payer: string,
|
|
1477
|
+
borrower: string,
|
|
1478
|
+
actualRepayAmount: BigNumberish,
|
|
1479
|
+
borrowerIndex: BigNumberish,
|
|
1480
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1481
|
+
): Promise<ContractTransaction>;
|
|
1482
|
+
|
|
1483
|
+
rewardAccrued(
|
|
1484
|
+
arg0: BigNumberish,
|
|
1485
|
+
arg1: string,
|
|
1486
|
+
overrides?: CallOverrides
|
|
1487
|
+
): Promise<BigNumber>;
|
|
1488
|
+
|
|
1489
|
+
rewardAvax(overrides?: CallOverrides): Promise<number>;
|
|
1490
|
+
|
|
1491
|
+
rewardBorrowState(
|
|
1492
|
+
arg0: BigNumberish,
|
|
1493
|
+
arg1: string,
|
|
1494
|
+
overrides?: CallOverrides
|
|
1495
|
+
): Promise<[BigNumber, number] & { index: BigNumber; timestamp: number }>;
|
|
1496
|
+
|
|
1497
|
+
rewardBorrowerIndex(
|
|
1498
|
+
arg0: BigNumberish,
|
|
1499
|
+
arg1: string,
|
|
1500
|
+
arg2: string,
|
|
1501
|
+
overrides?: CallOverrides
|
|
1502
|
+
): Promise<BigNumber>;
|
|
1503
|
+
|
|
1504
|
+
rewardQi(overrides?: CallOverrides): Promise<number>;
|
|
1505
|
+
|
|
1506
|
+
rewardSpeeds(
|
|
1507
|
+
arg0: BigNumberish,
|
|
1508
|
+
arg1: string,
|
|
1509
|
+
overrides?: CallOverrides
|
|
1510
|
+
): Promise<BigNumber>;
|
|
1511
|
+
|
|
1512
|
+
rewardSupplierIndex(
|
|
1513
|
+
arg0: BigNumberish,
|
|
1514
|
+
arg1: string,
|
|
1515
|
+
arg2: string,
|
|
1516
|
+
overrides?: CallOverrides
|
|
1517
|
+
): Promise<BigNumber>;
|
|
1518
|
+
|
|
1519
|
+
rewardSupplyState(
|
|
1520
|
+
arg0: BigNumberish,
|
|
1521
|
+
arg1: string,
|
|
1522
|
+
overrides?: CallOverrides
|
|
1523
|
+
): Promise<[BigNumber, number] & { index: BigNumber; timestamp: number }>;
|
|
1524
|
+
|
|
1525
|
+
seizeAllowed(
|
|
1526
|
+
qiTokenCollateral: string,
|
|
1527
|
+
qiTokenBorrowed: string,
|
|
1528
|
+
liquidator: string,
|
|
1529
|
+
borrower: string,
|
|
1530
|
+
seizeTokens: BigNumberish,
|
|
1531
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1532
|
+
): Promise<ContractTransaction>;
|
|
1533
|
+
|
|
1534
|
+
seizeGuardianPaused(overrides?: CallOverrides): Promise<boolean>;
|
|
1535
|
+
|
|
1536
|
+
seizeVerify(
|
|
1537
|
+
qiTokenCollateral: string,
|
|
1538
|
+
qiTokenBorrowed: string,
|
|
1539
|
+
liquidator: string,
|
|
1540
|
+
borrower: string,
|
|
1541
|
+
seizeTokens: BigNumberish,
|
|
1542
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1543
|
+
): Promise<ContractTransaction>;
|
|
1544
|
+
|
|
1545
|
+
setQiAddress(
|
|
1546
|
+
newQiAddress: string,
|
|
1547
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1548
|
+
): Promise<ContractTransaction>;
|
|
1549
|
+
|
|
1550
|
+
transferAllowed(
|
|
1551
|
+
qiToken: string,
|
|
1552
|
+
src: string,
|
|
1553
|
+
dst: string,
|
|
1554
|
+
transferTokens: BigNumberish,
|
|
1555
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1556
|
+
): Promise<ContractTransaction>;
|
|
1557
|
+
|
|
1558
|
+
transferGuardianPaused(overrides?: CallOverrides): Promise<boolean>;
|
|
1559
|
+
|
|
1560
|
+
transferVerify(
|
|
1561
|
+
qiToken: string,
|
|
1562
|
+
src: string,
|
|
1563
|
+
dst: string,
|
|
1564
|
+
transferTokens: BigNumberish,
|
|
1565
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1566
|
+
): Promise<ContractTransaction>;
|
|
1567
|
+
|
|
1568
|
+
callStatic: {
|
|
1569
|
+
_become(unitroller: string, overrides?: CallOverrides): Promise<void>;
|
|
1570
|
+
|
|
1571
|
+
_borrowGuardianPaused(overrides?: CallOverrides): Promise<boolean>;
|
|
1572
|
+
|
|
1573
|
+
_grantQi(
|
|
1574
|
+
recipient: string,
|
|
1575
|
+
amount: BigNumberish,
|
|
1576
|
+
overrides?: CallOverrides
|
|
1577
|
+
): Promise<void>;
|
|
1578
|
+
|
|
1579
|
+
_mintGuardianPaused(overrides?: CallOverrides): Promise<boolean>;
|
|
1580
|
+
|
|
1581
|
+
_setBorrowCapGuardian(
|
|
1582
|
+
newBorrowCapGuardian: string,
|
|
1583
|
+
overrides?: CallOverrides
|
|
1584
|
+
): Promise<void>;
|
|
1585
|
+
|
|
1586
|
+
_setBorrowPaused(
|
|
1587
|
+
qiToken: string,
|
|
1588
|
+
state: boolean,
|
|
1589
|
+
overrides?: CallOverrides
|
|
1590
|
+
): Promise<boolean>;
|
|
1591
|
+
|
|
1592
|
+
_setCloseFactor(
|
|
1593
|
+
newCloseFactorMantissa: BigNumberish,
|
|
1594
|
+
overrides?: CallOverrides
|
|
1595
|
+
): Promise<BigNumber>;
|
|
1596
|
+
|
|
1597
|
+
_setCollateralFactor(
|
|
1598
|
+
qiToken: string,
|
|
1599
|
+
newCollateralFactorMantissa: BigNumberish,
|
|
1600
|
+
overrides?: CallOverrides
|
|
1601
|
+
): Promise<BigNumber>;
|
|
1602
|
+
|
|
1603
|
+
_setLiquidationIncentive(
|
|
1604
|
+
newLiquidationIncentiveMantissa: BigNumberish,
|
|
1605
|
+
overrides?: CallOverrides
|
|
1606
|
+
): Promise<BigNumber>;
|
|
1607
|
+
|
|
1608
|
+
_setMarketBorrowCaps(
|
|
1609
|
+
qiTokens: string[],
|
|
1610
|
+
newBorrowCaps: BigNumberish[],
|
|
1611
|
+
overrides?: CallOverrides
|
|
1612
|
+
): Promise<void>;
|
|
1613
|
+
|
|
1614
|
+
_setMintPaused(
|
|
1615
|
+
qiToken: string,
|
|
1616
|
+
state: boolean,
|
|
1617
|
+
overrides?: CallOverrides
|
|
1618
|
+
): Promise<boolean>;
|
|
1619
|
+
|
|
1620
|
+
_setPauseGuardian(
|
|
1621
|
+
newPauseGuardian: string,
|
|
1622
|
+
overrides?: CallOverrides
|
|
1623
|
+
): Promise<BigNumber>;
|
|
1624
|
+
|
|
1625
|
+
_setPriceOracle(
|
|
1626
|
+
newOracle: string,
|
|
1627
|
+
overrides?: CallOverrides
|
|
1628
|
+
): Promise<BigNumber>;
|
|
1629
|
+
|
|
1630
|
+
_setRewardSpeed(
|
|
1631
|
+
rewardType: BigNumberish,
|
|
1632
|
+
qiToken: string,
|
|
1633
|
+
rewardSpeed: BigNumberish,
|
|
1634
|
+
overrides?: CallOverrides
|
|
1635
|
+
): Promise<void>;
|
|
1636
|
+
|
|
1637
|
+
_setSeizePaused(
|
|
1638
|
+
state: boolean,
|
|
1639
|
+
overrides?: CallOverrides
|
|
1640
|
+
): Promise<boolean>;
|
|
1641
|
+
|
|
1642
|
+
_setTransferPaused(
|
|
1643
|
+
state: boolean,
|
|
1644
|
+
overrides?: CallOverrides
|
|
1645
|
+
): Promise<boolean>;
|
|
1646
|
+
|
|
1647
|
+
_supportMarket(
|
|
1648
|
+
qiToken: string,
|
|
1649
|
+
overrides?: CallOverrides
|
|
1650
|
+
): Promise<BigNumber>;
|
|
1651
|
+
|
|
1652
|
+
accountAssets(
|
|
1653
|
+
arg0: string,
|
|
1654
|
+
arg1: BigNumberish,
|
|
1655
|
+
overrides?: CallOverrides
|
|
1656
|
+
): Promise<string>;
|
|
1657
|
+
|
|
1658
|
+
admin(overrides?: CallOverrides): Promise<string>;
|
|
1659
|
+
|
|
1660
|
+
allMarkets(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>;
|
|
1661
|
+
|
|
1662
|
+
borrowAllowed(
|
|
1663
|
+
qiToken: string,
|
|
1664
|
+
borrower: string,
|
|
1665
|
+
borrowAmount: BigNumberish,
|
|
1666
|
+
overrides?: CallOverrides
|
|
1667
|
+
): Promise<BigNumber>;
|
|
1668
|
+
|
|
1669
|
+
borrowCapGuardian(overrides?: CallOverrides): Promise<string>;
|
|
1670
|
+
|
|
1671
|
+
borrowCaps(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
1672
|
+
|
|
1673
|
+
borrowGuardianPaused(
|
|
1674
|
+
arg0: string,
|
|
1675
|
+
overrides?: CallOverrides
|
|
1676
|
+
): Promise<boolean>;
|
|
1677
|
+
|
|
1678
|
+
borrowVerify(
|
|
1679
|
+
qiToken: string,
|
|
1680
|
+
borrower: string,
|
|
1681
|
+
borrowAmount: BigNumberish,
|
|
1682
|
+
overrides?: CallOverrides
|
|
1683
|
+
): Promise<void>;
|
|
1684
|
+
|
|
1685
|
+
checkMembership(
|
|
1686
|
+
account: string,
|
|
1687
|
+
qiToken: string,
|
|
1688
|
+
overrides?: CallOverrides
|
|
1689
|
+
): Promise<boolean>;
|
|
1690
|
+
|
|
1691
|
+
"claimReward(uint8,address)"(
|
|
1692
|
+
rewardType: BigNumberish,
|
|
1693
|
+
holder: string,
|
|
1694
|
+
overrides?: CallOverrides
|
|
1695
|
+
): Promise<void>;
|
|
1696
|
+
|
|
1697
|
+
"claimReward(uint8,address,address[])"(
|
|
1698
|
+
rewardType: BigNumberish,
|
|
1699
|
+
holder: string,
|
|
1700
|
+
qiTokens: string[],
|
|
1701
|
+
overrides?: CallOverrides
|
|
1702
|
+
): Promise<void>;
|
|
1703
|
+
|
|
1704
|
+
"claimReward(uint8,address[],address[],bool,bool)"(
|
|
1705
|
+
rewardType: BigNumberish,
|
|
1706
|
+
holders: string[],
|
|
1707
|
+
qiTokens: string[],
|
|
1708
|
+
borrowers: boolean,
|
|
1709
|
+
suppliers: boolean,
|
|
1710
|
+
overrides?: CallOverrides
|
|
1711
|
+
): Promise<void>;
|
|
1712
|
+
|
|
1713
|
+
closeFactorMantissa(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1714
|
+
|
|
1715
|
+
comptrollerImplementation(overrides?: CallOverrides): Promise<string>;
|
|
1716
|
+
|
|
1717
|
+
enterMarkets(
|
|
1718
|
+
qiTokens: string[],
|
|
1719
|
+
overrides?: CallOverrides
|
|
1720
|
+
): Promise<BigNumber[]>;
|
|
1721
|
+
|
|
1722
|
+
exitMarket(
|
|
1723
|
+
qiTokenAddress: string,
|
|
1724
|
+
overrides?: CallOverrides
|
|
1725
|
+
): Promise<BigNumber>;
|
|
1726
|
+
|
|
1727
|
+
getAccountLiquidity(
|
|
1728
|
+
account: string,
|
|
1729
|
+
overrides?: CallOverrides
|
|
1730
|
+
): Promise<[BigNumber, BigNumber, BigNumber]>;
|
|
1731
|
+
|
|
1732
|
+
getAllMarkets(overrides?: CallOverrides): Promise<string[]>;
|
|
1733
|
+
|
|
1734
|
+
getAssetsIn(account: string, overrides?: CallOverrides): Promise<string[]>;
|
|
1735
|
+
|
|
1736
|
+
getBlockTimestamp(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1737
|
+
|
|
1738
|
+
getHypotheticalAccountLiquidity(
|
|
1739
|
+
account: string,
|
|
1740
|
+
qiTokenModify: string,
|
|
1741
|
+
redeemTokens: BigNumberish,
|
|
1742
|
+
borrowAmount: BigNumberish,
|
|
1743
|
+
overrides?: CallOverrides
|
|
1744
|
+
): Promise<[BigNumber, BigNumber, BigNumber]>;
|
|
1745
|
+
|
|
1746
|
+
initialIndexConstant(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1747
|
+
|
|
1748
|
+
isComptroller(overrides?: CallOverrides): Promise<boolean>;
|
|
1749
|
+
|
|
1750
|
+
liquidateBorrowAllowed(
|
|
1751
|
+
qiTokenBorrowed: string,
|
|
1752
|
+
qiTokenCollateral: string,
|
|
1753
|
+
liquidator: string,
|
|
1754
|
+
borrower: string,
|
|
1755
|
+
repayAmount: BigNumberish,
|
|
1756
|
+
overrides?: CallOverrides
|
|
1757
|
+
): Promise<BigNumber>;
|
|
1758
|
+
|
|
1759
|
+
liquidateBorrowVerify(
|
|
1760
|
+
qiTokenBorrowed: string,
|
|
1761
|
+
qiTokenCollateral: string,
|
|
1762
|
+
liquidator: string,
|
|
1763
|
+
borrower: string,
|
|
1764
|
+
actualRepayAmount: BigNumberish,
|
|
1765
|
+
seizeTokens: BigNumberish,
|
|
1766
|
+
overrides?: CallOverrides
|
|
1767
|
+
): Promise<void>;
|
|
1768
|
+
|
|
1769
|
+
liquidateCalculateSeizeTokens(
|
|
1770
|
+
qiTokenBorrowed: string,
|
|
1771
|
+
qiTokenCollateral: string,
|
|
1772
|
+
actualRepayAmount: BigNumberish,
|
|
1773
|
+
overrides?: CallOverrides
|
|
1774
|
+
): Promise<[BigNumber, BigNumber]>;
|
|
1775
|
+
|
|
1776
|
+
liquidationIncentiveMantissa(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1777
|
+
|
|
1778
|
+
markets(
|
|
1779
|
+
arg0: string,
|
|
1780
|
+
overrides?: CallOverrides
|
|
1781
|
+
): Promise<
|
|
1782
|
+
[boolean, BigNumber, boolean] & {
|
|
1783
|
+
isListed: boolean;
|
|
1784
|
+
collateralFactorMantissa: BigNumber;
|
|
1785
|
+
isQied: boolean;
|
|
1786
|
+
}
|
|
1787
|
+
>;
|
|
1788
|
+
|
|
1789
|
+
maxAssets(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1790
|
+
|
|
1791
|
+
mintAllowed(
|
|
1792
|
+
qiToken: string,
|
|
1793
|
+
minter: string,
|
|
1794
|
+
mintAmount: BigNumberish,
|
|
1795
|
+
overrides?: CallOverrides
|
|
1796
|
+
): Promise<BigNumber>;
|
|
1797
|
+
|
|
1798
|
+
mintGuardianPaused(
|
|
1799
|
+
arg0: string,
|
|
1800
|
+
overrides?: CallOverrides
|
|
1801
|
+
): Promise<boolean>;
|
|
1802
|
+
|
|
1803
|
+
mintVerify(
|
|
1804
|
+
qiToken: string,
|
|
1805
|
+
minter: string,
|
|
1806
|
+
actualMintAmount: BigNumberish,
|
|
1807
|
+
mintTokens: BigNumberish,
|
|
1808
|
+
overrides?: CallOverrides
|
|
1809
|
+
): Promise<void>;
|
|
1810
|
+
|
|
1811
|
+
oracle(overrides?: CallOverrides): Promise<string>;
|
|
1812
|
+
|
|
1813
|
+
pauseGuardian(overrides?: CallOverrides): Promise<string>;
|
|
1814
|
+
|
|
1815
|
+
pendingAdmin(overrides?: CallOverrides): Promise<string>;
|
|
1816
|
+
|
|
1817
|
+
pendingComptrollerImplementation(
|
|
1818
|
+
overrides?: CallOverrides
|
|
1819
|
+
): Promise<string>;
|
|
1820
|
+
|
|
1821
|
+
qiAddress(overrides?: CallOverrides): Promise<string>;
|
|
1822
|
+
|
|
1823
|
+
redeemAllowed(
|
|
1824
|
+
qiToken: string,
|
|
1825
|
+
redeemer: string,
|
|
1826
|
+
redeemTokens: BigNumberish,
|
|
1827
|
+
overrides?: CallOverrides
|
|
1828
|
+
): Promise<BigNumber>;
|
|
1829
|
+
|
|
1830
|
+
redeemVerify(
|
|
1831
|
+
qiToken: string,
|
|
1832
|
+
redeemer: string,
|
|
1833
|
+
redeemAmount: BigNumberish,
|
|
1834
|
+
redeemTokens: BigNumberish,
|
|
1835
|
+
overrides?: CallOverrides
|
|
1836
|
+
): Promise<void>;
|
|
1837
|
+
|
|
1838
|
+
repayBorrowAllowed(
|
|
1839
|
+
qiToken: string,
|
|
1840
|
+
payer: string,
|
|
1841
|
+
borrower: string,
|
|
1842
|
+
repayAmount: BigNumberish,
|
|
1843
|
+
overrides?: CallOverrides
|
|
1844
|
+
): Promise<BigNumber>;
|
|
1845
|
+
|
|
1846
|
+
repayBorrowVerify(
|
|
1847
|
+
qiToken: string,
|
|
1848
|
+
payer: string,
|
|
1849
|
+
borrower: string,
|
|
1850
|
+
actualRepayAmount: BigNumberish,
|
|
1851
|
+
borrowerIndex: BigNumberish,
|
|
1852
|
+
overrides?: CallOverrides
|
|
1853
|
+
): Promise<void>;
|
|
1854
|
+
|
|
1855
|
+
rewardAccrued(
|
|
1856
|
+
arg0: BigNumberish,
|
|
1857
|
+
arg1: string,
|
|
1858
|
+
overrides?: CallOverrides
|
|
1859
|
+
): Promise<BigNumber>;
|
|
1860
|
+
|
|
1861
|
+
rewardAvax(overrides?: CallOverrides): Promise<number>;
|
|
1862
|
+
|
|
1863
|
+
rewardBorrowState(
|
|
1864
|
+
arg0: BigNumberish,
|
|
1865
|
+
arg1: string,
|
|
1866
|
+
overrides?: CallOverrides
|
|
1867
|
+
): Promise<[BigNumber, number] & { index: BigNumber; timestamp: number }>;
|
|
1868
|
+
|
|
1869
|
+
rewardBorrowerIndex(
|
|
1870
|
+
arg0: BigNumberish,
|
|
1871
|
+
arg1: string,
|
|
1872
|
+
arg2: string,
|
|
1873
|
+
overrides?: CallOverrides
|
|
1874
|
+
): Promise<BigNumber>;
|
|
1875
|
+
|
|
1876
|
+
rewardQi(overrides?: CallOverrides): Promise<number>;
|
|
1877
|
+
|
|
1878
|
+
rewardSpeeds(
|
|
1879
|
+
arg0: BigNumberish,
|
|
1880
|
+
arg1: string,
|
|
1881
|
+
overrides?: CallOverrides
|
|
1882
|
+
): Promise<BigNumber>;
|
|
1883
|
+
|
|
1884
|
+
rewardSupplierIndex(
|
|
1885
|
+
arg0: BigNumberish,
|
|
1886
|
+
arg1: string,
|
|
1887
|
+
arg2: string,
|
|
1888
|
+
overrides?: CallOverrides
|
|
1889
|
+
): Promise<BigNumber>;
|
|
1890
|
+
|
|
1891
|
+
rewardSupplyState(
|
|
1892
|
+
arg0: BigNumberish,
|
|
1893
|
+
arg1: string,
|
|
1894
|
+
overrides?: CallOverrides
|
|
1895
|
+
): Promise<[BigNumber, number] & { index: BigNumber; timestamp: number }>;
|
|
1896
|
+
|
|
1897
|
+
seizeAllowed(
|
|
1898
|
+
qiTokenCollateral: string,
|
|
1899
|
+
qiTokenBorrowed: string,
|
|
1900
|
+
liquidator: string,
|
|
1901
|
+
borrower: string,
|
|
1902
|
+
seizeTokens: BigNumberish,
|
|
1903
|
+
overrides?: CallOverrides
|
|
1904
|
+
): Promise<BigNumber>;
|
|
1905
|
+
|
|
1906
|
+
seizeGuardianPaused(overrides?: CallOverrides): Promise<boolean>;
|
|
1907
|
+
|
|
1908
|
+
seizeVerify(
|
|
1909
|
+
qiTokenCollateral: string,
|
|
1910
|
+
qiTokenBorrowed: string,
|
|
1911
|
+
liquidator: string,
|
|
1912
|
+
borrower: string,
|
|
1913
|
+
seizeTokens: BigNumberish,
|
|
1914
|
+
overrides?: CallOverrides
|
|
1915
|
+
): Promise<void>;
|
|
1916
|
+
|
|
1917
|
+
setQiAddress(
|
|
1918
|
+
newQiAddress: string,
|
|
1919
|
+
overrides?: CallOverrides
|
|
1920
|
+
): Promise<void>;
|
|
1921
|
+
|
|
1922
|
+
transferAllowed(
|
|
1923
|
+
qiToken: string,
|
|
1924
|
+
src: string,
|
|
1925
|
+
dst: string,
|
|
1926
|
+
transferTokens: BigNumberish,
|
|
1927
|
+
overrides?: CallOverrides
|
|
1928
|
+
): Promise<BigNumber>;
|
|
1929
|
+
|
|
1930
|
+
transferGuardianPaused(overrides?: CallOverrides): Promise<boolean>;
|
|
1931
|
+
|
|
1932
|
+
transferVerify(
|
|
1933
|
+
qiToken: string,
|
|
1934
|
+
src: string,
|
|
1935
|
+
dst: string,
|
|
1936
|
+
transferTokens: BigNumberish,
|
|
1937
|
+
overrides?: CallOverrides
|
|
1938
|
+
): Promise<void>;
|
|
1939
|
+
};
|
|
1940
|
+
|
|
1941
|
+
filters: {
|
|
1942
|
+
"ActionPaused(string,bool)"(
|
|
1943
|
+
action?: null,
|
|
1944
|
+
pauseState?: null
|
|
1945
|
+
): ActionPaused_string_bool_EventFilter;
|
|
1946
|
+
"ActionPaused(address,string,bool)"(
|
|
1947
|
+
qiToken?: null,
|
|
1948
|
+
action?: null,
|
|
1949
|
+
pauseState?: null
|
|
1950
|
+
): ActionPaused_address_string_bool_EventFilter;
|
|
1951
|
+
|
|
1952
|
+
"ContributorQiSpeedUpdated(address,uint256)"(
|
|
1953
|
+
contributor?: string | null,
|
|
1954
|
+
newSpeed?: null
|
|
1955
|
+
): ContributorQiSpeedUpdatedEventFilter;
|
|
1956
|
+
ContributorQiSpeedUpdated(
|
|
1957
|
+
contributor?: string | null,
|
|
1958
|
+
newSpeed?: null
|
|
1959
|
+
): ContributorQiSpeedUpdatedEventFilter;
|
|
1960
|
+
|
|
1961
|
+
"DistributedBorrowerReward(uint8,address,address,uint256,uint256)"(
|
|
1962
|
+
tokenType?: BigNumberish | null,
|
|
1963
|
+
qiToken?: string | null,
|
|
1964
|
+
borrower?: string | null,
|
|
1965
|
+
qiDelta?: null,
|
|
1966
|
+
qiBorrowIndex?: null
|
|
1967
|
+
): DistributedBorrowerRewardEventFilter;
|
|
1968
|
+
DistributedBorrowerReward(
|
|
1969
|
+
tokenType?: BigNumberish | null,
|
|
1970
|
+
qiToken?: string | null,
|
|
1971
|
+
borrower?: string | null,
|
|
1972
|
+
qiDelta?: null,
|
|
1973
|
+
qiBorrowIndex?: null
|
|
1974
|
+
): DistributedBorrowerRewardEventFilter;
|
|
1975
|
+
|
|
1976
|
+
"DistributedSupplierReward(uint8,address,address,uint256,uint256)"(
|
|
1977
|
+
tokenType?: BigNumberish | null,
|
|
1978
|
+
qiToken?: string | null,
|
|
1979
|
+
borrower?: string | null,
|
|
1980
|
+
qiDelta?: null,
|
|
1981
|
+
qiBorrowIndex?: null
|
|
1982
|
+
): DistributedSupplierRewardEventFilter;
|
|
1983
|
+
DistributedSupplierReward(
|
|
1984
|
+
tokenType?: BigNumberish | null,
|
|
1985
|
+
qiToken?: string | null,
|
|
1986
|
+
borrower?: string | null,
|
|
1987
|
+
qiDelta?: null,
|
|
1988
|
+
qiBorrowIndex?: null
|
|
1989
|
+
): DistributedSupplierRewardEventFilter;
|
|
1990
|
+
|
|
1991
|
+
"Failure(uint256,uint256,uint256)"(
|
|
1992
|
+
error?: null,
|
|
1993
|
+
info?: null,
|
|
1994
|
+
detail?: null
|
|
1995
|
+
): FailureEventFilter;
|
|
1996
|
+
Failure(error?: null, info?: null, detail?: null): FailureEventFilter;
|
|
1997
|
+
|
|
1998
|
+
"MarketEntered(address,address)"(
|
|
1999
|
+
qiToken?: null,
|
|
2000
|
+
account?: null
|
|
2001
|
+
): MarketEnteredEventFilter;
|
|
2002
|
+
MarketEntered(qiToken?: null, account?: null): MarketEnteredEventFilter;
|
|
2003
|
+
|
|
2004
|
+
"MarketExited(address,address)"(
|
|
2005
|
+
qiToken?: null,
|
|
2006
|
+
account?: null
|
|
2007
|
+
): MarketExitedEventFilter;
|
|
2008
|
+
MarketExited(qiToken?: null, account?: null): MarketExitedEventFilter;
|
|
2009
|
+
|
|
2010
|
+
"MarketListed(address)"(qiToken?: null): MarketListedEventFilter;
|
|
2011
|
+
MarketListed(qiToken?: null): MarketListedEventFilter;
|
|
2012
|
+
|
|
2013
|
+
"NewBorrowCap(address,uint256)"(
|
|
2014
|
+
qiToken?: string | null,
|
|
2015
|
+
newBorrowCap?: null
|
|
2016
|
+
): NewBorrowCapEventFilter;
|
|
2017
|
+
NewBorrowCap(
|
|
2018
|
+
qiToken?: string | null,
|
|
2019
|
+
newBorrowCap?: null
|
|
2020
|
+
): NewBorrowCapEventFilter;
|
|
2021
|
+
|
|
2022
|
+
"NewBorrowCapGuardian(address,address)"(
|
|
2023
|
+
oldBorrowCapGuardian?: null,
|
|
2024
|
+
newBorrowCapGuardian?: null
|
|
2025
|
+
): NewBorrowCapGuardianEventFilter;
|
|
2026
|
+
NewBorrowCapGuardian(
|
|
2027
|
+
oldBorrowCapGuardian?: null,
|
|
2028
|
+
newBorrowCapGuardian?: null
|
|
2029
|
+
): NewBorrowCapGuardianEventFilter;
|
|
2030
|
+
|
|
2031
|
+
"NewCloseFactor(uint256,uint256)"(
|
|
2032
|
+
oldCloseFactorMantissa?: null,
|
|
2033
|
+
newCloseFactorMantissa?: null
|
|
2034
|
+
): NewCloseFactorEventFilter;
|
|
2035
|
+
NewCloseFactor(
|
|
2036
|
+
oldCloseFactorMantissa?: null,
|
|
2037
|
+
newCloseFactorMantissa?: null
|
|
2038
|
+
): NewCloseFactorEventFilter;
|
|
2039
|
+
|
|
2040
|
+
"NewCollateralFactor(address,uint256,uint256)"(
|
|
2041
|
+
qiToken?: null,
|
|
2042
|
+
oldCollateralFactorMantissa?: null,
|
|
2043
|
+
newCollateralFactorMantissa?: null
|
|
2044
|
+
): NewCollateralFactorEventFilter;
|
|
2045
|
+
NewCollateralFactor(
|
|
2046
|
+
qiToken?: null,
|
|
2047
|
+
oldCollateralFactorMantissa?: null,
|
|
2048
|
+
newCollateralFactorMantissa?: null
|
|
2049
|
+
): NewCollateralFactorEventFilter;
|
|
2050
|
+
|
|
2051
|
+
"NewLiquidationIncentive(uint256,uint256)"(
|
|
2052
|
+
oldLiquidationIncentiveMantissa?: null,
|
|
2053
|
+
newLiquidationIncentiveMantissa?: null
|
|
2054
|
+
): NewLiquidationIncentiveEventFilter;
|
|
2055
|
+
NewLiquidationIncentive(
|
|
2056
|
+
oldLiquidationIncentiveMantissa?: null,
|
|
2057
|
+
newLiquidationIncentiveMantissa?: null
|
|
2058
|
+
): NewLiquidationIncentiveEventFilter;
|
|
2059
|
+
|
|
2060
|
+
"NewPauseGuardian(address,address)"(
|
|
2061
|
+
oldPauseGuardian?: null,
|
|
2062
|
+
newPauseGuardian?: null
|
|
2063
|
+
): NewPauseGuardianEventFilter;
|
|
2064
|
+
NewPauseGuardian(
|
|
2065
|
+
oldPauseGuardian?: null,
|
|
2066
|
+
newPauseGuardian?: null
|
|
2067
|
+
): NewPauseGuardianEventFilter;
|
|
2068
|
+
|
|
2069
|
+
"NewPriceOracle(address,address)"(
|
|
2070
|
+
oldPriceOracle?: null,
|
|
2071
|
+
newPriceOracle?: null
|
|
2072
|
+
): NewPriceOracleEventFilter;
|
|
2073
|
+
NewPriceOracle(
|
|
2074
|
+
oldPriceOracle?: null,
|
|
2075
|
+
newPriceOracle?: null
|
|
2076
|
+
): NewPriceOracleEventFilter;
|
|
2077
|
+
|
|
2078
|
+
"QiGranted(address,uint256)"(
|
|
2079
|
+
recipient?: null,
|
|
2080
|
+
amount?: null
|
|
2081
|
+
): QiGrantedEventFilter;
|
|
2082
|
+
QiGranted(recipient?: null, amount?: null): QiGrantedEventFilter;
|
|
2083
|
+
|
|
2084
|
+
"SpeedUpdated(uint8,address,uint256)"(
|
|
2085
|
+
tokenType?: null,
|
|
2086
|
+
qiToken?: string | null,
|
|
2087
|
+
newSpeed?: null
|
|
2088
|
+
): SpeedUpdatedEventFilter;
|
|
2089
|
+
SpeedUpdated(
|
|
2090
|
+
tokenType?: null,
|
|
2091
|
+
qiToken?: string | null,
|
|
2092
|
+
newSpeed?: null
|
|
2093
|
+
): SpeedUpdatedEventFilter;
|
|
2094
|
+
};
|
|
2095
|
+
|
|
2096
|
+
estimateGas: {
|
|
2097
|
+
_become(
|
|
2098
|
+
unitroller: string,
|
|
2099
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2100
|
+
): Promise<BigNumber>;
|
|
2101
|
+
|
|
2102
|
+
_borrowGuardianPaused(overrides?: CallOverrides): Promise<BigNumber>;
|
|
2103
|
+
|
|
2104
|
+
_grantQi(
|
|
2105
|
+
recipient: string,
|
|
2106
|
+
amount: BigNumberish,
|
|
2107
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2108
|
+
): Promise<BigNumber>;
|
|
2109
|
+
|
|
2110
|
+
_mintGuardianPaused(overrides?: CallOverrides): Promise<BigNumber>;
|
|
2111
|
+
|
|
2112
|
+
_setBorrowCapGuardian(
|
|
2113
|
+
newBorrowCapGuardian: string,
|
|
2114
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2115
|
+
): Promise<BigNumber>;
|
|
2116
|
+
|
|
2117
|
+
_setBorrowPaused(
|
|
2118
|
+
qiToken: string,
|
|
2119
|
+
state: boolean,
|
|
2120
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2121
|
+
): Promise<BigNumber>;
|
|
2122
|
+
|
|
2123
|
+
_setCloseFactor(
|
|
2124
|
+
newCloseFactorMantissa: BigNumberish,
|
|
2125
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2126
|
+
): Promise<BigNumber>;
|
|
2127
|
+
|
|
2128
|
+
_setCollateralFactor(
|
|
2129
|
+
qiToken: string,
|
|
2130
|
+
newCollateralFactorMantissa: BigNumberish,
|
|
2131
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2132
|
+
): Promise<BigNumber>;
|
|
2133
|
+
|
|
2134
|
+
_setLiquidationIncentive(
|
|
2135
|
+
newLiquidationIncentiveMantissa: BigNumberish,
|
|
2136
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2137
|
+
): Promise<BigNumber>;
|
|
2138
|
+
|
|
2139
|
+
_setMarketBorrowCaps(
|
|
2140
|
+
qiTokens: string[],
|
|
2141
|
+
newBorrowCaps: BigNumberish[],
|
|
2142
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2143
|
+
): Promise<BigNumber>;
|
|
2144
|
+
|
|
2145
|
+
_setMintPaused(
|
|
2146
|
+
qiToken: string,
|
|
2147
|
+
state: boolean,
|
|
2148
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2149
|
+
): Promise<BigNumber>;
|
|
2150
|
+
|
|
2151
|
+
_setPauseGuardian(
|
|
2152
|
+
newPauseGuardian: string,
|
|
2153
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2154
|
+
): Promise<BigNumber>;
|
|
2155
|
+
|
|
2156
|
+
_setPriceOracle(
|
|
2157
|
+
newOracle: string,
|
|
2158
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2159
|
+
): Promise<BigNumber>;
|
|
2160
|
+
|
|
2161
|
+
_setRewardSpeed(
|
|
2162
|
+
rewardType: BigNumberish,
|
|
2163
|
+
qiToken: string,
|
|
2164
|
+
rewardSpeed: BigNumberish,
|
|
2165
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2166
|
+
): Promise<BigNumber>;
|
|
2167
|
+
|
|
2168
|
+
_setSeizePaused(
|
|
2169
|
+
state: boolean,
|
|
2170
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2171
|
+
): Promise<BigNumber>;
|
|
2172
|
+
|
|
2173
|
+
_setTransferPaused(
|
|
2174
|
+
state: boolean,
|
|
2175
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2176
|
+
): Promise<BigNumber>;
|
|
2177
|
+
|
|
2178
|
+
_supportMarket(
|
|
2179
|
+
qiToken: string,
|
|
2180
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2181
|
+
): Promise<BigNumber>;
|
|
2182
|
+
|
|
2183
|
+
accountAssets(
|
|
2184
|
+
arg0: string,
|
|
2185
|
+
arg1: BigNumberish,
|
|
2186
|
+
overrides?: CallOverrides
|
|
2187
|
+
): Promise<BigNumber>;
|
|
2188
|
+
|
|
2189
|
+
admin(overrides?: CallOverrides): Promise<BigNumber>;
|
|
2190
|
+
|
|
2191
|
+
allMarkets(
|
|
2192
|
+
arg0: BigNumberish,
|
|
2193
|
+
overrides?: CallOverrides
|
|
2194
|
+
): Promise<BigNumber>;
|
|
2195
|
+
|
|
2196
|
+
borrowAllowed(
|
|
2197
|
+
qiToken: string,
|
|
2198
|
+
borrower: string,
|
|
2199
|
+
borrowAmount: BigNumberish,
|
|
2200
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2201
|
+
): Promise<BigNumber>;
|
|
2202
|
+
|
|
2203
|
+
borrowCapGuardian(overrides?: CallOverrides): Promise<BigNumber>;
|
|
2204
|
+
|
|
2205
|
+
borrowCaps(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
2206
|
+
|
|
2207
|
+
borrowGuardianPaused(
|
|
2208
|
+
arg0: string,
|
|
2209
|
+
overrides?: CallOverrides
|
|
2210
|
+
): Promise<BigNumber>;
|
|
2211
|
+
|
|
2212
|
+
borrowVerify(
|
|
2213
|
+
qiToken: string,
|
|
2214
|
+
borrower: string,
|
|
2215
|
+
borrowAmount: BigNumberish,
|
|
2216
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2217
|
+
): Promise<BigNumber>;
|
|
2218
|
+
|
|
2219
|
+
checkMembership(
|
|
2220
|
+
account: string,
|
|
2221
|
+
qiToken: string,
|
|
2222
|
+
overrides?: CallOverrides
|
|
2223
|
+
): Promise<BigNumber>;
|
|
2224
|
+
|
|
2225
|
+
"claimReward(uint8,address)"(
|
|
2226
|
+
rewardType: BigNumberish,
|
|
2227
|
+
holder: string,
|
|
2228
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2229
|
+
): Promise<BigNumber>;
|
|
2230
|
+
|
|
2231
|
+
"claimReward(uint8,address,address[])"(
|
|
2232
|
+
rewardType: BigNumberish,
|
|
2233
|
+
holder: string,
|
|
2234
|
+
qiTokens: string[],
|
|
2235
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2236
|
+
): Promise<BigNumber>;
|
|
2237
|
+
|
|
2238
|
+
"claimReward(uint8,address[],address[],bool,bool)"(
|
|
2239
|
+
rewardType: BigNumberish,
|
|
2240
|
+
holders: string[],
|
|
2241
|
+
qiTokens: string[],
|
|
2242
|
+
borrowers: boolean,
|
|
2243
|
+
suppliers: boolean,
|
|
2244
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
2245
|
+
): Promise<BigNumber>;
|
|
2246
|
+
|
|
2247
|
+
closeFactorMantissa(overrides?: CallOverrides): Promise<BigNumber>;
|
|
2248
|
+
|
|
2249
|
+
comptrollerImplementation(overrides?: CallOverrides): Promise<BigNumber>;
|
|
2250
|
+
|
|
2251
|
+
enterMarkets(
|
|
2252
|
+
qiTokens: string[],
|
|
2253
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2254
|
+
): Promise<BigNumber>;
|
|
2255
|
+
|
|
2256
|
+
exitMarket(
|
|
2257
|
+
qiTokenAddress: string,
|
|
2258
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2259
|
+
): Promise<BigNumber>;
|
|
2260
|
+
|
|
2261
|
+
getAccountLiquidity(
|
|
2262
|
+
account: string,
|
|
2263
|
+
overrides?: CallOverrides
|
|
2264
|
+
): Promise<BigNumber>;
|
|
2265
|
+
|
|
2266
|
+
getAllMarkets(overrides?: CallOverrides): Promise<BigNumber>;
|
|
2267
|
+
|
|
2268
|
+
getAssetsIn(account: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
2269
|
+
|
|
2270
|
+
getBlockTimestamp(overrides?: CallOverrides): Promise<BigNumber>;
|
|
2271
|
+
|
|
2272
|
+
getHypotheticalAccountLiquidity(
|
|
2273
|
+
account: string,
|
|
2274
|
+
qiTokenModify: string,
|
|
2275
|
+
redeemTokens: BigNumberish,
|
|
2276
|
+
borrowAmount: BigNumberish,
|
|
2277
|
+
overrides?: CallOverrides
|
|
2278
|
+
): Promise<BigNumber>;
|
|
2279
|
+
|
|
2280
|
+
initialIndexConstant(overrides?: CallOverrides): Promise<BigNumber>;
|
|
2281
|
+
|
|
2282
|
+
isComptroller(overrides?: CallOverrides): Promise<BigNumber>;
|
|
2283
|
+
|
|
2284
|
+
liquidateBorrowAllowed(
|
|
2285
|
+
qiTokenBorrowed: string,
|
|
2286
|
+
qiTokenCollateral: string,
|
|
2287
|
+
liquidator: string,
|
|
2288
|
+
borrower: string,
|
|
2289
|
+
repayAmount: BigNumberish,
|
|
2290
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2291
|
+
): Promise<BigNumber>;
|
|
2292
|
+
|
|
2293
|
+
liquidateBorrowVerify(
|
|
2294
|
+
qiTokenBorrowed: string,
|
|
2295
|
+
qiTokenCollateral: string,
|
|
2296
|
+
liquidator: string,
|
|
2297
|
+
borrower: string,
|
|
2298
|
+
actualRepayAmount: BigNumberish,
|
|
2299
|
+
seizeTokens: BigNumberish,
|
|
2300
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2301
|
+
): Promise<BigNumber>;
|
|
2302
|
+
|
|
2303
|
+
liquidateCalculateSeizeTokens(
|
|
2304
|
+
qiTokenBorrowed: string,
|
|
2305
|
+
qiTokenCollateral: string,
|
|
2306
|
+
actualRepayAmount: BigNumberish,
|
|
2307
|
+
overrides?: CallOverrides
|
|
2308
|
+
): Promise<BigNumber>;
|
|
2309
|
+
|
|
2310
|
+
liquidationIncentiveMantissa(overrides?: CallOverrides): Promise<BigNumber>;
|
|
2311
|
+
|
|
2312
|
+
markets(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
2313
|
+
|
|
2314
|
+
maxAssets(overrides?: CallOverrides): Promise<BigNumber>;
|
|
2315
|
+
|
|
2316
|
+
mintAllowed(
|
|
2317
|
+
qiToken: string,
|
|
2318
|
+
minter: string,
|
|
2319
|
+
mintAmount: BigNumberish,
|
|
2320
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2321
|
+
): Promise<BigNumber>;
|
|
2322
|
+
|
|
2323
|
+
mintGuardianPaused(
|
|
2324
|
+
arg0: string,
|
|
2325
|
+
overrides?: CallOverrides
|
|
2326
|
+
): Promise<BigNumber>;
|
|
2327
|
+
|
|
2328
|
+
mintVerify(
|
|
2329
|
+
qiToken: string,
|
|
2330
|
+
minter: string,
|
|
2331
|
+
actualMintAmount: BigNumberish,
|
|
2332
|
+
mintTokens: BigNumberish,
|
|
2333
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2334
|
+
): Promise<BigNumber>;
|
|
2335
|
+
|
|
2336
|
+
oracle(overrides?: CallOverrides): Promise<BigNumber>;
|
|
2337
|
+
|
|
2338
|
+
pauseGuardian(overrides?: CallOverrides): Promise<BigNumber>;
|
|
2339
|
+
|
|
2340
|
+
pendingAdmin(overrides?: CallOverrides): Promise<BigNumber>;
|
|
2341
|
+
|
|
2342
|
+
pendingComptrollerImplementation(
|
|
2343
|
+
overrides?: CallOverrides
|
|
2344
|
+
): Promise<BigNumber>;
|
|
2345
|
+
|
|
2346
|
+
qiAddress(overrides?: CallOverrides): Promise<BigNumber>;
|
|
2347
|
+
|
|
2348
|
+
redeemAllowed(
|
|
2349
|
+
qiToken: string,
|
|
2350
|
+
redeemer: string,
|
|
2351
|
+
redeemTokens: BigNumberish,
|
|
2352
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2353
|
+
): Promise<BigNumber>;
|
|
2354
|
+
|
|
2355
|
+
redeemVerify(
|
|
2356
|
+
qiToken: string,
|
|
2357
|
+
redeemer: string,
|
|
2358
|
+
redeemAmount: BigNumberish,
|
|
2359
|
+
redeemTokens: BigNumberish,
|
|
2360
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2361
|
+
): Promise<BigNumber>;
|
|
2362
|
+
|
|
2363
|
+
repayBorrowAllowed(
|
|
2364
|
+
qiToken: string,
|
|
2365
|
+
payer: string,
|
|
2366
|
+
borrower: string,
|
|
2367
|
+
repayAmount: BigNumberish,
|
|
2368
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2369
|
+
): Promise<BigNumber>;
|
|
2370
|
+
|
|
2371
|
+
repayBorrowVerify(
|
|
2372
|
+
qiToken: string,
|
|
2373
|
+
payer: string,
|
|
2374
|
+
borrower: string,
|
|
2375
|
+
actualRepayAmount: BigNumberish,
|
|
2376
|
+
borrowerIndex: BigNumberish,
|
|
2377
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2378
|
+
): Promise<BigNumber>;
|
|
2379
|
+
|
|
2380
|
+
rewardAccrued(
|
|
2381
|
+
arg0: BigNumberish,
|
|
2382
|
+
arg1: string,
|
|
2383
|
+
overrides?: CallOverrides
|
|
2384
|
+
): Promise<BigNumber>;
|
|
2385
|
+
|
|
2386
|
+
rewardAvax(overrides?: CallOverrides): Promise<BigNumber>;
|
|
2387
|
+
|
|
2388
|
+
rewardBorrowState(
|
|
2389
|
+
arg0: BigNumberish,
|
|
2390
|
+
arg1: string,
|
|
2391
|
+
overrides?: CallOverrides
|
|
2392
|
+
): Promise<BigNumber>;
|
|
2393
|
+
|
|
2394
|
+
rewardBorrowerIndex(
|
|
2395
|
+
arg0: BigNumberish,
|
|
2396
|
+
arg1: string,
|
|
2397
|
+
arg2: string,
|
|
2398
|
+
overrides?: CallOverrides
|
|
2399
|
+
): Promise<BigNumber>;
|
|
2400
|
+
|
|
2401
|
+
rewardQi(overrides?: CallOverrides): Promise<BigNumber>;
|
|
2402
|
+
|
|
2403
|
+
rewardSpeeds(
|
|
2404
|
+
arg0: BigNumberish,
|
|
2405
|
+
arg1: string,
|
|
2406
|
+
overrides?: CallOverrides
|
|
2407
|
+
): Promise<BigNumber>;
|
|
2408
|
+
|
|
2409
|
+
rewardSupplierIndex(
|
|
2410
|
+
arg0: BigNumberish,
|
|
2411
|
+
arg1: string,
|
|
2412
|
+
arg2: string,
|
|
2413
|
+
overrides?: CallOverrides
|
|
2414
|
+
): Promise<BigNumber>;
|
|
2415
|
+
|
|
2416
|
+
rewardSupplyState(
|
|
2417
|
+
arg0: BigNumberish,
|
|
2418
|
+
arg1: string,
|
|
2419
|
+
overrides?: CallOverrides
|
|
2420
|
+
): Promise<BigNumber>;
|
|
2421
|
+
|
|
2422
|
+
seizeAllowed(
|
|
2423
|
+
qiTokenCollateral: string,
|
|
2424
|
+
qiTokenBorrowed: string,
|
|
2425
|
+
liquidator: string,
|
|
2426
|
+
borrower: string,
|
|
2427
|
+
seizeTokens: BigNumberish,
|
|
2428
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2429
|
+
): Promise<BigNumber>;
|
|
2430
|
+
|
|
2431
|
+
seizeGuardianPaused(overrides?: CallOverrides): Promise<BigNumber>;
|
|
2432
|
+
|
|
2433
|
+
seizeVerify(
|
|
2434
|
+
qiTokenCollateral: string,
|
|
2435
|
+
qiTokenBorrowed: string,
|
|
2436
|
+
liquidator: string,
|
|
2437
|
+
borrower: string,
|
|
2438
|
+
seizeTokens: BigNumberish,
|
|
2439
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2440
|
+
): Promise<BigNumber>;
|
|
2441
|
+
|
|
2442
|
+
setQiAddress(
|
|
2443
|
+
newQiAddress: string,
|
|
2444
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2445
|
+
): Promise<BigNumber>;
|
|
2446
|
+
|
|
2447
|
+
transferAllowed(
|
|
2448
|
+
qiToken: string,
|
|
2449
|
+
src: string,
|
|
2450
|
+
dst: string,
|
|
2451
|
+
transferTokens: BigNumberish,
|
|
2452
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2453
|
+
): Promise<BigNumber>;
|
|
2454
|
+
|
|
2455
|
+
transferGuardianPaused(overrides?: CallOverrides): Promise<BigNumber>;
|
|
2456
|
+
|
|
2457
|
+
transferVerify(
|
|
2458
|
+
qiToken: string,
|
|
2459
|
+
src: string,
|
|
2460
|
+
dst: string,
|
|
2461
|
+
transferTokens: BigNumberish,
|
|
2462
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2463
|
+
): Promise<BigNumber>;
|
|
2464
|
+
};
|
|
2465
|
+
|
|
2466
|
+
populateTransaction: {
|
|
2467
|
+
_become(
|
|
2468
|
+
unitroller: string,
|
|
2469
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2470
|
+
): Promise<PopulatedTransaction>;
|
|
2471
|
+
|
|
2472
|
+
_borrowGuardianPaused(
|
|
2473
|
+
overrides?: CallOverrides
|
|
2474
|
+
): Promise<PopulatedTransaction>;
|
|
2475
|
+
|
|
2476
|
+
_grantQi(
|
|
2477
|
+
recipient: string,
|
|
2478
|
+
amount: BigNumberish,
|
|
2479
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2480
|
+
): Promise<PopulatedTransaction>;
|
|
2481
|
+
|
|
2482
|
+
_mintGuardianPaused(
|
|
2483
|
+
overrides?: CallOverrides
|
|
2484
|
+
): Promise<PopulatedTransaction>;
|
|
2485
|
+
|
|
2486
|
+
_setBorrowCapGuardian(
|
|
2487
|
+
newBorrowCapGuardian: string,
|
|
2488
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2489
|
+
): Promise<PopulatedTransaction>;
|
|
2490
|
+
|
|
2491
|
+
_setBorrowPaused(
|
|
2492
|
+
qiToken: string,
|
|
2493
|
+
state: boolean,
|
|
2494
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2495
|
+
): Promise<PopulatedTransaction>;
|
|
2496
|
+
|
|
2497
|
+
_setCloseFactor(
|
|
2498
|
+
newCloseFactorMantissa: BigNumberish,
|
|
2499
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2500
|
+
): Promise<PopulatedTransaction>;
|
|
2501
|
+
|
|
2502
|
+
_setCollateralFactor(
|
|
2503
|
+
qiToken: string,
|
|
2504
|
+
newCollateralFactorMantissa: BigNumberish,
|
|
2505
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2506
|
+
): Promise<PopulatedTransaction>;
|
|
2507
|
+
|
|
2508
|
+
_setLiquidationIncentive(
|
|
2509
|
+
newLiquidationIncentiveMantissa: BigNumberish,
|
|
2510
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2511
|
+
): Promise<PopulatedTransaction>;
|
|
2512
|
+
|
|
2513
|
+
_setMarketBorrowCaps(
|
|
2514
|
+
qiTokens: string[],
|
|
2515
|
+
newBorrowCaps: BigNumberish[],
|
|
2516
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2517
|
+
): Promise<PopulatedTransaction>;
|
|
2518
|
+
|
|
2519
|
+
_setMintPaused(
|
|
2520
|
+
qiToken: string,
|
|
2521
|
+
state: boolean,
|
|
2522
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2523
|
+
): Promise<PopulatedTransaction>;
|
|
2524
|
+
|
|
2525
|
+
_setPauseGuardian(
|
|
2526
|
+
newPauseGuardian: string,
|
|
2527
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2528
|
+
): Promise<PopulatedTransaction>;
|
|
2529
|
+
|
|
2530
|
+
_setPriceOracle(
|
|
2531
|
+
newOracle: string,
|
|
2532
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2533
|
+
): Promise<PopulatedTransaction>;
|
|
2534
|
+
|
|
2535
|
+
_setRewardSpeed(
|
|
2536
|
+
rewardType: BigNumberish,
|
|
2537
|
+
qiToken: string,
|
|
2538
|
+
rewardSpeed: BigNumberish,
|
|
2539
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2540
|
+
): Promise<PopulatedTransaction>;
|
|
2541
|
+
|
|
2542
|
+
_setSeizePaused(
|
|
2543
|
+
state: boolean,
|
|
2544
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2545
|
+
): Promise<PopulatedTransaction>;
|
|
2546
|
+
|
|
2547
|
+
_setTransferPaused(
|
|
2548
|
+
state: boolean,
|
|
2549
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2550
|
+
): Promise<PopulatedTransaction>;
|
|
2551
|
+
|
|
2552
|
+
_supportMarket(
|
|
2553
|
+
qiToken: string,
|
|
2554
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2555
|
+
): Promise<PopulatedTransaction>;
|
|
2556
|
+
|
|
2557
|
+
accountAssets(
|
|
2558
|
+
arg0: string,
|
|
2559
|
+
arg1: BigNumberish,
|
|
2560
|
+
overrides?: CallOverrides
|
|
2561
|
+
): Promise<PopulatedTransaction>;
|
|
2562
|
+
|
|
2563
|
+
admin(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
2564
|
+
|
|
2565
|
+
allMarkets(
|
|
2566
|
+
arg0: BigNumberish,
|
|
2567
|
+
overrides?: CallOverrides
|
|
2568
|
+
): Promise<PopulatedTransaction>;
|
|
2569
|
+
|
|
2570
|
+
borrowAllowed(
|
|
2571
|
+
qiToken: string,
|
|
2572
|
+
borrower: string,
|
|
2573
|
+
borrowAmount: BigNumberish,
|
|
2574
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2575
|
+
): Promise<PopulatedTransaction>;
|
|
2576
|
+
|
|
2577
|
+
borrowCapGuardian(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
2578
|
+
|
|
2579
|
+
borrowCaps(
|
|
2580
|
+
arg0: string,
|
|
2581
|
+
overrides?: CallOverrides
|
|
2582
|
+
): Promise<PopulatedTransaction>;
|
|
2583
|
+
|
|
2584
|
+
borrowGuardianPaused(
|
|
2585
|
+
arg0: string,
|
|
2586
|
+
overrides?: CallOverrides
|
|
2587
|
+
): Promise<PopulatedTransaction>;
|
|
2588
|
+
|
|
2589
|
+
borrowVerify(
|
|
2590
|
+
qiToken: string,
|
|
2591
|
+
borrower: string,
|
|
2592
|
+
borrowAmount: BigNumberish,
|
|
2593
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2594
|
+
): Promise<PopulatedTransaction>;
|
|
2595
|
+
|
|
2596
|
+
checkMembership(
|
|
2597
|
+
account: string,
|
|
2598
|
+
qiToken: string,
|
|
2599
|
+
overrides?: CallOverrides
|
|
2600
|
+
): Promise<PopulatedTransaction>;
|
|
2601
|
+
|
|
2602
|
+
"claimReward(uint8,address)"(
|
|
2603
|
+
rewardType: BigNumberish,
|
|
2604
|
+
holder: string,
|
|
2605
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2606
|
+
): Promise<PopulatedTransaction>;
|
|
2607
|
+
|
|
2608
|
+
"claimReward(uint8,address,address[])"(
|
|
2609
|
+
rewardType: BigNumberish,
|
|
2610
|
+
holder: string,
|
|
2611
|
+
qiTokens: string[],
|
|
2612
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2613
|
+
): Promise<PopulatedTransaction>;
|
|
2614
|
+
|
|
2615
|
+
"claimReward(uint8,address[],address[],bool,bool)"(
|
|
2616
|
+
rewardType: BigNumberish,
|
|
2617
|
+
holders: string[],
|
|
2618
|
+
qiTokens: string[],
|
|
2619
|
+
borrowers: boolean,
|
|
2620
|
+
suppliers: boolean,
|
|
2621
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
2622
|
+
): Promise<PopulatedTransaction>;
|
|
2623
|
+
|
|
2624
|
+
closeFactorMantissa(
|
|
2625
|
+
overrides?: CallOverrides
|
|
2626
|
+
): Promise<PopulatedTransaction>;
|
|
2627
|
+
|
|
2628
|
+
comptrollerImplementation(
|
|
2629
|
+
overrides?: CallOverrides
|
|
2630
|
+
): Promise<PopulatedTransaction>;
|
|
2631
|
+
|
|
2632
|
+
enterMarkets(
|
|
2633
|
+
qiTokens: string[],
|
|
2634
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2635
|
+
): Promise<PopulatedTransaction>;
|
|
2636
|
+
|
|
2637
|
+
exitMarket(
|
|
2638
|
+
qiTokenAddress: string,
|
|
2639
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2640
|
+
): Promise<PopulatedTransaction>;
|
|
2641
|
+
|
|
2642
|
+
getAccountLiquidity(
|
|
2643
|
+
account: string,
|
|
2644
|
+
overrides?: CallOverrides
|
|
2645
|
+
): Promise<PopulatedTransaction>;
|
|
2646
|
+
|
|
2647
|
+
getAllMarkets(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
2648
|
+
|
|
2649
|
+
getAssetsIn(
|
|
2650
|
+
account: string,
|
|
2651
|
+
overrides?: CallOverrides
|
|
2652
|
+
): Promise<PopulatedTransaction>;
|
|
2653
|
+
|
|
2654
|
+
getBlockTimestamp(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
2655
|
+
|
|
2656
|
+
getHypotheticalAccountLiquidity(
|
|
2657
|
+
account: string,
|
|
2658
|
+
qiTokenModify: string,
|
|
2659
|
+
redeemTokens: BigNumberish,
|
|
2660
|
+
borrowAmount: BigNumberish,
|
|
2661
|
+
overrides?: CallOverrides
|
|
2662
|
+
): Promise<PopulatedTransaction>;
|
|
2663
|
+
|
|
2664
|
+
initialIndexConstant(
|
|
2665
|
+
overrides?: CallOverrides
|
|
2666
|
+
): Promise<PopulatedTransaction>;
|
|
2667
|
+
|
|
2668
|
+
isComptroller(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
2669
|
+
|
|
2670
|
+
liquidateBorrowAllowed(
|
|
2671
|
+
qiTokenBorrowed: string,
|
|
2672
|
+
qiTokenCollateral: string,
|
|
2673
|
+
liquidator: string,
|
|
2674
|
+
borrower: string,
|
|
2675
|
+
repayAmount: BigNumberish,
|
|
2676
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2677
|
+
): Promise<PopulatedTransaction>;
|
|
2678
|
+
|
|
2679
|
+
liquidateBorrowVerify(
|
|
2680
|
+
qiTokenBorrowed: string,
|
|
2681
|
+
qiTokenCollateral: string,
|
|
2682
|
+
liquidator: string,
|
|
2683
|
+
borrower: string,
|
|
2684
|
+
actualRepayAmount: BigNumberish,
|
|
2685
|
+
seizeTokens: BigNumberish,
|
|
2686
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2687
|
+
): Promise<PopulatedTransaction>;
|
|
2688
|
+
|
|
2689
|
+
liquidateCalculateSeizeTokens(
|
|
2690
|
+
qiTokenBorrowed: string,
|
|
2691
|
+
qiTokenCollateral: string,
|
|
2692
|
+
actualRepayAmount: BigNumberish,
|
|
2693
|
+
overrides?: CallOverrides
|
|
2694
|
+
): Promise<PopulatedTransaction>;
|
|
2695
|
+
|
|
2696
|
+
liquidationIncentiveMantissa(
|
|
2697
|
+
overrides?: CallOverrides
|
|
2698
|
+
): Promise<PopulatedTransaction>;
|
|
2699
|
+
|
|
2700
|
+
markets(
|
|
2701
|
+
arg0: string,
|
|
2702
|
+
overrides?: CallOverrides
|
|
2703
|
+
): Promise<PopulatedTransaction>;
|
|
2704
|
+
|
|
2705
|
+
maxAssets(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
2706
|
+
|
|
2707
|
+
mintAllowed(
|
|
2708
|
+
qiToken: string,
|
|
2709
|
+
minter: string,
|
|
2710
|
+
mintAmount: BigNumberish,
|
|
2711
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2712
|
+
): Promise<PopulatedTransaction>;
|
|
2713
|
+
|
|
2714
|
+
mintGuardianPaused(
|
|
2715
|
+
arg0: string,
|
|
2716
|
+
overrides?: CallOverrides
|
|
2717
|
+
): Promise<PopulatedTransaction>;
|
|
2718
|
+
|
|
2719
|
+
mintVerify(
|
|
2720
|
+
qiToken: string,
|
|
2721
|
+
minter: string,
|
|
2722
|
+
actualMintAmount: BigNumberish,
|
|
2723
|
+
mintTokens: BigNumberish,
|
|
2724
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2725
|
+
): Promise<PopulatedTransaction>;
|
|
2726
|
+
|
|
2727
|
+
oracle(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
2728
|
+
|
|
2729
|
+
pauseGuardian(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
2730
|
+
|
|
2731
|
+
pendingAdmin(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
2732
|
+
|
|
2733
|
+
pendingComptrollerImplementation(
|
|
2734
|
+
overrides?: CallOverrides
|
|
2735
|
+
): Promise<PopulatedTransaction>;
|
|
2736
|
+
|
|
2737
|
+
qiAddress(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
2738
|
+
|
|
2739
|
+
redeemAllowed(
|
|
2740
|
+
qiToken: string,
|
|
2741
|
+
redeemer: string,
|
|
2742
|
+
redeemTokens: BigNumberish,
|
|
2743
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2744
|
+
): Promise<PopulatedTransaction>;
|
|
2745
|
+
|
|
2746
|
+
redeemVerify(
|
|
2747
|
+
qiToken: string,
|
|
2748
|
+
redeemer: string,
|
|
2749
|
+
redeemAmount: BigNumberish,
|
|
2750
|
+
redeemTokens: BigNumberish,
|
|
2751
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2752
|
+
): Promise<PopulatedTransaction>;
|
|
2753
|
+
|
|
2754
|
+
repayBorrowAllowed(
|
|
2755
|
+
qiToken: string,
|
|
2756
|
+
payer: string,
|
|
2757
|
+
borrower: string,
|
|
2758
|
+
repayAmount: BigNumberish,
|
|
2759
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2760
|
+
): Promise<PopulatedTransaction>;
|
|
2761
|
+
|
|
2762
|
+
repayBorrowVerify(
|
|
2763
|
+
qiToken: string,
|
|
2764
|
+
payer: string,
|
|
2765
|
+
borrower: string,
|
|
2766
|
+
actualRepayAmount: BigNumberish,
|
|
2767
|
+
borrowerIndex: BigNumberish,
|
|
2768
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2769
|
+
): Promise<PopulatedTransaction>;
|
|
2770
|
+
|
|
2771
|
+
rewardAccrued(
|
|
2772
|
+
arg0: BigNumberish,
|
|
2773
|
+
arg1: string,
|
|
2774
|
+
overrides?: CallOverrides
|
|
2775
|
+
): Promise<PopulatedTransaction>;
|
|
2776
|
+
|
|
2777
|
+
rewardAvax(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
2778
|
+
|
|
2779
|
+
rewardBorrowState(
|
|
2780
|
+
arg0: BigNumberish,
|
|
2781
|
+
arg1: string,
|
|
2782
|
+
overrides?: CallOverrides
|
|
2783
|
+
): Promise<PopulatedTransaction>;
|
|
2784
|
+
|
|
2785
|
+
rewardBorrowerIndex(
|
|
2786
|
+
arg0: BigNumberish,
|
|
2787
|
+
arg1: string,
|
|
2788
|
+
arg2: string,
|
|
2789
|
+
overrides?: CallOverrides
|
|
2790
|
+
): Promise<PopulatedTransaction>;
|
|
2791
|
+
|
|
2792
|
+
rewardQi(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
2793
|
+
|
|
2794
|
+
rewardSpeeds(
|
|
2795
|
+
arg0: BigNumberish,
|
|
2796
|
+
arg1: string,
|
|
2797
|
+
overrides?: CallOverrides
|
|
2798
|
+
): Promise<PopulatedTransaction>;
|
|
2799
|
+
|
|
2800
|
+
rewardSupplierIndex(
|
|
2801
|
+
arg0: BigNumberish,
|
|
2802
|
+
arg1: string,
|
|
2803
|
+
arg2: string,
|
|
2804
|
+
overrides?: CallOverrides
|
|
2805
|
+
): Promise<PopulatedTransaction>;
|
|
2806
|
+
|
|
2807
|
+
rewardSupplyState(
|
|
2808
|
+
arg0: BigNumberish,
|
|
2809
|
+
arg1: string,
|
|
2810
|
+
overrides?: CallOverrides
|
|
2811
|
+
): Promise<PopulatedTransaction>;
|
|
2812
|
+
|
|
2813
|
+
seizeAllowed(
|
|
2814
|
+
qiTokenCollateral: string,
|
|
2815
|
+
qiTokenBorrowed: string,
|
|
2816
|
+
liquidator: string,
|
|
2817
|
+
borrower: string,
|
|
2818
|
+
seizeTokens: BigNumberish,
|
|
2819
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2820
|
+
): Promise<PopulatedTransaction>;
|
|
2821
|
+
|
|
2822
|
+
seizeGuardianPaused(
|
|
2823
|
+
overrides?: CallOverrides
|
|
2824
|
+
): Promise<PopulatedTransaction>;
|
|
2825
|
+
|
|
2826
|
+
seizeVerify(
|
|
2827
|
+
qiTokenCollateral: string,
|
|
2828
|
+
qiTokenBorrowed: string,
|
|
2829
|
+
liquidator: string,
|
|
2830
|
+
borrower: string,
|
|
2831
|
+
seizeTokens: BigNumberish,
|
|
2832
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2833
|
+
): Promise<PopulatedTransaction>;
|
|
2834
|
+
|
|
2835
|
+
setQiAddress(
|
|
2836
|
+
newQiAddress: string,
|
|
2837
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2838
|
+
): Promise<PopulatedTransaction>;
|
|
2839
|
+
|
|
2840
|
+
transferAllowed(
|
|
2841
|
+
qiToken: string,
|
|
2842
|
+
src: string,
|
|
2843
|
+
dst: string,
|
|
2844
|
+
transferTokens: BigNumberish,
|
|
2845
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2846
|
+
): Promise<PopulatedTransaction>;
|
|
2847
|
+
|
|
2848
|
+
transferGuardianPaused(
|
|
2849
|
+
overrides?: CallOverrides
|
|
2850
|
+
): Promise<PopulatedTransaction>;
|
|
2851
|
+
|
|
2852
|
+
transferVerify(
|
|
2853
|
+
qiToken: string,
|
|
2854
|
+
src: string,
|
|
2855
|
+
dst: string,
|
|
2856
|
+
transferTokens: BigNumberish,
|
|
2857
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2858
|
+
): Promise<PopulatedTransaction>;
|
|
2859
|
+
};
|
|
2860
|
+
}
|