@pendle/core-v2 0.16.5-testnet → 0.17.0-daily

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 (349) 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 +2 -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 +2 -2
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
  10. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +2 -2
  12. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
  15. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
  17. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
  19. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  21. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  22. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  23. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +16 -5
  24. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  25. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.json +0 -13
  26. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  27. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  28. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  29. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  30. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  31. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  32. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  33. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.json +2 -2
  34. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +7 -54
  36. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +27 -2
  38. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
  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 +25 -13
  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 +221 -50
  49. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
  51. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.json +141 -0
  53. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  54. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.json +141 -0
  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 +143 -2
  59. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +4 -0
  60. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +1144 -0
  61. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +4 -0
  62. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +1209 -0
  63. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +4 -0
  64. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.json +10 -0
  65. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
  66. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.json +3 -82
  67. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +4 -0
  68. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.json +10 -0
  69. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +4 -0
  70. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/{ConvexCurveLP → base}/PendleConvexLPSY.sol/PendleConvexLPSY.json +142 -1
  71. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +4 -0
  72. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +997 -0
  73. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  74. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +143 -2
  75. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  76. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  77. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
  78. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  79. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +83 -10
  80. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  81. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +35 -4
  82. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  83. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.json +2 -2
  84. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  85. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.json +2 -2
  86. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  87. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.json +3 -38
  88. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  89. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.json +2 -2
  90. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
  91. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  92. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.json +2 -2
  93. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  94. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +131 -31
  95. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.json +1 -1
  97. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.json +14 -7
  99. package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +4 -0
  100. package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.json +213 -0
  101. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.json +1 -1
  103. package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.dbg.json +4 -0
  104. package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.json +30 -0
  105. package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.dbg.json +4 -0
  106. package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.json +76 -0
  107. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +8 -8
  109. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +18 -18
  111. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +2 -2
  115. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +28 -28
  117. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.json +0 -38
  119. package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.json +25 -0
  121. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +17 -5
  123. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +50 -19
  125. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.json +7 -7
  131. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +13 -0
  133. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  134. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  135. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.json +2 -2
  136. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
  137. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +71 -13
  138. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
  139. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +28 -46
  140. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
  141. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +138 -62
  142. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  143. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +37 -11
  144. package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +1 -1
  145. package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.json +2 -2
  146. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  147. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +20 -20
  148. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
  149. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +2 -2
  150. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  151. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +28 -2
  152. package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
  153. package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +29 -3
  154. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  155. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +30 -4
  156. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  157. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -186
  158. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  159. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  160. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  161. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  162. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  163. package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +1 -1
  164. package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +2 -2
  165. package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
  166. package/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol +1 -1
  167. package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +1 -1
  168. package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +3 -6
  169. package/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +1 -1
  170. package/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol +7 -4
  171. package/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol +10 -5
  172. package/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol +3 -6
  173. package/contracts/LiquidityMining/libraries/VeHistoryLib.sol +0 -5
  174. package/contracts/LiquidityMining/libraries/WeekMath.sol +1 -1
  175. package/contracts/core/BulkSeller/BulkSeller.sol +0 -15
  176. package/contracts/core/BulkSeller/BulkSellerFactory.sol +7 -6
  177. package/contracts/core/Market/MarketMathCore.sol +52 -11
  178. package/contracts/core/Market/PendleMarket.sol +35 -22
  179. package/contracts/core/Market/PendleMarketFactory.sol +67 -35
  180. package/contracts/core/StandardizedYield/SYBase.sol +26 -3
  181. package/contracts/core/StandardizedYield/SYBaseWithRewards.sol +3 -1
  182. package/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol +102 -0
  183. package/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol +160 -0
  184. package/contracts/core/StandardizedYield/implementations/Convex/README.md +29 -0
  185. package/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol +215 -0
  186. package/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol +46 -26
  187. package/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol +152 -0
  188. package/contracts/core/StandardizedYield/implementations/Convex/{ConvexCurveLP → base}/PendleConvexLPSY.sol +0 -0
  189. package/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol +128 -0
  190. package/contracts/core/YieldContracts/PendlePrincipalToken.sol +3 -3
  191. package/contracts/core/YieldContracts/PendleYieldContractFactory.sol +30 -12
  192. package/contracts/core/YieldContracts/PendleYieldToken.sol +79 -22
  193. package/contracts/core/erc20/PendleERC20.sol +4 -7
  194. package/contracts/core/libraries/BaseSplitCodeFactory.sol +1 -1
  195. package/contracts/core/libraries/BoringOwnableUpgradeable.sol +1 -1
  196. package/contracts/core/libraries/Errors.sol +18 -2
  197. package/contracts/interfaces/ConvexCurve/IBooster.sol +1 -1
  198. package/contracts/interfaces/Curve/ICrvPool.sol +3 -4
  199. package/contracts/interfaces/Curve/ITriCrvPool.sol +41 -0
  200. package/contracts/interfaces/IERC4626.sol +1 -1
  201. package/contracts/interfaces/ILooksFeeSharing.sol +5 -0
  202. package/contracts/interfaces/ILooksStaking.sol +13 -0
  203. package/contracts/interfaces/IPActionAddRemoveLiq.sol +4 -4
  204. package/contracts/interfaces/IPActionMintRedeem.sol +8 -8
  205. package/contracts/interfaces/IPActionSwapYT.sol +2 -2
  206. package/contracts/interfaces/IPBulkSeller.sol +0 -4
  207. package/contracts/interfaces/IPMarket.sol +20 -4
  208. package/contracts/interfaces/IPMarketFactory.sol +15 -5
  209. package/contracts/interfaces/IPMsgSendEndpoint.sol +1 -1
  210. package/contracts/interfaces/IPYieldContractFactory.sol +2 -2
  211. package/contracts/interfaces/IPYieldToken.sol +2 -0
  212. package/contracts/interfaces/IStandardizedYield.sol +15 -10
  213. package/contracts/offchain-helpers/BulkSellerOffchain.sol +17 -8
  214. package/contracts/offchain-helpers/MarketMathStatic.sol +35 -96
  215. package/contracts/offchain-helpers/RouterStatic.sol +49 -9
  216. package/contracts/router/ActionAddRemoveLiq.sol +102 -10
  217. package/contracts/router/ActionMintRedeem.sol +44 -4
  218. package/contracts/router/ActionSwapPT.sol +41 -11
  219. package/contracts/router/ActionSwapPTYT.sol +32 -7
  220. package/contracts/router/ActionSwapYT.sol +49 -33
  221. package/contracts/router/PendleRouter.sol +3 -11
  222. package/contracts/router/base/MarketApproxLib.sol +65 -22
  223. package/deployments/43113-core.json +19 -14
  224. package/deployments/43113-markets/WETH-FEB-2ND.json +10 -0
  225. package/package.json +7 -7
  226. package/typechain-types/AccessControlUpgradeable.ts +369 -0
  227. package/typechain-types/ActionAddRemoveLiq.ts +18 -18
  228. package/typechain-types/ActionMintRedeem.ts +30 -30
  229. package/typechain-types/ActionSwapPTYT.ts +5 -5
  230. package/typechain-types/ActionSwapYT.ts +5 -5
  231. package/typechain-types/BulkSeller.ts +5 -91
  232. package/typechain-types/BulkSellerFactory.ts +21 -0
  233. package/typechain-types/BulkSellerOffchain.ts +134 -0
  234. package/typechain-types/ContextUpgradeable.ts +68 -0
  235. package/typechain-types/ERC165Upgradeable.ts +113 -0
  236. package/typechain-types/IAccessControlUpgradeable.ts +305 -0
  237. package/typechain-types/IBooster.ts +9 -3
  238. package/typechain-types/ICrvPool.ts +4 -9
  239. package/typechain-types/IERC165Upgradeable.ts +102 -0
  240. package/typechain-types/IERC4626.ts +5 -5
  241. package/typechain-types/ILooksStaking.ts +27 -0
  242. package/typechain-types/IPActionAddRemoveLiq.ts +13 -13
  243. package/typechain-types/IPActionMintRedeem.ts +30 -30
  244. package/typechain-types/IPActionSwapYT.ts +5 -5
  245. package/typechain-types/IPAllAction.ts +48 -48
  246. package/typechain-types/IPBulkSeller.ts +0 -68
  247. package/typechain-types/IPBulkSellerFactory.ts +21 -0
  248. package/typechain-types/IPMarket.ts +26 -16
  249. package/typechain-types/IPMarketFactory.ts +70 -37
  250. package/typechain-types/IPMsgSendEndpoint.ts +1 -1
  251. package/typechain-types/IPYieldContractFactory.ts +11 -11
  252. package/typechain-types/IPYieldToken.ts +21 -0
  253. package/typechain-types/MarketMathStatic.ts +0 -67
  254. package/typechain-types/Pausable.ts +101 -0
  255. package/typechain-types/PendleConvexLPSY.ts +204 -0
  256. package/typechain-types/PendleCurveFraxUsdcSY.ts +204 -0
  257. package/typechain-types/PendleCurveUsdd3CrvSY.ts +204 -0
  258. package/typechain-types/PendleLooksStakingSY.ts +1256 -0
  259. package/typechain-types/PendleMarket.ts +26 -16
  260. package/typechain-types/PendleMarketFactory.ts +316 -92
  261. package/typechain-types/PendleQiTokenSY.ts +204 -0
  262. package/typechain-types/PendleRouter.ts +3 -287
  263. package/typechain-types/PendleWstEthSY.ts +204 -0
  264. package/typechain-types/PendleYieldContractFactory.ts +63 -18
  265. package/typechain-types/PendleYieldToken.ts +42 -0
  266. package/typechain-types/RouterStatic.ts +65 -7
  267. package/typechain-types/SYBase.ts +204 -0
  268. package/typechain-types/SYBaseWithRewards.ts +204 -0
  269. package/typechain-types/VotingEscrowPendleSidechain.ts +8 -8
  270. package/typechain-types/VotingEscrowTokenBase.ts +0 -21
  271. package/typechain-types/factories/AccessControlUpgradeable__factory.ts +247 -0
  272. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +36 -10
  273. package/typechain-types/factories/ActionCallback__factory.ts +1 -1
  274. package/typechain-types/factories/ActionMintRedeem__factory.ts +19 -19
  275. package/typechain-types/factories/ActionMisc__factory.ts +1 -1
  276. package/typechain-types/factories/ActionSwapPTYT__factory.ts +28 -2
  277. package/typechain-types/factories/ActionSwapPT__factory.ts +27 -1
  278. package/typechain-types/factories/ActionSwapYT__factory.ts +29 -3
  279. package/typechain-types/factories/AggregationRouterHelper__factory.ts +1 -1
  280. package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +1 -1
  281. package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +1 -1
  282. package/typechain-types/factories/BulkSellerFactory__factory.ts +26 -1
  283. package/typechain-types/factories/BulkSellerOffchain__factory.ts +70 -12
  284. package/typechain-types/factories/BulkSeller__factory.ts +6 -53
  285. package/typechain-types/factories/ContextUpgradeable__factory.ts +39 -0
  286. package/typechain-types/factories/ERC165Upgradeable__factory.ts +58 -0
  287. package/typechain-types/factories/Errors__factory.ts +130 -30
  288. package/typechain-types/factories/IAccessControlUpgradeable__factory.ts +202 -0
  289. package/typechain-types/factories/IBooster__factory.ts +1 -1
  290. package/typechain-types/factories/ICrvPool__factory.ts +14 -7
  291. package/typechain-types/factories/IERC165Upgradeable__factory.ts +45 -0
  292. package/typechain-types/factories/IERC4626__factory.ts +1 -1
  293. package/typechain-types/factories/ILooksStaking__factory.ts +7 -0
  294. package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +8 -8
  295. package/typechain-types/factories/IPActionMintRedeem__factory.ts +18 -18
  296. package/typechain-types/factories/IPActionSwapYT__factory.ts +2 -2
  297. package/typechain-types/factories/IPAllAction__factory.ts +28 -28
  298. package/typechain-types/factories/IPBulkSellerFactory__factory.ts +25 -0
  299. package/typechain-types/factories/IPBulkSeller__factory.ts +0 -38
  300. package/typechain-types/factories/IPMarketFactory__factory.ts +50 -19
  301. package/typechain-types/factories/IPMarket__factory.ts +17 -5
  302. package/typechain-types/factories/IPMsgSendEndpoint__factory.ts +1 -1
  303. package/typechain-types/factories/IPYieldContractFactory__factory.ts +7 -7
  304. package/typechain-types/factories/IPYieldToken__factory.ts +13 -0
  305. package/typechain-types/factories/ImplicitSwapfeeContract__factory.ts +1 -1
  306. package/typechain-types/factories/MarketMathStatic__factory.ts +27 -45
  307. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  308. package/typechain-types/factories/Pausable__factory.ts +62 -0
  309. package/typechain-types/factories/PendleConvexLPSY__factory.ts +141 -0
  310. package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +142 -1
  311. package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +145 -39
  312. package/typechain-types/factories/PendleERC20Permit__factory.ts +1 -1
  313. package/typechain-types/factories/PendleERC20__factory.ts +1 -1
  314. package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +1 -1
  315. package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
  316. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  317. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  318. package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1078 -0
  319. package/typechain-types/factories/PendleMarketFactory__factory.ts +220 -49
  320. package/typechain-types/factories/PendleMarket__factory.ts +18 -6
  321. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  322. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  323. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  324. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  325. package/typechain-types/factories/PendleQiTokenSY__factory.ts +142 -1
  326. package/typechain-types/factories/PendleRouter__factory.ts +1 -185
  327. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
  328. package/typechain-types/factories/PendleWstEthSY__factory.ts +142 -1
  329. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +82 -9
  330. package/typechain-types/factories/PendleYieldToken__factory.ts +38 -3
  331. package/typechain-types/factories/RouterStatic__factory.ts +79 -3
  332. package/typechain-types/factories/SYBaseWithRewards__factory.ts +141 -0
  333. package/typechain-types/factories/SYBase__factory.ts +141 -0
  334. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  335. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +15 -4
  336. package/typechain-types/factories/VotingEscrowTokenBase__factory.ts +0 -13
  337. package/typechain-types/hardhat.d.ts +107 -26
  338. package/typechain-types/index.ts +24 -6
  339. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +0 -4
  340. package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.dbg.json +0 -4
  341. package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.json +0 -182
  342. package/contracts/offchain-helpers/ImplicitSwapfeeContract.sol +0 -30
  343. package/deployments/43113-markets/benqi-market-QI-AVAX-FEB-2ND.json +0 -9
  344. package/deployments/43113-markets/benqi-market-QI-USDC-FEB-2ND.json +0 -8
  345. package/deployments/43113-markets/benqi-market-QI-WETH-DEC-1ST.json +0 -9
  346. package/deployments/80001-core.json +0 -16
  347. package/deployments/80001-markets/benqi-market-QI-USDC-FEB-2ND.json +0 -8
  348. package/deployments/80001-markets/benqi-market-QI-WETH-DEC-1ST.json +0 -8
  349. package/deployments/80001-testenv.json +0 -22
