@pendle/core-v2 0.6.5 → 0.6.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (430) 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 +13 -0
  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 +13 -0
  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 +13 -0
  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 +56 -51
  14. package/build/artifacts/contracts/core/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  15. package/build/artifacts/contracts/core/PendleMarketFactory.sol/PendleMarketFactory.json +30 -4
  16. package/build/artifacts/contracts/core/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +4 -0
  17. package/build/artifacts/contracts/core/PendlePrincipalToken.sol/PendlePrincipalToken.json +452 -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 +20 -2
  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 +21 -16
  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 +21 -16
  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 +23 -18
  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 +22 -17
  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 +628 -12
  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 +128 -92
  41. package/build/artifacts/contracts/core/actions/ActionRedeem.sol/ActionRedeem.dbg.json +4 -0
  42. package/build/artifacts/contracts/core/actions/ActionRedeem.sol/{PendleRouterRedeemUpg.json → ActionRedeem.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 +105 -69
  45. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.dbg.json +4 -0
  46. package/build/artifacts/contracts/core/actions/base/{ActionSCYAndOTBase.sol/ActionSCYAndOTBase.json → ActionSCYAndPTBase.sol/ActionSCYAndPTBase.json} +2 -2
  47. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.dbg.json +4 -0
  48. package/build/artifacts/contracts/core/actions/base/{ActionSCYAndYOBase.sol/ActionSCYAndYOBase.json → ActionSCYAndPYBase.sol/ActionSCYAndPYBase.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 +114 -78
  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 +90 -54
  63. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +210 -138
  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/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +4 -0
  77. package/build/artifacts/contracts/interfaces/{IPOwnershipToken.sol/IPOwnershipToken.json → IPPrincipalToken.sol/IPPrincipalToken.json} +2 -2
  78. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +626 -10
  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/IPendleGauge.sol/IPendleGauge.dbg.json +4 -0
  85. package/build/artifacts/contracts/interfaces/IPendleGauge.sol/IPendleGauge.json +113 -0
  86. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IVePToken.sol/IVePToken.dbg.json +4 -0
  90. package/build/artifacts/contracts/interfaces/IVePToken.sol/IVePToken.json +43 -0
  91. package/build/artifacts/contracts/interfaces/IVotingEscrowController.sol/VotingEscrowController.dbg.json +4 -0
  92. package/build/artifacts/contracts/interfaces/IVotingEscrowController.sol/VotingEscrowController.json +61 -0
  93. package/build/artifacts/contracts/interfaces/IVotingEscrowPendle.sol/IVotingEscrowPendle.dbg.json +4 -0
  94. package/build/artifacts/contracts/interfaces/IVotingEscrowPendle.sol/IVotingEscrowPendle.json +167 -0
  95. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +1 -1
  99. package/build/artifacts/contracts/libraries/JoeLibrary.sol/JoeLibrary.dbg.json +1 -1
  100. package/build/artifacts/contracts/libraries/JoeLibrary.sol/JoeLibrary.json +2 -2
  101. package/build/artifacts/contracts/libraries/SCYIndex.sol/SCYIndexLib.dbg.json +1 -1
  102. package/build/artifacts/contracts/libraries/SCYIndex.sol/SCYIndexLib.json +2 -2
  103. package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  104. package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  105. package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.json +2 -2
  106. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.dbg.json +1 -1
  107. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.json +2 -2
  108. package/build/artifacts/contracts/libraries/math/MarketMathAux.sol/MarketMathAux.dbg.json +1 -1
  109. package/build/artifacts/contracts/libraries/math/MarketMathAux.sol/MarketMathAux.json +2 -2
  110. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  111. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.json +2 -2
  112. package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +1 -1
  113. package/build/artifacts/contracts/libraries/math/Math.sol/Math.json +2 -2
  114. package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.dbg.json +1 -1
  115. package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.json +3 -3
  116. package/build/artifacts/contracts/periphery/PendleJoeSwapHelperUpg.sol/PendleJoeSwapHelperUpg.dbg.json +1 -1
  117. package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +1 -1
  118. package/contracts/interfaces/IPendleGauge.sol +32 -0
  119. package/contracts/interfaces/IVePToken.sol +14 -0
  120. package/contracts/interfaces/IVotingEscrowController.sol +14 -0
  121. package/contracts/interfaces/IVotingEscrowPendle.sol +32 -0
  122. package/contracts/libraries/math/MarketApproxLib.sol +1 -1
  123. package/package.json +1 -1
  124. package/typechain-types/ActionCallback.ts +5 -5
  125. package/typechain-types/ActionCore.ts +232 -280
  126. package/typechain-types/{PendleRouterRedeemUpg.ts → ActionRedeem.ts} +5 -5
  127. package/typechain-types/{ActionSCYAndYOBase.ts → ActionSCYAndPYBase.ts} +54 -54
  128. package/typechain-types/ActionSCYAndYTBase.ts +49 -49
  129. package/typechain-types/ActionYT.ts +92 -140
  130. package/typechain-types/IPActionCore.ts +183 -231
  131. package/typechain-types/IPActionYT.ts +43 -91
  132. package/typechain-types/IPAllAction.ts +204 -322
  133. package/typechain-types/IPMarket.ts +55 -55
  134. package/typechain-types/IPMarketAddRemoveCallback.ts +10 -10
  135. package/typechain-types/IPMarketFactory.ts +3 -3
  136. package/typechain-types/IPMarketSwapCallback.ts +5 -5
  137. package/typechain-types/{IPOwnershipToken.ts → IPPrincipalToken.ts} +5 -5
  138. package/typechain-types/IPRouterStatic.ts +529 -49
  139. package/typechain-types/IPYieldContractFactory.ts +19 -19
  140. package/typechain-types/IPYieldToken.ts +29 -29
  141. package/typechain-types/IPendleGauge.ts +241 -0
  142. package/typechain-types/ISuperComposableYield.ts +13 -0
  143. package/typechain-types/{IVEPendleToken.ts → IVePToken.ts} +16 -34
  144. package/typechain-types/IVotingEscrowPendle.ts +297 -0
  145. package/typechain-types/PendleAaveV3SCY.ts +13 -0
  146. package/typechain-types/PendleBaseToken.ts +1 -1
  147. package/typechain-types/PendleBenQiErc20SCY.ts +14 -20
  148. package/typechain-types/PendleBtrflyScy.ts +14 -20
  149. package/typechain-types/PendleGovernanceManager.ts +5 -5
  150. package/typechain-types/PendleMarket.ts +102 -105
  151. package/typechain-types/PendleMarketFactory.ts +48 -8
  152. package/typechain-types/{PendleOwnershipToken.ts → PendlePrincipalToken.ts} +15 -6
  153. package/typechain-types/PendleStEthSCY.ts +15 -23
  154. package/typechain-types/PendleYearnVaultScy.ts +15 -23
  155. package/typechain-types/PendleYieldContractFactory.ts +28 -28
  156. package/typechain-types/PendleYieldToken.ts +30 -30
  157. package/typechain-types/RouterStatic.ts +529 -49
  158. package/typechain-types/SCYBase.ts +13 -0
  159. package/typechain-types/SCYBaseWithRewards.ts +13 -0
  160. package/typechain-types/{IPRouterRedeem.ts → VotingEscrowController.ts} +55 -56
  161. package/typechain-types/factories/ActionCallback__factory.ts +2 -2
  162. package/typechain-types/factories/ActionCore__factory.ts +127 -91
  163. package/typechain-types/factories/{PendleRouterRedeemUpg__factory.ts → ActionRedeem__factory.ts} +19 -26
  164. package/typechain-types/factories/{ActionSCYAndYOBase__factory.ts → ActionSCYAndPYBase__factory.ts} +20 -20
  165. package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +12 -12
  166. package/typechain-types/factories/ActionYT__factory.ts +104 -68
  167. package/typechain-types/factories/IPActionCore__factory.ts +114 -78
  168. package/typechain-types/factories/IPActionYT__factory.ts +90 -54
  169. package/typechain-types/factories/IPAllAction__factory.ts +210 -138
  170. package/typechain-types/factories/IPMarketAddRemoveCallback__factory.ts +2 -2
  171. package/typechain-types/factories/IPMarketFactory__factory.ts +1 -1
  172. package/typechain-types/factories/IPMarketSwapCallback__factory.ts +1 -1
  173. package/typechain-types/factories/IPMarket__factory.ts +14 -14
  174. package/typechain-types/factories/{IPOwnershipToken__factory.ts → IPPrincipalToken__factory.ts} +8 -8
  175. package/typechain-types/factories/IPRouterStatic__factory.ts +626 -10
  176. package/typechain-types/factories/IPYieldContractFactory__factory.ts +3 -3
  177. package/typechain-types/factories/IPYieldToken__factory.ts +5 -5
  178. package/typechain-types/factories/IPendleGauge__factory.ts +125 -0
  179. package/typechain-types/factories/ISuperComposableYield__factory.ts +13 -0
  180. package/typechain-types/factories/{IXPendle__factory.ts → IVePToken__factory.ts} +10 -16
  181. package/typechain-types/factories/{QiErc20Interface__factory.ts → IVotingEscrowPendle__factory.ts} +41 -98
  182. package/typechain-types/factories/PendleAaveV3SCY__factory.ts +24 -1
  183. package/typechain-types/factories/PendleBaseToken__factory.ts +1 -1
  184. package/typechain-types/factories/PendleBenQiErc20SCY__factory.ts +25 -15
  185. package/typechain-types/factories/PendleBtrflyScy__factory.ts +25 -15
  186. package/typechain-types/factories/PendleGovernanceManager__factory.ts +2 -2
  187. package/typechain-types/factories/PendleMarketFactory__factory.ts +29 -3
  188. package/typechain-types/factories/PendleMarket__factory.ts +59 -54
  189. package/typechain-types/factories/PendlePrincipalToken__factory.ts +540 -0
  190. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  191. package/typechain-types/factories/PendleStEthSCY__factory.ts +27 -17
  192. package/typechain-types/factories/PendleYearnVaultScy__factory.ts +26 -16
  193. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +6 -6
  194. package/typechain-types/factories/PendleYieldToken__factory.ts +12 -12
  195. package/typechain-types/factories/RouterStatic__factory.ts +627 -11
  196. package/typechain-types/factories/SCYBaseWithRewards__factory.ts +13 -0
  197. package/typechain-types/factories/SCYBase__factory.ts +13 -0
  198. package/typechain-types/factories/{IVEPendleToken__factory.ts → VotingEscrowController__factory.ts} +33 -24
  199. package/typechain-types/hardhat.d.ts +56 -20
  200. package/typechain-types/index.ts +16 -8
  201. package/build/artifacts/contracts/core/PendleOwnershipToken.sol/PendleOwnershipToken.dbg.json +0 -4
  202. package/build/artifacts/contracts/core/PendleOwnershipToken.sol/PendleOwnershipToken.json +0 -439
  203. package/build/artifacts/contracts/core/actions/ActionRedeem.sol/PendleRouterRedeemUpg.dbg.json +0 -4
  204. package/build/artifacts/contracts/core/actions/base/ActionSCYAndOTBase.sol/ActionSCYAndOTBase.dbg.json +0 -4
  205. package/build/artifacts/contracts/core/actions/base/ActionSCYAndYOBase.sol/ActionSCYAndYOBase.dbg.json +0 -4
  206. package/build/artifacts/contracts/interfaces/IPOwnershipToken.sol/IPOwnershipToken.dbg.json +0 -4
  207. package/typechain-types/AggregatorV2V3Interface.ts +0 -380
  208. package/typechain-types/BenqiChainlinkOracle.ts +0 -362
  209. package/typechain-types/BoringOwnable.ts +0 -194
  210. package/typechain-types/BoringOwnableData.ts +0 -100
  211. package/typechain-types/BoringOwnableUpg.ts +0 -194
  212. package/typechain-types/BoringOwnableUpgData.ts +0 -100
  213. package/typechain-types/Comptroller.ts +0 -2860
  214. package/typechain-types/ComptrollerErrorReporter.ts +0 -70
  215. package/typechain-types/ComptrollerInterface.ts +0 -881
  216. package/typechain-types/ComptrollerVXStorage.ts +0 -781
  217. package/typechain-types/CrosschainContract.ts +0 -113
  218. package/typechain-types/CrosschainReceiver.ts +0 -347
  219. package/typechain-types/CrosschainSender.ts +0 -210
  220. package/typechain-types/EIP20Interface.ts +0 -337
  221. package/typechain-types/EIP20NonStandardInterface.ts +0 -298
  222. package/typechain-types/ERC20Burnable.ts +0 -473
  223. package/typechain-types/ERC20Locker.ts +0 -91
  224. package/typechain-types/ERC20Premined.ts +0 -473
  225. package/typechain-types/ERC20PresetFixedSupply.ts +0 -473
  226. package/typechain-types/EpochController.ts +0 -195
  227. package/typechain-types/FundKeeper.ts +0 -347
  228. package/typechain-types/GaugeTypeControllerAbstract.ts +0 -546
  229. package/typechain-types/GaugeTypeControllerCrosschain.ts +0 -733
  230. package/typechain-types/GaugeTypeControllerMainchain.ts +0 -604
  231. package/typechain-types/IGaugeController.ts +0 -99
  232. package/typechain-types/ILiquidYieldToken.ts +0 -639
  233. package/typechain-types/ILiquidYieldTokenWrap.ts +0 -790
  234. package/typechain-types/IMessageBus.ts +0 -543
  235. package/typechain-types/IMessageReceiverApp.ts +0 -110
  236. package/typechain-types/IPFlashCallback.ts +0 -115
  237. package/typechain-types/IPLiquidYieldToken.ts +0 -641
  238. package/typechain-types/IPMarketCallback.ts +0 -107
  239. package/typechain-types/IPRouterCore.ts +0 -769
  240. package/typechain-types/IPRouterYT.ts +0 -489
  241. package/typechain-types/IPermissionsV2.ts +0 -87
  242. package/typechain-types/IRainbowBridge.ts +0 -91
  243. package/typechain-types/ISCYRewardIndex.ts +0 -695
  244. package/typechain-types/IXPendle.ts +0 -114
  245. package/typechain-types/InterestRateModel.ts +0 -178
  246. package/typechain-types/JumpRateModel.ts +0 -347
  247. package/typechain-types/LYTBase.ts +0 -721
  248. package/typechain-types/LYTBaseWithRewards.ts +0 -806
  249. package/typechain-types/LYTWrap.ts +0 -872
  250. package/typechain-types/LYTWrapWithRewards.ts +0 -979
  251. package/typechain-types/LiquidityMining.ts +0 -468
  252. package/typechain-types/Maximillion.ts +0 -145
  253. package/typechain-types/Ownable.ts +0 -160
  254. package/typechain-types/PendleAaveV3LYT.ts +0 -808
  255. package/typechain-types/PendleBenQiErc20LYT.ts +0 -901
  256. package/typechain-types/PendleBenqiLiquidYieldToken.ts +0 -1013
  257. package/typechain-types/PendleBtrflyLYT.ts +0 -781
  258. package/typechain-types/PendleGauge.ts +0 -469
  259. package/typechain-types/PendleJoeSwapHelper.ts +0 -92
  260. package/typechain-types/PendleLYTMockYT.ts +0 -894
  261. package/typechain-types/PendleLiquidYieldToken.ts +0 -814
  262. package/typechain-types/PendleLiquidYieldTokenBase.ts +0 -941
  263. package/typechain-types/PendleRouter01.ts +0 -184
  264. package/typechain-types/PendleRouter02.ts +0 -564
  265. package/typechain-types/PendleRouter03.ts +0 -224
  266. package/typechain-types/PendleRouterBase.ts +0 -126
  267. package/typechain-types/PendleRouterCore.ts +0 -328
  268. package/typechain-types/PendleRouterCoreUpg.ts +0 -798
  269. package/typechain-types/PendleRouterLytAndForge.ts +0 -331
  270. package/typechain-types/PendleRouterMarketBase.ts +0 -82
  271. package/typechain-types/PendleRouterOT.ts +0 -463
  272. package/typechain-types/PendleRouterProxy.ts +0 -335
  273. package/typechain-types/PendleRouterRawTokenOT.ts +0 -865
  274. package/typechain-types/PendleRouterRawTokenYT.ts +0 -520
  275. package/typechain-types/PendleRouterSCYAndForgeBaseUpg.ts +0 -98
  276. package/typechain-types/PendleRouterStaticUpg.ts +0 -399
  277. package/typechain-types/PendleRouterYT.ts +0 -227
  278. package/typechain-types/PendleRouterYTBaseUpg.ts +0 -134
  279. package/typechain-types/PendleRouterYTUpg.ts +0 -537
  280. package/typechain-types/PendleYTLYTBenqi.ts +0 -863
  281. package/typechain-types/PendleYearnVaultLYT.ts +0 -723
  282. package/typechain-types/PermissionsV2.ts +0 -87
  283. package/typechain-types/PermlessAbstract.ts +0 -57
  284. package/typechain-types/PglStakingContract.ts +0 -662
  285. package/typechain-types/PglStakingContractProxy.ts +0 -256
  286. package/typechain-types/PglStakingContractProxyStorage.ts +0 -136
  287. package/typechain-types/PglStakingContractStorage.ts +0 -397
  288. package/typechain-types/PriceOracle.ts +0 -116
  289. package/typechain-types/ProtocolFakeUser.ts +0 -105
  290. package/typechain-types/Qi.ts +0 -760
  291. package/typechain-types/QiAvax.ts +0 -1720
  292. package/typechain-types/QiDelegateInterface.ts +0 -145
  293. package/typechain-types/QiDelegationStorage.ts +0 -82
  294. package/typechain-types/QiDelegatorInterface.ts +0 -149
  295. package/typechain-types/QiErc20.ts +0 -1846
  296. package/typechain-types/QiErc20Delegate.ts +0 -1926
  297. package/typechain-types/QiErc20Delegator.ts +0 -1885
  298. package/typechain-types/QiErc20Interface.ts +0 -382
  299. package/typechain-types/QiErc20Storage.ts +0 -79
  300. package/typechain-types/QiToken.ts +0 -1475
  301. package/typechain-types/QiTokenInterface.ts +0 -1419
  302. package/typechain-types/QiTokenSaleDistributor.ts +0 -771
  303. package/typechain-types/QiTokenSaleDistributorProxy.ts +0 -256
  304. package/typechain-types/QiTokenSaleDistributorProxyStorage.ts +0 -136
  305. package/typechain-types/QiTokenSaleDistributorStorage.ts +0 -401
  306. package/typechain-types/QiTokenStorage.ts +0 -311
  307. package/typechain-types/ReentrancyGuard.ts +0 -52
  308. package/typechain-types/SingleGaugeTypeController.ts +0 -478
  309. package/typechain-types/TokenErrorReporter.ts +0 -70
  310. package/typechain-types/Unitroller.ts +0 -356
  311. package/typechain-types/UnitrollerAdminStorage.ts +0 -143
  312. package/typechain-types/VePendle.ts +0 -1156
  313. package/typechain-types/VePendleCrosschain.ts +0 -969
  314. package/typechain-types/VePendleToken.ts +0 -688
  315. package/typechain-types/VotingController.ts +0 -883
  316. package/typechain-types/WETH9.ts +0 -414
  317. package/typechain-types/WhitePaperInterestRateModel.ts +0 -304
  318. package/typechain-types/XPendle.ts +0 -618
  319. package/typechain-types/factories/AggregatorV2V3Interface__factory.ts +0 -288
  320. package/typechain-types/factories/BenqiChainlinkOracle__factory.ts +0 -311
  321. package/typechain-types/factories/BoringOwnableData__factory.ts +0 -90
  322. package/typechain-types/factories/BoringOwnableUpgData__factory.ts +0 -94
  323. package/typechain-types/factories/BoringOwnableUpg__factory.ts +0 -139
  324. package/typechain-types/factories/BoringOwnable__factory.ts +0 -149
  325. package/typechain-types/factories/ComptrollerErrorReporter__factory.ts +0 -93
  326. package/typechain-types/factories/ComptrollerInterface__factory.ts +0 -595
  327. package/typechain-types/factories/ComptrollerVXStorage__factory.ts +0 -610
  328. package/typechain-types/factories/Comptroller__factory.ts +0 -2189
  329. package/typechain-types/factories/CrosschainContract__factory.ts +0 -52
  330. package/typechain-types/factories/CrosschainReceiver__factory.ts +0 -187
  331. package/typechain-types/factories/CrosschainSender__factory.ts +0 -104
  332. package/typechain-types/factories/EIP20Interface__factory.ts +0 -248
  333. package/typechain-types/factories/EIP20NonStandardInterface__factory.ts +0 -213
  334. package/typechain-types/factories/ERC20Burnable__factory.ts +0 -324
  335. package/typechain-types/factories/ERC20Locker__factory.ts +0 -73
  336. package/typechain-types/factories/ERC20Premined__factory.ts +0 -393
  337. package/typechain-types/factories/ERC20PresetFixedSupply__factory.ts +0 -422
  338. package/typechain-types/factories/EpochController__factory.ts +0 -170
  339. package/typechain-types/factories/FundKeeper__factory.ts +0 -212
  340. package/typechain-types/factories/GaugeTypeControllerAbstract__factory.ts +0 -387
  341. package/typechain-types/factories/GaugeTypeControllerCrosschain__factory.ts +0 -522
  342. package/typechain-types/factories/GaugeTypeControllerMainchain__factory.ts +0 -431
  343. package/typechain-types/factories/IGaugeController__factory.ts +0 -45
  344. package/typechain-types/factories/ILiquidYieldTokenWrap__factory.ts +0 -533
  345. package/typechain-types/factories/ILiquidYieldToken__factory.ts +0 -429
  346. package/typechain-types/factories/IMessageBus__factory.ts +0 -396
  347. package/typechain-types/factories/IMessageReceiverApp__factory.ts +0 -55
  348. package/typechain-types/factories/IPFlashCallback__factory.ts +0 -49
  349. package/typechain-types/factories/IPLiquidYieldToken__factory.ts +0 -433
  350. package/typechain-types/factories/IPMarketCallback__factory.ts +0 -55
  351. package/typechain-types/factories/IPRouterCore__factory.ts +0 -531
  352. package/typechain-types/factories/IPRouterRedeem__factory.ts +0 -72
  353. package/typechain-types/factories/IPRouterYT__factory.ts +0 -305
  354. package/typechain-types/factories/IPermissionsV2__factory.ts +0 -39
  355. package/typechain-types/factories/IRainbowBridge__factory.ts +0 -76
  356. package/typechain-types/factories/ISCYRewardIndex__factory.ts +0 -465
  357. package/typechain-types/factories/InterestRateModel__factory.ts +0 -108
  358. package/typechain-types/factories/JumpRateModel__factory.ts +0 -334
  359. package/typechain-types/factories/LYTBaseWithRewards__factory.ts +0 -530
  360. package/typechain-types/factories/LYTBase__factory.ts +0 -474
  361. package/typechain-types/factories/LYTWrapWithRewards__factory.ts +0 -643
  362. package/typechain-types/factories/LYTWrap__factory.ts +0 -574
  363. package/typechain-types/factories/LiquidityMining__factory.ts +0 -367
  364. package/typechain-types/factories/Maximillion__factory.ts +0 -125
  365. package/typechain-types/factories/Ownable__factory.ts +0 -75
  366. package/typechain-types/factories/PendleAaveV3LYT__factory.ts +0 -657
  367. package/typechain-types/factories/PendleBenQiErc20LYT__factory.ts +0 -748
  368. package/typechain-types/factories/PendleBenqiLiquidYieldToken__factory.ts +0 -785
  369. package/typechain-types/factories/PendleBtrflyLYT__factory.ts +0 -647
  370. package/typechain-types/factories/PendleGauge__factory.ts +0 -383
  371. package/typechain-types/factories/PendleJoeSwapHelper__factory.ts +0 -52
  372. package/typechain-types/factories/PendleLYTMockYT__factory.ts +0 -732
  373. package/typechain-types/factories/PendleLiquidYieldTokenBase__factory.ts +0 -603
  374. package/typechain-types/factories/PendleLiquidYieldToken__factory.ts +0 -510
  375. package/typechain-types/factories/PendleOwnershipToken__factory.ts +0 -527
  376. package/typechain-types/factories/PendleRouter01__factory.ts +0 -152
  377. package/typechain-types/factories/PendleRouter02__factory.ts +0 -438
  378. package/typechain-types/factories/PendleRouter03__factory.ts +0 -190
  379. package/typechain-types/factories/PendleRouterBase__factory.ts +0 -68
  380. package/typechain-types/factories/PendleRouterCoreUpg__factory.ts +0 -635
  381. package/typechain-types/factories/PendleRouterCore__factory.ts +0 -268
  382. package/typechain-types/factories/PendleRouterLytAndForge__factory.ts +0 -294
  383. package/typechain-types/factories/PendleRouterMarketBase__factory.ts +0 -43
  384. package/typechain-types/factories/PendleRouterOT__factory.ts +0 -372
  385. package/typechain-types/factories/PendleRouterProxy__factory.ts +0 -285
  386. package/typechain-types/factories/PendleRouterRawTokenOT__factory.ts +0 -697
  387. package/typechain-types/factories/PendleRouterRawTokenYT__factory.ts +0 -431
  388. package/typechain-types/factories/PendleRouterSCYAndForgeBaseUpg__factory.ts +0 -56
  389. package/typechain-types/factories/PendleRouterStaticUpg__factory.ts +0 -315
  390. package/typechain-types/factories/PendleRouterYTBaseUpg__factory.ts +0 -66
  391. package/typechain-types/factories/PendleRouterYTUpg__factory.ts +0 -422
  392. package/typechain-types/factories/PendleRouterYT__factory.ts +0 -184
  393. package/typechain-types/factories/PendleYTLYTBenqi__factory.ts +0 -713
  394. package/typechain-types/factories/PendleYearnVaultLYT__factory.ts +0 -586
  395. package/typechain-types/factories/PermissionsV2__factory.ts +0 -36
  396. package/typechain-types/factories/PermlessAbstract__factory.ts +0 -30
  397. package/typechain-types/factories/PglStakingContractProxyStorage__factory.ts +0 -130
  398. package/typechain-types/factories/PglStakingContractProxy__factory.ts +0 -187
  399. package/typechain-types/factories/PglStakingContractStorage__factory.ts +0 -309
  400. package/typechain-types/factories/PglStakingContract__factory.ts +0 -446
  401. package/typechain-types/factories/PriceOracle__factory.ts +0 -59
  402. package/typechain-types/factories/ProtocolFakeUser__factory.ts +0 -87
  403. package/typechain-types/factories/QiAvax__factory.ts +0 -1471
  404. package/typechain-types/factories/QiDelegateInterface__factory.ts +0 -65
  405. package/typechain-types/factories/QiDelegationStorage__factory.ts +0 -79
  406. package/typechain-types/factories/QiDelegatorInterface__factory.ts +0 -89
  407. package/typechain-types/factories/QiErc20Delegate__factory.ts +0 -1563
  408. package/typechain-types/factories/QiErc20Delegator__factory.ts +0 -1648
  409. package/typechain-types/factories/QiErc20Storage__factory.ts +0 -79
  410. package/typechain-types/factories/QiErc20__factory.ts +0 -1515
  411. package/typechain-types/factories/QiTokenInterface__factory.ts +0 -1182
  412. package/typechain-types/factories/QiTokenSaleDistributorProxyStorage__factory.ts +0 -124
  413. package/typechain-types/factories/QiTokenSaleDistributorProxy__factory.ts +0 -171
  414. package/typechain-types/factories/QiTokenSaleDistributorStorage__factory.ts +0 -289
  415. package/typechain-types/factories/QiTokenSaleDistributor__factory.ts +0 -480
  416. package/typechain-types/factories/QiTokenStorage__factory.ts +0 -274
  417. package/typechain-types/factories/QiToken__factory.ts +0 -1219
  418. package/typechain-types/factories/Qi__factory.ts +0 -648
  419. package/typechain-types/factories/ReentrancyGuard__factory.ts +0 -69
  420. package/typechain-types/factories/SingleGaugeTypeController__factory.ts +0 -341
  421. package/typechain-types/factories/TokenErrorReporter__factory.ts +0 -89
  422. package/typechain-types/factories/UnitrollerAdminStorage__factory.ts +0 -128
  423. package/typechain-types/factories/Unitroller__factory.ts +0 -305
  424. package/typechain-types/factories/VePendleCrosschain__factory.ts +0 -727
  425. package/typechain-types/factories/VePendleToken__factory.ts +0 -494
  426. package/typechain-types/factories/VePendle__factory.ts +0 -800
  427. package/typechain-types/factories/VotingController__factory.ts +0 -610
  428. package/typechain-types/factories/WETH9__factory.ts +0 -342
  429. package/typechain-types/factories/WhitePaperInterestRateModel__factory.ts +0 -281
  430. package/typechain-types/factories/XPendle__factory.ts +0 -473
@@ -1,610 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
5
- import { Provider, TransactionRequest } from "@ethersproject/providers";
6
- import type {
7
- ComptrollerVXStorage,
8
- ComptrollerVXStorageInterface,
9
- } from "../ComptrollerVXStorage";
10
-
11
- const _abi = [
12
- {
13
- constant: true,
14
- inputs: [],
15
- name: "_borrowGuardianPaused",
16
- outputs: [
17
- {
18
- internalType: "bool",
19
- name: "",
20
- type: "bool",
21
- },
22
- ],
23
- payable: false,
24
- stateMutability: "view",
25
- type: "function",
26
- },
27
- {
28
- constant: true,
29
- inputs: [],
30
- name: "_mintGuardianPaused",
31
- outputs: [
32
- {
33
- internalType: "bool",
34
- name: "",
35
- type: "bool",
36
- },
37
- ],
38
- payable: false,
39
- stateMutability: "view",
40
- type: "function",
41
- },
42
- {
43
- constant: true,
44
- inputs: [
45
- {
46
- internalType: "address",
47
- name: "",
48
- type: "address",
49
- },
50
- {
51
- internalType: "uint256",
52
- name: "",
53
- type: "uint256",
54
- },
55
- ],
56
- name: "accountAssets",
57
- outputs: [
58
- {
59
- internalType: "contract QiToken",
60
- name: "",
61
- type: "address",
62
- },
63
- ],
64
- payable: false,
65
- stateMutability: "view",
66
- type: "function",
67
- },
68
- {
69
- constant: true,
70
- inputs: [],
71
- name: "admin",
72
- outputs: [
73
- {
74
- internalType: "address",
75
- name: "",
76
- type: "address",
77
- },
78
- ],
79
- payable: false,
80
- stateMutability: "view",
81
- type: "function",
82
- },
83
- {
84
- constant: true,
85
- inputs: [
86
- {
87
- internalType: "uint256",
88
- name: "",
89
- type: "uint256",
90
- },
91
- ],
92
- name: "allMarkets",
93
- outputs: [
94
- {
95
- internalType: "contract QiToken",
96
- name: "",
97
- type: "address",
98
- },
99
- ],
100
- payable: false,
101
- stateMutability: "view",
102
- type: "function",
103
- },
104
- {
105
- constant: true,
106
- inputs: [],
107
- name: "borrowCapGuardian",
108
- outputs: [
109
- {
110
- internalType: "address",
111
- name: "",
112
- type: "address",
113
- },
114
- ],
115
- payable: false,
116
- stateMutability: "view",
117
- type: "function",
118
- },
119
- {
120
- constant: true,
121
- inputs: [
122
- {
123
- internalType: "address",
124
- name: "",
125
- type: "address",
126
- },
127
- ],
128
- name: "borrowCaps",
129
- outputs: [
130
- {
131
- internalType: "uint256",
132
- name: "",
133
- type: "uint256",
134
- },
135
- ],
136
- payable: false,
137
- stateMutability: "view",
138
- type: "function",
139
- },
140
- {
141
- constant: true,
142
- inputs: [
143
- {
144
- internalType: "address",
145
- name: "",
146
- type: "address",
147
- },
148
- ],
149
- name: "borrowGuardianPaused",
150
- outputs: [
151
- {
152
- internalType: "bool",
153
- name: "",
154
- type: "bool",
155
- },
156
- ],
157
- payable: false,
158
- stateMutability: "view",
159
- type: "function",
160
- },
161
- {
162
- constant: true,
163
- inputs: [],
164
- name: "closeFactorMantissa",
165
- outputs: [
166
- {
167
- internalType: "uint256",
168
- name: "",
169
- type: "uint256",
170
- },
171
- ],
172
- payable: false,
173
- stateMutability: "view",
174
- type: "function",
175
- },
176
- {
177
- constant: true,
178
- inputs: [],
179
- name: "comptrollerImplementation",
180
- outputs: [
181
- {
182
- internalType: "address",
183
- name: "",
184
- type: "address",
185
- },
186
- ],
187
- payable: false,
188
- stateMutability: "view",
189
- type: "function",
190
- },
191
- {
192
- constant: true,
193
- inputs: [],
194
- name: "liquidationIncentiveMantissa",
195
- outputs: [
196
- {
197
- internalType: "uint256",
198
- name: "",
199
- type: "uint256",
200
- },
201
- ],
202
- payable: false,
203
- stateMutability: "view",
204
- type: "function",
205
- },
206
- {
207
- constant: true,
208
- inputs: [
209
- {
210
- internalType: "address",
211
- name: "",
212
- type: "address",
213
- },
214
- ],
215
- name: "markets",
216
- outputs: [
217
- {
218
- internalType: "bool",
219
- name: "isListed",
220
- type: "bool",
221
- },
222
- {
223
- internalType: "uint256",
224
- name: "collateralFactorMantissa",
225
- type: "uint256",
226
- },
227
- {
228
- internalType: "bool",
229
- name: "isQied",
230
- type: "bool",
231
- },
232
- ],
233
- payable: false,
234
- stateMutability: "view",
235
- type: "function",
236
- },
237
- {
238
- constant: true,
239
- inputs: [],
240
- name: "maxAssets",
241
- outputs: [
242
- {
243
- internalType: "uint256",
244
- name: "",
245
- type: "uint256",
246
- },
247
- ],
248
- payable: false,
249
- stateMutability: "view",
250
- type: "function",
251
- },
252
- {
253
- constant: true,
254
- inputs: [
255
- {
256
- internalType: "address",
257
- name: "",
258
- type: "address",
259
- },
260
- ],
261
- name: "mintGuardianPaused",
262
- outputs: [
263
- {
264
- internalType: "bool",
265
- name: "",
266
- type: "bool",
267
- },
268
- ],
269
- payable: false,
270
- stateMutability: "view",
271
- type: "function",
272
- },
273
- {
274
- constant: true,
275
- inputs: [],
276
- name: "oracle",
277
- outputs: [
278
- {
279
- internalType: "contract PriceOracle",
280
- name: "",
281
- type: "address",
282
- },
283
- ],
284
- payable: false,
285
- stateMutability: "view",
286
- type: "function",
287
- },
288
- {
289
- constant: true,
290
- inputs: [],
291
- name: "pauseGuardian",
292
- outputs: [
293
- {
294
- internalType: "address",
295
- name: "",
296
- type: "address",
297
- },
298
- ],
299
- payable: false,
300
- stateMutability: "view",
301
- type: "function",
302
- },
303
- {
304
- constant: true,
305
- inputs: [],
306
- name: "pendingAdmin",
307
- outputs: [
308
- {
309
- internalType: "address",
310
- name: "",
311
- type: "address",
312
- },
313
- ],
314
- payable: false,
315
- stateMutability: "view",
316
- type: "function",
317
- },
318
- {
319
- constant: true,
320
- inputs: [],
321
- name: "pendingComptrollerImplementation",
322
- outputs: [
323
- {
324
- internalType: "address",
325
- name: "",
326
- type: "address",
327
- },
328
- ],
329
- payable: false,
330
- stateMutability: "view",
331
- type: "function",
332
- },
333
- {
334
- constant: true,
335
- inputs: [],
336
- name: "qiAddress",
337
- outputs: [
338
- {
339
- internalType: "address",
340
- name: "",
341
- type: "address",
342
- },
343
- ],
344
- payable: false,
345
- stateMutability: "view",
346
- type: "function",
347
- },
348
- {
349
- constant: true,
350
- inputs: [
351
- {
352
- internalType: "uint8",
353
- name: "",
354
- type: "uint8",
355
- },
356
- {
357
- internalType: "address",
358
- name: "",
359
- type: "address",
360
- },
361
- ],
362
- name: "rewardAccrued",
363
- outputs: [
364
- {
365
- internalType: "uint256",
366
- name: "",
367
- type: "uint256",
368
- },
369
- ],
370
- payable: false,
371
- stateMutability: "view",
372
- type: "function",
373
- },
374
- {
375
- constant: true,
376
- inputs: [
377
- {
378
- internalType: "uint8",
379
- name: "",
380
- type: "uint8",
381
- },
382
- {
383
- internalType: "address",
384
- name: "",
385
- type: "address",
386
- },
387
- ],
388
- name: "rewardBorrowState",
389
- outputs: [
390
- {
391
- internalType: "uint224",
392
- name: "index",
393
- type: "uint224",
394
- },
395
- {
396
- internalType: "uint32",
397
- name: "timestamp",
398
- type: "uint32",
399
- },
400
- ],
401
- payable: false,
402
- stateMutability: "view",
403
- type: "function",
404
- },
405
- {
406
- constant: true,
407
- inputs: [
408
- {
409
- internalType: "uint8",
410
- name: "",
411
- type: "uint8",
412
- },
413
- {
414
- internalType: "address",
415
- name: "",
416
- type: "address",
417
- },
418
- {
419
- internalType: "address",
420
- name: "",
421
- type: "address",
422
- },
423
- ],
424
- name: "rewardBorrowerIndex",
425
- outputs: [
426
- {
427
- internalType: "uint256",
428
- name: "",
429
- type: "uint256",
430
- },
431
- ],
432
- payable: false,
433
- stateMutability: "view",
434
- type: "function",
435
- },
436
- {
437
- constant: true,
438
- inputs: [
439
- {
440
- internalType: "uint8",
441
- name: "",
442
- type: "uint8",
443
- },
444
- {
445
- internalType: "address",
446
- name: "",
447
- type: "address",
448
- },
449
- ],
450
- name: "rewardSpeeds",
451
- outputs: [
452
- {
453
- internalType: "uint256",
454
- name: "",
455
- type: "uint256",
456
- },
457
- ],
458
- payable: false,
459
- stateMutability: "view",
460
- type: "function",
461
- },
462
- {
463
- constant: true,
464
- inputs: [
465
- {
466
- internalType: "uint8",
467
- name: "",
468
- type: "uint8",
469
- },
470
- {
471
- internalType: "address",
472
- name: "",
473
- type: "address",
474
- },
475
- {
476
- internalType: "address",
477
- name: "",
478
- type: "address",
479
- },
480
- ],
481
- name: "rewardSupplierIndex",
482
- outputs: [
483
- {
484
- internalType: "uint256",
485
- name: "",
486
- type: "uint256",
487
- },
488
- ],
489
- payable: false,
490
- stateMutability: "view",
491
- type: "function",
492
- },
493
- {
494
- constant: true,
495
- inputs: [
496
- {
497
- internalType: "uint8",
498
- name: "",
499
- type: "uint8",
500
- },
501
- {
502
- internalType: "address",
503
- name: "",
504
- type: "address",
505
- },
506
- ],
507
- name: "rewardSupplyState",
508
- outputs: [
509
- {
510
- internalType: "uint224",
511
- name: "index",
512
- type: "uint224",
513
- },
514
- {
515
- internalType: "uint32",
516
- name: "timestamp",
517
- type: "uint32",
518
- },
519
- ],
520
- payable: false,
521
- stateMutability: "view",
522
- type: "function",
523
- },
524
- {
525
- constant: true,
526
- inputs: [],
527
- name: "seizeGuardianPaused",
528
- outputs: [
529
- {
530
- internalType: "bool",
531
- name: "",
532
- type: "bool",
533
- },
534
- ],
535
- payable: false,
536
- stateMutability: "view",
537
- type: "function",
538
- },
539
- {
540
- constant: true,
541
- inputs: [],
542
- name: "transferGuardianPaused",
543
- outputs: [
544
- {
545
- internalType: "bool",
546
- name: "",
547
- type: "bool",
548
- },
549
- ],
550
- payable: false,
551
- stateMutability: "view",
552
- type: "function",
553
- },
554
- ];
555
-
556
- const _bytecode =
557
- "0x608060405234801561001057600080fd5b50610764806100206000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c80637937969d116100f9578063bb82aa5e11610097578063dcfbc0c711610071578063dcfbc0c71461049d578063e6653f3d146104a5578063e8755446146104ad578063f851a440146104b5576101a9565b8063bb82aa5e1461043a578063d81c5e4514610442578063dce1544914610471576101a9565b806388e972b8116100d357806388e972b8146103ab5780638e8f294b146103e257806394b2294b1461042a578063ac0b0bb714610432576101a9565b80637937969d146103645780637dc0d1d01461039b57806387f76303146103a3576101a9565b80633c94786f116101665780634b3a0a74116101405780634b3a0a74146102a457806352d84d1e146102fb5780636d154ea514610318578063731f0c2b1461033e576101a9565b80633c94786f1461025a5780634a584432146102765780634ada90af1461029c576101a9565b806305b9783d146101ae57806321af4569146101ef57806324a3d62214610213578063267822471461021b57806326d71f1e146102235780632b7e34341461022b575b600080fd5b6101dd600480360360408110156101c457600080fd5b50803560ff1690602001356001600160a01b03166104bd565b60408051918252519081900360200190f35b6101f76104da565b604080516001600160a01b039092168252519081900360200190f35b6101f76104e9565b6101f76104f8565b6101f7610507565b6101dd6004803603604081101561024157600080fd5b50803560ff1690602001356001600160a01b0316610516565b610262610533565b604080519115158252519081900360200190f35b6101dd6004803603602081101561028c57600080fd5b50356001600160a01b0316610543565b6101dd610555565b6102d3600480360360408110156102ba57600080fd5b50803560ff1690602001356001600160a01b031661055b565b604080516001600160e01b03909316835263ffffffff90911660208301528051918290030190f35b6101f76004803603602081101561031157600080fd5b5035610590565b6102626004803603602081101561032e57600080fd5b50356001600160a01b03166105b7565b6102626004803603602081101561035457600080fd5b50356001600160a01b03166105cc565b6101dd6004803603606081101561037a57600080fd5b5060ff813516906001600160a01b03602082013581169160400135166105e1565b6101f7610604565b610262610613565b6101dd600480360360608110156103c157600080fd5b5060ff813516906001600160a01b0360208201358116916040013516610623565b610408600480360360208110156103f857600080fd5b50356001600160a01b0316610646565b6040805193151584526020840192909252151582820152519081900360600190f35b6101dd61066c565b610262610672565b6101f7610682565b6102d36004803603604081101561045857600080fd5b50803560ff1690602001356001600160a01b0316610691565b6101f76004803603604081101561048757600080fd5b506001600160a01b0381351690602001356106c6565b6101f76106fb565b61026261070a565b6101dd61071a565b6101f7610720565b601660209081526000928352604080842090915290825290205481565b600e546001600160a01b031681565b600a546001600160a01b031681565b6001546001600160a01b031681565b6017546001600160a01b031681565b601160209081526000928352604080842090915290825290205481565b600a54600160a01b900460ff1681565b600f6020526000908152604090205481565b60065481565b60136020908152600092835260408084209091529082529020546001600160e01b03811690600160e01b900463ffffffff1682565b600d818154811061059d57fe5b6000918252602090912001546001600160a01b0316905081565b600c6020526000908152604090205460ff1681565b600b6020526000908152604090205460ff1681565b601560209081526000938452604080852082529284528284209052825290205481565b6004546001600160a01b031681565b600a54600160b01b900460ff1681565b601460209081526000938452604080852082529284528284209052825290205481565b60096020526000908152604090208054600182015460039092015460ff91821692911683565b60075481565b600a54600160b81b900460ff1681565b6002546001600160a01b031681565b60126020908152600092835260408084209091529082529020546001600160e01b03811690600160e01b900463ffffffff1682565b600860205281600052604060002081815481106106df57fe5b6000918252602090912001546001600160a01b03169150829050565b6003546001600160a01b031681565b600a54600160a81b900460ff1681565b60055481565b6000546001600160a01b03168156fea265627a7a723158206904b051da7aa7d5faf82e1c74d7fee7f83a7cc802d63f5fadde2dff11fcf12064736f6c63430005110032";
558
-
559
- type ComptrollerVXStorageConstructorParams =
560
- | [signer?: Signer]
561
- | ConstructorParameters<typeof ContractFactory>;
562
-
563
- const isSuperArgs = (
564
- xs: ComptrollerVXStorageConstructorParams
565
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
566
-
567
- export class ComptrollerVXStorage__factory extends ContractFactory {
568
- constructor(...args: ComptrollerVXStorageConstructorParams) {
569
- if (isSuperArgs(args)) {
570
- super(...args);
571
- } else {
572
- super(_abi, _bytecode, args[0]);
573
- }
574
- this.contractName = "ComptrollerVXStorage";
575
- }
576
-
577
- deploy(
578
- overrides?: Overrides & { from?: string | Promise<string> }
579
- ): Promise<ComptrollerVXStorage> {
580
- return super.deploy(overrides || {}) as Promise<ComptrollerVXStorage>;
581
- }
582
- getDeployTransaction(
583
- overrides?: Overrides & { from?: string | Promise<string> }
584
- ): TransactionRequest {
585
- return super.getDeployTransaction(overrides || {});
586
- }
587
- attach(address: string): ComptrollerVXStorage {
588
- return super.attach(address) as ComptrollerVXStorage;
589
- }
590
- connect(signer: Signer): ComptrollerVXStorage__factory {
591
- return super.connect(signer) as ComptrollerVXStorage__factory;
592
- }
593
- static readonly contractName: "ComptrollerVXStorage";
594
- public readonly contractName: "ComptrollerVXStorage";
595
- static readonly bytecode = _bytecode;
596
- static readonly abi = _abi;
597
- static createInterface(): ComptrollerVXStorageInterface {
598
- return new utils.Interface(_abi) as ComptrollerVXStorageInterface;
599
- }
600
- static connect(
601
- address: string,
602
- signerOrProvider: Signer | Provider
603
- ): ComptrollerVXStorage {
604
- return new Contract(
605
- address,
606
- _abi,
607
- signerOrProvider
608
- ) as ComptrollerVXStorage;
609
- }
610
- }