@pendle/core-v2 0.16.2-testnet → 0.16.3-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 (319) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +15 -2
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +15 -2
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.json +13 -0
  8. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +15 -2
  11. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +15 -2
  13. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +13 -0
  15. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +15 -2
  17. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +15 -2
  19. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +15 -2
  21. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  22. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  23. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +15 -2
  24. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  25. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +15 -2
  26. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  27. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  28. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  29. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  30. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  31. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  32. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  33. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +4 -0
  35. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +695 -0
  36. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +4 -0
  37. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +531 -0
  38. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +4 -0
  39. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +10 -0
  40. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  42. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
  44. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
  47. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +15 -2
  49. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
  53. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  54. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  55. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  56. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
  57. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  58. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
  59. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  60. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +4 -0
  61. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.json +89 -0
  62. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -2
  64. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  65. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  66. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +15 -2
  67. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  68. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +15 -2
  69. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  70. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  71. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  72. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.json +2 -2
  73. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  74. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.json +2 -2
  75. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  76. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.json +2 -2
  77. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  78. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.json +2 -2
  79. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
  80. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.json +13 -0
  81. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  82. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.json +2 -2
  83. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  84. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +208 -2
  85. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.json +30 -83
  89. package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +91 -17
  93. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +50 -0
  95. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.json +20 -0
  97. package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +20 -0
  100. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +181 -17
  102. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +4 -0
  103. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.json +173 -0
  104. package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +4 -0
  105. package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.json +86 -0
  106. package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.dbg.json +4 -0
  107. package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.json +34 -0
  108. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.json +45 -0
  120. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IWAvax.sol/IWAvax.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  123. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  124. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.json +15 -2
  125. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +4 -0
  126. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +67 -0
  127. package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.dbg.json +1 -1
  128. package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.json +2 -2
  129. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
  130. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +2 -36
  131. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
  132. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +237 -61
  133. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  134. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +120 -41
  135. package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +1 -1
  136. package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.json +2 -2
  137. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  138. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +79 -24
  139. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
  140. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +2 -2
  141. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  142. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +49 -24
  143. package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
  144. package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +2 -2
  145. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  146. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +49 -24
  147. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  148. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +15 -2
  149. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  150. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.json +14 -1
  151. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  152. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  153. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  154. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  155. package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +1 -1
  156. package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +191 -2
  157. package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.dbg.json +4 -0
  158. package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.json +35 -0
  159. package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
  160. package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.json +1 -1
  161. package/contracts/core/BulkSeller/BulkSeller.sol +250 -0
  162. package/contracts/core/BulkSeller/BulkSellerFactory.sol +89 -0
  163. package/contracts/core/BulkSeller/BulkSellerMathCore.sol +143 -0
  164. package/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/PendleConvexLPSY.sol +2 -4
  165. package/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol +107 -0
  166. package/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol +19 -4
  167. package/contracts/core/libraries/Errors.sol +17 -0
  168. package/contracts/interfaces/Curve/ICrvPool.sol +9 -27
  169. package/contracts/interfaces/IPActionAddRemoveLiq.sol +3 -5
  170. package/contracts/interfaces/IPActionMintRedeem.sol +2 -0
  171. package/contracts/interfaces/IPBulkSeller.sol +28 -0
  172. package/contracts/interfaces/IPBulkSellerFactory.sol +12 -0
  173. package/contracts/interfaces/IPBulkSellerSYCallback.sol +10 -0
  174. package/contracts/interfaces/IStETH.sol +6 -0
  175. package/contracts/offchain-helpers/BulkSellerOffchain.sol +43 -0
  176. package/contracts/offchain-helpers/MarketMathStatic.sol +0 -144
  177. package/contracts/offchain-helpers/RouterStatic.sol +167 -51
  178. package/contracts/router/ActionAddRemoveLiq.sol +60 -44
  179. package/contracts/router/ActionMintRedeem.sol +19 -15
  180. package/contracts/router/ActionSwapPT.sol +3 -3
  181. package/contracts/router/ActionSwapYT.sol +11 -4
  182. package/contracts/router/base/ActionBaseMintRedeem.sol +73 -74
  183. package/contracts/router/kyberswap/AggregationRouterHelper.sol +17 -1
  184. package/contracts/router/kyberswap/IAggregatorRouterHelper.sol +10 -0
  185. package/contracts/router/kyberswap/KyberSwapHelper.sol +17 -8
  186. package/deployments/43113-core.json +3 -2
  187. package/deployments/43113-markets/benqi-market-QI-AVAX-FEB-2ND.json +9 -0
  188. package/deployments/80001-core.json +3 -2
  189. package/package.json +3 -2
  190. package/typechain-types/AccessControl.ts +360 -0
  191. package/typechain-types/ActionAddRemoveLiq.ts +83 -52
  192. package/typechain-types/ActionBaseMintRedeem.ts +27 -8
  193. package/typechain-types/ActionMintRedeem.ts +68 -17
  194. package/typechain-types/ActionSwapPT.ts +53 -12
  195. package/typechain-types/ActionSwapYT.ts +53 -12
  196. package/typechain-types/AggregationRouterHelper.ts +287 -3
  197. package/typechain-types/BaseSplitCodeFactoryContract.ts +9 -0
  198. package/typechain-types/BeaconProxy.ts +97 -0
  199. package/typechain-types/BoringOwnableUpgradeable.ts +9 -0
  200. package/typechain-types/BulkSeller.ts +776 -0
  201. package/typechain-types/BulkSellerFactory.ts +707 -0
  202. package/typechain-types/BulkSellerOffchain.ts +117 -0
  203. package/typechain-types/Curve3CrvPoolHelper.ts +236 -0
  204. package/typechain-types/CurveFraxUsdcPoolHelper.ts +158 -0
  205. package/typechain-types/CurveUsdd3CrvPoolHelper.ts +184 -0
  206. package/typechain-types/ERC165.ts +102 -0
  207. package/typechain-types/IAccessControl.ts +305 -0
  208. package/typechain-types/IAggregationRouterHelper.ts +108 -0
  209. package/typechain-types/ICrvPool.ts +66 -164
  210. package/typechain-types/IERC165.ts +102 -0
  211. package/typechain-types/IPActionAddRemoveLiq.ts +56 -44
  212. package/typechain-types/IPActionMintRedeem.ts +41 -9
  213. package/typechain-types/IPActionSwapPT.ts +26 -4
  214. package/typechain-types/IPActionSwapYT.ts +26 -4
  215. package/typechain-types/IPAllAction.ts +77 -55
  216. package/typechain-types/IPBulkSeller.ts +290 -0
  217. package/typechain-types/IPBulkSellerCallback.ts +115 -0
  218. package/typechain-types/IPBulkSellerFactory.ts +147 -0
  219. package/typechain-types/IStETH.ts +56 -0
  220. package/typechain-types/ITriCrvPool.ts +345 -0
  221. package/typechain-types/Initializable.ts +68 -0
  222. package/typechain-types/KyberSwapHelper.ts +8 -8
  223. package/typechain-types/MarketMathStatic.ts +0 -50
  224. package/typechain-types/PendleCurveFraxUsdcSY.ts +1228 -0
  225. package/typechain-types/PendleCurveUsdd3CrvSY.ts +1299 -0
  226. package/typechain-types/PendleFeeDistributor.ts +9 -0
  227. package/typechain-types/PendleFeeDistributorFactory.ts +9 -0
  228. package/typechain-types/PendleGaugeControllerBaseUpg.ts +9 -0
  229. package/typechain-types/PendleGaugeControllerMainchainUpg.ts +9 -0
  230. package/typechain-types/PendleGaugeControllerSidechainUpg.ts +9 -0
  231. package/typechain-types/PendleMarketFactory.ts +9 -0
  232. package/typechain-types/PendleMsgReceiveEndpointUpg.ts +9 -0
  233. package/typechain-types/PendleMsgSendEndpointUpg.ts +9 -0
  234. package/typechain-types/PendleMsgSenderAppUpg.ts +9 -0
  235. package/typechain-types/PendlePrincipalToken.ts +9 -0
  236. package/typechain-types/PendleRouter.ts +9 -0
  237. package/typechain-types/PendleVotingControllerUpg.ts +9 -0
  238. package/typechain-types/PendleYieldContractFactory.ts +9 -0
  239. package/typechain-types/ReentrancyGuardUpgradeable.ts +68 -0
  240. package/typechain-types/RouterStatic.ts +203 -22
  241. package/typechain-types/VotingEscrowPendleMainchain.ts +9 -0
  242. package/typechain-types/VotingEscrowPendleSidechain.ts +9 -0
  243. package/typechain-types/factories/AccessControl__factory.ts +227 -0
  244. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +131 -59
  245. package/typechain-types/factories/ActionBaseMintRedeem__factory.ts +14 -1
  246. package/typechain-types/factories/ActionCallback__factory.ts +1 -1
  247. package/typechain-types/factories/ActionMintRedeem__factory.ts +90 -42
  248. package/typechain-types/factories/ActionMisc__factory.ts +1 -1
  249. package/typechain-types/factories/ActionSwapPTYT__factory.ts +1 -1
  250. package/typechain-types/factories/ActionSwapPT__factory.ts +60 -42
  251. package/typechain-types/factories/ActionSwapYT__factory.ts +60 -42
  252. package/typechain-types/factories/AggregationRouterHelper__factory.ts +190 -1
  253. package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +14 -1
  254. package/typechain-types/factories/BaseSplitCodeFactory__factory.ts +1 -1
  255. package/typechain-types/factories/BeaconProxy__factory.ts +141 -0
  256. package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +1 -1
  257. package/typechain-types/factories/BoringOwnableUpgradeable__factory.ts +13 -0
  258. package/typechain-types/factories/BulkSellerFactory__factory.ts +584 -0
  259. package/typechain-types/factories/BulkSellerOffchain__factory.ts +120 -0
  260. package/typechain-types/factories/BulkSeller__factory.ts +745 -0
  261. package/typechain-types/factories/Curve3CrvPoolHelper__factory.ts +220 -0
  262. package/typechain-types/factories/CurveFraxUsdcPoolHelper__factory.ts +146 -0
  263. package/typechain-types/factories/CurveUsdd3CrvPoolHelper__factory.ts +172 -0
  264. package/typechain-types/factories/ERC165__factory.ts +39 -0
  265. package/typechain-types/factories/ERC20__factory.ts +1 -1
  266. package/typechain-types/factories/Errors__factory.ts +207 -1
  267. package/typechain-types/factories/IAccessControl__factory.ts +198 -0
  268. package/typechain-types/factories/IAggregationRouterHelper__factory.ts +54 -0
  269. package/typechain-types/factories/ICrvPool__factory.ts +30 -83
  270. package/typechain-types/factories/IERC165__factory.ts +42 -0
  271. package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +91 -17
  272. package/typechain-types/factories/IPActionMintRedeem__factory.ts +50 -0
  273. package/typechain-types/factories/IPActionSwapPT__factory.ts +20 -0
  274. package/typechain-types/factories/IPActionSwapYT__factory.ts +20 -0
  275. package/typechain-types/factories/IPAllAction__factory.ts +181 -17
  276. package/typechain-types/factories/IPBulkSellerCallback__factory.ts +53 -0
  277. package/typechain-types/factories/IPBulkSellerFactory__factory.ts +101 -0
  278. package/typechain-types/factories/IPBulkSeller__factory.ts +185 -0
  279. package/typechain-types/factories/IStETH__factory.ts +45 -0
  280. package/typechain-types/factories/ITriCrvPool__factory.ts +225 -0
  281. package/typechain-types/factories/ImplicitSwapfeeContract__factory.ts +1 -1
  282. package/typechain-types/factories/Initializable__factory.ts +36 -0
  283. package/typechain-types/factories/KyberSwapHelper__factory.ts +1 -1
  284. package/typechain-types/factories/MarketMathStatic__factory.ts +1 -35
  285. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  286. package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1068 -0
  287. package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1168 -0
  288. package/typechain-types/factories/PendleERC20Permit__factory.ts +1 -1
  289. package/typechain-types/factories/PendleERC20__factory.ts +1 -1
  290. package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +14 -1
  291. package/typechain-types/factories/PendleFeeDistributor__factory.ts +14 -1
  292. package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +13 -0
  293. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +14 -1
  294. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +14 -1
  295. package/typechain-types/factories/PendleMarketFactory__factory.ts +14 -1
  296. package/typechain-types/factories/PendleMarket__factory.ts +1 -1
  297. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +14 -1
  298. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +14 -1
  299. package/typechain-types/factories/PendleMsgSenderAppUpg__factory.ts +13 -0
  300. package/typechain-types/factories/PendlePrincipalToken__factory.ts +14 -1
  301. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  302. package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
  303. package/typechain-types/factories/PendleRouter__factory.ts +14 -1
  304. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +14 -1
  305. package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
  306. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +14 -1
  307. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  308. package/typechain-types/factories/ReentrancyGuardUpgradeable__factory.ts +43 -0
  309. package/typechain-types/factories/RouterStatic__factory.ts +182 -2
  310. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +14 -1
  311. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +14 -1
  312. package/typechain-types/hardhat.d.ts +139 -13
  313. package/typechain-types/index.ts +30 -4
  314. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol/Pendle3CrvAndTokenSY.dbg.json +0 -4
  315. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol/Pendle3CrvAndTokenSY.json +0 -1018
  316. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.dbg.json +0 -4
  317. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.json +0 -76
  318. package/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol +0 -167
  319. package/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvHelper.sol +0 -83
