@pendle/core-v2 0.11.6-testnet → 0.11.8-testnet

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 (233) hide show
  1. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.dbg.json +4 -0
  2. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.json +810 -0
  3. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +4 -0
  4. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.json +10 -0
  5. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.dbg.json +4 -0
  6. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.json +833 -0
  7. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +4 -0
  8. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +27 -0
  9. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.dbg.json +4 -0
  10. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.json +838 -0
  11. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.dbg.json +4 -0
  12. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.json +723 -0
  13. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.dbg.json +4 -0
  14. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.json +728 -0
  15. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.dbg.json +4 -0
  16. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.json +705 -0
  17. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.dbg.json +4 -0
  18. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.json +864 -0
  19. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +4 -0
  20. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.json +736 -0
  21. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultSCY.sol/PendleYearnVaultSCY.dbg.json +4 -0
  22. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultSCY.sol/PendleYearnVaultSCY.json +718 -0
  23. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.dbg.json +4 -0
  24. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.json +784 -0
  25. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.dbg.json +4 -0
  26. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.json +671 -0
  27. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +4 -0
  28. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.json +737 -0
  29. package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.dbg.json +4 -0
  30. package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.json +190 -0
  31. package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.dbg.json +4 -0
  32. package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.json +148 -0
  33. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +4 -0
  34. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +242 -0
  35. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +4 -0
  36. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +306 -0
  37. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +4 -0
  38. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +369 -0
  39. package/build/artifacts/contracts/core/LiquidityMining/PendleGauge.sol/PendleGauge.dbg.json +4 -0
  40. package/build/artifacts/contracts/core/LiquidityMining/PendleGauge.sol/PendleGauge.json +109 -0
  41. package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +4 -0
  42. package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +865 -0
  43. package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +4 -0
  44. package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.json +365 -0
  45. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +4 -0
  46. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +615 -0
  47. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +4 -0
  48. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +434 -0
  49. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +4 -0
  50. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.json +156 -0
  51. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +4 -0
  52. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +964 -0
  53. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +4 -0
  54. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +379 -0
  55. package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.dbg.json +4 -0
  56. package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.json +254 -0
  57. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +4 -0
  58. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.json +323 -0
  59. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +4 -0
  60. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.json +35 -0
  61. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +4 -0
  62. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +378 -0
  63. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +4 -0
  64. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +440 -0
  65. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +4 -0
  66. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +755 -0
  67. package/build/artifacts/contracts/core/actions/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +4 -0
  68. package/build/artifacts/contracts/core/actions/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +1043 -0
  69. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +4 -0
  70. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +58 -0
  71. package/build/artifacts/contracts/core/actions/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +4 -0
  72. package/build/artifacts/contracts/core/actions/ActionMintRedeem.sol/ActionMintRedeem.json +811 -0
  73. package/build/artifacts/contracts/core/actions/ActionMisc.sol/ActionMisc.dbg.json +4 -0
  74. package/build/artifacts/contracts/core/actions/ActionMisc.sol/ActionMisc.json +35 -0
  75. package/build/artifacts/contracts/core/actions/ActionSwapPT.sol/ActionSwapPT.dbg.json +4 -0
  76. package/build/artifacts/contracts/core/actions/ActionSwapPT.sol/ActionSwapPT.json +477 -0
  77. package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.dbg.json +4 -0
  78. package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.json +477 -0
  79. package/build/artifacts/contracts/core/actions/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +4 -0
  80. package/build/artifacts/contracts/core/actions/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.json +24 -0
  81. package/build/artifacts/contracts/core/actions/base/CallbackHelper.sol/CallbackHelper.dbg.json +4 -0
  82. package/build/artifacts/contracts/core/actions/base/CallbackHelper.sol/CallbackHelper.json +10 -0
  83. package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +4 -0
  84. package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.json +252 -0
  85. package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +4 -0
  86. package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.json +87 -0
  87. package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +4 -0
  88. package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.json +59 -0
  89. package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +4 -0
  90. package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.json +81 -0
  91. package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +4 -0
  92. package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.json +74 -0
  93. package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.dbg.json +4 -0
  94. package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.json +53 -0
  95. package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.dbg.json +4 -0
  96. package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.json +45 -0
  97. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +4 -0
  98. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.json +318 -0
  99. package/build/artifacts/contracts/interfaces/IEulerEToken.sol/IEulerEToken.dbg.json +4 -0
  100. package/build/artifacts/contracts/interfaces/IEulerEToken.sol/IEulerEToken.json +162 -0
  101. package/build/artifacts/contracts/interfaces/IEulerMarkets.sol/IEulerMarkets.dbg.json +4 -0
  102. package/build/artifacts/contracts/interfaces/IEulerMarkets.sol/IEulerMarkets.json +87 -0
  103. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +4 -0
  104. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +1001 -0
  105. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +4 -0
  106. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +769 -0
  107. package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.dbg.json +4 -0
  108. package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.json +35 -0
  109. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +4 -0
  110. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.json +435 -0
  111. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +4 -0
  112. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +435 -0
  113. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +4 -0
  114. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +2631 -0
  115. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +4 -0
  116. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.json +43 -0
  117. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +4 -0
  118. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.json +135 -0
  119. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +4 -0
  120. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.json +158 -0
  121. package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +4 -0
  122. package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.json +24 -0
  123. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +4 -0
  124. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.json +35 -0
  125. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +4 -0
  126. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +703 -0
  127. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +4 -0
  128. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +122 -0
  129. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +4 -0
  130. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.json +34 -0
  131. package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +4 -0
  132. package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.json +24 -0
  133. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +4 -0
  134. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.json +347 -0
  135. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +4 -0
  136. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.json +104 -0
  137. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +4 -0
  138. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.json +130 -0
  139. package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.dbg.json +4 -0
  140. package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.json +142 -0
  141. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +4 -0
  142. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.json +232 -0
  143. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +4 -0
  144. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +642 -0
  145. package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +4 -0
  146. package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.json +350 -0
  147. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +4 -0
  148. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.json +375 -0
  149. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +4 -0
  150. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.json +324 -0
  151. package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +4 -0
  152. package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.json +92 -0
  153. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +4 -0
  154. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.json +40 -0
  155. package/build/artifacts/contracts/interfaces/ISAvax.sol/ISAvax.dbg.json +4 -0
  156. package/build/artifacts/contracts/interfaces/ISAvax.sol/ISAvax.json +199 -0
  157. package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.dbg.json +4 -0
  158. package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.json +168 -0
  159. package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +4 -0
  160. package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.json +92 -0
  161. package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.dbg.json +4 -0
  162. package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.json +137 -0
  163. package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.dbg.json +4 -0
  164. package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.json +135 -0
  165. package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +4 -0
  166. package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.json +63 -0
  167. package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +4 -0
  168. package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.json +667 -0
  169. package/build/artifacts/contracts/interfaces/IWAvax.sol/IWAvax.dbg.json +4 -0
  170. package/build/artifacts/contracts/interfaces/IWAvax.sol/IWAvax.json +252 -0
  171. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +4 -0
  172. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.json +252 -0
  173. package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +4 -0
  174. package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.json +132 -0
  175. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +4 -0
  176. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.json +75 -0
  177. package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +4 -0
  178. package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.json +148 -0
  179. package/build/artifacts/contracts/libraries/OracleLib.sol/OracleLib.dbg.json +4 -0
  180. package/build/artifacts/contracts/libraries/OracleLib.sol/OracleLib.json +74 -0
  181. package/build/artifacts/contracts/libraries/RewardManager.sol/RewardManager.dbg.json +4 -0
  182. package/build/artifacts/contracts/libraries/RewardManager.sol/RewardManager.json +77 -0
  183. package/build/artifacts/contracts/libraries/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +4 -0
  184. package/build/artifacts/contracts/libraries/RewardManagerAbstract.sol/RewardManagerAbstract.json +40 -0
  185. package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.dbg.json +4 -0
  186. package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.json +10 -0
  187. package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +4 -0
  188. package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.json +10 -0
  189. package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +4 -0
  190. package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.json +10 -0
  191. package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.dbg.json +4 -0
  192. package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.json +10 -0
  193. package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +4 -0
  194. package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.json +10 -0
  195. package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.dbg.json +4 -0
  196. package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.json +10 -0
  197. package/build/artifacts/contracts/libraries/helpers/PYIndex.sol/PYIndexLib.dbg.json +4 -0
  198. package/build/artifacts/contracts/libraries/helpers/PYIndex.sol/PYIndexLib.json +10 -0
  199. package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.dbg.json +4 -0
  200. package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.json +10 -0
  201. package/build/artifacts/contracts/libraries/helpers/TokenHelper.sol/TokenHelper.dbg.json +4 -0
  202. package/build/artifacts/contracts/libraries/helpers/TokenHelper.sol/TokenHelper.json +10 -0
  203. package/build/artifacts/contracts/libraries/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +4 -0
  204. package/build/artifacts/contracts/libraries/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +35 -0
  205. package/build/artifacts/contracts/libraries/kyberswap/IMultihopRouter.sol/IMultihopRouter.dbg.json +4 -0
  206. package/build/artifacts/contracts/libraries/kyberswap/IMultihopRouter.sol/IMultihopRouter.json +136 -0
  207. package/build/artifacts/contracts/libraries/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +4 -0
  208. package/build/artifacts/contracts/libraries/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.json +24 -0
  209. package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +4 -0
  210. package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.json +10 -0
  211. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +4 -0
  212. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtInLib.json +10 -0
  213. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +4 -0
  214. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtOutLib.json +10 -0
  215. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +4 -0
  216. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.json +10 -0
  217. package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +4 -0
  218. package/build/artifacts/contracts/libraries/math/Math.sol/Math.json +10 -0
  219. package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.dbg.json +4 -0
  220. package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.json +10 -0
  221. package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.dbg.json +4 -0
  222. package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.json +10 -0
  223. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +4 -0
  224. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +93 -0
  225. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +4 -0
  226. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +2152 -0
  227. package/build/artifacts/contracts/offchain-helpers/SSTORE2DeployerContract.sol/SSTORE2DeployerContract.dbg.json +4 -0
  228. package/build/artifacts/contracts/offchain-helpers/SSTORE2DeployerContract.sol/SSTORE2DeployerContract.json +134 -0
  229. package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +4 -0
  230. package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.json +86 -0
  231. package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +4 -0
  232. package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.json +37 -0
  233. package/package.json +2 -2
