@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,383 +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 { PendleGauge, PendleGaugeInterface } from "../PendleGauge";
14
-
15
- const _abi = [
16
- {
17
- inputs: [
18
- {
19
- internalType: "contract IERC20",
20
- name: "_lpToken",
21
- type: "address",
22
- },
23
- {
24
- internalType: "contract IVEPendleToken",
25
- name: "_vePendle",
26
- type: "address",
27
- },
28
- {
29
- internalType: "contract IGaugeController",
30
- name: "_controller",
31
- type: "address",
32
- },
33
- {
34
- internalType: "uint256",
35
- name: "_startTime",
36
- type: "uint256",
37
- },
38
- ],
39
- stateMutability: "nonpayable",
40
- type: "constructor",
41
- },
42
- {
43
- inputs: [],
44
- name: "DENOMINATOR",
45
- outputs: [
46
- {
47
- internalType: "uint256",
48
- name: "",
49
- type: "uint256",
50
- },
51
- ],
52
- stateMutability: "view",
53
- type: "function",
54
- },
55
- {
56
- inputs: [],
57
- name: "EPOCH_DURATION",
58
- outputs: [
59
- {
60
- internalType: "uint256",
61
- name: "",
62
- type: "uint256",
63
- },
64
- ],
65
- stateMutability: "view",
66
- type: "function",
67
- },
68
- {
69
- inputs: [],
70
- name: "LP_CONTRIB",
71
- outputs: [
72
- {
73
- internalType: "uint256",
74
- name: "",
75
- type: "uint256",
76
- },
77
- ],
78
- stateMutability: "view",
79
- type: "function",
80
- },
81
- {
82
- inputs: [],
83
- name: "VEPENDLE_CONTRIB",
84
- outputs: [
85
- {
86
- internalType: "uint256",
87
- name: "",
88
- type: "uint256",
89
- },
90
- ],
91
- stateMutability: "view",
92
- type: "function",
93
- },
94
- {
95
- inputs: [],
96
- name: "controller",
97
- outputs: [
98
- {
99
- internalType: "contract IGaugeController",
100
- name: "",
101
- type: "address",
102
- },
103
- ],
104
- stateMutability: "view",
105
- type: "function",
106
- },
107
- {
108
- inputs: [
109
- {
110
- internalType: "address",
111
- name: "user",
112
- type: "address",
113
- },
114
- ],
115
- name: "deposit",
116
- outputs: [],
117
- stateMutability: "nonpayable",
118
- type: "function",
119
- },
120
- {
121
- inputs: [
122
- {
123
- internalType: "uint256",
124
- name: "epochId",
125
- type: "uint256",
126
- },
127
- ],
128
- name: "getEpochEndingTimestamp",
129
- outputs: [
130
- {
131
- internalType: "uint256",
132
- name: "",
133
- type: "uint256",
134
- },
135
- ],
136
- stateMutability: "view",
137
- type: "function",
138
- },
139
- {
140
- inputs: [
141
- {
142
- internalType: "uint256",
143
- name: "timestamp",
144
- type: "uint256",
145
- },
146
- ],
147
- name: "getEpochId",
148
- outputs: [
149
- {
150
- internalType: "uint256",
151
- name: "",
152
- type: "uint256",
153
- },
154
- ],
155
- stateMutability: "view",
156
- type: "function",
157
- },
158
- {
159
- inputs: [
160
- {
161
- internalType: "uint256",
162
- name: "epochId",
163
- type: "uint256",
164
- },
165
- ],
166
- name: "getEpochStartingTimestamp",
167
- outputs: [
168
- {
169
- internalType: "uint256",
170
- name: "",
171
- type: "uint256",
172
- },
173
- ],
174
- stateMutability: "view",
175
- type: "function",
176
- },
177
- {
178
- inputs: [],
179
- name: "harvest",
180
- outputs: [],
181
- stateMutability: "nonpayable",
182
- type: "function",
183
- },
184
- {
185
- inputs: [],
186
- name: "lpToken",
187
- outputs: [
188
- {
189
- internalType: "contract IERC20",
190
- name: "",
191
- type: "address",
192
- },
193
- ],
194
- stateMutability: "view",
195
- type: "function",
196
- },
197
- {
198
- inputs: [],
199
- name: "pendle",
200
- outputs: [
201
- {
202
- internalType: "contract IERC20",
203
- name: "",
204
- type: "address",
205
- },
206
- ],
207
- stateMutability: "view",
208
- type: "function",
209
- },
210
- {
211
- inputs: [],
212
- name: "rewardInfo",
213
- outputs: [
214
- {
215
- internalType: "uint256",
216
- name: "supplyLp",
217
- type: "uint256",
218
- },
219
- {
220
- internalType: "uint256",
221
- name: "supplyWorking",
222
- type: "uint256",
223
- },
224
- {
225
- internalType: "uint256",
226
- name: "rewardIndex",
227
- type: "uint256",
228
- },
229
- {
230
- internalType: "uint256",
231
- name: "lastAccumulatedReward",
232
- type: "uint256",
233
- },
234
- ],
235
- stateMutability: "view",
236
- type: "function",
237
- },
238
- {
239
- inputs: [],
240
- name: "startTime",
241
- outputs: [
242
- {
243
- internalType: "uint256",
244
- name: "",
245
- type: "uint256",
246
- },
247
- ],
248
- stateMutability: "view",
249
- type: "function",
250
- },
251
- {
252
- inputs: [
253
- {
254
- internalType: "address",
255
- name: "",
256
- type: "address",
257
- },
258
- ],
259
- name: "userInfos",
260
- outputs: [
261
- {
262
- internalType: "uint256",
263
- name: "lpBalance",
264
- type: "uint256",
265
- },
266
- {
267
- internalType: "uint256",
268
- name: "workingBalance",
269
- type: "uint256",
270
- },
271
- {
272
- internalType: "uint256",
273
- name: "rewardAccrued",
274
- type: "uint256",
275
- },
276
- {
277
- internalType: "uint256",
278
- name: "lastRewardIndex",
279
- type: "uint256",
280
- },
281
- ],
282
- stateMutability: "view",
283
- type: "function",
284
- },
285
- {
286
- inputs: [],
287
- name: "vePendle",
288
- outputs: [
289
- {
290
- internalType: "contract IVEPendleToken",
291
- name: "",
292
- type: "address",
293
- },
294
- ],
295
- stateMutability: "view",
296
- type: "function",
297
- },
298
- {
299
- inputs: [
300
- {
301
- internalType: "uint256",
302
- name: "amount",
303
- type: "uint256",
304
- },
305
- ],
306
- name: "withdraw",
307
- outputs: [],
308
- stateMutability: "nonpayable",
309
- type: "function",
310
- },
311
- ];
312
-
313
- const _bytecode =
314
- "0x6101206040523480156200001257600080fd5b506040516200131a3803806200131a8339810160408190526200003591620000f9565b60808190526001600160a01b0380851660a05283811660e08190529083166101005260408051635162986d60e11b8152905163a2c530da91600480820192602092909190829003018186803b1580156200008e57600080fd5b505afa158015620000a3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000c9919062000153565b6001600160a01b031660c052506200017a92505050565b6001600160a01b0381168114620000f657600080fd5b50565b600080600080608085870312156200011057600080fd5b84516200011d81620000e0565b60208601519094506200013081620000e0565b60408601519093506200014381620000e0565b6060959095015193969295505050565b6000602082840312156200016657600080fd5b81516200017381620000e0565b9392505050565b60805160a05160c05160e0516101005161110e6200020c600039600081816102d2015281816105330152610bc301526000818161024101528181610881015261093101526000818161027001526105100152600081816101db015281816103f8015281816107ea0152610ac101526000818161021a0152818161035c0152818161057f01526105ea015261110e6000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c806378e97925116100a2578063a70b9f0c11610071578063a70b9f0c14610292578063b3fcb6ac1461029c578063c9f67072146102a4578063f340fa01146102ba578063f77c4791146102cd57600080fd5b806378e979251461021557806382dabb211461023c578063918f867414610263578063a2c530da1461026b57600080fd5b806343b0215f116100de57806343b0215f146101665780634641257d146101bb5780635303548b146101c35780635fcbd285146101d657600080fd5b806322fbbdf51461011057806327c8e9b61461012b5780632e1a7d4d1461013e57806343a3a39714610153575b600080fd5b610118602881565b6040519081526020015b60405180910390f35b610118610139366004610f5a565b6102f4565b61015161014c366004610f5a565b610386565b005b610118610161366004610f5a565b610493565b61019b610174366004610f73565b60046020526000908152604090208054600182015460028301546003909301549192909184565b604080519485526020850193909352918301526060820152608001610122565b6101516104e4565b6101186101d1366004610f5a565b61057b565b6101fd7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610122565b6101187f000000000000000000000000000000000000000000000000000000000000000081565b6101fd7f000000000000000000000000000000000000000000000000000000000000000081565b610118606481565b6101fd7f000000000000000000000000000000000000000000000000000000000000000081565b61011862093a8081565b610118603c81565b60005460015460025460035461019b9392919084565b6101516102c8366004610f73565b610624565b6101fd7f000000000000000000000000000000000000000000000000000000000000000081565b600080821161033d5760405162461bcd60e51b815260206004820152601060248201526f1253959053125117d15413d0d217d25160821b60448201526064015b60405180910390fd5b62093a8061034c600184610fb2565b6103569190610fc9565b610380907f0000000000000000000000000000000000000000000000000000000000000000610fe8565b92915050565b3360006103928261068f565b9050600083116103d25760405162461bcd60e51b815260206004820152600b60248201526a16915493d7d05353d5539560aa1b6044820152606401610334565b60405163a9059cbb60e01b81526001600160a01b038381166004830152602482018590527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb90604401602060405180830381600087803b15801561043c57600080fd5b505af1158015610450573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104749190611000565b5061048e828483600001516104899190610fb2565b61078c565b505050565b60008082116104d75760405162461bcd60e51b815260206004820152601060248201526f1253959053125117d15413d0d217d25160821b6044820152606401610334565b61035662093a8083610fc9565b3360006104f08261068f565b60408101519091501561057757604081015161055a906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016907f0000000000000000000000000000000000000000000000000000000000000000908590610a3f565b6001600160a01b0382166000908152600460205260408120600201555b5050565b60007f00000000000000000000000000000000000000000000000000000000000000008210156105e15760405162461bcd60e51b81526020600482015260116024820152700494e56414c49445f54494d455354414d5607c1b6044820152606401610334565b62093a8061060f7f000000000000000000000000000000000000000000000000000000000000000084610fb2565b6106199190611022565b610380906001610fe8565b600061062f8261068f565b9050600061063b610a9f565b90506000811161067b5760405162461bcd60e51b815260206004820152600b60248201526a16915493d7d05353d5539560aa1b6044820152606401610334565b61048e838284600001516104899190610fe8565b6106ba6040518060800160405280600081526020016000815260200160008152602001600081525090565b60006106c4610b59565b6001600160a01b0384166000908152600460209081526040918290208251608081018452815481526001820154928101839052600282015481850152600390910154606082018190529284015190955092935061072c92909161072691610fb2565b90610c97565b8260400181815161073d9190610fe8565b905250604090810151606083019081526001600160a01b039093166000908152600460209081529082902083518155908301516001820155908201516002820155915160039092019190915590565b6001600160a01b038281166000818152600460208181526040808420815160808101835281548152600182015493810193909352600281015483830152600301546060830152516370a0823160e01b815291820193909352919290917f0000000000000000000000000000000000000000000000000000000000000000909116906370a082319060240160206040518083038186803b15801561082e57600080fd5b505afa158015610842573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108669190611044565b83835290506000610878846028610fc9565b905060006109b17f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156108da57600080fd5b505af11580156108ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109129190611044565b6040516370a0823160e01b81526001600160a01b0389811660048301527f000000000000000000000000000000000000000000000000000000000000000016906370a082319060240160206040518083038186803b15801561097357600080fd5b505afa158015610987573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ab9190611044565b90610cc0565b905060006109bf8285610c97565b6109ca90603c610fc9565b905060646109d88285610fe8565b6109e29190611022565b60208601819052855110156109f957845160208601525b5050506001600160a01b03909316600090815260046020908152604091829020835181559083015160018201559082015160028201556060909101516003909101555050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610a99908590610d0e565b50505050565b6040516370a0823160e01b815230600482015260009081906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a082319060240160206040518083038186803b158015610b0357600080fd5b505afa158015610b17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3b9190611044565b6000805491925090610b4d9083610fb2565b60008190559392505050565b610b846040518060800160405280600081526020016000815260200160008152602001600081525090565b50604080516080810182526000805482526001546020830152600254828401526003546060830152915163c3e7a86f60e01b81523060048201529091907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063c3e7a86f90602401602060405180830381600087803b158015610c0f57600080fd5b505af1158015610c23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c479190611044565b9050610c6182602001518360600151836109ab9190610fb2565b82604001818151610c729190610fe8565b9052506060820181905281516000556020820151600155604082015160025560035590565b600080610ca48385610fc9565b9050610cb8670de0b6b3a764000082611022565b949350505050565b600082610ccf57506000610380565b6000610ce3670de0b6b3a764000085610fc9565b905082610cf1600183610fb2565b610cfb9190611022565b610d06906001610fe8565b915050610380565b6000610d63826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610de09092919063ffffffff16565b80519091501561048e5780806020019051810190610d819190611000565b61048e5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610334565b6060610def8484600085610df9565b90505b9392505050565b606082471015610e5a5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610334565b843b610ea85760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610334565b600080866001600160a01b03168587604051610ec49190611089565b60006040518083038185875af1925050503d8060008114610f01576040519150601f19603f3d011682016040523d82523d6000602084013e610f06565b606091505b5091509150610f16828286610f21565b979650505050505050565b60608315610f30575081610df2565b825115610f405782518084602001fd5b8160405162461bcd60e51b815260040161033491906110a5565b600060208284031215610f6c57600080fd5b5035919050565b600060208284031215610f8557600080fd5b81356001600160a01b0381168114610df257600080fd5b634e487b7160e01b600052601160045260246000fd5b600082821015610fc457610fc4610f9c565b500390565b6000816000190483118215151615610fe357610fe3610f9c565b500290565b60008219821115610ffb57610ffb610f9c565b500190565b60006020828403121561101257600080fd5b81518015158114610df257600080fd5b60008261103f57634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561105657600080fd5b5051919050565b60005b83811015611078578181015183820152602001611060565b83811115610a995750506000910152565b6000825161109b81846020870161105d565b9190910192915050565b60208152600082518060208401526110c481604085016020870161105d565b601f01601f1916919091016040019291505056fea26469706673582212201afaf137331b1fb97992235cd2d08225cd03c2c1db54864004e7adcb29d072b964736f6c63430008090033";
315
-
316
- type PendleGaugeConstructorParams =
317
- | [signer?: Signer]
318
- | ConstructorParameters<typeof ContractFactory>;
319
-
320
- const isSuperArgs = (
321
- xs: PendleGaugeConstructorParams
322
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
323
-
324
- export class PendleGauge__factory extends ContractFactory {
325
- constructor(...args: PendleGaugeConstructorParams) {
326
- if (isSuperArgs(args)) {
327
- super(...args);
328
- } else {
329
- super(_abi, _bytecode, args[0]);
330
- }
331
- this.contractName = "PendleGauge";
332
- }
333
-
334
- deploy(
335
- _lpToken: string,
336
- _vePendle: string,
337
- _controller: string,
338
- _startTime: BigNumberish,
339
- overrides?: Overrides & { from?: string | Promise<string> }
340
- ): Promise<PendleGauge> {
341
- return super.deploy(
342
- _lpToken,
343
- _vePendle,
344
- _controller,
345
- _startTime,
346
- overrides || {}
347
- ) as Promise<PendleGauge>;
348
- }
349
- getDeployTransaction(
350
- _lpToken: string,
351
- _vePendle: string,
352
- _controller: string,
353
- _startTime: BigNumberish,
354
- overrides?: Overrides & { from?: string | Promise<string> }
355
- ): TransactionRequest {
356
- return super.getDeployTransaction(
357
- _lpToken,
358
- _vePendle,
359
- _controller,
360
- _startTime,
361
- overrides || {}
362
- );
363
- }
364
- attach(address: string): PendleGauge {
365
- return super.attach(address) as PendleGauge;
366
- }
367
- connect(signer: Signer): PendleGauge__factory {
368
- return super.connect(signer) as PendleGauge__factory;
369
- }
370
- static readonly contractName: "PendleGauge";
371
- public readonly contractName: "PendleGauge";
372
- static readonly bytecode = _bytecode;
373
- static readonly abi = _abi;
374
- static createInterface(): PendleGaugeInterface {
375
- return new utils.Interface(_abi) as PendleGaugeInterface;
376
- }
377
- static connect(
378
- address: string,
379
- signerOrProvider: Signer | Provider
380
- ): PendleGauge {
381
- return new Contract(address, _abi, signerOrProvider) as PendleGauge;
382
- }
383
- }
@@ -1,52 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
-
5
- import { Contract, Signer, utils } from "ethers";
6
- import { Provider } from "@ethersproject/providers";
7
- import type {
8
- PendleJoeSwapHelper,
9
- PendleJoeSwapHelperInterface,
10
- } from "../PendleJoeSwapHelper";
11
-
12
- const _abi = [
13
- {
14
- inputs: [],
15
- name: "joeFactory",
16
- outputs: [
17
- {
18
- internalType: "address",
19
- name: "",
20
- type: "address",
21
- },
22
- ],
23
- stateMutability: "view",
24
- type: "function",
25
- },
26
- {
27
- inputs: [],
28
- name: "joeRouter",
29
- outputs: [
30
- {
31
- internalType: "address",
32
- name: "",
33
- type: "address",
34
- },
35
- ],
36
- stateMutability: "view",
37
- type: "function",
38
- },
39
- ];
40
-
41
- export class PendleJoeSwapHelper__factory {
42
- static readonly abi = _abi;
43
- static createInterface(): PendleJoeSwapHelperInterface {
44
- return new utils.Interface(_abi) as PendleJoeSwapHelperInterface;
45
- }
46
- static connect(
47
- address: string,
48
- signerOrProvider: Signer | Provider
49
- ): PendleJoeSwapHelper {
50
- return new Contract(address, _abi, signerOrProvider) as PendleJoeSwapHelper;
51
- }
52
- }