@@ -83,7 +83,7 @@ const _abi = [
83
83
  {
84
84
  indexed: false,
85
85
  internalType: "uint256",
86
- name: "tokenUsed",
86
+ name: "netTokenUsed",
87
87
  type: "uint256",
88
88
  },
89
89
  {
@@ -490,14 +490,41 @@ const _abi = [
490
490
  type: "address",
491
491
  },
492
492
  {
493
- internalType: "address",
494
- name: "tokenIn",
495
- type: "address",
496
- },
497
- {
498
- internalType: "uint256",
499
- name: "netTokenDesired",
500
- type: "uint256",
493
+ components: [
494
+ {
495
+ internalType: "address",
496
+ name: "tokenIn",
497
+ type: "address",
498
+ },
499
+ {
500
+ internalType: "uint256",
501
+ name: "netTokenIn",
502
+ type: "uint256",
503
+ },
504
+ {
505
+ internalType: "address",
506
+ name: "tokenMintSy",
507
+ type: "address",
508
+ },
509
+ {
510
+ internalType: "address",
511
+ name: "kyberRouter",
512
+ type: "address",
513
+ },
514
+ {
515
+ internalType: "bytes",
516
+ name: "kybercall",
517
+ type: "bytes",
518
+ },
519
+ {
520
+ internalType: "bool",
521
+ name: "useBulk",
522
+ type: "bool",
523
+ },
524
+ ],
525
+ internalType: "struct TokenInput",
526
+ name: "input",
527
+ type: "tuple",
501
528
  },
502
529
  {
503
530
  internalType: "uint256",
@@ -739,11 +766,21 @@ const _abi = [
739
766
  name: "tokenMintSy",
740
767
  type: "address",
741
768
  },
769
+ {
770
+ internalType: "address",
771
+ name: "kyberRouter",
772
+ type: "address",
773
+ },
742
774
  {
743
775
  internalType: "bytes",
744
776
  name: "kybercall",
745
777
  type: "bytes",
746
778
  },
779
+ {
780
+ internalType: "bool",
781
+ name: "useBulk",
782
+ type: "bool",
783
+ },
747
784
  ],
748
785
  internalType: "struct TokenInput",
749
786
  name: "input",
@@ -828,14 +865,41 @@ const _abi = [
828
865
  type: "uint256",
829
866
  },
830
867
  {
831
- internalType: "address",
832
- name: "tokenOut",
833
- type: "address",
834
- },
835
- {
836
- internalType: "uint256",
837
- name: "minTokenOut",
838
- type: "uint256",
868
+ components: [
869
+ {
870
+ internalType: "address",
871
+ name: "tokenOut",
872
+ type: "address",
873
+ },
874
+ {
875
+ internalType: "uint256",
876
+ name: "minTokenOut",
877
+ type: "uint256",
878
+ },
879
+ {
880
+ internalType: "address",
881
+ name: "tokenRedeemSy",
882
+ type: "address",
883
+ },
884
+ {
885
+ internalType: "address",
886
+ name: "kyberRouter",
887
+ type: "address",
888
+ },
889
+ {
890
+ internalType: "bytes",
891
+ name: "kybercall",
892
+ type: "bytes",
893
+ },
894
+ {
895
+ internalType: "bool",
896
+ name: "useBulk",
897
+ type: "bool",
898
+ },
899
+ ],
900
+ internalType: "struct TokenOutput",
901
+ name: "output",
902
+ type: "tuple",
839
903
  },
840
904
  {
841
905
  internalType: "uint256",
@@ -1003,11 +1067,21 @@ const _abi = [
1003
1067
  name: "tokenRedeemSy",
1004
1068
  type: "address",
1005
1069
  },
1070
+ {
1071
+ internalType: "address",
1072
+ name: "kyberRouter",
1073
+ type: "address",
1074
+ },
1006
1075
  {
1007
1076
  internalType: "bytes",
1008
1077
  name: "kybercall",
1009
1078
  type: "bytes",
1010
1079
  },
1080
+ {
1081
+ internalType: "bool",
1082
+ name: "useBulk",
1083
+ type: "bool",
1084
+ },
1011
1085
  ],
1012
1086
  internalType: "struct TokenOutput",
1013
1087
  name: "output",
@@ -422,11 +422,21 @@ const _abi = [
422
422
  name: "tokenMintSy",
423
423
  type: "address",
424
424
  },
425
+ {
426
+ internalType: "address",
427
+ name: "kyberRouter",
428
+ type: "address",
429
+ },
425
430
  {
426
431
  internalType: "bytes",
427
432
  name: "kybercall",
428
433
  type: "bytes",
429
434
  },
435
+ {
436
+ internalType: "bool",
437
+ name: "useBulk",
438
+ type: "bool",
439
+ },
430
440
  ],
431
441
  internalType: "struct TokenInput",
432
442
  name: "input",
@@ -478,11 +488,21 @@ const _abi = [
478
488
  name: "tokenMintSy",
479
489
  type: "address",
480
490
  },
491
+ {
492
+ internalType: "address",
493
+ name: "kyberRouter",
494
+ type: "address",
495
+ },
481
496
  {
482
497
  internalType: "bytes",
483
498
  name: "kybercall",
484
499
  type: "bytes",
485
500
  },
501
+ {
502
+ internalType: "bool",
503
+ name: "useBulk",
504
+ type: "bool",
505
+ },
486
506
  ],
