@pendle/core-v2 0.16.5-testnet → 0.17.0-daily

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 (349) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
  10. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +2 -2
  12. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
  15. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
  17. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
  19. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  21. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  22. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  23. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +16 -5
  24. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  25. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.json +0 -13
  26. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  27. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  28. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  29. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  30. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  31. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  32. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  33. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.json +2 -2
  34. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +7 -54
  36. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +27 -2
  38. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
  40. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  42. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
  44. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +25 -13
  47. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +221 -50
  49. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
  51. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.json +141 -0
  53. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  54. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.json +141 -0
  55. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  56. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
  57. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  58. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +143 -2
  59. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +4 -0
  60. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +1144 -0
  61. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +4 -0
  62. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +1209 -0
  63. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +4 -0
  64. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.json +10 -0
  65. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
  66. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.json +3 -82
  67. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +4 -0
  68. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.json +10 -0
  69. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +4 -0
  70. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/{ConvexCurveLP → base}/PendleConvexLPSY.sol/PendleConvexLPSY.json +142 -1
  71. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +4 -0
  72. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +997 -0
  73. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  74. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +143 -2
  75. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  76. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  77. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
  78. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  79. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +83 -10
  80. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  81. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +35 -4
  82. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  83. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.json +2 -2
  84. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  85. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.json +2 -2
  86. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  87. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.json +3 -38
  88. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  89. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.json +2 -2
  90. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
  91. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  92. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.json +2 -2
  93. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  94. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +131 -31
  95. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.json +1 -1
  97. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.json +14 -7
  99. package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +4 -0
  100. package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.json +213 -0
  101. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.json +1 -1
  103. package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.dbg.json +4 -0
  104. package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.json +30 -0
  105. package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.dbg.json +4 -0
  106. package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.json +76 -0
  107. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +8 -8
  109. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +18 -18
  111. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +2 -2
  115. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +28 -28
  117. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.json +0 -38
  119. package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.json +25 -0
  121. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +17 -5
  123. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +50 -19
  125. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.json +7 -7
  131. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +13 -0
  133. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  134. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  135. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.json +2 -2
  136. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
  137. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +71 -13
  138. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
  139. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +28 -46
  140. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
  141. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +138 -62
  142. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  143. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +37 -11
  144. package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +1 -1
  145. package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.json +2 -2
  146. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  147. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +20 -20
  148. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
  149. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +2 -2
  150. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  151. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +28 -2
  152. package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
  153. package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +29 -3
  154. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  155. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +30 -4
  156. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  157. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -186
  158. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  159. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  160. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  161. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  162. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  163. package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +1 -1
  164. package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +2 -2
  165. package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
  166. package/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol +1 -1
  167. package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +1 -1
  168. package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +3 -6
  169. package/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +1 -1
  170. package/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol +7 -4
  171. package/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol +10 -5
  172. package/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol +3 -6
  173. package/contracts/LiquidityMining/libraries/VeHistoryLib.sol +0 -5
  174. package/contracts/LiquidityMining/libraries/WeekMath.sol +1 -1
  175. package/contracts/core/BulkSeller/BulkSeller.sol +0 -15
  176. package/contracts/core/BulkSeller/BulkSellerFactory.sol +7 -6
  177. package/contracts/core/Market/MarketMathCore.sol +52 -11
  178. package/contracts/core/Market/PendleMarket.sol +35 -22
  179. package/contracts/core/Market/PendleMarketFactory.sol +67 -35
  180. package/contracts/core/StandardizedYield/SYBase.sol +26 -3
  181. package/contracts/core/StandardizedYield/SYBaseWithRewards.sol +3 -1
  182. package/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol +102 -0
  183. package/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol +160 -0
  184. package/contracts/core/StandardizedYield/implementations/Convex/README.md +29 -0
  185. package/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol +215 -0
  186. package/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol +46 -26
  187. package/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol +152 -0
  188. package/contracts/core/StandardizedYield/implementations/Convex/{ConvexCurveLP → base}/PendleConvexLPSY.sol +0 -0
  189. package/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol +128 -0
  190. package/contracts/core/YieldContracts/PendlePrincipalToken.sol +3 -3
  191. package/contracts/core/YieldContracts/PendleYieldContractFactory.sol +30 -12
  192. package/contracts/core/YieldContracts/PendleYieldToken.sol +79 -22
  193. package/contracts/core/erc20/PendleERC20.sol +4 -7
  194. package/contracts/core/libraries/BaseSplitCodeFactory.sol +1 -1
  195. package/contracts/core/libraries/BoringOwnableUpgradeable.sol +1 -1
  196. package/contracts/core/libraries/Errors.sol +18 -2
  197. package/contracts/interfaces/ConvexCurve/IBooster.sol +1 -1
  198. package/contracts/interfaces/Curve/ICrvPool.sol +3 -4
  199. package/contracts/interfaces/Curve/ITriCrvPool.sol +41 -0
  200. package/contracts/interfaces/IERC4626.sol +1 -1
  201. package/contracts/interfaces/ILooksFeeSharing.sol +5 -0
  202. package/contracts/interfaces/ILooksStaking.sol +13 -0
  203. package/contracts/interfaces/IPActionAddRemoveLiq.sol +4 -4
  204. package/contracts/interfaces/IPActionMintRedeem.sol +8 -8
  205. package/contracts/interfaces/IPActionSwapYT.sol +2 -2
  206. package/contracts/interfaces/IPBulkSeller.sol +0 -4
  207. package/contracts/interfaces/IPMarket.sol +20 -4
  208. package/contracts/interfaces/IPMarketFactory.sol +15 -5
  209. package/contracts/interfaces/IPMsgSendEndpoint.sol +1 -1
  210. package/contracts/interfaces/IPYieldContractFactory.sol +2 -2
  211. package/contracts/interfaces/IPYieldToken.sol +2 -0
  212. package/contracts/interfaces/IStandardizedYield.sol +15 -10
  213. package/contracts/offchain-helpers/BulkSellerOffchain.sol +17 -8
  214. package/contracts/offchain-helpers/MarketMathStatic.sol +35 -96
  215. package/contracts/offchain-helpers/RouterStatic.sol +49 -9
  216. package/contracts/router/ActionAddRemoveLiq.sol +102 -10
  217. package/contracts/router/ActionMintRedeem.sol +44 -4
  218. package/contracts/router/ActionSwapPT.sol +41 -11
  219. package/contracts/router/ActionSwapPTYT.sol +32 -7
  220. package/contracts/router/ActionSwapYT.sol +49 -33
  221. package/contracts/router/PendleRouter.sol +3 -11
  222. package/contracts/router/base/MarketApproxLib.sol +65 -22
  223. package/deployments/43113-core.json +19 -14
  224. package/deployments/43113-markets/WETH-FEB-2ND.json +10 -0
  225. package/package.json +7 -7
  226. package/typechain-types/AccessControlUpgradeable.ts +369 -0
  227. package/typechain-types/ActionAddRemoveLiq.ts +18 -18
  228. package/typechain-types/ActionMintRedeem.ts +30 -30
  229. package/typechain-types/ActionSwapPTYT.ts +5 -5
  230. package/typechain-types/ActionSwapYT.ts +5 -5
  231. package/typechain-types/BulkSeller.ts +5 -91
  232. package/typechain-types/BulkSellerFactory.ts +21 -0
  233. package/typechain-types/BulkSellerOffchain.ts +134 -0
  234. package/typechain-types/ContextUpgradeable.ts +68 -0
  235. package/typechain-types/ERC165Upgradeable.ts +113 -0
  236. package/typechain-types/IAccessControlUpgradeable.ts +305 -0
  237. package/typechain-types/IBooster.ts +9 -3
  238. package/typechain-types/ICrvPool.ts +4 -9
  239. package/typechain-types/IERC165Upgradeable.ts +102 -0
  240. package/typechain-types/IERC4626.ts +5 -5
  241. package/typechain-types/ILooksStaking.ts +27 -0
  242. package/typechain-types/IPActionAddRemoveLiq.ts +13 -13
  243. package/typechain-types/IPActionMintRedeem.ts +30 -30
  244. package/typechain-types/IPActionSwapYT.ts +5 -5
  245. package/typechain-types/IPAllAction.ts +48 -48
  246. package/typechain-types/IPBulkSeller.ts +0 -68
  247. package/typechain-types/IPBulkSellerFactory.ts +21 -0
  248. package/typechain-types/IPMarket.ts +26 -16
  249. package/typechain-types/IPMarketFactory.ts +70 -37
  250. package/typechain-types/IPMsgSendEndpoint.ts +1 -1
  251. package/typechain-types/IPYieldContractFactory.ts +11 -11
  252. package/typechain-types/IPYieldToken.ts +21 -0
  253. package/typechain-types/MarketMathStatic.ts +0 -67
  254. package/typechain-types/Pausable.ts +101 -0
  255. package/typechain-types/PendleConvexLPSY.ts +204 -0
  256. package/typechain-types/PendleCurveFraxUsdcSY.ts +204 -0
  257. package/typechain-types/PendleCurveUsdd3CrvSY.ts +204 -0
  258. package/typechain-types/PendleLooksStakingSY.ts +1256 -0
  259. package/typechain-types/PendleMarket.ts +26 -16
  260. package/typechain-types/PendleMarketFactory.ts +316 -92
  261. package/typechain-types/PendleQiTokenSY.ts +204 -0
  262. package/typechain-types/PendleRouter.ts +3 -287
  263. package/typechain-types/PendleWstEthSY.ts +204 -0
  264. package/typechain-types/PendleYieldContractFactory.ts +63 -18
  265. package/typechain-types/PendleYieldToken.ts +42 -0
  266. package/typechain-types/RouterStatic.ts +65 -7
  267. package/typechain-types/SYBase.ts +204 -0
  268. package/typechain-types/SYBaseWithRewards.ts +204 -0
  269. package/typechain-types/VotingEscrowPendleSidechain.ts +8 -8
  270. package/typechain-types/VotingEscrowTokenBase.ts +0 -21
  271. package/typechain-types/factories/AccessControlUpgradeable__factory.ts +247 -0
  272. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +36 -10
  273. package/typechain-types/factories/ActionCallback__factory.ts +1 -1
  274. package/typechain-types/factories/ActionMintRedeem__factory.ts +19 -19
  275. package/typechain-types/factories/ActionMisc__factory.ts +1 -1
  276. package/typechain-types/factories/ActionSwapPTYT__factory.ts +28 -2
  277. package/typechain-types/factories/ActionSwapPT__factory.ts +27 -1
  278. package/typechain-types/factories/ActionSwapYT__factory.ts +29 -3
  279. package/typechain-types/factories/AggregationRouterHelper__factory.ts +1 -1
  280. package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +1 -1
  281. package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +1 -1
  282. package/typechain-types/factories/BulkSellerFactory__factory.ts +26 -1
  283. package/typechain-types/factories/BulkSellerOffchain__factory.ts +70 -12
  284. package/typechain-types/factories/BulkSeller__factory.ts +6 -53
  285. package/typechain-types/factories/ContextUpgradeable__factory.ts +39 -0
  286. package/typechain-types/factories/ERC165Upgradeable__factory.ts +58 -0
  287. package/typechain-types/factories/Errors__factory.ts +130 -30
  288. package/typechain-types/factories/IAccessControlUpgradeable__factory.ts +202 -0
  289. package/typechain-types/factories/IBooster__factory.ts +1 -1
  290. package/typechain-types/factories/ICrvPool__factory.ts +14 -7
  291. package/typechain-types/factories/IERC165Upgradeable__factory.ts +45 -0
  292. package/typechain-types/factories/IERC4626__factory.ts +1 -1
  293. package/typechain-types/factories/ILooksStaking__factory.ts +7 -0
  294. package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +8 -8
  295. package/typechain-types/factories/IPActionMintRedeem__factory.ts +18 -18
  296. package/typechain-types/factories/IPActionSwapYT__factory.ts +2 -2
  297. package/typechain-types/factories/IPAllAction__factory.ts +28 -28
  298. package/typechain-types/factories/IPBulkSellerFactory__factory.ts +25 -0
  299. package/typechain-types/factories/IPBulkSeller__factory.ts +0 -38
  300. package/typechain-types/factories/IPMarketFactory__factory.ts +50 -19
  301. package/typechain-types/factories/IPMarket__factory.ts +17 -5
  302. package/typechain-types/factories/IPMsgSendEndpoint__factory.ts +1 -1
  303. package/typechain-types/factories/IPYieldContractFactory__factory.ts +7 -7
  304. package/typechain-types/factories/IPYieldToken__factory.ts +13 -0
  305. package/typechain-types/factories/ImplicitSwapfeeContract__factory.ts +1 -1
  306. package/typechain-types/factories/MarketMathStatic__factory.ts +27 -45
  307. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  308. package/typechain-types/factories/Pausable__factory.ts +62 -0
  309. package/typechain-types/factories/PendleConvexLPSY__factory.ts +141 -0
  310. package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +142 -1
  311. package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +145 -39
  312. package/typechain-types/factories/PendleERC20Permit__factory.ts +1 -1
  313. package/typechain-types/factories/PendleERC20__factory.ts +1 -1
  314. package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +1 -1
  315. package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
  316. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  317. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  318. package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1078 -0
  319. package/typechain-types/factories/PendleMarketFactory__factory.ts +220 -49
  320. package/typechain-types/factories/PendleMarket__factory.ts +18 -6
  321. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  322. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  323. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  324. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  325. package/typechain-types/factories/PendleQiTokenSY__factory.ts +142 -1
  326. package/typechain-types/factories/PendleRouter__factory.ts +1 -185
  327. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
  328. package/typechain-types/factories/PendleWstEthSY__factory.ts +142 -1
  329. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +82 -9
  330. package/typechain-types/factories/PendleYieldToken__factory.ts +38 -3
  331. package/typechain-types/factories/RouterStatic__factory.ts +79 -3
  332. package/typechain-types/factories/SYBaseWithRewards__factory.ts +141 -0
  333. package/typechain-types/factories/SYBase__factory.ts +141 -0
  334. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  335. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +15 -4
  336. package/typechain-types/factories/VotingEscrowTokenBase__factory.ts +0 -13
  337. package/typechain-types/hardhat.d.ts +107 -26
  338. package/typechain-types/index.ts +24 -6
  339. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +0 -4
  340. package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.dbg.json +0 -4
  341. package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.json +0 -182
  342. package/contracts/offchain-helpers/ImplicitSwapfeeContract.sol +0 -30
  343. package/deployments/43113-markets/benqi-market-QI-AVAX-FEB-2ND.json +0 -9
  344. package/deployments/43113-markets/benqi-market-QI-USDC-FEB-2ND.json +0 -8
  345. package/deployments/43113-markets/benqi-market-QI-WETH-DEC-1ST.json +0 -9
  346. package/deployments/80001-core.json +0 -16
  347. package/deployments/80001-markets/benqi-market-QI-USDC-FEB-2ND.json +0 -8
  348. package/deployments/80001-markets/benqi-market-QI-WETH-DEC-1ST.json +0 -8
  349. package/deployments/80001-testenv.json +0 -22