@@ -45,9 +45,9 @@
45
45
  },
46
46
  {
47
47
  "indexed": false,
48
- "internalType": "uint96",
49
- "name": "lnFeeRateRoot",
50
- "type": "uint96"
48
+ "internalType": "uint80",
49
+ "name": "defaultLnFeeRateRoot",
50
+ "type": "uint80"
51
51
  },
52
52
  {
53
53
  "indexed": false,
@@ -60,27 +60,52 @@
60
60
  "type": "event"
61
61
  },
62
62
  {
63
+ "anonymous": false,
63
64
  "inputs": [
64
65
  {
66
+ "indexed": true,
65
67
  "internalType": "address",
66
- "name": "market",
68
+ "name": "router",
67
69
  "type": "address"
70
+ },
71
+ {
72
+ "indexed": false,
73
+ "internalType": "uint80",
74
+ "name": "lnFeeRateRoot",
75
+ "type": "uint80"
76
+ },
77
+ {
78
+ "indexed": false,
79
+ "internalType": "uint8",
80
+ "name": "reserveFeePercent",
81
+ "type": "uint8"
68
82
  }
69
83
  ],
70
- "name": "isValidMarket",
71
- "outputs": [
84
+ "name": "SetOverriddenFee",
85
+ "type": "event"
86
+ },
87
+ {
88
+ "anonymous": false,
89
+ "inputs": [
72
90
  {
73
- "internalType": "bool",
74
- "name": "",
75
- "type": "bool"
91
+ "indexed": true,
92
+ "internalType": "address",
93
+ "name": "router",
94
+ "type": "address"
76
95
  }
77
96
  ],
78
- "stateMutability": "view",
79
- "type": "function"
97
+ "name": "UnsetOverriddenFee",
98
+ "type": "event"
80
99
  },
81
100
  {
82
- "inputs": [],
83
- "name": "marketConfig",
101
+ "inputs": [
102
+ {
103
+ "internalType": "address",
104
+ "name": "router",
105
+ "type": "address"
106
+ }
107
+ ],
108
+ "name": "getMarketConfig",
84
109
  "outputs": [
85
110
  {
86
111
  "internalType": "address",
@@ -88,9 +113,9 @@
88
113
  "type": "address"
89
114
  },
90
115
  {
91
- "internalType": "uint88",
116
+ "internalType": "uint80",
92
117
  "name": "lnFeeRateRoot",
93
- "type": "uint88"
118
+ "type": "uint80"
94
119
  },
95
120
  {
96
121
  "internalType": "uint8",
@@ -102,15 +127,21 @@
102
127
  "type": "function"
103
128
  },
104
129
  {
105
- "inputs": [],
106
- "name": "treasury",
107
- "outputs": [
130
+ "inputs": [
108
131
  {
109
132
  "internalType": "address",
110
- "name": "",
133
+ "name": "market",
111
134
  "type": "address"
112
135
  }
113
136
  ],
137
+ "name": "isValidMarket",
138
+ "outputs": [
139
+ {
140
+ "internalType": "bool",
141
+ "name": "",
142
+ "type": "bool"
143
+ }
144
+ ],
114
145
  "stateMutability": "view",
115
146
  "type": "function"
116
147
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/b62d2a146016171c9f9ea6fa50815d27.json"
3
+ "buildInfo": "../../../build-info/3a6d5ca548469b1a92b8c9110bb006bc.json"
4
4
  }
@@ -30,7 +30,7 @@
30
30
  "outputs": [
31
31
  {
32
32
  "internalType": "uint256",
33
- "name": "",
33
+ "name": "fee",
34
34
  "type": "uint256"
35
35
  }
36
36
  ],
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/bc10d37f9413e18067fa5fd704985873.json"
3
+ "buildInfo": "../../../build-info/3e8778582196fe1911d74fe5ae7e13a1.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/bc10d37f9413e18067fa5fd704985873.json"
3
+ "buildInfo": "../../../build-info/3e8778582196fe1911d74fe5ae7e13a1.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/347045efedb8b8a2870de8acc734e696.json"
3
+ "buildInfo": "../../../build-info/3a6d5ca548469b1a92b8c9110bb006bc.json"
4
4
  }
@@ -12,6 +12,12 @@
12
12
  "name": "SY",
13
13
  "type": "address"
14
14
  },
15
+ {
16
+ "indexed": true,
17
+ "internalType": "uint256",
18
+ "name": "expiry",
19
+ "type": "uint256"
20
+ },
15
21
  {
16
22
  "indexed": false,
17
23
  "internalType": "address",
@@ -23,12 +29,6 @@
23
29
  "internalType": "address",
24
30
  "name": "YT",
25
31
  "type": "address"
26
- },
27
- {
28
- "indexed": false,
29
- "internalType": "uint256",
30
- "name": "expiry",
31
- "type": "uint256"
32
32
  }
33
33
  ],
34
34
  "name": "CreateYieldContract",
@@ -66,7 +66,7 @@
66
66
  {
67
67
  "indexed": false,
68
68
  "internalType": "uint256",
69
- "name": "newInterestFeeRate",
69
+ "name": "newRewardFeeRate",
70
70
  "type": "uint256"
71
71
  }
72
72
  ],
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/347045efedb8b8a2870de8acc734e696.json"
3
+ "buildInfo": "../../../build-info/3a6d5ca548469b1a92b8c9110bb006bc.json"
4
4
  }