487
507
  internalType: "struct TokenInput",
488
508
  name: "input",
@@ -573,6 +593,11 @@ const _abi = [
573
593
  name: "tokenRedeemSys",
574
594
  type: "address[]",
575
595
  },
596
+ {
597
+ internalType: "bool[]",
598
+ name: "useBulks",
599
+ type: "bool[]",
600
+ },
576
601
  ],
577
602
  internalType: "struct IPActionMintRedeem.RouterYtRedeemStruct",
578
603
  name: "dataYT",
@@ -595,6 +620,11 @@ const _abi = [
595
620
  name: "kybercalls",
596
621
  type: "bytes[]",
597
622
  },
623
+ {
624
+ internalType: "address",
625
+ name: "kyberRouter",
626
+ type: "address",
627
+ },
598
628
  {
599
629
  internalType: "address",
600
630
  name: "outputToken",
@@ -695,11 +725,21 @@ const _abi = [
695
725
  name: "tokenRedeemSy",
696
726
  type: "address",
697
727
  },
728
+ {
729
+ internalType: "address",
730
+ name: "kyberRouter",
731
+ type: "address",
732
+ },
698
733
  {
699
734
  internalType: "bytes",
700
735
  name: "kybercall",
701
736
  type: "bytes",
702
737
  },
738
+ {
739
+ internalType: "bool",
740
+ name: "useBulk",
741
+ type: "bool",
742
+ },
703
743
  ],