@@ -0,0 +1,1078 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
5
+ import { Provider, TransactionRequest } from "@ethersproject/providers";
6
+ import type {
7
+ PendleLooksStakingSY,
8
+ PendleLooksStakingSYInterface,
9
+ } from "../PendleLooksStakingSY";
10
+
11
+ const _abi = [
12
+ {
13
+ inputs: [
14
+ {
15
+ internalType: "string",
16
+ name: "_name",
17
+ type: "string",
18
+ },
19
+ {
20
+ internalType: "string",
21
+ name: "_symbol",
22
+ type: "string",
23
+ },
24
+ {
25
+ internalType: "address",
26
+ name: "_looks",
27
+ type: "address",
28
+ },
29
+ {
30
+ internalType: "address",
31
+ name: "_stakingContract",
32
+ type: "address",
33
+ },
34
+ {
35
+ internalType: "address",
36
+ name: "_feeSharingContract",
37
+ type: "address",
38
+ },
39
+ ],
40
+ stateMutability: "nonpayable",
41
+ type: "constructor",
42
+ },
43
+ {
44
+ inputs: [
45
+ {
46
+ internalType: "uint256",
47
+ name: "actualSharesOut",
48
+ type: "uint256",
49
+ },
50
+ {
51
+ internalType: "uint256",
52
+ name: "requiredSharesOut",
53
+ type: "uint256",
54
+ },
55
+ ],
56
+ name: "SYInsufficientSharesOut",
57
+ type: "error",
58
+ },
59
+ {
60
+ inputs: [
61
+ {
62
+ internalType: "uint256",
63
+ name: "actualTokenOut",
64
+ type: "uint256",
65
+ },
66
+ {
67
+ internalType: "uint256",
68
+ name: "requiredTokenOut",
69
+ type: "uint256",
70
+ },
71
+ ],
72
+ name: "SYInsufficientTokenOut",
73
+ type: "error",
74
+ },
75
+ {
76
+ inputs: [
77
+ {
78
+ internalType: "address",
79
+ name: "token",
80
+ type: "address",
81
+ },
82
+ ],
83
+ name: "SYInvalidTokenIn",
84
+ type: "error",
85
+ },
86
+ {
87
+ inputs: [
88
+ {
89
+ internalType: "address",
90
+ name: "token",
91
+ type: "address",
92
+ },
93
+ ],
94
+ name: "SYInvalidTokenOut",
95
+ type: "error",
96
+ },
97
+ {
98
+ inputs: [],
99
+ name: "SYZeroDeposit",
100
+ type: "error",
101
+ },
102
+ {
103
+ inputs: [],
104
+ name: "SYZeroRedeem",
105
+ type: "error",
106
+ },
107
+ {
108
+ anonymous: false,
109
+ inputs: [
110
+ {
111
+ indexed: true,
112
+ internalType: "address",
113
+ name: "owner",
114
+ type: "address",
115
+ },
116
+ {
117
+ indexed: true,
118
+ internalType: "address",
119
+ name: "spender",
120
+ type: "address",
121
+ },
122
+ {
123
+ indexed: false,
124
+ internalType: "uint256",
125
+ name: "value",
126
+ type: "uint256",
127
+ },
128
+ ],
129
+ name: "Approval",
130
+ type: "event",
131
+ },
132
+ {
133
+ anonymous: false,
134
+ inputs: [
135
+ {
136
+ indexed: true,
137
+ internalType: "address",
138
+ name: "user",
139
+ type: "address",
140
+ },
141
+ {
142
+ indexed: false,
143
+ internalType: "address[]",
144
+ name: "rewardTokens",
145
+ type: "address[]",
146
+ },
147
+ {
148
+ indexed: false,
149
+ internalType: "uint256[]",
150
+ name: "rewardAmounts",
151
+ type: "uint256[]",
152
+ },
153
+ ],
154
+ name: "ClaimRewards",
155
+ type: "event",
156
+ },
157
+ {
158
+ anonymous: false,
159
+ inputs: [
160
+ {
161
+ indexed: true,
162
+ internalType: "address",
163
+ name: "caller",
164
+ type: "address",
165
+ },
166
+ {
167
+ indexed: true,
168
+ internalType: "address",
169
+ name: "receiver",
170
+ type: "address",
171
+ },
172
+ {
173
+ indexed: true,
174
+ internalType: "address",
175
+ name: "tokenIn",
176
+ type: "address",
177
+ },
178
+ {
179
+ indexed: false,
180
+ internalType: "uint256",
181
+ name: "amountDeposited",
182
+ type: "uint256",
183
+ },
184
+ {
185
+ indexed: false,
186
+ internalType: "uint256",
187
+ name: "amountSyOut",
188
+ type: "uint256",
189
+ },
190
+ ],
191
+ name: "Deposit",
192
+ type: "event",
193
+ },
194
+ {
195
+ anonymous: false,
196
+ inputs: [
197
+ {
198
+ indexed: false,
199
+ internalType: "uint8",
200
+ name: "version",
201
+ type: "uint8",
202
+ },
203
+ ],
204
+ name: "Initialized",
205
+ type: "event",
206
+ },
207
+ {
208
+ anonymous: false,
209
+ inputs: [
210
+ {
211
+ indexed: true,
212
+ internalType: "address",
213
+ name: "previousOwner",
214
+ type: "address",
215
+ },
216
+ {
217
+ indexed: true,
218
+ internalType: "address",
219
+ name: "newOwner",
220
+ type: "address",
221
+ },
222
+ ],
223
+ name: "OwnershipTransferred",
224
+ type: "event",
225
+ },
226
+ {
227
+ anonymous: false,
228
+ inputs: [
229
+ {
230
+ indexed: false,
231
+ internalType: "address",
232
+ name: "account",
233
+ type: "address",
234
+ },
235
+ ],
236
+ name: "Paused",
237
+ type: "event",
238
+ },
239
+ {
240
+ anonymous: false,
241
+ inputs: [
242
+ {
243
+ indexed: true,
244
+ internalType: "address",
245
+ name: "caller",
246
+ type: "address",
247
+ },
248
+ {
249
+ indexed: true,
250
+ internalType: "address",
251
+ name: "receiver",
252
+ type: "address",
253
+ },
254
+ {
255
+ indexed: true,
256
+ internalType: "address",
257
+ name: "tokenOut",
258
+ type: "address",
259
+ },
260
+ {
261
+ indexed: false,
262
+ internalType: "uint256",
263
+ name: "amountSyToRedeem",
264
+ type: "uint256",
265
+ },
266
+ {
267
+ indexed: false,
268
+ internalType: "uint256",
269
+ name: "amountTokenOut",
270
+ type: "uint256",
271
+ },
272
+ ],
273
+ name: "Redeem",
274
+ type: "event",
275
+ },
276
+ {
277
+ anonymous: false,
278
+ inputs: [
279
+ {
280
+ indexed: true,
281
+ internalType: "address",
282
+ name: "from",
283
+ type: "address",
284
+ },
285
+ {
286
+ indexed: true,
287
+ internalType: "address",
288
+ name: "to",
289
+ type: "address",
290
+ },
291
+ {
292
+ indexed: false,
293
+ internalType: "uint256",
294
+ name: "value",
295
+ type: "uint256",
296
+ },
297
+ ],
298
+ name: "Transfer",
299
+ type: "event",
300
+ },
301
+ {
302
+ anonymous: false,
303
+ inputs: [
304
+ {
305
+ indexed: false,
306
+ internalType: "address",
307
+ name: "account",
308
+ type: "address",
309
+ },
310
+ ],
311
+ name: "Unpaused",
312
+ type: "event",
313
+ },
314
+ {
315
+ inputs: [],
316
+ name: "DOMAIN_SEPARATOR",
317
+ outputs: [
318
+ {
319
+ internalType: "bytes32",
320
+ name: "",
321
+ type: "bytes32",
322
+ },
323
+ ],
324
+ stateMutability: "view",
325
+ type: "function",
326
+ },
327
+ {
328
+ inputs: [
329
+ {
330
+ internalType: "address",
331
+ name: "",
332
+ type: "address",
333
+ },
334
+ ],
335
+ name: "accruedRewards",
336
+ outputs: [
337
+ {
338
+ internalType: "uint256[]",
339
+ name: "rewardAmounts",
340
+ type: "uint256[]",
341
+ },
342
+ ],
343
+ stateMutability: "view",
344
+ type: "function",
345
+ },
346
+ {
347
+ inputs: [
348
+ {
349
+ internalType: "address",
350
+ name: "owner",
351
+ type: "address",
352
+ },
353
+ {
354
+ internalType: "address",
355
+ name: "spender",
356
+ type: "address",
357
+ },
358
+ ],
359
+ name: "allowance",
360
+ outputs: [
361
+ {
362
+ internalType: "uint256",
363
+ name: "",
364
+ type: "uint256",
365
+ },
366
+ ],
367
+ stateMutability: "view",
368
+ type: "function",
369
+ },
370
+ {
371
+ inputs: [
372
+ {
373
+ internalType: "address",
374
+ name: "spender",
375
+ type: "address",
376
+ },
377
+ {
378
+ internalType: "uint256",
379
+ name: "amount",
380
+ type: "uint256",
381
+ },
382
+ ],
383
+ name: "approve",
384
+ outputs: [
385
+ {
386
+ internalType: "bool",
387
+ name: "",
388
+ type: "bool",
389
+ },
390
+ ],
391
+ stateMutability: "nonpayable",
392
+ type: "function",
393
+ },
394
+ {
395
+ inputs: [],
396
+ name: "assetInfo",
397
+ outputs: [
398
+ {
399
+ internalType: "enum IStandardizedYield.AssetType",
400
+ name: "assetType",
401
+ type: "uint8",
402
+ },
403
+ {
404
+ internalType: "address",
405
+ name: "assetAddress",
406
+ type: "address",
407
+ },
408
+ {
409
+ internalType: "uint8",
410
+ name: "assetDecimals",
411
+ type: "uint8",
412
+ },
413
+ ],
414
+ stateMutability: "view",
415
+ type: "function",
416
+ },
417
+ {
418
+ inputs: [
419
+ {
420
+ internalType: "address",
421
+ name: "account",
422
+ type: "address",
423
+ },
424
+ ],
425
+ name: "balanceOf",
426
+ outputs: [
427
+ {
428
+ internalType: "uint256",
429
+ name: "",
430
+ type: "uint256",
431
+ },
432
+ ],
433
+ stateMutability: "view",
434
+ type: "function",
435
+ },
436
+ {
437
+ inputs: [],
438
+ name: "claimOwnership",
439
+ outputs: [],
440
+ stateMutability: "nonpayable",
441
+ type: "function",
442
+ },
443
+ {
444
+ inputs: [
445
+ {
446
+ internalType: "address",
447
+ name: "",
448
+ type: "address",
449
+ },
450
+ ],
451
+ name: "claimRewards",
452
+ outputs: [
453
+ {
454
+ internalType: "uint256[]",
455
+ name: "rewardAmounts",
456
+ type: "uint256[]",
457
+ },
458
+ ],
459
+ stateMutability: "nonpayable",
460
+ type: "function",
461
+ },
462
+ {
463
+ inputs: [],
464
+ name: "decimals",
465
+ outputs: [
466
+ {
467
+ internalType: "uint8",
468
+ name: "",
469
+ type: "uint8",
470
+ },
471
+ ],
472
+ stateMutability: "view",
473
+ type: "function",
474
+ },
475
+ {
476
+ inputs: [
477
+ {
478
+ internalType: "address",
479
+ name: "receiver",
480
+ type: "address",
481
+ },
482
+ {
483
+ internalType: "address",
484
+ name: "tokenIn",
485
+ type: "address",
486
+ },
487
+ {
488
+ internalType: "uint256",
489
+ name: "amountTokenToDeposit",
490
+ type: "uint256",
491
+ },
492
+ {
493
+ internalType: "uint256",
494
+ name: "minSharesOut",
495
+ type: "uint256",
496
+ },
497
+ ],
498
+ name: "deposit",
499
+ outputs: [
500
+ {
501
+ internalType: "uint256",
502
+ name: "amountSharesOut",
503
+ type: "uint256",
504
+ },
505
+ ],
506
+ stateMutability: "payable",
507
+ type: "function",
508
+ },
509
+ {
510
+ inputs: [],
511
+ name: "exchangeRate",
512
+ outputs: [
513
+ {
514
+ internalType: "uint256",
515
+ name: "",
516
+ type: "uint256",
517
+ },
518
+ ],
519
+ stateMutability: "view",
520
+ type: "function",
521
+ },
522
+ {
523
+ inputs: [],
524
+ name: "feeSharingContract",
525
+ outputs: [
526
+ {
527
+ internalType: "address",
528
+ name: "",
529
+ type: "address",
530
+ },
531
+ ],
532
+ stateMutability: "view",
533
+ type: "function",
534
+ },
535
+ {
536
+ inputs: [],
537
+ name: "getRewardTokens",
538
+ outputs: [
539
+ {
540
+ internalType: "address[]",
541
+ name: "rewardTokens",
542
+ type: "address[]",
543
+ },
544
+ ],
545
+ stateMutability: "view",
546
+ type: "function",
547
+ },
548
+ {
549
+ inputs: [],
550
+ name: "getTokensIn",
551
+ outputs: [
552
+ {
553
+ internalType: "address[]",
554
+ name: "res",
555
+ type: "address[]",
556
+ },
557
+ ],
558
+ stateMutability: "view",
559
+ type: "function",
560
+ },
561
+ {
562
+ inputs: [],
563
+ name: "getTokensOut",
564
+ outputs: [
565
+ {
566
+ internalType: "address[]",
567
+ name: "res",
568
+ type: "address[]",
569
+ },
570
+ ],
571
+ stateMutability: "view",
572
+ type: "function",
573
+ },
574
+ {
575
+ inputs: [
576
+ {
577
+ internalType: "address",
578
+ name: "token",
579
+ type: "address",
580
+ },
581
+ ],
582
+ name: "isValidTokenIn",
583
+ outputs: [
584
+ {
585
+ internalType: "bool",
586
+ name: "",
587
+ type: "bool",
588
+ },
589
+ ],
590
+ stateMutability: "view",
591
+ type: "function",
592
+ },
593
+ {
594
+ inputs: [
595
+ {
596
+ internalType: "address",
597
+ name: "token",
598
+ type: "address",
599
+ },
600
+ ],
601
+ name: "isValidTokenOut",
602
+ outputs: [
603
+ {
604
+ internalType: "bool",
605
+ name: "",
606
+ type: "bool",
607
+ },
608
+ ],
609
+ stateMutability: "view",
610
+ type: "function",
611
+ },
612
+ {
613
+ inputs: [],
614
+ name: "looks",
615
+ outputs: [
616
+ {
617
+ internalType: "address",
618
+ name: "",
619
+ type: "address",
620
+ },
621
+ ],
622
+ stateMutability: "view",
623
+ type: "function",
624
+ },
625
+ {
626
+ inputs: [],
627
+ name: "name",
628
+ outputs: [
629
+ {
630
+ internalType: "string",
631
+ name: "",
632
+ type: "string",
633
+ },
634
+ ],
635
+ stateMutability: "view",
636
+ type: "function",
637
+ },
638
+ {
639
+ inputs: [
640
+ {
641
+ internalType: "address",
642
+ name: "owner",
643
+ type: "address",
644
+ },
645
+ ],
646
+ name: "nonces",
647
+ outputs: [
648
+ {
649
+ internalType: "uint256",
650
+ name: "",
651
+ type: "uint256",
652
+ },
653
+ ],
654
+ stateMutability: "view",
655
+ type: "function",
656
+ },
657
+ {
658
+ inputs: [],
659
+ name: "owner",
660
+ outputs: [
661
+ {
662
+ internalType: "address",
663
+ name: "",
664
+ type: "address",
665
+ },
666
+ ],
667
+ stateMutability: "view",
668
+ type: "function",
669
+ },
670
+ {
671
+ inputs: [],
672
+ name: "pause",
673
+ outputs: [],
674
+ stateMutability: "nonpayable",
675
+ type: "function",
676
+ },
677
+ {
678
+ inputs: [],
679
+ name: "paused",
680
+ outputs: [
681
+ {
682
+ internalType: "bool",
683
+ name: "",
684
+ type: "bool",
685
+ },
686
+ ],
687
+ stateMutability: "view",
688
+ type: "function",
689
+ },
690
+ {
691
+ inputs: [],
692
+ name: "pendingOwner",
693
+ outputs: [
694
+ {
695
+ internalType: "address",
696
+ name: "",
697
+ type: "address",
698
+ },
699
+ ],
700
+ stateMutability: "view",
701
+ type: "function",
702
+ },
703
+ {
704
+ inputs: [
705
+ {
706
+ internalType: "address",
707
+ name: "owner",
708
+ type: "address",
709
+ },
710
+ {
711
+ internalType: "address",
712
+ name: "spender",
713
+ type: "address",
714
+ },
715
+ {
716
+ internalType: "uint256",
717
+ name: "value",
718
+ type: "uint256",
719
+ },
720
+ {
721
+ internalType: "uint256",
722
+ name: "deadline",
723
+ type: "uint256",
724
+ },
725
+ {
726
+ internalType: "uint8",
727
+ name: "v",
728
+ type: "uint8",
729
+ },
730
+ {
731
+ internalType: "bytes32",
732
+ name: "r",
733
+ type: "bytes32",
734
+ },
735
+ {
736
+ internalType: "bytes32",
737
+ name: "s",
738
+ type: "bytes32",
739
+ },
740
+ ],
741
+ name: "permit",
742
+ outputs: [],
743
+ stateMutability: "nonpayable",
744
+ type: "function",
745
+ },
746
+ {
747
+ inputs: [
748
+ {
749
+ internalType: "address",
750
+ name: "tokenIn",
751
+ type: "address",
752
+ },
753
+ {
754
+ internalType: "uint256",
755
+ name: "amountTokenToDeposit",
756
+ type: "uint256",
757
+ },
758
+ ],
759
+ name: "previewDeposit",
760
+ outputs: [
761
+ {
762
+ internalType: "uint256",
763
+ name: "amountSharesOut",
764
+ type: "uint256",
765
+ },
766
+ ],
767
+ stateMutability: "view",
768
+ type: "function",
769
+ },
770
+ {
771
+ inputs: [
772
+ {
773
+ internalType: "address",
774
+ name: "tokenOut",
775
+ type: "address",
776
+ },
777
+ {
778
+ internalType: "uint256",
779
+ name: "amountSharesToRedeem",
780
+ type: "uint256",
781
+ },
782
+ ],
783
+ name: "previewRedeem",
784
+ outputs: [
785
+ {
786
+ internalType: "uint256",
787
+ name: "amountTokenOut",
788
+ type: "uint256",
789
+ },
790
+ ],
791
+ stateMutability: "view",
792
+ type: "function",
793
+ },
794
+ {
795
+ inputs: [
796
+ {
797
+ internalType: "address",
798
+ name: "receiver",
799
+ type: "address",
800
+ },
801
+ {
802
+ internalType: "uint256",
803
+ name: "amountSharesToRedeem",
804
+ type: "uint256",
805
+ },
806
+ {
807
+ internalType: "address",
808
+ name: "tokenOut",
809
+ type: "address",
810
+ },
811
+ {
812
+ internalType: "uint256",
813
+ name: "minTokenOut",
814
+ type: "uint256",
815
+ },
816
+ {
817
+ internalType: "bool",
818
+ name: "burnFromInternalBalance",
819
+ type: "bool",
820
+ },
821
+ ],
822
+ name: "redeem",
823
+ outputs: [
824
+ {
825
+ internalType: "uint256",
826
+ name: "amountTokenOut",
827
+ type: "uint256",
828
+ },
829
+ ],
830
+ stateMutability: "nonpayable",
831
+ type: "function",
832
+ },
833
+ {
834
+ inputs: [],
835
+ name: "rewardIndexesCurrent",
836
+ outputs: [
837
+ {
838
+ internalType: "uint256[]",
839
+ name: "indexes",
840
+ type: "uint256[]",
841
+ },
842
+ ],
843
+ stateMutability: "nonpayable",
844
+ type: "function",
845
+ },
846
+ {
847
+ inputs: [],
848
+ name: "rewardIndexesStored",
849
+ outputs: [
850
+ {
851
+ internalType: "uint256[]",
852
+ name: "indexes",
853
+ type: "uint256[]",
854
+ },
855
+ ],
856
+ stateMutability: "view",
857
+ type: "function",
858
+ },
859
+ {
860
+ inputs: [],
861
+ name: "stakingContract",
862
+ outputs: [
863
+ {
864
+ internalType: "address",
865
+ name: "",
866
+ type: "address",
867
+ },
868
+ ],
869
+ stateMutability: "view",
870
+ type: "function",
871
+ },
872
+ {
873
+ inputs: [],
874
+ name: "symbol",
875
+ outputs: [
876
+ {
877
+ internalType: "string",
878
+ name: "",
879
+ type: "string",
880
+ },
881
+ ],
882
+ stateMutability: "view",
883
+ type: "function",
884
+ },
885
+ {
886
+ inputs: [],
887
+ name: "totalSupply",
888
+ outputs: [
889
+ {
890
+ internalType: "uint256",
891
+ name: "",
892
+ type: "uint256",
893
+ },
894
+ ],
895
+ stateMutability: "view",
896
+ type: "function",
897
+ },
898
+ {
899
+ inputs: [
900
+ {
901
+ internalType: "address",
902
+ name: "to",
903
+ type: "address",
904
+ },
905
+ {
906
+ internalType: "uint256",
907
+ name: "amount",
908
+ type: "uint256",
909
+ },
910
+ ],
911
+ name: "transfer",
912
+ outputs: [
913
+ {
914
+ internalType: "bool",
915
+ name: "",
916
+ type: "bool",
917
+ },
918
+ ],
919
+ stateMutability: "nonpayable",
920
+ type: "function",
921
+ },
922
+ {
923
+ inputs: [
924
+ {
925
+ internalType: "address",
926
+ name: "from",
927
+ type: "address",
928
+ },
929
+ {
930
+ internalType: "address",
931
+ name: "to",
932
+ type: "address",
933
+ },
934
+ {
935
+ internalType: "uint256",
936
+ name: "amount",
937
+ type: "uint256",
938
+ },
939
+ ],
940
+ name: "transferFrom",
941
+ outputs: [
942
+ {
943
+ internalType: "bool",
944
+ name: "",
945
+ type: "bool",
946
+ },
947
+ ],
948
+ stateMutability: "nonpayable",
949
+ type: "function",
950
+ },
951
+ {
952
+ inputs: [
953
+ {
954
+ internalType: "address",
955
+ name: "newOwner",
956
+ type: "address",
957
+ },
958
+ {
959
+ internalType: "bool",
960
+ name: "direct",
961
+ type: "bool",
962
+ },
963
+ {
964
+ internalType: "bool",
965
+ name: "renounce",
966
+ type: "bool",
967
+ },
968
+ ],
969
+ name: "transferOwnership",
970
+ outputs: [],
971
+ stateMutability: "nonpayable",
972
+ type: "function",
973
+ },
974
+ {
975
+ inputs: [],
976
+ name: "unpause",
977
+ outputs: [],
978
+ stateMutability: "nonpayable",
979
+ type: "function",
980
+ },
981
+ {
982
+ inputs: [],
983
+ name: "yieldToken",
984
+ outputs: [
985
+ {
986
+ internalType: "address",
987
+ name: "",
988
+ type: "address",
989
+ },
990
+ ],
991
+ stateMutability: "view",
992
+ type: "function",
993
+ },
994
+ {
995
+ stateMutability: "payable",
996
+ type: "receive",
997
+ },
998
+ ];
999
+
1000
+ const _bytecode =
1001
+ "0x6101e06040523480156200001257600080fd5b50604051620035733803806200357383398101604081905262000035916200068a565b8484848282826001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000079573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200009f91906200072c565b6040805180820190915260018152603160f81b602082015283908184846003620000ca8482620007e7565b506004620000d98382620007e7565b5060ff166080525050600280546001600160f81b0316600160f81b17905581516020808401919091208251918301919091206101008290526101208190524660c0527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6200018c8184846040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b60a0523060e0526101405250506038805460ff191690555050600754600160a81b900460ff16159250829150508015620001d357506007546001600160a01b90910460ff16105b806200020a5750620001f0306200033960201b620010aa1760201c565b1580156200020a5750600754600160a01b900460ff166001145b620002735760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6007805460ff60a01b1916600160a01b1790558015620002a1576007805460ff60a81b1916600160a81b1790555b6001600160a01b03821661016052620002b962000348565b801562000302576007805460ff60a81b19169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050506001600160a01b03808516610180528381166101a05282166101c052506200032e8383620003cb565b505050505062000944565b6001600160a01b03163b151590565b600754600160a81b900460ff16620003b75760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016200026a565b600680546001600160a01b03191633179055565b6001600160a01b038216620003de575050565b620003f260026001600160601b03620008b3565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa1580156200044c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004729190620008e8565b101562000488576200048882826000196200048c565b5050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b1790529151600092839290871691620004ea919062000902565b6000604051808303816000865af19150503d806000811462000529576040519150601f19603f3d011682016040523d82523d6000602084013e6200052e565b606091505b50915091508180156200055c5750805115806200055c5750808060200190518101906200055c919062000920565b620005995760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b60448201526064016200026a565b5050505050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620005d3578181015183820152602001620005b9565b50506000910152565b600082601f830112620005ee57600080fd5b81516001600160401b03808211156200060b576200060b620005a0565b604051601f8301601f19908116603f01168101908282118183101715620006365762000636620005a0565b816040528381528660208588010111156200065057600080fd5b62000663846020830160208901620005b6565b9695505050505050565b80516001600160a01b03811681146200068557600080fd5b919050565b600080600080600060a08688031215620006a357600080fd5b85516001600160401b0380821115620006bb57600080fd5b620006c989838a01620005dc565b96506020880151915080821115620006e057600080fd5b50620006ef88828901620005dc565b94505062000700604087016200066d565b925062000710606087016200066d565b915062000720608087016200066d565b90509295509295909350565b6000602082840312156200073f57600080fd5b815160ff811681146200075157600080fd5b9392505050565b600181811c908216806200076d57607f821691505b6020821081036200078e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620007e257600081815260208120601f850160051c81016020861015620007bd5750805b601f850160051c820191505b81811015620007de57828155600101620007c9565b5050505b505050565b81516001600160401b03811115620008035762000803620005a0565b6200081b8162000814845462000758565b8462000794565b602080601f8311600181146200085357600084156200083a5750858301515b600019600386901b1c1916600185901b178555620007de565b600085815260208120601f198616915b82811015620008845788860151825594840194600190910190840162000863565b5085821015620008a35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006001600160601b0383811680620008dc57634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b600060208284031215620008fb57600080fd5b5051919050565b6000825162000916818460208701620005b6565b9190910192915050565b6000602082840312156200093357600080fd5b815180151581146200075157600080fd5b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c051612b4662000a2d600039600081816103f1015261196b01526000818161065f0152818161124a015281816112ee0152818161136a015281816118d1015281816119980152611c400152600081816103830152818161073701528181610cf701528181610d8e01528181610daf01528181611c0301528181611caa0152611cdf0152600061047b0152600061182f0152600061187e01526000611859015260006117b2015260006117dc01526000611806015260006102fe0152612b466000f3fe6080604052600436106101b95760003560e01c806306fdde03146101c5578063071bc3c9146101f0578063078dfbe714610212578063095ea7b314610234578063128fced11461026457806318160ddd1461029157806320e8c565146102b9578063213cae63146101f057806323b872dd146102cc578063313ce567146102ec5780633644e515146103325780633ba0b9a9146103475780633f4ba83a1461035c5780634e0ea0b2146103715780634e71e0c8146103b25780635c975abb146103c75780636be316c7146103df57806370a0823114610413578063769f8e5d1461044957806376d5de8514610469578063784367d61461049d5780637ecebe00146104bd5780638456cb59146104dd5780638da5cb5b146104f257806395d89b4114610512578063a40bee5014610527578063a9059cbb1461054b578063b8f82b261461056b578063c4f59f9b1461058b578063cbe52ae3146105ac578063d505accf146105cc578063da88ecb4146105ec578063dd62ed3e1461060d578063e30c39781461062d578063ee99205c1461064d578063ef5cfb8c14610264578063f8b2f991146105ec578063fa5a4f061461049d57600080fd5b366101c057005b600080fd5b3480156101d157600080fd5b506101da610681565b6040516101e7919061256e565b60405180910390f35b3480156101fc57600080fd5b50610205610713565b6040516101e791906125a1565b34801561021e57600080fd5b5061023261022d366004612618565b61078c565b005b34801561024057600080fd5b5061025461024f366004612661565b610892565b60405190151581526020016101e7565b34801561027057600080fd5b5061028461027f36600461268b565b6108ac565b6040516101e791906126a6565b34801561029d57600080fd5b506002546001600160f81b03165b6040519081526020016101e7565b6102ab6102c73660046126de565b6108c7565b3480156102d857600080fd5b506102546102e7366004612720565b610a10565b3480156102f857600080fd5b506103207f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016101e7565b34801561033e57600080fd5b506102ab610a8e565b34801561035357600080fd5b506102ab610a9d565b34801561036857600080fd5b50610232610ac0565b34801561037d57600080fd5b506103a57f000000000000000000000000000000000000000000000000000000000000000081565b6040516101e7919061275c565b3480156103be57600080fd5b50610232610af4565b3480156103d357600080fd5b5060385460ff16610254565b3480156103eb57600080fd5b506103a57f000000000000000000000000000000000000000000000000000000000000000081565b34801561041f57600080fd5b506102ab61042e36600461268b565b6001600160a01b031660009081526020819052604090205490565b34801561045557600080fd5b506102ab610464366004612770565b610ba0565b34801561047557600080fd5b506103a57f000000000000000000000000000000000000000000000000000000000000000081565b3480156104a957600080fd5b506102546104b836600461268b565b610cf5565b3480156104c957600080fd5b506102ab6104d836600461268b565b610d27565b3480156104e957600080fd5b50610232610d45565b3480156104fe57600080fd5b506006546103a5906001600160a01b031681565b34801561051e57600080fd5b506101da610d77565b34801561053357600080fd5b5061053c610d86565b6040516101e7939291906127e1565b34801561055757600080fd5b50610254610566366004612661565b610e3a565b34801561057757600080fd5b506102ab610586366004612661565b610eac565b34801561059757600080fd5b50604080516000815260208101909152610205565b3480156105b857600080fd5b506102ab6105c7366004612661565b610ee7565b3480156105d857600080fd5b506102326105e7366004612832565b610f1b565b3480156105f857600080fd5b50604080516000815260208101909152610284565b34801561061957600080fd5b506102ab61062836600461289f565b61107f565b34801561063957600080fd5b506007546103a5906001600160a01b031681565b34801561065957600080fd5b506103a57f000000000000000000000000000000000000000000000000000000000000000081565b606060038054610690906128d2565b80601f01602080910402602001604051908101604052809291908181526020018280546106bc906128d2565b80156107095780601f106106de57610100808354040283529160200191610709565b820191906000526020600020905b8154815290600101906020018083116106ec57829003601f168201915b5050505050905090565b604080516001808252818301909252606091602080830190803683370190505090507f00000000000000000000000000000000000000000000000000000000000000008160008151811061076957610769612906565b60200260200101906001600160a01b031690816001600160a01b03168152505090565b6006546001600160a01b031633146107bf5760405162461bcd60e51b81526004016107b69061291c565b60405180910390fd5b8115610871576001600160a01b0383161515806107d95750805b61081d5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b60448201526064016107b6565b6006546040516001600160a01b03808616921690600080516020612ad183398151915290600090a3600680546001600160a01b0385166001600160a01b031991821617909155600780549091169055505050565b600780546001600160a01b0319166001600160a01b0385161790555b505050565b6000336108a08185856110b9565b60019150505b92915050565b604080516000808252602082019092526060915b5092915050565b600254600090600119600160f81b90910460ff16016108f85760405162461bcd60e51b81526004016107b690612951565b600280546001600160f81b0316600160f91b17905561091684610cf5565b61093557836040516315d57ce360e31b81526004016107b6919061275c565b8260000361095657604051630a907f2f60e41b815260040160405180910390fd5b6109618433856111de565b61096b8484611245565b905081811015610992578082604051635e38f95d60e11b81526004016107b6929190612988565b61099c85826113f3565b836001600160a01b0316856001600160a01b0316336001600160a01b03167f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d5986856040516109eb929190612988565b60405180910390a4600280546001600160f81b0316600160f81b179055949350505050565b600254600090600119600160f81b90910460ff1601610a415760405162461bcd60e51b81526004016107b690612951565b600280546001600160f81b0316600160f91b17905533610a62858285611509565b610a6d858585611583565b6001915050600280546001600160f81b0316600160f81b1790559392505050565b6000610a986117a5565b905090565b6000806000610aaa6118cc565b9092509050610ab98183611a07565b9250505090565b6006546001600160a01b03163314610aea5760405162461bcd60e51b81526004016107b69061291c565b610af2611a36565b565b6007546001600160a01b0316338114610b4f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e657260448201526064016107b6565b6006546040516001600160a01b03808416921690600080516020612ad183398151915290600090a3600680546001600160a01b039092166001600160a01b0319928316179055600780549091169055565b600254600090600119600160f81b90910460ff1601610bd15760405162461bcd60e51b81526004016107b690612951565b600280546001600160f81b0316600160f91b179055610bef84610cf5565b610c0e57836040516388a5056160e01b81526004016107b6919061275c565b84600003610c2f5760405163c3d83b0760e01b815260040160405180910390fd5b8115610c4457610c3f3086611a82565b610c4e565b610c4e3386611a82565b610c59868587611bfb565b905082811015610c805780836040516305ff726560e51b81526004016107b6929190612988565b836001600160a01b0316866001600160a01b0316336001600160a01b03167faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c8885604051610ccf929190612988565b60405180910390a4600280546001600160f81b0316600160f81b17905595945050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0390811691161490565b6001600160a01b0381166000908152600560205260408120546108a6565b6006546001600160a01b03163314610d6f5760405162461bcd60e51b81526004016107b69061291c565b610af2611d0d565b606060048054610690906128d2565b6000806000807f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2f9190612996565b925092509250909192565b600254600090600119600160f81b90910460ff1601610e6b5760405162461bcd60e51b81526004016107b690612951565b600280546001600160f81b0316600160f91b17905533610e8c818585611583565b6001915050600280546001600160f81b0316600160f81b17905592915050565b6000610eb783610cf5565b610ed657826040516315d57ce360e31b81526004016107b6919061275c565b610ee08383611d4a565b9392505050565b6000610ef283610cf5565b610f1157826040516388a5056160e01b81526004016107b6919061275c565b610ee08383611d7a565b83421115610f6b5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016107b6565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610f9a8c611d97565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610ff582611dbf565b9050600061100582878787611e0d565b9050896001600160a01b0316816001600160a01b0316146110685760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016107b6565b6110738a8a8a6110b9565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b03163b151590565b6001600160a01b03831661111b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107b6565b6001600160a01b03821661117c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107b6565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03831661122a5780341461088d5760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b60448201526064016107b6565b801561088d5761088d6001600160a01b038416833084611e35565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631959a002306040518263ffffffff1660e01b8152600401611294919061275c565b602060405180830381865afa1580156112b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d591906129b3565b60405163b6b55f2560e01b8152600481018590529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063b6b55f2590602401600060405180830381600087803b15801561133a57600080fd5b505af115801561134e573d6000803e3d6000fd5b5050604051630cacd00160e11b81528392506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169150631959a002906113a090309060040161275c565b602060405180830381865afa1580156113bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e191906129b3565b6113eb91906129e2565b949350505050565b6001600160a01b0382166114495760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016107b6565b61145560008383611ea0565b61145e81611ea8565b600280546000906114799084906001600160f81b03166129f5565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555080600080846001600160a01b03166001600160a01b0316815260200190815260200160002060008282546114d19190612a15565b90915550506040518181526001600160a01b03831690600090600080516020612af18339815191529060200160405180910390a35050565b6000611515848461107f565b9050600019811461157d57818110156115705760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107b6565b61157d84848484036110b9565b50505050565b6001600160a01b0383166115e75760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107b6565b6001600160a01b0382166116495760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107b6565b816001600160a01b0316836001600160a01b0316036116a45760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b60448201526064016107b6565b6116af838383611ea0565b6001600160a01b038316600090815260208190526040902054818110156117275760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107b6565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061175e908490612a15565b92505081905550826001600160a01b0316846001600160a01b0316600080516020612af18339815191528460405161179891815260200190565b60405180910390a361157d565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480156117fe57507f000000000000000000000000000000000000000000000000000000000000000046145b1561182857507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316633a98ef396040518163ffffffff1660e01b8152600401602060405180830381865afa15801561192d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061195191906129b3565b60405163ab5e32af60e01b81529092506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ab5e32af906119c0907f00000000000000000000000000000000000000000000000000000000000000009060040161275c565b602060405180830381865afa1580156119dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a0191906129b3565b90509091565b600080611a1c670de0b6b3a764000085612a28565b9050828181611a2d57611a2d612a3f565b04949350505050565b611a3e611ec2565b6038805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b604051611a78919061275c565b60405180910390a1565b6001600160a01b038216611ae25760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016107b6565b611aee82600083611ea0565b6001600160a01b03821660009081526020819052604090205481811015611b625760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016107b6565b6001600160a01b03831660009081526020819052604090208282039055611b8882611ea8565b60028054600090611ba39084906001600160f81b0316612a55565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b0316600080516020612af1833981519152846040516111d191815260200190565b600080611c277f0000000000000000000000000000000000000000000000000000000000000000611f0b565b604051632e1a7d4d60e01b8152600481018590529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632e1a7d4d90602401600060405180830381600087803b158015611c8c57600080fd5b505af1158015611ca0573d6000803e3d6000fd5b5050505080611cce7f0000000000000000000000000000000000000000000000000000000000000000611f0b565b611cd891906129e2565b9150611d057f00000000000000000000000000000000000000000000000000000000000000008684611f95565b509392505050565b611d15612059565b6038805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611a6b3390565b6000806000611d576118cc565b909250905080611d678386612a28565b611d719190612a75565b95945050505050565b6000806000611d876118cc565b909250905081611d678286612a28565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b60006108a6611dcc6117a5565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000611e1e8787878761209f565b91509150611e2b81612182565b5095945050505050565b6040516001600160a01b038085166024830152831660448201526064810182905261157d9085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612336565b61088d612059565b60006001600160f81b03821115611ebe57600080fd5b5090565b60385460ff16610af25760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016107b6565b60006001600160a01b03821615611f8e576040516370a0823160e01b81526001600160a01b038316906370a0823190611f4890309060040161275c565b602060405180830381865afa158015611f65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f8991906129b3565b6108a6565b4792915050565b80600003611fa257505050565b6001600160a01b038316612045576000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611ffd576040519150601f19603f3d011682016040523d82523d6000602084013e612002565b606091505b505090508061157d5760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b60448201526064016107b6565b61088d6001600160a01b0384168383612408565b60385460ff1615610af25760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016107b6565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b038311156120cc5750600090506003612179565b8460ff16601b141580156120e457508460ff16601c14155b156120f55750600090506004612179565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612149573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661217257600060019250925050612179565b9150600090505b94509492505050565b6000816004811115612196576121966127cb565b0361219e5750565b60018160048111156121b2576121b26127cb565b036121fa5760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b60448201526064016107b6565b600281600481111561220e5761220e6127cb565b0361225b5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016107b6565b600381600481111561226f5761226f6127cb565b036122c75760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016107b6565b60048160048111156122db576122db6127cb565b036123335760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016107b6565b50565b600061238b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166124389092919063ffffffff16565b80519091501561088d57808060200190518101906123a99190612a97565b61088d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016107b6565b6040516001600160a01b03831660248201526044810182905261088d90849063a9059cbb60e01b90606401611e69565b60606113eb84846000858561244c856110aa565b6124985760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016107b6565b600080866001600160a01b031685876040516124b49190612ab4565b60006040518083038185875af1925050503d80600081146124f1576040519150601f19603f3d011682016040523d82523d6000602084013e6124f6565b606091505b5091509150612506828286612511565b979650505050505050565b60608315612520575081610ee0565b8251156125305782518084602001fd5b8160405162461bcd60e51b81526004016107b6919061256e565b60005b8381101561256557818101518382015260200161254d565b50506000910152565b602081526000825180602084015261258d81604085016020870161254a565b601f01601f19169190910160400192915050565b6020808252825182820181905260009190848201906040850190845b818110156125e25783516001600160a01b0316835292840192918401916001016125bd565b50909695505050505050565b80356001600160a01b038116811461260557600080fd5b919050565b801515811461233357600080fd5b60008060006060848603121561262d57600080fd5b612636846125ee565b925060208401356126468161260a565b915060408401356126568161260a565b809150509250925092565b6000806040838503121561267457600080fd5b61267d836125ee565b946020939093013593505050565b60006020828403121561269d57600080fd5b610ee0826125ee565b6020808252825182820181905260009190848201906040850190845b818110156125e2578351835292840192918401916001016126c2565b600080600080608085870312156126f457600080fd5b6126fd856125ee565b935061270b602086016125ee565b93969395505050506040820135916060013590565b60008060006060848603121561273557600080fd5b61273e846125ee565b925061274c602085016125ee565b9150604084013590509250925092565b6001600160a01b0391909116815260200190565b600080600080600060a0868803121561278857600080fd5b612791866125ee565b9450602086013593506127a6604087016125ee565b92506060860135915060808601356127bd8161260a565b809150509295509295909350565b634e487b7160e01b600052602160045260246000fd5b606081016002851061280357634e487b7160e01b600052602160045260246000fd5b9381526001600160a01b0392909216602083015260ff1660409091015290565b60ff8116811461233357600080fd5b600080600080600080600060e0888a03121561284d57600080fd5b612856886125ee565b9650612864602089016125ee565b95506040880135945060608801359350608088013561288281612823565b9699959850939692959460a0840135945060c09093013592915050565b600080604083850312156128b257600080fd5b6128bb836125ee565b91506128c9602084016125ee565b90509250929050565b600181811c908216806128e657607f821691505b602082108103611db957634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b918252602082015260400190565b6000602082840312156129a857600080fd5b8151610ee081612823565b6000602082840312156129c557600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b818103818111156108a6576108a66129cc565b6001600160f81b038181168382160190808211156108c0576108c06129cc565b808201808211156108a6576108a66129cc565b80820281158282048414176108a6576108a66129cc565b634e487b7160e01b600052601260045260246000fd5b6001600160f81b038281168282160390808211156108c0576108c06129cc565b600082612a9257634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215612aa957600080fd5b8151610ee08161260a565b60008251612ac681846020870161254a565b919091019291505056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220e89860791992cf15062f5404be6b78cb688343384485db052af70277e83c2bfc64736f6c63430008110033";
1002
+
1003
+ type PendleLooksStakingSYConstructorParams =
1004
+ | [signer?: Signer]
1005
+ | ConstructorParameters<typeof ContractFactory>;
1006
+
1007
+ const isSuperArgs = (
1008
+ xs: PendleLooksStakingSYConstructorParams
1009
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
1010
+
1011
+ export class PendleLooksStakingSY__factory extends ContractFactory {
1012
+ constructor(...args: PendleLooksStakingSYConstructorParams) {
1013
+ if (isSuperArgs(args)) {
1014
+ super(...args);
1015
+ } else {
1016
+ super(_abi, _bytecode, args[0]);
1017
+ }
1018
+ this.contractName = "PendleLooksStakingSY";
1019
+ }
1020
+
1021
+ deploy(
1022
+ _name: string,
1023
+ _symbol: string,
1024
+ _looks: string,
1025
+ _stakingContract: string,
1026
+ _feeSharingContract: string,
1027
+ overrides?: Overrides & { from?: string | Promise<string> }
1028
+ ): Promise<PendleLooksStakingSY> {
1029
+ return super.deploy(
1030
+ _name,
1031
+ _symbol,
1032
+ _looks,
1033
+ _stakingContract,
1034
+ _feeSharingContract,
1035
+ overrides || {}
1036
+ ) as Promise<PendleLooksStakingSY>;
1037
+ }
1038
+ getDeployTransaction(
1039
+ _name: string,
1040
+ _symbol: string,
1041
+ _looks: string,
1042
+ _stakingContract: string,
1043
+ _feeSharingContract: string,
1044
+ overrides?: Overrides & { from?: string | Promise<string> }
1045
+ ): TransactionRequest {
1046
+ return super.getDeployTransaction(
1047
+ _name,
1048
+ _symbol,
1049
+ _looks,
1050
+ _stakingContract,
1051
+ _feeSharingContract,
1052
+ overrides || {}
1053
+ );
1054
+ }
1055
+ attach(address: string): PendleLooksStakingSY {
1056
+ return super.attach(address) as PendleLooksStakingSY;
1057
+ }
1058
+ connect(signer: Signer): PendleLooksStakingSY__factory {
1059
+ return super.connect(signer) as PendleLooksStakingSY__factory;
1060
+ }
1061
+ static readonly contractName: "PendleLooksStakingSY";
1062
+ public readonly contractName: "PendleLooksStakingSY";
1063
+ static readonly bytecode = _bytecode;
1064
+ static readonly abi = _abi;
1065
+ static createInterface(): PendleLooksStakingSYInterface {
1066
+ return new utils.Interface(_abi) as PendleLooksStakingSYInterface;
1067
+ }
1068
+ static connect(
1069
+ address: string,
1070
+ signerOrProvider: Signer | Provider
1071
+ ): PendleLooksStakingSY {
1072
+ return new Contract(
1073
+ address,
1074
+ _abi,
1075
+ signerOrProvider
1076
+ ) as PendleLooksStakingSY;
1077
+ }
1078
+ }