@@ -297,6 +297,19 @@
297
297
  "stateMutability": "view",
298
298
  "type": "function"
299
299
  },
300
+ {
301
+ "inputs": [],
302
+ "name": "doCacheIndexSameBlock",
303
+ "outputs": [
304
+ {
305
+ "internalType": "bool",
306
+ "name": "",
307
+ "type": "bool"
308
+ }
309
+ ],
310
+ "stateMutability": "view",
311
+ "type": "function"
312
+ },
300
313
  {
301
314
  "inputs": [],
302
315
  "name": "expiry",
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/347045efedb8b8a2870de8acc734e696.json"
3
+ "buildInfo": "../../../build-info/aebe3e4c9f299d318b8295a46c6668f0.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/347045efedb8b8a2870de8acc734e696.json"
3
+ "buildInfo": "../../../build-info/aebe3e4c9f299d318b8295a46c6668f0.json"
4
4
  }
@@ -173,8 +173,8 @@
173
173
  "type": "function"
174
174
  }
175
175
  ],
176
- "bytecode": "0x608060405234801561001057600080fd5b50600154600160a81b900460ff1615808015610037575060018054600160a01b900460ff16105b8061006857506100503061015260201b6103661760201c565b158015610068575060018054600160a01b900460ff16145b6100d05760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6001805460ff60a01b1916600160a01b17905580156100fd576001805460ff60a81b1916600160a81b1790555b610105610161565b801561014c576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b506101e2565b6001600160a01b03163b151590565b600154600160a81b900460ff166101ce5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016100c7565b600080546001600160a01b03191633179055565b610708806101f16000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c8063078dfbe71461005c5780634e71e0c8146100715780638da5cb5b14610079578063be3397e9146100a9578063e30c3978146100cc575b600080fd5b61006f61006a36600461049b565b6100df565b005b61006f6101e5565b60005461008c906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b6100bc6100b736600461054a565b610290565b6040516100a09493929190610624565b60015461008c906001600160a01b031681565b6000546001600160a01b031633146101125760405162461bcd60e51b81526004016101099061064e565b60405180910390fd5b81156101c3576001600160a01b03831615158061012c5750805b6101705760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610109565b600080546040516001600160a01b03808716939216916000805160206106b383398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0385166001600160a01b0319909116179055505050565b6001546001600160a01b03163381146102405760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610109565b600080546040516001600160a01b03808516939216916000805160206106b383398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b600080548190819081906001600160a01b031633146102c15760405162461bcd60e51b81526004016101099061064e565b61030086868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061037592505050565b60405193975091955093509150610318908890610683565b60405180910390207fbc62a8a743e5565da3487dae8f72d8e62aba1c03b13971b56ace6da5812d9ac6858585856040516103559493929190610624565b60405180910390a293509350935093565b6001600160a01b03163b151590565b60008060008060008551116103ba5760405162461bcd60e51b815260206004820152600b60248201526a0f4cae4de40d8cadccee8d60ab1b6044820152606401610109565b84516002810480875293508381039150856103d4816103f8565b8786018051858252919750906103e9826103f8565b93909252529395929450919050565b80517f602038038060206000396000f3fefefefefefefefefefefefefefefefefefefe808352600091602081018484f090845291506001600160a01b0382166104805760405162461bcd60e51b815260206004820152601a6024820152792222a82627aca6a2a72a2fa320a4a622a22fa120a620a721a2a960311b6044820152606401610109565b50919050565b8035801515811461049657600080fd5b919050565b6000806000606084860312156104b057600080fd5b83356001600160a01b03811681146104c757600080fd5b92506104d560208501610486565b91506104e360408501610486565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b60008083601f84011261051457600080fd5b5081356001600160401b0381111561052b57600080fd5b60208301915083602082850101111561054357600080fd5b9250929050565b60008060006040848603121561055f57600080fd5b83356001600160401b038082111561057657600080fd5b818601915086601f83011261058a57600080fd5b81358181111561059c5761059c6104ec565b604051601f8201601f19908116603f011681019083821181831017156105c4576105c46104ec565b816040528281528960208487010111156105dd57600080fd5b82602086016020830137600060208483010152809750505050602086013591508082111561060a57600080fd5b5061061786828701610502565b9497909650939450505050565b6001600160a01b039485168152602081019390935292166040820152606081019190915260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000825160005b818110156106a4576020818601810151858301520161068a565b50600092019182525091905056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a2646970667358221220287284f0b2cba3425307c1f92e923a3146136e8780a509884e8e292f41d2073864736f6c63430008110033",
177
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100575760003560e01c8063078dfbe71461005c5780634e71e0c8146100715780638da5cb5b14610079578063be3397e9146100a9578063e30c3978146100cc575b600080fd5b61006f61006a36600461049b565b6100df565b005b61006f6101e5565b60005461008c906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b6100bc6100b736600461054a565b610290565b6040516100a09493929190610624565b60015461008c906001600160a01b031681565b6000546001600160a01b031633146101125760405162461bcd60e51b81526004016101099061064e565b60405180910390fd5b81156101c3576001600160a01b03831615158061012c5750805b6101705760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610109565b600080546040516001600160a01b03808716939216916000805160206106b383398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0385166001600160a01b0319909116179055505050565b6001546001600160a01b03163381146102405760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610109565b600080546040516001600160a01b03808516939216916000805160206106b383398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b600080548190819081906001600160a01b031633146102c15760405162461bcd60e51b81526004016101099061064e565b61030086868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061037592505050565b60405193975091955093509150610318908890610683565b60405180910390207fbc62a8a743e5565da3487dae8f72d8e62aba1c03b13971b56ace6da5812d9ac6858585856040516103559493929190610624565b60405180910390a293509350935093565b6001600160a01b03163b151590565b60008060008060008551116103ba5760405162461bcd60e51b815260206004820152600b60248201526a0f4cae4de40d8cadccee8d60ab1b6044820152606401610109565b84516002810480875293508381039150856103d4816103f8565b8786018051858252919750906103e9826103f8565b93909252529395929450919050565b80517f602038038060206000396000f3fefefefefefefefefefefefefefefefefefefe808352600091602081018484f090845291506001600160a01b0382166104805760405162461bcd60e51b815260206004820152601a6024820152792222a82627aca6a2a72a2fa320a4a622a22fa120a620a721a2a960311b6044820152606401610109565b50919050565b8035801515811461049657600080fd5b919050565b6000806000606084860312156104b057600080fd5b83356001600160a01b03811681146104c757600080fd5b92506104d560208501610486565b91506104e360408501610486565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b60008083601f84011261051457600080fd5b5081356001600160401b0381111561052b57600080fd5b60208301915083602082850101111561054357600080fd5b9250929050565b60008060006040848603121561055f57600080fd5b83356001600160401b038082111561057657600080fd5b818601915086601f83011261058a57600080fd5b81358181111561059c5761059c6104ec565b604051601f8201601f19908116603f011681019083821181831017156105c4576105c46104ec565b816040528281528960208487010111156105dd57600080fd5b82602086016020830137600060208483010152809750505050602086013591508082111561060a57600080fd5b5061061786828701610502565b9497909650939450505050565b6001600160a01b039485168152602081019390935292166040820152606081019190915260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000825160005b818110156106a4576020818601810151858301520161068a565b50600092019182525091905056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a2646970667358221220287284f0b2cba3425307c1f92e923a3146136e8780a509884e8e292f41d2073864736f6c63430008110033",
176
+ "bytecode": "0x608060405234801561001057600080fd5b50600154600160a81b900460ff1615808015610037575060018054600160a01b900460ff16105b8061006857506100503061015260201b6103661760201c565b158015610068575060018054600160a01b900460ff16145b6100d05760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6001805460ff60a01b1916600160a01b17905580156100fd576001805460ff60a81b1916600160a81b1790555b610105610161565b801561014c576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b506101e2565b6001600160a01b03163b151590565b600154600160a81b900460ff166101ce5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016100c7565b600080546001600160a01b03191633179055565b610708806101f16000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c8063078dfbe71461005c5780634e71e0c8146100715780638da5cb5b14610079578063be3397e9146100a9578063e30c3978146100cc575b600080fd5b61006f61006a36600461049b565b6100df565b005b61006f6101e5565b60005461008c906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b6100bc6100b736600461054a565b610290565b6040516100a09493929190610624565b60015461008c906001600160a01b031681565b6000546001600160a01b031633146101125760405162461bcd60e51b81526004016101099061064e565b60405180910390fd5b81156101c3576001600160a01b03831615158061012c5750805b6101705760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610109565b600080546040516001600160a01b03808716939216916000805160206106b383398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0385166001600160a01b0319909116179055505050565b6001546001600160a01b03163381146102405760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610109565b600080546040516001600160a01b03808516939216916000805160206106b383398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b600080548190819081906001600160a01b031633146102c15760405162461bcd60e51b81526004016101099061064e565b61030086868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061037592505050565b60405193975091955093509150610318908890610683565b60405180910390207fbc62a8a743e5565da3487dae8f72d8e62aba1c03b13971b56ace6da5812d9ac6858585856040516103559493929190610624565b60405180910390a293509350935093565b6001600160a01b03163b151590565b60008060008060008551116103ba5760405162461bcd60e51b815260206004820152600b60248201526a0f4cae4de40d8cadccee8d60ab1b6044820152606401610109565b84516002810480875293508381039150856103d4816103f8565b8786018051858252919750906103e9826103f8565b93909252529395929450919050565b80517f602038038060206000396000f3fefefefefefefefefefefefefefefefefefefe808352600091602081018484f090845291506001600160a01b0382166104805760405162461bcd60e51b815260206004820152601a6024820152792222a82627aca6a2a72a2fa320a4a622a22fa120a620a721a2a960311b6044820152606401610109565b50919050565b8035801515811461049657600080fd5b919050565b6000806000606084860312156104b057600080fd5b83356001600160a01b03811681146104c757600080fd5b92506104d560208501610486565b91506104e360408501610486565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b60008083601f84011261051457600080fd5b5081356001600160401b0381111561052b57600080fd5b60208301915083602082850101111561054357600080fd5b9250929050565b60008060006040848603121561055f57600080fd5b83356001600160401b038082111561057657600080fd5b818601915086601f83011261058a57600080fd5b81358181111561059c5761059c6104ec565b604051601f8201601f19908116603f011681019083821181831017156105c4576105c46104ec565b816040528281528960208487010111156105dd57600080fd5b82602086016020830137600060208483010152809750505050602086013591508082111561060a57600080fd5b5061061786828701610502565b9497909650939450505050565b6001600160a01b039485168152602081019390935292166040820152606081019190915260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000825160005b818110156106a4576020818601810151858301520161068a565b50600092019182525091905056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a2646970667358221220d0a6d3f6fb73826443b6a6abb786a1ace73706e4cfc454d9e72024b76e42a60764736f6c63430008110033",
177
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100575760003560e01c8063078dfbe71461005c5780634e71e0c8146100715780638da5cb5b14610079578063be3397e9146100a9578063e30c3978146100cc575b600080fd5b61006f61006a36600461049b565b6100df565b005b61006f6101e5565b60005461008c906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b6100bc6100b736600461054a565b610290565b6040516100a09493929190610624565b60015461008c906001600160a01b031681565b6000546001600160a01b031633146101125760405162461bcd60e51b81526004016101099061064e565b60405180910390fd5b81156101c3576001600160a01b03831615158061012c5750805b6101705760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610109565b600080546040516001600160a01b03808716939216916000805160206106b383398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0385166001600160a01b0319909116179055505050565b6001546001600160a01b03163381146102405760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610109565b600080546040516001600160a01b03808516939216916000805160206106b383398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b600080548190819081906001600160a01b031633146102c15760405162461bcd60e51b81526004016101099061064e565b61030086868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061037592505050565b60405193975091955093509150610318908890610683565b60405180910390207fbc62a8a743e5565da3487dae8f72d8e62aba1c03b13971b56ace6da5812d9ac6858585856040516103559493929190610624565b60405180910390a293509350935093565b6001600160a01b03163b151590565b60008060008060008551116103ba5760405162461bcd60e51b815260206004820152600b60248201526a0f4cae4de40d8cadccee8d60ab1b6044820152606401610109565b84516002810480875293508381039150856103d4816103f8565b8786018051858252919750906103e9826103f8565b93909252529395929450919050565b80517f602038038060206000396000f3fefefefefefefefefefefefefefefefefefefe808352600091602081018484f090845291506001600160a01b0382166104805760405162461bcd60e51b815260206004820152601a6024820152792222a82627aca6a2a72a2fa320a4a622a22fa120a620a721a2a960311b6044820152606401610109565b50919050565b8035801515811461049657600080fd5b919050565b6000806000606084860312156104b057600080fd5b83356001600160a01b03811681146104c757600080fd5b92506104d560208501610486565b91506104e360408501610486565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b60008083601f84011261051457600080fd5b5081356001600160401b0381111561052b57600080fd5b60208301915083602082850101111561054357600080fd5b9250929050565b60008060006040848603121561055f57600080fd5b83356001600160401b038082111561057657600080fd5b818601915086601f83011261058a57600080fd5b81358181111561059c5761059c6104ec565b604051601f8201601f19908116603f011681019083821181831017156105c4576105c46104ec565b816040528281528960208487010111156105dd57600080fd5b82602086016020830137600060208483010152809750505050602086013591508082111561060a57600080fd5b5061061786828701610502565b9497909650939450505050565b6001600160a01b039485168152602081019390935292166040820152606081019190915260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000825160005b818110156106a4576020818601810151858301520161068a565b50600092019182525091905056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a2646970667358221220d0a6d3f6fb73826443b6a6abb786a1ace73706e4cfc454d9e72024b76e42a60764736f6c63430008110033",
178
178
  "linkReferences": {},
