@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,806 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
5
- import { Provider, TransactionRequest } from "@ethersproject/providers";
6
- import type {
7
- ActionMintRedeem,
8
- ActionMintRedeemInterface,
9
- } from "../ActionMintRedeem";
10
-
11
- const _abi = [
12
- {
13
- inputs: [
14
- {
15
- internalType: "uint256",
16
- name: "actualPYOut",
17
- type: "uint256",
18
- },
19
- {
20
- internalType: "uint256",
21
- name: "requiredPYOut",
22
- type: "uint256",
23
- },
24
- ],
25
- name: "RouterInsufficientPYOut",
26
- type: "error",
27
- },
28
- {
29
- inputs: [
30
- {
31
- internalType: "uint256",
32
- name: "actualSyOut",
33
- type: "uint256",
34
- },
35
- {
36
- internalType: "uint256",
37
- name: "requiredSyOut",
38
- type: "uint256",
39
- },
40
- ],
41
- name: "RouterInsufficientSyOut",
42
- type: "error",
43
- },
44
- {
45
- inputs: [
46
- {
47
- internalType: "uint256",
48
- name: "actualTokenOut",
49
- type: "uint256",
50
- },
51
- {
52
- internalType: "uint256",
53
- name: "requiredTokenOut",
54
- type: "uint256",
55
- },
56
- ],
57
- name: "RouterInsufficientTokenOut",
58
- type: "error",
59
- },
60
- {
61
- anonymous: false,
62
- inputs: [
63
- {
64
- indexed: true,
65
- internalType: "address",
66
- name: "caller",
67
- type: "address",
68
- },
69
- {
70
- indexed: true,
71
- internalType: "address",
72
- name: "receiver",
73
- type: "address",
74
- },
75
- {
76
- indexed: true,
77
- internalType: "address",
78
- name: "YT",
79
- type: "address",
80
- },
81
- {
82
- indexed: false,
83
- internalType: "uint256",
84
- name: "netSyIn",
85
- type: "uint256",
86
- },
87
- {
88
- indexed: false,
89
- internalType: "uint256",
90
- name: "netPyOut",
91
- type: "uint256",
92
- },
93
- ],
94
- name: "MintPyFromSy",
95
- type: "event",
96
- },
97
- {
98
- anonymous: false,
99
- inputs: [
100
- {
101
- indexed: true,
102
- internalType: "address",
103
- name: "caller",
104
- type: "address",
105
- },
106
- {
107
- indexed: true,
108
- internalType: "address",
109
- name: "tokenIn",
110
- type: "address",
111
- },
112
- {
113
- indexed: true,
114
- internalType: "address",
115
- name: "YT",
116
- type: "address",
117
- },
118
- {
119
- indexed: false,
120
- internalType: "address",
121
- name: "receiver",
122
- type: "address",
123
- },
124
- {
125
- indexed: false,
126
- internalType: "uint256",
127
- name: "netTokenIn",
128
- type: "uint256",
129
- },
130
- {
131
- indexed: false,
132
- internalType: "uint256",
133
- name: "netPyOut",
134
- type: "uint256",
135
- },
136
- ],
137
- name: "MintPyFromToken",
138
- type: "event",
139
- },
140
- {
141
- anonymous: false,
142
- inputs: [
143
- {
144
- indexed: true,
145
- internalType: "address",
146
- name: "caller",
147
- type: "address",
148
- },
149
- {
150
- indexed: true,
151
- internalType: "address",
152
- name: "tokenIn",
153
- type: "address",
154
- },
155
- {
156
- indexed: true,
157
- internalType: "address",
158
- name: "SY",
159
- type: "address",
160
- },
161
- {
162
- indexed: false,
163
- internalType: "address",
164
- name: "receiver",
165
- type: "address",
166
- },
167
- {
168
- indexed: false,
169
- internalType: "uint256",
170
- name: "netTokenIn",
171
- type: "uint256",
172
- },
173
- {
174
- indexed: false,
175
- internalType: "uint256",
176
- name: "netSyOut",
177
- type: "uint256",
178
- },
179
- ],
180
- name: "MintSyFromToken",
181
- type: "event",
182
- },
183
- {
184
- anonymous: false,
185
- inputs: [
186
- {
187
- indexed: true,
188
- internalType: "address",
189
- name: "caller",
190
- type: "address",
191
- },
192
- {
193
- indexed: true,
194
- internalType: "address",
195
- name: "receiver",
196
- type: "address",
197
- },
198
- {
199
- indexed: true,
200
- internalType: "address",
201
- name: "YT",
202
- type: "address",
203
- },
204
- {
205
- indexed: false,
206
- internalType: "uint256",
207
- name: "netPyIn",
208
- type: "uint256",
209
- },
210
- {
211
- indexed: false,
212
- internalType: "uint256",
213
- name: "netSyOut",
214
- type: "uint256",
215
- },
216
- ],
217
- name: "RedeemPyToSy",
218
- type: "event",
219
- },
220
- {
221
- anonymous: false,
222
- inputs: [
223
- {
224
- indexed: true,
225
- internalType: "address",
226
- name: "caller",
227
- type: "address",
228
- },
229
- {
230
- indexed: true,
231
- internalType: "address",
232
- name: "tokenOut",
233
- type: "address",
234
- },
235
- {
236
- indexed: true,
237
- internalType: "address",
238
- name: "YT",
239
- type: "address",
240
- },
241
- {
242
- indexed: false,
243
- internalType: "address",
244
- name: "receiver",
245
- type: "address",
246
- },
247
- {
248
- indexed: false,
249
- internalType: "uint256",
250
- name: "netPyIn",
251
- type: "uint256",
252
- },
253
- {
254
- indexed: false,
255
- internalType: "uint256",
256
- name: "netTokenOut",
257
- type: "uint256",
258
- },
259
- ],
260
- name: "RedeemPyToToken",
261
- type: "event",
262
- },
263
- {
264
- anonymous: false,
265
- inputs: [
266
- {
267
- indexed: true,
268
- internalType: "address",
269
- name: "caller",
270
- type: "address",
271
- },
272
- {
273
- indexed: true,
274
- internalType: "address",
275
- name: "tokenOut",
276
- type: "address",
277
- },
278
- {
279
- indexed: true,
280
- internalType: "address",
281
- name: "SY",
282
- type: "address",
283
- },
284
- {
285
- indexed: false,
286
- internalType: "address",
287
- name: "receiver",
288
- type: "address",
289
- },
290
- {
291
- indexed: false,
292
- internalType: "uint256",
293
- name: "netSyIn",
294
- type: "uint256",
295
- },
296
- {
297
- indexed: false,
298
- internalType: "uint256",
299
- name: "netTokenOut",
300
- type: "uint256",
301
- },
302
- ],
303
- name: "RedeemSyToToken",
304
- type: "event",
305
- },
306
- {
307
- inputs: [
308
- {
309
- internalType: "address",
310
- name: "receiver",
311
- type: "address",
312
- },
313
- {
314
- internalType: "address",
315
- name: "YT",
316
- type: "address",
317
- },
318
- {
319
- internalType: "uint256",
320
- name: "netSyIn",
321
- type: "uint256",
322
- },
323
- {
324
- internalType: "uint256",
325
- name: "minPyOut",
326
- type: "uint256",
327
- },
328
- ],
329
- name: "mintPyFromSy",
330
- outputs: [
331
- {
332
- internalType: "uint256",
333
- name: "netPyOut",
334
- type: "uint256",
335
- },
336
- ],
337
- stateMutability: "nonpayable",
338
- type: "function",
339
- },
340
- {
341
- inputs: [
342
- {
343
- internalType: "address",
344
- name: "receiver",
345
- type: "address",
346
- },
347
- {
348
- internalType: "address",
349
- name: "YT",
350
- type: "address",
351
- },
352
- {
353
- internalType: "uint256",
354
- name: "minPyOut",
355
- type: "uint256",
356
- },
357
- {
358
- components: [
359
- {
360
- internalType: "address",
361
- name: "tokenIn",
362
- type: "address",
363
- },
364
- {
365
- internalType: "uint256",
366
- name: "netTokenIn",
367
- type: "uint256",
368
- },
369
- {
370
- internalType: "address",
371
- name: "tokenMintSy",
372
- type: "address",
373
- },
374
- {
375
- internalType: "address",
376
- name: "bulk",
377
- type: "address",
378
- },
379
- {
380
- internalType: "address",
381
- name: "pendleSwap",
382
- type: "address",
383
- },
384
- {
385
- components: [
386
- {
387
- internalType: "enum SwapType",
388
- name: "swapType",
389
- type: "uint8",
390
- },
391
- {
392
- internalType: "address",
393
- name: "extRouter",
394
- type: "address",
395
- },
396
- {
397
- internalType: "bytes",
398
- name: "extCalldata",
399
- type: "bytes",
400
- },
401
- {
402
- internalType: "bool",
403
- name: "needScale",
404
- type: "bool",
405
- },
406
- ],
407
- internalType: "struct SwapData",
408
- name: "swapData",
409
- type: "tuple",
410
- },
411
- ],
412
- internalType: "struct TokenInput",
413
- name: "input",
414
- type: "tuple",
415
- },
416
- ],
417
- name: "mintPyFromToken",
418
- outputs: [
419
- {
420
- internalType: "uint256",
421
- name: "netPyOut",
422
- type: "uint256",
423
- },
424
- ],
425
- stateMutability: "payable",
426
- type: "function",
427
- },
428
- {
429
- inputs: [
430
- {
431
- internalType: "address",
432
- name: "receiver",
433
- type: "address",
434
- },
435
- {
436
- internalType: "address",
437
- name: "SY",
438
- type: "address",
439
- },
440
- {
441
- internalType: "uint256",
442
- name: "minSyOut",
443
- type: "uint256",
444
- },
445
- {
446
- components: [
447
- {
448
- internalType: "address",
449
- name: "tokenIn",
450
- type: "address",
451
- },
452
- {
453
- internalType: "uint256",
454
- name: "netTokenIn",
455
- type: "uint256",
456
- },
457
- {
458
- internalType: "address",
459
- name: "tokenMintSy",
460
- type: "address",
461
- },
462
- {
463
- internalType: "address",
464
- name: "bulk",
465
- type: "address",
466
- },
467
- {
468
- internalType: "address",
469
- name: "pendleSwap",
470
- type: "address",
471
- },
472
- {
473
- components: [
474
- {
475
- internalType: "enum SwapType",
476
- name: "swapType",
477
- type: "uint8",
478
- },
479
- {
480
- internalType: "address",
481
- name: "extRouter",
482
- type: "address",
483
- },
484
- {
485
- internalType: "bytes",
486
- name: "extCalldata",
487
- type: "bytes",
488
- },
489
- {
490
- internalType: "bool",
491
- name: "needScale",
492
- type: "bool",
493
- },
494
- ],
495
- internalType: "struct SwapData",
496
- name: "swapData",
497
- type: "tuple",
498
- },
499
- ],
500
- internalType: "struct TokenInput",
501
- name: "input",
502
- type: "tuple",
503
- },
504
- ],
505
- name: "mintSyFromToken",
506
- outputs: [
507
- {
508
- internalType: "uint256",
509
- name: "netSyOut",
510
- type: "uint256",
511
- },
512
- ],
513
- stateMutability: "payable",
514
- type: "function",
515
- },
516
- {
517
- inputs: [
518
- {
519
- internalType: "address",
520
- name: "user",
521
- type: "address",
522
- },
523
- {
524
- internalType: "address[]",
525
- name: "sys",
526
- type: "address[]",
527
- },
528
- {
529
- internalType: "address[]",
530
- name: "yts",
531
- type: "address[]",
532
- },
533
- {
534
- internalType: "address[]",
535
- name: "markets",
536
- type: "address[]",
537
- },
538
- ],
539
- name: "redeemDueInterestAndRewards",
540
- outputs: [],
541
- stateMutability: "nonpayable",
542
- type: "function",
543
- },
544
- {
545
- inputs: [
546
- {
547
- internalType: "address",
548
- name: "receiver",
549
- type: "address",
550
- },
551
- {
552
- internalType: "address",
553
- name: "YT",
554
- type: "address",
555
- },
556
- {
557
- internalType: "uint256",
558
- name: "netPyIn",
559
- type: "uint256",
560
- },
561
- {
562
- internalType: "uint256",
563
- name: "minSyOut",
564
- type: "uint256",
565
- },
566
- ],
567
- name: "redeemPyToSy",
568
- outputs: [
569
- {
570
- internalType: "uint256",
571
- name: "netSyOut",
572
- type: "uint256",
573
- },
574
- ],
575
- stateMutability: "nonpayable",
576
- type: "function",
577
- },
578
- {
579
- inputs: [
580
- {
581
- internalType: "address",
582
- name: "receiver",
583
- type: "address",
584
- },
585
- {
586
- internalType: "address",
587
- name: "YT",
588
- type: "address",
589
- },
590
- {
591
- internalType: "uint256",
592
- name: "netPyIn",
593
- type: "uint256",
594
- },
595
- {
596
- components: [
597
- {
598
- internalType: "address",
599
- name: "tokenOut",
600
- type: "address",
601
- },
602
- {
603
- internalType: "uint256",
604
- name: "minTokenOut",
605
- type: "uint256",
606
- },
607
- {
608
- internalType: "address",
609
- name: "tokenRedeemSy",
610
- type: "address",
611
- },
612
- {
613
- internalType: "address",
614
- name: "bulk",
615
- type: "address",
616
- },
617
- {
618
- internalType: "address",
619
- name: "pendleSwap",
620
- type: "address",
621
- },
622
- {
623
- components: [
624
- {
625
- internalType: "enum SwapType",
626
- name: "swapType",
627
- type: "uint8",
628
- },
629
- {
630
- internalType: "address",
631
- name: "extRouter",
632
- type: "address",
633
- },
634
- {
635
- internalType: "bytes",
636
- name: "extCalldata",
637
- type: "bytes",
638
- },
639
- {
640
- internalType: "bool",
641
- name: "needScale",
642
- type: "bool",
643
- },
644
- ],
645
- internalType: "struct SwapData",
646
- name: "swapData",
647
- type: "tuple",
648
- },
649
- ],
650
- internalType: "struct TokenOutput",
651
- name: "output",
652
- type: "tuple",
653
- },
654
- ],
655
- name: "redeemPyToToken",
656
- outputs: [
657
- {
658
- internalType: "uint256",
659
- name: "netTokenOut",
660
- type: "uint256",
661
- },
662
- ],
663
- stateMutability: "nonpayable",
664
- type: "function",
665
- },
666
- {
667
- inputs: [
668
- {
669
- internalType: "address",
670
- name: "receiver",
671
- type: "address",
672
- },
673
- {
674
- internalType: "address",
675
- name: "SY",
676
- type: "address",
677
- },
678
- {
679
- internalType: "uint256",
680
- name: "netSyIn",
681
- type: "uint256",
682
- },
683
- {
684
- components: [
685
- {
686
- internalType: "address",
687
- name: "tokenOut",
688
- type: "address",
689
- },
690
- {
691
- internalType: "uint256",
692
- name: "minTokenOut",
693
- type: "uint256",
694
- },
695
- {
696
- internalType: "address",
697
- name: "tokenRedeemSy",
698
- type: "address",
699
- },
700
- {
701
- internalType: "address",
702
- name: "bulk",
703
- type: "address",
704
- },
705
- {
706
- internalType: "address",
707
- name: "pendleSwap",
708
- type: "address",
709
- },
710
- {
711
- components: [
712
- {
713
- internalType: "enum SwapType",
714
- name: "swapType",
715
- type: "uint8",
716
- },
717
- {
718
- internalType: "address",
719
- name: "extRouter",
720
- type: "address",
721
- },
722
- {
723
- internalType: "bytes",
724
- name: "extCalldata",
725
- type: "bytes",
726
- },
727
- {
728
- internalType: "bool",
729
- name: "needScale",
730
- type: "bool",
731
- },
732
- ],
733
- internalType: "struct SwapData",
734
- name: "swapData",
735
- type: "tuple",
736
- },
737
- ],
738
- internalType: "struct TokenOutput",
739
- name: "output",
740
- type: "tuple",
741
- },
742
- ],
743
- name: "redeemSyToToken",
744
- outputs: [
745
- {
746
- internalType: "uint256",
747
- name: "netTokenOut",
748
- type: "uint256",
749
- },
750
- ],
751
- stateMutability: "nonpayable",
752
- type: "function",
753
- },
754
- ];
755
-
756
- const _bytecode =
757
- "0x608060405234801561001057600080fd5b50611c13806100206000396000f3fe6080604052600436106100605760003560e01c80631a8631b214610065578063339748cb14610097578063443e6512146100b757806346eb2db6146100ca578063527df199146100dd57806385b29936146100fd578063f7e375e81461011d575b600080fd5b34801561007157600080fd5b5061008561008036600461164f565b61013f565b60405190815260200160405180910390f35b3480156100a357600080fd5b506100856100b236600461164f565b610212565b6100856100c53660046116ad565b610271565b6100856100d83660046116ad565b6102e2565b3480156100e957600080fd5b506100856100f83660046116ad565b6103de565b34801561010957600080fd5b506100856101183660046116ad565b6104cc565b34801561012957600080fd5b5061013d610138366004611763565b61053b565b005b60006101b185856001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa158015610183573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101a7919061180f565b868686600161075d565b9050836001600160a01b0316856001600160a01b0316336001600160a01b03167f52e05e4badd3463bad837f42fe3ba58c739d1b3081cff9bb6eb02a24034d455d868560405161020292919061182c565b60405180910390a4949350505050565b60006102208585858561081e565b9050836001600160a01b0316856001600160a01b0316336001600160a01b03167f31af33f80f4b396e3d4e42b38ecd3e022883a9bf689fd63f47afbe1d389cb6e7868560405161020292919061182c565b600061027f858585856109aa565b90506001600160a01b038416610298602084018461183a565b6001600160a01b0316336001600160a01b03167f71c7a44161eb32e4640f6c8f0586db5f1d2e03306e2c63bb2e0f7cd0a8fc690c8886602001358660405161020293929190611857565b600080846001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa158015610323573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610347919061180f565b9050600061035886836000876109aa565b90506103698783888489600061075d565b92506001600160a01b038616610382602086018661183a565b6001600160a01b0316336001600160a01b03167ff586e656e1e436d9ca7c96e43cb793e47b685467d5d574a66efabb8501a333b88a8860200135886040516103cc93929190611857565b60405180910390a45050949350505050565b600080846001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa15801561041f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610443919061180f565b9050600061045d6104548386610ba7565b8787600161081e565b905061046d878383876000610be5565b92506001600160a01b038616610486602086018661183a565b6001600160a01b0316336001600160a01b03167fbc9f07701b0532bc31f2fe7a59b23aa94ae7e58ae26437b01b3440c5903b1bf18a89886040516103cc93929190611857565b60006104dc858585856001610be5565b90506001600160a01b0384166104f5602084018461183a565b6001600160a01b0316336001600160a01b03167fcd34b6ac7e4b72ab30845649aef2f4fd41945ae2dc08f625be69738bbd0f9aa988878660405161020293929190611857565b60005b858110156105e85786868281811061055857610558611878565b905060200201602081019061056d919061183a565b6001600160a01b031663ef5cfb8c896040518263ffffffff1660e01b8152600401610598919061188e565b6000604051808303816000875af11580156105b7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105df919081019061194a565b5060010161053e565b5060005b838110156106a55784848281811061060657610606611878565b905060200201602081019061061b919061183a565b604051637d24da4d60e01b81526001600160a01b038a8116600483015260016024830181905260448301529190911690637d24da4d906064016000604051808303816000875af1158015610673573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261069b919081019061197e565b50506001016105ec565b5060005b81811015610753578282828181106106c3576106c3611878565b90506020020160208101906106d8919061183a565b6001600160a01b0316639262187b896040518263ffffffff1660e01b8152600401610703919061188e565b6000604051808303816000875af1158015610722573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261074a919081019061194a565b506001016106a9565b5050505050505050565b600081156107715761077186338787610dac565b60405163db74aa1560e01b81526001600160a01b0388811660048301819052602483015286169063db74aa15906044016020604051808303816000875af11580156107c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e491906119c5565b90508281101561081457808360405163ca935dfd60e01b815260040161080b92919061182c565b60405180910390fd5b9695505050505050565b600080846001600160a01b031663d94073d46040518163ffffffff1660e01b8152600401602060405180830381865afa15801561085f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610883919061180f565b905061089181338787610dac565b6000856001600160a01b0316632f13b60c6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f591906119ec565b159050801561090a5761090a86338888610dac565b60405163bcb7ea5d60e01b81526001600160a01b0387169063bcb7ea5d90610936908a9060040161188e565b6020604051808303816000875af1158015610955573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097991906119c5565b9250838310156109a05782846040516305221cf360e11b815260040161080b92919061182c565b5050949350505050565b6000806109ba60a0840184611a09565b6109c8906020810190611a3d565b90506000808260038111156109df576109df611a58565b03610a0a576109ff6109f4602086018661183a565b338660200135610dcd565b506020830135610b8f565b6003826003811115610a1e57610a1e611a58565b03610a5d57610a336109f4602086018661183a565b6109ff610a43602086018661183a565b610a53606087016040880161183a565b8660200135610e39565b6000610a6c602086018661183a565b6001600160a01b031603610a8f57610a8a6000338660200135610dcd565b610aba565b610aba610a9f602086018661183a565b33610ab060a088016080890161183a565b8760200135610dac565b610aca60a085016080860161183a565b6001600160a01b0316632bdb823c6000610ae7602088018861183a565b6001600160a01b031614610afc576000610b02565b85602001355b610b0f602088018861183a565b6020880135610b2160a08a018a611a09565b6040518563ffffffff1660e01b8152600401610b3f93929190611aa2565b6000604051808303818588803b158015610b5857600080fd5b505af1158015610b6c573d6000803e3d6000fd5b5050505050610b8c846040016020810190610b87919061183a565b610ef5565b90505b610b9c8787838888610f80565b979650505050505050565b600080610bba608084016060850161183a565b6001600160a01b031603610bce5782610bde565b610bde608083016060840161183a565b9392505050565b600080610bf560a0850185611a09565b610c03906020810190611a3d565b90506000816003811115610c1957610c19611a58565b03610c3257610c2b87878787876110f7565b9150610d75565b6003816003811115610c4657610c46611a58565b03610c9c57610c5830878787876110f7565b9150610c80610c6d606086016040870161183a565b610c7a602087018761183a565b84610e39565b610c97610c90602086018661183a565b8884611283565b610d75565b6000610cba610cb160a087016080880161183a565b888888886110f7565b9050610ccc60a086016080870161183a565b6001600160a01b0316632bdb823c610cea606088016040890161183a565b83610cf860a08a018a611a09565b6040518463ffffffff1660e01b8152600401610d1693929190611aa2565b600060405180830381600087803b158015610d3057600080fd5b505af1158015610d44573d6000803e3d6000fd5b50610d5a9250610b87915050602087018761183a565b9250610d73610d6c602087018761183a565b8985611283565b505b8360200135821015610da25781846020013560405163c5b5576d60e01b815260040161080b92919061182c565b5095945050505050565b8015610dc757610dc76001600160a01b038516848484611347565b50505050565b6001600160a01b038316610e1e57803414610e195760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b604482015260640161080b565b505050565b8015610e1957610e196001600160a01b038416833084611347565b6001600160a01b038316610e9657816001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b158015610e8257600080fd5b505af1158015610753573d6000803e3d6000fd5b604051632e1a7d4d60e01b8152600481018290526001600160a01b03841690632e1a7d4d90602401600060405180830381600087803b158015610ed857600080fd5b505af1158015610eec573d6000803e3d6000fd5b50505050505050565b60006001600160a01b03821615610f78576040516370a0823160e01b81526001600160a01b038316906370a0823190610f3290309060040161188e565b602060405180830381865afa158015610f4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f7391906119c5565b610f7a565b475b92915050565b60008080610f94606085016040860161183a565b6001600160a01b031614610fa9576000610fab565b845b90506000610fbf608085016060860161183a565b6001600160a01b03161461105757610fdd608084016060850161183a565b6001600160a01b031663b2767070828988886040518563ffffffff1660e01b815260040161100d93929190611857565b60206040518083038185885af115801561102b573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061105091906119c5565b9150610da2565b6001600160a01b0386166320e8c5658289611078606088016040890161183a565b6040516001600160e01b031960e086901b1681526001600160a01b03928316600482015291166024820152604481018990526064810188905260840160206040518083038185885af11580156110d2573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610b9c91906119c5565b6000811561111457611114853361110e8887610ba7565b87610dac565b6000611126608085016060860161183a565b6001600160a01b0316146111ce57611144608084016060850161183a565b6040516341fadbb360e11b81526001600160a01b03888116600483015260248201879052600060448301526001606483015291909116906383f5b766906084016020604051808303816000875af11580156111a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c791906119c5565b905061127a565b6001600160a01b03851663769f8e5d87866111ef606088016040890161183a565b60405160e085901b6001600160e01b03191681526001600160a01b03938416600482015260248101929092529091166044820152600060648201526001608482015260a4016020604051808303816000875af1158015611253573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061127791906119c5565b90505b95945050505050565b8060000361129057505050565b6001600160a01b038316611333576000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146112eb576040519150601f19603f3d011682016040523d82523d6000602084013e6112f0565b606091505b5050905080610dc75760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b604482015260640161080b565b610e196001600160a01b03841683836113b2565b6040516001600160a01b0380851660248301528316604482015260648101829052610dc79085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526113e2565b6040516001600160a01b038316602482015260448101829052610e1990849063a9059cbb60e01b9060640161137b565b6000611437826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166114b79092919063ffffffff16565b905080516000148061145857508080602001905181019061145891906119ec565b610e195760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161080b565b60606114c684846000856114ce565b949350505050565b60608247101561152f5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161080b565b600080866001600160a01b0316858760405161154b9190611b98565b60006040518083038185875af1925050503d8060008114611588576040519150601f19603f3d011682016040523d82523d6000602084013e61158d565b606091505b5091509150610b9c8783838760608315611608578251600003611601576001600160a01b0385163b6116015760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161080b565b50816114c6565b6114c6838381511561161d5781518083602001fd5b8060405162461bcd60e51b815260040161080b9190611baa565b6001600160a01b038116811461164c57600080fd5b50565b6000806000806080858703121561166557600080fd5b843561167081611637565b9350602085013561168081611637565b93969395505050506040820135916060013590565b600060c082840312156116a757600080fd5b50919050565b600080600080608085870312156116c357600080fd5b84356116ce81611637565b935060208501356116de81611637565b92506040850135915060608501356001600160401b0381111561170057600080fd5b61170c87828801611695565b91505092959194509250565b60008083601f84011261172a57600080fd5b5081356001600160401b0381111561174157600080fd5b6020830191508360208260051b850101111561175c57600080fd5b9250929050565b60008060008060008060006080888a03121561177e57600080fd5b873561178981611637565b965060208801356001600160401b03808211156117a557600080fd5b6117b18b838c01611718565b909850965060408a01359150808211156117ca57600080fd5b6117d68b838c01611718565b909650945060608a01359150808211156117ef57600080fd5b506117fc8a828b01611718565b989b979a50959850939692959293505050565b60006020828403121561182157600080fd5b8151610bde81611637565b918252602082015260400190565b60006020828403121561184c57600080fd5b8135610bde81611637565b6001600160a01b039390931683526020830191909152604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0391909116815260200190565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126118c957600080fd5b815160206001600160401b03808311156118e5576118e56118a2565b8260051b604051601f19603f8301168101818110848211171561190a5761190a6118a2565b604052938452602081870181019490810192508785111561192a57600080fd5b6020870191505b84821015610b9c57815183529183019190830190611931565b60006020828403121561195c57600080fd5b81516001600160401b0381111561197257600080fd5b6114c6848285016118b8565b6000806040838503121561199157600080fd5b825160208401519092506001600160401b038111156119af57600080fd5b6119bb858286016118b8565b9150509250929050565b6000602082840312156119d757600080fd5b5051919050565b801515811461164c57600080fd5b6000602082840312156119fe57600080fd5b8151610bde816119de565b60008235607e19833603018112611a1f57600080fd5b9190910192915050565b803560048110611a3857600080fd5b919050565b600060208284031215611a4f57600080fd5b610bde82611a29565b634e487b7160e01b600052602160045260246000fd5b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b8035611a38816119de565b6001600160a01b0384811682526020820184905260606040830152600090611ac984611a29565b60048110611ae757634e487b7160e01b600052602160045260246000fd5b60608401526020840135611afa81611637565b166080830152604083013536849003601e19018112611b1857600080fd5b83016020810190356001600160401b03811115611b3457600080fd5b803603821315611b4357600080fd5b608060a0850152611b5860e085018284611a6e565b915050611b6760608501611a97565b80151560c0850152610da2565b60005b83811015611b8f578181015183820152602001611b77565b50506000910152565b60008251611a1f818460208701611b74565b6020815260008251806020840152611bc9816040850160208701611b74565b601f01601f1916919091016040019291505056fea2646970667358221220d3e2c9e82ae10cbbbb65b420013ab7ba5b87d7735f3b3def8d8c8f258167962564736f6c63430008170033";
758
-
759
- type ActionMintRedeemConstructorParams =
760
- | [signer?: Signer]
761
- | ConstructorParameters<typeof ContractFactory>;
762
-
763
- const isSuperArgs = (
764
- xs: ActionMintRedeemConstructorParams
765
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
766
-
767
- export class ActionMintRedeem__factory extends ContractFactory {
768
- constructor(...args: ActionMintRedeemConstructorParams) {
769
- if (isSuperArgs(args)) {
770
- super(...args);
771
- } else {
772
- super(_abi, _bytecode, args[0]);
773
- }
774
- this.contractName = "ActionMintRedeem";
775
- }
776
-
777
- deploy(
778
- overrides?: Overrides & { from?: string | Promise<string> }
779
- ): Promise<ActionMintRedeem> {
780
- return super.deploy(overrides || {}) as Promise<ActionMintRedeem>;
781
- }
782
- getDeployTransaction(
783
- overrides?: Overrides & { from?: string | Promise<string> }
784
- ): TransactionRequest {
785
- return super.getDeployTransaction(overrides || {});
786
- }
787
- attach(address: string): ActionMintRedeem {
788
- return super.attach(address) as ActionMintRedeem;
789
- }
790
- connect(signer: Signer): ActionMintRedeem__factory {
791
- return super.connect(signer) as ActionMintRedeem__factory;
792
- }
793
- static readonly contractName: "ActionMintRedeem";
794
- public readonly contractName: "ActionMintRedeem";
795
- static readonly bytecode = _bytecode;
796
- static readonly abi = _abi;
797
- static createInterface(): ActionMintRedeemInterface {
798
- return new utils.Interface(_abi) as ActionMintRedeemInterface;
799
- }
800
- static connect(
801
- address: string,
802
- signerOrProvider: Signer | Provider
803
- ): ActionMintRedeem {
804
- return new Contract(address, _abi, signerOrProvider) as ActionMintRedeem;
805
- }
806
- }