704
744
  internalType: "struct TokenOutput",
705
745
  name: "output",
@@ -751,11 +791,21 @@ const _abi = [
751
791
  name: "tokenRedeemSy",
752
792
  type: "address",
753
793
  },
794
+ {
795
+ internalType: "address",
796
+ name: "kyberRouter",
797
+ type: "address",
798
+ },
754
799
  {
755
800
  internalType: "bytes",
756
801
  name: "kybercall",
757
802
  type: "bytes",
758
803
  },
804
+ {
805
+ internalType: "bool",
806
+ name: "useBulk",
807
+ type: "bool",
808
+ },
759
809
  ],
760
810
  internalType: "struct TokenOutput",
761
811
  name: "output",
@@ -163,11 +163,21 @@ const _abi = [
163
163
  name: "tokenRedeemSy",
164
164
  type: "address",
165
165
  },
166
+ {
167
+ internalType: "address",
168
+ name: "kyberRouter",
169
+ type: "address",
170
+ },
166
171
  {
167
172
  internalType: "bytes",
168
173
  name: "kybercall",
169
174
  type: "bytes",
170
175
  },
176
+ {
177
+ internalType: "bool",
178
+ name: "useBulk",
179
+ type: "bool",
180
+ },
171
181
  ],
172
182
  internalType: "struct TokenOutput",