179
179
  "deployedLinkReferences": {}
180
180
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/bc10d37f9413e18067fa5fd704985873.json"
3
+ "buildInfo": "../../../build-info/c903e44682e9984e8b43d3e35c278579.json"
4
4
  }
@@ -5,35 +5,61 @@
5
5
  "abi": [
6
6
  {
7
7
  "inputs": [
8
+ {
9
+ "internalType": "contract IPBulkSeller",
10
+ "name": "bulk",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "calcCurrentRates",
15
+ "outputs": [
8
16
  {
9
17
  "internalType": "uint256",
10
- "name": "currentAmount",
18
+ "name": "rateTokenToSy",
11
19
  "type": "uint256"
12
20
  },
13
21
  {
14
22
  "internalType": "uint256",
15
- "name": "requiredAmount",
23
+ "name": "rateSyToToken",
16
24
  "type": "uint256"
17
25
  }
18
26
  ],
19
- "name": "BulkInsufficientSyForTrade",
20
- "type": "error"
27
+ "stateMutability": "view",
28
+ "type": "function"
21
29
  },
22
30
  {
23
31
  "inputs": [
32
+ {
33
+ "internalType": "contract IPBulkSeller",
34
+ "name": "bulk",
35
+ "type": "address"
36
+ },
37
+ {
38
+ "internalType": "uint256",
39
+ "name": "hypoTotalToken",
40
+ "type": "uint256"
41
+ },
42
+ {
43
+ "internalType": "uint256",
44
+ "name": "hypoTotalSy",
45
+ "type": "uint256"
46
+ }
47
+ ],
48
+ "name": "calcCurrentRatesWithAmount",
49
+ "outputs": [
24
50
  {
25
51
  "internalType": "uint256",
26
- "name": "currentAmount",
52
+ "name": "rateTokenToSy",
27
53
  "type": "uint256"
28
54
  },
29
55
  {
30
56
  "internalType": "uint256",
31
- "name": "requiredAmount",
57
+ "name": "rateSyToToken",
32
58
  "type": "uint256"
33
59
  }
34
60
  ],
35
- "name": "BulkInsufficientTokenForTrade",
36
- "type": "error"
61
+ "stateMutability": "view",
62
+ "type": "function"
37
63
  },
38
64
  {
39
65
  "inputs": [
@@ -43,16 +69,48 @@
43
69
  "type": "address"
44
70
  }
45
71
  ],
46
- "name": "calcCurrentRates",
72
+ "name": "getCurrentState",
47
73
  "outputs": [
74
+ {
75
+ "components": [
76
+ {
77
+ "internalType": "uint256",
78
+ "name": "rateTokenToSy",
79
+ "type": "uint256"
80
+ },
81
+ {
82
+ "internalType": "uint256",
83
+ "name": "rateSyToToken",
84
+ "type": "uint256"
85
+ },
86
+ {
87
+ "internalType": "uint256",
88
+ "name": "totalToken",
89
+ "type": "uint256"
90
+ },
91
+ {
92
+ "internalType": "uint256",
93
+ "name": "totalSy",
94
+ "type": "uint256"
95
+ },
96
+ {
97
+ "internalType": "uint256",
98
+ "name": "feeRate",
99
+ "type": "uint256"
100
+ }
101
+ ],
102
+ "internalType": "struct BulkSellerState",
103
+ "name": "state",
104
+ "type": "tuple"
105
+ },
48
106
  {
49
107
  "internalType": "uint256",
50
- "name": "rateTokenToSy",
108
+ "name": "tokenProp",
51
109
  "type": "uint256"
52
110
  },
53
111
  {
54
112
  "internalType": "uint256",
55
- "name": "rateSyToToken",
113
+ "name": "hypoTokenBal",
56
114
  "type": "uint256"
57
115
  }
58
116
  ],
@@ -60,8 +118,8 @@
60
118
  "type": "function"
61
119
  }
62
120
  ],
63
- "bytecode": "0x608060405234801561001057600080fd5b50610601806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063c307974d14610030575b600080fd5b61004361003e36600461045c565b61005c565b6040805192835260208301919091520160405180910390f35b6000806000836001600160a01b0316632778c3346040518163ffffffff1660e01b815260040160a060405180830381865afa15801561009f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100c39190610480565b90506000846001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa158015610105573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061012991906104fd565b90506000856001600160a01b031663fc0c546a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561016b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061018f91906104fd565b905060006101aa8460600151856102ef90919063ffffffff16565b84604001516101b99190610530565b90506000836001600160a01b031663b8f82b2684846040518363ffffffff1660e01b81526004016101eb929190610543565b602060405180830381865afa158015610208573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061022c919061055c565b9050610238818361037c565b9650505060006102558460400151856103ad90919063ffffffff16565b84606001516102649190610530565b90506000836001600160a01b031663cbe52ae384846040518363ffffffff1660e01b8152600401610296929190610543565b602060405180830381865afa1580156102b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d7919061055c565b90506102e3818361037c565b95505050505050915091565b6000806103188460800151670de0b6b3a764000061030d9190610575565b602086015190610426565b90508060000361032a5761032a610588565b6103348382610426565b9150836040015182111561037557836040015182604051631895cd1f60e01b815260040161036c929190918252602082015260400190565b60405180910390fd5b5092915050565b600080610391670de0b6b3a76400008561059e565b90508281816103a2576103a26105b5565b049150505b92915050565b6000806103d38460800151670de0b6b3a76400006103cb9190610575565b855190610426565b9050806000036103e5576103e5610588565b6103ef8382610426565b9150836060015182111561037557606084015160405163035c130560e21b815260048101919091526024810183905260440161036c565b600080610433838561059e565b9050670de0b6b3a7640000816103a2565b6001600160a01b038116811461045957600080fd5b50565b60006020828403121561046e57600080fd5b813561047981610444565b9392505050565b600060a0828403121561049257600080fd5b60405160a081016001600160401b03811182821017156104c257634e487b7160e01b600052604160045260246000fd5b806040525082518152602083015160208201526040830151604082015260608301516060820152608083015160808201528091505092915050565b60006020828403121561050f57600080fd5b815161047981610444565b634e487b7160e01b600052601160045260246000fd5b808201808211156103a7576103a761051a565b6001600160a01b03929092168252602082015260400190565b60006020828403121561056e57600080fd5b5051919050565b818103818111156103a7576103a761051a565b634e487b7160e01b600052600160045260246000fd5b80820281158282048414176103a7576103a761051a565b634e487b7160e01b600052601260045260246000fdfea26469706673582212200ce8a41172593fd17445e2cc44a256c31fc596716a4af16bcba834a2141f63fd64736f6c63430008110033",
64
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063c307974d14610030575b600080fd5b61004361003e36600461045c565b61005c565b6040805192835260208301919091520160405180910390f35b6000806000836001600160a01b0316632778c3346040518163ffffffff1660e01b815260040160a060405180830381865afa15801561009f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100c39190610480565b90506000846001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa158015610105573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061012991906104fd565b90506000856001600160a01b031663fc0c546a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561016b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061018f91906104fd565b905060006101aa8460600151856102ef90919063ffffffff16565b84604001516101b99190610530565b90506000836001600160a01b031663b8f82b2684846040518363ffffffff1660e01b81526004016101eb929190610543565b602060405180830381865afa158015610208573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061022c919061055c565b9050610238818361037c565b9650505060006102558460400151856103ad90919063ffffffff16565b84606001516102649190610530565b90506000836001600160a01b031663cbe52ae384846040518363ffffffff1660e01b8152600401610296929190610543565b602060405180830381865afa1580156102b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d7919061055c565b90506102e3818361037c565b95505050505050915091565b6000806103188460800151670de0b6b3a764000061030d9190610575565b602086015190610426565b90508060000361032a5761032a610588565b6103348382610426565b9150836040015182111561037557836040015182604051631895cd1f60e01b815260040161036c929190918252602082015260400190565b60405180910390fd5b5092915050565b600080610391670de0b6b3a76400008561059e565b90508281816103a2576103a26105b5565b049150505b92915050565b6000806103d38460800151670de0b6b3a76400006103cb9190610575565b855190610426565b9050806000036103e5576103e5610588565b6103ef8382610426565b9150836060015182111561037557606084015160405163035c130560e21b815260048101919091526024810183905260440161036c565b600080610433838561059e565b9050670de0b6b3a7640000816103a2565b6001600160a01b038116811461045957600080fd5b50565b60006020828403121561046e57600080fd5b813561047981610444565b9392505050565b600060a0828403121561049257600080fd5b60405160a081016001600160401b03811182821017156104c257634e487b7160e01b600052604160045260246000fd5b806040525082518152602083015160208201526040830151604082015260608301516060820152608083015160808201528091505092915050565b60006020828403121561050f57600080fd5b815161047981610444565b634e487b7160e01b600052601160045260246000fd5b808201808211156103a7576103a761051a565b6001600160a01b03929092168252602082015260400190565b60006020828403121561056e57600080fd5b5051919050565b818103818111156103a7576103a761051a565b634e487b7160e01b600052600160045260246000fd5b80820281158282048414176103a7576103a761051a565b634e487b7160e01b600052601260045260246000fdfea26469706673582212200ce8a41172593fd17445e2cc44a256c31fc596716a4af16bcba834a2141f63fd64736f6c63430008110033",
121
+ "bytecode": "0x608060405234801561001057600080fd5b50610991806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80638718323e146100465780638d51e8f0146100a7578063c307974d146100cf575b600080fd5b6100596100543660046107e0565b6100e2565b6040805184518152602080860151908201528482015191810191909152606080850151908201526080938401519381019390935260a083019190915260c082015260e0015b60405180910390f35b6100ba6100b5366004610804565b6102d2565b6040805192835260208301919091520161009e565b6100ba6100dd3660046107e0565b6104ab565b6101146040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b600080836001600160a01b0316632778c3346040518163ffffffff1660e01b815260040160a060405180830381865afa158015610155573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101799190610839565b92506101848361073d565b9150836001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101e891906108b6565b6001600160a01b031663cbe52ae3856001600160a01b031663fc0c546a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610234573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061025891906108b6565b85606001516040518363ffffffff1660e01b815260040161027a9291906108d3565b602060405180830381865afa158015610297573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102bb91906108ec565b83604001516102ca919061091b565b929491935050565b6000806000856001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa158015610315573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061033991906108b6565b90506000866001600160a01b031663fc0c546a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561037b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061039f91906108b6565b90506000826001600160a01b031663b8f82b2683896040518363ffffffff1660e01b81526004016103d19291906108d3565b602060405180830381865afa1580156103ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041291906108ec565b905061041e8188610779565b9450506000826001600160a01b031663cbe52ae383886040518363ffffffff1660e01b81526004016104519291906108d3565b602060405180830381865afa15801561046e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049291906108ec565b905061049e8187610779565b9350505050935093915050565b6000806000836001600160a01b0316632778c3346040518163ffffffff1660e01b815260040160a060405180830381865afa1580156104ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105129190610839565b90506000846001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa158015610554573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057891906108b6565b90506000856001600160a01b031663fc0c546a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105de91906108b6565b905060006105fd846020015185606001516107aa90919063ffffffff16565b846040015161060c919061091b565b90506000836001600160a01b031663b8f82b2684846040518363ffffffff1660e01b815260040161063e9291906108d3565b602060405180830381865afa15801561065b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067f91906108ec565b905061068b8183610779565b85516040870151919850600093506106a392506107aa565b84606001516106b2919061091b565b90506000836001600160a01b031663cbe52ae384846040518363ffffffff1660e01b81526004016106e49291906108d3565b602060405180830381865afa158015610701573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072591906108ec565b90506107318183610779565b95505050505050915091565b60408101516020820151606083015160009291839161075b916107aa565b905061077161076a828461091b565b8390610779565b949350505050565b60008061078e670de0b6b3a76400008561092e565b905082818161079f5761079f610945565b049150505b92915050565b6000806107b7838561092e565b9050670de0b6b3a76400008161079f565b6001600160a01b03811681146107dd57600080fd5b50565b6000602082840312156107f257600080fd5b81356107fd816107c8565b9392505050565b60008060006060848603121561081957600080fd5b8335610824816107c8565b95602085013595506040909401359392505050565b600060a0828403121561084b57600080fd5b60405160a081016001600160401b038111828210171561087b57634e487b7160e01b600052604160045260246000fd5b806040525082518152602083015160208201526040830151604082015260608301516060820152608083015160808201528091505092915050565b6000602082840312156108c857600080fd5b81516107fd816107c8565b6001600160a01b03929092168252602082015260400190565b6000602082840312156108fe57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156107a4576107a4610905565b80820281158282048414176107a4576107a4610905565b634e487b7160e01b600052601260045260246000fdfea2646970667358221220a572e3a87075290b70a80b95f2ff5d5dd09c62eb23f37478befc0004e4740f3f64736f6c63430008110033",
122
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c80638718323e146100465780638d51e8f0146100a7578063c307974d146100cf575b600080fd5b6100596100543660046107e0565b6100e2565b6040805184518152602080860151908201528482015191810191909152606080850151908201526080938401519381019390935260a083019190915260c082015260e0015b60405180910390f35b6100ba6100b5366004610804565b6102d2565b6040805192835260208301919091520161009e565b6100ba6100dd3660046107e0565b6104ab565b6101146040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b600080836001600160a01b0316632778c3346040518163ffffffff1660e01b815260040160a060405180830381865afa158015610155573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101799190610839565b92506101848361073d565b9150836001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101e891906108b6565b6001600160a01b031663cbe52ae3856001600160a01b031663fc0c546a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610234573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061025891906108b6565b85606001516040518363ffffffff1660e01b815260040161027a9291906108d3565b602060405180830381865afa158015610297573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102bb91906108ec565b83604001516102ca919061091b565b929491935050565b6000806000856001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa158015610315573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061033991906108b6565b90506000866001600160a01b031663fc0c546a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561037b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061039f91906108b6565b90506000826001600160a01b031663b8f82b2683896040518363ffffffff1660e01b81526004016103d19291906108d3565b602060405180830381865afa1580156103ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041291906108ec565b905061041e8188610779565b9450506000826001600160a01b031663cbe52ae383886040518363ffffffff1660e01b81526004016104519291906108d3565b602060405180830381865afa15801561046e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049291906108ec565b905061049e8187610779565b9350505050935093915050565b6000806000836001600160a01b0316632778c3346040518163ffffffff1660e01b815260040160a060405180830381865afa1580156104ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105129190610839565b90506000846001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa158015610554573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057891906108b6565b90506000856001600160a01b031663fc0c546a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105de91906108b6565b905060006105fd846020015185606001516107aa90919063ffffffff16565b846040015161060c919061091b565b90506000836001600160a01b031663b8f82b2684846040518363ffffffff1660e01b815260040161063e9291906108d3565b602060405180830381865afa15801561065b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067f91906108ec565b905061068b8183610779565b85516040870151919850600093506106a392506107aa565b84606001516106b2919061091b565b90506000836001600160a01b031663cbe52ae384846040518363ffffffff1660e01b81526004016106e49291906108d3565b602060405180830381865afa158015610701573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072591906108ec565b90506107318183610779565b95505050505050915091565b60408101516020820151606083015160009291839161075b916107aa565b905061077161076a828461091b565b8390610779565b949350505050565b60008061078e670de0b6b3a76400008561092e565b905082818161079f5761079f610945565b049150505b92915050565b6000806107b7838561092e565b9050670de0b6b3a76400008161079f565b6001600160a01b03811681146107dd57600080fd5b50565b6000602082840312156107f257600080fd5b81356107fd816107c8565b9392505050565b60008060006060848603121561081957600080fd5b8335610824816107c8565b95602085013595506040909401359392505050565b600060a0828403121561084b57600080fd5b60405160a081016001600160401b038111828210171561087b57634e487b7160e01b600052604160045260246000fd5b806040525082518152602083015160208201526040830151604082015260608301516060820152608083015160808201528091505092915050565b6000602082840312156108c857600080fd5b81516107fd816107c8565b6001600160a01b03929092168252602082015260400190565b6000602082840312156108fe57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156107a4576107a4610905565b80820281158282048414176107a4576107a4610905565b634e487b7160e01b600052601260045260246000fdfea2646970667358221220a572e3a87075290b70a80b95f2ff5d5dd09c62eb23f37478befc0004e4740f3f64736f6c63430008110033",
65
123
  "linkReferences": {},
66
124
  "deployedLinkReferences": {}
67
125
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/bc10d37f9413e18067fa5fd704985873.json"
3
+ "buildInfo": "../../../build-info/3e8778582196fe1911d74fe5ae7e13a1.json"
4
4
  }