@pendle/core-v2 0.6.4 → 0.6.5

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