173
183
  name: "output",
@@ -327,11 +337,21 @@ const _abi = [
327
337
  name: "tokenMintSy",
328
338
  type: "address",
329
339
  },
340
+ {
341
+ internalType: "address",
342
+ name: "kyberRouter",
343
+ type: "address",
344
+ },
330
345
  {
331
346
  internalType: "bytes",
332
347
  name: "kybercall",
333
348
  type: "bytes",
334
349
  },
350
+ {
351
+ internalType: "bool",
352
+ name: "useBulk",
353
+ type: "bool",
354
+ },
335
355
  ],
336
356
  internalType: "struct TokenInput",
337
357
  name: "input",
@@ -227,11 +227,21 @@ const _abi = [
227
227
  name: "tokenMintSy",
228
228
  type: "address",
229
229
  },
230
+ {
231
+ internalType: "address",
232
+ name: "kyberRouter",
233
+ type: "address",
234
+ },
230
235
  {
231
236
  internalType: "bytes",
232
237
  name: "kybercall",
233
238
  type: "bytes",
234
239
  },
240
+ {
241
+ internalType: "bool",
242
+ name: "useBulk",
243
+ type: "bool",
244
+ },
235
245
  ],
236
246
  internalType: "struct TokenInput",
237
247
  name: "input",
@@ -327,11 +337,21 @@ const _abi = [
327
337
  name: "tokenRedeemSy",
328
338
  type: "address",
329
339
  },
