@pendle/core-v2 0.11.5-testnet → 0.11.6-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 (322) hide show
  1. package/package.json +4 -2
  2. package/typechain-types/ActionAddRemoveLiq.ts +6 -18
  3. package/typechain-types/ActionSwapPT.ts +6 -18
  4. package/typechain-types/ActionSwapYT.ts +6 -18
  5. package/typechain-types/IPActionAddRemoveLiq.ts +6 -18
  6. package/typechain-types/IPActionSwapPT.ts +6 -18
  7. package/typechain-types/IPActionSwapYT.ts +6 -18
  8. package/typechain-types/IPAllAction.ts +18 -54
  9. package/typechain-types/IPMarket.ts +0 -13
  10. package/typechain-types/PendleGaugeControllerSidechainUpg.ts +149 -28
  11. package/typechain-types/PendleMarket.ts +0 -104
  12. package/typechain-types/PendleMarketFactory.ts +8 -71
  13. package/typechain-types/PendlePrincipalToken.ts +0 -104
  14. package/typechain-types/PendleVotingControllerUpg.ts +53 -21
  15. package/typechain-types/PendleYieldContractFactory.ts +21 -84
  16. package/typechain-types/PendleYieldToken.ts +0 -175
  17. package/typechain-types/VotingEscrowPendleMainchain.ts +80 -24
  18. package/typechain-types/VotingEscrowPendleSidechain.ts +171 -26
  19. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -31
  20. package/typechain-types/factories/ActionCallback__factory.ts +1 -1
  21. package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
  22. package/typechain-types/factories/ActionMisc__factory.ts +1 -1
  23. package/typechain-types/factories/ActionSwapPT__factory.ts +1 -31
  24. package/typechain-types/factories/ActionSwapYT__factory.ts +1 -31
  25. package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +0 -30
  26. package/typechain-types/factories/IPActionSwapPT__factory.ts +0 -30
  27. package/typechain-types/factories/IPActionSwapYT__factory.ts +0 -30
  28. package/typechain-types/factories/IPAllAction__factory.ts +0 -90
  29. package/typechain-types/factories/IPMarket__factory.ts +0 -13
  30. package/typechain-types/factories/MarketMathStatic__factory.ts +1 -1
  31. package/typechain-types/factories/PendleAaveV3SCY__factory.ts +1 -1
  32. package/typechain-types/factories/PendleERC4626SCY__factory.ts +1 -1
  33. package/typechain-types/factories/PendleEulerSCY__factory.ts +1 -1
  34. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  35. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +86 -21
  36. package/typechain-types/factories/PendleMarketFactory__factory.ts +8 -81
  37. package/typechain-types/factories/PendleMarket__factory.ts +1 -76
  38. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -76
  39. package/typechain-types/factories/PendleQiSAvaxSCY__factory.ts +1 -1
  40. package/typechain-types/factories/PendleQiTokenSCY__factory.ts +1 -1
  41. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  42. package/typechain-types/factories/PendleSAvaxSCY__factory.ts +1 -1
  43. package/typechain-types/factories/PendleSJoeSCY__factory.ts +1 -1
  44. package/typechain-types/factories/PendleStargateSCY__factory.ts +1 -1
  45. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +28 -27
  46. package/typechain-types/factories/PendleWstEthSCY__factory.ts +1 -1
  47. package/typechain-types/factories/PendleYearnVaultSCY__factory.ts +1 -1
  48. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +20 -93
  49. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -112
  50. package/typechain-types/factories/RouterStatic__factory.ts +1 -1
  51. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +41 -33
  52. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +93 -20
  53. package/typechain-types/hardhat.d.ts +27 -0
  54. package/typechain-types/index.ts +6 -0
  55. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.dbg.json +0 -4
  56. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.json +0 -810
  57. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +0 -4
  58. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.json +0 -10
  59. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.dbg.json +0 -4
  60. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.json +0 -833
  61. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +0 -4
  62. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +0 -27
  63. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.dbg.json +0 -4
  64. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.json +0 -838
  65. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.dbg.json +0 -4
  66. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.json +0 -723
  67. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP2PoolSCY.sol/PendleConvexCurveLP2PoolSCY.dbg.json +0 -4
  68. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP2PoolSCY.sol/PendleConvexCurveLP2PoolSCY.json +0 -950
  69. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP3PoolSCY.sol/PendleConvexCurveLP3PoolSCY.dbg.json +0 -4
  70. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP3PoolSCY.sol/PendleConvexCurveLP3PoolSCY.json +0 -963
  71. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP4PoolSCY.sol/PendleConvexCurveLP4PoolSCY.dbg.json +0 -4
  72. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP4PoolSCY.sol/PendleConvexCurveLP4PoolSCY.json +0 -976
  73. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLPSCY.sol/PendleConvexCurveLPSCY.dbg.json +0 -4
  74. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLPSCY.sol/PendleConvexCurveLPSCY.json +0 -873
  75. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.dbg.json +0 -4
  76. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.json +0 -76
  77. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/Pendle3CrvTokenSCY.sol/Pendle3CrvTokenSCY.dbg.json +0 -4
  78. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/Pendle3CrvTokenSCY.sol/Pendle3CrvTokenSCY.json +0 -950
  79. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/PendleCvxCRVSCY.sol/PendleCvxCRVSCY.dbg.json +0 -4
  80. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/PendleCvxCRVSCY.sol/PendleCvxCRVSCY.json +0 -857
  81. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.dbg.json +0 -4
  82. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.json +0 -728
  83. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.dbg.json +0 -4
  84. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.json +0 -705
  85. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.dbg.json +0 -4
  86. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.json +0 -864
  87. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +0 -4
  88. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.json +0 -736
  89. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultSCY.sol/PendleYearnVaultSCY.dbg.json +0 -4
  90. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultSCY.sol/PendleYearnVaultSCY.json +0 -718
  91. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.dbg.json +0 -4
  92. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.json +0 -784
  93. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.dbg.json +0 -4
  94. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.json +0 -671
  95. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithDynamicRewards.sol/SCYBaseWithDynamicRewards.dbg.json +0 -4
  96. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithDynamicRewards.sol/SCYBaseWithDynamicRewards.json +0 -756
  97. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +0 -4
  98. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.json +0 -737
  99. package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +0 -4
  100. package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +0 -294
  101. package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +0 -4
  102. package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.json +0 -112
  103. package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +0 -4
  104. package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +0 -331
  105. package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +0 -4
  106. package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.json +0 -135
  107. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +0 -4
  108. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +0 -242
  109. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +0 -4
  110. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +0 -306
  111. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +0 -4
  112. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +0 -296
  113. package/build/artifacts/contracts/core/LiquidityMining/PendleGauge.sol/PendleGauge.dbg.json +0 -4
  114. package/build/artifacts/contracts/core/LiquidityMining/PendleGauge.sol/PendleGauge.json +0 -109
  115. package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +0 -4
  116. package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +0 -857
  117. package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +0 -4
  118. package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.json +0 -365
  119. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +0 -4
  120. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +0 -600
  121. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +0 -4
  122. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +0 -355
  123. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +0 -4
  124. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.json +0 -156
  125. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +0 -4
  126. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +0 -1039
  127. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +0 -4
  128. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +0 -433
  129. package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.dbg.json +0 -4
  130. package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.json +0 -254
  131. package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +0 -4
  132. package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.json +0 -329
  133. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +0 -4
  134. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.json +0 -323
  135. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +0 -4
  136. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.json +0 -35
  137. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +0 -4
  138. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +0 -453
  139. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +0 -4
  140. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +0 -494
  141. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +0 -4
  142. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +0 -866
  143. package/build/artifacts/contracts/core/actions/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +0 -4
  144. package/build/artifacts/contracts/core/actions/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +0 -1073
  145. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +0 -4
  146. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +0 -58
  147. package/build/artifacts/contracts/core/actions/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +0 -4
  148. package/build/artifacts/contracts/core/actions/ActionMintRedeem.sol/ActionMintRedeem.json +0 -811
  149. package/build/artifacts/contracts/core/actions/ActionMisc.sol/ActionMisc.dbg.json +0 -4
  150. package/build/artifacts/contracts/core/actions/ActionMisc.sol/ActionMisc.json +0 -35
  151. package/build/artifacts/contracts/core/actions/ActionSwapPT.sol/ActionSwapPT.dbg.json +0 -4
  152. package/build/artifacts/contracts/core/actions/ActionSwapPT.sol/ActionSwapPT.json +0 -507
  153. package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.dbg.json +0 -4
  154. package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.json +0 -507
  155. package/build/artifacts/contracts/core/actions/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +0 -4
  156. package/build/artifacts/contracts/core/actions/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.json +0 -24
  157. package/build/artifacts/contracts/core/actions/base/CallbackHelper.sol/CallbackHelper.dbg.json +0 -4
  158. package/build/artifacts/contracts/core/actions/base/CallbackHelper.sol/CallbackHelper.json +0 -10
  159. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +0 -4
  160. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.json +0 -177
  161. package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.dbg.json +0 -4
  162. package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.json +0 -78
  163. package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.dbg.json +0 -4
  164. package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.json +0 -24
  165. package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +0 -4
  166. package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.json +0 -251
  167. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +0 -4
  168. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.json +0 -232
  169. package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +0 -4
  170. package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.json +0 -252
  171. package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +0 -4
  172. package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.json +0 -87
  173. package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +0 -4
  174. package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.json +0 -59
  175. package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +0 -4
  176. package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.json +0 -81
  177. package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +0 -4
  178. package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.json +0 -74
  179. package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.dbg.json +0 -4
  180. package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.json +0 -53
  181. package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.dbg.json +0 -4
  182. package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.json +0 -45
  183. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +0 -4
  184. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.json +0 -318
  185. package/build/artifacts/contracts/interfaces/IEulerEToken.sol/IEulerEToken.dbg.json +0 -4
  186. package/build/artifacts/contracts/interfaces/IEulerEToken.sol/IEulerEToken.json +0 -162
  187. package/build/artifacts/contracts/interfaces/IEulerMarkets.sol/IEulerMarkets.dbg.json +0 -4
  188. package/build/artifacts/contracts/interfaces/IEulerMarkets.sol/IEulerMarkets.json +0 -87
  189. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +0 -4
  190. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +0 -1031
  191. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +0 -4
  192. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +0 -769
  193. package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.dbg.json +0 -4
  194. package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.json +0 -35
  195. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +0 -4
  196. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.json +0 -465
  197. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +0 -4
  198. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +0 -465
  199. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +0 -4
  200. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +0 -2721
  201. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +0 -4
  202. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.json +0 -43
  203. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +0 -4
  204. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.json +0 -135
  205. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +0 -4
  206. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.json +0 -158
  207. package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +0 -4
  208. package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.json +0 -24
  209. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +0 -4
  210. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.json +0 -35
  211. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +0 -4
  212. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +0 -716
  213. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +0 -4
  214. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +0 -122
  215. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +0 -4
  216. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.json +0 -34
  217. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +0 -4
  218. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.json +0 -24
  219. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +0 -4
  220. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.json +0 -63
  221. package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +0 -4
  222. package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.json +0 -24
  223. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +0 -4
  224. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.json +0 -347
  225. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +0 -4
  226. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.json +0 -104
  227. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +0 -4
  228. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.json +0 -130
  229. package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.dbg.json +0 -4
  230. package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.json +0 -142
  231. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +0 -4
  232. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.json +0 -232
  233. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +0 -4
  234. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +0 -642
  235. package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +0 -4
  236. package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.json +0 -350
  237. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +0 -4
  238. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.json +0 -375
  239. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +0 -4
  240. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.json +0 -324
  241. package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +0 -4
  242. package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.json +0 -92
  243. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +0 -4
  244. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.json +0 -40
  245. package/build/artifacts/contracts/interfaces/ISAvax.sol/ISAvax.dbg.json +0 -4
  246. package/build/artifacts/contracts/interfaces/ISAvax.sol/ISAvax.json +0 -199
  247. package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.dbg.json +0 -4
  248. package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.json +0 -168
  249. package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +0 -4
  250. package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.json +0 -92
  251. package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.dbg.json +0 -4
  252. package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.json +0 -137
  253. package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.dbg.json +0 -4
  254. package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.json +0 -135
  255. package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +0 -4
  256. package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.json +0 -63
  257. package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +0 -4
  258. package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.json +0 -667
  259. package/build/artifacts/contracts/interfaces/IWAvax.sol/IWAvax.dbg.json +0 -4
  260. package/build/artifacts/contracts/interfaces/IWAvax.sol/IWAvax.json +0 -252
  261. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +0 -4
  262. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.json +0 -252
  263. package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +0 -4
  264. package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.json +0 -132
  265. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +0 -4
  266. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.json +0 -75
  267. package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +0 -4
  268. package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.json +0 -148
  269. package/build/artifacts/contracts/libraries/OracleLib.sol/OracleLib.dbg.json +0 -4
  270. package/build/artifacts/contracts/libraries/OracleLib.sol/OracleLib.json +0 -74
  271. package/build/artifacts/contracts/libraries/RewardManager.sol/RewardManager.dbg.json +0 -4
  272. package/build/artifacts/contracts/libraries/RewardManager.sol/RewardManager.json +0 -77
  273. package/build/artifacts/contracts/libraries/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +0 -4
  274. package/build/artifacts/contracts/libraries/RewardManagerAbstract.sol/RewardManagerAbstract.json +0 -40
  275. package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.dbg.json +0 -4
  276. package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.json +0 -10
  277. package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +0 -4
  278. package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.json +0 -10
  279. package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +0 -4
  280. package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.json +0 -10
  281. package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.dbg.json +0 -4
  282. package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.json +0 -10
  283. package/build/artifacts/contracts/libraries/helpers/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +0 -4
  284. package/build/artifacts/contracts/libraries/helpers/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.json +0 -45
  285. package/build/artifacts/contracts/libraries/helpers/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +0 -4
  286. package/build/artifacts/contracts/libraries/helpers/BaseSplitCodeFactory.sol/CodeDeployer.json +0 -10
  287. package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +0 -4
  288. package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.json +0 -10
  289. package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.dbg.json +0 -4
  290. package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.json +0 -10
  291. package/build/artifacts/contracts/libraries/helpers/PYIndex.sol/PYIndexLib.dbg.json +0 -4
  292. package/build/artifacts/contracts/libraries/helpers/PYIndex.sol/PYIndexLib.json +0 -10
  293. package/build/artifacts/contracts/libraries/helpers/TokenHelper.sol/TokenHelper.dbg.json +0 -4
  294. package/build/artifacts/contracts/libraries/helpers/TokenHelper.sol/TokenHelper.json +0 -10
  295. package/build/artifacts/contracts/libraries/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +0 -4
  296. package/build/artifacts/contracts/libraries/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +0 -35
  297. package/build/artifacts/contracts/libraries/kyberswap/IMultihopRouter.sol/IMultihopRouter.dbg.json +0 -4
  298. package/build/artifacts/contracts/libraries/kyberswap/IMultihopRouter.sol/IMultihopRouter.json +0 -136
  299. package/build/artifacts/contracts/libraries/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +0 -4
  300. package/build/artifacts/contracts/libraries/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.json +0 -24
  301. package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +0 -4
  302. package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.json +0 -10
  303. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +0 -4
  304. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtInLib.json +0 -10
  305. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +0 -4
  306. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtOutLib.json +0 -10
  307. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +0 -4
  308. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.json +0 -10
  309. package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +0 -4
  310. package/build/artifacts/contracts/libraries/math/Math.sol/Math.json +0 -10
  311. package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.dbg.json +0 -4
  312. package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.json +0 -10
  313. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +0 -4
  314. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.json +0 -167
  315. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +0 -4
  316. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +0 -93
  317. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +0 -4
  318. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +0 -2152
  319. package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +0 -4
  320. package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.json +0 -86
  321. package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +0 -4
  322. package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.json +0 -37
