@pendle/core-v2 3.0.0-beta-9 → 3.0.0-beta-10

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 (369) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  6. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +4 -0
  7. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.json +426 -0
  8. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  12. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  13. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  14. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  15. package/build/artifacts/contracts/core/Market/v2/PendleGaugeV2.sol/PendleGaugeV2.dbg.json +1 -1
  16. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  17. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  18. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  19. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  20. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAPoolHelper.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAWethHelper.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearMath.sol/LinearMath.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearPreview.sol/LinearPreview.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/FluxTokenLib.sol/FluxTokenLib.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaLpHelper.sol/ThenaLpHelper.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaMath.sol/ThenaMath.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  54. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  55. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  56. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  57. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  58. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  59. package/build/artifacts/contracts/interfaces/Ankr/IAnkrBNB.sol/IAnkrBNB.dbg.json +1 -1
  60. package/build/artifacts/contracts/interfaces/Ankr/IAnkrLiquidStaking.sol/IAnkrLiquidStaking.dbg.json +1 -1
  61. package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.dbg.json +1 -1
  62. package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.dbg.json +1 -1
  63. package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +1 -1
  65. package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/Balancer/IERC4626LinearPool.sol/IERC4626LinearPool.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/Balancer/IPComposableStablePreview.sol/IPComposableStablePreview.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/Balancer/IVersion.sol/IVersion.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/BinanceEth/IWBETH.sol/IWBETH.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/Camelot/ICamelotFactory.sol/ICamelotFactory.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTFactory.sol/ICamelotNFTFactory.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTHandler.sol/ICamelotNFTHandler.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPoolFactory.sol/ICamelotNitroPoolFactory.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/Camelot/ICamelotPair.sol/ICamelotPair.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/Camelot/ICamelotRouter.sol/ICamelotRouter.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/Camelot/ICamelotYieldBooster.sol/ICamelotYieldBooster.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/Camelot/IXGrail.sol/IXGrail.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/Flux/IFluxErc20.sol/IFluxErc20.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/Flux/IFluxInterestRateModel.sol/IFluxInterestRateModel.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/Frax/IFrxEthMinter.sol/IFrxEthMinter.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/GMX/IGMXVault.sol/IGMXVault.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/GMX/IGlpManager.sol/IGlpManager.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/GMX/IVaultPriceFeed.sol/IVaultPriceFeed.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/HMX/IHLPStaking.sol/IHLPStaking.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/HMX/IHMXCalculator.sol/IHMXCalculator.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/HMX/IHMXCompounder.sol/IHMXCompounder.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/HMX/IHMXStaking.sol/IHMXStaking.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/HMX/IHMXVester.sol/IHMXVester.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IDailLikePermit.sol/IDaiLikePermit.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IDiamondCut.sol/IDiamondCut.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPExternalRewardDistributor.sol/IPExternalRewardDistributor.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/ILimitOrderCallee.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPOrderMixin.dbg.json +1 -1
  137. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPOrderMixinType.dbg.json +1 -1
  138. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  139. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  140. package/build/artifacts/contracts/interfaces/IPMarketFactoryV2.sol/IPMarketFactoryV2.dbg.json +1 -1
  141. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  142. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +4 -0
  143. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.json +150 -0
  144. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  145. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  146. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  147. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  148. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  149. package/build/artifacts/contracts/interfaces/IPPtOracle.sol/IPPtOracle.dbg.json +1 -1
  150. package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.dbg.json +1 -1
  151. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  152. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  153. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  154. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  155. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  156. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  157. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  158. package/build/artifacts/contracts/interfaces/IPendlePreviewHelper.sol/IPendlePreviewHelper.dbg.json +1 -1
  159. package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
  160. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
  161. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
  162. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  163. package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
  164. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  165. package/build/artifacts/contracts/interfaces/IStargateLP.sol/IStargateLP.dbg.json +1 -1
  166. package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
  167. package/build/artifacts/contracts/interfaces/IStargateStaking.sol/IStargateStaking.dbg.json +1 -1
  168. package/build/artifacts/contracts/interfaces/ISwETH.sol/ISwETH.dbg.json +1 -1
  169. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  170. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  171. package/build/artifacts/contracts/interfaces/Lybra/IEUSD.sol/IEUSD.dbg.json +1 -1
  172. package/build/artifacts/contracts/interfaces/Thena/IThenaFactory.sol/IThenaFactory.dbg.json +1 -1
  173. package/build/artifacts/contracts/interfaces/Thena/IThenaGaugeV2.sol/IThenaGaugeV2.dbg.json +1 -1
  174. package/build/artifacts/contracts/interfaces/Thena/IThenaPair.sol/IThenaPair.dbg.json +1 -1
  175. package/build/artifacts/contracts/interfaces/Thena/IThenaRouter.sol/IThenaRouter.dbg.json +1 -1
  176. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  177. package/build/artifacts/contracts/limit/PendleOrderMixin.sol/PendleOrderMixin.dbg.json +1 -1
  178. package/build/artifacts/contracts/limit/helpers/ArgumentsDecoder.sol/ArgumentsDecoder.dbg.json +1 -1
  179. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  180. package/build/artifacts/contracts/limit/helpers/Permitable.sol/Permitable.dbg.json +1 -1
  181. package/build/artifacts/contracts/limit/helpers/RevertReasonParser.sol/RevertReasonParser.dbg.json +1 -1
  182. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  183. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  184. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  185. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  186. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  187. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  188. package/build/artifacts/contracts/offchain-helpers/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  189. package/build/artifacts/contracts/offchain-helpers/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  190. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  191. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  192. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  193. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  194. package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.dbg.json +1 -1
  195. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  196. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  197. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  198. package/build/artifacts/contracts/offchain-helpers/PtAndLpToAsset.sol/PtAndLpToAsset.dbg.json +1 -1
  199. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  200. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  201. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  202. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  203. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  204. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  205. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  206. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  207. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  208. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  209. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
  210. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
  211. package/build/artifacts/contracts/router/PendleRouterHelper.sol/RouterV2InterfaceForRouterHelper.dbg.json +1 -1
  212. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  213. package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
  214. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  215. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  216. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  217. package/build/artifacts/contracts/router/base/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  218. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  219. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
  220. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IExecutorHelper.sol/IExecutorHelper.dbg.json +1 -1
  221. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
  222. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberInputScalingHelper.sol/KyberInputScalingHelper.dbg.json +1 -1
  223. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScalingDataLib.sol/ScalingDataLib.dbg.json +1 -1
  224. package/build/artifacts/contracts/router/swap-aggregator/oneinch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +1 -1
  225. package/build/artifacts/contracts/router/swap-aggregator/oneinch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +1 -1
  226. package/contracts/LiquidityMining/PendleMerkleDistributor.sol +95 -0
  227. package/contracts/interfaces/IPMerkleDistributor.sol +24 -0
  228. package/package.json +1 -1
  229. package/typechain-types/factories/PendleMerkleDistributor__factory.ts +1 -1
  230. package/typechain-types/hardhat.d.ts +0 -675
  231. package/typechain-types/index.ts +0 -138
  232. package/typechain-types/AccessControlUpgradeable.ts +0 -369
  233. package/typechain-types/ActionAddRemoveLiq.ts +0 -1239
  234. package/typechain-types/ActionMintRedeem.ts +0 -673
  235. package/typechain-types/ActionMisc.ts +0 -155
  236. package/typechain-types/ActionSwapPT.ts +0 -544
  237. package/typechain-types/ActionSwapYT.ts +0 -730
  238. package/typechain-types/AuraWethVethSYUpg.ts +0 -1612
  239. package/typechain-types/BeaconProxy.ts +0 -97
  240. package/typechain-types/BulkSeller.ts +0 -743
  241. package/typechain-types/BulkSellerFactory.ts +0 -712
  242. package/typechain-types/BulkSellerOffchain.ts +0 -251
  243. package/typechain-types/ContextUpgradeable.ts +0 -68
  244. package/typechain-types/EIP712.ts +0 -135
  245. package/typechain-types/ERC165Upgradeable.ts +0 -113
  246. package/typechain-types/GMTokenPricingHelper.ts +0 -478
  247. package/typechain-types/IAccessControlUpgradeable.ts +0 -305
  248. package/typechain-types/IAggregationExecutorOptimistic.ts +0 -394
  249. package/typechain-types/IERC165Upgradeable.ts +0 -102
  250. package/typechain-types/IERC1967.ts +0 -97
  251. package/typechain-types/IERC5267.ts +0 -135
  252. package/typechain-types/IERC5267Upgradeable.ts +0 -135
  253. package/typechain-types/IExecutorHelperL2.ts +0 -2272
  254. package/typechain-types/IGMXPriceHelper.ts +0 -84
  255. package/typechain-types/IGMXV2DataStore.ts +0 -87
  256. package/typechain-types/IGMXV2Oracle.ts +0 -107
  257. package/typechain-types/IGMXV2Reader.ts +0 -204
  258. package/typechain-types/IKyberElasticFactory.ts +0 -734
  259. package/typechain-types/IKyberElasticPool.ts +0 -514
  260. package/typechain-types/IKyberElasticRouter.ts +0 -315
  261. package/typechain-types/IKyberLiquidityMining.ts +0 -968
  262. package/typechain-types/IKyberMathHelper.ts +0 -231
  263. package/typechain-types/IKyberPositionManager.ts +0 -773
  264. package/typechain-types/IMUXRewardRouter.ts +0 -1599
  265. package/typechain-types/IPActionAddRemoveLiq.ts +0 -1239
  266. package/typechain-types/IPActionMintRedeem.ts +0 -673
  267. package/typechain-types/IPActionMisc.ts +0 -155
  268. package/typechain-types/IPActionSwapPT.ts +0 -544
  269. package/typechain-types/IPActionSwapYT.ts +0 -686
  270. package/typechain-types/IPAllAction.ts +0 -2935
  271. package/typechain-types/IPBulkSeller.ts +0 -391
  272. package/typechain-types/IPBulkSellerCallback.ts +0 -115
  273. package/typechain-types/IPBulkSellerFactory.ts +0 -152
  274. package/typechain-types/IPLinearDistributor.ts +0 -199
  275. package/typechain-types/IPOffchainStorage.ts +0 -146
  276. package/typechain-types/IPPriceFeed.ts +0 -81
  277. package/typechain-types/ISilo.ts +0 -1093
  278. package/typechain-types/ISiloIncentiveController.ts +0 -129
  279. package/typechain-types/ISiloLens.ts +0 -107
  280. package/typechain-types/KyberMathHelper.ts +0 -604
  281. package/typechain-types/KyberNftManagerBaseUpg.ts +0 -148
  282. package/typechain-types/MlpPricingHelper.ts +0 -397
  283. package/typechain-types/PendleAuraBalancerStableLPSYV3Upg.ts +0 -1577
  284. package/typechain-types/PendleERC20PermitUpg.ts +0 -517
  285. package/typechain-types/PendleERC20Upg.ts +0 -348
  286. package/typechain-types/PendleGMV2TokenSY.ts +0 -1434
  287. package/typechain-types/PendleKyberElasticSYUpg.ts +0 -1648
  288. package/typechain-types/PendleLinearDistributor.ts +0 -829
  289. package/typechain-types/PendleMlpSY.ts +0 -1606
  290. package/typechain-types/PendleOffchainStorage.ts +0 -666
  291. package/typechain-types/PendleRouter.ts +0 -217
  292. package/typechain-types/PendleRouterHelper2.ts +0 -185
  293. package/typechain-types/PendleSiloWithIncentiveSY.ts +0 -1455
  294. package/typechain-types/PendleSwapBase.ts +0 -126
  295. package/typechain-types/PendleSwapL1.ts +0 -126
  296. package/typechain-types/PendleSwapL2.ts +0 -126
  297. package/typechain-types/ReentrancyGuardUpgradeable.ts +0 -68
  298. package/typechain-types/SYBaseUpg.ts +0 -1270
  299. package/typechain-types/SYBaseWithRewardsUpg.ts +0 -1363
  300. package/typechain-types/ShortStrings.ts +0 -57
  301. package/typechain-types/factories/AccessControlUpgradeable__factory.ts +0 -247
  302. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +0 -1676
  303. package/typechain-types/factories/ActionMintRedeem__factory.ts +0 -806
  304. package/typechain-types/factories/ActionMisc__factory.ts +0 -129
  305. package/typechain-types/factories/ActionSwapPT__factory.ts +0 -770
  306. package/typechain-types/factories/ActionSwapYT__factory.ts +0 -1041
  307. package/typechain-types/factories/AuraWethVethSYUpg__factory.ts +0 -1264
  308. package/typechain-types/factories/BeaconProxy__factory.ts +0 -141
  309. package/typechain-types/factories/BulkSellerFactory__factory.ts +0 -574
  310. package/typechain-types/factories/BulkSellerOffchain__factory.ts +0 -178
  311. package/typechain-types/factories/BulkSeller__factory.ts +0 -692
  312. package/typechain-types/factories/ContextUpgradeable__factory.ts +0 -39
  313. package/typechain-types/factories/EIP712__factory.ts +0 -85
  314. package/typechain-types/factories/ERC165Upgradeable__factory.ts +0 -58
  315. package/typechain-types/factories/GMTokenPricingHelper__factory.ts +0 -354
  316. package/typechain-types/factories/IAccessControlUpgradeable__factory.ts +0 -202
  317. package/typechain-types/factories/IAggregationExecutorOptimistic__factory.ts +0 -213
  318. package/typechain-types/factories/IERC165Upgradeable__factory.ts +0 -45
  319. package/typechain-types/factories/IERC1967__factory.ts +0 -68
  320. package/typechain-types/factories/IERC5267Upgradeable__factory.ts +0 -75
  321. package/typechain-types/factories/IERC5267__factory.ts +0 -72
  322. package/typechain-types/factories/IExecutorHelperL2__factory.ts +0 -1862
  323. package/typechain-types/factories/IGMXPriceHelper__factory.ts +0 -45
  324. package/typechain-types/factories/IGMXV2DataStore__factory.ts +0 -45
  325. package/typechain-types/factories/IGMXV2Oracle__factory.ts +0 -47
  326. package/typechain-types/factories/IGMXV2Reader__factory.ts +0 -192
  327. package/typechain-types/factories/IKyberElasticFactory__factory.ts +0 -455
  328. package/typechain-types/factories/IKyberElasticPool__factory.ts +0 -315
  329. package/typechain-types/factories/IKyberElasticRouter__factory.ts +0 -240
  330. package/typechain-types/factories/IKyberLiquidityMining__factory.ts +0 -913
  331. package/typechain-types/factories/IKyberMathHelper__factory.ts +0 -143
  332. package/typechain-types/factories/IKyberPositionManager__factory.ts +0 -633
  333. package/typechain-types/factories/IMUXRewardRouter__factory.ts +0 -885
  334. package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +0 -1446
  335. package/typechain-types/factories/IPActionMintRedeem__factory.ts +0 -720
  336. package/typechain-types/factories/IPActionMisc__factory.ts +0 -91
  337. package/typechain-types/factories/IPActionSwapPT__factory.ts +0 -544
  338. package/typechain-types/factories/IPActionSwapYT__factory.ts +0 -723
  339. package/typechain-types/factories/IPAllAction__factory.ts +0 -3515
  340. package/typechain-types/factories/IPBulkSellerCallback__factory.ts +0 -53
  341. package/typechain-types/factories/IPBulkSellerFactory__factory.ts +0 -107
  342. package/typechain-types/factories/IPBulkSeller__factory.ts +0 -333
  343. package/typechain-types/factories/IPLinearDistributor__factory.ts +0 -150
  344. package/typechain-types/factories/IPOffchainStorage__factory.ts +0 -82
  345. package/typechain-types/factories/IPPriceFeed__factory.ts +0 -36
  346. package/typechain-types/factories/ISiloIncentiveController__factory.ts +0 -67
  347. package/typechain-types/factories/ISiloLens__factory.ts +0 -47
  348. package/typechain-types/factories/ISilo__factory.ts +0 -846
  349. package/typechain-types/factories/KyberMathHelper__factory.ts +0 -430
  350. package/typechain-types/factories/KyberNftManagerBaseUpg__factory.ts +0 -101
  351. package/typechain-types/factories/MlpPricingHelper__factory.ts +0 -303
  352. package/typechain-types/factories/PendleAuraBalancerStableLPSYV3Upg__factory.ts +0 -1209
  353. package/typechain-types/factories/PendleERC20PermitUpg__factory.ts +0 -389
  354. package/typechain-types/factories/PendleERC20Upg__factory.ts +0 -261
  355. package/typechain-types/factories/PendleGMV2TokenSY__factory.ts +0 -1240
  356. package/typechain-types/factories/PendleKyberElasticSYUpg__factory.ts +0 -1351
  357. package/typechain-types/factories/PendleLinearDistributor__factory.ts +0 -627
  358. package/typechain-types/factories/PendleMlpSY__factory.ts +0 -1314
  359. package/typechain-types/factories/PendleOffchainStorage__factory.ts +0 -492
  360. package/typechain-types/factories/PendleRouterHelper2__factory.ts +0 -206
  361. package/typechain-types/factories/PendleRouter__factory.ts +0 -264
  362. package/typechain-types/factories/PendleSiloWithIncentiveSY__factory.ts +0 -1266
  363. package/typechain-types/factories/PendleSwapBase__factory.ts +0 -91
  364. package/typechain-types/factories/PendleSwapL1__factory.ts +0 -126
  365. package/typechain-types/factories/PendleSwapL2__factory.ts +0 -126
  366. package/typechain-types/factories/ReentrancyGuardUpgradeable__factory.ts +0 -43
  367. package/typechain-types/factories/SYBaseUpg__factory.ts +0 -988
  368. package/typechain-types/factories/SYBaseWithRewardsUpg__factory.ts +0 -1061
  369. package/typechain-types/factories/ShortStrings__factory.ts +0 -77