340
+ {
341
+ internalType: "address",
342
+ name: "kyberRouter",
343
+ type: "address",
344
+ },
330
345
  {
331
346
  internalType: "bytes",
332
347
  name: "kybercall",
333
348
  type: "bytes",
334
349
  },
350
+ {
351
+ internalType: "bool",
352
+ name: "useBulk",
353
+ type: "bool",
354
+ },
335
355
  ],
336
356
  internalType: "struct TokenOutput",
337
357
  name: "output",
@@ -80,7 +80,7 @@ const _abi = [
80
80
  {
81
81
  indexed: false,
82
82
  internalType: "uint256",
83
- name: "tokenUsed",
83
+ name: "netTokenUsed",
84
84
  type: "uint256",
85
85
  },
86
86
  {
@@ -1028,14 +1028,41 @@ const _abi = [
1028
1028
  type: "address",
1029
1029
  },
1030
1030
  {
1031
- internalType: "address",
1032
- name: "tokenIn",
1033
- type: "address",
1034
- },
1035
- {
1036
- internalType: "uint256",
1037
- name: "netTokenDesired",
1038
- type: "uint256",
1031
+ components: [
1032
+ {
1033
+ internalType: "address",
1034
+ name: "tokenIn",
1035
+ type: "address",
1036
+ },
1037
+ {
1038
+ internalType: "uint256",
1039
+ name: "netTokenIn",
1040
+ type: "uint256",
1041
+ },
1042
+ {
1043
+ internalType: "address",
1044
+ name: "tokenMintSy",
1045
+ type: "address",
1046
+ },
1047
+ {
1048
+ internalType: "address",
1049
+ name: "kyberRouter",
1050
+ type: "address",
1051
+ },
1052
+ {
1053
+ internalType: "bytes",
1054
+ name: "kybercall",
1055
+ type: "bytes",
1056
+ },
1057
+ {
1058
+ internalType: "bool",
1059
+ name: "useBulk",
1060
+ type: "bool",
1061
+ },
1062
+ ],
1063
+ internalType: "struct TokenInput",
1064
+ name: "input",
1065
+ type: "tuple",
1039
1066
  },
1040
1067
  {
1041
1068
  internalType: "uint256",
@@ -1277,11 +1304,21 @@ const _abi = [
1277
1304
  name: "tokenMintSy",
1278
1305
  type: "address",
1279
1306
  },
1307
+ {
1308
+ internalType: "address",
1309
+ name: "kyberRouter",
1310
+ type: "address",
1311
+ },
1280
1312
  {
1281
1313
  internalType: "bytes",
1282
1314
  name: "kybercall",
1283
1315
  type: "bytes",
1284
1316
  },
1317
+ {
1318
+ internalType: "bool",
1319
+ name: "useBulk",
1320
+ type: "bool",
1321
+ },
1285
1322
  ],
1286
1323
  internalType: "struct TokenInput",
1287
1324
  name: "input",
@@ -1396,11 +1433,21 @@ const _abi = [
1396
1433
  name: "tokenMintSy",
1397
1434
  type: "address",
1398
1435
  },
1436
+ {
1437
+ internalType: "address",
1438
+ name: "kyberRouter",
1439
+ type: "address",
1440
+ },
1399
1441
  {
1400
1442
  internalType: "bytes",
1401
1443
  name: "kybercall",
1402
1444
  type: "bytes",
1403
1445
  },
1446
+ {
1447
+ internalType: "bool",
1448
+ name: "useBulk",
1449
+ type: "bool",
1450
+ },
1404
1451
  ],
1405
1452
  internalType: "struct TokenInput",
1406
1453
  name: "input",
@@ -1452,11 +1499,21 @@ const _abi = [
1452
1499
  name: "tokenMintSy",
1453
1500
  type: "address",
1454
1501
  },
1502
+ {
1503
+ internalType: "address",
1504
+ name: "kyberRouter",
1505
+ type: "address",
1506
+ },
1455
1507
  {
1456
1508
  internalType: "bytes",
1457
1509
  name: "kybercall",
1458
1510
  type: "bytes",
1459
1511
  },
1512
+ {
1513
+ internalType: "bool",
1514
+ name: "useBulk",
1515
+ type: "bool",
1516
+ },
1460
1517
  ],
