@pendle/core-v2 2.2.0-mainnet → 2.3.0-mainnet

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 (388) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  20. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol/PendleAuraWethAnkrethSY.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol/PendleAuraWethAnkrethSY.json +2 -2
  38. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  54. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.dbg.json +1 -1
  55. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
  56. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
  57. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
  58. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  59. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  60. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  61. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  62. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.dbg.json +1 -1
  64. package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +1 -1
  65. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
  66. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
  67. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  68. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  69. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  70. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  71. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  72. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
  73. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  74. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  75. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  76. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  77. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  78. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  79. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  80. package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/GMX/IGMXVault.sol/IGMXVault.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/GMX/IGlpManager.sol/IGlpManager.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/GMX/IVaultPriceFeed.sol/IVaultPriceFeed.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IDiamondCut.sol/IDiamondCut.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  137. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  138. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  139. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  140. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  141. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  142. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  143. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  144. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  145. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  146. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  147. package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
  148. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
  149. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
  150. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  151. package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
  152. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  153. package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.dbg.json +1 -1
  154. package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.dbg.json +1 -1
  155. package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
  156. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  157. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  158. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  159. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  160. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  161. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
  162. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  163. package/build/artifacts/contracts/offchain-helpers/PendleMulticall.sol/PendleMulticall.dbg.json +1 -1
  164. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  165. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  166. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  167. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  168. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  169. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  170. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  171. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  172. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  173. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  174. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
  175. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  176. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  177. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  178. package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
  179. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  180. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  181. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  182. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  183. package/build/artifacts/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +1 -1
  184. package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +1 -1
  185. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  186. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapAggregator.sol/PendleSwapAggregator.dbg.json +1 -1
  187. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberAggregationRouterHelper.sol/KyberAggregationRouterHelper.dbg.json +1 -1
  188. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScaleDataHelperEthereum1.sol/ScaleDataHelperEthereum1.dbg.json +1 -1
  189. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
  190. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.dbg.json +1 -1
  191. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IHashflow.sol/IHashflow.dbg.json +1 -1
  192. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
  193. package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol +4 -3
  194. package/deployments/1-markets/BALANCER-LP-AURA-ANKRETH-WETH-MARCH-28-2024.json +11 -0
  195. package/package.json +1 -1
  196. package/typechain-types/AccessControl.ts +360 -0
  197. package/typechain-types/ActionBaseMintRedeem.ts +87 -0
  198. package/typechain-types/ActionCallback.ts +134 -0
  199. package/typechain-types/ActionCore.ts +1758 -0
  200. package/typechain-types/ActionSCYAndPTBase.ts +87 -0
  201. package/typechain-types/ActionSCYAndPYBase.ts +87 -0
  202. package/typechain-types/ActionSCYAndYTBase.ts +87 -0
  203. package/typechain-types/ActionSwapPTYT.ts +237 -0
  204. package/typechain-types/ActionYT.ts +509 -0
  205. package/typechain-types/AggregationRouterHelper.ts +392 -0
  206. package/typechain-types/BaseSplitCodeFactory.ts +118 -0
  207. package/typechain-types/BoringOwnable.ts +194 -0
  208. package/typechain-types/BoringOwnableData.ts +100 -0
  209. package/typechain-types/BribeDistributor.ts +363 -0
  210. package/typechain-types/CelerReceiverUpg.ts +372 -0
  211. package/typechain-types/CelerSenderUpg.ts +321 -0
  212. package/typechain-types/Curve3CrvPoolHelper.ts +236 -0
  213. package/typechain-types/CurveFraxUsdcPoolHelper.ts +158 -0
  214. package/typechain-types/CurveUsdd3CrvPoolHelper.ts +184 -0
  215. package/typechain-types/DistributorBase.ts +363 -0
  216. package/typechain-types/ERC165.ts +102 -0
  217. package/typechain-types/ERC1967UpgradeUpgradeable.ts +97 -0
  218. package/typechain-types/EpochResultManager.ts +261 -0
  219. package/typechain-types/FeeDistributor.ts +416 -0
  220. package/typechain-types/FeeDistributorAbstract.ts +240 -0
  221. package/typechain-types/FeeDistributorVePendle.ts +81 -0
  222. package/typechain-types/FeeDistributorVoting.ts +272 -0
  223. package/typechain-types/FeeDistributorVotingFactory.ts +293 -0
  224. package/typechain-types/GMXPreviewHelper.ts +121 -0
  225. package/typechain-types/IAccessControl.ts +305 -0
  226. package/typechain-types/IAggregationRouterHelper.ts +108 -0
  227. package/typechain-types/IBeaconUpgradeable.ts +87 -0
  228. package/typechain-types/ICelerMessageBus.ts +134 -0
  229. package/typechain-types/ICelerMessageReceiverApp.ts +120 -0
  230. package/typechain-types/IERC165.ts +102 -0
  231. package/typechain-types/IERC1822ProxiableUpgradeable.ts +87 -0
  232. package/typechain-types/IERC20Upgradeable.ts +300 -0
  233. package/typechain-types/IKyberSwapAggregationRouterHelper.ts +109 -0
  234. package/typechain-types/IMetaAggregationRouter.ts +213 -0
  235. package/typechain-types/IMultihopRouter.ts +209 -0
  236. package/typechain-types/IMultihopRouterEthereum.ts +209 -0
  237. package/typechain-types/IPActionCore.ts +1739 -0
  238. package/typechain-types/IPActionSwapPTYT.ts +237 -0
  239. package/typechain-types/IPActionYT.ts +490 -0
  240. package/typechain-types/IPBatchSeller.ts +234 -0
  241. package/typechain-types/IPFeeDistributorFactory.ts +101 -0
  242. package/typechain-types/IPVotingControllerStorage.ts +169 -0
  243. package/typechain-types/IPVotingEscrow.ts +344 -0
  244. package/typechain-types/IStargateLP.ts +306 -0
  245. package/typechain-types/IStargateStaking.ts +232 -0
  246. package/typechain-types/ISuperComposableYield.ts +895 -0
  247. package/typechain-types/ISwapAggregator.ts +124 -0
  248. package/typechain-types/ImplicitSwapfeeContract.ts +149 -0
  249. package/typechain-types/KyberSwapHelper.ts +87 -0
  250. package/typechain-types/OwnableUpgradeable.ts +165 -0
  251. package/typechain-types/Pendle3CrvAndTokenSCY.ts +1215 -0
  252. package/typechain-types/Pendle3CrvAndTokenSY.ts +1243 -0
  253. package/typechain-types/Pendle3CrvHelper.ts +133 -0
  254. package/typechain-types/Pendle3CrvTokenSCY.ts +1150 -0
  255. package/typechain-types/PendleAaveV3SCY.ts +1088 -0
  256. package/typechain-types/PendleApeStakingSY.ts +1135 -0
  257. package/typechain-types/PendleBatchSeller.ts +648 -0
  258. package/typechain-types/PendleConvex2TokensSY.ts +1215 -0
  259. package/typechain-types/PendleConvexCurveLP2PoolSCY.ts +1215 -0
  260. package/typechain-types/PendleConvexCurveLP3PoolSCY.ts +1269 -0
  261. package/typechain-types/PendleConvexCurveLP4PoolSCY.ts +1288 -0
  262. package/typechain-types/PendleConvexCurveLPSCY.ts +1189 -0
  263. package/typechain-types/PendleCvxCRVSCY.ts +1104 -0
  264. package/typechain-types/PendleERC4626SCY.ts +950 -0
  265. package/typechain-types/PendleEulerSCY.ts +965 -0
  266. package/typechain-types/PendleFeeDistributorAbstract.ts +289 -0
  267. package/typechain-types/PendleFeeDistributorFactory.ts +591 -0
  268. package/typechain-types/PendleFeeDistributorVoting.ts +321 -0
  269. package/typechain-types/PendleFeeDistributorVotingFactory.ts +294 -0
  270. package/typechain-types/PendleGovernanceManager.ts +187 -0
  271. package/typechain-types/PendleLooksStaking.ts +1052 -0
  272. package/typechain-types/PendlePtOracleBase.ts +139 -0
  273. package/typechain-types/PendleQiSAvaxSCY.ts +1098 -0
  274. package/typechain-types/PendleQiTokenSCY.ts +1166 -0
  275. package/typechain-types/PendleSAvaxSCY.ts +962 -0
  276. package/typechain-types/PendleSJoeSCY.ts +1053 -0
  277. package/typechain-types/PendleStargateLP.ts +1442 -0
  278. package/typechain-types/PendleStargateSCY.ts +1135 -0
  279. package/typechain-types/PendleWstEthSCY.ts +1040 -0
  280. package/typechain-types/PendleYearnVaultSCY.ts +963 -0
  281. package/typechain-types/PermissionsV2Upg.ts +87 -0
  282. package/typechain-types/PtAMMArb.ts +587 -0
  283. package/typechain-types/SCYBase.ts +1001 -0
  284. package/typechain-types/SCYBaseWithDynamicRewards.ts +1063 -0
  285. package/typechain-types/SCYBaseWithRewards.ts +1094 -0
  286. package/typechain-types/SSTORE2DeployerContract.ts +242 -0
  287. package/typechain-types/SYBaseAutoCompound.ts +1203 -0
  288. package/typechain-types/StEthHelper.ts +107 -0
  289. package/typechain-types/SwapAggregator.ts +406 -0
  290. package/typechain-types/factories/AccessControl__factory.ts +227 -0
  291. package/typechain-types/factories/ActionBaseMintRedeem__factory.ts +43 -0
  292. package/typechain-types/factories/ActionCallback__factory.ts +223 -0
  293. package/typechain-types/factories/ActionCore__factory.ts +1863 -0
  294. package/typechain-types/factories/ActionSCYAndPTBase__factory.ts +39 -0
  295. package/typechain-types/factories/ActionSCYAndPYBase__factory.ts +39 -0
  296. package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +39 -0
  297. package/typechain-types/factories/ActionSwapPTYT__factory.ts +396 -0
  298. package/typechain-types/factories/ActionYT__factory.ts +499 -0
  299. package/typechain-types/factories/AggregationRouterHelper__factory.ts +281 -0
  300. package/typechain-types/factories/BaseSplitCodeFactory__factory.ts +102 -0
  301. package/typechain-types/factories/BoringOwnableData__factory.ts +90 -0
  302. package/typechain-types/factories/BoringOwnable__factory.ts +141 -0
  303. package/typechain-types/factories/BribeDistributor__factory.ts +303 -0
  304. package/typechain-types/factories/CelerReceiverUpg__factory.ts +205 -0
  305. package/typechain-types/factories/CelerSenderUpg__factory.ts +163 -0
  306. package/typechain-types/factories/Curve3CrvPoolHelper__factory.ts +220 -0
  307. package/typechain-types/factories/CurveFraxUsdcPoolHelper__factory.ts +146 -0
  308. package/typechain-types/factories/CurveUsdd3CrvPoolHelper__factory.ts +172 -0
  309. package/typechain-types/factories/DistributorBase__factory.ts +249 -0
  310. package/typechain-types/factories/ERC165__factory.ts +39 -0
  311. package/typechain-types/factories/ERC1967UpgradeUpgradeable__factory.ts +75 -0
  312. package/typechain-types/factories/EpochResultManager__factory.ts +146 -0
  313. package/typechain-types/factories/FeeDistributorAbstract__factory.ts +127 -0
  314. package/typechain-types/factories/FeeDistributorVePendle__factory.ts +97 -0
  315. package/typechain-types/factories/FeeDistributorVotingFactory__factory.ts +211 -0
  316. package/typechain-types/factories/FeeDistributorVoting__factory.ts +219 -0
  317. package/typechain-types/factories/FeeDistributor__factory.ts +339 -0
  318. package/typechain-types/factories/GMXPreviewHelper__factory.ts +65 -0
  319. package/typechain-types/factories/IAccessControl__factory.ts +198 -0
  320. package/typechain-types/factories/IAggregationRouterHelper__factory.ts +54 -0
  321. package/typechain-types/factories/IBeaconUpgradeable__factory.ts +39 -0
  322. package/typechain-types/factories/ICelerMessageBus__factory.ts +68 -0
  323. package/typechain-types/factories/ICelerMessageReceiverApp__factory.ts +64 -0
  324. package/typechain-types/factories/IERC165__factory.ts +42 -0
  325. package/typechain-types/factories/IERC1822ProxiableUpgradeable__factory.ts +43 -0
  326. package/typechain-types/factories/IERC20Upgradeable__factory.ts +209 -0
  327. package/typechain-types/factories/IKyberSwapAggregationRouterHelper__factory.ts +56 -0
  328. package/typechain-types/factories/IMetaAggregationRouter__factory.ts +202 -0
  329. package/typechain-types/factories/IMultihopRouterEthereum__factory.ts +155 -0
  330. package/typechain-types/factories/IMultihopRouter__factory.ts +151 -0
  331. package/typechain-types/factories/IPActionCore__factory.ts +1784 -0
  332. package/typechain-types/factories/IPActionSwapPTYT__factory.ts +205 -0
  333. package/typechain-types/factories/IPActionYT__factory.ts +435 -0
  334. package/typechain-types/factories/IPBatchSeller__factory.ts +132 -0
  335. package/typechain-types/factories/IPFeeDistributorFactory__factory.ts +86 -0
  336. package/typechain-types/factories/IPVotingControllerStorage__factory.ts +107 -0
  337. package/typechain-types/factories/IPVotingEscrow__factory.ts +250 -0
  338. package/typechain-types/factories/IStargateLP__factory.ts +212 -0
  339. package/typechain-types/factories/IStargateStaking__factory.ts +145 -0
  340. package/typechain-types/factories/ISuperComposableYield__factory.ts +662 -0
  341. package/typechain-types/factories/ISwapAggregator__factory.ts +66 -0
  342. package/typechain-types/factories/ImplicitSwapfeeContract__factory.ts +239 -0
  343. package/typechain-types/factories/KyberSwapHelper__factory.ts +39 -0
  344. package/typechain-types/factories/MarketMathStatic__factory.ts +1 -1
  345. package/typechain-types/factories/OwnableUpgradeable__factory.ts +78 -0
  346. package/typechain-types/factories/Pendle3CrvAndTokenSCY__factory.ts +1130 -0
  347. package/typechain-types/factories/Pendle3CrvAndTokenSY__factory.ts +1106 -0
  348. package/typechain-types/factories/Pendle3CrvHelper__factory.ts +129 -0
  349. package/typechain-types/factories/Pendle3CrvTokenSCY__factory.ts +996 -0
  350. package/typechain-types/factories/PendleAaveV3SCY__factory.ts +874 -0
  351. package/typechain-types/factories/PendleApeStakingSY__factory.ts +981 -0
  352. package/typechain-types/factories/PendleAuraWethAnkrethSY__factory.ts +1 -1
  353. package/typechain-types/factories/PendleBatchSeller__factory.ts +480 -0
  354. package/typechain-types/factories/PendleConvex2TokensSY__factory.ts +1093 -0
  355. package/typechain-types/factories/PendleConvexCurveLP2PoolSCY__factory.ts +1125 -0
  356. package/typechain-types/factories/PendleConvexCurveLP3PoolSCY__factory.ts +1067 -0
  357. package/typechain-types/factories/PendleConvexCurveLP4PoolSCY__factory.ts +1080 -0
  358. package/typechain-types/factories/PendleConvexCurveLPSCY__factory.ts +967 -0
  359. package/typechain-types/factories/PendleCvxCRVSCY__factory.ts +910 -0
  360. package/typechain-types/factories/PendleERC4626SCY__factory.ts +774 -0
  361. package/typechain-types/factories/PendleEulerSCY__factory.ts +805 -0
  362. package/typechain-types/factories/PendleFeeDistributorAbstract__factory.ts +183 -0
  363. package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +485 -0
  364. package/typechain-types/factories/PendleFeeDistributorVotingFactory__factory.ts +213 -0
  365. package/typechain-types/factories/PendleFeeDistributorVoting__factory.ts +275 -0
  366. package/typechain-types/factories/PendleGovernanceManager__factory.ts +149 -0
  367. package/typechain-types/factories/PendleLooksStaking__factory.ts +933 -0
  368. package/typechain-types/factories/PendlePtOracleBase__factory.ts +78 -0
  369. package/typechain-types/factories/PendleQiSAvaxSCY__factory.ts +917 -0
  370. package/typechain-types/factories/PendleQiTokenSCY__factory.ts +1095 -0
  371. package/typechain-types/factories/PendleSAvaxSCY__factory.ts +796 -0
  372. package/typechain-types/factories/PendleSJoeSCY__factory.ts +845 -0
  373. package/typechain-types/factories/PendleStargateLP__factory.ts +1241 -0
  374. package/typechain-types/factories/PendleStargateSCY__factory.ts +952 -0
  375. package/typechain-types/factories/PendleWstEthSCY__factory.ts +924 -0
  376. package/typechain-types/factories/PendleYearnVaultSCY__factory.ts +787 -0
  377. package/typechain-types/factories/PermissionsV2Upg__factory.ts +39 -0
  378. package/typechain-types/factories/PtAMMArb__factory.ts +525 -0
  379. package/typechain-types/factories/RouterStatic__factory.ts +1 -1
  380. package/typechain-types/factories/SCYBaseWithDynamicRewards__factory.ts +775 -0
  381. package/typechain-types/factories/SCYBaseWithRewards__factory.ts +867 -0
  382. package/typechain-types/factories/SCYBase__factory.ts +798 -0
  383. package/typechain-types/factories/SSTORE2DeployerContract__factory.ts +191 -0
  384. package/typechain-types/factories/SYBaseAutoCompound__factory.ts +942 -0
  385. package/typechain-types/factories/StEthHelper__factory.ts +62 -0
  386. package/typechain-types/factories/SwapAggregator__factory.ts +309 -0
  387. package/typechain-types/hardhat.d.ts +81 -27
  388. package/typechain-types/index.ts +16 -6
