@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,342 +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 { WETH9, WETH9Interface } from "../WETH9";
7
-
8
- const _abi = [
9
- {
10
- anonymous: false,
11
- inputs: [
12
- {
13
- indexed: true,
14
- internalType: "address",
15
- name: "src",
16
- type: "address",
17
- },
18
- {
19
- indexed: true,
20
- internalType: "address",
21
- name: "guy",
22
- type: "address",
23
- },
24
- {
25
- indexed: false,
26
- internalType: "uint256",
27
- name: "wad",
28
- type: "uint256",
29
- },
30
- ],
31
- name: "Approval",
32
- type: "event",
33
- },
34
- {
35
- anonymous: false,
36
- inputs: [
37
- {
38
- indexed: true,
39
- internalType: "address",
40
- name: "dst",
41
- type: "address",
42
- },
43
- {
44
- indexed: false,
45
- internalType: "uint256",
46
- name: "wad",
47
- type: "uint256",
48
- },
49
- ],
50
- name: "Deposit",
51
- type: "event",
52
- },
53
- {
54
- anonymous: false,
55
- inputs: [
56
- {
57
- indexed: true,
58
- internalType: "address",
59
- name: "src",
60
- type: "address",
61
- },
62
- {
63
- indexed: true,
64
- internalType: "address",
65
- name: "dst",
66
- type: "address",
67
- },
68
- {
69
- indexed: false,
70
- internalType: "uint256",
71
- name: "wad",
72
- type: "uint256",
73
- },
74
- ],
75
- name: "Transfer",
76
- type: "event",
77
- },
78
- {
79
- anonymous: false,
80
- inputs: [
81
- {
82
- indexed: true,
83
- internalType: "address",
84
- name: "src",
85
- type: "address",
86
- },
87
- {
88
- indexed: false,
89
- internalType: "uint256",
90
- name: "wad",
91
- type: "uint256",
92
- },
93
- ],
94
- name: "Withdrawal",
95
- type: "event",
96
- },
97
- {
98
- inputs: [
99
- {
100
- internalType: "address",
101
- name: "",
102
- type: "address",
103
- },
104
- {
105
- internalType: "address",
106
- name: "",
107
- type: "address",
108
- },
109
- ],
110
- name: "allowance",
111
- outputs: [
112
- {
113
- internalType: "uint256",
114
- name: "",
115
- type: "uint256",
116
- },
117
- ],
118
- stateMutability: "view",
119
- type: "function",
120
- },
121
- {
122
- inputs: [
123
- {
124
- internalType: "address",
125
- name: "guy",
126
- type: "address",
127
- },
128
- {
129
- internalType: "uint256",
130
- name: "wad",
131
- type: "uint256",
132
- },
133
- ],
134
- name: "approve",
135
- outputs: [
136
- {
137
- internalType: "bool",
138
- name: "",
139
- type: "bool",
140
- },
141
- ],
142
- stateMutability: "nonpayable",
143
- type: "function",
144
- },
145
- {
146
- inputs: [
147
- {
148
- internalType: "address",
149
- name: "",
150
- type: "address",
151
- },
152
- ],
153
- name: "balanceOf",
154
- outputs: [
155
- {
156
- internalType: "uint256",
157
- name: "",
158
- type: "uint256",
159
- },
160
- ],
161
- stateMutability: "view",
162
- type: "function",
163
- },
164
- {
165
- inputs: [],
166
- name: "decimals",
167
- outputs: [
168
- {
169
- internalType: "uint8",
170
- name: "",
171
- type: "uint8",
172
- },
173
- ],
174
- stateMutability: "view",
175
- type: "function",
176
- },
177
- {
178
- inputs: [],
179
- name: "deposit",
180
- outputs: [],
181
- stateMutability: "payable",
182
- type: "function",
183
- },
184
- {
185
- inputs: [],
186
- name: "name",
187
- outputs: [
188
- {
189
- internalType: "string",
190
- name: "",
191
- type: "string",
192
- },
193
- ],
194
- stateMutability: "view",
195
- type: "function",
196
- },
197
- {
198
- inputs: [],
199
- name: "symbol",
200
- outputs: [
201
- {
202
- internalType: "string",
203
- name: "",
204
- type: "string",
205
- },
206
- ],
207
- stateMutability: "view",
208
- type: "function",
209
- },
210
- {
211
- inputs: [],
212
- name: "totalSupply",
213
- outputs: [
214
- {
215
- internalType: "uint256",
216
- name: "",
217
- type: "uint256",
218
- },
219
- ],
220
- stateMutability: "view",
221
- type: "function",
222
- },
223
- {
224
- inputs: [
225
- {
226
- internalType: "address",
227
- name: "dst",
228
- type: "address",
229
- },
230
- {
231
- internalType: "uint256",
232
- name: "wad",
233
- type: "uint256",
234
- },
235
- ],
236
- name: "transfer",
237
- outputs: [
238
- {
239
- internalType: "bool",
240
- name: "",
241
- type: "bool",
242
- },
243
- ],
244
- stateMutability: "nonpayable",
245
- type: "function",
246
- },
247
- {
248
- inputs: [
249
- {
250
- internalType: "address",
251
- name: "src",
252
- type: "address",
253
- },
254
- {
255
- internalType: "address",
256
- name: "dst",
257
- type: "address",
258
- },
259
- {
260
- internalType: "uint256",
261
- name: "wad",
262
- type: "uint256",
263
- },
264
- ],
265
- name: "transferFrom",
266
- outputs: [
267
- {
268
- internalType: "bool",
269
- name: "",
270
- type: "bool",
271
- },
272
- ],
273
- stateMutability: "nonpayable",
274
- type: "function",
275
- },
276
- {
277
- inputs: [
278
- {
279
- internalType: "uint256",
280
- name: "wad",
281
- type: "uint256",
282
- },
283
- ],
284
- name: "withdraw",
285
- outputs: [],
286
- stateMutability: "nonpayable",
287
- type: "function",
288
- },
289
- {
290
- stateMutability: "payable",
291
- type: "receive",
292
- },
293
- ];
294
-
295
- const _bytecode =
296
- "0x60c0604052600d60808190526c2bb930b83832b21022ba3432b960991b60a090815261002e916000919061007a565b50604080518082019091526004808252630ae8aa8960e31b602090920191825261005a9160019161007a565b506002805460ff1916601217905534801561007457600080fd5b5061014e565b82805461008690610113565b90600052602060002090601f0160209004810192826100a857600085556100ee565b82601f106100c157805160ff19168380011785556100ee565b828001600101855582156100ee579182015b828111156100ee5782518255916020019190600101906100d3565b506100fa9291506100fe565b5090565b5b808211156100fa57600081556001016100ff565b600181811c9082168061012757607f821691505b6020821081141561014857634e487b7160e01b600052602260045260246000fd5b50919050565b6108888061015d6000396000f3fe6080604052600436106100905760003560e01c806306fdde03146100a4578063095ea7b3146100cf57806318160ddd146100ff57806323b872dd1461011c5780632e1a7d4d1461013c578063313ce5671461015c57806370a082311461018857806395d89b41146101b5578063a9059cbb146101ca578063d0e30db0146101ea578063dd62ed3e146101f257600080fd5b3661009f5761009d61022a565b005b600080fd5b3480156100b057600080fd5b506100b9610285565b6040516100c69190610694565b60405180910390f35b3480156100db57600080fd5b506100ef6100ea366004610705565b610313565b60405190151581526020016100c6565b34801561010b57600080fd5b50475b6040519081526020016100c6565b34801561012857600080fd5b506100ef61013736600461072f565b61037f565b34801561014857600080fd5b5061009d61015736600461076b565b6104d0565b34801561016857600080fd5b506002546101769060ff1681565b60405160ff90911681526020016100c6565b34801561019457600080fd5b5061010e6101a3366004610784565b60036020526000908152604090205481565b3480156101c157600080fd5b506100b9610553565b3480156101d657600080fd5b506100ef6101e5366004610705565b610560565b61009d61022a565b3480156101fe57600080fd5b5061010e61020d36600461079f565b600460209081526000928352604080842090915290825290205481565b33600090815260036020526040812080543492906102499084906107e8565b909155505060405134815233907fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9060200160405180910390a2565b6000805461029290610800565b80601f01602080910402602001604051908101604052809291908181526020018280546102be90610800565b801561030b5780601f106102e05761010080835404028352916020019161030b565b820191906000526020600020905b8154815290600101906020018083116102ee57829003601f168201915b505050505081565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061036e9086815260200190565b60405180910390a350600192915050565b6001600160a01b0383166000908152600360205260408120548211156103a457600080fd5b6001600160a01b038416331461041d576001600160a01b03841660009081526004602090815260408083203384529091529020548211156103e457600080fd5b6001600160a01b03841660009081526004602090815260408083203384529091528120805484929061041790849061083b565b90915550505b6001600160a01b0384166000908152600360205260408120805484929061044590849061083b565b90915550506001600160a01b038316600090815260036020526040812080548492906104729084906107e8565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516104be91815260200190565b60405180910390a35060019392505050565b336000908152600360205260409020548111156104ec57600080fd5b336000908152600360205260408120805483929061050b90849061083b565b9091555061051b90503382610574565b60405181815233907f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b659060200160405180910390a250565b6001805461029290610800565b600061056d33848461037f565b9392505050565b804710156105c95760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064015b60405180910390fd5b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610616576040519150601f19603f3d011682016040523d82523d6000602084013e61061b565b606091505b505090508061068f5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c20726044820152791958da5c1a595b9d081b585e481a185d99481c995d995c9d195960321b60648201526084016105c0565b505050565b600060208083528351808285015260005b818110156106c1578581018301518582016040015282016106a5565b818111156106d3576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461070057600080fd5b919050565b6000806040838503121561071857600080fd5b610721836106e9565b946020939093013593505050565b60008060006060848603121561074457600080fd5b61074d846106e9565b925061075b602085016106e9565b9150604084013590509250925092565b60006020828403121561077d57600080fd5b5035919050565b60006020828403121561079657600080fd5b61056d826106e9565b600080604083850312156107b257600080fd5b6107bb836106e9565b91506107c9602084016106e9565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b600082198211156107fb576107fb6107d2565b500190565b600181811c9082168061081457607f821691505b6020821081141561083557634e487b7160e01b600052602260045260246000fd5b50919050565b60008282101561084d5761084d6107d2565b50039056fea26469706673582212203547e4e798582b622ff2b62f448b0fc4a2c80a147d19909550bf6e8e3ab2ec3364736f6c63430008090033";
297
-
298
- type WETH9ConstructorParams =
299
- | [signer?: Signer]
300
- | ConstructorParameters<typeof ContractFactory>;
301
-
302
- const isSuperArgs = (
303
- xs: WETH9ConstructorParams
304
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
305
-
306
- export class WETH9__factory extends ContractFactory {
307
- constructor(...args: WETH9ConstructorParams) {
308
- if (isSuperArgs(args)) {
309
- super(...args);
310
- } else {
311
- super(_abi, _bytecode, args[0]);
312
- }
313
- this.contractName = "WETH9";
314
- }
315
-
316
- deploy(
317
- overrides?: Overrides & { from?: string | Promise<string> }
318
- ): Promise<WETH9> {
319
- return super.deploy(overrides || {}) as Promise<WETH9>;
320
- }
321
- getDeployTransaction(
322
- overrides?: Overrides & { from?: string | Promise<string> }
323
- ): TransactionRequest {
324
- return super.getDeployTransaction(overrides || {});
325
- }
326
- attach(address: string): WETH9 {
327
- return super.attach(address) as WETH9;
328
- }
329
- connect(signer: Signer): WETH9__factory {
330
- return super.connect(signer) as WETH9__factory;
331
- }
332
- static readonly contractName: "WETH9";
333
- public readonly contractName: "WETH9";
334
- static readonly bytecode = _bytecode;
335
- static readonly abi = _abi;
336
- static createInterface(): WETH9Interface {
337
- return new utils.Interface(_abi) as WETH9Interface;
338
- }
339
- static connect(address: string, signerOrProvider: Signer | Provider): WETH9 {
340
- return new Contract(address, _abi, signerOrProvider) as WETH9;
341
- }
342
- }
@@ -1,281 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import {
5
- Signer,
6
- utils,
7
- Contract,
8
- ContractFactory,
9
- Overrides,
10
- BigNumberish,
11
- } from "ethers";
12
- import { Provider, TransactionRequest } from "@ethersproject/providers";
13
- import type {
14
- WhitePaperInterestRateModel,
15
- WhitePaperInterestRateModelInterface,
16
- } from "../WhitePaperInterestRateModel";
17
-
18
- const _abi = [
19
- {
20
- inputs: [
21
- {
22
- internalType: "uint256",
23
- name: "baseRatePerYear",
24
- type: "uint256",
25
- },
26
- {
27
- internalType: "uint256",
28
- name: "multiplierPerYear",
29
- type: "uint256",
30
- },
31
- ],
32
- payable: false,
33
- stateMutability: "nonpayable",
34
- type: "constructor",
35
- },
36
- {
37
- anonymous: false,
38
- inputs: [
39
- {
40
- indexed: false,
41
- internalType: "uint256",
42
- name: "baseRatePerTimestamp",
43
- type: "uint256",
44
- },
45
- {
46
- indexed: false,
47
- internalType: "uint256",
48
- name: "multiplierPerTimestamp",
49
- type: "uint256",
50
- },
51
- ],
52
- name: "NewInterestParams",
53
- type: "event",
54
- },
55
- {
56
- constant: true,
57
- inputs: [],
58
- name: "baseRatePerTimestamp",
59
- outputs: [
60
- {
61
- internalType: "uint256",
62
- name: "",
63
- type: "uint256",
64
- },
65
- ],
66
- payable: false,
67
- stateMutability: "view",
68
- type: "function",
69
- },
70
- {
71
- constant: true,
72
- inputs: [
73
- {
74
- internalType: "uint256",
75
- name: "cash",
76
- type: "uint256",
77
- },
78
- {
79
- internalType: "uint256",
80
- name: "borrows",
81
- type: "uint256",
82
- },
83
- {
84
- internalType: "uint256",
85
- name: "reserves",
86
- type: "uint256",
87
- },
88
- ],
89
- name: "getBorrowRate",
90
- outputs: [
91
- {
92
- internalType: "uint256",
93
- name: "",
94
- type: "uint256",
95
- },
96
- ],
97
- payable: false,
98
- stateMutability: "view",
99
- type: "function",
100
- },
101
- {
102
- constant: true,
103
- inputs: [
104
- {
105
- internalType: "uint256",
106
- name: "cash",
107
- type: "uint256",
108
- },
109
- {
110
- internalType: "uint256",
111
- name: "borrows",
112
- type: "uint256",
113
- },
114
- {
115
- internalType: "uint256",
116
- name: "reserves",
117
- type: "uint256",
118
- },
119
- {
120
- internalType: "uint256",
121
- name: "reserveFactorMantissa",
122
- type: "uint256",
123
- },
124
- ],
125
- name: "getSupplyRate",
126
- outputs: [
127
- {
128
- internalType: "uint256",
129
- name: "",
130
- type: "uint256",
131
- },
132
- ],
133
- payable: false,
134
- stateMutability: "view",
135
- type: "function",
136
- },
137
- {
138
- constant: true,
139
- inputs: [],
140
- name: "isInterestRateModel",
141
- outputs: [
142
- {
143
- internalType: "bool",
144
- name: "",
145
- type: "bool",
146
- },
147
- ],
148
- payable: false,
149
- stateMutability: "view",
150
- type: "function",
151
- },
152
- {
153
- constant: true,
154
- inputs: [],
155
- name: "multiplierPerTimestamp",
156
- outputs: [
157
- {
158
- internalType: "uint256",
159
- name: "",
160
- type: "uint256",
161
- },
162
- ],
163
- payable: false,
164
- stateMutability: "view",
165
- type: "function",
166
- },
167
- {
168
- constant: true,
169
- inputs: [],
170
- name: "timestampsPerYear",
171
- outputs: [
172
- {
173
- internalType: "uint256",
174
- name: "",
175
- type: "uint256",
176
- },
177
- ],
178
- payable: false,
179
- stateMutability: "view",
180
- type: "function",
181
- },
182
- {
183
- constant: true,
184
- inputs: [
185
- {
186
- internalType: "uint256",
187
- name: "cash",
188
- type: "uint256",
189
- },
190
- {
191
- internalType: "uint256",
192
- name: "borrows",
193
- type: "uint256",
194
- },
195
- {
196
- internalType: "uint256",
197
- name: "reserves",
198
- type: "uint256",
199
- },
200
- ],
201
- name: "utilizationRate",
202
- outputs: [
203
- {
204
- internalType: "uint256",
205
- name: "",
206
- type: "uint256",
207
- },
208
- ],
209
- payable: false,
210
- stateMutability: "pure",
211
- type: "function",
212
- },
213
- ];
214
-
215
- const _bytecode =
216
- "0x608060405234801561001057600080fd5b5060405161078b38038061078b8339818101604052604081101561003357600080fd5b508051602091820151909161007b90670de0b6b3a764000090610069906301e133809082908790859061028d6100f0821b17901c565b61015260201b6102ef1790919060201c565b6001556100a5670de0b6b3a76400006100696301e133808185846100f0602090811b61028d17901c565b600081905560015460408051918252602082019290925281517ff35fa19c15e9ba782633a5df62a98b20217151addc68e3ff2cd623a48d37ec27929181900390910190a1505061023c565b6000826100ff5750600061014c565b8282028284828161010c57fe5b04146101495760405162461bcd60e51b815260040180806020018281038252602181526020018061076a6021913960400191505060405180910390fd5b90505b92915050565b600061014983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061019a60201b60201c565b600081836102265760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156101eb5781810151838201526020016101d3565b50505050905090810190601f1680156102185780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161023257fe5b0495945050505050565b61051f8061024b6000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c806340bc0af41161005b57806340bc0af4146100e15780636c2df6a7146100e95780636e71e2d8146100f1578063b81688161461011a5761007d565b80630c5748611461008257806315f240531461009c5780632191f92a146100c5575b600080fd5b61008a610149565b60408051918252519081900360200190f35b61008a600480360360608110156100b257600080fd5b5080359060208101359060400135610151565b6100cd6101ab565b604080519115158252519081900360200190f35b61008a6101b0565b61008a6101b6565b61008a6004803603606081101561010757600080fd5b50803590602081013590604001356101bc565b61008a6004803603608081101561013057600080fd5b508035906020810135906040810135906060013561020e565b6301e1338081565b60008061015f8585856101bc565b90506101a0600154610194670de0b6b3a76400006101886000548661028d90919063ffffffff16565b9063ffffffff6102ef16565b9063ffffffff61033116565b9150505b9392505050565b600181565b60015481565b60005481565b6000826101cb575060006101a4565b6102066101ee836101e2878763ffffffff61033116565b9063ffffffff61038b16565b61018885670de0b6b3a764000063ffffffff61028d16565b949350505050565b600080610229670de0b6b3a76400008463ffffffff61038b16565b90506000610238878787610151565b90506000610258670de0b6b3a7640000610188848663ffffffff61028d16565b9050610281670de0b6b3a7640000610188836102758c8c8c6101bc565b9063ffffffff61028d16565b98975050505050505050565b60008261029c575060006102e9565b828202828482816102a957fe5b04146102e65760405162461bcd60e51b81526004018080602001828103825260218152602001806104ca6021913960400191505060405180910390fd5b90505b92915050565b60006102e683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506103cd565b6000828201838110156102e6576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60006102e683836040518060400160405280601f81526020017f536166654d6174683a207375627472616374696f6e20756e646572666c6f770081525061046f565b600081836104595760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561041e578181015183820152602001610406565b50505050905090810190601f16801561044b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161046557fe5b0495945050505050565b600081848411156104c15760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561041e578181015183820152602001610406565b50505090039056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a265627a7a72315820855e14ecbef046f826873339b82697d36b6354ed65548fe872c57c7b11c694fc64736f6c63430005110032536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77";
217
-
218
- type WhitePaperInterestRateModelConstructorParams =
219
- | [signer?: Signer]
220
- | ConstructorParameters<typeof ContractFactory>;
221
-
222
- const isSuperArgs = (
223
- xs: WhitePaperInterestRateModelConstructorParams
224
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
225
-
226
- export class WhitePaperInterestRateModel__factory extends ContractFactory {
227
- constructor(...args: WhitePaperInterestRateModelConstructorParams) {
228
- if (isSuperArgs(args)) {
229
- super(...args);
230
- } else {
231
- super(_abi, _bytecode, args[0]);
232
- }
233
- this.contractName = "WhitePaperInterestRateModel";
234
- }
235
-
236
- deploy(
237
- baseRatePerYear: BigNumberish,
238
- multiplierPerYear: BigNumberish,
239
- overrides?: Overrides & { from?: string | Promise<string> }
240
- ): Promise<WhitePaperInterestRateModel> {
241
- return super.deploy(
242
- baseRatePerYear,
243
- multiplierPerYear,
244
- overrides || {}
245
- ) as Promise<WhitePaperInterestRateModel>;
246
- }
247
- getDeployTransaction(
248
- baseRatePerYear: BigNumberish,
249
- multiplierPerYear: BigNumberish,
250
- overrides?: Overrides & { from?: string | Promise<string> }
251
- ): TransactionRequest {
252
- return super.getDeployTransaction(
253
- baseRatePerYear,
254
- multiplierPerYear,
255
- overrides || {}
256
- );
257
- }
258
- attach(address: string): WhitePaperInterestRateModel {
259
- return super.attach(address) as WhitePaperInterestRateModel;
260
- }
261
- connect(signer: Signer): WhitePaperInterestRateModel__factory {
262
- return super.connect(signer) as WhitePaperInterestRateModel__factory;
263
- }
264
- static readonly contractName: "WhitePaperInterestRateModel";
265
- public readonly contractName: "WhitePaperInterestRateModel";
266
- static readonly bytecode = _bytecode;
267
- static readonly abi = _abi;
268
- static createInterface(): WhitePaperInterestRateModelInterface {
269
- return new utils.Interface(_abi) as WhitePaperInterestRateModelInterface;
270
- }
271
- static connect(
272
- address: string,
273
- signerOrProvider: Signer | Provider
274
- ): WhitePaperInterestRateModel {
275
- return new Contract(
276
- address,
277
- _abi,
278
- signerOrProvider
279
- ) as WhitePaperInterestRateModel;
280
- }
281
- }