1461
1518
  internalType: "struct TokenInput",
1462
1519
  name: "input",
@@ -1547,6 +1604,11 @@ const _abi = [
1547
1604
  name: "tokenRedeemSys",
1548
1605
  type: "address[]",
1549
1606
  },
1607
+ {
1608
+ internalType: "bool[]",
1609
+ name: "useBulks",
1610
+ type: "bool[]",
1611
+ },
1550
1612
  ],
1551
1613
  internalType: "struct IPActionMintRedeem.RouterYtRedeemStruct",
1552
1614
  name: "dataYT",
@@ -1569,6 +1631,11 @@ const _abi = [
1569
1631
  name: "kybercalls",
1570
1632
  type: "bytes[]",
1571
1633
  },
1634
+ {
1635
+ internalType: "address",
1636
+ name: "kyberRouter",
1637
+ type: "address",
1638
+ },
1572
1639
  {
1573
1640
  internalType: "address",
1574
1641
  name: "outputToken",
@@ -1669,11 +1736,21 @@ const _abi = [
1669
1736
  name: "tokenRedeemSy",
1670
1737
  type: "address",
1671
1738
  },
1739
+ {
1740
+ internalType: "address",
1741
+ name: "kyberRouter",
1742
+ type: "address",
1743
+ },
1672
1744
  {
1673
1745
  internalType: "bytes",
1674
1746
  name: "kybercall",
1675
1747
  type: "bytes",
1676
1748
  },
1749
+ {
1750
+ internalType: "bool",
1751
+ name: "useBulk",
1752
+ type: "bool",
1753
+ },
1677
1754
  ],
1678
1755
  internalType: "struct TokenOutput",
1679
1756
  name: "output",
@@ -1725,11 +1802,21 @@ const _abi = [
1725
1802
  name: "tokenRedeemSy",
1726
1803
  type: "address",
1727
1804
  },
1805
+ {
1806
+ internalType: "address",
1807
+ name: "kyberRouter",
1808
+ type: "address",
1809
+ },
1728
1810
  {
1729
1811
  internalType: "bytes",
1730
1812
  name: "kybercall",
1731
1813
  type: "bytes",
1732
1814
  },
1815
+ {
1816
+ internalType: "bool",
1817
+ name: "useBulk",
1818
+ type: "bool",
1819
+ },
1733
1820
  ],
1734
1821
  internalType: "struct TokenOutput",
1735
1822
  name: "output",
@@ -1809,14 +1896,41 @@ const _abi = [
1809
1896
  type: "uint256",
1810
1897
  },