@@ -0,0 +1,1784 @@
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 { IPActionCore, IPActionCoreInterface } from "../IPActionCore";
8
+
9
+ const _abi = [
10
+ {
11
+ anonymous: false,
12
+ inputs: [
13
+ {
14
+ indexed: true,
15
+ internalType: "address",
16
+ name: "caller",
17
+ type: "address",
18
+ },
19
+ {
20
+ indexed: true,
21
+ internalType: "address",
22
+ name: "market",
23
+ type: "address",
24
+ },
25
+ {
26
+ indexed: true,
27
+ internalType: "address",
28
+ name: "receiver",
29
+ type: "address",
30
+ },
31
+ {
32
+ indexed: false,
33
+ internalType: "uint256",
34
+ name: "scyUsed",
35
+ type: "uint256",
36
+ },
37
+ {
38
+ indexed: false,
39
+ internalType: "uint256",
40
+ name: "ptUsed",
41
+ type: "uint256",
42
+ },
43
+ {
44
+ indexed: false,
45
+ internalType: "uint256",
46
+ name: "lpOut",
47
+ type: "uint256",
48
+ },
49
+ ],
50
+ name: "AddLiquidityDualScyAndPt",
51
+ type: "event",
52
+ },
53
+ {
54
+ anonymous: false,
55
+ inputs: [
56
+ {
57
+ indexed: true,
58
+ internalType: "address",
59
+ name: "caller",
60
+ type: "address",
61
+ },
62
+ {
63
+ indexed: true,
64
+ internalType: "address",
65
+ name: "market",
66
+ type: "address",
67
+ },
68
+ {
69
+ indexed: true,
70
+ internalType: "address",
71
+ name: "receiver",
72
+ type: "address",
73
+ },
74
+ {
75
+ indexed: false,
76
+ internalType: "address",
77
+ name: "tokenIn",
78
+ type: "address",
79
+ },
80
+ {
81
+ indexed: false,
82
+ internalType: "uint256",
83
+ name: "tokenUsed",
84
+ type: "uint256",
85
+ },
86
+ {
87
+ indexed: false,
88
+ internalType: "uint256",
89
+ name: "ptUsed",
90
+ type: "uint256",
91
+ },
92
+ {
93
+ indexed: false,
94
+ internalType: "uint256",
95
+ name: "lpOut",
96
+ type: "uint256",
97
+ },
98
+ ],
99
+ name: "AddLiquidityDualTokenAndPt",
100
+ type: "event",
101
+ },
102
+ {
103
+ anonymous: false,
104
+ inputs: [
105
+ {
106
+ indexed: true,
107
+ internalType: "address",
108
+ name: "caller",
109
+ type: "address",
110
+ },
111
+ {
112
+ indexed: true,
113
+ internalType: "address",
114
+ name: "receiver",
115
+ type: "address",
116
+ },
117
+ {
118
+ indexed: true,
119
+ internalType: "address",
120
+ name: "YT",
121
+ type: "address",
122
+ },
123
+ {
124
+ indexed: false,
125
+ internalType: "uint256",
126
+ name: "netScyIn",
127
+ type: "uint256",
128
+ },
129
+ {
130
+ indexed: false,
131
+ internalType: "uint256",
132
+ name: "netPyOut",
133
+ type: "uint256",
134
+ },
135
+ ],
136
+ name: "MintPyFromScy",
137
+ type: "event",
138
+ },
139
+ {
140
+ anonymous: false,
141
+ inputs: [
142
+ {
143
+ indexed: true,
144
+ internalType: "address",
145
+ name: "caller",
146
+ type: "address",
147
+ },
148
+ {
149
+ indexed: true,
150
+ internalType: "address",
151
+ name: "receiver",
152
+ type: "address",
153
+ },
154
+ {
155
+ indexed: true,
156
+ internalType: "address",
157
+ name: "YT",
158
+ type: "address",
159
+ },
160
+ {
161
+ indexed: false,
162
+ internalType: "address",
163
+ name: "tokenIn",
164
+ type: "address",
165
+ },
166
+ {
167
+ indexed: false,
168
+ internalType: "uint256",
169
+ name: "netTokenIn",
170
+ type: "uint256",
171
+ },
172
+ {
173
+ indexed: false,
174
+ internalType: "uint256",
175
+ name: "netPyOut",
176
+ type: "uint256",
177
+ },
178
+ ],
179
+ name: "MintPyFromToken",
180
+ type: "event",
181
+ },
182
+ {
183
+ anonymous: false,
184
+ inputs: [
185
+ {
186
+ indexed: true,
187
+ internalType: "address",
188
+ name: "caller",
189
+ type: "address",
190
+ },
191
+ {
192
+ indexed: true,
193
+ internalType: "address",
194
+ name: "receiver",
195
+ type: "address",
196
+ },
197
+ {
198
+ indexed: true,
199
+ internalType: "address",
200
+ name: "SCY",
201
+ type: "address",
202
+ },
203
+ {
204
+ indexed: false,
205
+ internalType: "address",
206
+ name: "tokenIn",
207
+ type: "address",
208
+ },
209
+ {
210
+ indexed: false,
211
+ internalType: "uint256",
212
+ name: "netTokenIn",
213
+ type: "uint256",
214
+ },
215
+ {
216
+ indexed: false,
217
+ internalType: "uint256",
218
+ name: "netScyOut",
219
+ type: "uint256",
220
+ },
221
+ ],
222
+ name: "MintScyFromToken",
223
+ type: "event",
224
+ },
225
+ {
226
+ anonymous: false,
227
+ inputs: [
228
+ {
229
+ indexed: true,
230
+ internalType: "address",
231
+ name: "caller",
232
+ type: "address",
233
+ },
234
+ {
235
+ indexed: true,
236
+ internalType: "address",
237
+ name: "receiver",
238
+ type: "address",
239
+ },
240
+ {
241
+ indexed: true,
242
+ internalType: "address",
243
+ name: "YT",
244
+ type: "address",
245
+ },
246
+ {
247
+ indexed: false,
248
+ internalType: "uint256",
249
+ name: "netPyIn",
250
+ type: "uint256",
251
+ },
252
+ {
253
+ indexed: false,
254
+ internalType: "uint256",
255
+ name: "netScyOut",
256
+ type: "uint256",
257
+ },
258
+ ],
259
+ name: "RedeemPyToScy",
260
+ type: "event",
261
+ },
262
+ {
263
+ anonymous: false,
264
+ inputs: [
265
+ {
266
+ indexed: true,
267
+ internalType: "address",
268
+ name: "caller",
269
+ type: "address",
270
+ },
271
+ {
272
+ indexed: true,
273
+ internalType: "address",
274
+ name: "receiver",
275
+ type: "address",
276
+ },
277
+ {
278
+ indexed: true,
279
+ internalType: "address",
280
+ name: "YT",
281
+ type: "address",
282
+ },
283
+ {
284
+ indexed: false,
285
+ internalType: "uint256",
286
+ name: "netPyIn",
287
+ type: "uint256",
288
+ },
289
+ {
290
+ indexed: false,
291
+ internalType: "address",
292
+ name: "tokenOut",
293
+ type: "address",
294
+ },
295
+ {
296
+ indexed: false,
297
+ internalType: "uint256",
298
+ name: "netTokenOut",
299
+ type: "uint256",
300
+ },
301
+ ],
302
+ name: "RedeemPyToToken",
303
+ type: "event",
304
+ },
305
+ {
306
+ anonymous: false,
307
+ inputs: [
308
+ {
309
+ indexed: true,
310
+ internalType: "address",
311
+ name: "caller",
312
+ type: "address",
313
+ },
314
+ {
315
+ indexed: true,
316
+ internalType: "address",
317
+ name: "receiver",
318
+ type: "address",
319
+ },
320
+ {
321
+ indexed: true,
322
+ internalType: "address",
323
+ name: "SCY",
324
+ type: "address",
325
+ },
326
+ {
327
+ indexed: false,
328
+ internalType: "uint256",
329
+ name: "netScyIn",
330
+ type: "uint256",
331
+ },
332
+ {
333
+ indexed: false,
334
+ internalType: "address",
335
+ name: "tokenOut",
336
+ type: "address",
337
+ },
338
+ {
339
+ indexed: false,
340
+ internalType: "uint256",
341
+ name: "netTokenOut",
342
+ type: "uint256",
343
+ },
344
+ ],
345
+ name: "RedeemScyToToken",
346
+ type: "event",
347
+ },
348
+ {
349
+ anonymous: false,
350
+ inputs: [
351
+ {
352
+ indexed: true,
353
+ internalType: "address",
354
+ name: "caller",
355
+ type: "address",
356
+ },
357
+ {
358
+ indexed: true,
359
+ internalType: "address",
360
+ name: "market",
361
+ type: "address",
362
+ },
363
+ {
364
+ indexed: false,
365
+ internalType: "address",
366
+ name: "receiver",
367
+ type: "address",
368
+ },
369
+ {
370
+ indexed: false,
371
+ internalType: "uint256",
372
+ name: "lpIn",
373
+ type: "uint256",
374
+ },
375
+ {
376
+ indexed: false,
377
+ internalType: "uint256",
378
+ name: "amountPTOut",
379
+ type: "uint256",
380
+ },
381
+ {
382
+ indexed: false,
383
+ internalType: "uint256",
384
+ name: "amountIbTokenOut",
385
+ type: "uint256",
386
+ },
387
+ ],
388
+ name: "RemoveLiquidityDualIbTokenAndPt",
389
+ type: "event",
390
+ },
391
+ {
392
+ anonymous: false,
393
+ inputs: [
394
+ {
395
+ indexed: true,
396
+ internalType: "address",
397
+ name: "caller",
398
+ type: "address",
399
+ },
400
+ {
401
+ indexed: true,
402
+ internalType: "address",
403
+ name: "market",
404
+ type: "address",
405
+ },
406
+ {
407
+ indexed: false,
408
+ internalType: "address",
409
+ name: "receiver",
410
+ type: "address",
411
+ },
412
+ {
413
+ indexed: false,
414
+ internalType: "uint256",
415
+ name: "netlpIn",
416
+ type: "uint256",
417
+ },
418
+ {
419
+ indexed: false,
420
+ internalType: "uint256",
421
+ name: "amountPTOut",
422
+ type: "uint256",
423
+ },
424
+ {
425
+ indexed: false,
426
+ internalType: "uint256",
427
+ name: "amountSCYOut",
428
+ type: "uint256",
429
+ },
430
+ ],
431
+ name: "RemoveLiquidityDualScyAndPt",
432
+ type: "event",
433
+ },
434
+ {
435
+ anonymous: false,
436
+ inputs: [
437
+ {
438
+ indexed: true,
439
+ internalType: "address",
440
+ name: "caller",
441
+ type: "address",
442
+ },
443
+ {
444
+ indexed: true,
445
+ internalType: "address",
446
+ name: "market",
447
+ type: "address",
448
+ },
449
+ {
450
+ indexed: true,
451
+ internalType: "address",
452
+ name: "receiver",
453
+ type: "address",
454
+ },
455
+ {
456
+ indexed: false,
457
+ internalType: "int256",
458
+ name: "amountPtToAccount",
459
+ type: "int256",
460
+ },
461
+ {
462
+ indexed: false,
463
+ internalType: "int256",
464
+ name: "amountScyToAccount",
465
+ type: "int256",
466
+ },
467
+ ],
468
+ name: "SwapPtAndScy",
469
+ type: "event",
470
+ },
471
+ {
472
+ anonymous: false,
473
+ inputs: [
474
+ {
475
+ indexed: true,
476
+ internalType: "address",
477
+ name: "caller",
478
+ type: "address",
479
+ },
480
+ {
481
+ indexed: true,
482
+ internalType: "address",
483
+ name: "market",
484
+ type: "address",
485
+ },
486
+ {
487
+ indexed: true,
488
+ internalType: "address",
489
+ name: "token",
490
+ type: "address",
491
+ },
492
+ {
493
+ indexed: false,
494
+ internalType: "address",
495
+ name: "receiver",
496
+ type: "address",
497
+ },
498
+ {
499
+ indexed: false,
500
+ internalType: "int256",
501
+ name: "amountPtToAccount",
502
+ type: "int256",
503
+ },
504
+ {
505
+ indexed: false,
506
+ internalType: "int256",
507
+ name: "amountTokenToAccount",
508
+ type: "int256",
509
+ },
510
+ ],
511
+ name: "SwapPtAndToken",
512
+ type: "event",
513
+ },
514
+ {
515
+ inputs: [
516
+ {
517
+ internalType: "address",
518
+ name: "receiver",
519
+ type: "address",
520
+ },
521
+ {
522
+ internalType: "address",
523
+ name: "market",
524
+ type: "address",
525
+ },
526
+ {
527
+ internalType: "uint256",
528
+ name: "scyDesired",
529
+ type: "uint256",
530
+ },
531
+ {
532
+ internalType: "uint256",
533
+ name: "ptDesired",
534
+ type: "uint256",
535
+ },
536
+ {
537
+ internalType: "uint256",
538
+ name: "minLpOut",
539
+ type: "uint256",
540
+ },
541
+ ],
542
+ name: "addLiquidityDualScyAndPt",
543
+ outputs: [
544
+ {
545
+ internalType: "uint256",
546
+ name: "netLpOut",
547
+ type: "uint256",
548
+ },
549
+ {
550
+ internalType: "uint256",
551
+ name: "scyUsed",
552
+ type: "uint256",
553
+ },
554
+ {
555
+ internalType: "uint256",
556
+ name: "ptUsed",
557
+ type: "uint256",
558
+ },
559
+ ],
560
+ stateMutability: "nonpayable",
561
+ type: "function",
562
+ },
563
+ {
564
+ inputs: [
565
+ {
566
+ internalType: "address",
567
+ name: "receiver",
568
+ type: "address",
569
+ },
570
+ {
571
+ internalType: "address",
572
+ name: "market",
573
+ type: "address",
574
+ },
575
+ {
576
+ internalType: "address",
577
+ name: "tokenIn",
578
+ type: "address",
579
+ },
580
+ {
581
+ internalType: "uint256",
582
+ name: "tokenDesired",
583
+ type: "uint256",
584
+ },
585
+ {
586
+ internalType: "uint256",
587
+ name: "ptDesired",
588
+ type: "uint256",
589
+ },
590
+ {
591
+ internalType: "uint256",
592
+ name: "minLpOut",
593
+ type: "uint256",
594
+ },
595
+ ],
596
+ name: "addLiquidityDualTokenAndPt",
597
+ outputs: [
598
+ {
599
+ internalType: "uint256",
600
+ name: "netLpOut",
601
+ type: "uint256",
602
+ },
603
+ {
604
+ internalType: "uint256",
605
+ name: "tokenUsed",
606
+ type: "uint256",
607
+ },
608
+ {
609
+ internalType: "uint256",
610
+ name: "ptUsed",
611
+ type: "uint256",
612
+ },
613
+ ],
614
+ stateMutability: "payable",
615
+ type: "function",
616
+ },
617
+ {
618
+ inputs: [
619
+ {
620
+ internalType: "address",
621
+ name: "receiver",
622
+ type: "address",
623
+ },
624
+ {
625
+ internalType: "address",
626
+ name: "market",
627
+ type: "address",
628
+ },
629
+ {
630
+ internalType: "uint256",
631
+ name: "netPtIn",
632
+ type: "uint256",
633
+ },
634
+ {
635
+ internalType: "uint256",
636
+ name: "minLpOut",
637
+ type: "uint256",
638
+ },
639
+ {
640
+ components: [
641
+ {
642
+ internalType: "uint256",
643
+ name: "guessMin",
644
+ type: "uint256",
645
+ },
646
+ {
647
+ internalType: "uint256",
648
+ name: "guessMax",
649
+ type: "uint256",
650
+ },
651
+ {
652
+ internalType: "uint256",
653
+ name: "guessOffchain",
654
+ type: "uint256",
655
+ },
656
+ {
657
+ internalType: "uint256",
658
+ name: "maxIteration",
659
+ type: "uint256",
660
+ },
661
+ {
662
+ internalType: "uint256",
663
+ name: "eps",
664
+ type: "uint256",
665
+ },
666
+ ],
667
+ internalType: "struct ApproxParams",
668
+ name: "guessPtSwapToScy",
669
+ type: "tuple",
670
+ },
671
+ ],
672
+ name: "addLiquiditySinglePt",
673
+ outputs: [
674
+ {
675
+ internalType: "uint256",
676
+ name: "netLpOut",
677
+ type: "uint256",
678
+ },
679
+ ],
680
+ stateMutability: "nonpayable",
681
+ type: "function",
682
+ },
683
+ {
684
+ inputs: [
685
+ {
686
+ internalType: "address",
687
+ name: "receiver",
688
+ type: "address",
689
+ },
690
+ {
691
+ internalType: "address",
692
+ name: "market",
693
+ type: "address",
694
+ },
695
+ {
696
+ internalType: "uint256",
697
+ name: "netScyIn",
698
+ type: "uint256",
699
+ },
700
+ {
701
+ internalType: "uint256",
702
+ name: "minLpOut",
703
+ type: "uint256",
704
+ },
705
+ {
706
+ components: [
707
+ {
708
+ internalType: "uint256",
709
+ name: "guessMin",
710
+ type: "uint256",
711
+ },
712
+ {
713
+ internalType: "uint256",
714
+ name: "guessMax",
715
+ type: "uint256",
716
+ },
717
+ {
718
+ internalType: "uint256",
719
+ name: "guessOffchain",
720
+ type: "uint256",
721
+ },
722
+ {
723
+ internalType: "uint256",
724
+ name: "maxIteration",
725
+ type: "uint256",
726
+ },
727
+ {
728
+ internalType: "uint256",
729
+ name: "eps",
730
+ type: "uint256",
731
+ },
732
+ ],
733
+ internalType: "struct ApproxParams",
734
+ name: "guessPtReceivedFromScy",
735
+ type: "tuple",
736
+ },
737
+ ],
738
+ name: "addLiquiditySingleScy",
739
+ outputs: [
740
+ {
741
+ internalType: "uint256",
742
+ name: "netLpOut",
743
+ type: "uint256",
744
+ },
745
+ ],
746
+ stateMutability: "nonpayable",
747
+ type: "function",
748
+ },
749
+ {
750
+ inputs: [
751
+ {
752
+ internalType: "address",
753
+ name: "receiver",
754
+ type: "address",
755
+ },
756
+ {
757
+ internalType: "address",
758
+ name: "market",
759
+ type: "address",
760
+ },
761
+ {
762
+ internalType: "uint256",
763
+ name: "minLpOut",
764
+ type: "uint256",
765
+ },
766
+ {
767
+ components: [
768
+ {
769
+ internalType: "uint256",
770
+ name: "guessMin",
771
+ type: "uint256",
772
+ },
773
+ {
774
+ internalType: "uint256",
775
+ name: "guessMax",
776
+ type: "uint256",
777
+ },
778
+ {
779
+ internalType: "uint256",
780
+ name: "guessOffchain",
781
+ type: "uint256",
782
+ },
783
+ {
784
+ internalType: "uint256",
785
+ name: "maxIteration",
786
+ type: "uint256",
787
+ },
788
+ {
789
+ internalType: "uint256",
790
+ name: "eps",
791
+ type: "uint256",
792
+ },
793
+ ],
794
+ internalType: "struct ApproxParams",
795
+ name: "guessPtReceivedFromScy",
796
+ type: "tuple",
797
+ },
798
+ {
799
+ components: [
800
+ {
801
+ internalType: "address",
802
+ name: "tokenIn",
803
+ type: "address",
804
+ },
805
+ {
806
+ internalType: "uint256",
807
+ name: "netTokenIn",
808
+ type: "uint256",
809
+ },
810
+ {
811
+ internalType: "address",
812
+ name: "tokenMintScy",
813
+ type: "address",
814
+ },
815
+ {
816
+ internalType: "bytes",
817
+ name: "kybercall",
818
+ type: "bytes",
819
+ },
820
+ ],
821
+ internalType: "struct TokenInput",
822
+ name: "input",
823
+ type: "tuple",
824
+ },
825
+ ],
826
+ name: "addLiquiditySingleToken",
827
+ outputs: [
828
+ {
829
+ internalType: "uint256",
830
+ name: "netLpOut",
831
+ type: "uint256",
832
+ },
833
+ ],
834
+ stateMutability: "payable",
835
+ type: "function",
836
+ },
837
+ {
838
+ inputs: [
839
+ {
840
+ internalType: "address",
841
+ name: "receiver",
842
+ type: "address",
843
+ },
844
+ {
845
+ internalType: "address",
846
+ name: "YT",
847
+ type: "address",
848
+ },
849
+ {
850
+ internalType: "uint256",
851
+ name: "netScyIn",
852
+ type: "uint256",
853
+ },
854
+ {
855
+ internalType: "uint256",
856
+ name: "minPyOut",
857
+ type: "uint256",
858
+ },
859
+ ],
860
+ name: "mintPyFromScy",
861
+ outputs: [
862
+ {
863
+ internalType: "uint256",
864
+ name: "netPyOut",
865
+ type: "uint256",
866
+ },
867
+ ],
868
+ stateMutability: "nonpayable",
869
+ type: "function",
870
+ },
871
+ {
872
+ inputs: [
873
+ {
874
+ internalType: "address",
875
+ name: "receiver",
876
+ type: "address",
877
+ },
878
+ {
879
+ internalType: "address",
880
+ name: "YT",
881
+ type: "address",
882
+ },
883
+ {
884
+ internalType: "uint256",
885
+ name: "minPyOut",
886
+ type: "uint256",
887
+ },
888
+ {
889
+ components: [
890
+ {
891
+ internalType: "address",
892
+ name: "tokenIn",
893
+ type: "address",
894
+ },
895
+ {
896
+ internalType: "uint256",
897
+ name: "netTokenIn",
898
+ type: "uint256",
899
+ },
900
+ {
901
+ internalType: "address",
902
+ name: "tokenMintScy",
903
+ type: "address",
904
+ },
905
+ {
906
+ internalType: "bytes",
907
+ name: "kybercall",
908
+ type: "bytes",
909
+ },
910
+ ],
911
+ internalType: "struct TokenInput",
912
+ name: "input",
913
+ type: "tuple",
914
+ },
915
+ ],
916
+ name: "mintPyFromToken",
917
+ outputs: [
918
+ {
919
+ internalType: "uint256",
920
+ name: "netPyOut",
921
+ type: "uint256",
922
+ },
923
+ ],
924
+ stateMutability: "payable",
925
+ type: "function",
926
+ },
927
+ {
928
+ inputs: [
929
+ {
930
+ internalType: "address",
931
+ name: "receiver",
932
+ type: "address",
933
+ },
934
+ {
935
+ internalType: "address",
936
+ name: "SCY",
937
+ type: "address",
938
+ },
939
+ {
940
+ internalType: "uint256",
941
+ name: "minScyOut",
942
+ type: "uint256",
943
+ },
944
+ {
945
+ components: [
946
+ {
947
+ internalType: "address",
948
+ name: "tokenIn",
949
+ type: "address",
950
+ },
951
+ {
952
+ internalType: "uint256",
953
+ name: "netTokenIn",
954
+ type: "uint256",
955
+ },
956
+ {
957
+ internalType: "address",
958
+ name: "tokenMintScy",
959
+ type: "address",
960
+ },
961
+ {
962
+ internalType: "bytes",
963
+ name: "kybercall",
964
+ type: "bytes",
965
+ },
966
+ ],
967
+ internalType: "struct TokenInput",
968
+ name: "input",
969
+ type: "tuple",
970
+ },
971
+ ],
972
+ name: "mintScyFromToken",
973
+ outputs: [
974
+ {
975
+ internalType: "uint256",
976
+ name: "netScyOut",
977
+ type: "uint256",
978
+ },
979
+ ],
980
+ stateMutability: "payable",
981
+ type: "function",
982
+ },
983
+ {
984
+ inputs: [
985
+ {
986
+ internalType: "address",
987
+ name: "user",
988
+ type: "address",
989
+ },
990
+ {
991
+ internalType: "address[]",
992
+ name: "scys",
993
+ type: "address[]",
994
+ },
995
+ {
996
+ internalType: "address[]",
997
+ name: "yts",
998
+ type: "address[]",
999
+ },
1000
+ {
1001
+ internalType: "address[]",
1002
+ name: "markets",
1003
+ type: "address[]",
1004
+ },
1005
+ ],
1006
+ name: "redeemDueInterestAndRewards",
1007
+ outputs: [
1008
+ {
1009
+ internalType: "uint256[][]",
1010
+ name: "scyRewards",
1011
+ type: "uint256[][]",
1012
+ },
1013
+ {
1014
+ internalType: "uint256[]",
1015
+ name: "ytInterests",
1016
+ type: "uint256[]",
1017
+ },
1018
+ {
1019
+ internalType: "uint256[][]",
1020
+ name: "ytRewards",
1021
+ type: "uint256[][]",
1022
+ },
1023
+ {
1024
+ internalType: "uint256[][]",
1025
+ name: "marketRewards",
1026
+ type: "uint256[][]",
1027
+ },
1028
+ ],
1029
+ stateMutability: "nonpayable",
1030
+ type: "function",
1031
+ },
1032
+ {
1033
+ inputs: [
1034
+ {
1035
+ internalType: "address",
1036
+ name: "receiver",
1037
+ type: "address",
1038
+ },
1039
+ {
1040
+ internalType: "address",
1041
+ name: "YT",
1042
+ type: "address",
1043
+ },
1044
+ {
1045
+ internalType: "uint256",
1046
+ name: "netPyIn",
1047
+ type: "uint256",
1048
+ },
1049
+ {
1050
+ internalType: "uint256",
1051
+ name: "minScyOut",
1052
+ type: "uint256",
1053
+ },
1054
+ ],
1055
+ name: "redeemPyToScy",
1056
+ outputs: [
1057
+ {
1058
+ internalType: "uint256",
1059
+ name: "netScyOut",
1060
+ type: "uint256",
1061
+ },
1062
+ ],
1063
+ stateMutability: "nonpayable",
1064
+ type: "function",
1065
+ },
1066
+ {
1067
+ inputs: [
1068
+ {
1069
+ internalType: "address",
1070
+ name: "receiver",
1071
+ type: "address",
1072
+ },
1073
+ {
1074
+ internalType: "address",
1075
+ name: "YT",
1076
+ type: "address",
1077
+ },
1078
+ {
1079
+ internalType: "uint256",
1080
+ name: "netPyIn",
1081
+ type: "uint256",
1082
+ },
1083
+ {
1084
+ components: [
1085
+ {
1086
+ internalType: "address",
1087
+ name: "tokenOut",
1088
+ type: "address",
1089
+ },
1090
+ {
1091
+ internalType: "uint256",
1092
+ name: "minTokenOut",
1093
+ type: "uint256",
1094
+ },
1095
+ {
1096
+ internalType: "address",
1097
+ name: "tokenRedeemScy",
1098
+ type: "address",
1099
+ },
1100
+ {
1101
+ internalType: "bytes",
1102
+ name: "kybercall",
1103
+ type: "bytes",
1104
+ },
1105
+ ],
1106
+ internalType: "struct TokenOutput",
1107
+ name: "output",
1108
+ type: "tuple",
1109
+ },
1110
+ ],
1111
+ name: "redeemPyToToken",
1112
+ outputs: [
1113
+ {
1114
+ internalType: "uint256",
1115
+ name: "netTokenOut",
1116
+ type: "uint256",
1117
+ },
1118
+ ],
1119
+ stateMutability: "nonpayable",
1120
+ type: "function",
1121
+ },
1122
+ {
1123
+ inputs: [
1124
+ {
1125
+ internalType: "address",
1126
+ name: "receiver",
1127
+ type: "address",
1128
+ },
1129
+ {
1130
+ internalType: "address",
1131
+ name: "SCY",
1132
+ type: "address",
1133
+ },
1134
+ {
1135
+ internalType: "uint256",
1136
+ name: "netScyIn",
1137
+ type: "uint256",
1138
+ },
1139
+ {
1140
+ components: [
1141
+ {
1142
+ internalType: "address",
1143
+ name: "tokenOut",
1144
+ type: "address",
1145
+ },
1146
+ {
1147
+ internalType: "uint256",
1148
+ name: "minTokenOut",
1149
+ type: "uint256",
1150
+ },
1151
+ {
1152
+ internalType: "address",
1153
+ name: "tokenRedeemScy",
1154
+ type: "address",
1155
+ },
1156
+ {
1157
+ internalType: "bytes",
1158
+ name: "kybercall",
1159
+ type: "bytes",
1160
+ },
1161
+ ],
1162
+ internalType: "struct TokenOutput",
1163
+ name: "output",
1164
+ type: "tuple",
1165
+ },
1166
+ ],
1167
+ name: "redeemScyToToken",
1168
+ outputs: [
1169
+ {
1170
+ internalType: "uint256",
1171
+ name: "netTokenOut",
1172
+ type: "uint256",
1173
+ },
1174
+ ],
1175
+ stateMutability: "nonpayable",
1176
+ type: "function",
1177
+ },
1178
+ {
1179
+ inputs: [
1180
+ {
1181
+ internalType: "address",
1182
+ name: "receiver",
1183
+ type: "address",
1184
+ },
1185
+ {
1186
+ internalType: "address",
1187
+ name: "market",
1188
+ type: "address",
1189
+ },
1190
+ {
1191
+ internalType: "uint256",
1192
+ name: "lpToRemove",
1193
+ type: "uint256",
1194
+ },
1195
+ {
1196
+ internalType: "uint256",
1197
+ name: "scyOutMin",
1198
+ type: "uint256",
1199
+ },
1200
+ {
1201
+ internalType: "uint256",
1202
+ name: "ptOutMin",
1203
+ type: "uint256",
1204
+ },
1205
+ ],
1206
+ name: "removeLiquidityDualScyAndPt",
1207
+ outputs: [
1208
+ {
1209
+ internalType: "uint256",
1210
+ name: "netScyOut",
1211
+ type: "uint256",
1212
+ },
1213
+ {
1214
+ internalType: "uint256",
1215
+ name: "netPtOut",
1216
+ type: "uint256",
1217
+ },
1218
+ ],
1219
+ stateMutability: "nonpayable",
1220
+ type: "function",
1221
+ },
1222
+ {
1223
+ inputs: [
1224
+ {
1225
+ internalType: "address",
1226
+ name: "receiver",
1227
+ type: "address",
1228
+ },
1229
+ {
1230
+ internalType: "address",
1231
+ name: "market",
1232
+ type: "address",
1233
+ },
1234
+ {
1235
+ internalType: "uint256",
1236
+ name: "lpToRemove",
1237
+ type: "uint256",
1238
+ },
1239
+ {
1240
+ internalType: "address",
1241
+ name: "tokenOut",
1242
+ type: "address",
1243
+ },
1244
+ {
1245
+ internalType: "uint256",
1246
+ name: "tokenOutMin",
1247
+ type: "uint256",
1248
+ },
1249
+ {
1250
+ internalType: "uint256",
1251
+ name: "ptOutMin",
1252
+ type: "uint256",
1253
+ },
1254
+ ],
1255
+ name: "removeLiquidityDualTokenAndPt",
1256
+ outputs: [
1257
+ {
1258
+ internalType: "uint256",
1259
+ name: "netTokenOut",
1260
+ type: "uint256",
1261
+ },
1262
+ {
1263
+ internalType: "uint256",
1264
+ name: "netPtOut",
1265
+ type: "uint256",
1266
+ },
1267
+ ],
1268
+ stateMutability: "nonpayable",
1269
+ type: "function",
1270
+ },
1271
+ {
1272
+ inputs: [
1273
+ {
1274
+ internalType: "address",
1275
+ name: "receiver",
1276
+ type: "address",
1277
+ },
1278
+ {
1279
+ internalType: "address",
1280
+ name: "market",
1281
+ type: "address",
1282
+ },
1283
+ {
1284
+ internalType: "uint256",
1285
+ name: "lpToRemove",
1286
+ type: "uint256",
1287
+ },
1288
+ {
1289
+ internalType: "uint256",
1290
+ name: "minPtOut",
1291
+ type: "uint256",
1292
+ },
1293
+ {
1294
+ components: [
1295
+ {
1296
+ internalType: "uint256",
1297
+ name: "guessMin",
1298
+ type: "uint256",
1299
+ },
1300
+ {
1301
+ internalType: "uint256",
1302
+ name: "guessMax",
1303
+ type: "uint256",
1304
+ },
1305
+ {
1306
+ internalType: "uint256",
1307
+ name: "guessOffchain",
1308
+ type: "uint256",
1309
+ },
1310
+ {
1311
+ internalType: "uint256",
1312
+ name: "maxIteration",
1313
+ type: "uint256",
1314
+ },
1315
+ {
1316
+ internalType: "uint256",
1317
+ name: "eps",
1318
+ type: "uint256",
1319
+ },
1320
+ ],
1321
+ internalType: "struct ApproxParams",
1322
+ name: "guessPtOut",
1323
+ type: "tuple",
1324
+ },
1325
+ ],
1326
+ name: "removeLiquiditySinglePt",
1327
+ outputs: [
1328
+ {
1329
+ internalType: "uint256",
1330
+ name: "netPtOut",
1331
+ type: "uint256",
1332
+ },
1333
+ ],
1334
+ stateMutability: "nonpayable",
1335
+ type: "function",
1336
+ },
1337
+ {
1338
+ inputs: [
1339
+ {
1340
+ internalType: "address",
1341
+ name: "receiver",
1342
+ type: "address",
1343
+ },
1344
+ {
1345
+ internalType: "address",
1346
+ name: "market",
1347
+ type: "address",
1348
+ },
1349
+ {
1350
+ internalType: "uint256",
1351
+ name: "lpToRemove",
1352
+ type: "uint256",
1353
+ },
1354
+ {
1355
+ internalType: "uint256",
1356
+ name: "minScyOut",
1357
+ type: "uint256",
1358
+ },
1359
+ ],
1360
+ name: "removeLiquiditySingleScy",
1361
+ outputs: [
1362
+ {
1363
+ internalType: "uint256",
1364
+ name: "netScyOut",
1365
+ type: "uint256",
1366
+ },
1367
+ ],
1368
+ stateMutability: "nonpayable",
1369
+ type: "function",
1370
+ },
1371
+ {
1372
+ inputs: [
1373
+ {
1374
+ internalType: "address",
1375
+ name: "receiver",
1376
+ type: "address",
1377
+ },
1378
+ {
1379
+ internalType: "address",
1380
+ name: "market",
1381
+ type: "address",
1382
+ },
1383
+ {
1384
+ internalType: "uint256",
1385
+ name: "lpToRemove",
1386
+ type: "uint256",
1387
+ },
1388
+ {
1389
+ components: [
1390
+ {
1391
+ internalType: "address",
1392
+ name: "tokenOut",
1393
+ type: "address",
1394
+ },
1395
+ {
1396
+ internalType: "uint256",
1397
+ name: "minTokenOut",
1398
+ type: "uint256",
1399
+ },
1400
+ {
1401
+ internalType: "address",
1402
+ name: "tokenRedeemScy",
1403
+ type: "address",
1404
+ },
1405
+ {
1406
+ internalType: "bytes",
1407
+ name: "kybercall",
1408
+ type: "bytes",
1409
+ },
1410
+ ],
1411
+ internalType: "struct TokenOutput",
1412
+ name: "output",
1413
+ type: "tuple",
1414
+ },
1415
+ ],
1416
+ name: "removeLiquiditySingleToken",
1417
+ outputs: [
1418
+ {
1419
+ internalType: "uint256",
1420
+ name: "netTokenOut",
1421
+ type: "uint256",
1422
+ },
1423
+ ],
1424
+ stateMutability: "nonpayable",
1425
+ type: "function",
1426
+ },
1427
+ {
1428
+ inputs: [
1429
+ {
1430
+ internalType: "address",
1431
+ name: "receiver",
1432
+ type: "address",
1433
+ },
1434
+ {
1435
+ internalType: "address",
1436
+ name: "market",
1437
+ type: "address",
1438
+ },
1439
+ {
1440
+ internalType: "uint256",
1441
+ name: "exactPtIn",
1442
+ type: "uint256",
1443
+ },
1444
+ {
1445
+ internalType: "uint256",
1446
+ name: "minScyOut",
1447
+ type: "uint256",
1448
+ },
1449
+ ],
1450
+ name: "swapExactPtForScy",
1451
+ outputs: [
1452
+ {
1453
+ internalType: "uint256",
1454
+ name: "netScyOut",
1455
+ type: "uint256",
1456
+ },
1457
+ ],
1458
+ stateMutability: "nonpayable",
1459
+ type: "function",
1460
+ },
1461
+ {
1462
+ inputs: [
1463
+ {
1464
+ internalType: "address",
1465
+ name: "receiver",
1466
+ type: "address",
1467
+ },
1468
+ {
1469
+ internalType: "address",
1470
+ name: "market",
1471
+ type: "address",
1472
+ },
1473
+ {
1474
+ internalType: "uint256",
1475
+ name: "exactPtIn",
1476
+ type: "uint256",
1477
+ },
1478
+ {
1479
+ components: [
1480
+ {
1481
+ internalType: "address",
1482
+ name: "tokenOut",
1483
+ type: "address",
1484
+ },
1485
+ {
1486
+ internalType: "uint256",
1487
+ name: "minTokenOut",
1488
+ type: "uint256",
1489
+ },
1490
+ {
1491
+ internalType: "address",
1492
+ name: "tokenRedeemScy",
1493
+ type: "address",
1494
+ },
1495
+ {
1496
+ internalType: "bytes",
1497
+ name: "kybercall",
1498
+ type: "bytes",
1499
+ },
1500
+ ],
1501
+ internalType: "struct TokenOutput",
1502
+ name: "output",
1503
+ type: "tuple",
1504
+ },
1505
+ ],
1506
+ name: "swapExactPtForToken",
1507
+ outputs: [
1508
+ {
1509
+ internalType: "uint256",
1510
+ name: "netTokenOut",
1511
+ type: "uint256",
1512
+ },
1513
+ ],
1514
+ stateMutability: "nonpayable",
1515
+ type: "function",
1516
+ },
1517
+ {
1518
+ inputs: [
1519
+ {
1520
+ internalType: "address",
1521
+ name: "receiver",
1522
+ type: "address",
1523
+ },
1524
+ {
1525
+ internalType: "address",
1526
+ name: "market",
1527
+ type: "address",
1528
+ },
1529
+ {
1530
+ internalType: "uint256",
1531
+ name: "exactScyIn",
1532
+ type: "uint256",
1533
+ },
1534
+ {
1535
+ internalType: "uint256",
1536
+ name: "minPtOut",
1537
+ type: "uint256",
1538
+ },
1539
+ {
1540
+ components: [
1541
+ {
1542
+ internalType: "uint256",
1543
+ name: "guessMin",
1544
+ type: "uint256",
1545
+ },
1546
+ {
1547
+ internalType: "uint256",
1548
+ name: "guessMax",
1549
+ type: "uint256",
1550
+ },
1551
+ {
1552
+ internalType: "uint256",
1553
+ name: "guessOffchain",
1554
+ type: "uint256",
1555
+ },
1556
+ {
1557
+ internalType: "uint256",
1558
+ name: "maxIteration",
1559
+ type: "uint256",
1560
+ },
1561
+ {
1562
+ internalType: "uint256",
1563
+ name: "eps",
1564
+ type: "uint256",
1565
+ },
1566
+ ],
1567
+ internalType: "struct ApproxParams",
1568
+ name: "guessPtOut",
1569
+ type: "tuple",
1570
+ },
1571
+ ],
1572
+ name: "swapExactScyForPt",
1573
+ outputs: [
1574
+ {
1575
+ internalType: "uint256",
1576
+ name: "netPtOut",
1577
+ type: "uint256",
1578
+ },
1579
+ ],
1580
+ stateMutability: "nonpayable",
1581
+ type: "function",
1582
+ },
1583
+ {
1584
+ inputs: [
1585
+ {
1586
+ internalType: "address",
1587
+ name: "receiver",
1588
+ type: "address",
1589
+ },
1590
+ {
1591
+ internalType: "address",
1592
+ name: "market",
1593
+ type: "address",
1594
+ },
1595
+ {
1596
+ internalType: "uint256",
1597
+ name: "minPtOut",
1598
+ type: "uint256",
1599
+ },
1600
+ {
1601
+ components: [
1602
+ {
1603
+ internalType: "uint256",
1604
+ name: "guessMin",
1605
+ type: "uint256",
1606
+ },
1607
+ {
1608
+ internalType: "uint256",
1609
+ name: "guessMax",
1610
+ type: "uint256",
1611
+ },
1612
+ {
1613
+ internalType: "uint256",
1614
+ name: "guessOffchain",
1615
+ type: "uint256",
1616
+ },
1617
+ {
1618
+ internalType: "uint256",
1619
+ name: "maxIteration",
1620
+ type: "uint256",
1621
+ },
1622
+ {
1623
+ internalType: "uint256",
1624
+ name: "eps",
1625
+ type: "uint256",
1626
+ },
1627
+ ],
1628
+ internalType: "struct ApproxParams",
1629
+ name: "guessPtOut",
1630
+ type: "tuple",
1631
+ },
1632
+ {
1633
+ components: [
1634
+ {
1635
+ internalType: "address",
1636
+ name: "tokenIn",
1637
+ type: "address",
1638
+ },
1639
+ {
1640
+ internalType: "uint256",
1641
+ name: "netTokenIn",
1642
+ type: "uint256",
1643
+ },
1644
+ {
1645
+ internalType: "address",
1646
+ name: "tokenMintScy",
1647
+ type: "address",
1648
+ },
1649
+ {
1650
+ internalType: "bytes",
1651
+ name: "kybercall",
1652
+ type: "bytes",
1653
+ },
1654
+ ],
1655
+ internalType: "struct TokenInput",
1656
+ name: "input",
1657
+ type: "tuple",
1658
+ },
1659
+ ],
1660
+ name: "swapExactTokenForPt",
1661
+ outputs: [
1662
+ {
1663
+ internalType: "uint256",
1664
+ name: "netPtOut",
1665
+ type: "uint256",
1666
+ },
1667
+ ],
1668
+ stateMutability: "payable",
1669
+ type: "function",
1670
+ },
1671
+ {
1672
+ inputs: [
1673
+ {
1674
+ internalType: "address",
1675
+ name: "receiver",
1676
+ type: "address",
1677
+ },
1678
+ {
1679
+ internalType: "address",
1680
+ name: "market",
1681
+ type: "address",
1682
+ },
1683
+ {
1684
+ internalType: "uint256",
1685
+ name: "exactScyOut",
1686
+ type: "uint256",
1687
+ },
1688
+ {
1689
+ internalType: "uint256",
1690
+ name: "maxPtIn",
1691
+ type: "uint256",
1692
+ },
1693
+ {
1694
+ components: [
1695
+ {
1696
+ internalType: "uint256",
1697
+ name: "guessMin",
1698
+ type: "uint256",
1699
+ },
1700
+ {
1701
+ internalType: "uint256",
1702
+ name: "guessMax",
1703
+ type: "uint256",
1704
+ },
1705
+ {
1706
+ internalType: "uint256",
1707
+ name: "guessOffchain",
1708
+ type: "uint256",
1709
+ },
1710
+ {
1711
+ internalType: "uint256",
1712
+ name: "maxIteration",
1713
+ type: "uint256",
1714
+ },
1715
+ {
1716
+ internalType: "uint256",
1717
+ name: "eps",
1718
+ type: "uint256",
1719
+ },
1720
+ ],
1721
+ internalType: "struct ApproxParams",
1722
+ name: "guessPtIn",
1723
+ type: "tuple",
1724
+ },
1725
+ ],
1726
+ name: "swapPtForExactScy",
1727
+ outputs: [
1728
+ {
1729
+ internalType: "uint256",
1730
+ name: "netPtIn",
1731
+ type: "uint256",
1732
+ },
1733
+ ],
1734
+ stateMutability: "nonpayable",
1735
+ type: "function",
1736
+ },
1737
+ {
1738
+ inputs: [
1739
+ {
1740
+ internalType: "address",
1741
+ name: "receiver",
1742
+ type: "address",
1743
+ },
1744
+ {
1745
+ internalType: "address",
1746
+ name: "market",
1747
+ type: "address",
1748
+ },
1749
+ {
1750
+ internalType: "uint256",
1751
+ name: "exactPtOut",
1752
+ type: "uint256",
1753
+ },
1754
+ {
1755
+ internalType: "uint256",
1756
+ name: "maxScyIn",
1757
+ type: "uint256",
1758
+ },
1759
+ ],
1760
+ name: "swapScyForExactPt",
1761
+ outputs: [
1762
+ {
1763
+ internalType: "uint256",
1764
+ name: "netScyIn",
1765
+ type: "uint256",
1766
+ },
1767
+ ],
1768
+ stateMutability: "nonpayable",
1769
+ type: "function",
1770
+ },
1771
+ ];
1772
+
1773
+ export class IPActionCore__factory {
1774
+ static readonly abi = _abi;
1775
+ static createInterface(): IPActionCoreInterface {
1776
+ return new utils.Interface(_abi) as IPActionCoreInterface;
1777
+ }
1778
+ static connect(
1779
+ address: string,
1780
+ signerOrProvider: Signer | Provider
1781
+ ): IPActionCore {
1782
+ return new Contract(address, _abi, signerOrProvider) as IPActionCore;
1783
+ }
1784
+ }