@@ -1,2721 +0,0 @@
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
- "internalType": "uint256",
1095
- "name": "netScyFee",
1096
- "type": "uint256"
1097
- }
1098
- ],
1099
- "stateMutability": "nonpayable",
1100
- "type": "function"
1101
- },
1102
- {
1103
- "inputs": [
1104
- {
1105
- "internalType": "address",
1106
- "name": "receiver",
1107
- "type": "address"
1108
- },
1109
- {
1110
- "internalType": "address",
1111
- "name": "market",
1112
- "type": "address"
1113
- },
1114
- {
1115
- "internalType": "uint256",
1116
- "name": "netScyIn",
1117
- "type": "uint256"
1118
- },
1119
- {
1120
- "internalType": "uint256",
1121
- "name": "minLpOut",
1122
- "type": "uint256"
1123
- },
1124
- {
1125
- "components": [
1126
- {
1127
- "internalType": "uint256",
1128
- "name": "guessMin",
1129
- "type": "uint256"
1130
- },
1131
- {
1132
- "internalType": "uint256",
1133
- "name": "guessMax",
1134
- "type": "uint256"
1135
- },
1136
- {
1137
- "internalType": "uint256",
1138
- "name": "guessOffchain",
1139
- "type": "uint256"
1140
- },
1141
- {
1142
- "internalType": "uint256",
1143
- "name": "maxIteration",
1144
- "type": "uint256"
1145
- },
1146
- {
1147
- "internalType": "uint256",
1148
- "name": "eps",
1149
- "type": "uint256"
1150
- }
1151
- ],
1152
- "internalType": "struct ApproxParams",
1153
- "name": "guessPtReceivedFromScy",
1154
- "type": "tuple"
1155
- }
1156
- ],
1157
- "name": "addLiquiditySingleScy",
1158
- "outputs": [
1159
- {
1160
- "internalType": "uint256",
1161
- "name": "netLpOut",
1162
- "type": "uint256"
1163
- },
1164
- {
1165
- "internalType": "uint256",
1166
- "name": "netScyFee",
1167
- "type": "uint256"
1168
- }
1169
- ],
1170
- "stateMutability": "nonpayable",
1171
- "type": "function"
1172
- },
1173
- {
1174
- "inputs": [
1175
- {
1176
- "internalType": "address",
1177
- "name": "receiver",
1178
- "type": "address"
1179
- },
1180
- {
1181
- "internalType": "address",
1182
- "name": "market",
1183
- "type": "address"
1184
- },
1185
- {
1186
- "internalType": "uint256",
1187
- "name": "minLpOut",
1188
- "type": "uint256"
1189
- },
1190
- {
1191
- "components": [
1192
- {
1193
- "internalType": "uint256",
1194
- "name": "guessMin",
1195
- "type": "uint256"
1196
- },
1197
- {
1198
- "internalType": "uint256",
1199
- "name": "guessMax",
1200
- "type": "uint256"
1201
- },
1202
- {
1203
- "internalType": "uint256",
1204
- "name": "guessOffchain",
1205
- "type": "uint256"
1206
- },
1207
- {
1208
- "internalType": "uint256",
1209
- "name": "maxIteration",
1210
- "type": "uint256"
1211
- },
1212
- {
1213
- "internalType": "uint256",
1214
- "name": "eps",
1215
- "type": "uint256"
1216
- }
1217
- ],
1218
- "internalType": "struct ApproxParams",
1219
- "name": "guessPtReceivedFromScy",
1220
- "type": "tuple"
1221
- },
1222
- {
1223
- "components": [
1224
- {
1225
- "internalType": "address",
1226
- "name": "tokenIn",
1227
- "type": "address"
1228
- },
1229
- {
1230
- "internalType": "uint256",
1231
- "name": "netTokenIn",
1232
- "type": "uint256"
1233
- },
1234
- {
1235
- "internalType": "address",
1236
- "name": "tokenMintScy",
1237
- "type": "address"
1238
- },
1239
- {
1240
- "internalType": "bytes",
1241
- "name": "kybercall",
1242
- "type": "bytes"
1243
- }
1244
- ],
1245
- "internalType": "struct TokenInput",
1246
- "name": "input",
1247
- "type": "tuple"
1248
- }
1249
- ],
1250
- "name": "addLiquiditySingleToken",
1251
- "outputs": [
1252
- {
1253
- "internalType": "uint256",
1254
- "name": "netLpOut",
1255
- "type": "uint256"
1256
- },
1257
- {
1258
- "internalType": "uint256",
1259
- "name": "netScyFee",
1260
- "type": "uint256"
1261
- }
1262
- ],
1263
- "stateMutability": "payable",
1264
- "type": "function"
1265
- },
1266
- {
1267
- "inputs": [
1268
- {
1269
- "internalType": "address",
1270
- "name": "market",
1271
- "type": "address"
1272
- },
1273
- {
1274
- "internalType": "uint32",
1275
- "name": "secondsAgo",
1276
- "type": "uint32"
1277
- }
1278
- ],
1279
- "name": "consult",
1280
- "outputs": [
1281
- {
1282
- "internalType": "uint96",
1283
- "name": "lnImpliedRateMean",
1284
- "type": "uint96"
1285
- }
1286
- ],
1287
- "stateMutability": "view",
1288
- "type": "function"
1289
- },
1290
- {
1291
- "inputs": [
1292
- {
1293
- "internalType": "address",
1294
- "name": "receiver",
1295
- "type": "address"
1296
- },
1297
- {
1298
- "internalType": "address",
1299
- "name": "YT",
1300
- "type": "address"
1301
- },
1302
- {
1303
- "internalType": "uint256",
1304
- "name": "netScyIn",
1305
- "type": "uint256"
1306
- },
1307
- {
1308
- "internalType": "uint256",
1309
- "name": "minPyOut",
1310
- "type": "uint256"
1311
- }
1312
- ],
1313
- "name": "mintPyFromScy",
1314
- "outputs": [
1315
- {
1316
- "internalType": "uint256",
1317
- "name": "netPyOut",
1318
- "type": "uint256"
1319
- }
1320
- ],
1321
- "stateMutability": "nonpayable",
1322
- "type": "function"
1323
- },
1324
- {
1325
- "inputs": [
1326
- {
1327
- "internalType": "address",
1328
- "name": "receiver",
1329
- "type": "address"
1330
- },
1331
- {
1332
- "internalType": "address",
1333
- "name": "YT",
1334
- "type": "address"
1335
- },
1336
- {
1337
- "internalType": "uint256",
1338
- "name": "minPyOut",
1339
- "type": "uint256"
1340
- },
1341
- {
1342
- "components": [
1343
- {
1344
- "internalType": "address",
1345
- "name": "tokenIn",
1346
- "type": "address"
1347
- },
1348
- {
1349
- "internalType": "uint256",
1350
- "name": "netTokenIn",
1351
- "type": "uint256"
1352
- },
1353
- {
1354
- "internalType": "address",
1355
- "name": "tokenMintScy",
1356
- "type": "address"
1357
- },
1358
- {
1359
- "internalType": "bytes",
1360
- "name": "kybercall",
1361
- "type": "bytes"
1362
- }
1363
- ],
1364
- "internalType": "struct TokenInput",
1365
- "name": "input",
1366
- "type": "tuple"
1367
- }
1368
- ],
1369
- "name": "mintPyFromToken",
1370
- "outputs": [
1371
- {
1372
- "internalType": "uint256",
1373
- "name": "netPyOut",
1374
- "type": "uint256"
1375
- }
1376
- ],
1377
- "stateMutability": "payable",
1378
- "type": "function"
1379
- },
1380
- {
1381
- "inputs": [
1382
- {
1383
- "internalType": "address",
1384
- "name": "receiver",
1385
- "type": "address"
1386
- },
1387
- {
1388
- "internalType": "address",
1389
- "name": "SCY",
1390
- "type": "address"
1391
- },
1392
- {
1393
- "internalType": "uint256",
1394
- "name": "minScyOut",
1395
- "type": "uint256"
1396
- },
1397
- {
1398
- "components": [
1399
- {
1400
- "internalType": "address",
1401
- "name": "tokenIn",
1402
- "type": "address"
1403
- },
1404
- {
1405
- "internalType": "uint256",
1406
- "name": "netTokenIn",
1407
- "type": "uint256"
1408
- },
1409
- {
1410
- "internalType": "address",
1411
- "name": "tokenMintScy",
1412
- "type": "address"
1413
- },
1414
- {
1415
- "internalType": "bytes",
1416
- "name": "kybercall",
1417
- "type": "bytes"
1418
- }
1419
- ],
1420
- "internalType": "struct TokenInput",
1421
- "name": "input",
1422
- "type": "tuple"
1423
- }
1424
- ],
1425
- "name": "mintScyFromToken",
1426
- "outputs": [
1427
- {
1428
- "internalType": "uint256",
1429
- "name": "netScyOut",
1430
- "type": "uint256"
1431
- }
1432
- ],
1433
- "stateMutability": "payable",
1434
- "type": "function"
1435
- },
1436
- {
1437
- "inputs": [
1438
- {
1439
- "internalType": "address",
1440
- "name": "user",
1441
- "type": "address"
1442
- },
1443
- {
1444
- "internalType": "address[]",
1445
- "name": "scys",
1446
- "type": "address[]"
1447
- },
1448
- {
1449
- "internalType": "address[]",
1450
- "name": "yts",
1451
- "type": "address[]"
1452
- },
1453
- {
1454
- "internalType": "address[]",
1455
- "name": "markets",
1456
- "type": "address[]"
1457
- }
1458
- ],
1459
- "name": "redeemDueInterestAndRewards",
1460
- "outputs": [
1461
- {
1462
- "internalType": "uint256[][]",
1463
- "name": "scyRewards",
1464
- "type": "uint256[][]"
1465
- },
1466
- {
1467
- "internalType": "uint256[]",
1468
- "name": "ytInterests",
1469
- "type": "uint256[]"
1470
- },
1471
- {
1472
- "internalType": "uint256[][]",
1473
- "name": "ytRewards",
1474
- "type": "uint256[][]"
1475
- },
1476
- {
1477
- "internalType": "uint256[][]",
1478
- "name": "marketRewards",
1479
- "type": "uint256[][]"
1480
- }
1481
- ],
1482
- "stateMutability": "nonpayable",
1483
- "type": "function"
1484
- },
1485
- {
1486
- "inputs": [
1487
- {
1488
- "internalType": "address[]",
1489
- "name": "scys",
1490
- "type": "address[]"
1491
- },
1492
- {
1493
- "components": [
1494
- {
1495
- "internalType": "address[]",
1496
- "name": "yts",
1497
- "type": "address[]"
1498
- },
1499
- {
1500
- "internalType": "address[]",
1501
- "name": "scyAddrs",
1502
- "type": "address[]"
1503
- },
1504
- {
1505
- "internalType": "address[]",
1506
- "name": "tokenRedeemScys",
1507
- "type": "address[]"
1508
- }
1509
- ],
1510
- "internalType": "struct IPActionMintRedeem.RouterYtRedeemStruct",
1511
- "name": "dataYT",
1512
- "type": "tuple"
1513
- },
1514
- {
1515
- "internalType": "address[]",
1516
- "name": "markets",
1517
- "type": "address[]"
1518
- },
1519
- {
1520
- "components": [
1521
- {
1522
- "internalType": "address[]",
1523
- "name": "tokens",
1524
- "type": "address[]"
1525
- },
1526
- {
1527
- "internalType": "bytes[]",
1528
- "name": "kybercalls",
1529
- "type": "bytes[]"
1530
- },
1531
- {
1532
- "internalType": "address",
1533
- "name": "outputToken",
1534
- "type": "address"
1535
- }
1536
- ],
1537
- "internalType": "struct IPActionMintRedeem.RouterSwapAllStruct",
1538
- "name": "dataSwap",
1539
- "type": "tuple"
1540
- }
1541
- ],
1542
- "name": "redeemDueInterestAndRewardsThenSwapAll",
1543
- "outputs": [
1544
- {
1545
- "internalType": "uint256",
1546
- "name": "netTokenOut",
1547
- "type": "uint256"
1548
- },
1549
- {
1550
- "internalType": "uint256[]",
1551
- "name": "amountsSwapped",
1552
- "type": "uint256[]"
1553
- }
1554
- ],
1555
- "stateMutability": "nonpayable",
1556
- "type": "function"
1557
- },
1558
- {
1559
- "inputs": [
1560
- {
1561
- "internalType": "address",
1562
- "name": "receiver",
1563
- "type": "address"
1564
- },
1565
- {
1566
- "internalType": "address",
1567
- "name": "YT",
1568
- "type": "address"
1569
- },
1570
- {
1571
- "internalType": "uint256",
1572
- "name": "netPyIn",
1573
- "type": "uint256"
1574
- },
1575
- {
1576
- "internalType": "uint256",
1577
- "name": "minScyOut",
1578
- "type": "uint256"
1579
- }
1580
- ],
1581
- "name": "redeemPyToScy",
1582
- "outputs": [
1583
- {
1584
- "internalType": "uint256",
1585
- "name": "netScyOut",
1586
- "type": "uint256"
1587
- }
1588
- ],
1589
- "stateMutability": "nonpayable",
1590
- "type": "function"
1591
- },
1592
- {
1593
- "inputs": [
1594
- {
1595
- "internalType": "address",
1596
- "name": "receiver",
1597
- "type": "address"
1598
- },
1599
- {
1600
- "internalType": "address",
1601
- "name": "YT",
1602
- "type": "address"
1603
- },
1604
- {
1605
- "internalType": "uint256",
1606
- "name": "netPyIn",
1607
- "type": "uint256"
1608
- },
1609
- {
1610
- "components": [
1611
- {
1612
- "internalType": "address",
1613
- "name": "tokenOut",
1614
- "type": "address"
1615
- },
1616
- {
1617
- "internalType": "uint256",
1618
- "name": "minTokenOut",
1619
- "type": "uint256"
1620
- },
1621
- {
1622
- "internalType": "address",
1623
- "name": "tokenRedeemScy",
1624
- "type": "address"
1625
- },
1626
- {
1627
- "internalType": "bytes",
1628
- "name": "kybercall",
1629
- "type": "bytes"
1630
- }
1631
- ],
1632
- "internalType": "struct TokenOutput",
1633
- "name": "output",
1634
- "type": "tuple"
1635
- }
1636
- ],
1637
- "name": "redeemPyToToken",
1638
- "outputs": [
1639
- {
1640
- "internalType": "uint256",
1641
- "name": "netTokenOut",
1642
- "type": "uint256"
1643
- }
1644
- ],
1645
- "stateMutability": "nonpayable",
1646
- "type": "function"
1647
- },
1648
- {
1649
- "inputs": [
1650
- {
1651
- "internalType": "address",
1652
- "name": "receiver",
1653
- "type": "address"
1654
- },
1655
- {
1656
- "internalType": "address",
1657
- "name": "SCY",
1658
- "type": "address"
1659
- },
1660
- {
1661
- "internalType": "uint256",
1662
- "name": "netScyIn",
1663
- "type": "uint256"
1664
- },
1665
- {
1666
- "components": [
1667
- {
1668
- "internalType": "address",
1669
- "name": "tokenOut",
1670
- "type": "address"
1671
- },
1672
- {
1673
- "internalType": "uint256",
1674
- "name": "minTokenOut",
1675
- "type": "uint256"
1676
- },
1677
- {
1678
- "internalType": "address",
1679
- "name": "tokenRedeemScy",
1680
- "type": "address"
1681
- },
1682
- {
1683
- "internalType": "bytes",
1684
- "name": "kybercall",
1685
- "type": "bytes"
1686
- }
1687
- ],
1688
- "internalType": "struct TokenOutput",
1689
- "name": "output",
1690
- "type": "tuple"
1691
- }
1692
- ],
1693
- "name": "redeemScyToToken",
1694
- "outputs": [
1695
- {
1696
- "internalType": "uint256",
1697
- "name": "netTokenOut",
1698
- "type": "uint256"
1699
- }
1700
- ],
1701
- "stateMutability": "nonpayable",
1702
- "type": "function"
1703
- },
1704
- {
1705
- "inputs": [
1706
- {
1707
- "internalType": "address",
1708
- "name": "receiver",
1709
- "type": "address"
1710
- },
1711
- {
1712
- "internalType": "address",
1713
- "name": "market",
1714
- "type": "address"
1715
- },
1716
- {
1717
- "internalType": "uint256",
1718
- "name": "netLpToRemove",
1719
- "type": "uint256"
1720
- },
1721
- {
1722
- "internalType": "uint256",
1723
- "name": "minScyOut",
1724
- "type": "uint256"
1725
- },
1726
- {
1727
- "internalType": "uint256",
1728
- "name": "minPtOut",
1729
- "type": "uint256"
1730
- }
1731
- ],
1732
- "name": "removeLiquidityDualScyAndPt",
1733
- "outputs": [
1734
- {
1735
- "internalType": "uint256",
1736
- "name": "netScyOut",
1737
- "type": "uint256"
1738
- },
1739
- {
1740
- "internalType": "uint256",
1741
- "name": "netPtOut",
1742
- "type": "uint256"
1743
- }
1744
- ],
1745
- "stateMutability": "nonpayable",
1746
- "type": "function"
1747
- },
1748
- {
1749
- "inputs": [
1750
- {
1751
- "internalType": "address",
1752
- "name": "receiver",
1753
- "type": "address"
1754
- },
1755
- {
1756
- "internalType": "address",
1757
- "name": "market",
1758
- "type": "address"
1759
- },
1760
- {
1761
- "internalType": "uint256",
1762
- "name": "netLpToRemove",
1763
- "type": "uint256"
1764
- },
1765
- {
1766
- "internalType": "address",
1767
- "name": "tokenOut",
1768
- "type": "address"
1769
- },
1770
- {
1771
- "internalType": "uint256",
1772
- "name": "minTokenOut",
1773
- "type": "uint256"
1774
- },
1775
- {
1776
- "internalType": "uint256",
1777
- "name": "minPtOut",
1778
- "type": "uint256"
1779
- }
1780
- ],
1781
- "name": "removeLiquidityDualTokenAndPt",
1782
- "outputs": [
1783
- {
1784
- "internalType": "uint256",
1785
- "name": "netTokenOut",
1786
- "type": "uint256"
1787
- },
1788
- {
1789
- "internalType": "uint256",
1790
- "name": "netPtOut",
1791
- "type": "uint256"
1792
- }
1793
- ],
1794
- "stateMutability": "nonpayable",
1795
- "type": "function"
1796
- },
1797
- {
1798
- "inputs": [
1799
- {
1800
- "internalType": "address",
1801
- "name": "receiver",
1802
- "type": "address"
1803
- },
1804
- {
1805
- "internalType": "address",
1806
- "name": "market",
1807
- "type": "address"
1808
- },
1809
- {
1810
- "internalType": "uint256",
1811
- "name": "netLpToRemove",
1812
- "type": "uint256"
1813
- },
1814
- {
1815
- "internalType": "uint256",
1816
- "name": "minPtOut",
1817
- "type": "uint256"
1818
- },
1819
- {
1820
- "components": [
1821
- {
1822
- "internalType": "uint256",
1823
- "name": "guessMin",
1824
- "type": "uint256"
1825
- },
1826
- {
1827
- "internalType": "uint256",
1828
- "name": "guessMax",
1829
- "type": "uint256"
1830
- },
1831
- {
1832
- "internalType": "uint256",
1833
- "name": "guessOffchain",
1834
- "type": "uint256"
1835
- },
1836
- {
1837
- "internalType": "uint256",
1838
- "name": "maxIteration",
1839
- "type": "uint256"
1840
- },
1841
- {
1842
- "internalType": "uint256",
1843
- "name": "eps",
1844
- "type": "uint256"
1845
- }
1846
- ],
1847
- "internalType": "struct ApproxParams",
1848
- "name": "guessPtOut",
1849
- "type": "tuple"
1850
- }
1851
- ],
1852
- "name": "removeLiquiditySinglePt",
1853
- "outputs": [
1854
- {
1855
- "internalType": "uint256",
1856
- "name": "netPtOut",
1857
- "type": "uint256"
1858
- },
1859
- {
1860
- "internalType": "uint256",
1861
- "name": "netScyFee",
1862
- "type": "uint256"
1863
- }
1864
- ],
1865
- "stateMutability": "nonpayable",
1866
- "type": "function"
1867
- },
1868
- {
1869
- "inputs": [
1870
- {
1871
- "internalType": "address",
1872
- "name": "receiver",
1873
- "type": "address"
1874
- },
1875
- {
1876
- "internalType": "address",
1877
- "name": "market",
1878
- "type": "address"
1879
- },
1880
- {
1881
- "internalType": "uint256",
1882
- "name": "netLpToRemove",
1883
- "type": "uint256"
1884
- },
1885
- {
1886
- "internalType": "uint256",
1887
- "name": "minScyOut",
1888
- "type": "uint256"
1889
- }
1890
- ],
1891
- "name": "removeLiquiditySingleScy",
1892
- "outputs": [
1893
- {
1894
- "internalType": "uint256",
1895
- "name": "netScyOut",
1896
- "type": "uint256"
1897
- },
1898
- {
1899
- "internalType": "uint256",
1900
- "name": "netScyFee",
1901
- "type": "uint256"
1902
- }
1903
- ],
1904
- "stateMutability": "nonpayable",
1905
- "type": "function"
1906
- },
1907
- {
1908
- "inputs": [
1909
- {
1910
- "internalType": "address",
1911
- "name": "receiver",
1912
- "type": "address"
1913
- },
1914
- {
1915
- "internalType": "address",
1916
- "name": "market",
1917
- "type": "address"
1918
- },
1919
- {
1920
- "internalType": "uint256",
1921
- "name": "netLpToRemove",
1922
- "type": "uint256"
1923
- },
1924
- {
1925
- "components": [
1926
- {
1927
- "internalType": "address",
1928
- "name": "tokenOut",
1929
- "type": "address"
1930
- },
1931
- {
1932
- "internalType": "uint256",
1933
- "name": "minTokenOut",
1934
- "type": "uint256"
1935
- },
1936
- {
1937
- "internalType": "address",
1938
- "name": "tokenRedeemScy",
1939
- "type": "address"
1940
- },
1941
- {
1942
- "internalType": "bytes",
1943
- "name": "kybercall",
1944
- "type": "bytes"
1945
- }
1946
- ],
1947
- "internalType": "struct TokenOutput",
1948
- "name": "output",
1949
- "type": "tuple"
1950
- }
1951
- ],
1952
- "name": "removeLiquiditySingleToken",
1953
- "outputs": [
1954
- {
1955
- "internalType": "uint256",
1956
- "name": "netTokenOut",
1957
- "type": "uint256"
1958
- },
1959
- {
1960
- "internalType": "uint256",
1961
- "name": "netScyFee",
1962
- "type": "uint256"
1963
- }
1964
- ],
1965
- "stateMutability": "nonpayable",
1966
- "type": "function"
1967
- },
1968
- {
1969
- "inputs": [
1970
- {
1971
- "internalType": "address",
1972
- "name": "receiver",
1973
- "type": "address"
1974
- },
1975
- {
1976
- "internalType": "address",
1977
- "name": "market",
1978
- "type": "address"
1979
- },
1980
- {
1981
- "internalType": "uint256",
1982
- "name": "exactPtIn",
1983
- "type": "uint256"
1984
- },
1985
- {
1986
- "internalType": "uint256",
1987
- "name": "minScyOut",
1988
- "type": "uint256"
1989
- }
1990
- ],
1991
- "name": "swapExactPtForScy",
1992
- "outputs": [
1993
- {
1994
- "internalType": "uint256",
1995
- "name": "netScyOut",
1996
- "type": "uint256"
1997
- },
1998
- {
1999
- "internalType": "uint256",
2000
- "name": "netScyFee",
2001
- "type": "uint256"
2002
- }
2003
- ],
2004
- "stateMutability": "nonpayable",
2005
- "type": "function"
2006
- },
2007
- {
2008
- "inputs": [
2009
- {
2010
- "internalType": "address",
2011
- "name": "receiver",
2012
- "type": "address"
2013
- },
2014
- {
2015
- "internalType": "address",
2016
- "name": "market",
2017
- "type": "address"
2018
- },
2019
- {
2020
- "internalType": "uint256",
2021
- "name": "exactPtIn",
2022
- "type": "uint256"
2023
- },
2024
- {
2025
- "components": [
2026
- {
2027
- "internalType": "address",
2028
- "name": "tokenOut",
2029
- "type": "address"
2030
- },
2031
- {
2032
- "internalType": "uint256",
2033
- "name": "minTokenOut",
2034
- "type": "uint256"
2035
- },
2036
- {
2037
- "internalType": "address",
2038
- "name": "tokenRedeemScy",
2039
- "type": "address"
2040
- },
2041
- {
2042
- "internalType": "bytes",
2043
- "name": "kybercall",
2044
- "type": "bytes"
2045
- }
2046
- ],
2047
- "internalType": "struct TokenOutput",
2048
- "name": "output",
2049
- "type": "tuple"
2050
- }
2051
- ],
2052
- "name": "swapExactPtForToken",
2053
- "outputs": [
2054
- {
2055
- "internalType": "uint256",
2056
- "name": "netTokenOut",
2057
- "type": "uint256"
2058
- },
2059
- {
2060
- "internalType": "uint256",
2061
- "name": "netScyFee",
2062
- "type": "uint256"
2063
- }
2064
- ],
2065
- "stateMutability": "nonpayable",
2066
- "type": "function"
2067
- },
2068
- {
2069
- "inputs": [
2070
- {
2071
- "internalType": "address",
2072
- "name": "receiver",
2073
- "type": "address"
2074
- },
2075
- {
2076
- "internalType": "address",
2077
- "name": "market",
2078
- "type": "address"
2079
- },
2080
- {
2081
- "internalType": "uint256",
2082
- "name": "exactScyIn",
2083
- "type": "uint256"
2084
- },
2085
- {
2086
- "internalType": "uint256",
2087
- "name": "minPtOut",
2088
- "type": "uint256"
2089
- },
2090
- {
2091
- "components": [
2092
- {
2093
- "internalType": "uint256",
2094
- "name": "guessMin",
2095
- "type": "uint256"
2096
- },
2097
- {
2098
- "internalType": "uint256",
2099
- "name": "guessMax",
2100
- "type": "uint256"
2101
- },
2102
- {
2103
- "internalType": "uint256",
2104
- "name": "guessOffchain",
2105
- "type": "uint256"
2106
- },
2107
- {
2108
- "internalType": "uint256",
2109
- "name": "maxIteration",
2110
- "type": "uint256"
2111
- },
2112
- {
2113
- "internalType": "uint256",
2114
- "name": "eps",
2115
- "type": "uint256"
2116
- }
2117
- ],
2118
- "internalType": "struct ApproxParams",
2119
- "name": "guessPtOut",
2120
- "type": "tuple"
2121
- }
2122
- ],
2123
- "name": "swapExactScyForPt",
2124
- "outputs": [
2125
- {
2126
- "internalType": "uint256",
2127
- "name": "netPtOut",
2128
- "type": "uint256"
2129
- },
2130
- {
2131
- "internalType": "uint256",
2132
- "name": "netScyFee",
2133
- "type": "uint256"
2134
- }
2135
- ],
2136
- "stateMutability": "nonpayable",
2137
- "type": "function"
2138
- },
2139
- {
2140
- "inputs": [
2141
- {
2142
- "internalType": "address",
2143
- "name": "receiver",
2144
- "type": "address"
2145
- },
2146
- {
2147
- "internalType": "address",
2148
- "name": "market",
2149
- "type": "address"
2150
- },
2151
- {
2152
- "internalType": "uint256",
2153
- "name": "exactScyIn",
2154
- "type": "uint256"
2155
- },
2156
- {
2157
- "internalType": "uint256",
2158
- "name": "minYtOut",
2159
- "type": "uint256"
2160
- },
2161
- {
2162
- "components": [
2163
- {
2164
- "internalType": "uint256",
2165
- "name": "guessMin",
2166
- "type": "uint256"
2167
- },
2168
- {
2169
- "internalType": "uint256",
2170
- "name": "guessMax",
2171
- "type": "uint256"
2172
- },
2173
- {
2174
- "internalType": "uint256",
2175
- "name": "guessOffchain",
2176
- "type": "uint256"
2177
- },
2178
- {
2179
- "internalType": "uint256",
2180
- "name": "maxIteration",
2181
- "type": "uint256"
2182
- },
2183
- {
2184
- "internalType": "uint256",
2185
- "name": "eps",
2186
- "type": "uint256"
2187
- }
2188
- ],
2189
- "internalType": "struct ApproxParams",
2190
- "name": "guessYtOut",
2191
- "type": "tuple"
2192
- }
2193
- ],
2194
- "name": "swapExactScyForYt",
2195
- "outputs": [
2196
- {
2197
- "internalType": "uint256",
2198
- "name": "netYtOut",
2199
- "type": "uint256"
2200
- },
2201
- {
2202
- "internalType": "uint256",
2203
- "name": "netScyFee",
2204
- "type": "uint256"
2205
- }
2206
- ],
2207
- "stateMutability": "nonpayable",
2208
- "type": "function"
2209
- },
2210
- {
2211
- "inputs": [
2212
- {
2213
- "internalType": "address",
2214
- "name": "receiver",
2215
- "type": "address"
2216
- },
2217
- {
2218
- "internalType": "address",
2219
- "name": "market",
2220
- "type": "address"
2221
- },
2222
- {
2223
- "internalType": "uint256",
2224
- "name": "minPtOut",
2225
- "type": "uint256"
2226
- },
2227
- {
2228
- "components": [
2229
- {
2230
- "internalType": "uint256",
2231
- "name": "guessMin",
2232
- "type": "uint256"
2233
- },
2234
- {
2235
- "internalType": "uint256",
2236
- "name": "guessMax",
2237
- "type": "uint256"
2238
- },
2239
- {
2240
- "internalType": "uint256",
2241
- "name": "guessOffchain",
2242
- "type": "uint256"
2243
- },
2244
- {
2245
- "internalType": "uint256",
2246
- "name": "maxIteration",
2247
- "type": "uint256"
2248
- },
2249
- {
2250
- "internalType": "uint256",
2251
- "name": "eps",
2252
- "type": "uint256"
2253
- }
2254
- ],
2255
- "internalType": "struct ApproxParams",
2256
- "name": "guessPtOut",
2257
- "type": "tuple"
2258
- },
2259
- {
2260
- "components": [
2261
- {
2262
- "internalType": "address",
2263
- "name": "tokenIn",
2264
- "type": "address"
2265
- },
2266
- {
2267
- "internalType": "uint256",
2268
- "name": "netTokenIn",
2269
- "type": "uint256"
2270
- },
2271
- {
2272
- "internalType": "address",
2273
- "name": "tokenMintScy",
2274
- "type": "address"
2275
- },
2276
- {
2277
- "internalType": "bytes",
2278
- "name": "kybercall",
2279
- "type": "bytes"
2280
- }
2281
- ],
2282
- "internalType": "struct TokenInput",
2283
- "name": "input",
2284
- "type": "tuple"
2285
- }
2286
- ],
2287
- "name": "swapExactTokenForPt",
2288
- "outputs": [
2289
- {
2290
- "internalType": "uint256",
2291
- "name": "netPtOut",
2292
- "type": "uint256"
2293
- },
2294
- {
2295
- "internalType": "uint256",
2296
- "name": "netScyFee",
2297
- "type": "uint256"
2298
- }
2299
- ],
2300
- "stateMutability": "payable",
2301
- "type": "function"
2302
- },
2303
- {
2304
- "inputs": [
2305
- {
2306
- "internalType": "address",
2307
- "name": "receiver",
2308
- "type": "address"
2309
- },
2310
- {
2311
- "internalType": "address",
2312
- "name": "market",
2313
- "type": "address"
2314
- },
2315
- {
2316
- "internalType": "uint256",
2317
- "name": "minYtOut",
2318
- "type": "uint256"
2319
- },
2320
- {
2321
- "components": [
2322
- {
2323
- "internalType": "uint256",
2324
- "name": "guessMin",
2325
- "type": "uint256"
2326
- },
2327
- {
2328
- "internalType": "uint256",
2329
- "name": "guessMax",
2330
- "type": "uint256"
2331
- },
2332
- {
2333
- "internalType": "uint256",
2334
- "name": "guessOffchain",
2335
- "type": "uint256"
2336
- },
2337
- {
2338
- "internalType": "uint256",
2339
- "name": "maxIteration",
2340
- "type": "uint256"
2341
- },
2342
- {
2343
- "internalType": "uint256",
2344
- "name": "eps",
2345
- "type": "uint256"
2346
- }
2347
- ],
2348
- "internalType": "struct ApproxParams",
2349
- "name": "guessYtOut",
2350
- "type": "tuple"
2351
- },
2352
- {
2353
- "components": [
2354
- {
2355
- "internalType": "address",
2356
- "name": "tokenIn",
2357
- "type": "address"
2358
- },
2359
- {
2360
- "internalType": "uint256",
2361
- "name": "netTokenIn",
2362
- "type": "uint256"
2363
- },
2364
- {
2365
- "internalType": "address",
2366
- "name": "tokenMintScy",
2367
- "type": "address"
2368
- },
2369
- {
2370
- "internalType": "bytes",
2371
- "name": "kybercall",
2372
- "type": "bytes"
2373
- }
2374
- ],
2375
- "internalType": "struct TokenInput",
2376
- "name": "input",
2377
- "type": "tuple"
2378
- }
2379
- ],
2380
- "name": "swapExactTokenForYt",
2381
- "outputs": [
2382
- {
2383
- "internalType": "uint256",
2384
- "name": "netYtOut",
2385
- "type": "uint256"
2386
- },
2387
- {
2388
- "internalType": "uint256",
2389
- "name": "netScyFee",
2390
- "type": "uint256"
2391
- }
2392
- ],
2393
- "stateMutability": "payable",
2394
- "type": "function"
2395
- },
2396
- {
2397
- "inputs": [
2398
- {
2399
- "internalType": "address",
2400
- "name": "receiver",
2401
- "type": "address"
2402
- },
2403
- {
2404
- "internalType": "address",
2405
- "name": "market",
2406
- "type": "address"
2407
- },
2408
- {
2409
- "internalType": "uint256",
2410
- "name": "exactYtIn",
2411
- "type": "uint256"
2412
- },
2413
- {
2414
- "internalType": "uint256",
2415
- "name": "minScyOut",
2416
- "type": "uint256"
2417
- }
2418
- ],
2419
- "name": "swapExactYtForScy",
2420
- "outputs": [
2421
- {
2422
- "internalType": "uint256",
2423
- "name": "netScyOut",
2424
- "type": "uint256"
2425
- },
2426
- {
2427
- "internalType": "uint256",
2428
- "name": "netScyFee",
2429
- "type": "uint256"
2430
- }
2431
- ],
2432
- "stateMutability": "nonpayable",
2433
- "type": "function"
2434
- },
2435
- {
2436
- "inputs": [
2437
- {
2438
- "internalType": "address",
2439
- "name": "receiver",
2440
- "type": "address"
2441
- },
2442
- {
2443
- "internalType": "address",
2444
- "name": "market",
2445
- "type": "address"
2446
- },
2447
- {
2448
- "internalType": "uint256",
2449
- "name": "netYtIn",
2450
- "type": "uint256"
2451
- },
2452
- {
2453
- "components": [
2454
- {
2455
- "internalType": "address",
2456
- "name": "tokenOut",
2457
- "type": "address"
2458
- },
2459
- {
2460
- "internalType": "uint256",
2461
- "name": "minTokenOut",
2462
- "type": "uint256"
2463
- },
2464
- {
2465
- "internalType": "address",
2466
- "name": "tokenRedeemScy",
2467
- "type": "address"
2468
- },
2469
- {
2470
- "internalType": "bytes",
2471
- "name": "kybercall",
2472
- "type": "bytes"
2473
- }
2474
- ],
2475
- "internalType": "struct TokenOutput",
2476
- "name": "output",
2477
- "type": "tuple"
2478
- }
2479
- ],
2480
- "name": "swapExactYtForToken",
2481
- "outputs": [
2482
- {
2483
- "internalType": "uint256",
2484
- "name": "netTokenOut",
2485
- "type": "uint256"
2486
- },
2487
- {
2488
- "internalType": "uint256",
2489
- "name": "netScyFee",
2490
- "type": "uint256"
2491
- }
2492
- ],
2493
- "stateMutability": "nonpayable",
2494
- "type": "function"
2495
- },
2496
- {
2497
- "inputs": [
2498
- {
2499
- "internalType": "address",
2500
- "name": "receiver",
2501
- "type": "address"
2502
- },
2503
- {
2504
- "internalType": "address",
2505
- "name": "market",
2506
- "type": "address"
2507
- },
2508
- {
2509
- "internalType": "uint256",
2510
- "name": "exactScyOut",
2511
- "type": "uint256"
2512
- },
2513
- {
2514
- "internalType": "uint256",
2515
- "name": "maxPtIn",
2516
- "type": "uint256"
2517
- },
2518
- {
2519
- "components": [
2520
- {
2521
- "internalType": "uint256",
2522
- "name": "guessMin",
2523
- "type": "uint256"
2524
- },
2525
- {
2526
- "internalType": "uint256",
2527
- "name": "guessMax",
2528
- "type": "uint256"
2529
- },
2530
- {
2531
- "internalType": "uint256",
2532
- "name": "guessOffchain",
2533
- "type": "uint256"
2534
- },
2535
- {
2536
- "internalType": "uint256",
2537
- "name": "maxIteration",
2538
- "type": "uint256"
2539
- },
2540
- {
2541
- "internalType": "uint256",
2542
- "name": "eps",
2543
- "type": "uint256"
2544
- }
2545
- ],
2546
- "internalType": "struct ApproxParams",
2547
- "name": "guessPtIn",
2548
- "type": "tuple"
2549
- }
2550
- ],
2551
- "name": "swapPtForExactScy",
2552
- "outputs": [
2553
- {
2554
- "internalType": "uint256",
2555
- "name": "netPtIn",
2556
- "type": "uint256"
2557
- },
2558
- {
2559
- "internalType": "uint256",
2560
- "name": "netScyFee",
2561
- "type": "uint256"
2562
- }
2563
- ],
2564
- "stateMutability": "nonpayable",
2565
- "type": "function"
2566
- },
2567
- {
2568
- "inputs": [
2569
- {
2570
- "internalType": "address",
2571
- "name": "receiver",
2572
- "type": "address"
2573
- },
2574
- {
2575
- "internalType": "address",
2576
- "name": "market",
2577
- "type": "address"
2578
- },
2579
- {
2580
- "internalType": "uint256",
2581
- "name": "exactPtOut",
2582
- "type": "uint256"
2583
- },
2584
- {
2585
- "internalType": "uint256",
2586
- "name": "maxScyIn",
2587
- "type": "uint256"
2588
- }
2589
- ],
2590
- "name": "swapScyForExactPt",
2591
- "outputs": [
2592
- {
2593
- "internalType": "uint256",
2594
- "name": "netScyIn",
2595
- "type": "uint256"
2596
- },
2597
- {
2598
- "internalType": "uint256",
2599
- "name": "netScyFee",
2600
- "type": "uint256"
2601
- }
2602
- ],
2603
- "stateMutability": "nonpayable",
2604
- "type": "function"
2605
- },
2606
- {
2607
- "inputs": [
2608
- {
2609
- "internalType": "address",
2610
- "name": "receiver",
2611
- "type": "address"
2612
- },
2613
- {
2614
- "internalType": "address",
2615
- "name": "market",
2616
- "type": "address"
2617
- },
2618
- {
2619
- "internalType": "uint256",
2620
- "name": "exactYtOut",
2621
- "type": "uint256"
2622
- },
2623
- {
2624
- "internalType": "uint256",
2625
- "name": "maxScyIn",
2626
- "type": "uint256"
2627
- }
2628
- ],
2629
- "name": "swapScyForExactYt",
2630
- "outputs": [
2631
- {
2632
- "internalType": "uint256",
2633
- "name": "netScyIn",
2634
- "type": "uint256"
2635
- },
2636
- {
2637
- "internalType": "uint256",
2638
- "name": "netScyFee",
2639
- "type": "uint256"
2640
- }
2641
- ],
2642
- "stateMutability": "nonpayable",
2643
- "type": "function"
2644
- },
2645
- {
2646
- "inputs": [
2647
- {
2648
- "internalType": "address",
2649
- "name": "receiver",
2650
- "type": "address"
2651
- },
2652
- {
2653
- "internalType": "address",
2654
- "name": "market",
2655
- "type": "address"
2656
- },
2657
- {
2658
- "internalType": "uint256",
2659
- "name": "exactScyOut",
2660
- "type": "uint256"
2661
- },
2662
- {
2663
- "internalType": "uint256",
2664
- "name": "maxYtIn",
2665
- "type": "uint256"
2666
- },
2667
- {
2668
- "components": [
2669
- {
2670
- "internalType": "uint256",
2671
- "name": "guessMin",
2672
- "type": "uint256"
2673
- },
2674
- {
2675
- "internalType": "uint256",
2676
- "name": "guessMax",
2677
- "type": "uint256"
2678
- },
2679
- {
2680
- "internalType": "uint256",
2681
- "name": "guessOffchain",
2682
- "type": "uint256"
2683
- },
2684
- {
2685
- "internalType": "uint256",
2686
- "name": "maxIteration",
2687
- "type": "uint256"
2688
- },
2689
- {
2690
- "internalType": "uint256",
2691
- "name": "eps",
2692
- "type": "uint256"
2693
- }
2694
- ],
2695
- "internalType": "struct ApproxParams",
2696
- "name": "guessYtIn",
2697
- "type": "tuple"
2698
- }
2699
- ],
2700
- "name": "swapYtForExactScy",
2701
- "outputs": [
2702
- {
2703
- "internalType": "uint256",
2704
- "name": "netYtIn",
2705
- "type": "uint256"
2706
- },
2707
- {
2708
- "internalType": "uint256",
2709
- "name": "netScyFee",
2710
- "type": "uint256"
2711
- }
2712
- ],
2713
- "stateMutability": "nonpayable",
2714
- "type": "function"
2715
- }
2716
- ],
2717
- "bytecode": "0x",
2718
- "deployedBytecode": "0x",
2719
- "linkReferences": {},
2720
- "deployedLinkReferences": {}
2721
- }