1811
1898
  {
1812
- internalType: "address",
1813
- name: "tokenOut",
1814
- type: "address",
1815
- },
1816
- {
1817
- internalType: "uint256",
1818
- name: "minTokenOut",
1819
- type: "uint256",
1899
+ components: [
1900
+ {
1901
+ internalType: "address",
1902
+ name: "tokenOut",
1903
+ type: "address",
1904
+ },
1905
+ {
1906
+ internalType: "uint256",
1907
+ name: "minTokenOut",
1908
+ type: "uint256",
1909
+ },
1910
+ {
1911
+ internalType: "address",
1912
+ name: "tokenRedeemSy",
1913
+ type: "address",
1914
+ },
1915
+ {
1916
+ internalType: "address",
1917
+ name: "kyberRouter",
1918
+ type: "address",
1919
+ },
1920
+ {
1921
+ internalType: "bytes",
1922
+ name: "kybercall",
1923
+ type: "bytes",
1924
+ },
1925
+ {
1926
+ internalType: "bool",
1927
+ name: "useBulk",
1928
+ type: "bool",
1929
+ },
1930
+ ],
1931
+ internalType: "struct TokenOutput",
1932
+ name: "output",
1933
+ type: "tuple",
1820
1934
  },
1821
1935
  {
1822
1936
  internalType: "uint256",
@@ -1984,11 +2098,21 @@ const _abi = [
1984
2098
  name: "tokenRedeemSy",
1985
2099
  type: "address",
1986
2100
  },
2101
+ {
2102
+ internalType: "address",
2103
+ name: "kyberRouter",
2104
+ type: "address",
2105
+ },
1987
2106
  {
1988
2107
  internalType: "bytes",
1989
2108
  name: "kybercall",
1990
2109
  type: "bytes",
1991
2110
  },
2111
+ {
2112
+ internalType: "bool",
2113
+ name: "useBulk",
2114
+ type: "bool",
2115
+ },
1992
2116
  ],
1993
2117
  internalType: "struct TokenOutput",
1994
2118
  name: "output",
@@ -2084,11 +2208,21 @@ const _abi = [
2084
2208
  name: "tokenRedeemSy",
2085
2209
  type: "address",
2086
2210
  },
2211
+ {
2212
+ internalType: "address",
2213
+ name: "kyberRouter",
2214
+ type: "address",
2215
+ },
2087
2216
  {
2088
2217
  internalType: "bytes",
2089
2218
  name: "kybercall",
2090
2219
  type: "bytes",
2091
2220
  },
2221
+ {
2222
+ internalType: "bool",
2223
+ name: "useBulk",
2224
+ type: "bool",
2225
+ },
2092
2226
  ],
2093
2227
  internalType: "struct TokenOutput",
2094
2228
  name: "output",
@@ -2390,11 +2524,21 @@ const _abi = [
2390
2524
  name: "tokenMintSy",
2391
2525
  type: "address",
2392
2526
  },
2527
+ {
2528
+ internalType: "address",
2529
+ name: "kyberRouter",
2530
+ type: "address",
2531
+ },
2393
2532
  {
2394
2533
  internalType: "bytes",
2395
2534
  name: "kybercall",
2396
2535
  type: "bytes",
2397
2536
  },
2537
+ {
2538
+ internalType: "bool",
2539
+ name: "useBulk",
2540
+ type: "bool",
2541
+ },
2398
2542
  ],
2399
2543
  internalType: "struct TokenInput",
2400
2544
  name: "input",
@@ -2483,11 +2627,21 @@ const _abi = [
2483
2627
  name: "tokenMintSy",
2484
2628
  type: "address",
2485
2629
  },
2630
+ {
2631
+ internalType: "address",
2632
+ name: "kyberRouter",
2633
+ type: "address",
2634
+ },
2486
2635
  {
2487
2636
  internalType: "bytes",
2488
2637
  name: "kybercall",
2489
2638
  type: "bytes",
2490
2639
  },
2640
+ {
2641
+ internalType: "bool",
2642
+ name: "useBulk",
2643
+ type: "bool",
2644
+ },
2491
2645
  ],
2492
2646
  internalType: "struct TokenInput",
2493
2647
  name: "input",
@@ -2654,11 +2808,21 @@ const _abi = [
2654
2808
  name: "tokenRedeemSy",
2655
2809
  type: "address",
2656
2810
  },
2811
+ {
2812
+ internalType: "address",
2813
+ name: "kyberRouter",
2814
+ type: "address",
2815
+ },
2657
2816
  {
2658
2817
  internalType: "bytes",
2659
2818
  name: "kybercall",
2660
2819
  type: "bytes",
2661
2820
  },
2821
+ {
2822
+ internalType: "bool",
2823
+ name: "useBulk",
2824
+ type: "bool",
2825
+ },
2662
2826
  ],
2663
2827
  internalType: "struct TokenOutput",
2664
2828
  name: "output",