@@ -1,1061 +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
- SYBaseWithRewardsUpg,
9
- SYBaseWithRewardsUpgInterface,
10
- } from "../SYBaseWithRewardsUpg";
11
-
12
- const _abi = [
13
- {
14
- inputs: [
15
- {
16
- internalType: "uint256",
17
- name: "actualSharesOut",
18
- type: "uint256",
19
- },
20
- {
21
- internalType: "uint256",
22
- name: "requiredSharesOut",
23
- type: "uint256",
24
- },
25
- ],
26
- name: "SYInsufficientSharesOut",
27
- type: "error",
28
- },
29
- {
30
- inputs: [
31
- {
32
- internalType: "uint256",
33
- name: "actualTokenOut",
34
- type: "uint256",
35
- },
36
- {
37
- internalType: "uint256",
38
- name: "requiredTokenOut",
39
- type: "uint256",
40
- },
41
- ],
42
- name: "SYInsufficientTokenOut",
43
- type: "error",
44
- },
45
- {
46
- inputs: [
47
- {
48
- internalType: "address",
49
- name: "token",
50
- type: "address",
51
- },
52
- ],
53
- name: "SYInvalidTokenIn",
54
- type: "error",
55
- },
56
- {
57
- inputs: [
58
- {
59
- internalType: "address",
60
- name: "token",
61
- type: "address",
62
- },
63
- ],
64
- name: "SYInvalidTokenOut",
65
- type: "error",
66
- },
67
- {
68
- inputs: [],
69
- name: "SYZeroDeposit",
70
- type: "error",
71
- },
72
- {
73
- inputs: [],
74
- name: "SYZeroRedeem",
75
- type: "error",
76
- },
77
- {
78
- anonymous: false,
79
- inputs: [
80
- {
81
- indexed: true,
82
- internalType: "address",
83
- name: "owner",
84
- type: "address",
85
- },
86
- {
87
- indexed: true,
88
- internalType: "address",
89
- name: "spender",
90
- type: "address",
91
- },
92
- {
93
- indexed: false,
94
- internalType: "uint256",
95
- name: "value",
96
- type: "uint256",
97
- },
98
- ],
99
- name: "Approval",
100
- type: "event",
101
- },
102
- {
103
- anonymous: false,
104
- inputs: [
105
- {
106
- indexed: true,
107
- internalType: "address",
108
- name: "user",
109
- type: "address",
110
- },
111
- {
112
- indexed: false,
113
- internalType: "address[]",
114
- name: "rewardTokens",
115
- type: "address[]",
116
- },
117
- {
118
- indexed: false,
119
- internalType: "uint256[]",
120
- name: "rewardAmounts",
121
- type: "uint256[]",
122
- },
123
- ],
124
- name: "ClaimRewards",
125
- type: "event",
126
- },
127
- {
128
- anonymous: false,
129
- inputs: [
130
- {
131
- indexed: true,
132
- internalType: "address",
133
- name: "caller",
134
- type: "address",
135
- },
136
- {
137
- indexed: true,
138
- internalType: "address",
139
- name: "receiver",
140
- type: "address",
141
- },
142
- {
143
- indexed: true,
144
- internalType: "address",
145
- name: "tokenIn",
146
- type: "address",
147
- },
148
- {
149
- indexed: false,
150
- internalType: "uint256",
151
- name: "amountDeposited",
152
- type: "uint256",
153
- },
154
- {
155
- indexed: false,
156
- internalType: "uint256",
157
- name: "amountSyOut",
158
- type: "uint256",
159
- },
160
- ],
161
- name: "Deposit",
162
- type: "event",
163
- },
164
- {
165
- anonymous: false,
166
- inputs: [],
167
- name: "EIP712DomainChanged",
168
- type: "event",
169
- },
170
- {
171
- anonymous: false,
172
- inputs: [
173
- {
174
- indexed: false,
175
- internalType: "uint8",
176
- name: "version",
177
- type: "uint8",
178
- },
179
- ],
180
- name: "Initialized",
181
- type: "event",
182
- },
183
- {
184
- anonymous: false,
185
- inputs: [
186
- {
187
- indexed: true,
188
- internalType: "address",
189
- name: "previousOwner",
190
- type: "address",
191
- },
192
- {
193
- indexed: true,
194
- internalType: "address",
195
- name: "newOwner",
196
- type: "address",
197
- },
198
- ],
199
- name: "OwnershipTransferred",
200
- type: "event",
201
- },
202
- {
203
- anonymous: false,
204
- inputs: [
205
- {
206
- indexed: false,
207
- internalType: "address",
208
- name: "account",
209
- type: "address",
210
- },
211
- ],
212
- name: "Paused",
213
- type: "event",
214
- },
215
- {
216
- anonymous: false,
217
- inputs: [
218
- {
219
- indexed: true,
220
- internalType: "address",
221
- name: "caller",
222
- type: "address",
223
- },
224
- {
225
- indexed: true,
226
- internalType: "address",
227
- name: "receiver",
228
- type: "address",
229
- },
230
- {
231
- indexed: true,
232
- internalType: "address",
233
- name: "tokenOut",
234
- type: "address",
235
- },
236
- {
237
- indexed: false,
238
- internalType: "uint256",
239
- name: "amountSyToRedeem",
240
- type: "uint256",
241
- },
242
- {
243
- indexed: false,
244
- internalType: "uint256",
245
- name: "amountTokenOut",
246
- type: "uint256",
247
- },
248
- ],
249
- name: "Redeem",
250
- type: "event",
251
- },
252
- {
253
- anonymous: false,
254
- inputs: [
255
- {
256
- indexed: true,
257
- internalType: "address",
258
- name: "from",
259
- type: "address",
260
- },
261
- {
262
- indexed: true,
263
- internalType: "address",
264
- name: "to",
265
- type: "address",
266
- },
267
- {
268
- indexed: false,
269
- internalType: "uint256",
270
- name: "value",
271
- type: "uint256",
272
- },
273
- ],
274
- name: "Transfer",
275
- type: "event",
276
- },
277
- {
278
- anonymous: false,
279
- inputs: [
280
- {
281
- indexed: false,
282
- internalType: "address",
283
- name: "account",
284
- type: "address",
285
- },
286
- ],
287
- name: "Unpaused",
288
- type: "event",
289
- },
290
- {
291
- inputs: [],
292
- name: "DOMAIN_SEPARATOR",
293
- outputs: [
294
- {
295
- internalType: "bytes32",
296
- name: "",
297
- type: "bytes32",
298
- },
299
- ],
300
- stateMutability: "view",
301
- type: "function",
302
- },
303
- {
304
- inputs: [
305
- {
306
- internalType: "address",
307
- name: "user",
308
- type: "address",
309
- },
310
- ],
311
- name: "accruedRewards",
312
- outputs: [
313
- {
314
- internalType: "uint256[]",
315
- name: "rewardAmounts",
316
- type: "uint256[]",
317
- },
318
- ],
319
- stateMutability: "view",
320
- type: "function",
321
- },
322
- {
323
- inputs: [
324
- {
325
- internalType: "address",
326
- name: "owner",
327
- type: "address",
328
- },
329
- {
330
- internalType: "address",
331
- name: "spender",
332
- type: "address",
333
- },
334
- ],
335
- name: "allowance",
336
- outputs: [
337
- {
338
- internalType: "uint256",
339
- name: "",
340
- type: "uint256",
341
- },
342
- ],
343
- stateMutability: "view",
344
- type: "function",
345
- },
346
- {
347
- inputs: [
348
- {
349
- internalType: "address",
350
- name: "spender",
351
- type: "address",
352
- },
353
- {
354
- internalType: "uint256",
355
- name: "amount",
356
- type: "uint256",
357
- },
358
- ],
359
- name: "approve",
360
- outputs: [
361
- {
362
- internalType: "bool",
363
- name: "",
364
- type: "bool",
365
- },
366
- ],
367
- stateMutability: "nonpayable",
368
- type: "function",
369
- },
370
- {
371
- inputs: [],
372
- name: "assetInfo",
373
- outputs: [
374
- {
375
- internalType: "enum IStandardizedYield.AssetType",
376
- name: "assetType",
377
- type: "uint8",
378
- },
379
- {
380
- internalType: "address",
381
- name: "assetAddress",
382
- type: "address",
383
- },
384
- {
385
- internalType: "uint8",
386
- name: "assetDecimals",
387
- type: "uint8",
388
- },
389
- ],
390
- stateMutability: "view",
391
- type: "function",
392
- },
393
- {
394
- inputs: [
395
- {
396
- internalType: "address",
397
- name: "account",
398
- type: "address",
399
- },
400
- ],
401
- name: "balanceOf",
402
- outputs: [
403
- {
404
- internalType: "uint256",
405
- name: "",
406
- type: "uint256",
407
- },
408
- ],
409
- stateMutability: "view",
410
- type: "function",
411
- },
412
- {
413
- inputs: [],
414
- name: "claimOwnership",
415
- outputs: [],
416
- stateMutability: "nonpayable",
417
- type: "function",
418
- },
419
- {
420
- inputs: [
421
- {
422
- internalType: "address",
423
- name: "user",
424
- type: "address",
425
- },
426
- ],
427
- name: "claimRewards",
428
- outputs: [
429
- {
430
- internalType: "uint256[]",
431
- name: "rewardAmounts",
432
- type: "uint256[]",
433
- },
434
- ],
435
- stateMutability: "nonpayable",
436
- type: "function",
437
- },
438
- {
439
- inputs: [],
440
- name: "decimals",
441
- outputs: [
442
- {
443
- internalType: "uint8",
444
- name: "",
445
- type: "uint8",
446
- },
447
- ],
448
- stateMutability: "view",
449
- type: "function",
450
- },
451
- {
452
- inputs: [
453
- {
454
- internalType: "address",
455
- name: "receiver",
456
- type: "address",
457
- },
458
- {
459
- internalType: "address",
460
- name: "tokenIn",
461
- type: "address",
462
- },
463
- {
464
- internalType: "uint256",
465
- name: "amountTokenToDeposit",
466
- type: "uint256",
467
- },
468
- {
469
- internalType: "uint256",
470
- name: "minSharesOut",
471
- type: "uint256",
472
- },
473
- ],
474
- name: "deposit",
475
- outputs: [
476
- {
477
- internalType: "uint256",
478
- name: "amountSharesOut",
479
- type: "uint256",
480
- },
481
- ],
482
- stateMutability: "payable",
483
- type: "function",
484
- },
485
- {
486
- inputs: [],
487
- name: "eip712Domain",
488
- outputs: [
489
- {
490
- internalType: "bytes1",
491
- name: "fields",
492
- type: "bytes1",
493
- },
494
- {
495
- internalType: "string",
496
- name: "name",
497
- type: "string",
498
- },
499
- {
500
- internalType: "string",
501
- name: "version",
502
- type: "string",
503
- },
504
- {
505
- internalType: "uint256",
506
- name: "chainId",
507
- type: "uint256",
508
- },
509
- {
510
- internalType: "address",
511
- name: "verifyingContract",
512
- type: "address",
513
- },
514
- {
515
- internalType: "bytes32",
516
- name: "salt",
517
- type: "bytes32",
518
- },
519
- {
520
- internalType: "uint256[]",
521
- name: "extensions",
522
- type: "uint256[]",
523
- },
524
- ],
525
- stateMutability: "view",
526
- type: "function",
527
- },
528
- {
529
- inputs: [],
530
- name: "exchangeRate",
531
- outputs: [
532
- {
533
- internalType: "uint256",
534
- name: "res",
535
- type: "uint256",
536
- },
537
- ],
538
- stateMutability: "view",
539
- type: "function",
540
- },
541
- {
542
- inputs: [],
543
- name: "getRewardTokens",
544
- outputs: [
545
- {
546
- internalType: "address[]",
547
- name: "rewardTokens",
548
- type: "address[]",
549
- },
550
- ],
551
- stateMutability: "view",
552
- type: "function",
553
- },
554
- {
555
- inputs: [],
556
- name: "getTokensIn",
557
- outputs: [
558
- {
559
- internalType: "address[]",
560
- name: "res",
561
- type: "address[]",
562
- },
563
- ],
564
- stateMutability: "view",
565
- type: "function",
566
- },
567
- {
568
- inputs: [],
569
- name: "getTokensOut",
570
- outputs: [
571
- {
572
- internalType: "address[]",
573
- name: "res",
574
- type: "address[]",
575
- },
576
- ],
577
- stateMutability: "view",
578
- type: "function",
579
- },
580
- {
581
- inputs: [
582
- {
583
- internalType: "address",
584
- name: "token",
585
- type: "address",
586
- },
587
- ],
588
- name: "isValidTokenIn",
589
- outputs: [
590
- {
591
- internalType: "bool",
592
- name: "",
593
- type: "bool",
594
- },
595
- ],
596
- stateMutability: "view",
597
- type: "function",
598
- },
599
- {
600
- inputs: [
601
- {
602
- internalType: "address",
603
- name: "token",
604
- type: "address",
605
- },
606
- ],
607
- name: "isValidTokenOut",
608
- outputs: [
609
- {
610
- internalType: "bool",
611
- name: "",
612
- type: "bool",
613
- },
614
- ],
615
- stateMutability: "view",
616
- type: "function",
617
- },
618
- {
619
- inputs: [],
620
- name: "lastRewardBlock",
621
- outputs: [
622
- {
623
- internalType: "uint256",
624
- name: "",
625
- type: "uint256",
626
- },
627
- ],
628
- stateMutability: "view",
629
- type: "function",
630
- },
631
- {
632
- inputs: [],
633
- name: "name",
634
- outputs: [
635
- {
636
- internalType: "string",
637
- name: "",
638
- type: "string",
639
- },
640
- ],
641
- stateMutability: "view",
642
- type: "function",
643
- },
644
- {
645
- inputs: [
646
- {
647
- internalType: "address",
648
- name: "owner",
649
- type: "address",
650
- },
651
- ],
652
- name: "nonces",
653
- outputs: [
654
- {
655
- internalType: "uint256",
656
- name: "",
657
- type: "uint256",
658
- },
659
- ],
660
- stateMutability: "view",
661
- type: "function",
662
- },
663
- {
664
- inputs: [],
665
- name: "owner",
666
- outputs: [
667
- {
668
- internalType: "address",
669
- name: "",
670
- type: "address",
671
- },
672
- ],
673
- stateMutability: "view",
674
- type: "function",
675
- },
676
- {
677
- inputs: [],
678
- name: "pause",
679
- outputs: [],
680
- stateMutability: "nonpayable",
681
- type: "function",
682
- },
683
- {
684
- inputs: [],
685
- name: "paused",
686
- outputs: [
687
- {
688
- internalType: "bool",
689
- name: "",
690
- type: "bool",
691
- },
692
- ],
693
- stateMutability: "view",
694
- type: "function",
695
- },
696
- {
697
- inputs: [],
698
- name: "pendingOwner",
699
- outputs: [
700
- {
701
- internalType: "address",
702
- name: "",
703
- type: "address",
704
- },
705
- ],
706
- stateMutability: "view",
707
- type: "function",
708
- },
709
- {
710
- inputs: [
711
- {
712
- internalType: "address",
713
- name: "owner",
714
- type: "address",
715
- },
716
- {
717
- internalType: "address",
718
- name: "spender",
719
- type: "address",
720
- },
721
- {
722
- internalType: "uint256",
723
- name: "value",
724
- type: "uint256",
725
- },
726
- {
727
- internalType: "uint256",
728
- name: "deadline",
729
- type: "uint256",
730
- },
731
- {
732
- internalType: "uint8",
733
- name: "v",
734
- type: "uint8",
735
- },
736
- {
737
- internalType: "bytes32",
738
- name: "r",
739
- type: "bytes32",
740
- },
741
- {
742
- internalType: "bytes32",
743
- name: "s",
744
- type: "bytes32",
745
- },
746
- ],
747
- name: "permit",
748
- outputs: [],
749
- stateMutability: "nonpayable",
750
- type: "function",
751
- },
752
- {
753
- inputs: [
754
- {
755
- internalType: "address",
756
- name: "tokenIn",
757
- type: "address",
758
- },
759
- {
760
- internalType: "uint256",
761
- name: "amountTokenToDeposit",
762
- type: "uint256",
763
- },
764
- ],
765
- name: "previewDeposit",
766
- outputs: [
767
- {
768
- internalType: "uint256",
769
- name: "amountSharesOut",
770
- type: "uint256",
771
- },
772
- ],
773
- stateMutability: "view",
774
- type: "function",
775
- },
776
- {
777
- inputs: [
778
- {
779
- internalType: "address",
780
- name: "tokenOut",
781
- type: "address",
782
- },
783
- {
784
- internalType: "uint256",
785
- name: "amountSharesToRedeem",
786
- type: "uint256",
787
- },
788
- ],
789
- name: "previewRedeem",
790
- outputs: [
791
- {
792
- internalType: "uint256",
793
- name: "amountTokenOut",
794
- type: "uint256",
795
- },
796
- ],
797
- stateMutability: "view",
798
- type: "function",
799
- },
800
- {
801
- inputs: [
802
- {
803
- internalType: "address",
804
- name: "receiver",
805
- type: "address",
806
- },
807
- {
808
- internalType: "uint256",
809
- name: "amountSharesToRedeem",
810
- type: "uint256",
811
- },
812
- {
813
- internalType: "address",
814
- name: "tokenOut",
815
- type: "address",
816
- },
817
- {
818
- internalType: "uint256",
819
- name: "minTokenOut",
820
- type: "uint256",
821
- },
822
- {
823
- internalType: "bool",
824
- name: "burnFromInternalBalance",
825
- type: "bool",
826
- },
827
- ],
828
- name: "redeem",
829
- outputs: [
830
- {
831
- internalType: "uint256",
832
- name: "amountTokenOut",
833
- type: "uint256",
834
- },
835
- ],
836
- stateMutability: "nonpayable",
837
- type: "function",
838
- },
839
- {
840
- inputs: [],
841
- name: "rewardIndexesCurrent",
842
- outputs: [
843
- {
844
- internalType: "uint256[]",
845
- name: "indexes",
846
- type: "uint256[]",
847
- },
848
- ],
849
- stateMutability: "nonpayable",
850
- type: "function",
851
- },
852
- {
853
- inputs: [],
854
- name: "rewardIndexesStored",
855
- outputs: [
856
- {
857
- internalType: "uint256[]",
858
- name: "indexes",
859
- type: "uint256[]",
860
- },
861
- ],
862
- stateMutability: "view",
863
- type: "function",
864
- },
865
- {
866
- inputs: [
867
- {
868
- internalType: "address",
869
- name: "",
870
- type: "address",
871
- },
872
- ],
873
- name: "rewardState",
874
- outputs: [
875
- {
876
- internalType: "uint128",
877
- name: "index",
878
- type: "uint128",
879
- },
880
- {
881
- internalType: "uint128",
882
- name: "lastBalance",
883
- type: "uint128",
884
- },
885
- ],
886
- stateMutability: "view",
887
- type: "function",
888
- },
889
- {
890
- inputs: [],
891
- name: "symbol",
892
- outputs: [
893
- {
894
- internalType: "string",
895
- name: "",
896
- type: "string",
897
- },
898
- ],
899
- stateMutability: "view",
900
- type: "function",
901
- },
902
- {
903
- inputs: [],
904
- name: "totalSupply",
905
- outputs: [
906
- {
907
- internalType: "uint256",
908
- name: "",
909
- type: "uint256",
910
- },
911
- ],
912
- stateMutability: "view",
913
- type: "function",
914
- },
915
- {
916
- inputs: [
917
- {
918
- internalType: "address",
919
- name: "to",
920
- type: "address",
921
- },
922
- {
923
- internalType: "uint256",
924
- name: "amount",
925
- type: "uint256",
926
- },
927
- ],
928
- name: "transfer",
929
- outputs: [
930
- {
931
- internalType: "bool",
932
- name: "",
933
- type: "bool",
934
- },
935
- ],
936
- stateMutability: "nonpayable",
937
- type: "function",
938
- },
939
- {
940
- inputs: [
941
- {
942
- internalType: "address",
943
- name: "from",
944
- type: "address",
945
- },
946
- {
947
- internalType: "address",
948
- name: "to",
949
- type: "address",
950
- },
951
- {
952
- internalType: "uint256",
953
- name: "amount",
954
- type: "uint256",
955
- },
956
- ],
957
- name: "transferFrom",
958
- outputs: [
959
- {
960
- internalType: "bool",
961
- name: "",
962
- type: "bool",
963
- },
964
- ],
965
- stateMutability: "nonpayable",
966
- type: "function",
967
- },
968
- {
969
- inputs: [
970
- {
971
- internalType: "address",
972
- name: "newOwner",
973
- type: "address",
974
- },
975
- {
976
- internalType: "bool",
977
- name: "direct",
978
- type: "bool",
979
- },
980
- {
981
- internalType: "bool",
982
- name: "renounce",
983
- type: "bool",
984
- },
985
- ],
986
- name: "transferOwnership",
987
- outputs: [],
988
- stateMutability: "nonpayable",
989
- type: "function",
990
- },
991
- {
992
- inputs: [],
993
- name: "unpause",
994
- outputs: [],
995
- stateMutability: "nonpayable",
996
- type: "function",
997
- },
998
- {
999
- inputs: [
1000
- {
1001
- internalType: "address",
1002
- name: "",
1003
- type: "address",
1004
- },
1005
- {
1006
- internalType: "address",
1007
- name: "",
1008
- type: "address",
1009
- },
1010
- ],
1011
- name: "userReward",
1012
- outputs: [
1013
- {
1014
- internalType: "uint128",
1015
- name: "index",
1016
- type: "uint128",
1017
- },
1018
- {
1019
- internalType: "uint128",
1020
- name: "accrued",
1021
- type: "uint128",
1022
- },
1023
- ],
1024
- stateMutability: "view",
1025
- type: "function",
1026
- },
1027
- {
1028
- inputs: [],
1029
- name: "yieldToken",
1030
- outputs: [
1031
- {
1032
- internalType: "address",
1033
- name: "",
1034
- type: "address",
1035
- },
1036
- ],
1037
- stateMutability: "view",
1038
- type: "function",
1039
- },
1040
- {
1041
- stateMutability: "payable",
1042
- type: "receive",
1043
- },
1044
- ];
1045
-
1046
- export class SYBaseWithRewardsUpg__factory {
1047
- static readonly abi = _abi;
1048
- static createInterface(): SYBaseWithRewardsUpgInterface {
1049
- return new utils.Interface(_abi) as SYBaseWithRewardsUpgInterface;
1050
- }
1051
- static connect(
1052
- address: string,
1053
- signerOrProvider: Signer | Provider
1054
- ): SYBaseWithRewardsUpg {
1055
- return new Contract(
1056
- address,
1057
- _abi,
1058
- signerOrProvider
1059
- ) as SYBaseWithRewardsUpg;
1060
- }
1061
- }