@@ -0,0 +1,2631 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IPAllAction",
4
+ "sourceName": "contracts/interfaces/IPAllAction.sol",
5
+ "abi": [
6
+ {
7
+ "anonymous": false,
8
+ "inputs": [
9
+ {
10
+ "indexed": true,
11
+ "internalType": "address",
12
+ "name": "caller",
13
+ "type": "address"
14
+ },
15
+ {
16
+ "indexed": true,
17
+ "internalType": "address",
18
+ "name": "market",
19
+ "type": "address"
20
+ },
21
+ {
22
+ "indexed": true,
23
+ "internalType": "address",
24
+ "name": "receiver",
25
+ "type": "address"
26
+ },
27
+ {
28
+ "indexed": false,
29
+ "internalType": "uint256",
30
+ "name": "netScyUsed",
31
+ "type": "uint256"
32
+ },
33
+ {
34
+ "indexed": false,
35
+ "internalType": "uint256",
36
+ "name": "netPtUsed",
37
+ "type": "uint256"
38
+ },
39
+ {
40
+ "indexed": false,
41
+ "internalType": "uint256",
42
+ "name": "netLpOut",
43
+ "type": "uint256"
44
+ }
45
+ ],
46
+ "name": "AddLiquidityDualScyAndPt",
47
+ "type": "event"
48
+ },
49
+ {
50
+ "anonymous": false,
51
+ "inputs": [
52
+ {
53
+ "indexed": true,
54
+ "internalType": "address",
55
+ "name": "caller",
56
+ "type": "address"
57
+ },
58
+ {
59
+ "indexed": true,
60
+ "internalType": "address",
61
+ "name": "market",
62
+ "type": "address"
63
+ },
64
+ {
65
+ "indexed": true,
66
+ "internalType": "address",
67
+ "name": "receiver",
68
+ "type": "address"
69
+ },
70
+ {
71
+ "indexed": false,
72
+ "internalType": "address",
73
+ "name": "tokenIn",
74
+ "type": "address"
75
+ },
76
+ {
77
+ "indexed": false,
78
+ "internalType": "uint256",
79
+ "name": "tokenUsed",
80
+ "type": "uint256"
81
+ },
82
+ {
83
+ "indexed": false,
84
+ "internalType": "uint256",
85
+ "name": "netPtUsed",
86
+ "type": "uint256"
87
+ },
88
+ {
89
+ "indexed": false,
90
+ "internalType": "uint256",
91
+ "name": "netLpOut",
92
+ "type": "uint256"
93
+ }
94
+ ],
95
+ "name": "AddLiquidityDualTokenAndPt",
96
+ "type": "event"
97
+ },
98
+ {
99
+ "anonymous": false,
100
+ "inputs": [
101
+ {
102
+ "indexed": true,
103
+ "internalType": "address",
104
+ "name": "caller",
105
+ "type": "address"
106
+ },
107
+ {
108
+ "indexed": true,
109
+ "internalType": "address",
110
+ "name": "market",
111
+ "type": "address"
112
+ },
113
+ {
114
+ "indexed": true,
115
+ "internalType": "address",
116
+ "name": "receiver",
117
+ "type": "address"
118
+ },
119
+ {
120
+ "indexed": false,
121
+ "internalType": "uint256",
122
+ "name": "netPtIn",
123
+ "type": "uint256"
124
+ },
125
+ {
126
+ "indexed": false,
127
+ "internalType": "uint256",
128
+ "name": "netLpOut",
129
+ "type": "uint256"
130
+ }
131
+ ],
132
+ "name": "AddLiquiditySinglePt",
133
+ "type": "event"
134
+ },
135
+ {
136
+ "anonymous": false,
137
+ "inputs": [
138
+ {
139
+ "indexed": true,
140
+ "internalType": "address",
141
+ "name": "caller",
142
+ "type": "address"
143
+ },
144
+ {
145
+ "indexed": true,
146
+ "internalType": "address",
147
+ "name": "market",
148
+ "type": "address"
149
+ },
150
+ {
151
+ "indexed": true,
152
+ "internalType": "address",
153
+ "name": "receiver",
154
+ "type": "address"
155
+ },
156
+ {
157
+ "indexed": false,
158
+ "internalType": "uint256",
159
+ "name": "netScyIn",
160
+ "type": "uint256"
161
+ },
162
+ {
163
+ "indexed": false,
164
+ "internalType": "uint256",
165
+ "name": "netLpOut",
166
+ "type": "uint256"
167
+ }
168
+ ],
169
+ "name": "AddLiquiditySingleScy",
170
+ "type": "event"
171
+ },
172
+ {
173
+ "anonymous": false,
174
+ "inputs": [
175
+ {
176
+ "indexed": true,
177
+ "internalType": "address",
178
+ "name": "caller",
179
+ "type": "address"
180
+ },
181
+ {
182
+ "indexed": true,
183
+ "internalType": "address",
184
+ "name": "market",
185
+ "type": "address"
186
+ },
187
+ {
188
+ "indexed": true,
189
+ "internalType": "address",
190
+ "name": "token",
191
+ "type": "address"
192
+ },
193
+ {
194
+ "indexed": false,
195
+ "internalType": "address",
196
+ "name": "receiver",
197
+ "type": "address"
198
+ },
199
+ {
200
+ "indexed": false,
201
+ "internalType": "uint256",
202
+ "name": "netTokenIn",
203
+ "type": "uint256"
204
+ },
205
+ {
206
+ "indexed": false,
207
+ "internalType": "uint256",
208
+ "name": "netLpOut",
209
+ "type": "uint256"
210
+ }
211
+ ],
212
+ "name": "AddLiquiditySingleToken",
213
+ "type": "event"
214
+ },
215
+ {
216
+ "anonymous": false,
217
+ "inputs": [
218
+ {
219
+ "indexed": true,
220
+ "internalType": "address",
221
+ "name": "caller",
222
+ "type": "address"
223
+ },
224
+ {
225
+ "indexed": true,
226
+ "internalType": "address",
227
+ "name": "receiver",
228
+ "type": "address"
229
+ },
230
+ {
231
+ "indexed": true,
232
+ "internalType": "address",
233
+ "name": "YT",
234
+ "type": "address"
235
+ },
236
+ {
237
+ "indexed": false,
238
+ "internalType": "uint256",
239
+ "name": "netScyIn",
240
+ "type": "uint256"
241
+ },
242
+ {
243
+ "indexed": false,
244
+ "internalType": "uint256",
245
+ "name": "netPyOut",
246
+ "type": "uint256"
247
+ }
248
+ ],
249
+ "name": "MintPyFromScy",
250
+ "type": "event"
251
+ },
252
+ {
253
+ "anonymous": false,
254
+ "inputs": [
255
+ {
256
+ "indexed": true,
257
+ "internalType": "address",
258
+ "name": "caller",
259
+ "type": "address"
260
+ },
261
+ {
262
+ "indexed": true,
263
+ "internalType": "address",
264
+ "name": "receiver",
265
+ "type": "address"
266
+ },
267
+ {
268
+ "indexed": true,
269
+ "internalType": "address",
270
+ "name": "YT",
271
+ "type": "address"
272
+ },
273
+ {
274
+ "indexed": false,
275
+ "internalType": "address",
276
+ "name": "tokenIn",
277
+ "type": "address"
278
+ },
279
+ {
280
+ "indexed": false,
281
+ "internalType": "uint256",
282
+ "name": "netTokenIn",
283
+ "type": "uint256"
284
+ },
285
+ {
286
+ "indexed": false,
287
+ "internalType": "uint256",
288
+ "name": "netPyOut",
289
+ "type": "uint256"
290
+ }
291
+ ],
292
+ "name": "MintPyFromToken",
293
+ "type": "event"
294
+ },
295
+ {
296
+ "anonymous": false,
297
+ "inputs": [
298
+ {
299
+ "indexed": true,
300
+ "internalType": "address",
301
+ "name": "caller",
302
+ "type": "address"
303
+ },
304
+ {
305
+ "indexed": true,
306
+ "internalType": "address",
307
+ "name": "receiver",
308
+ "type": "address"
309
+ },
310
+ {
311
+ "indexed": true,
312
+ "internalType": "address",
313
+ "name": "SCY",
314
+ "type": "address"
315
+ },
316
+ {
317
+ "indexed": false,
318
+ "internalType": "address",
319
+ "name": "tokenIn",
320
+ "type": "address"
321
+ },
322
+ {
323
+ "indexed": false,
324
+ "internalType": "uint256",
325
+ "name": "netTokenIn",
326
+ "type": "uint256"
327
+ },
328
+ {
329
+ "indexed": false,
330
+ "internalType": "uint256",
331
+ "name": "netScyOut",
332
+ "type": "uint256"
333
+ }
334
+ ],
335
+ "name": "MintScyFromToken",
336
+ "type": "event"
337
+ },
338
+ {
339
+ "anonymous": false,
340
+ "inputs": [
341
+ {
342
+ "indexed": true,
343
+ "internalType": "address",
344
+ "name": "user",
345
+ "type": "address"
346
+ },
347
+ {
348
+ "indexed": false,
349
+ "internalType": "address[]",
350
+ "name": "scys",
351
+ "type": "address[]"
352
+ },
353
+ {
354
+ "indexed": false,
355
+ "internalType": "address[]",
356
+ "name": "yts",
357
+ "type": "address[]"
358
+ },
359
+ {
360
+ "indexed": false,
361
+ "internalType": "address[]",
362
+ "name": "markets",
363
+ "type": "address[]"
364
+ },
365
+ {
366
+ "indexed": false,
367
+ "internalType": "uint256[][]",
368
+ "name": "scyRewards",
369
+ "type": "uint256[][]"
370
+ },
371
+ {
372
+ "indexed": false,
373
+ "internalType": "uint256[]",
374
+ "name": "ytInterests",
375
+ "type": "uint256[]"
376
+ },
377
+ {
378
+ "indexed": false,
379
+ "internalType": "uint256[][]",
380
+ "name": "ytRewards",
381
+ "type": "uint256[][]"
382
+ },
383
+ {
384
+ "indexed": false,
385
+ "internalType": "uint256[][]",
386
+ "name": "marketRewards",
387
+ "type": "uint256[][]"
388
+ }
389
+ ],
390
+ "name": "RedeemDueInterestAndRewards",
391
+ "type": "event"
392
+ },
393
+ {
394
+ "anonymous": false,
395
+ "inputs": [
396
+ {
397
+ "indexed": true,
398
+ "internalType": "address",
399
+ "name": "user",
400
+ "type": "address"
401
+ },
402
+ {
403
+ "indexed": false,
404
+ "internalType": "address[]",
405
+ "name": "scys",
406
+ "type": "address[]"
407
+ },
408
+ {
409
+ "indexed": false,
410
+ "internalType": "address[]",
411
+ "name": "yts",
412
+ "type": "address[]"
413
+ },
414
+ {
415
+ "indexed": false,
416
+ "internalType": "address[]",
417
+ "name": "markets",
418
+ "type": "address[]"
419
+ },
420
+ {
421
+ "indexed": true,
422
+ "internalType": "address",
423
+ "name": "tokenOut",
424
+ "type": "address"
425
+ },
426
+ {
427
+ "indexed": false,
428
+ "internalType": "uint256",
429
+ "name": "netTokenOut",
430
+ "type": "uint256"
431
+ }
432
+ ],
433
+ "name": "RedeemDueInterestAndRewardsThenSwapAll",
434
+ "type": "event"
435
+ },
436
+ {
437
+ "anonymous": false,
438
+ "inputs": [
439
+ {
440
+ "indexed": true,
441
+ "internalType": "address",
442
+ "name": "caller",
443
+ "type": "address"
444
+ },
445
+ {
446
+ "indexed": true,
447
+ "internalType": "address",
448
+ "name": "receiver",
449
+ "type": "address"
450
+ },
451
+ {
452
+ "indexed": true,
453
+ "internalType": "address",
454
+ "name": "YT",
455
+ "type": "address"
456
+ },
457
+ {
458
+ "indexed": false,
459
+ "internalType": "uint256",
460
+ "name": "netPyIn",
461
+ "type": "uint256"
462
+ },
463
+ {
464
+ "indexed": false,
465
+ "internalType": "uint256",
466
+ "name": "netScyOut",
467
+ "type": "uint256"
468
+ }
469
+ ],
470
+ "name": "RedeemPyToScy",
471
+ "type": "event"
472
+ },
473
+ {
474
+ "anonymous": false,
475
+ "inputs": [
476
+ {
477
+ "indexed": true,
478
+ "internalType": "address",
479
+ "name": "caller",
480
+ "type": "address"
481
+ },
482
+ {
483
+ "indexed": true,
484
+ "internalType": "address",
485
+ "name": "receiver",
486
+ "type": "address"
487
+ },
488
+ {
489
+ "indexed": true,
490
+ "internalType": "address",
491
+ "name": "YT",
492
+ "type": "address"
493
+ },
494
+ {
495
+ "indexed": false,
496
+ "internalType": "uint256",
497
+ "name": "netPyIn",
498
+ "type": "uint256"
499
+ },
500
+ {
501
+ "indexed": false,
502
+ "internalType": "address",
503
+ "name": "tokenOut",
504
+ "type": "address"
505
+ },
506
+ {
507
+ "indexed": false,
508
+ "internalType": "uint256",
509
+ "name": "netTokenOut",
510
+ "type": "uint256"
511
+ }
512
+ ],
513
+ "name": "RedeemPyToToken",
514
+ "type": "event"
515
+ },
516
+ {
517
+ "anonymous": false,
518
+ "inputs": [
519
+ {
520
+ "indexed": true,
521
+ "internalType": "address",
522
+ "name": "caller",
523
+ "type": "address"
524
+ },
525
+ {
526
+ "indexed": true,
527
+ "internalType": "address",
528
+ "name": "receiver",
529
+ "type": "address"
530
+ },
531
+ {
532
+ "indexed": true,
533
+ "internalType": "address",
534
+ "name": "SCY",
535
+ "type": "address"
536
+ },
537
+ {
538
+ "indexed": false,
539
+ "internalType": "uint256",
540
+ "name": "netScyIn",
541
+ "type": "uint256"
542
+ },
543
+ {
544
+ "indexed": false,
545
+ "internalType": "address",
546
+ "name": "tokenOut",
547
+ "type": "address"
548
+ },
549
+ {
550
+ "indexed": false,
551
+ "internalType": "uint256",
552
+ "name": "netTokenOut",
553
+ "type": "uint256"
554
+ }
555
+ ],
556
+ "name": "RedeemScyToToken",
557
+ "type": "event"
558
+ },
559
+ {
560
+ "anonymous": false,
561
+ "inputs": [
562
+ {
563
+ "indexed": true,
564
+ "internalType": "address",
565
+ "name": "caller",
566
+ "type": "address"
567
+ },
568
+ {
569
+ "indexed": true,
570
+ "internalType": "address",
571
+ "name": "market",
572
+ "type": "address"
573
+ },
574
+ {
575
+ "indexed": true,
576
+ "internalType": "address",
577
+ "name": "receiver",
578
+ "type": "address"
579
+ },
580
+ {
581
+ "indexed": false,
582
+ "internalType": "uint256",
583
+ "name": "netLpToRemove",
584
+ "type": "uint256"
585
+ },
586
+ {
587
+ "indexed": false,
588
+ "internalType": "uint256",
589
+ "name": "netPtOut",
590
+ "type": "uint256"
591
+ },
592
+ {
593
+ "indexed": false,
594
+ "internalType": "uint256",
595
+ "name": "netScyOut",
596
+ "type": "uint256"
597
+ }
598
+ ],
599
+ "name": "RemoveLiquidityDualScyAndPt",
600
+ "type": "event"
601
+ },
602
+ {
603
+ "anonymous": false,
604
+ "inputs": [
605
+ {
606
+ "indexed": true,
607
+ "internalType": "address",
608
+ "name": "caller",
609
+ "type": "address"
610
+ },
611
+ {
612
+ "indexed": true,
613
+ "internalType": "address",
614
+ "name": "market",
615
+ "type": "address"
616
+ },
617
+ {
618
+ "indexed": true,
619
+ "internalType": "address",
620
+ "name": "receiver",
621
+ "type": "address"
622
+ },
623
+ {
624
+ "indexed": false,
625
+ "internalType": "uint256",
626
+ "name": "netLpToRemove",
627
+ "type": "uint256"
628
+ },
629
+ {
630
+ "indexed": false,
631
+ "internalType": "uint256",
632
+ "name": "netPtOut",
633
+ "type": "uint256"
634
+ },
635
+ {
636
+ "indexed": false,
637
+ "internalType": "address",
638
+ "name": "tokenOut",
639
+ "type": "address"
640
+ },
641
+ {
642
+ "indexed": false,
643
+ "internalType": "uint256",
644
+ "name": "netTokenOut",
645
+ "type": "uint256"
646
+ }
647
+ ],
648
+ "name": "RemoveLiquidityDualTokenAndPt",
649
+ "type": "event"
650
+ },
651
+ {
652
+ "anonymous": false,
653
+ "inputs": [
654
+ {
655
+ "indexed": true,
656
+ "internalType": "address",
657
+ "name": "caller",
658
+ "type": "address"
659
+ },
660
+ {
661
+ "indexed": true,
662
+ "internalType": "address",
663
+ "name": "market",
664
+ "type": "address"
665
+ },
666
+ {
667
+ "indexed": true,
668
+ "internalType": "address",
669
+ "name": "receiver",
670
+ "type": "address"
671
+ },
672
+ {
673
+ "indexed": false,
674
+ "internalType": "uint256",
675
+ "name": "netLpToRemove",
676
+ "type": "uint256"
677
+ },
678
+ {
679
+ "indexed": false,
680
+ "internalType": "uint256",
681
+ "name": "netPtOut",
682
+ "type": "uint256"
683
+ }
684
+ ],
685
+ "name": "RemoveLiquiditySinglePt",
686
+ "type": "event"
687
+ },
688
+ {
689
+ "anonymous": false,
690
+ "inputs": [
691
+ {
692
+ "indexed": true,
693
+ "internalType": "address",
694
+ "name": "caller",
695
+ "type": "address"
696
+ },
697
+ {
698
+ "indexed": true,
699
+ "internalType": "address",
700
+ "name": "market",
701
+ "type": "address"
702
+ },
703
+ {
704
+ "indexed": true,
705
+ "internalType": "address",
706
+ "name": "receiver",
707
+ "type": "address"
708
+ },
709
+ {
710
+ "indexed": false,
711
+ "internalType": "uint256",
712
+ "name": "netLpToRemove",
713
+ "type": "uint256"
714
+ },
715
+ {
716
+ "indexed": false,
717
+ "internalType": "uint256",
718
+ "name": "netScyOut",
719
+ "type": "uint256"
720
+ }
721
+ ],
722
+ "name": "RemoveLiquiditySingleScy",
723
+ "type": "event"
724
+ },
725
+ {
726
+ "anonymous": false,
727
+ "inputs": [
728
+ {
729
+ "indexed": true,
730
+ "internalType": "address",
731
+ "name": "caller",
732
+ "type": "address"
733
+ },
734
+ {
735
+ "indexed": true,
736
+ "internalType": "address",
737
+ "name": "market",
738
+ "type": "address"
739
+ },
740
+ {
741
+ "indexed": true,
742
+ "internalType": "address",
743
+ "name": "token",
744
+ "type": "address"
745
+ },
746
+ {
747
+ "indexed": false,
748
+ "internalType": "address",
749
+ "name": "receiver",
750
+ "type": "address"
751
+ },
752
+ {
753
+ "indexed": false,
754
+ "internalType": "uint256",
755
+ "name": "netLpToRemove",
756
+ "type": "uint256"
757
+ },
758
+ {
759
+ "indexed": false,
760
+ "internalType": "uint256",
761
+ "name": "netTokenOut",
762
+ "type": "uint256"
763
+ }
764
+ ],
765
+ "name": "RemoveLiquiditySingleToken",
766
+ "type": "event"
767
+ },
768
+ {
769
+ "anonymous": false,
770
+ "inputs": [
771
+ {
772
+ "indexed": true,
773
+ "internalType": "address",
774
+ "name": "caller",
775
+ "type": "address"
776
+ },
777
+ {
778
+ "indexed": true,
779
+ "internalType": "address",
780
+ "name": "market",
781
+ "type": "address"
782
+ },
783
+ {
784
+ "indexed": true,
785
+ "internalType": "address",
786
+ "name": "receiver",
787
+ "type": "address"
788
+ },
789
+ {
790
+ "indexed": false,
791
+ "internalType": "int256",
792
+ "name": "netPtToAccount",
793
+ "type": "int256"
794
+ },
795
+ {
796
+ "indexed": false,
797
+ "internalType": "int256",
798
+ "name": "netScyToAccount",
799
+ "type": "int256"
800
+ }
801
+ ],
802
+ "name": "SwapPtAndScy",
803
+ "type": "event"
804
+ },
805
+ {
806
+ "anonymous": false,
807
+ "inputs": [
808
+ {
809
+ "indexed": true,
810
+ "internalType": "address",
811
+ "name": "caller",
812
+ "type": "address"
813
+ },
814
+ {
815
+ "indexed": true,
816
+ "internalType": "address",
817
+ "name": "market",
818
+ "type": "address"
819
+ },
820
+ {
821
+ "indexed": true,
822
+ "internalType": "address",
823
+ "name": "token",
824
+ "type": "address"
825
+ },
826
+ {
827
+ "indexed": false,
828
+ "internalType": "address",
829
+ "name": "receiver",
830
+ "type": "address"
831
+ },
832
+ {
833
+ "indexed": false,
834
+ "internalType": "int256",
835
+ "name": "netPtToAccount",
836
+ "type": "int256"
837
+ },
838
+ {
839
+ "indexed": false,
840
+ "internalType": "int256",
841
+ "name": "netTokenToAccount",
842
+ "type": "int256"
843
+ }
844
+ ],
845
+ "name": "SwapPtAndToken",
846
+ "type": "event"
847
+ },
848
+ {
849
+ "anonymous": false,
850
+ "inputs": [
851
+ {
852
+ "indexed": true,
853
+ "internalType": "address",
854
+ "name": "caller",
855
+ "type": "address"
856
+ },
857
+ {
858
+ "indexed": true,
859
+ "internalType": "address",
860
+ "name": "market",
861
+ "type": "address"
862
+ },
863
+ {
864
+ "indexed": true,
865
+ "internalType": "address",
866
+ "name": "receiver",
867
+ "type": "address"
868
+ },
869
+ {
870
+ "indexed": false,
871
+ "internalType": "int256",
872
+ "name": "netYtToAccount",
873
+ "type": "int256"
874
+ },
875
+ {
876
+ "indexed": false,
877
+ "internalType": "int256",
878
+ "name": "netScyToAccount",
879
+ "type": "int256"
880
+ }
881
+ ],
882
+ "name": "SwapYtAndScy",
883
+ "type": "event"
884
+ },
885
+ {
886
+ "anonymous": false,
887
+ "inputs": [
888
+ {
889
+ "indexed": true,
890
+ "internalType": "address",
891
+ "name": "caller",
892
+ "type": "address"
893
+ },
894
+ {
895
+ "indexed": true,
896
+ "internalType": "address",
897
+ "name": "market",
898
+ "type": "address"
899
+ },
900
+ {
901
+ "indexed": true,
902
+ "internalType": "address",
903
+ "name": "receiver",
904
+ "type": "address"
905
+ },
906
+ {
907
+ "indexed": false,
908
+ "internalType": "address",
909
+ "name": "token",
910
+ "type": "address"
911
+ },
912
+ {
913
+ "indexed": false,
914
+ "internalType": "int256",
915
+ "name": "netYtToAccount",
916
+ "type": "int256"
917
+ },
918
+ {
919
+ "indexed": false,
920
+ "internalType": "int256",
921
+ "name": "netTokenToAccount",
922
+ "type": "int256"
923
+ }
924
+ ],
925
+ "name": "SwapYtAndToken",
926
+ "type": "event"
927
+ },
928
+ {
929
+ "inputs": [
930
+ {
931
+ "internalType": "address",
932
+ "name": "receiver",
933
+ "type": "address"
934
+ },
935
+ {
936
+ "internalType": "address",
937
+ "name": "market",
938
+ "type": "address"
939
+ },
940
+ {
941
+ "internalType": "uint256",
942
+ "name": "netScyDesired",
943
+ "type": "uint256"
944
+ },
945
+ {
946
+ "internalType": "uint256",
947
+ "name": "netPtDesired",
948
+ "type": "uint256"
949
+ },
950
+ {
951
+ "internalType": "uint256",
952
+ "name": "minLpOut",
953
+ "type": "uint256"
954
+ }
955
+ ],
956
+ "name": "addLiquidityDualScyAndPt",
957
+ "outputs": [
958
+ {
959
+ "internalType": "uint256",
960
+ "name": "netLpOut",
961
+ "type": "uint256"
962
+ },
963
+ {
964
+ "internalType": "uint256",
965
+ "name": "scyUsed",
966
+ "type": "uint256"
967
+ },
968
+ {
969
+ "internalType": "uint256",
970
+ "name": "netPtUsed",
971
+ "type": "uint256"
972
+ }
973
+ ],
974
+ "stateMutability": "nonpayable",
975
+ "type": "function"
976
+ },
977
+ {
978
+ "inputs": [
979
+ {
980
+ "internalType": "address",
981
+ "name": "receiver",
982
+ "type": "address"
983
+ },
984
+ {
985
+ "internalType": "address",
986
+ "name": "market",
987
+ "type": "address"
988
+ },
989
+ {
990
+ "internalType": "address",
991
+ "name": "tokenIn",
992
+ "type": "address"
993
+ },
994
+ {
995
+ "internalType": "uint256",
996
+ "name": "netTokenDesired",
997
+ "type": "uint256"
998
+ },
999
+ {
1000
+ "internalType": "uint256",
1001
+ "name": "netPtDesired",
1002
+ "type": "uint256"
1003
+ },
1004
+ {
1005
+ "internalType": "uint256",
1006
+ "name": "minLpOut",
1007
+ "type": "uint256"
1008
+ }
1009
+ ],
1010
+ "name": "addLiquidityDualTokenAndPt",
1011
+ "outputs": [
1012
+ {
1013
+ "internalType": "uint256",
1014
+ "name": "netLpOut",
1015
+ "type": "uint256"
1016
+ },
1017
+ {
1018
+ "internalType": "uint256",
1019
+ "name": "netTokenUsed",
1020
+ "type": "uint256"
1021
+ },
1022
+ {
1023
+ "internalType": "uint256",
1024
+ "name": "netPtUsed",
1025
+ "type": "uint256"
1026
+ }
1027
+ ],
1028
+ "stateMutability": "payable",
1029
+ "type": "function"
1030
+ },
1031
+ {
1032
+ "inputs": [
1033
+ {
1034
+ "internalType": "address",
1035
+ "name": "receiver",
1036
+ "type": "address"
1037
+ },
1038
+ {
1039
+ "internalType": "address",
1040
+ "name": "market",
1041
+ "type": "address"
1042
+ },
1043
+ {
1044
+ "internalType": "uint256",
1045
+ "name": "netPtIn",
1046
+ "type": "uint256"
1047
+ },
1048
+ {
1049
+ "internalType": "uint256",
1050
+ "name": "minLpOut",
1051
+ "type": "uint256"
1052
+ },
1053
+ {
1054
+ "components": [
1055
+ {
1056
+ "internalType": "uint256",
1057
+ "name": "guessMin",
1058
+ "type": "uint256"
1059
+ },
1060
+ {
1061
+ "internalType": "uint256",
1062
+ "name": "guessMax",
1063
+ "type": "uint256"
1064
+ },
1065
+ {
1066
+ "internalType": "uint256",
1067
+ "name": "guessOffchain",
1068
+ "type": "uint256"
1069
+ },
1070
+ {
1071
+ "internalType": "uint256",
1072
+ "name": "maxIteration",
1073
+ "type": "uint256"
1074
+ },
1075
+ {
1076
+ "internalType": "uint256",
1077
+ "name": "eps",
1078
+ "type": "uint256"
1079
+ }
1080
+ ],
1081
+ "internalType": "struct ApproxParams",
1082
+ "name": "guessPtSwapToScy",
1083
+ "type": "tuple"
1084
+ }
1085
+ ],
1086
+ "name": "addLiquiditySinglePt",
1087
+ "outputs": [
1088
+ {
1089
+ "internalType": "uint256",
1090
+ "name": "netLpOut",
1091
+ "type": "uint256"
1092
+ }
1093
+ ],
1094
+ "stateMutability": "nonpayable",
1095
+ "type": "function"
1096
+ },
1097
+ {
1098
+ "inputs": [
1099
+ {
1100
+ "internalType": "address",
1101
+ "name": "receiver",
1102
+ "type": "address"
1103
+ },
1104
+ {
1105
+ "internalType": "address",
1106
+ "name": "market",
1107
+ "type": "address"
1108
+ },
1109
+ {
1110
+ "internalType": "uint256",
1111
+ "name": "netScyIn",
1112
+ "type": "uint256"
1113
+ },
1114
+ {
1115
+ "internalType": "uint256",
1116
+ "name": "minLpOut",
1117
+ "type": "uint256"
1118
+ },
1119
+ {
1120
+ "components": [
1121
+ {
1122
+ "internalType": "uint256",
1123
+ "name": "guessMin",
1124
+ "type": "uint256"
1125
+ },
1126
+ {
1127
+ "internalType": "uint256",
1128
+ "name": "guessMax",
1129
+ "type": "uint256"
1130
+ },
1131
+ {
1132
+ "internalType": "uint256",
1133
+ "name": "guessOffchain",
1134
+ "type": "uint256"
1135
+ },
1136
+ {
1137
+ "internalType": "uint256",
1138
+ "name": "maxIteration",
1139
+ "type": "uint256"
1140
+ },
1141
+ {
1142
+ "internalType": "uint256",
1143
+ "name": "eps",
1144
+ "type": "uint256"
1145
+ }
1146
+ ],
1147
+ "internalType": "struct ApproxParams",
1148
+ "name": "guessPtReceivedFromScy",
1149
+ "type": "tuple"
1150
+ }
1151
+ ],
1152
+ "name": "addLiquiditySingleScy",
1153
+ "outputs": [
1154
+ {
1155
+ "internalType": "uint256",
1156
+ "name": "netLpOut",
1157
+ "type": "uint256"
1158
+ }
1159
+ ],
1160
+ "stateMutability": "nonpayable",
1161
+ "type": "function"
1162
+ },
1163
+ {
1164
+ "inputs": [
1165
+ {
1166
+ "internalType": "address",
1167
+ "name": "receiver",
1168
+ "type": "address"
1169
+ },
1170
+ {
1171
+ "internalType": "address",
1172
+ "name": "market",
1173
+ "type": "address"
1174
+ },
1175
+ {
1176
+ "internalType": "uint256",
1177
+ "name": "minLpOut",
1178
+ "type": "uint256"
1179
+ },
1180
+ {
1181
+ "components": [
1182
+ {
1183
+ "internalType": "uint256",
1184
+ "name": "guessMin",
1185
+ "type": "uint256"
1186
+ },
1187
+ {
1188
+ "internalType": "uint256",
1189
+ "name": "guessMax",
1190
+ "type": "uint256"
1191
+ },
1192
+ {
1193
+ "internalType": "uint256",
1194
+ "name": "guessOffchain",
1195
+ "type": "uint256"
1196
+ },
1197
+ {
1198
+ "internalType": "uint256",
1199
+ "name": "maxIteration",
1200
+ "type": "uint256"
1201
+ },
1202
+ {
1203
+ "internalType": "uint256",
1204
+ "name": "eps",
1205
+ "type": "uint256"
1206
+ }
1207
+ ],
1208
+ "internalType": "struct ApproxParams",
1209
+ "name": "guessPtReceivedFromScy",
1210
+ "type": "tuple"
1211
+ },
1212
+ {
1213
+ "components": [
1214
+ {
1215
+ "internalType": "address",
1216
+ "name": "tokenIn",
1217
+ "type": "address"
1218
+ },
1219
+ {
1220
+ "internalType": "uint256",
1221
+ "name": "netTokenIn",
1222
+ "type": "uint256"
1223
+ },
1224
+ {
1225
+ "internalType": "address",
1226
+ "name": "tokenMintScy",
1227
+ "type": "address"
1228
+ },
1229
+ {
1230
+ "internalType": "bytes",
1231
+ "name": "kybercall",
1232
+ "type": "bytes"
1233
+ }
1234
+ ],
1235
+ "internalType": "struct TokenInput",
1236
+ "name": "input",
1237
+ "type": "tuple"
1238
+ }
1239
+ ],
1240
+ "name": "addLiquiditySingleToken",
1241
+ "outputs": [
1242
+ {
1243
+ "internalType": "uint256",
1244
+ "name": "netLpOut",
1245
+ "type": "uint256"
1246
+ }
1247
+ ],
1248
+ "stateMutability": "payable",
1249
+ "type": "function"
1250
+ },
1251
+ {
1252
+ "inputs": [
1253
+ {
1254
+ "internalType": "address",
1255
+ "name": "market",
1256
+ "type": "address"
1257
+ },
1258
+ {
1259
+ "internalType": "uint32",
1260
+ "name": "secondsAgo",
1261
+ "type": "uint32"
1262
+ }
1263
+ ],
1264
+ "name": "consult",
1265
+ "outputs": [
1266
+ {
1267
+ "internalType": "uint96",
1268
+ "name": "lnImpliedRateMean",
1269
+ "type": "uint96"
1270
+ }
1271
+ ],
1272
+ "stateMutability": "view",
1273
+ "type": "function"
1274
+ },
1275
+ {
1276
+ "inputs": [
1277
+ {
1278
+ "internalType": "address",
1279
+ "name": "receiver",
1280
+ "type": "address"
1281
+ },
1282
+ {
1283
+ "internalType": "address",
1284
+ "name": "YT",
1285
+ "type": "address"
1286
+ },
1287
+ {
1288
+ "internalType": "uint256",
1289
+ "name": "netScyIn",
1290
+ "type": "uint256"
1291
+ },
1292
+ {
1293
+ "internalType": "uint256",
1294
+ "name": "minPyOut",
1295
+ "type": "uint256"
1296
+ }
1297
+ ],
1298
+ "name": "mintPyFromScy",
1299
+ "outputs": [
1300
+ {
1301
+ "internalType": "uint256",
1302
+ "name": "netPyOut",
1303
+ "type": "uint256"
1304
+ }
1305
+ ],
1306
+ "stateMutability": "nonpayable",
1307
+ "type": "function"
1308
+ },
1309
+ {
1310
+ "inputs": [
1311
+ {
1312
+ "internalType": "address",
1313
+ "name": "receiver",
1314
+ "type": "address"
1315
+ },
1316
+ {
1317
+ "internalType": "address",
1318
+ "name": "YT",
1319
+ "type": "address"
1320
+ },
1321
+ {
1322
+ "internalType": "uint256",
1323
+ "name": "minPyOut",
1324
+ "type": "uint256"
1325
+ },
1326
+ {
1327
+ "components": [
1328
+ {
1329
+ "internalType": "address",
1330
+ "name": "tokenIn",
1331
+ "type": "address"
1332
+ },
1333
+ {
1334
+ "internalType": "uint256",
1335
+ "name": "netTokenIn",
1336
+ "type": "uint256"
1337
+ },
1338
+ {
1339
+ "internalType": "address",
1340
+ "name": "tokenMintScy",
1341
+ "type": "address"
1342
+ },
1343
+ {
1344
+ "internalType": "bytes",
1345
+ "name": "kybercall",
1346
+ "type": "bytes"
1347
+ }
1348
+ ],
1349
+ "internalType": "struct TokenInput",
1350
+ "name": "input",
1351
+ "type": "tuple"
1352
+ }
1353
+ ],
1354
+ "name": "mintPyFromToken",
1355
+ "outputs": [
1356
+ {
1357
+ "internalType": "uint256",
1358
+ "name": "netPyOut",
1359
+ "type": "uint256"
1360
+ }
1361
+ ],
1362
+ "stateMutability": "payable",
1363
+ "type": "function"
1364
+ },
1365
+ {
1366
+ "inputs": [
1367
+ {
1368
+ "internalType": "address",
1369
+ "name": "receiver",
1370
+ "type": "address"
1371
+ },
1372
+ {
1373
+ "internalType": "address",
1374
+ "name": "SCY",
1375
+ "type": "address"
1376
+ },
1377
+ {
1378
+ "internalType": "uint256",
1379
+ "name": "minScyOut",
1380
+ "type": "uint256"
1381
+ },
1382
+ {
1383
+ "components": [
1384
+ {
1385
+ "internalType": "address",
1386
+ "name": "tokenIn",
1387
+ "type": "address"
1388
+ },
1389
+ {
1390
+ "internalType": "uint256",
1391
+ "name": "netTokenIn",
1392
+ "type": "uint256"
1393
+ },
1394
+ {
1395
+ "internalType": "address",
1396
+ "name": "tokenMintScy",
1397
+ "type": "address"
1398
+ },
1399
+ {
1400
+ "internalType": "bytes",
1401
+ "name": "kybercall",
1402
+ "type": "bytes"
1403
+ }
1404
+ ],
1405
+ "internalType": "struct TokenInput",
1406
+ "name": "input",
1407
+ "type": "tuple"
1408
+ }
1409
+ ],
1410
+ "name": "mintScyFromToken",
1411
+ "outputs": [
1412
+ {
1413
+ "internalType": "uint256",
1414
+ "name": "netScyOut",
1415
+ "type": "uint256"
1416
+ }
1417
+ ],
1418
+ "stateMutability": "payable",
1419
+ "type": "function"
1420
+ },
1421
+ {
1422
+ "inputs": [
1423
+ {
1424
+ "internalType": "address",
1425
+ "name": "user",
1426
+ "type": "address"
1427
+ },
1428
+ {
1429
+ "internalType": "address[]",
1430
+ "name": "scys",
1431
+ "type": "address[]"
1432
+ },
1433
+ {
1434
+ "internalType": "address[]",
1435
+ "name": "yts",
1436
+ "type": "address[]"
1437
+ },
1438
+ {
1439
+ "internalType": "address[]",
1440
+ "name": "markets",
1441
+ "type": "address[]"
1442
+ }
1443
+ ],
1444
+ "name": "redeemDueInterestAndRewards",
1445
+ "outputs": [
1446
+ {
1447
+ "internalType": "uint256[][]",
1448
+ "name": "scyRewards",
1449
+ "type": "uint256[][]"
1450
+ },
1451
+ {
1452
+ "internalType": "uint256[]",
1453
+ "name": "ytInterests",
1454
+ "type": "uint256[]"
1455
+ },
1456
+ {
1457
+ "internalType": "uint256[][]",
1458
+ "name": "ytRewards",
1459
+ "type": "uint256[][]"
1460
+ },
1461
+ {
1462
+ "internalType": "uint256[][]",
1463
+ "name": "marketRewards",
1464
+ "type": "uint256[][]"
1465
+ }
1466
+ ],
1467
+ "stateMutability": "nonpayable",
1468
+ "type": "function"
1469
+ },
1470
+ {
1471
+ "inputs": [
1472
+ {
1473
+ "internalType": "address[]",
1474
+ "name": "scys",
1475
+ "type": "address[]"
1476
+ },
1477
+ {
1478
+ "components": [
1479
+ {
1480
+ "internalType": "address[]",
1481
+ "name": "yts",
1482
+ "type": "address[]"
1483
+ },
1484
+ {
1485
+ "internalType": "address[]",
1486
+ "name": "scyAddrs",
1487
+ "type": "address[]"
1488
+ },
1489
+ {
1490
+ "internalType": "address[]",
1491
+ "name": "tokenRedeemScys",
1492
+ "type": "address[]"
1493
+ }
1494
+ ],
1495
+ "internalType": "struct IPActionMintRedeem.RouterYtRedeemStruct",
1496
+ "name": "dataYT",
1497
+ "type": "tuple"
1498
+ },
1499
+ {
1500
+ "internalType": "address[]",
1501
+ "name": "markets",
1502
+ "type": "address[]"
1503
+ },
1504
+ {
1505
+ "components": [
1506
+ {
1507
+ "internalType": "address[]",
1508
+ "name": "tokens",
1509
+ "type": "address[]"
1510
+ },
1511
+ {
1512
+ "internalType": "bytes[]",
1513
+ "name": "kybercalls",
1514
+ "type": "bytes[]"
1515
+ },
1516
+ {
1517
+ "internalType": "address",
1518
+ "name": "outputToken",
1519
+ "type": "address"
1520
+ }
1521
+ ],
1522
+ "internalType": "struct IPActionMintRedeem.RouterSwapAllStruct",
1523
+ "name": "dataSwap",
1524
+ "type": "tuple"
1525
+ }
1526
+ ],
1527
+ "name": "redeemDueInterestAndRewardsThenSwapAll",
1528
+ "outputs": [
1529
+ {
1530
+ "internalType": "uint256",
1531
+ "name": "netTokenOut",
1532
+ "type": "uint256"
1533
+ },
1534
+ {
1535
+ "internalType": "uint256[]",
1536
+ "name": "amountsSwapped",
1537
+ "type": "uint256[]"
1538
+ }
1539
+ ],
1540
+ "stateMutability": "nonpayable",
1541
+ "type": "function"
1542
+ },
1543
+ {
1544
+ "inputs": [
1545
+ {
1546
+ "internalType": "address",
1547
+ "name": "receiver",
1548
+ "type": "address"
1549
+ },
1550
+ {
1551
+ "internalType": "address",
1552
+ "name": "YT",
1553
+ "type": "address"
1554
+ },
1555
+ {
1556
+ "internalType": "uint256",
1557
+ "name": "netPyIn",
1558
+ "type": "uint256"
1559
+ },
1560
+ {
1561
+ "internalType": "uint256",
1562
+ "name": "minScyOut",
1563
+ "type": "uint256"
1564
+ }
1565
+ ],
1566
+ "name": "redeemPyToScy",
1567
+ "outputs": [
1568
+ {
1569
+ "internalType": "uint256",
1570
+ "name": "netScyOut",
1571
+ "type": "uint256"
1572
+ }
1573
+ ],
1574
+ "stateMutability": "nonpayable",
1575
+ "type": "function"
1576
+ },
1577
+ {
1578
+ "inputs": [
1579
+ {
1580
+ "internalType": "address",
1581
+ "name": "receiver",
1582
+ "type": "address"
1583
+ },
1584
+ {
1585
+ "internalType": "address",
1586
+ "name": "YT",
1587
+ "type": "address"
1588
+ },
1589
+ {
1590
+ "internalType": "uint256",
1591
+ "name": "netPyIn",
1592
+ "type": "uint256"
1593
+ },
1594
+ {
1595
+ "components": [
1596
+ {
1597
+ "internalType": "address",
1598
+ "name": "tokenOut",
1599
+ "type": "address"
1600
+ },
1601
+ {
1602
+ "internalType": "uint256",
1603
+ "name": "minTokenOut",
1604
+ "type": "uint256"
1605
+ },
1606
+ {
1607
+ "internalType": "address",
1608
+ "name": "tokenRedeemScy",
1609
+ "type": "address"
1610
+ },
1611
+ {
1612
+ "internalType": "bytes",
1613
+ "name": "kybercall",
1614
+ "type": "bytes"
1615
+ }
1616
+ ],
1617
+ "internalType": "struct TokenOutput",
1618
+ "name": "output",
1619
+ "type": "tuple"
1620
+ }
1621
+ ],
1622
+ "name": "redeemPyToToken",
1623
+ "outputs": [
1624
+ {
1625
+ "internalType": "uint256",
1626
+ "name": "netTokenOut",
1627
+ "type": "uint256"
1628
+ }
1629
+ ],
1630
+ "stateMutability": "nonpayable",
1631
+ "type": "function"
1632
+ },
1633
+ {
1634
+ "inputs": [
1635
+ {
1636
+ "internalType": "address",
1637
+ "name": "receiver",
1638
+ "type": "address"
1639
+ },
1640
+ {
1641
+ "internalType": "address",
1642
+ "name": "SCY",
1643
+ "type": "address"
1644
+ },
1645
+ {
1646
+ "internalType": "uint256",
1647
+ "name": "netScyIn",
1648
+ "type": "uint256"
1649
+ },
1650
+ {
1651
+ "components": [
1652
+ {
1653
+ "internalType": "address",
1654
+ "name": "tokenOut",
1655
+ "type": "address"
1656
+ },
1657
+ {
1658
+ "internalType": "uint256",
1659
+ "name": "minTokenOut",
1660
+ "type": "uint256"
1661
+ },
1662
+ {
1663
+ "internalType": "address",
1664
+ "name": "tokenRedeemScy",
1665
+ "type": "address"
1666
+ },
1667
+ {
1668
+ "internalType": "bytes",
1669
+ "name": "kybercall",
1670
+ "type": "bytes"
1671
+ }
1672
+ ],
1673
+ "internalType": "struct TokenOutput",
1674
+ "name": "output",
1675
+ "type": "tuple"
1676
+ }
1677
+ ],
1678
+ "name": "redeemScyToToken",
1679
+ "outputs": [
1680
+ {
1681
+ "internalType": "uint256",
1682
+ "name": "netTokenOut",
1683
+ "type": "uint256"
1684
+ }
1685
+ ],
1686
+ "stateMutability": "nonpayable",
1687
+ "type": "function"
1688
+ },
1689
+ {
1690
+ "inputs": [
1691
+ {
1692
+ "internalType": "address",
1693
+ "name": "receiver",
1694
+ "type": "address"
1695
+ },
1696
+ {
1697
+ "internalType": "address",
1698
+ "name": "market",
1699
+ "type": "address"
1700
+ },
1701
+ {
1702
+ "internalType": "uint256",
1703
+ "name": "netLpToRemove",
1704
+ "type": "uint256"
1705
+ },
1706
+ {
1707
+ "internalType": "uint256",
1708
+ "name": "minScyOut",
1709
+ "type": "uint256"
1710
+ },
1711
+ {
1712
+ "internalType": "uint256",
1713
+ "name": "minPtOut",
1714
+ "type": "uint256"
1715
+ }
1716
+ ],
1717
+ "name": "removeLiquidityDualScyAndPt",
1718
+ "outputs": [
1719
+ {
1720
+ "internalType": "uint256",
1721
+ "name": "netScyOut",
1722
+ "type": "uint256"
1723
+ },
1724
+ {
1725
+ "internalType": "uint256",
1726
+ "name": "netPtOut",
1727
+ "type": "uint256"
1728
+ }
1729
+ ],
1730
+ "stateMutability": "nonpayable",
1731
+ "type": "function"
1732
+ },
1733
+ {
1734
+ "inputs": [
1735
+ {
1736
+ "internalType": "address",
1737
+ "name": "receiver",
1738
+ "type": "address"
1739
+ },
1740
+ {
1741
+ "internalType": "address",
1742
+ "name": "market",
1743
+ "type": "address"
1744
+ },
1745
+ {
1746
+ "internalType": "uint256",
1747
+ "name": "netLpToRemove",
1748
+ "type": "uint256"
1749
+ },
1750
+ {
1751
+ "internalType": "address",
1752
+ "name": "tokenOut",
1753
+ "type": "address"
1754
+ },
1755
+ {
1756
+ "internalType": "uint256",
1757
+ "name": "minTokenOut",
1758
+ "type": "uint256"
1759
+ },
1760
+ {
1761
+ "internalType": "uint256",
1762
+ "name": "minPtOut",
1763
+ "type": "uint256"
1764
+ }
1765
+ ],
1766
+ "name": "removeLiquidityDualTokenAndPt",
1767
+ "outputs": [
1768
+ {
1769
+ "internalType": "uint256",
1770
+ "name": "netTokenOut",
1771
+ "type": "uint256"
1772
+ },
1773
+ {
1774
+ "internalType": "uint256",
1775
+ "name": "netPtOut",
1776
+ "type": "uint256"
1777
+ }
1778
+ ],
1779
+ "stateMutability": "nonpayable",
1780
+ "type": "function"
1781
+ },
1782
+ {
1783
+ "inputs": [
1784
+ {
1785
+ "internalType": "address",
1786
+ "name": "receiver",
1787
+ "type": "address"
1788
+ },
1789
+ {
1790
+ "internalType": "address",
1791
+ "name": "market",
1792
+ "type": "address"
1793
+ },
1794
+ {
1795
+ "internalType": "uint256",
1796
+ "name": "netLpToRemove",
1797
+ "type": "uint256"
1798
+ },
1799
+ {
1800
+ "internalType": "uint256",
1801
+ "name": "minPtOut",
1802
+ "type": "uint256"
1803
+ },
1804
+ {
1805
+ "components": [
1806
+ {
1807
+ "internalType": "uint256",
1808
+ "name": "guessMin",
1809
+ "type": "uint256"
1810
+ },
1811
+ {
1812
+ "internalType": "uint256",
1813
+ "name": "guessMax",
1814
+ "type": "uint256"
1815
+ },
1816
+ {
1817
+ "internalType": "uint256",
1818
+ "name": "guessOffchain",
1819
+ "type": "uint256"
1820
+ },
1821
+ {
1822
+ "internalType": "uint256",
1823
+ "name": "maxIteration",
1824
+ "type": "uint256"
1825
+ },
1826
+ {
1827
+ "internalType": "uint256",
1828
+ "name": "eps",
1829
+ "type": "uint256"
1830
+ }
1831
+ ],
1832
+ "internalType": "struct ApproxParams",
1833
+ "name": "guessPtOut",
1834
+ "type": "tuple"
1835
+ }
1836
+ ],
1837
+ "name": "removeLiquiditySinglePt",
1838
+ "outputs": [
1839
+ {
1840
+ "internalType": "uint256",
1841
+ "name": "netPtOut",
1842
+ "type": "uint256"
1843
+ }
1844
+ ],
1845
+ "stateMutability": "nonpayable",
1846
+ "type": "function"
1847
+ },
1848
+ {
1849
+ "inputs": [
1850
+ {
1851
+ "internalType": "address",
1852
+ "name": "receiver",
1853
+ "type": "address"
1854
+ },
1855
+ {
1856
+ "internalType": "address",
1857
+ "name": "market",
1858
+ "type": "address"
1859
+ },
1860
+ {
1861
+ "internalType": "uint256",
1862
+ "name": "netLpToRemove",
1863
+ "type": "uint256"
1864
+ },
1865
+ {
1866
+ "internalType": "uint256",
1867
+ "name": "minScyOut",
1868
+ "type": "uint256"
1869
+ }
1870
+ ],
1871
+ "name": "removeLiquiditySingleScy",
1872
+ "outputs": [
1873
+ {
1874
+ "internalType": "uint256",
1875
+ "name": "netScyOut",
1876
+ "type": "uint256"
1877
+ }
1878
+ ],
1879
+ "stateMutability": "nonpayable",
1880
+ "type": "function"
1881
+ },
1882
+ {
1883
+ "inputs": [
1884
+ {
1885
+ "internalType": "address",
1886
+ "name": "receiver",
1887
+ "type": "address"
1888
+ },
1889
+ {
1890
+ "internalType": "address",
1891
+ "name": "market",
1892
+ "type": "address"
1893
+ },
1894
+ {
1895
+ "internalType": "uint256",
1896
+ "name": "netLpToRemove",
1897
+ "type": "uint256"
1898
+ },
1899
+ {
1900
+ "components": [
1901
+ {
1902
+ "internalType": "address",
1903
+ "name": "tokenOut",
1904
+ "type": "address"
1905
+ },
1906
+ {
1907
+ "internalType": "uint256",
1908
+ "name": "minTokenOut",
1909
+ "type": "uint256"
1910
+ },
1911
+ {
1912
+ "internalType": "address",
1913
+ "name": "tokenRedeemScy",
1914
+ "type": "address"
1915
+ },
1916
+ {
1917
+ "internalType": "bytes",
1918
+ "name": "kybercall",
1919
+ "type": "bytes"
1920
+ }
1921
+ ],
1922
+ "internalType": "struct TokenOutput",
1923
+ "name": "output",
1924
+ "type": "tuple"
1925
+ }
1926
+ ],
1927
+ "name": "removeLiquiditySingleToken",
1928
+ "outputs": [
1929
+ {
1930
+ "internalType": "uint256",
1931
+ "name": "netTokenOut",
1932
+ "type": "uint256"
1933
+ }
1934
+ ],
1935
+ "stateMutability": "nonpayable",
1936
+ "type": "function"
1937
+ },
1938
+ {
1939
+ "inputs": [
1940
+ {
1941
+ "internalType": "address",
1942
+ "name": "receiver",
1943
+ "type": "address"
1944
+ },
1945
+ {
1946
+ "internalType": "address",
1947
+ "name": "market",
1948
+ "type": "address"
1949
+ },
1950
+ {
1951
+ "internalType": "uint256",
1952
+ "name": "exactPtIn",
1953
+ "type": "uint256"
1954
+ },
1955
+ {
1956
+ "internalType": "uint256",
1957
+ "name": "minScyOut",
1958
+ "type": "uint256"
1959
+ }
1960
+ ],
1961
+ "name": "swapExactPtForScy",
1962
+ "outputs": [
1963
+ {
1964
+ "internalType": "uint256",
1965
+ "name": "netScyOut",
1966
+ "type": "uint256"
1967
+ }
1968
+ ],
1969
+ "stateMutability": "nonpayable",
1970
+ "type": "function"
1971
+ },
1972
+ {
1973
+ "inputs": [
1974
+ {
1975
+ "internalType": "address",
1976
+ "name": "receiver",
1977
+ "type": "address"
1978
+ },
1979
+ {
1980
+ "internalType": "address",
1981
+ "name": "market",
1982
+ "type": "address"
1983
+ },
1984
+ {
1985
+ "internalType": "uint256",
1986
+ "name": "exactPtIn",
1987
+ "type": "uint256"
1988
+ },
1989
+ {
1990
+ "components": [
1991
+ {
1992
+ "internalType": "address",
1993
+ "name": "tokenOut",
1994
+ "type": "address"
1995
+ },
1996
+ {
1997
+ "internalType": "uint256",
1998
+ "name": "minTokenOut",
1999
+ "type": "uint256"
2000
+ },
2001
+ {
2002
+ "internalType": "address",
2003
+ "name": "tokenRedeemScy",
2004
+ "type": "address"
2005
+ },
2006
+ {
2007
+ "internalType": "bytes",
2008
+ "name": "kybercall",
2009
+ "type": "bytes"
2010
+ }
2011
+ ],
2012
+ "internalType": "struct TokenOutput",
2013
+ "name": "output",
2014
+ "type": "tuple"
2015
+ }
2016
+ ],
2017
+ "name": "swapExactPtForToken",
2018
+ "outputs": [
2019
+ {
2020
+ "internalType": "uint256",
2021
+ "name": "netTokenOut",
2022
+ "type": "uint256"
2023
+ }
2024
+ ],
2025
+ "stateMutability": "nonpayable",
2026
+ "type": "function"
2027
+ },
2028
+ {
2029
+ "inputs": [
2030
+ {
2031
+ "internalType": "address",
2032
+ "name": "receiver",
2033
+ "type": "address"
2034
+ },
2035
+ {
2036
+ "internalType": "address",
2037
+ "name": "market",
2038
+ "type": "address"
2039
+ },
2040
+ {
2041
+ "internalType": "uint256",
2042
+ "name": "exactScyIn",
2043
+ "type": "uint256"
2044
+ },
2045
+ {
2046
+ "internalType": "uint256",
2047
+ "name": "minPtOut",
2048
+ "type": "uint256"
2049
+ },
2050
+ {
2051
+ "components": [
2052
+ {
2053
+ "internalType": "uint256",
2054
+ "name": "guessMin",
2055
+ "type": "uint256"
2056
+ },
2057
+ {
2058
+ "internalType": "uint256",
2059
+ "name": "guessMax",
2060
+ "type": "uint256"
2061
+ },
2062
+ {
2063
+ "internalType": "uint256",
2064
+ "name": "guessOffchain",
2065
+ "type": "uint256"
2066
+ },
2067
+ {
2068
+ "internalType": "uint256",
2069
+ "name": "maxIteration",
2070
+ "type": "uint256"
2071
+ },
2072
+ {
2073
+ "internalType": "uint256",
2074
+ "name": "eps",
2075
+ "type": "uint256"
2076
+ }
2077
+ ],
2078
+ "internalType": "struct ApproxParams",
2079
+ "name": "guessPtOut",
2080
+ "type": "tuple"
2081
+ }
2082
+ ],
2083
+ "name": "swapExactScyForPt",
2084
+ "outputs": [
2085
+ {
2086
+ "internalType": "uint256",
2087
+ "name": "netPtOut",
2088
+ "type": "uint256"
2089
+ }
2090
+ ],
2091
+ "stateMutability": "nonpayable",
2092
+ "type": "function"
2093
+ },
2094
+ {
2095
+ "inputs": [
2096
+ {
2097
+ "internalType": "address",
2098
+ "name": "receiver",
2099
+ "type": "address"
2100
+ },
2101
+ {
2102
+ "internalType": "address",
2103
+ "name": "market",
2104
+ "type": "address"
2105
+ },
2106
+ {
2107
+ "internalType": "uint256",
2108
+ "name": "exactScyIn",
2109
+ "type": "uint256"
2110
+ },
2111
+ {
2112
+ "internalType": "uint256",
2113
+ "name": "minYtOut",
2114
+ "type": "uint256"
2115
+ },
2116
+ {
2117
+ "components": [
2118
+ {
2119
+ "internalType": "uint256",
2120
+ "name": "guessMin",
2121
+ "type": "uint256"
2122
+ },
2123
+ {
2124
+ "internalType": "uint256",
2125
+ "name": "guessMax",
2126
+ "type": "uint256"
2127
+ },
2128
+ {
2129
+ "internalType": "uint256",
2130
+ "name": "guessOffchain",
2131
+ "type": "uint256"
2132
+ },
2133
+ {
2134
+ "internalType": "uint256",
2135
+ "name": "maxIteration",
2136
+ "type": "uint256"
2137
+ },
2138
+ {
2139
+ "internalType": "uint256",
2140
+ "name": "eps",
2141
+ "type": "uint256"
2142
+ }
2143
+ ],
2144
+ "internalType": "struct ApproxParams",
2145
+ "name": "guessYtOut",
2146
+ "type": "tuple"
2147
+ }
2148
+ ],
2149
+ "name": "swapExactScyForYt",
2150
+ "outputs": [
2151
+ {
2152
+ "internalType": "uint256",
2153
+ "name": "netYtOut",
2154
+ "type": "uint256"
2155
+ }
2156
+ ],
2157
+ "stateMutability": "nonpayable",
2158
+ "type": "function"
2159
+ },
2160
+ {
2161
+ "inputs": [
2162
+ {
2163
+ "internalType": "address",
2164
+ "name": "receiver",
2165
+ "type": "address"
2166
+ },
2167
+ {
2168
+ "internalType": "address",
2169
+ "name": "market",
2170
+ "type": "address"
2171
+ },
2172
+ {
2173
+ "internalType": "uint256",
2174
+ "name": "minPtOut",
2175
+ "type": "uint256"
2176
+ },
2177
+ {
2178
+ "components": [
2179
+ {
2180
+ "internalType": "uint256",
2181
+ "name": "guessMin",
2182
+ "type": "uint256"
2183
+ },
2184
+ {
2185
+ "internalType": "uint256",
2186
+ "name": "guessMax",
2187
+ "type": "uint256"
2188
+ },
2189
+ {
2190
+ "internalType": "uint256",
2191
+ "name": "guessOffchain",
2192
+ "type": "uint256"
2193
+ },
2194
+ {
2195
+ "internalType": "uint256",
2196
+ "name": "maxIteration",
2197
+ "type": "uint256"
2198
+ },
2199
+ {
2200
+ "internalType": "uint256",
2201
+ "name": "eps",
2202
+ "type": "uint256"
2203
+ }
2204
+ ],
2205
+ "internalType": "struct ApproxParams",
2206
+ "name": "guessPtOut",
2207
+ "type": "tuple"
2208
+ },
2209
+ {
2210
+ "components": [
2211
+ {
2212
+ "internalType": "address",
2213
+ "name": "tokenIn",
2214
+ "type": "address"
2215
+ },
2216
+ {
2217
+ "internalType": "uint256",
2218
+ "name": "netTokenIn",
2219
+ "type": "uint256"
2220
+ },
2221
+ {
2222
+ "internalType": "address",
2223
+ "name": "tokenMintScy",
2224
+ "type": "address"
2225
+ },
2226
+ {
2227
+ "internalType": "bytes",
2228
+ "name": "kybercall",
2229
+ "type": "bytes"
2230
+ }
2231
+ ],
2232
+ "internalType": "struct TokenInput",
2233
+ "name": "input",
2234
+ "type": "tuple"
2235
+ }
2236
+ ],
2237
+ "name": "swapExactTokenForPt",
2238
+ "outputs": [
2239
+ {
2240
+ "internalType": "uint256",
2241
+ "name": "netPtOut",
2242
+ "type": "uint256"
2243
+ }
2244
+ ],
2245
+ "stateMutability": "payable",
2246
+ "type": "function"
2247
+ },
2248
+ {
2249
+ "inputs": [
2250
+ {
2251
+ "internalType": "address",
2252
+ "name": "receiver",
2253
+ "type": "address"
2254
+ },
2255
+ {
2256
+ "internalType": "address",
2257
+ "name": "market",
2258
+ "type": "address"
2259
+ },
2260
+ {
2261
+ "internalType": "uint256",
2262
+ "name": "minYtOut",
2263
+ "type": "uint256"
2264
+ },
2265
+ {
2266
+ "components": [
2267
+ {
2268
+ "internalType": "uint256",
2269
+ "name": "guessMin",
2270
+ "type": "uint256"
2271
+ },
2272
+ {
2273
+ "internalType": "uint256",
2274
+ "name": "guessMax",
2275
+ "type": "uint256"
2276
+ },
2277
+ {
2278
+ "internalType": "uint256",
2279
+ "name": "guessOffchain",
2280
+ "type": "uint256"
2281
+ },
2282
+ {
2283
+ "internalType": "uint256",
2284
+ "name": "maxIteration",
2285
+ "type": "uint256"
2286
+ },
2287
+ {
2288
+ "internalType": "uint256",
2289
+ "name": "eps",
2290
+ "type": "uint256"
2291
+ }
2292
+ ],
2293
+ "internalType": "struct ApproxParams",
2294
+ "name": "guessYtOut",
2295
+ "type": "tuple"
2296
+ },
2297
+ {
2298
+ "components": [
2299
+ {
2300
+ "internalType": "address",
2301
+ "name": "tokenIn",
2302
+ "type": "address"
2303
+ },
2304
+ {
2305
+ "internalType": "uint256",
2306
+ "name": "netTokenIn",
2307
+ "type": "uint256"
2308
+ },
2309
+ {
2310
+ "internalType": "address",
2311
+ "name": "tokenMintScy",
2312
+ "type": "address"
2313
+ },
2314
+ {
2315
+ "internalType": "bytes",
2316
+ "name": "kybercall",
2317
+ "type": "bytes"
2318
+ }
2319
+ ],
2320
+ "internalType": "struct TokenInput",
2321
+ "name": "input",
2322
+ "type": "tuple"
2323
+ }
2324
+ ],
2325
+ "name": "swapExactTokenForYt",
2326
+ "outputs": [
2327
+ {
2328
+ "internalType": "uint256",
2329
+ "name": "netYtOut",
2330
+ "type": "uint256"
2331
+ }
2332
+ ],
2333
+ "stateMutability": "payable",
2334
+ "type": "function"
2335
+ },
2336
+ {
2337
+ "inputs": [
2338
+ {
2339
+ "internalType": "address",
2340
+ "name": "receiver",
2341
+ "type": "address"
2342
+ },
2343
+ {
2344
+ "internalType": "address",
2345
+ "name": "market",
2346
+ "type": "address"
2347
+ },
2348
+ {
2349
+ "internalType": "uint256",
2350
+ "name": "exactYtIn",
2351
+ "type": "uint256"
2352
+ },
2353
+ {
2354
+ "internalType": "uint256",
2355
+ "name": "minScyOut",
2356
+ "type": "uint256"
2357
+ }
2358
+ ],
2359
+ "name": "swapExactYtForScy",
2360
+ "outputs": [
2361
+ {
2362
+ "internalType": "uint256",
2363
+ "name": "netScyOut",
2364
+ "type": "uint256"
2365
+ }
2366
+ ],
2367
+ "stateMutability": "nonpayable",
2368
+ "type": "function"
2369
+ },
2370
+ {
2371
+ "inputs": [
2372
+ {
2373
+ "internalType": "address",
2374
+ "name": "receiver",
2375
+ "type": "address"
2376
+ },
2377
+ {
2378
+ "internalType": "address",
2379
+ "name": "market",
2380
+ "type": "address"
2381
+ },
2382
+ {
2383
+ "internalType": "uint256",
2384
+ "name": "netYtIn",
2385
+ "type": "uint256"
2386
+ },
2387
+ {
2388
+ "components": [
2389
+ {
2390
+ "internalType": "address",
2391
+ "name": "tokenOut",
2392
+ "type": "address"
2393
+ },
2394
+ {
2395
+ "internalType": "uint256",
2396
+ "name": "minTokenOut",
2397
+ "type": "uint256"
2398
+ },
2399
+ {
2400
+ "internalType": "address",
2401
+ "name": "tokenRedeemScy",
2402
+ "type": "address"
2403
+ },
2404
+ {
2405
+ "internalType": "bytes",
2406
+ "name": "kybercall",
2407
+ "type": "bytes"
2408
+ }
2409
+ ],
2410
+ "internalType": "struct TokenOutput",
2411
+ "name": "output",
2412
+ "type": "tuple"
2413
+ }
2414
+ ],
2415
+ "name": "swapExactYtForToken",
2416
+ "outputs": [
2417
+ {
2418
+ "internalType": "uint256",
2419
+ "name": "netTokenOut",
2420
+ "type": "uint256"
2421
+ }
2422
+ ],
2423
+ "stateMutability": "nonpayable",
2424
+ "type": "function"
2425
+ },
2426
+ {
2427
+ "inputs": [
2428
+ {
2429
+ "internalType": "address",
2430
+ "name": "receiver",
2431
+ "type": "address"
2432
+ },
2433
+ {
2434
+ "internalType": "address",
2435
+ "name": "market",
2436
+ "type": "address"
2437
+ },
2438
+ {
2439
+ "internalType": "uint256",
2440
+ "name": "exactScyOut",
2441
+ "type": "uint256"
2442
+ },
2443
+ {
2444
+ "internalType": "uint256",
2445
+ "name": "maxPtIn",
2446
+ "type": "uint256"
2447
+ },
2448
+ {
2449
+ "components": [
2450
+ {
2451
+ "internalType": "uint256",
2452
+ "name": "guessMin",
2453
+ "type": "uint256"
2454
+ },
2455
+ {
2456
+ "internalType": "uint256",
2457
+ "name": "guessMax",
2458
+ "type": "uint256"
2459
+ },
2460
+ {
2461
+ "internalType": "uint256",
2462
+ "name": "guessOffchain",
2463
+ "type": "uint256"
2464
+ },
2465
+ {
2466
+ "internalType": "uint256",
2467
+ "name": "maxIteration",
2468
+ "type": "uint256"
2469
+ },
2470
+ {
2471
+ "internalType": "uint256",
2472
+ "name": "eps",
2473
+ "type": "uint256"
2474
+ }
2475
+ ],
2476
+ "internalType": "struct ApproxParams",
2477
+ "name": "guessPtIn",
2478
+ "type": "tuple"
2479
+ }
2480
+ ],
2481
+ "name": "swapPtForExactScy",
2482
+ "outputs": [
2483
+ {
2484
+ "internalType": "uint256",
2485
+ "name": "netPtIn",
2486
+ "type": "uint256"
2487
+ }
2488
+ ],
2489
+ "stateMutability": "nonpayable",
2490
+ "type": "function"
2491
+ },
2492
+ {
2493
+ "inputs": [
2494
+ {
2495
+ "internalType": "address",
2496
+ "name": "receiver",
2497
+ "type": "address"
2498
+ },
2499
+ {
2500
+ "internalType": "address",
2501
+ "name": "market",
2502
+ "type": "address"
2503
+ },
2504
+ {
2505
+ "internalType": "uint256",
2506
+ "name": "exactPtOut",
2507
+ "type": "uint256"
2508
+ },
2509
+ {
2510
+ "internalType": "uint256",
2511
+ "name": "maxScyIn",
2512
+ "type": "uint256"
2513
+ }
2514
+ ],
2515
+ "name": "swapScyForExactPt",
2516
+ "outputs": [
2517
+ {
2518
+ "internalType": "uint256",
2519
+ "name": "netScyIn",
2520
+ "type": "uint256"
2521
+ }
2522
+ ],
2523
+ "stateMutability": "nonpayable",
2524
+ "type": "function"
2525
+ },
2526
+ {
2527
+ "inputs": [
2528
+ {
2529
+ "internalType": "address",
2530
+ "name": "receiver",
2531
+ "type": "address"
2532
+ },
2533
+ {
2534
+ "internalType": "address",
2535
+ "name": "market",
2536
+ "type": "address"
2537
+ },
2538
+ {
2539
+ "internalType": "uint256",
2540
+ "name": "exactYtOut",
2541
+ "type": "uint256"
2542
+ },
2543
+ {
2544
+ "internalType": "uint256",
2545
+ "name": "maxScyIn",
2546
+ "type": "uint256"
2547
+ }
2548
+ ],
2549
+ "name": "swapScyForExactYt",
2550
+ "outputs": [
2551
+ {
2552
+ "internalType": "uint256",
2553
+ "name": "netScyIn",
2554
+ "type": "uint256"
2555
+ }
2556
+ ],
2557
+ "stateMutability": "nonpayable",
2558
+ "type": "function"
2559
+ },
2560
+ {
2561
+ "inputs": [
2562
+ {
2563
+ "internalType": "address",
2564
+ "name": "receiver",
2565
+ "type": "address"
2566
+ },
2567
+ {
2568
+ "internalType": "address",
2569
+ "name": "market",
2570
+ "type": "address"
2571
+ },
2572
+ {
2573
+ "internalType": "uint256",
2574
+ "name": "exactScyOut",
2575
+ "type": "uint256"
2576
+ },
2577
+ {
2578
+ "internalType": "uint256",
2579
+ "name": "maxYtIn",
2580
+ "type": "uint256"
2581
+ },
2582
+ {
2583
+ "components": [
2584
+ {
2585
+ "internalType": "uint256",
2586
+ "name": "guessMin",
2587
+ "type": "uint256"
2588
+ },
2589
+ {
2590
+ "internalType": "uint256",
2591
+ "name": "guessMax",
2592
+ "type": "uint256"
2593
+ },
2594
+ {
2595
+ "internalType": "uint256",
2596
+ "name": "guessOffchain",
2597
+ "type": "uint256"
2598
+ },
2599
+ {
2600
+ "internalType": "uint256",
2601
+ "name": "maxIteration",
2602
+ "type": "uint256"
2603
+ },
2604
+ {
2605
+ "internalType": "uint256",
2606
+ "name": "eps",
2607
+ "type": "uint256"
2608
+ }
2609
+ ],
2610
+ "internalType": "struct ApproxParams",
2611
+ "name": "guessYtIn",
2612
+ "type": "tuple"
2613
+ }
2614
+ ],
2615
+ "name": "swapYtForExactScy",
2616
+ "outputs": [
2617
+ {
2618
+ "internalType": "uint256",
2619
+ "name": "netYtIn",
2620
+ "type": "uint256"
2621
+ }
2622
+ ],
2623
+ "stateMutability": "nonpayable",
2624
+ "type": "function"
2625
+ }
2626
+ ],
2627
+ "bytecode": "0x",
2628
+ "deployedBytecode": "0x",
2629
+ "linkReferences": {},
2630
+ "deployedLinkReferences": {}
2631
+ }