@pendle/core-v2 2.6.0-mainnet → 2.8.0-mainnet

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (606) 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/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
  12. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
  14. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
  16. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
  18. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  21. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  22. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  23. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  24. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  25. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  26. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  27. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  28. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  29. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  30. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +2 -2
  33. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +2 -2
  35. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
  37. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  39. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
  41. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
  44. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
  46. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
  54. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +2 -2
  55. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.dbg.json +4 -0
  56. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.json +1145 -0
  57. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.dbg.json +4 -0
  58. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.json +1145 -0
  59. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.dbg.json +4 -0
  60. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.json +1145 -0
  61. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.dbg.json +4 -0
  62. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.json +1145 -0
  63. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.dbg.json +1 -1
  64. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +1 -1
  65. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +1 -1
  66. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.json +2 -2
  67. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.dbg.json +4 -0
  68. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/{PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.json → PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.json} +7 -54
  69. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +1 -1
  70. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +1 -1
  71. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  72. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
  73. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  74. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
  75. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
  76. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +2 -2
  77. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
  78. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +2 -2
  79. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
  80. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
  81. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
  82. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  83. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.dbg.json +1 -1
  84. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
  85. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.json +2 -2
  86. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
  87. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.json +2 -2
  88. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
  89. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +2 -2
  90. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.dbg.json +4 -0
  91. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.json +987 -0
  92. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +1 -1
  93. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.json +2 -2
  94. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  95. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -2
  96. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  97. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  98. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
  99. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  100. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
  101. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  102. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  103. package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.dbg.json +1 -1
  104. package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +1 -1
  105. package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.json +2 -2
  106. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
  107. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.json +2 -2
  108. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
  109. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.json +2 -2
  110. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  111. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  112. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  113. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  114. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  115. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
  116. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  117. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  118. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +7 -2
  119. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  120. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  121. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  122. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  123. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  124. package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.dbg.json +1 -1
  137. package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.dbg.json +1 -1
  138. package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +1 -1
  139. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
  140. package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +1 -1
  141. package/build/artifacts/contracts/interfaces/Frax/IFrxEthMinter.sol/IFrxEthMinter.dbg.json +4 -0
  142. package/build/artifacts/contracts/interfaces/Frax/IFrxEthMinter.sol/IFrxEthMinter.json +56 -0
  143. package/build/artifacts/contracts/interfaces/GMX/IGMXVault.sol/IGMXVault.dbg.json +1 -1
  144. package/build/artifacts/contracts/interfaces/GMX/IGlpManager.sol/IGlpManager.dbg.json +1 -1
  145. package/build/artifacts/contracts/interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.dbg.json +1 -1
  146. package/build/artifacts/contracts/interfaces/GMX/IVaultPriceFeed.sol/IVaultPriceFeed.dbg.json +1 -1
  147. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  148. package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
  149. package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
  150. package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
  151. package/build/artifacts/contracts/interfaces/IDiamondCut.sol/IDiamondCut.dbg.json +1 -1
  152. package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.dbg.json +1 -1
  153. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  154. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  155. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  156. package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.dbg.json +1 -1
  157. package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.dbg.json +1 -1
  158. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  159. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  160. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  161. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  162. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  163. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  164. package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.dbg.json +1 -1
  165. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  166. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  167. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  168. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  169. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  170. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
  171. package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +1 -1
  172. package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.dbg.json +1 -1
  173. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  174. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  175. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  176. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  177. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  178. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  179. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  180. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  181. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  182. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  183. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  184. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  185. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  186. package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.dbg.json +1 -1
  187. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  188. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  189. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  190. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  191. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  192. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  193. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  194. package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
  195. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
  196. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
  197. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  198. package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
  199. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  200. package/build/artifacts/contracts/interfaces/IStargateLP.sol/IStargateLP.dbg.json +1 -1
  201. package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
  202. package/build/artifacts/contracts/interfaces/IStargateStaking.sol/IStargateStaking.dbg.json +1 -1
  203. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  204. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  205. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  206. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  207. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  208. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
  209. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
  210. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -2
  211. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  212. package/build/artifacts/contracts/offchain-helpers/PendleMulticall.sol/PendleMulticall.dbg.json +1 -1
  213. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  214. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  215. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  216. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  217. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  218. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  219. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  220. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  221. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  222. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  223. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  224. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  225. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  226. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  227. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  228. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  229. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +2 -2
  230. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  231. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
  232. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
  233. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  234. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
  235. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  236. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
  237. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  238. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
  239. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
  240. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.json +2 -2
  241. package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
  242. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  243. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  244. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  245. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  246. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  247. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  248. package/build/artifacts/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +1 -1
  249. package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +1 -1
  250. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  251. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapArbitrum.sol/PendleSwapArbitrum.dbg.json +1 -1
  252. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapArbitrum.sol/PendleSwapArbitrum.json +2 -2
  253. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapEthereum.sol/PendleSwapEthereum.dbg.json +1 -1
  254. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapEthereum.sol/PendleSwapEthereum.json +2 -2
  255. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
  256. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IExecutorHelper1.sol/IExecutorHelper1.dbg.json +1 -1
  257. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IExecutorHelper2.sol/IExecutorHelper2.dbg.json +1 -1
  258. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IHashflow.sol/IHashflow.dbg.json +1 -1
  259. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
  260. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/KyberHelperArbitrum.sol/KyberHelperArbitrum.dbg.json +1 -1
  261. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/ScaleDataHelperArbitrum.sol/ScaleDataHelperArbitrum.dbg.json +1 -1
  262. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
  263. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.dbg.json +1 -1
  264. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IHashflow.sol/IHashflow.dbg.json +1 -1
  265. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
  266. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/KyberHelperEthereum.sol/KyberHelperEthereum.dbg.json +1 -1
  267. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/ScaleDataHelperEthereum.sol/ScaleDataHelperEthereum.dbg.json +1 -1
  268. package/contracts/core/StandardizedYield/SYBaseWithRewards.sol +19 -7
  269. package/contracts/core/StandardizedYield/implementations/BalancerStable/{PendleAuraWethAnkrethSY.sol → PendleAuraWethAnkrethSYV2.sol} +23 -15
  270. package/contracts/core/StandardizedYield/implementations/BalancerStable/{PendleAuraWethRethSY.sol → PendleAuraWethRocketEthSYV2.sol} +34 -25
  271. package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol +135 -0
  272. package/contracts/core/StandardizedYield/implementations/BalancerStable/{PendleAuraWethWstethSY.sol → PendleAuraWethWstethSYV2.sol} +23 -15
  273. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/{PendleAuraBalancerStableLPSY.sol → PendleAuraBalancerStableLPSYV2.sol} +76 -33
  274. package/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol +132 -0
  275. package/contracts/core/libraries/Errors.sol +2 -0
  276. package/contracts/interfaces/Balancer/IVault.sol +21 -4
  277. package/contracts/interfaces/Frax/IFrxEthMinter.sol +10 -0
  278. package/deployments/1-markets/BALANCER-LP-AURA-ANKRETH-WETH-SEP-26-2024.json +11 -0
  279. package/deployments/1-markets/BALANCER-LP-AURA-RETH-WETH-DEC-26-2024.json +11 -0
  280. package/deployments/1-markets/BALANCER-LP-AURA-STAFI-RETH-WETH-JUNE-27-2024.json +11 -0
  281. package/deployments/1-markets/SFRXETH-26DEC2024.json +10 -0
  282. package/deployments/1-markets/STETH-25DEC2025.json +10 -0
  283. package/package.json +3 -3
  284. package/typechain-types/{ICelerMessageBus.ts → IFrxEthMinter.ts} +53 -45
  285. package/typechain-types/IPPtAssetOracle.ts +115 -0
  286. package/typechain-types/{IPVotingControllerStorage.ts → IPPtOracle.ts} +68 -72
  287. package/typechain-types/{IPGovernanceManager.ts → IPPtUsdOracle.ts} +26 -13
  288. package/typechain-types/PendleAuraBalancerStableLPSYV2.ts +1457 -0
  289. package/typechain-types/{PendleStargateLP.ts → PendleAuraWethAnkrethSYV2.ts} +162 -148
  290. package/typechain-types/PendleAuraWethRocketEthSYV2.ts +1456 -0
  291. package/typechain-types/{PendleAuraCbethWstethSY.ts → PendleAuraWethStafiEthSY.ts} +5 -136
  292. package/typechain-types/{PendleAura3EthSY.ts → PendleAuraWethWstethSYV2.ts} +5 -149
  293. package/typechain-types/PendleOracleFactory.ts +251 -0
  294. package/typechain-types/PendlePtAssetOracle.ts +30 -9
  295. package/typechain-types/{PendlePtOracleBase.ts → PendlePtGlpOracle.ts} +19 -39
  296. package/typechain-types/PendlePtOracle.ts +207 -0
  297. package/typechain-types/{PendlePtUSDOracle.ts → PendlePtUsdChainlinkOracle.ts} +18 -59
  298. package/typechain-types/{PendlePtChainlinkOracle.ts → PendlePtUsdOracle.ts} +13 -86
  299. package/typechain-types/{SYBaseAutoCompound.ts → PendleSfrxEthSY.ts} +44 -5
  300. package/typechain-types/{PermissionsV2Upg.ts → PendleStafiEthSY.ts} +26 -13
  301. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
  302. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  303. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  304. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  305. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  306. package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
  307. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  308. package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
  309. package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
  310. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  311. package/typechain-types/factories/Broadcaster__factory.ts +1 -1
  312. package/typechain-types/factories/BulkSellerFactory__factory.ts +1 -1
  313. package/typechain-types/factories/BulkSellerOffchain__factory.ts +1 -1
  314. package/typechain-types/factories/BulkSeller__factory.ts +1 -1
  315. package/typechain-types/factories/Errors__factory.ts +6 -1
  316. package/typechain-types/factories/{StEthHelper__factory.ts → IFrxEthMinter__factory.ts} +19 -13
  317. package/typechain-types/factories/{GMXPreviewHelper__factory.ts → IPPtAssetOracle__factory.ts} +19 -19
  318. package/typechain-types/factories/IPPtOracle__factory.ts +81 -0
  319. package/typechain-types/factories/IPPtUsdOracle__factory.ts +49 -0
  320. package/typechain-types/factories/MetaStablePreview__factory.ts +1 -1
  321. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  322. package/typechain-types/factories/{SYBaseAutoCompound__factory.ts → PendleAuraBalancerStableLPSYV2__factory.ts} +211 -10
  323. package/typechain-types/factories/PendleAuraWethAnkrethSYV2__factory.ts +1218 -0
  324. package/typechain-types/factories/PendleAuraWethRocketEthSYV2__factory.ts +1218 -0
  325. package/typechain-types/factories/PendleAuraWethStafiEthSY__factory.ts +1218 -0
  326. package/typechain-types/factories/PendleAuraWethWstethSYV2__factory.ts +1218 -0
  327. package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -1
  328. package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1 -1
  329. package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
  330. package/typechain-types/factories/PendleGDaiSY__factory.ts +1 -1
  331. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  332. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  333. package/typechain-types/factories/PendleGlpSY__factory.ts +1 -1
  334. package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -1
  335. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  336. package/typechain-types/factories/PendleMarket__factory.ts +1 -1
  337. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  338. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  339. package/typechain-types/factories/PendleOracleFactory__factory.ts +258 -0
  340. package/typechain-types/factories/PendlePrincipalTokenV2__factory.ts +1 -1
  341. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  342. package/typechain-types/factories/PendlePtAssetOracle__factory.ts +18 -18
  343. package/typechain-types/factories/PendlePtGlpOracle__factory.ts +198 -0
  344. package/typechain-types/factories/PendlePtOracle__factory.ts +187 -0
  345. package/typechain-types/factories/PendlePtUsdChainlinkOracle__factory.ts +228 -0
  346. package/typechain-types/factories/PendlePtUsdOracle__factory.ts +153 -0
  347. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  348. package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
  349. package/typechain-types/factories/PendleRouterHelper__factory.ts +1 -1
  350. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  351. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  352. package/typechain-types/factories/PendleSfrxEthSY__factory.ts +1051 -0
  353. package/typechain-types/factories/PendleStafiEthSY__factory.ts +118 -0
  354. package/typechain-types/factories/PendleStargateLPSY__factory.ts +1 -1
  355. package/typechain-types/factories/PendleSwapArbitrum__factory.ts +1 -1
  356. package/typechain-types/factories/PendleSwapEthereum__factory.ts +1 -1
  357. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
  358. package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
  359. package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +1 -1
  360. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  361. package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1 -1
  362. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  363. package/typechain-types/factories/SAPE__factory.ts +1 -1
  364. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  365. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  366. package/typechain-types/hardhat.d.ts +89 -53
  367. package/typechain-types/index.ts +22 -12
  368. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol/PendleAuraWethAnkrethSY.dbg.json +0 -4
  369. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol/PendleAuraWethAnkrethSY.json +0 -1192
  370. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.dbg.json +0 -4
  371. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.json +0 -1218
  372. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.dbg.json +0 -4
  373. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.json +0 -1192
  374. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.dbg.json +0 -4
  375. package/typechain-types/AccessControl.ts +0 -360
  376. package/typechain-types/ActionBaseMintRedeem.ts +0 -87
  377. package/typechain-types/ActionCallback.ts +0 -134
  378. package/typechain-types/ActionCore.ts +0 -1758
  379. package/typechain-types/ActionSCYAndPTBase.ts +0 -87
  380. package/typechain-types/ActionSCYAndPYBase.ts +0 -87
  381. package/typechain-types/ActionSCYAndYTBase.ts +0 -87
  382. package/typechain-types/ActionSwapPTYT.ts +0 -237
  383. package/typechain-types/ActionYT.ts +0 -509
  384. package/typechain-types/AggregationRouterHelper.ts +0 -392
  385. package/typechain-types/BaseSplitCodeFactory.ts +0 -118
  386. package/typechain-types/BoringOwnable.ts +0 -194
  387. package/typechain-types/BoringOwnableData.ts +0 -100
  388. package/typechain-types/BribeDistributor.ts +0 -363
  389. package/typechain-types/CelerReceiverUpg.ts +0 -372
  390. package/typechain-types/CelerSenderUpg.ts +0 -321
  391. package/typechain-types/ComposableStablePreview.ts +0 -217
  392. package/typechain-types/Curve3CrvPoolHelper.ts +0 -236
  393. package/typechain-types/CurveFraxUsdcPoolHelper.ts +0 -158
  394. package/typechain-types/CurveUsdd3CrvPoolHelper.ts +0 -184
  395. package/typechain-types/DistributorBase.ts +0 -363
  396. package/typechain-types/ERC165.ts +0 -102
  397. package/typechain-types/ERC1967UpgradeUpgradeable.ts +0 -97
  398. package/typechain-types/EpochResultManager.ts +0 -261
  399. package/typechain-types/FeeDistributor.ts +0 -416
  400. package/typechain-types/FeeDistributorAbstract.ts +0 -240
  401. package/typechain-types/FeeDistributorVePendle.ts +0 -81
  402. package/typechain-types/FeeDistributorVoting.ts +0 -272
  403. package/typechain-types/FeeDistributorVotingFactory.ts +0 -293
  404. package/typechain-types/GMXPreviewHelper.ts +0 -121
  405. package/typechain-types/IAToken.ts +0 -386
  406. package/typechain-types/IAavePool.ts +0 -192
  407. package/typechain-types/IAaveRewardsController.ts +0 -148
  408. package/typechain-types/IAccessControl.ts +0 -305
  409. package/typechain-types/IAggregationRouterHelper.ts +0 -108
  410. package/typechain-types/IBeaconUpgradeable.ts +0 -87
  411. package/typechain-types/IBoringOwnableUpgradeable.ts +0 -114
  412. package/typechain-types/ICelerMessageReceiverApp.ts +0 -120
  413. package/typechain-types/IChainlinkAggregator.ts +0 -246
  414. package/typechain-types/IERC165.ts +0 -102
  415. package/typechain-types/IERC1822ProxiableUpgradeable.ts +0 -87
  416. package/typechain-types/IERC20Upgradeable.ts +0 -300
  417. package/typechain-types/IEulerEToken.ts +0 -320
  418. package/typechain-types/IEulerMarkets.ts +0 -204
  419. package/typechain-types/IKyberSwapAggregationRouterHelper.ts +0 -109
  420. package/typechain-types/IMetaAggregationRouter.ts +0 -213
  421. package/typechain-types/IMultihopRouter.ts +0 -209
  422. package/typechain-types/IMultihopRouterEthereum.ts +0 -209
  423. package/typechain-types/IPActionCore.ts +0 -1739
  424. package/typechain-types/IPActionSwapPTYT.ts +0 -237
  425. package/typechain-types/IPActionYT.ts +0 -490
  426. package/typechain-types/IPBatchSeller.ts +0 -234
  427. package/typechain-types/IPFeeDistributorFactory.ts +0 -101
  428. package/typechain-types/IPLiquidityMigrator.ts +0 -565
  429. package/typechain-types/IPVotingEscrow.ts +0 -344
  430. package/typechain-types/IPermissionsV2Upg.ts +0 -87
  431. package/typechain-types/IREDACTEDStaking.ts +0 -216
  432. package/typechain-types/ISAvax.ts +0 -430
  433. package/typechain-types/ISJoe.ts +0 -340
  434. package/typechain-types/ISiloPriceProvider.ts +0 -150
  435. package/typechain-types/IStargateLPStaking.ts +0 -251
  436. package/typechain-types/IStargatePool.ts +0 -223
  437. package/typechain-types/ISuperComposableYield.ts +0 -895
  438. package/typechain-types/ISwapAggregator.ts +0 -124
  439. package/typechain-types/IWAvax.ts +0 -380
  440. package/typechain-types/IWXBTRFLY.ts +0 -267
  441. package/typechain-types/IYearnVault.ts +0 -256
  442. package/typechain-types/ImplicitSwapfeeContract.ts +0 -149
  443. package/typechain-types/InputScalingHelper.ts +0 -108
  444. package/typechain-types/KyberSwapHelper.ts +0 -87
  445. package/typechain-types/MarketMathStatic.ts +0 -259
  446. package/typechain-types/OwnableUpgradeable.ts +0 -165
  447. package/typechain-types/Pendle3CrvAndTokenSCY.ts +0 -1215
  448. package/typechain-types/Pendle3CrvAndTokenSY.ts +0 -1243
  449. package/typechain-types/Pendle3CrvHelper.ts +0 -133
  450. package/typechain-types/Pendle3CrvTokenSCY.ts +0 -1150
  451. package/typechain-types/PendleAaveV3SCY.ts +0 -1088
  452. package/typechain-types/PendleApeStakingSY.ts +0 -1135
  453. package/typechain-types/PendleBatchSeller.ts +0 -648
  454. package/typechain-types/PendleConvex2TokensSY.ts +0 -1215
  455. package/typechain-types/PendleConvexCurveLP2PoolSCY.ts +0 -1215
  456. package/typechain-types/PendleConvexCurveLP3PoolSCY.ts +0 -1269
  457. package/typechain-types/PendleConvexCurveLP4PoolSCY.ts +0 -1288
  458. package/typechain-types/PendleConvexCurveLPSCY.ts +0 -1189
  459. package/typechain-types/PendleCvxCRVSCY.ts +0 -1104
  460. package/typechain-types/PendleERC4626SCY.ts +0 -950
  461. package/typechain-types/PendleEulerSCY.ts +0 -965
  462. package/typechain-types/PendleFeeDistributorAbstract.ts +0 -289
  463. package/typechain-types/PendleFeeDistributorFactory.ts +0 -591
  464. package/typechain-types/PendleFeeDistributorVoting.ts +0 -321
  465. package/typechain-types/PendleFeeDistributorVotingFactory.ts +0 -294
  466. package/typechain-types/PendleGovernanceManager.ts +0 -187
  467. package/typechain-types/PendleLooksStaking.ts +0 -1052
  468. package/typechain-types/PendlePtSingleAssetOracle.ts +0 -167
  469. package/typechain-types/PendleQiSAvaxSCY.ts +0 -1098
  470. package/typechain-types/PendleQiTokenSCY.ts +0 -1166
  471. package/typechain-types/PendleSAvaxSCY.ts +0 -962
  472. package/typechain-types/PendleSJoeSCY.ts +0 -1053
  473. package/typechain-types/PendleStargateSCY.ts +0 -1135
  474. package/typechain-types/PendleSwapAggregator.ts +0 -126
  475. package/typechain-types/PendleWstEthSCY.ts +0 -1040
  476. package/typechain-types/PendleYearnVaultSCY.ts +0 -963
  477. package/typechain-types/PtAMMArb.ts +0 -587
  478. package/typechain-types/PtFraxUsdcOracle.ts +0 -202
  479. package/typechain-types/PtStETHOracle.ts +0 -189
  480. package/typechain-types/RouterStatic.ts +0 -2939
  481. package/typechain-types/SCYBase.ts +0 -1001
  482. package/typechain-types/SCYBaseWithDynamicRewards.ts +0 -1063
  483. package/typechain-types/SCYBaseWithRewards.ts +0 -1094
  484. package/typechain-types/SSTORE2DeployerContract.ts +0 -242
  485. package/typechain-types/StEthHelper.ts +0 -107
  486. package/typechain-types/SwapAggregator.ts +0 -406
  487. package/typechain-types/factories/AccessControl__factory.ts +0 -227
  488. package/typechain-types/factories/ActionBaseMintRedeem__factory.ts +0 -43
  489. package/typechain-types/factories/ActionCallback__factory.ts +0 -223
  490. package/typechain-types/factories/ActionCore__factory.ts +0 -1863
  491. package/typechain-types/factories/ActionSCYAndPTBase__factory.ts +0 -39
  492. package/typechain-types/factories/ActionSCYAndPYBase__factory.ts +0 -39
  493. package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +0 -39
  494. package/typechain-types/factories/ActionSwapPTYT__factory.ts +0 -396
  495. package/typechain-types/factories/ActionYT__factory.ts +0 -499
  496. package/typechain-types/factories/AggregationRouterHelper__factory.ts +0 -281
  497. package/typechain-types/factories/BaseSplitCodeFactory__factory.ts +0 -102
  498. package/typechain-types/factories/BoringOwnableData__factory.ts +0 -90
  499. package/typechain-types/factories/BoringOwnable__factory.ts +0 -141
  500. package/typechain-types/factories/BribeDistributor__factory.ts +0 -303
  501. package/typechain-types/factories/CelerReceiverUpg__factory.ts +0 -205
  502. package/typechain-types/factories/CelerSenderUpg__factory.ts +0 -163
  503. package/typechain-types/factories/ComposableStablePreview__factory.ts +0 -190
  504. package/typechain-types/factories/Curve3CrvPoolHelper__factory.ts +0 -220
  505. package/typechain-types/factories/CurveFraxUsdcPoolHelper__factory.ts +0 -146
  506. package/typechain-types/factories/CurveUsdd3CrvPoolHelper__factory.ts +0 -172
  507. package/typechain-types/factories/DistributorBase__factory.ts +0 -249
  508. package/typechain-types/factories/ERC165__factory.ts +0 -39
  509. package/typechain-types/factories/ERC1967UpgradeUpgradeable__factory.ts +0 -75
  510. package/typechain-types/factories/EpochResultManager__factory.ts +0 -146
  511. package/typechain-types/factories/FeeDistributorAbstract__factory.ts +0 -127
  512. package/typechain-types/factories/FeeDistributorVePendle__factory.ts +0 -97
  513. package/typechain-types/factories/FeeDistributorVotingFactory__factory.ts +0 -211
  514. package/typechain-types/factories/FeeDistributorVoting__factory.ts +0 -219
  515. package/typechain-types/factories/FeeDistributor__factory.ts +0 -339
  516. package/typechain-types/factories/IAToken__factory.ts +0 -264
  517. package/typechain-types/factories/IAavePool__factory.ts +0 -99
  518. package/typechain-types/factories/IAaveRewardsController__factory.ts +0 -78
  519. package/typechain-types/factories/IAccessControl__factory.ts +0 -198
  520. package/typechain-types/factories/IAggregationRouterHelper__factory.ts +0 -54
  521. package/typechain-types/factories/IBeaconUpgradeable__factory.ts +0 -39
  522. package/typechain-types/factories/IBoringOwnableUpgradeable__factory.ts +0 -53
  523. package/typechain-types/factories/ICelerMessageBus__factory.ts +0 -68
  524. package/typechain-types/factories/ICelerMessageReceiverApp__factory.ts +0 -64
  525. package/typechain-types/factories/IChainlinkAggregator__factory.ts +0 -170
  526. package/typechain-types/factories/IERC165__factory.ts +0 -42
  527. package/typechain-types/factories/IERC1822ProxiableUpgradeable__factory.ts +0 -43
  528. package/typechain-types/factories/IERC20Upgradeable__factory.ts +0 -209
  529. package/typechain-types/factories/IEulerEToken__factory.ts +0 -174
  530. package/typechain-types/factories/IEulerMarkets__factory.ts +0 -99
  531. package/typechain-types/factories/IKyberSwapAggregationRouterHelper__factory.ts +0 -56
  532. package/typechain-types/factories/IMetaAggregationRouter__factory.ts +0 -202
  533. package/typechain-types/factories/IMultihopRouterEthereum__factory.ts +0 -155
  534. package/typechain-types/factories/IMultihopRouter__factory.ts +0 -151
  535. package/typechain-types/factories/IPActionCore__factory.ts +0 -1784
  536. package/typechain-types/factories/IPActionSwapPTYT__factory.ts +0 -205
  537. package/typechain-types/factories/IPActionYT__factory.ts +0 -435
  538. package/typechain-types/factories/IPBatchSeller__factory.ts +0 -132
  539. package/typechain-types/factories/IPFeeDistributorFactory__factory.ts +0 -86
  540. package/typechain-types/factories/IPGovernanceManager__factory.ts +0 -39
  541. package/typechain-types/factories/IPLiquidityMigrator__factory.ts +0 -677
  542. package/typechain-types/factories/IPVotingControllerStorage__factory.ts +0 -107
  543. package/typechain-types/factories/IPVotingEscrow__factory.ts +0 -250
  544. package/typechain-types/factories/IPermissionsV2Upg__factory.ts +0 -39
  545. package/typechain-types/factories/IREDACTEDStaking__factory.ts +0 -107
  546. package/typechain-types/factories/ISAvax__factory.ts +0 -208
  547. package/typechain-types/factories/ISJoe__factory.ts +0 -177
  548. package/typechain-types/factories/ISiloPriceProvider__factory.ts +0 -90
  549. package/typechain-types/factories/IStargateLPStaking__factory.ts +0 -152
  550. package/typechain-types/factories/IStargatePool__factory.ts +0 -147
  551. package/typechain-types/factories/ISuperComposableYield__factory.ts +0 -662
  552. package/typechain-types/factories/ISwapAggregator__factory.ts +0 -66
  553. package/typechain-types/factories/IWAvax__factory.ts +0 -261
  554. package/typechain-types/factories/IWXBTRFLY__factory.ts +0 -144
  555. package/typechain-types/factories/IYearnVault__factory.ts +0 -160
  556. package/typechain-types/factories/ImplicitSwapfeeContract__factory.ts +0 -239
  557. package/typechain-types/factories/InputScalingHelper__factory.ts +0 -88
  558. package/typechain-types/factories/KyberSwapHelper__factory.ts +0 -39
  559. package/typechain-types/factories/MarketMathStatic__factory.ts +0 -312
  560. package/typechain-types/factories/OwnableUpgradeable__factory.ts +0 -78
  561. package/typechain-types/factories/Pendle3CrvAndTokenSCY__factory.ts +0 -1130
  562. package/typechain-types/factories/Pendle3CrvAndTokenSY__factory.ts +0 -1106
  563. package/typechain-types/factories/Pendle3CrvHelper__factory.ts +0 -129
  564. package/typechain-types/factories/Pendle3CrvTokenSCY__factory.ts +0 -996
  565. package/typechain-types/factories/PendleAaveV3SCY__factory.ts +0 -874
  566. package/typechain-types/factories/PendleApeStakingSY__factory.ts +0 -981
  567. package/typechain-types/factories/PendleAura3EthSY__factory.ts +0 -1326
  568. package/typechain-types/factories/PendleAuraCbethWstethSY__factory.ts +0 -1317
  569. package/typechain-types/factories/PendleBatchSeller__factory.ts +0 -480
  570. package/typechain-types/factories/PendleConvex2TokensSY__factory.ts +0 -1093
  571. package/typechain-types/factories/PendleConvexCurveLP2PoolSCY__factory.ts +0 -1125
  572. package/typechain-types/factories/PendleConvexCurveLP3PoolSCY__factory.ts +0 -1067
  573. package/typechain-types/factories/PendleConvexCurveLP4PoolSCY__factory.ts +0 -1080
  574. package/typechain-types/factories/PendleConvexCurveLPSCY__factory.ts +0 -967
  575. package/typechain-types/factories/PendleCvxCRVSCY__factory.ts +0 -910
  576. package/typechain-types/factories/PendleERC4626SCY__factory.ts +0 -774
  577. package/typechain-types/factories/PendleEulerSCY__factory.ts +0 -805
  578. package/typechain-types/factories/PendleFeeDistributorAbstract__factory.ts +0 -183
  579. package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +0 -485
  580. package/typechain-types/factories/PendleFeeDistributorVotingFactory__factory.ts +0 -213
  581. package/typechain-types/factories/PendleFeeDistributorVoting__factory.ts +0 -275
  582. package/typechain-types/factories/PendleGovernanceManager__factory.ts +0 -149
  583. package/typechain-types/factories/PendleLooksStaking__factory.ts +0 -933
  584. package/typechain-types/factories/PendlePtChainlinkOracle__factory.ts +0 -251
  585. package/typechain-types/factories/PendlePtOracleBase__factory.ts +0 -104
  586. package/typechain-types/factories/PendlePtSingleAssetOracle__factory.ts +0 -203
  587. package/typechain-types/factories/PendlePtUSDOracle__factory.ts +0 -247
  588. package/typechain-types/factories/PendleQiSAvaxSCY__factory.ts +0 -917
  589. package/typechain-types/factories/PendleQiTokenSCY__factory.ts +0 -1095
  590. package/typechain-types/factories/PendleSAvaxSCY__factory.ts +0 -796
  591. package/typechain-types/factories/PendleSJoeSCY__factory.ts +0 -845
  592. package/typechain-types/factories/PendleStargateLP__factory.ts +0 -1241
  593. package/typechain-types/factories/PendleStargateSCY__factory.ts +0 -952
  594. package/typechain-types/factories/PendleSwapAggregator__factory.ts +0 -129
  595. package/typechain-types/factories/PendleWstEthSCY__factory.ts +0 -924
  596. package/typechain-types/factories/PendleYearnVaultSCY__factory.ts +0 -787
  597. package/typechain-types/factories/PermissionsV2Upg__factory.ts +0 -39
  598. package/typechain-types/factories/PtAMMArb__factory.ts +0 -525
  599. package/typechain-types/factories/PtFraxUsdcOracle__factory.ts +0 -252
  600. package/typechain-types/factories/PtStETHOracle__factory.ts +0 -227
  601. package/typechain-types/factories/RouterStatic__factory.ts +0 -2673
  602. package/typechain-types/factories/SCYBaseWithDynamicRewards__factory.ts +0 -775
  603. package/typechain-types/factories/SCYBaseWithRewards__factory.ts +0 -867
  604. package/typechain-types/factories/SCYBase__factory.ts +0 -798
  605. package/typechain-types/factories/SSTORE2DeployerContract__factory.ts +0 -191
  606. package/typechain-types/factories/SwapAggregator__factory.ts +0 -309
@@ -1,2673 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
5
- import { Provider, TransactionRequest } from "@ethersproject/providers";
6
- import type { RouterStatic, RouterStaticInterface } from "../RouterStatic";
7
-
8
- const _abi = [
9
- {
10
- inputs: [
11
- {
12
- internalType: "contract IPYieldContractFactory",
13
- name: "_yieldContractFactory",
14
- type: "address",
15
- },
16
- {
17
- internalType: "contract IPMarketFactory",
18
- name: "_marketFactory",
19
- type: "address",
20
- },
21
- {
22
- internalType: "contract IPVotingEscrowMainchain",
23
- name: "_vePENDLE",
24
- type: "address",
25
- },
26
- {
27
- internalType: "contract IPBulkSellerFactory",
28
- name: "_bulkFactory",
29
- type: "address",
30
- },
31
- {
32
- internalType: "address",
33
- name: "_marketMathStaticLib",
34
- type: "address",
35
- },
36
- ],
37
- stateMutability: "nonpayable",
38
- type: "constructor",
39
- },
40
- {
41
- inputs: [
42
- {
43
- internalType: "uint256",
44
- name: "currentAmount",
45
- type: "uint256",
46
- },
47
- {
48
- internalType: "uint256",
49
- name: "requiredAmount",
50
- type: "uint256",
51
- },
52
- ],
53
- name: "BulkInsufficientSyForTrade",
54
- type: "error",
55
- },
56
- {
57
- inputs: [
58
- {
59
- internalType: "uint256",
60
- name: "currentAmount",
61
- type: "uint256",
62
- },
63
- {
64
- internalType: "uint256",
65
- name: "requiredAmount",
66
- type: "uint256",
67
- },
68
- ],
69
- name: "BulkInsufficientTokenForTrade",
70
- type: "error",
71
- },
72
- {
73
- inputs: [
74
- {
75
- internalType: "uint256",
76
- name: "expiry",
77
- type: "uint256",
78
- },
79
- ],
80
- name: "ExpiryInThePast",
81
- type: "error",
82
- },
83
- {
84
- inputs: [
85
- {
86
- internalType: "uint256",
87
- name: "wTime",
88
- type: "uint256",
89
- },
90
- ],
91
- name: "InvalidWTime",
92
- type: "error",
93
- },
94
- {
95
- inputs: [
96
- {
97
- internalType: "uint256",
98
- name: "netSyDesired",
99
- type: "uint256",
100
- },
101
- {
102
- internalType: "uint256",
103
- name: "netSyUsed",
104
- type: "uint256",
105
- },
106
- ],
107
- name: "RouterNotAllSyUsed",
108
- type: "error",
109
- },
110
- {
111
- inputs: [],
112
- name: "VEExceededMaxLockTime",
113
- type: "error",
114
- },
115
- {
116
- inputs: [],
117
- name: "VEInsufficientLockTime",
118
- type: "error",
119
- },
120
- {
121
- inputs: [],
122
- name: "VENotAllowedReduceExpiry",
123
- type: "error",
124
- },
125
- {
126
- inputs: [],
127
- name: "VEZeroAmountLocked",
128
- type: "error",
129
- },
130
- {
131
- inputs: [],
132
- name: "YCExpired",
133
- type: "error",
134
- },
135
- {
136
- anonymous: false,
137
- inputs: [
138
- {
139
- indexed: false,
140
- internalType: "address",
141
- name: "previousAdmin",
142
- type: "address",
143
- },
144
- {
145
- indexed: false,
146
- internalType: "address",
147
- name: "newAdmin",
148
- type: "address",
149
- },
150
- ],
151
- name: "AdminChanged",
152
- type: "event",
153
- },
154
- {
155
- anonymous: false,
156
- inputs: [
157
- {
158
- indexed: true,
159
- internalType: "address",
160
- name: "beacon",
161
- type: "address",
162
- },
163
- ],
164
- name: "BeaconUpgraded",
165
- type: "event",
166
- },
167
- {
168
- anonymous: false,
169
- inputs: [
170
- {
171
- indexed: false,
172
- internalType: "uint8",
173
- name: "version",
174
- type: "uint8",
175
- },
176
- ],
177
- name: "Initialized",
178
- type: "event",
179
- },
180
- {
181
- anonymous: false,
182
- inputs: [
183
- {
184
- indexed: true,
185
- internalType: "address",
186
- name: "previousOwner",
187
- type: "address",
188
- },
189
- {
190
- indexed: true,
191
- internalType: "address",
192
- name: "newOwner",
193
- type: "address",
194
- },
195
- ],
196
- name: "OwnershipTransferred",
197
- type: "event",
198
- },
199
- {
200
- anonymous: false,
201
- inputs: [
202
- {
203
- indexed: true,
204
- internalType: "address",
205
- name: "implementation",
206
- type: "address",
207
- },
208
- ],
209
- name: "Upgraded",
210
- type: "event",
211
- },
212
- {
213
- stateMutability: "payable",
214
- type: "fallback",
215
- },
216
- {
217
- inputs: [],
218
- name: "MAX_LOCK_TIME",
219
- outputs: [
220
- {
221
- internalType: "uint128",
222
- name: "",
223
- type: "uint128",
224
- },
225
- ],
226
- stateMutability: "view",
227
- type: "function",
228
- },
229
- {
230
- inputs: [],
231
- name: "MIN_LOCK_TIME",
232
- outputs: [
233
- {
234
- internalType: "uint128",
235
- name: "",
236
- type: "uint128",
237
- },
238
- ],
239
- stateMutability: "view",
240
- type: "function",
241
- },
242
- {
243
- inputs: [
244
- {
245
- internalType: "address",
246
- name: "market",
247
- type: "address",
248
- },
249
- {
250
- internalType: "uint256",
251
- name: "netSyDesired",
252
- type: "uint256",
253
- },
254
- {
255
- internalType: "uint256",
256
- name: "netPtDesired",
257
- type: "uint256",
258
- },
259
- ],
260
- name: "addLiquidityDualSyAndPtStatic",
261
- outputs: [
262
- {
263
- internalType: "uint256",
264
- name: "netLpOut",
265
- type: "uint256",
266
- },
267
- {
268
- internalType: "uint256",
269
- name: "netSyUsed",
270
- type: "uint256",
271
- },
272
- {
273
- internalType: "uint256",
274
- name: "netPtUsed",
275
- type: "uint256",
276
- },
277
- ],
278
- stateMutability: "view",
279
- type: "function",
280
- },
281
- {
282
- inputs: [
283
- {
284
- internalType: "address",
285
- name: "market",
286
- type: "address",
287
- },
288
- {
289
- internalType: "address",
290
- name: "tokenIn",
291
- type: "address",
292
- },
293
- {
294
- internalType: "uint256",
295
- name: "netTokenDesired",
296
- type: "uint256",
297
- },
298
- {
299
- internalType: "address",
300
- name: "bulk",
301
- type: "address",
302
- },
303
- {
304
- internalType: "uint256",
305
- name: "netPtDesired",
306
- type: "uint256",
307
- },
308
- ],
309
- name: "addLiquidityDualTokenAndPtStatic",
310
- outputs: [
311
- {
312
- internalType: "uint256",
313
- name: "netLpOut",
314
- type: "uint256",
315
- },
316
- {
317
- internalType: "uint256",
318
- name: "netTokenUsed",
319
- type: "uint256",
320
- },
321
- {
322
- internalType: "uint256",
323
- name: "netPtUsed",
324
- type: "uint256",
325
- },
326
- ],
327
- stateMutability: "view",
328
- type: "function",
329
- },
330
- {
331
- inputs: [
332
- {
333
- internalType: "address",
334
- name: "market",
335
- type: "address",
336
- },
337
- {
338
- internalType: "address",
339
- name: "baseToken",
340
- type: "address",
341
- },
342
- {
343
- internalType: "uint256",
344
- name: "netBaseTokenIn",
345
- type: "uint256",
346
- },
347
- {
348
- internalType: "address",
349
- name: "bulk",
350
- type: "address",
351
- },
352
- ],
353
- name: "addLiquiditySingleBaseTokenStatic",
354
- outputs: [
355
- {
356
- internalType: "uint256",
357
- name: "netLpOut",
358
- type: "uint256",
359
- },
360
- {
361
- internalType: "uint256",
362
- name: "netPtFromSwap",
363
- type: "uint256",
364
- },
365
- {
366
- internalType: "uint256",
367
- name: "netSyFee",
368
- type: "uint256",
369
- },
370
- {
371
- internalType: "uint256",
372
- name: "priceImpact",
373
- type: "uint256",
374
- },
375
- {
376
- internalType: "uint256",
377
- name: "exchangeRateAfter",
378
- type: "uint256",
379
- },
380
- ],
381
- stateMutability: "nonpayable",
382
- type: "function",
383
- },
384
- {
385
- inputs: [
386
- {
387
- internalType: "address",
388
- name: "market",
389
- type: "address",
390
- },
391
- {
392
- internalType: "uint256",
393
- name: "netPtIn",
394
- type: "uint256",
395
- },
396
- ],
397
- name: "addLiquiditySinglePtStatic",
398
- outputs: [
399
- {
400
- internalType: "uint256",
401
- name: "netLpOut",
402
- type: "uint256",
403
- },
404
- {
405
- internalType: "uint256",
406
- name: "netPtToSwap",
407
- type: "uint256",
408
- },
409
- {
410
- internalType: "uint256",
411
- name: "netSyFee",
412
- type: "uint256",
413
- },
414
- {
415
- internalType: "uint256",
416
- name: "priceImpact",
417
- type: "uint256",
418
- },
419
- {
420
- internalType: "uint256",
421
- name: "exchangeRateAfter",
422
- type: "uint256",
423
- },
424
- ],
425
- stateMutability: "nonpayable",
426
- type: "function",
427
- },
428
- {
429
- inputs: [
430
- {
431
- internalType: "address",
432
- name: "market",
433
- type: "address",
434
- },
435
- {
436
- internalType: "uint256",
437
- name: "netSyIn",
438
- type: "uint256",
439
- },
440
- ],
441
- name: "addLiquiditySingleSyKeepYtStatic",
442
- outputs: [
443
- {
444
- internalType: "uint256",
445
- name: "netLpOut",
446
- type: "uint256",
447
- },
448
- {
449
- internalType: "uint256",
450
- name: "netYtOut",
451
- type: "uint256",
452
- },
453
- ],
454
- stateMutability: "nonpayable",
455
- type: "function",
456
- },
457
- {
458
- inputs: [
459
- {
460
- internalType: "address",
461
- name: "market",
462
- type: "address",
463
- },
464
- {
465
- internalType: "uint256",
466
- name: "netSyIn",
467
- type: "uint256",
468
- },
469
- ],
470
- name: "addLiquiditySingleSyStatic",
471
- outputs: [
472
- {
473
- internalType: "uint256",
474
- name: "netLpOut",
475
- type: "uint256",
476
- },
477
- {
478
- internalType: "uint256",
479
- name: "netPtFromSwap",
480
- type: "uint256",
481
- },
482
- {
483
- internalType: "uint256",
484
- name: "netSyFee",
485
- type: "uint256",
486
- },
487
- {
488
- internalType: "uint256",
489
- name: "priceImpact",
490
- type: "uint256",
491
- },
492
- {
493
- internalType: "uint256",
494
- name: "exchangeRateAfter",
495
- type: "uint256",
496
- },
497
- ],
498
- stateMutability: "nonpayable",
499
- type: "function",
500
- },
501
- {
502
- inputs: [
503
- {
504
- internalType: "address",
505
- name: "market",
506
- type: "address",
507
- },
508
- {
509
- internalType: "address",
510
- name: "baseToken",
511
- type: "address",
512
- },
513
- {
514
- internalType: "uint256",
515
- name: "netBaseTokenIn",
516
- type: "uint256",
517
- },
518
- {
519
- internalType: "address",
520
- name: "bulk",
521
- type: "address",
522
- },
523
- ],
524
- name: "addLiquiditySingleTokenKeepYtStatic",
525
- outputs: [
526
- {
527
- internalType: "uint256",
528
- name: "netLpOut",
529
- type: "uint256",
530
- },
531
- {
532
- internalType: "uint256",
533
- name: "netYtOut",
534
- type: "uint256",
535
- },
536
- ],
537
- stateMutability: "nonpayable",
538
- type: "function",
539
- },
540
- {
541
- inputs: [
542
- {
543
- internalType: "address",
544
- name: "market",
545
- type: "address",
546
- },
547
- {
548
- internalType: "int256",
549
- name: "netPtOut",
550
- type: "int256",
551
- },
552
- ],
553
- name: "calcPriceImpact",
554
- outputs: [
555
- {
556
- internalType: "uint256",
557
- name: "priceImpact",
558
- type: "uint256",
559
- },
560
- ],
561
- stateMutability: "nonpayable",
562
- type: "function",
563
- },
564
- {
565
- inputs: [],
566
- name: "claimOwnership",
567
- outputs: [],
568
- stateMutability: "nonpayable",
569
- type: "function",
570
- },
571
- {
572
- inputs: [
573
- {
574
- internalType: "contract IStandardizedYield",
575
- name: "SY",
576
- type: "address",
577
- },
578
- {
579
- internalType: "address",
580
- name: "tokenIn",
581
- type: "address",
582
- },
583
- {
584
- internalType: "address",
585
- name: "bulk",
586
- type: "address",
587
- },
588
- {
589
- internalType: "uint256",
590
- name: "netSyOut",
591
- type: "uint256",
592
- },
593
- ],
594
- name: "getAmountTokenToMintSy",
595
- outputs: [
596
- {
597
- internalType: "uint256",
598
- name: "netTokenIn",
599
- type: "uint256",
600
- },
601
- ],
602
- stateMutability: "view",
603
- type: "function",
604
- },
605
- {
606
- inputs: [
607
- {
608
- internalType: "address",
609
- name: "token",
610
- type: "address",
611
- },
612
- {
613
- internalType: "address",
614
- name: "SY",
615
- type: "address",
616
- },
617
- ],
618
- name: "getBulkSellerInfo",
619
- outputs: [
620
- {
621
- internalType: "address",
622
- name: "bulk",
623
- type: "address",
624
- },
625
- {
626
- internalType: "uint256",
627
- name: "totalToken",
628
- type: "uint256",
629
- },
630
- {
631
- internalType: "uint256",
632
- name: "totalSy",
633
- type: "uint256",
634
- },
635
- ],
636
- stateMutability: "view",
637
- type: "function",
638
- },
639
- {
640
- inputs: [
641
- {
642
- internalType: "address",
643
- name: "token",
644
- type: "address",
645
- },
646
- {
647
- internalType: "address",
648
- name: "SY",
649
- type: "address",
650
- },
651
- {
652
- internalType: "uint256",
653
- name: "netTokenIn",
654
- type: "uint256",
655
- },
656
- {
657
- internalType: "uint256",
658
- name: "netSyIn",
659
- type: "uint256",
660
- },
661
- ],
662
- name: "getBulkSellerInfo",
663
- outputs: [
664
- {
665
- internalType: "address",
666
- name: "bulk",
667
- type: "address",
668
- },
669
- {
670
- internalType: "uint256",
671
- name: "totalToken",
672
- type: "uint256",
673
- },
674
- {
675
- internalType: "uint256",
676
- name: "totalSy",
677
- type: "uint256",
678
- },
679
- ],
680
- stateMutability: "view",
681
- type: "function",
682
- },
683
- {
684
- inputs: [
685
- {
686
- internalType: "address",
687
- name: "market",
688
- type: "address",
689
- },
690
- ],
691
- name: "getExchangeRate",
692
- outputs: [
693
- {
694
- internalType: "uint256",
695
- name: "",
696
- type: "uint256",
697
- },
698
- ],
699
- stateMutability: "nonpayable",
700
- type: "function",
701
- },
702
- {
703
- inputs: [
704
- {
705
- internalType: "address",
706
- name: "market",
707
- type: "address",
708
- },
709
- ],
710
- name: "getMarketInfo",
711
- outputs: [
712
- {
713
- internalType: "address",
714
- name: "pt",
715
- type: "address",
716
- },
717
- {
718
- internalType: "address",
719
- name: "sy",
720
- type: "address",
721
- },
722
- {
723
- components: [
724
- {
725
- internalType: "int256",
726
- name: "totalPt",
727
- type: "int256",
728
- },
729
- {
730
- internalType: "int256",
731
- name: "totalSy",
732
- type: "int256",
733
- },
734
- {
735
- internalType: "int256",
736
- name: "totalLp",
737
- type: "int256",
738
- },
739
- {
740
- internalType: "address",
741
- name: "treasury",
742
- type: "address",
743
- },
744
- {
745
- internalType: "int256",
746
- name: "scalarRoot",
747
- type: "int256",
748
- },
749
- {
750
- internalType: "uint256",
751
- name: "expiry",
752
- type: "uint256",
753
- },
754
- {
755
- internalType: "uint256",
756
- name: "lnFeeRateRoot",
757
- type: "uint256",
758
- },
759
- {
760
- internalType: "uint256",
761
- name: "reserveFeePercent",
762
- type: "uint256",
763
- },
764
- {
765
- internalType: "uint256",
766
- name: "lastLnImpliedRate",
767
- type: "uint256",
768
- },
769
- ],
770
- internalType: "struct MarketState",
771
- name: "state",
772
- type: "tuple",
773
- },
774
- {
775
- internalType: "int256",
776
- name: "impliedYield",
777
- type: "int256",
778
- },
779
- {
780
- internalType: "uint256",
781
- name: "exchangeRate",
782
- type: "uint256",
783
- },
784
- ],
785
- stateMutability: "nonpayable",
786
- type: "function",
787
- },
788
- {
789
- inputs: [
790
- {
791
- internalType: "address",
792
- name: "py",
793
- type: "address",
794
- },
795
- ],
796
- name: "getPY",
797
- outputs: [
798
- {
799
- internalType: "address",
800
- name: "pt",
801
- type: "address",
802
- },
803
- {
804
- internalType: "address",
805
- name: "yt",
806
- type: "address",
807
- },
808
- ],
809
- stateMutability: "view",
810
- type: "function",
811
- },
812
- {
813
- inputs: [
814
- {
815
- internalType: "address",
816
- name: "py",
817
- type: "address",
818
- },
819
- ],
820
- name: "getPYInfo",
821
- outputs: [
822
- {
823
- internalType: "uint256",
824
- name: "exchangeRate",
825
- type: "uint256",
826
- },
827
- {
828
- internalType: "uint256",
829
- name: "totalSupply",
830
- type: "uint256",
831
- },
832
- {
833
- components: [
834
- {
835
- internalType: "address",
836
- name: "rewardToken",
837
- type: "address",
838
- },
839
- {
840
- internalType: "uint256",
841
- name: "index",
842
- type: "uint256",
843
- },
844
- ],
845
- internalType: "struct RouterStatic.RewardIndex[]",
846
- name: "rewardIndexes",
847
- type: "tuple[]",
848
- },
849
- ],
850
- stateMutability: "nonpayable",
851
- type: "function",
852
- },
853
- {
854
- inputs: [
855
- {
856
- internalType: "address",
857
- name: "token",
858
- type: "address",
859
- },
860
- ],
861
- name: "getPendleTokenType",
862
- outputs: [
863
- {
864
- internalType: "bool",
865
- name: "isPT",
866
- type: "bool",
867
- },
868
- {
869
- internalType: "bool",
870
- name: "isYT",
871
- type: "bool",
872
- },
873
- {
874
- internalType: "bool",
875
- name: "isMarket",
876
- type: "bool",
877
- },
878
- ],
879
- stateMutability: "view",
880
- type: "function",
881
- },
882
- {
883
- inputs: [
884
- {
885
- internalType: "address",
886
- name: "market",
887
- type: "address",
888
- },
889
- ],
890
- name: "getPtImpliedYield",
891
- outputs: [
892
- {
893
- internalType: "int256",
894
- name: "",
895
- type: "int256",
896
- },
897
- ],
898
- stateMutability: "view",
899
- type: "function",
900
- },
901
- {
902
- inputs: [
903
- {
904
- internalType: "address",
905
- name: "market",
906
- type: "address",
907
- },
908
- ],
909
- name: "getSyMarket",
910
- outputs: [
911
- {
912
- internalType: "contract IStandardizedYield",
913
- name: "",
914
- type: "address",
915
- },
916
- ],
917
- stateMutability: "view",
918
- type: "function",
919
- },
920
- {
921
- inputs: [
922
- {
923
- internalType: "address",
924
- name: "pyToken",
925
- type: "address",
926
- },
927
- {
928
- internalType: "address",
929
- name: "market",
930
- type: "address",
931
- },
932
- ],
933
- name: "getTokensInOut",
934
- outputs: [
935
- {
936
- internalType: "address[]",
937
- name: "tokensIn",
938
- type: "address[]",
939
- },
940
- {
941
- internalType: "address[]",
942
- name: "tokensOut",
943
- type: "address[]",
944
- },
945
- ],
946
- stateMutability: "view",
947
- type: "function",
948
- },
949
- {
950
- inputs: [
951
- {
952
- internalType: "address",
953
- name: "market",
954
- type: "address",
955
- },
956
- {
957
- internalType: "int256",
958
- name: "netPtOut",
959
- type: "int256",
960
- },
961
- ],
962
- name: "getTradeExchangeRateIncludeFee",
963
- outputs: [
964
- {
965
- internalType: "uint256",
966
- name: "",
967
- type: "uint256",
968
- },
969
- ],
970
- stateMutability: "nonpayable",
971
- type: "function",
972
- },
973
- {
974
- inputs: [
975
- {
976
- internalType: "address",
977
- name: "market",
978
- type: "address",
979
- },
980
- {
981
- internalType: "address",
982
- name: "user",
983
- type: "address",
984
- },
985
- ],
986
- name: "getUserMarketInfo",
987
- outputs: [
988
- {
989
- components: [
990
- {
991
- internalType: "address",
992
- name: "market",
993
- type: "address",
994
- },
995
- {
996
- internalType: "uint256",
997
- name: "lpBalance",
998
- type: "uint256",
999
- },
1000
- {
1001
- components: [
1002
- {
1003
- internalType: "address",
1004
- name: "token",
1005
- type: "address",
1006
- },
1007
- {
1008
- internalType: "uint256",
1009
- name: "amount",
1010
- type: "uint256",
1011
- },
1012
- ],
1013
- internalType: "struct RouterStatic.TokenAmount",
1014
- name: "ptBalance",
1015
- type: "tuple",
1016
- },
1017
- {
1018
- components: [
1019
- {
1020
- internalType: "address",
1021
- name: "token",
1022
- type: "address",
1023
- },
1024
- {
1025
- internalType: "uint256",
1026
- name: "amount",
1027
- type: "uint256",
1028
- },
1029
- ],
1030
- internalType: "struct RouterStatic.TokenAmount",
1031
- name: "syBalance",
1032
- type: "tuple",
1033
- },
1034
- {
1035
- components: [
1036
- {
1037
- internalType: "enum IStandardizedYield.AssetType",
1038
- name: "assetType",
1039
- type: "uint8",
1040
- },
1041
- {
1042
- internalType: "address",
1043
- name: "assetAddress",
1044
- type: "address",
1045
- },
1046
- {
1047
- internalType: "uint256",
1048
- name: "amount",
1049
- type: "uint256",
1050
- },
1051
- ],
1052
- internalType: "struct RouterStatic.AssetAmount",
1053
- name: "assetBalance",
1054
- type: "tuple",
1055
- },
1056
- ],
1057
- internalType: "struct RouterStatic.UserMarketInfo",
1058
- name: "userMarketInfo",
1059
- type: "tuple",
1060
- },
1061
- ],
1062
- stateMutability: "view",
1063
- type: "function",
1064
- },
1065
- {
1066
- inputs: [
1067
- {
1068
- internalType: "address",
1069
- name: "user",
1070
- type: "address",
1071
- },
1072
- {
1073
- internalType: "address[]",
1074
- name: "markets",
1075
- type: "address[]",
1076
- },
1077
- ],
1078
- name: "getUserMarketPositions",
1079
- outputs: [
1080
- {
1081
- components: [
1082
- {
1083
- internalType: "address",
1084
- name: "market",
1085
- type: "address",
1086
- },
1087
- {
1088
- internalType: "uint256",
1089
- name: "lpBalance",
1090
- type: "uint256",
1091
- },
1092
- {
1093
- components: [
1094
- {
1095
- internalType: "address",
1096
- name: "token",
1097
- type: "address",
1098
- },
1099
- {
1100
- internalType: "uint256",
1101
- name: "amount",
1102
- type: "uint256",
1103
- },
1104
- ],
1105
- internalType: "struct RouterStatic.TokenAmount",
1106
- name: "ptBalance",
1107
- type: "tuple",
1108
- },
1109
- {
1110
- components: [
1111
- {
1112
- internalType: "address",
1113
- name: "token",
1114
- type: "address",
1115
- },
1116
- {
1117
- internalType: "uint256",
1118
- name: "amount",
1119
- type: "uint256",
1120
- },
1121
- ],
1122
- internalType: "struct RouterStatic.TokenAmount",
1123
- name: "syBalance",
1124
- type: "tuple",
1125
- },
1126
- {
1127
- components: [
1128
- {
1129
- internalType: "enum IStandardizedYield.AssetType",
1130
- name: "assetType",
1131
- type: "uint8",
1132
- },
1133
- {
1134
- internalType: "address",
1135
- name: "assetAddress",
1136
- type: "address",
1137
- },
1138
- {
1139
- internalType: "uint256",
1140
- name: "amount",
1141
- type: "uint256",
1142
- },
1143
- ],
1144
- internalType: "struct RouterStatic.AssetAmount",
1145
- name: "assetBalance",
1146
- type: "tuple",
1147
- },
1148
- ],
1149
- internalType: "struct RouterStatic.UserMarketInfo[]",
1150
- name: "userMarketPositions",
1151
- type: "tuple[]",
1152
- },
1153
- ],
1154
- stateMutability: "view",
1155
- type: "function",
1156
- },
1157
- {
1158
- inputs: [
1159
- {
1160
- internalType: "address",
1161
- name: "py",
1162
- type: "address",
1163
- },
1164
- {
1165
- internalType: "address",
1166
- name: "user",
1167
- type: "address",
1168
- },
1169
- ],
1170
- name: "getUserPYInfo",
1171
- outputs: [
1172
- {
1173
- components: [
1174
- {
1175
- internalType: "address",
1176
- name: "yt",
1177
- type: "address",
1178
- },
1179
- {
1180
- internalType: "address",
1181
- name: "pt",
1182
- type: "address",
1183
- },
1184
- {
1185
- internalType: "uint256",
1186
- name: "ytBalance",
1187
- type: "uint256",
1188
- },
1189
- {
1190
- internalType: "uint256",
1191
- name: "ptBalance",
1192
- type: "uint256",
1193
- },
1194
- {
1195
- components: [
1196
- {
1197
- internalType: "address",
1198
- name: "token",
1199
- type: "address",
1200
- },
1201
- {
1202
- internalType: "uint256",
1203
- name: "amount",
1204
- type: "uint256",
1205
- },
1206
- ],
1207
- internalType: "struct RouterStatic.TokenAmount",
1208
- name: "unclaimedInterest",
1209
- type: "tuple",
1210
- },
1211
- {
1212
- components: [
1213
- {
1214
- internalType: "address",
1215
- name: "token",
1216
- type: "address",
1217
- },
1218
- {
1219
- internalType: "uint256",
1220
- name: "amount",
1221
- type: "uint256",
1222
- },
1223
- ],
1224
- internalType: "struct RouterStatic.TokenAmount[]",
1225
- name: "unclaimedRewards",
1226
- type: "tuple[]",
1227
- },
1228
- ],
1229
- internalType: "struct RouterStatic.UserPYInfo",
1230
- name: "userPYInfo",
1231
- type: "tuple",
1232
- },
1233
- ],
1234
- stateMutability: "view",
1235
- type: "function",
1236
- },
1237
- {
1238
- inputs: [
1239
- {
1240
- internalType: "address",
1241
- name: "user",
1242
- type: "address",
1243
- },
1244
- {
1245
- internalType: "address[]",
1246
- name: "pys",
1247
- type: "address[]",
1248
- },
1249
- ],
1250
- name: "getUserPYPositionsByPYs",
1251
- outputs: [
1252
- {
1253
- components: [
1254
- {
1255
- internalType: "address",
1256
- name: "yt",
1257
- type: "address",
1258
- },
1259
- {
1260
- internalType: "address",
1261
- name: "pt",
1262
- type: "address",
1263
- },
1264
- {
1265
- internalType: "uint256",
1266
- name: "ytBalance",
1267
- type: "uint256",
1268
- },
1269
- {
1270
- internalType: "uint256",
1271
- name: "ptBalance",
1272
- type: "uint256",
1273
- },
1274
- {
1275
- components: [
1276
- {
1277
- internalType: "address",
1278
- name: "token",
1279
- type: "address",
1280
- },
1281
- {
1282
- internalType: "uint256",
1283
- name: "amount",
1284
- type: "uint256",
1285
- },
1286
- ],
1287
- internalType: "struct RouterStatic.TokenAmount",
1288
- name: "unclaimedInterest",
1289
- type: "tuple",
1290
- },
1291
- {
1292
- components: [
1293
- {
1294
- internalType: "address",
1295
- name: "token",
1296
- type: "address",
1297
- },
1298
- {
1299
- internalType: "uint256",
1300
- name: "amount",
1301
- type: "uint256",
1302
- },
1303
- ],
1304
- internalType: "struct RouterStatic.TokenAmount[]",
1305
- name: "unclaimedRewards",
1306
- type: "tuple[]",
1307
- },
1308
- ],
1309
- internalType: "struct RouterStatic.UserPYInfo[]",
1310
- name: "userPYPositions",
1311
- type: "tuple[]",
1312
- },
1313
- ],
1314
- stateMutability: "view",
1315
- type: "function",
1316
- },
1317
- {
1318
- inputs: [
1319
- {
1320
- internalType: "address",
1321
- name: "sy",
1322
- type: "address",
1323
- },
1324
- {
1325
- internalType: "address",
1326
- name: "user",
1327
- type: "address",
1328
- },
1329
- ],
1330
- name: "getUserSYInfo",
1331
- outputs: [
1332
- {
1333
- internalType: "uint256",
1334
- name: "balance",
1335
- type: "uint256",
1336
- },
1337
- {
1338
- components: [
1339
- {
1340
- internalType: "address",
1341
- name: "token",
1342
- type: "address",
1343
- },
1344
- {
1345
- internalType: "uint256",
1346
- name: "amount",
1347
- type: "uint256",
1348
- },
1349
- ],
1350
- internalType: "struct RouterStatic.TokenAmount[]",
1351
- name: "rewards",
1352
- type: "tuple[]",
1353
- },
1354
- ],
1355
- stateMutability: "view",
1356
- type: "function",
1357
- },
1358
- {
1359
- inputs: [
1360
- {
1361
- components: [
1362
- {
1363
- internalType: "address",
1364
- name: "yt",
1365
- type: "address",
1366
- },
1367
- {
1368
- internalType: "address",
1369
- name: "pt",
1370
- type: "address",
1371
- },
1372
- {
1373
- internalType: "uint256",
1374
- name: "ytBalance",
1375
- type: "uint256",
1376
- },
1377
- {
1378
- internalType: "uint256",
1379
- name: "ptBalance",
1380
- type: "uint256",
1381
- },
1382
- {
1383
- components: [
1384
- {
1385
- internalType: "address",
1386
- name: "token",
1387
- type: "address",
1388
- },
1389
- {
1390
- internalType: "uint256",
1391
- name: "amount",
1392
- type: "uint256",
1393
- },
1394
- ],
1395
- internalType: "struct RouterStatic.TokenAmount",
1396
- name: "unclaimedInterest",
1397
- type: "tuple",
1398
- },
1399
- {
1400
- components: [
1401
- {
1402
- internalType: "address",
1403
- name: "token",
1404
- type: "address",
1405
- },
1406
- {
1407
- internalType: "uint256",
1408
- name: "amount",
1409
- type: "uint256",
1410
- },
1411
- ],
1412
- internalType: "struct RouterStatic.TokenAmount[]",
1413
- name: "unclaimedRewards",
1414
- type: "tuple[]",
1415
- },
1416
- ],
1417
- internalType: "struct RouterStatic.UserPYInfo",
1418
- name: "userPYInfo",
1419
- type: "tuple",
1420
- },
1421
- ],
1422
- name: "hasPYPosition",
1423
- outputs: [
1424
- {
1425
- internalType: "bool",
1426
- name: "hasPosition",
1427
- type: "bool",
1428
- },
1429
- ],
1430
- stateMutability: "pure",
1431
- type: "function",
1432
- },
1433
- {
1434
- inputs: [
1435
- {
1436
- internalType: "address",
1437
- name: "user",
1438
- type: "address",
1439
- },
1440
- {
1441
- internalType: "uint128",
1442
- name: "additionalAmountToLock",
1443
- type: "uint128",
1444
- },
1445
- {
1446
- internalType: "uint128",
1447
- name: "newExpiry",
1448
- type: "uint128",
1449
- },
1450
- ],
1451
- name: "increaseLockPositionStatic",
1452
- outputs: [
1453
- {
1454
- internalType: "uint128",
1455
- name: "newVeBalance",
1456
- type: "uint128",
1457
- },
1458
- ],
1459
- stateMutability: "view",
1460
- type: "function",
1461
- },
1462
- {
1463
- inputs: [],
1464
- name: "initialize",
1465
- outputs: [],
1466
- stateMutability: "nonpayable",
1467
- type: "function",
1468
- },
1469
- {
1470
- inputs: [
1471
- {
1472
- internalType: "address",
1473
- name: "YT",
1474
- type: "address",
1475
- },
1476
- {
1477
- internalType: "address",
1478
- name: "baseToken",
1479
- type: "address",
1480
- },
1481
- {
1482
- internalType: "uint256",
1483
- name: "amountBaseToken",
1484
- type: "uint256",
1485
- },
1486
- {
1487
- internalType: "address",
1488
- name: "bulk",
1489
- type: "address",
1490
- },
1491
- ],
1492
- name: "mintPYFromBaseStatic",
1493
- outputs: [
1494
- {
1495
- internalType: "uint256",
1496
- name: "amountPY",
1497
- type: "uint256",
1498
- },
1499
- ],
1500
- stateMutability: "nonpayable",
1501
- type: "function",
1502
- },
1503
- {
1504
- inputs: [
1505
- {
1506
- internalType: "address",
1507
- name: "YT",
1508
- type: "address",
1509
- },
1510
- {
1511
- internalType: "uint256",
1512
- name: "amountSyToMint",
1513
- type: "uint256",
1514
- },
1515
- ],
1516
- name: "mintPYFromSyStatic",
1517
- outputs: [
1518
- {
1519
- internalType: "uint256",
1520
- name: "amountPY",
1521
- type: "uint256",
1522
- },
1523
- ],
1524
- stateMutability: "nonpayable",
1525
- type: "function",
1526
- },
1527
- {
1528
- inputs: [],
1529
- name: "owner",
1530
- outputs: [
1531
- {
1532
- internalType: "address",
1533
- name: "",
1534
- type: "address",
1535
- },
1536
- ],
1537
- stateMutability: "view",
1538
- type: "function",
1539
- },
1540
- {
1541
- inputs: [],
1542
- name: "pendingOwner",
1543
- outputs: [
1544
- {
1545
- internalType: "address",
1546
- name: "",
1547
- type: "address",
1548
- },
1549
- ],
1550
- stateMutability: "view",
1551
- type: "function",
1552
- },
1553
- {
1554
- inputs: [
1555
- {
1556
- internalType: "contract IStandardizedYield",
1557
- name: "SY",
1558
- type: "address",
1559
- },
1560
- {
1561
- internalType: "address",
1562
- name: "baseToken",
1563
- type: "address",
1564
- },
1565
- {
1566
- internalType: "uint256",
1567
- name: "amountToken",
1568
- type: "uint256",
1569
- },
1570
- {
1571
- internalType: "address",
1572
- name: "bulk",
1573
- type: "address",
1574
- },
1575
- ],
1576
- name: "previewDepositStatic",
1577
- outputs: [
1578
- {
1579
- internalType: "uint256",
1580
- name: "amountSy",
1581
- type: "uint256",
1582
- },
1583
- ],
1584
- stateMutability: "view",
1585
- type: "function",
1586
- },
1587
- {
1588
- inputs: [
1589
- {
1590
- internalType: "contract IStandardizedYield",
1591
- name: "SY",
1592
- type: "address",
1593
- },
1594
- {
1595
- internalType: "address",
1596
- name: "baseToken",
1597
- type: "address",
1598
- },
1599
- {
1600
- internalType: "uint256",
1601
- name: "amountSy",
1602
- type: "uint256",
1603
- },
1604
- {
1605
- internalType: "address",
1606
- name: "bulk",
1607
- type: "address",
1608
- },
1609
- ],
1610
- name: "previewRedeemStatic",
1611
- outputs: [
1612
- {
1613
- internalType: "uint256",
1614
- name: "amountBaseToken",
1615
- type: "uint256",
1616
- },
1617
- ],
1618
- stateMutability: "view",
1619
- type: "function",
1620
- },
1621
- {
1622
- inputs: [],
1623
- name: "proxiableUUID",
1624
- outputs: [
1625
- {
1626
- internalType: "bytes32",
1627
- name: "",
1628
- type: "bytes32",
1629
- },
1630
- ],
1631
- stateMutability: "view",
1632
- type: "function",
1633
- },
1634
- {
1635
- inputs: [
1636
- {
1637
- internalType: "address",
1638
- name: "market",
1639
- type: "address",
1640
- },
1641
- ],
1642
- name: "pyIndex",
1643
- outputs: [
1644
- {
1645
- internalType: "PYIndex",
1646
- name: "index",
1647
- type: "uint256",
1648
- },
1649
- ],
1650
- stateMutability: "nonpayable",
1651
- type: "function",
1652
- },
1653
- {
1654
- inputs: [
1655
- {
1656
- internalType: "address",
1657
- name: "YT",
1658
- type: "address",
1659
- },
1660
- {
1661
- internalType: "uint256",
1662
- name: "amountPYToRedeem",
1663
- type: "uint256",
1664
- },
1665
- {
1666
- internalType: "address",
1667
- name: "baseToken",
1668
- type: "address",
1669
- },
1670
- {
1671
- internalType: "address",
1672
- name: "bulk",
1673
- type: "address",
1674
- },
1675
- ],
1676
- name: "redeemPYToBaseStatic",
1677
- outputs: [
1678
- {
1679
- internalType: "uint256",
1680
- name: "amountBaseToken",
1681
- type: "uint256",
1682
- },
1683
- ],
1684
- stateMutability: "nonpayable",
1685
- type: "function",
1686
- },
1687
- {
1688
- inputs: [
1689
- {
1690
- internalType: "address",
1691
- name: "YT",
1692
- type: "address",
1693
- },
1694
- {
1695
- internalType: "uint256",
1696
- name: "amountPYToRedeem",
1697
- type: "uint256",
1698
- },
1699
- ],
1700
- name: "redeemPYToSyStatic",
1701
- outputs: [
1702
- {
1703
- internalType: "uint256",
1704
- name: "amountPY",
1705
- type: "uint256",
1706
- },
1707
- ],
1708
- stateMutability: "nonpayable",
1709
- type: "function",
1710
- },
1711
- {
1712
- inputs: [
1713
- {
1714
- internalType: "address",
1715
- name: "market",
1716
- type: "address",
1717
- },
1718
- {
1719
- internalType: "uint256",
1720
- name: "netLpToRemove",
1721
- type: "uint256",
1722
- },
1723
- ],
1724
- name: "removeLiquidityDualSyAndPtStatic",
1725
- outputs: [
1726
- {
1727
- internalType: "uint256",
1728
- name: "netSyOut",
1729
- type: "uint256",
1730
- },
1731
- {
1732
- internalType: "uint256",
1733
- name: "netPtOut",
1734
- type: "uint256",
1735
- },
1736
- ],
1737
- stateMutability: "view",
1738
- type: "function",
1739
- },
1740
- {
1741
- inputs: [
1742
- {
1743
- internalType: "address",
1744
- name: "market",
1745
- type: "address",
1746
- },
1747
- {
1748
- internalType: "uint256",
1749
- name: "netLpToRemove",
1750
- type: "uint256",
1751
- },
1752
- {
1753
- internalType: "address",
1754
- name: "tokenOut",
1755
- type: "address",
1756
- },
1757
- {
1758
- internalType: "address",
1759
- name: "bulk",
1760
- type: "address",
1761
- },
1762
- ],
1763
- name: "removeLiquidityDualTokenAndPtStatic",
1764
- outputs: [
1765
- {
1766
- internalType: "uint256",
1767
- name: "netTokenOut",
1768
- type: "uint256",
1769
- },
1770
- {
1771
- internalType: "uint256",
1772
- name: "netPtOut",
1773
- type: "uint256",
1774
- },
1775
- ],
1776
- stateMutability: "view",
1777
- type: "function",
1778
- },
1779
- {
1780
- inputs: [
1781
- {
1782
- internalType: "address",
1783
- name: "market",
1784
- type: "address",
1785
- },
1786
- {
1787
- internalType: "uint256",
1788
- name: "netLpToRemove",
1789
- type: "uint256",
1790
- },
1791
- {
1792
- internalType: "address",
1793
- name: "baseToken",
1794
- type: "address",
1795
- },
1796
- {
1797
- internalType: "address",
1798
- name: "bulk",
1799
- type: "address",
1800
- },
1801
- ],
1802
- name: "removeLiquiditySingleBaseTokenStatic",
1803
- outputs: [
1804
- {
1805
- internalType: "uint256",
1806
- name: "netBaseTokenOut",
1807
- type: "uint256",
1808
- },
1809
- {
1810
- internalType: "uint256",
1811
- name: "netSyFee",
1812
- type: "uint256",
1813
- },
1814
- {
1815
- internalType: "uint256",
1816
- name: "priceImpact",
1817
- type: "uint256",
1818
- },
1819
- {
1820
- internalType: "uint256",
1821
- name: "exchangeRateAfter",
1822
- type: "uint256",
1823
- },
1824
- ],
1825
- stateMutability: "nonpayable",
1826
- type: "function",
1827
- },
1828
- {
1829
- inputs: [
1830
- {
1831
- internalType: "address",
1832
- name: "market",
1833
- type: "address",
1834
- },
1835
- {
1836
- internalType: "uint256",
1837
- name: "netLpToRemove",
1838
- type: "uint256",
1839
- },
1840
- ],
1841
- name: "removeLiquiditySinglePtStatic",
1842
- outputs: [
1843
- {
1844
- internalType: "uint256",
1845
- name: "netPtOut",
1846
- type: "uint256",
1847
- },
1848
- {
1849
- internalType: "uint256",
1850
- name: "netPtFromSwap",
1851
- type: "uint256",
1852
- },
1853
- {
1854
- internalType: "uint256",
1855
- name: "netSyFee",
1856
- type: "uint256",
1857
- },
1858
- {
1859
- internalType: "uint256",
1860
- name: "priceImpact",
1861
- type: "uint256",
1862
- },
1863
- {
1864
- internalType: "uint256",
1865
- name: "exchangeRateAfter",
1866
- type: "uint256",
1867
- },
1868
- ],
1869
- stateMutability: "nonpayable",
1870
- type: "function",
1871
- },
1872
- {
1873
- inputs: [
1874
- {
1875
- internalType: "address",
1876
- name: "market",
1877
- type: "address",
1878
- },
1879
- {
1880
- internalType: "uint256",
1881
- name: "netLpToRemove",
1882
- type: "uint256",
1883
- },
1884
- ],
1885
- name: "removeLiquiditySingleSyStatic",
1886
- outputs: [
1887
- {
1888
- internalType: "uint256",
1889
- name: "netSyOut",
1890
- type: "uint256",
1891
- },
1892
- {
1893
- internalType: "uint256",
1894
- name: "netSyFee",
1895
- type: "uint256",
1896
- },
1897
- {
1898
- internalType: "uint256",
1899
- name: "priceImpact",
1900
- type: "uint256",
1901
- },
1902
- {
1903
- internalType: "uint256",
1904
- name: "exchangeRateAfter",
1905
- type: "uint256",
1906
- },
1907
- ],
1908
- stateMutability: "nonpayable",
1909
- type: "function",
1910
- },
1911
- {
1912
- inputs: [
1913
- {
1914
- internalType: "address",
1915
- name: "market",
1916
- type: "address",
1917
- },
1918
- {
1919
- internalType: "address",
1920
- name: "baseToken",
1921
- type: "address",
1922
- },
1923
- {
1924
- internalType: "uint256",
1925
- name: "amountBaseToken",
1926
- type: "uint256",
1927
- },
1928
- {
1929
- internalType: "address",
1930
- name: "bulk",
1931
- type: "address",
1932
- },
1933
- ],
1934
- name: "swapExactBaseTokenForPtStatic",
1935
- outputs: [
1936
- {
1937
- internalType: "uint256",
1938
- name: "netPtOut",
1939
- type: "uint256",
1940
- },
1941
- {
1942
- internalType: "uint256",
1943
- name: "netSyFee",
1944
- type: "uint256",
1945
- },
1946
- {
1947
- internalType: "uint256",
1948
- name: "priceImpact",
1949
- type: "uint256",
1950
- },
1951
- {
1952
- internalType: "uint256",
1953
- name: "exchangeRateAfter",
1954
- type: "uint256",
1955
- },
1956
- ],
1957
- stateMutability: "nonpayable",
1958
- type: "function",
1959
- },
1960
- {
1961
- inputs: [
1962
- {
1963
- internalType: "address",
1964
- name: "market",
1965
- type: "address",
1966
- },
1967
- {
1968
- internalType: "address",
1969
- name: "baseToken",
1970
- type: "address",
1971
- },
1972
- {
1973
- internalType: "uint256",
1974
- name: "amountBaseToken",
1975
- type: "uint256",
1976
- },
1977
- {
1978
- internalType: "address",
1979
- name: "bulk",
1980
- type: "address",
1981
- },
1982
- ],
1983
- name: "swapExactBaseTokenForYtStatic",
1984
- outputs: [
1985
- {
1986
- internalType: "uint256",
1987
- name: "netYtOut",
1988
- type: "uint256",
1989
- },
1990
- {
1991
- internalType: "uint256",
1992
- name: "netSyFee",
1993
- type: "uint256",
1994
- },
1995
- {
1996
- internalType: "uint256",
1997
- name: "priceImpact",
1998
- type: "uint256",
1999
- },
2000
- {
2001
- internalType: "uint256",
2002
- name: "exchangeRateAfter",
2003
- type: "uint256",
2004
- },
2005
- ],
2006
- stateMutability: "nonpayable",
2007
- type: "function",
2008
- },
2009
- {
2010
- inputs: [
2011
- {
2012
- internalType: "address",
2013
- name: "market",
2014
- type: "address",
2015
- },
2016
- {
2017
- internalType: "uint256",
2018
- name: "exactPtIn",
2019
- type: "uint256",
2020
- },
2021
- {
2022
- internalType: "address",
2023
- name: "baseToken",
2024
- type: "address",
2025
- },
2026
- {
2027
- internalType: "address",
2028
- name: "bulk",
2029
- type: "address",
2030
- },
2031
- ],
2032
- name: "swapExactPtForBaseTokenStatic",
2033
- outputs: [
2034
- {
2035
- internalType: "uint256",
2036
- name: "netBaseTokenOut",
2037
- type: "uint256",
2038
- },
2039
- {
2040
- internalType: "uint256",
2041
- name: "netSyFee",
2042
- type: "uint256",
2043
- },
2044
- {
2045
- internalType: "uint256",
2046
- name: "priceImpact",
2047
- type: "uint256",
2048
- },
2049
- {
2050
- internalType: "uint256",
2051
- name: "exchangeRateAfter",
2052
- type: "uint256",
2053
- },
2054
- ],
2055
- stateMutability: "nonpayable",
2056
- type: "function",
2057
- },
2058
- {
2059
- inputs: [
2060
- {
2061
- internalType: "address",
2062
- name: "market",
2063
- type: "address",
2064
- },
2065
- {
2066
- internalType: "uint256",
2067
- name: "exactPtIn",
2068
- type: "uint256",
2069
- },
2070
- ],
2071
- name: "swapExactPtForSyStatic",
2072
- outputs: [
2073
- {
2074
- internalType: "uint256",
2075
- name: "netSyOut",
2076
- type: "uint256",
2077
- },
2078
- {
2079
- internalType: "uint256",
2080
- name: "netSyFee",
2081
- type: "uint256",
2082
- },
2083
- {
2084
- internalType: "uint256",
2085
- name: "priceImpact",
2086
- type: "uint256",
2087
- },
2088
- {
2089
- internalType: "uint256",
2090
- name: "exchangeRateAfter",
2091
- type: "uint256",
2092
- },
2093
- ],
2094
- stateMutability: "nonpayable",
2095
- type: "function",
2096
- },
2097
- {
2098
- inputs: [
2099
- {
2100
- internalType: "address",
2101
- name: "market",
2102
- type: "address",
2103
- },
2104
- {
2105
- internalType: "uint256",
2106
- name: "exactPtIn",
2107
- type: "uint256",
2108
- },
2109
- ],
2110
- name: "swapExactPtForYtStatic",
2111
- outputs: [
2112
- {
2113
- internalType: "uint256",
2114
- name: "netYtOut",
2115
- type: "uint256",
2116
- },
2117
- {
2118
- internalType: "uint256",
2119
- name: "totalPtToSwap",
2120
- type: "uint256",
2121
- },
2122
- {
2123
- internalType: "uint256",
2124
- name: "netSyFee",
2125
- type: "uint256",
2126
- },
2127
- {
2128
- internalType: "uint256",
2129
- name: "priceImpact",
2130
- type: "uint256",
2131
- },
2132
- {
2133
- internalType: "uint256",
2134
- name: "exchangeRateAfter",
2135
- type: "uint256",
2136
- },
2137
- ],
2138
- stateMutability: "nonpayable",
2139
- type: "function",
2140
- },
2141
- {
2142
- inputs: [
2143
- {
2144
- internalType: "address",
2145
- name: "market",
2146
- type: "address",
2147
- },
2148
- {
2149
- internalType: "uint256",
2150
- name: "exactSyIn",
2151
- type: "uint256",
2152
- },
2153
- ],
2154
- name: "swapExactSyForPtStatic",
2155
- outputs: [
2156
- {
2157
- internalType: "uint256",
2158
- name: "netPtOut",
2159
- type: "uint256",
2160
- },
2161
- {
2162
- internalType: "uint256",
2163
- name: "netSyFee",
2164
- type: "uint256",
2165
- },
2166
- {
2167
- internalType: "uint256",
2168
- name: "priceImpact",
2169
- type: "uint256",
2170
- },
2171
- {
2172
- internalType: "uint256",
2173
- name: "exchangeRateAfter",
2174
- type: "uint256",
2175
- },
2176
- ],
2177
- stateMutability: "nonpayable",
2178
- type: "function",
2179
- },
2180
- {
2181
- inputs: [
2182
- {
2183
- internalType: "address",
2184
- name: "market",
2185
- type: "address",
2186
- },
2187
- {
2188
- internalType: "uint256",
2189
- name: "exactSyIn",
2190
- type: "uint256",
2191
- },
2192
- ],
2193
- name: "swapExactSyForYtStatic",
2194
- outputs: [
2195
- {
2196
- internalType: "uint256",
2197
- name: "netYtOut",
2198
- type: "uint256",
2199
- },
2200
- {
2201
- internalType: "uint256",
2202
- name: "netSyFee",
2203
- type: "uint256",
2204
- },
2205
- {
2206
- internalType: "uint256",
2207
- name: "priceImpact",
2208
- type: "uint256",
2209
- },
2210
- {
2211
- internalType: "uint256",
2212
- name: "exchangeRateAfter",
2213
- type: "uint256",
2214
- },
2215
- ],
2216
- stateMutability: "nonpayable",
2217
- type: "function",
2218
- },
2219
- {
2220
- inputs: [
2221
- {
2222
- internalType: "address",
2223
- name: "market",
2224
- type: "address",
2225
- },
2226
- {
2227
- internalType: "uint256",
2228
- name: "exactYtIn",
2229
- type: "uint256",
2230
- },
2231
- {
2232
- internalType: "address",
2233
- name: "baseToken",
2234
- type: "address",
2235
- },
2236
- {
2237
- internalType: "address",
2238
- name: "bulk",
2239
- type: "address",
2240
- },
2241
- ],
2242
- name: "swapExactYtForBaseTokenStatic",
2243
- outputs: [
2244
- {
2245
- internalType: "uint256",
2246
- name: "netBaseTokenOut",
2247
- type: "uint256",
2248
- },
2249
- {
2250
- internalType: "uint256",
2251
- name: "netSyFee",
2252
- type: "uint256",
2253
- },
2254
- {
2255
- internalType: "uint256",
2256
- name: "priceImpact",
2257
- type: "uint256",
2258
- },
2259
- {
2260
- internalType: "uint256",
2261
- name: "exchangeRateAfter",
2262
- type: "uint256",
2263
- },
2264
- ],
2265
- stateMutability: "nonpayable",
2266
- type: "function",
2267
- },
2268
- {
2269
- inputs: [
2270
- {
2271
- internalType: "address",
2272
- name: "market",
2273
- type: "address",
2274
- },
2275
- {
2276
- internalType: "uint256",
2277
- name: "exactYtIn",
2278
- type: "uint256",
2279
- },
2280
- ],
2281
- name: "swapExactYtForPtStatic",
2282
- outputs: [
2283
- {
2284
- internalType: "uint256",
2285
- name: "netPtOut",
2286
- type: "uint256",
2287
- },
2288
- {
2289
- internalType: "uint256",
2290
- name: "totalPtSwapped",
2291
- type: "uint256",
2292
- },
2293
- {
2294
- internalType: "uint256",
2295
- name: "netSyFee",
2296
- type: "uint256",
2297
- },
2298
- {
2299
- internalType: "uint256",
2300
- name: "priceImpact",
2301
- type: "uint256",
2302
- },
2303
- {
2304
- internalType: "uint256",
2305
- name: "exchangeRateAfter",
2306
- type: "uint256",
2307
- },
2308
- ],
2309
- stateMutability: "nonpayable",
2310
- type: "function",
2311
- },
2312
- {
2313
- inputs: [
2314
- {
2315
- internalType: "address",
2316
- name: "market",
2317
- type: "address",
2318
- },
2319
- {
2320
- internalType: "uint256",
2321
- name: "exactYtIn",
2322
- type: "uint256",
2323
- },
2324
- ],
2325
- name: "swapExactYtForSyStatic",
2326
- outputs: [
2327
- {
2328
- internalType: "uint256",
2329
- name: "netSyOut",
2330
- type: "uint256",
2331
- },
2332
- {
2333
- internalType: "uint256",
2334
- name: "netSyFee",
2335
- type: "uint256",
2336
- },
2337
- {
2338
- internalType: "uint256",
2339
- name: "priceImpact",
2340
- type: "uint256",
2341
- },
2342
- {
2343
- internalType: "uint256",
2344
- name: "exchangeRateAfter",
2345
- type: "uint256",
2346
- },
2347
- ],
2348
- stateMutability: "nonpayable",
2349
- type: "function",
2350
- },
2351
- {
2352
- inputs: [
2353
- {
2354
- internalType: "address",
2355
- name: "market",
2356
- type: "address",
2357
- },
2358
- {
2359
- internalType: "uint256",
2360
- name: "exactSyOut",
2361
- type: "uint256",
2362
- },
2363
- ],
2364
- name: "swapPtForExactSyStatic",
2365
- outputs: [
2366
- {
2367
- internalType: "uint256",
2368
- name: "netPtIn",
2369
- type: "uint256",
2370
- },
2371
- {
2372
- internalType: "uint256",
2373
- name: "netSyFee",
2374
- type: "uint256",
2375
- },
2376
- {
2377
- internalType: "uint256",
2378
- name: "priceImpact",
2379
- type: "uint256",
2380
- },
2381
- {
2382
- internalType: "uint256",
2383
- name: "exchangeRateAfter",
2384
- type: "uint256",
2385
- },
2386
- ],
2387
- stateMutability: "nonpayable",
2388
- type: "function",
2389
- },
2390
- {
2391
- inputs: [
2392
- {
2393
- internalType: "address",
2394
- name: "market",
2395
- type: "address",
2396
- },
2397
- {
2398
- internalType: "uint256",
2399
- name: "exactPtOut",
2400
- type: "uint256",
2401
- },
2402
- ],
2403
- name: "swapSyForExactPtStatic",
2404
- outputs: [
2405
- {
2406
- internalType: "uint256",
2407
- name: "netSyIn",
2408
- type: "uint256",
2409
- },
2410
- {
2411
- internalType: "uint256",
2412
- name: "netSyFee",
2413
- type: "uint256",
2414
- },
2415
- {
2416
- internalType: "uint256",
2417
- name: "priceImpact",
2418
- type: "uint256",
2419
- },
2420
- {
2421
- internalType: "uint256",
2422
- name: "exchangeRateAfter",
2423
- type: "uint256",
2424
- },
2425
- ],
2426
- stateMutability: "nonpayable",
2427
- type: "function",
2428
- },
2429
- {
2430
- inputs: [
2431
- {
2432
- internalType: "address",
2433
- name: "market",
2434
- type: "address",
2435
- },
2436
- {
2437
- internalType: "uint256",
2438
- name: "exactYtOut",
2439
- type: "uint256",
2440
- },
2441
- ],
2442
- name: "swapSyForExactYtStatic",
2443
- outputs: [
2444
- {
2445
- internalType: "uint256",
2446
- name: "netSyIn",
2447
- type: "uint256",
2448
- },
2449
- {
2450
- internalType: "uint256",
2451
- name: "netSyFee",
2452
- type: "uint256",
2453
- },
2454
- {
2455
- internalType: "uint256",
2456
- name: "priceImpact",
2457
- type: "uint256",
2458
- },
2459
- {
2460
- internalType: "uint256",
2461
- name: "exchangeRateAfter",
2462
- type: "uint256",
2463
- },
2464
- ],
2465
- stateMutability: "nonpayable",
2466
- type: "function",
2467
- },
2468
- {
2469
- inputs: [
2470
- {
2471
- internalType: "address",
2472
- name: "market",
2473
- type: "address",
2474
- },
2475
- {
2476
- internalType: "uint256",
2477
- name: "exactSyOut",
2478
- type: "uint256",
2479
- },
2480
- ],
2481
- name: "swapYtForExactSyStatic",
2482
- outputs: [
2483
- {
2484
- internalType: "uint256",
2485
- name: "netYtIn",
2486
- type: "uint256",
2487
- },
2488
- {
2489
- internalType: "uint256",
2490
- name: "netSyFee",
2491
- type: "uint256",
2492
- },
2493
- {
2494
- internalType: "uint256",
2495
- name: "priceImpact",
2496
- type: "uint256",
2497
- },
2498
- {
2499
- internalType: "uint256",
2500
- name: "exchangeRateAfter",
2501
- type: "uint256",
2502
- },
2503
- ],
2504
- stateMutability: "nonpayable",
2505
- type: "function",
2506
- },
2507
- {
2508
- inputs: [
2509
- {
2510
- internalType: "address",
2511
- name: "newOwner",
2512
- type: "address",
2513
- },
2514
- {
2515
- internalType: "bool",
2516
- name: "direct",
2517
- type: "bool",
2518
- },
2519
- {
2520
- internalType: "bool",
2521
- name: "renounce",
2522
- type: "bool",
2523
- },
2524
- ],
2525
- name: "transferOwnership",
2526
- outputs: [],
2527
- stateMutability: "nonpayable",
2528
- type: "function",
2529
- },
2530
- {
2531
- inputs: [
2532
- {
2533
- internalType: "address",
2534
- name: "newImplementation",
2535
- type: "address",
2536
- },
2537
- ],
2538
- name: "upgradeTo",
2539
- outputs: [],
2540
- stateMutability: "nonpayable",
2541
- type: "function",
2542
- },
2543
- {
2544
- inputs: [
2545
- {
2546
- internalType: "address",
2547
- name: "newImplementation",
2548
- type: "address",
2549
- },
2550
- {
2551
- internalType: "bytes",
2552
- name: "data",
2553
- type: "bytes",
2554
- },
2555
- ],
2556
- name: "upgradeToAndCall",
2557
- outputs: [],
2558
- stateMutability: "payable",
2559
- type: "function",
2560
- },
2561
- {
2562
- stateMutability: "payable",
2563
- type: "receive",
2564
- },
2565
- ];
2566
-
2567
- const _bytecode =
2568
- "0x610140604052306080523480156200001657600080fd5b5060405162005ac738038062005ac78339810160408190526200003991620001cf565b600154600160a81b900460ff161580801562000060575060018054600160a01b900460ff16105b806200009657506200007d30620001a760201b62003f301760201c565b15801562000096575060018054600160a01b900460ff16145b620000fe5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840160405180910390fd5b6001805460ff60a01b1916600160a01b17905580156200012c576001805460ff60a81b1916600160a81b1790555b6001600160a01b0380871660a05285811660c05284811660e0528381166101005282166101205280156200019b576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050506200024f565b6001600160a01b03163b151590565b6001600160a01b0381168114620001cc57600080fd5b50565b600080600080600060a08688031215620001e857600080fd5b8551620001f581620001b6565b60208701519095506200020881620001b6565b60408701519094506200021b81620001b6565b60608701519093506200022e81620001b6565b60808701519092506200024181620001b6565b809150509295509295909350565b60805160a05160c05160e05161010051610120516157e9620002de6000396000610c7701526000818161215d015281816121a101528181613416015261345a0152600061120001526000613d6a0152600081816115e201528181613c1f0152613ccf0152600081816118bb015281816118fb015281816124410152818161248101526124fd01526157e96000f3fe6080604052600436106102cc5760003560e01c8063078dfbe7146102e35780630cf85bcc146103035780630f8cb321146103cd5780631161b4a1146103fb57806313160b7a14610429578063180e3943146104495780631b9d358d146104765780631e0b8294146104965780631e965851146104d65780631fda28251461051e578063227501f51461053e57806325cadd2c1461056c5780632838e2641461058c57806330487dad146105ac578063340e1126146105cc5780633659cfe6146105ec578063372cfb931461060c5780633857a07b1461063957806338f3ba8e146106685780633b672dcd146106a35780633d8d2d5d146106c35780633ff03207146106e357806342968a5c146106fa578063488022a0146107295780634e71e0c8146107495780634f1ef2861461075e57806352d1902d1461077157806353dfc8681461078657806355b4fff5146107a657806355bbcd73146107d35780635b42f5e31461080357806360d7c59814610823578063629723a114610843578063655ee8201461086357806365d0d2fa1461088357806368d384c0146108a35780636ce43709146108c35780636e7721ab146108f15780638129fc1c1461091157806388a485f3146109265780638c0cc77c146109465780638d4ab764146109665780638da5cb5b146109865780638f1a71be146109b35780639225afd6146109d35780639766cb4e14610a0057806397743c4314610a205780639a01bff614610a405780639b6bac9014610a60578063a749840a14610a80578063a8b5bc9f14610aad578063a9d09ae314610acd578063b1f3606514610aed578063bdd1bb1214610b0d578063bfcafedc14610b2d578063c141d65214610b5b578063c74141f114610b7b578063d52eacb214610b9b578063d8d3307814610bda578063e30c397814610bfa578063e5ce901c14610c1a578063efb7601d14610c3a578063fa78668f14610c5a576102db565b366102db576102d9610c72565b005b6102d9610c72565b3480156102ef57600080fd5b506102d96102fe3660046146ec565b610c9d565b34801561030f57600080fd5b5061032361031e366004614737565b610da2565b6040516103c495949392919060006101a08201905060018060a01b03808816835280871660208401528551604084015260208601516060840152604086015160808401528060608701511660a084015250608085015160c083015260a085015160e083015260c0850151610100818185015260e087015161012085015280870151610140850152505083610160830152826101808301529695505050505050565b60405180910390f35b3480156103d957600080fd5b506103ed6103e8366004614754565b610f77565b6040519081526020016103c4565b34801561040757600080fd5b5061041b610416366004614780565b610ffd565b6040516103c49291906147d3565b34801561043557600080fd5b506103ed610444366004614754565b6110a0565b34801561045557600080fd5b506104696104643660046147f6565b61111c565b6040516103c49190614836565b34801561048257600080fd5b506103ed610491366004614737565b611390565b3480156104a257600080fd5b506104b66104b1366004614754565b61140b565b6040805194855260208501939093529183015260608201526080016103c4565b3480156104e257600080fd5b506104f66104f1366004614754565b61149b565b604080519586526020860194909452928401919091526060830152608082015260a0016103c4565b34801561052a57600080fd5b506104b661053936600461484a565b611530565b34801561054a57600080fd5b5061055e610559366004614737565b6115dd565b6040516103c4929190614892565b34801561057857600080fd5b506104b6610587366004614754565b611746565b34801561059857600080fd5b506104b66105a7366004614780565b611785565b3480156105b857600080fd5b506104b66105c736600461484a565b611831565b3480156105d857600080fd5b506104b66105e7366004614754565b611872565b3480156105f857600080fd5b506102d9610607366004614737565b6118b1565b34801561061857600080fd5b5061062c6106273660046148ac565b611979565b6040516103c49190614998565b34801561064557600080fd5b50610659610654366004614737565b611cbe565b6040516103c4939291906149a7565b34801561067457600080fd5b50610688610683366004614a05565b611f85565b604080519384526020840192909252908201526060016103c4565b3480156106af57600080fd5b506104f66106be366004614754565b612015565b3480156106cf57600080fd5b506103ed6106de366004614780565b612056565b3480156106ef57600080fd5b5061046962093a8081565b34801561070657600080fd5b5061071a6107153660046148ac565b612157565b6040516103c493929190614a3a565b34801561073557600080fd5b50610688610744366004614a5b565b6122c0565b34801561075557600080fd5b506102d961238c565b6102d961076c366004614b25565b612437565b34801561077d57600080fd5b506103ed6124f0565b34801561079257600080fd5b506104b66107a1366004614754565b61259e565b3480156107b257600080fd5b506107c66107c1366004614bcc565b6125dd565b6040516103c49190614c53565b3480156107df57600080fd5b506107f36107ee366004614ca2565b6126a4565b60405190151581526020016103c4565b34801561080f57600080fd5b506104f661081e366004614754565b6126e8565b34801561082f57600080fd5b506104b661083e366004614780565b612729565b34801561084f57600080fd5b5061041b61085e36600461484a565b612779565b34801561086f57600080fd5b506103ed61087e366004614780565b61281b565b34801561088f57600080fd5b506103ed61089e366004614cdc565b6128a7565b3480156108af57600080fd5b506103ed6108be366004614754565b612a07565b3480156108cf57600080fd5b506108e36108de3660046148ac565b612a43565b6040516103c4929190614d72565b3480156108fd57600080fd5b506104b661090c366004614754565b612c7e565b34801561091d57600080fd5b506102d9612cbd565b34801561093257600080fd5b5061041b610941366004614754565b612deb565b34801561095257600080fd5b506104b6610961366004614754565b612e73565b34801561097257600080fd5b506104f6610981366004614754565b612eb2565b34801561099257600080fd5b506000546109a6906001600160a01b031681565b6040516103c49190614d8b565b3480156109bf57600080fd5b506104b66109ce36600461484a565b612ef3565b3480156109df57600080fd5b506109f36109ee3660046148ac565b612f34565b6040516103c49190614dfb565b348015610a0c57600080fd5b5061041b610a1b366004614754565b6133d4565b348015610a2c57600080fd5b5061071a610a3b366004614e0e565b613410565b348015610a4c57600080fd5b506104b6610a5b366004614754565b61361d565b348015610a6c57600080fd5b506103ed610a7b366004614780565b61365c565b348015610a8c57600080fd5b50610aa0610a9b366004614bcc565b61370b565b6040516103c49190614e54565b348015610ab957600080fd5b506104f6610ac8366004614780565b6137ca565b348015610ad957600080fd5b506104f6610ae8366004614754565b61387a565b348015610af957600080fd5b506104b6610b08366004614754565b6138bb565b348015610b1957600080fd5b506109a6610b28366004614737565b6138fa565b348015610b3957600080fd5b50610b4d610b483660046148ac565b613969565b6040516103c4929190614eef565b348015610b6757600080fd5b506103ed610b7636600461484a565b613b5d565b348015610b8757600080fd5b506103ed610b96366004614737565b613bde565b348015610ba757600080fd5b50610bbb610bb6366004614737565b613c18565b60408051931515845291151560208401521515908201526060016103c4565b348015610be657600080fd5b506104b6610bf5366004614754565b613df0565b348015610c0657600080fd5b506001546109a6906001600160a01b031681565b348015610c2657600080fd5b506103ed610c35366004614754565b613e2f565b348015610c4657600080fd5b506103ed610c55366004614737565b613f23565b348015610c6657600080fd5b506104696303bfc40081565b610c9b7f0000000000000000000000000000000000000000000000000000000000000000613f3f565b565b6000546001600160a01b03163314610cd05760405162461bcd60e51b8152600401610cc790614f14565b60405180910390fd5b8115610d81576001600160a01b038316151580610cea5750805b610d2e5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610cc7565b600080546040516001600160a01b038087169392169160008051602061576d83398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b600080610dfd60405180610120016040528060008152602001600081526020016000815260200160006001600160a01b0316815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000806000869050600080886001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610e46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6a9190614f49565b5091509150809750819650826001600160a01b031663794052f3306040518263ffffffff1660e01b8152600401610ea19190614d8b565b61012060405180830381865afa158015610ebf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee39190614f9b565b9550610eee89613bde565b6040516332ba51ed60e21b815290955073__$b833238e904528751783273f1c78695846$__9063cae947b490610f28908c90600401614d8b565b602060405180830381865af4158015610f45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f69919061501d565b935050505091939590929450565b604051630f8cb32160e01b815260009073__$b833238e904528751783273f1c78695846$__90630f8cb32190610fb39086908690600401615036565b602060405180830381865af4158015610fd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff4919061501d565b90505b92915050565b600080600061101661100e886138fa565b87878761365c565b6040516388a485f360e01b815290915073__$b833238e904528751783273f1c78695846$__906388a485f390611052908a908590600401615036565b6040805180830381865af415801561106e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611092919061504f565b925092505094509492505050565b600080839050611114816001600160a01b0316631d52edc46040518163ffffffff1660e01b81526004016020604051808303816000875af11580156110e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110d919061501d565b8490613f63565b949350505050565b6000611130826001600160801b0316613f92565b61114f5781604051637bf16ce960e11b8152600401610cc79190614836565b6001600160801b038216421061117a578160405163d928003560e01b8152600401610cc79190614836565b6111886303bfc40042615089565b826001600160801b031611156111b157604051632739a01960e11b815260040160405180910390fd5b6111be62093a8042615089565b826001600160801b031610156111e757604051630def6af560e21b815260040160405180910390fd5b60408051808201909152600080825260208201526000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663cb6b4f3c886040518263ffffffff1660e01b815260040161124a9190614d8b565b6040805180830381865afa158015611266573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128a919061509c565b604080518082019091526001600160801b03928316815290821660208201819052909450908616101591506112d4905057604051631f8b0c5960e21b815260040160405180910390fd5b80516000906112e390866150cb565b9050806001600160801b031660000361130f576040516323fbc14f60e11b815260040160405180910390fd5b600082602001518561132191906150eb565b90506000604051806040016040528088866000015161134091906150cb565b6001600160801b0316815260200183866020015161135e91906150cb565b6001600160801b031690529050600061137682613fa8565b905061138181613ffa565b955050505050505b9392505050565b604051631b9d358d60e01b815260009073__$b833238e904528751783273f1c78695846$__90631b9d358d906113ca908590600401614d8b565b602060405180830381865af41580156113e7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff7919061501d565b60008060008073__$b833238e904528751783273f1c78695846$__631e0b829487876040518363ffffffff1660e01b815260040161144a929190615036565b608060405180830381865af4158015611467573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148b919061510b565b9299919850965090945092505050565b600080600080600073__$b833238e904528751783273f1c78695846$__631e96585188886040518363ffffffff1660e01b81526004016114dc929190615036565b60a060405180830381865af41580156114f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061151d9190615141565b939b929a50909850965090945092505050565b600080600080600073__$b833238e904528751783273f1c78695846$__631e0b82948a8a6040518363ffffffff1660e01b8152600401611571929190615036565b608060405180830381865af415801561158e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b2919061510b565b9196509450925090506115cf6115c78a6138fa565b888389612056565b945050945094509450949050565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166371846aa8846040518263ffffffff1660e01b815260040161162c9190614d8b565b602060405180830381865afa158015611649573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166d9190615181565b156116da57826001600160a01b031663d94073d46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116d4919061519e565b93915050565b829150826001600160a01b031663781c18db6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561171b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061173f919061519e565b9050915091565b60008060008073__$b833238e904528751783273f1c78695846$__6325cadd2c87876040518363ffffffff1660e01b815260040161144a929190615036565b60008060008060006117a16117998a6138fa565b89898961365c565b60405163b1f3606560e01b815290915073__$b833238e904528751783273f1c78695846$__9063b1f36065906117dd908c908590600401615036565b608060405180830381865af41580156117fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061181e919061510b565b929c919b50995090975095505050505050565b600080600080600073__$b833238e904528751783273f1c78695846$__639a01bff68a8a6040518363ffffffff1660e01b8152600401611571929190615036565b60008060008073__$b833238e904528751783273f1c78695846$__63340e112687876040518363ffffffff1660e01b815260040161144a929190615036565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036118f95760405162461bcd60e51b8152600401610cc7906151bb565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661192b61401c565b6001600160a01b0316146119515760405162461bcd60e51b8152600401610cc7906151f5565b61195a81614038565b6040805160008082526020820190925261197691839190614062565b50565b611981614615565b6040516370a0823160e01b815283906000906001600160a01b038316906370a08231906119b2908790600401614d8b565b602060405180830381865afa1580156119cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f3919061501d565b6001600160a01b0380871685526020850182905260408051630b2339af60e21b815290519293506000928392861691632c8ce6bc9160048083019260609291908290030181865afa158015611a4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a709190614f49565b5091509150816001600160a01b031663a40bee506040518163ffffffff1660e01b8152600401606060405180830381865afa158015611ab3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ad79190615240565b5060808701516001600160a01b0382166020820152826001811115611afe57611afe6148fd565b6001811115611b0f57611b0f6148fd565b9052505060405163794052f360e01b81526000906001600160a01b0386169063794052f390611b42903090600401614d8b565b61012060405180830381865afa158015611b60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b849190614f9b565b60408101519091506000819003611ba057505050505050610ff7565b81516000908290611bb1908861528c565b611bbb91906152b9565b9050600082846020015188611bd0919061528c565b611bda91906152b9565b90506040518060400160405280866001600160a01b031681526020018381525089604001819052506040518060400160405280876001600160a01b03168152602001828152508960600181905250670de0b6b3a7640000866001600160a01b0316633ba0b9a96040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c93919061501d565b611c9d908361528c565b611ca791906152b9565b60808a015160400152505050505050505092915050565b60008060606000611cce856115dd565b9150506000819050806001600160a01b0316631d52edc46040518163ffffffff1660e01b81526004016020604051808303816000875af1158015611d16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d3a919061501d565b9450806001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d9e919061501d565b93506000816001600160a01b031663c4f59f9b6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611de0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e0891908101906152f0565b905080516001600160401b03811115611e2357611e23614ab6565b604051908082528060200260200182016040528015611e6857816020015b6040805180820190915260008082526020820152815260200190600190039081611e415790505b5093506000826001600160a01b031663f8b2f9916040518163ffffffff1660e01b81526004016000604051808303816000875af1158015611ead573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ed59190810190615383565b905060005b8251811015611f79576000838281518110611ef757611ef7615408565b6020026020010151905080878381518110611f1457611f14615408565b60209081029190910101516001600160a01b0390911690528251839083908110611f4057611f40615408565b6020026020010151878381518110611f5a57611f5a615408565b602090810291909101810151015250611f728161541e565b9050611eda565b50505050509193909250565b600080600073__$b833238e904528751783273f1c78695846$__6338f3ba8e8787876040518463ffffffff1660e01b8152600401611fc593929190614a3a565b606060405180830381865af4158015611fe2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120069190615437565b92509250925093509350939050565b600080600080600073__$b833238e904528751783273f1c78695846$__63e837dadc88886040518363ffffffff1660e01b81526004016114dc929190615036565b60006001600160a01b038216156120df576000826001600160a01b0316632778c3346040518163ffffffff1660e01b815260040160a060405180830381865afa1580156120a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120cb9190615465565b90506120d781856141cd565b915050611114565b60405163cbe52ae360e01b81526001600160a01b0386169063cbe52ae39061210d9087908790600401615036565b602060405180830381865afa15801561212a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061214e919061501d565b95945050505050565b600080807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316156122b95760405163d81e842360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d81e8423906121d89088908890600401614892565b602060405180830381865afa1580156121f5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612219919061519e565b92506001600160a01b038316156122b9576000836001600160a01b0316632778c3346040518163ffffffff1660e01b815260040160a060405180830381865afa15801561226a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061228e9190615465565b80519091501515806122a35750602081015115155b156122b75780604001519250806060015191505b505b9250925092565b6000806000806122d26117998a6138fa565b9050600073__$b833238e904528751783273f1c78695846$__6338f3ba8e8b84896040518463ffffffff1660e01b815260040161231193929190614a3a565b606060405180830381865af415801561232e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123529190615437565b919650909350905081811461237e578181604051636f5068bb60e11b8152600401610cc79291906147d3565b509298959750955050505050565b6001546001600160a01b03163381146123e75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610cc7565b600080546040516001600160a01b038085169392169160008051602061576d83398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016300361247f5760405162461bcd60e51b8152600401610cc7906151bb565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166124b161401c565b6001600160a01b0316146124d75760405162461bcd60e51b8152600401610cc7906151f5565b6124e082614038565b6124ec82826001614062565b5050565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461258b5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b6064820152608401610cc7565b5060008051602061574d83398151915290565b60008060008073__$b833238e904528751783273f1c78695846$__6353dfc86887876040518363ffffffff1660e01b815260040161144a929190615036565b6060816001600160401b038111156125f7576125f7614ab6565b60405190808252806020026020018201604052801561263057816020015b61261d614615565b8152602001906001900390816126155790505b50905060005b8281101561269c5761266e84848381811061265357612653615408565b90506020020160208101906126689190614737565b86611979565b82828151811061268057612680615408565b6020026020010181905250806126959061541e565b9050612636565b509392505050565b600080826040013511806126bc575060008260600135115b806126ca575060a082013515155b80610ff7575060006126df60c08401846154d4565b90501192915050565b600080600080600073__$b833238e904528751783273f1c78695846$__635b42f5e388886040518363ffffffff1660e01b81526004016114dc929190615036565b600080600080600061273d6117998a6138fa565b60405163230331df60e21b815290915073__$b833238e904528751783273f1c78695846$__90638c0cc77c906117dd908c908590600401615036565b600080600073__$b833238e904528751783273f1c78695846$__639766cb4e88886040518363ffffffff1660e01b81526004016127b7929190615036565b6040805180830381865af41580156127d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127f7919061504f565b9250905061280f612807886138fa565b868387612056565b92505094509492505050565b600080856001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa15801561285c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612880919061519e565b905060006128908287878761365c565b905061289c8782613e2f565b979650505050505050565b600080846001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061290c919061551d565b61291790600a61561c565b9050805b60006129298888848961365c565b90508481106129445761293d600a836152b9565b915061294a565b50612950565b5061291b565b815b60006129608989848a61365c565b90508581101561297c57612975600a8361528c565b9150612982565b50612988565b50612952565b8082116129ec576000600261299d8385615089565b6129a791906152b9565b905060006129b78a8a848b61365c565b90508681106129d7578195506001826129d0919061562b565b92506129e5565b6129e2826001615089565b93505b5050612988565b600084116129fc576129fc61563e565b505050949350505050565b6040516351a2b06360e11b815260009073__$b833238e904528751783273f1c78695846$__9063a34560c690610fb39086908690600401615036565b6040516370a0823160e01b815260009060609084906001600160a01b038216906370a0823190612a77908490600401614d8b565b602060405180830381865afa158015612a94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ab8919061501d565b92506000816001600160a01b031663c4f59f9b6040518163ffffffff1660e01b8152600401600060405180830381865afa158015612afa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612b2291908101906152f0565b905080516001600160401b03811115612b3d57612b3d614ab6565b604051908082528060200260200182016040528015612b7657816020015b612b63614664565b815260200190600190039081612b5b5790505b50925060005b8151811015612c74576000828281518110612b9957612b99615408565b6020026020010151905080858381518110612bb657612bb6615408565b60209081029190910101516001600160a01b03918216905260405163172eb6f960e21b815290891690635cbadbe490612bf59084908b90600401614892565b6040805180830381865afa158015612c11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c35919061509c565b9050806001600160801b03169050858381518110612c5557612c55615408565b602090810291909101810151015250612c6d8161541e565b9050612b7c565b5050509250929050565b60008060008073__$b833238e904528751783273f1c78695846$__636e7721ab87876040518363ffffffff1660e01b815260040161144a929190615036565b600154600160a81b900460ff1615808015612ce3575060018054600160a01b900460ff16105b80612d0a5750612cf230613f30565b158015612d0a575060018054600160a01b900460ff16145b612d6d5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610cc7565b6001805460ff60a01b1916600160a01b1790558015612d9a576001805460ff60a81b1916600160a81b1790555b612da2614248565b8015611976576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150565b60008073__$b833238e904528751783273f1c78695846$__6388a485f385856040518363ffffffff1660e01b8152600401612e27929190615036565b6040805180830381865af4158015612e43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e67919061504f565b915091505b9250929050565b60008060008073__$b833238e904528751783273f1c78695846$__638c0cc77c87876040518363ffffffff1660e01b815260040161144a929190615036565b600080600080600073__$b833238e904528751783273f1c78695846$__639dde749c88886040518363ffffffff1660e01b81526004016114dc929190615036565b600080600080600073__$b833238e904528751783273f1c78695846$__63d8d330788a8a6040518363ffffffff1660e01b8152600401611571929190615036565b612f3c61467b565b612f45836115dd565b6001600160a01b03908116808452911660208301526040516370a0823160e01b815281906370a0823190612f7d908690600401614d8b565b602060405180830381865afa158015612f9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fbe919061501d565b82604001818152505081602001516001600160a01b03166370a08231846040518263ffffffff1660e01b8152600401612ff79190614d8b565b602060405180830381865afa158015613014573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613038919061501d565b826060018181525050806001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa15801561307f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130a3919061519e565b60808301516001600160a01b03918216905260405163d68076c360e01b81529082169063d68076c3906130da908690600401614d8b565b6040805180830381865afa1580156130f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061311a919061509c565b9050806001600160801b03169050826080015160200181815250506000816001600160a01b031663c4f59f9b6040518163ffffffff1660e01b8152600401600060405180830381865afa158015613175573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261319d91908101906152f0565b9050600081516001600160401b038111156131ba576131ba614ab6565b6040519080825280602002602001820160405280156131f357816020015b6131e0614664565b8152602001906001900390816131d85790505b5090506000805b835181101561331a57600084828151811061321757613217615408565b602002602001015190506000866001600160a01b0316635cbadbe4838b6040518363ffffffff1660e01b8152600401613251929190614892565b6040805180830381865afa15801561326d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613291919061509c565b6001600160801b0316915050801561330757818585815181106132b6576132b6615408565b6020026020010151600001906001600160a01b031690816001600160a01b031681525050808585815181106132ed576132ed615408565b60209081029190910181015101526133048461541e565b93505b5050806133139061541e565b90506131fa565b50806001600160401b0381111561333357613333614ab6565b60405190808252806020026020018201604052801561336c57816020015b613359614664565b8152602001906001900390816133515790505b5060a086015260005b818110156133c95782818151811061338f5761338f615408565b60200260200101518660a0015182815181106133ad576133ad615408565b6020026020010181905250806133c29061541e565b9050613375565b505050505092915050565b60008073__$b833238e904528751783273f1c78695846$__639766cb4e85856040518363ffffffff1660e01b8152600401612e27929190615036565b600080807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316156136135760405163d81e842360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d81e842390613491908a908a90600401614892565b602060405180830381865afa1580156134ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134d2919061519e565b92506001600160a01b03831615613613576000836001600160a01b0316632778c3346040518163ffffffff1660e01b815260040160a060405180830381865afa158015613523573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135479190615465565b8051909150158061355a57506020810151155b1561357057600080600093509350935050613613565b60006135958260800151670de0b6b3a764000061358d919061562b565b8351906142c9565b905060006135bf8360800151670de0b6b3a76400006135b4919061562b565b6020850151906142c9565b60608401519091506135d189846142c9565b11806135e9575060408301516135e788836142c9565b115b15613601576000806000955095509550505050613613565b82604001519450826060015193505050505b9450945094915050565b60008060008073__$b833238e904528751783273f1c78695846$__639a01bff687876040518363ffffffff1660e01b815260040161144a929190615036565b60006001600160a01b038216156136dd576000826001600160a01b0316632778c3346040518163ffffffff1660e01b815260040160a060405180830381865afa1580156136ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136d19190615465565b90506120d781856142e7565b604051635c7c159360e11b81526001600160a01b0386169063b8f82b269061210d9087908790600401615036565b6060816001600160401b0381111561372557613725614ab6565b60405190808252806020026020018201604052801561375e57816020015b61374b61467b565b8152602001906001900390816137435790505b50905060005b8281101561269c5761379c84848381811061378157613781615408565b90506020020160208101906137969190614737565b86612f34565b8282815181106137ae576137ae615408565b6020026020010181905250806137c39061541e565b9050613764565b6000806000806000806137e76137df8b6138fa565b8a8a8a61365c565b604051635b42f5e360e01b815290915073__$b833238e904528751783273f1c78695846$__90635b42f5e390613823908d908590600401615036565b60a060405180830381865af4158015613840573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138649190615141565b9550955095509550955050945094509450945094565b600080600080600073__$b833238e904528751783273f1c78695846$__63a9d09ae388886040518363ffffffff1660e01b81526004016114dc929190615036565b60008060008073__$b833238e904528751783273f1c78695846$__63b1f3606587876040518363ffffffff1660e01b815260040161144a929190615036565b600080826001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa15801561393b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061395f9190614f49565b5090949350505050565b6060806001600160a01b03841615613ab7576000846001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa1580156139bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139df919061519e565b9050806001600160a01b031663213cae636040518163ffffffff1660e01b8152600401600060405180830381865afa158015613a1f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613a4791908101906152f0565b816001600160a01b031663071bc3c96040518163ffffffff1660e01b8152600401600060405180830381865afa158015613a85573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613aad91908101906152f0565b9250925050612e6c565b6000836001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015613af7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b1b9190614f49565b50509050806001600160a01b031663213cae636040518163ffffffff1660e01b8152600401600060405180830381865afa158015613a1f573d6000803e3d6000fd5b600080856001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa158015613b9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613bc2919061519e565b90506000613bd087876110a0565b905061289c82868387612056565b60405163c74141f160e01b815260009073__$b833238e904528751783273f1c78695846$__9063c74141f1906113ca908590600401614d8b565b60008060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318b7373d856040518263ffffffff1660e01b8152600401613c699190614d8b565b602060405180830381865afa158015613c86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613caa9190615181565b15613cb85760019250613de9565b604051630e308d5560e31b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906371846aa890613d04908790600401614d8b565b602060405180830381865afa158015613d21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d459190615181565b15613d535760019150613de9565b6040516358e6309f60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906358e6309f90613d9f908790600401614d8b565b602060405180830381865afa158015613dbc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613de09190615181565b15613de9575060015b9193909250565b60008060008073__$b833238e904528751783273f1c78695846$__63d8d3307887876040518363ffffffff1660e01b815260040161144a929190615036565b600080839050806001600160a01b0316632f13b60c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613e73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e979190615181565b15613eb557604051632d8ad36d60e11b815260040160405180910390fd5b611114816001600160a01b0316631d52edc46040518163ffffffff1660e01b81526004016020604051808303816000875af1158015613ef8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f1c919061501d565b84906142c9565b6000610ff7826000610f77565b6001600160a01b03163b151590565b3660008037600080366000845af43d6000803e808015613f5e573d6000f35b3d6000fd5b600080613f78670de0b6b3a76400008561528c565b9050828181613f8957613f896152a3565b04949350505050565b6000613fa162093a8083615654565b1592915050565b60408051808201909152600080825260208201528151613fcd906303bfc40090615668565b6001600160801b03166020808301829052830151613fea9161568e565b6001600160801b03168152919050565b600061400582614358565b1561401257506000919050565b610ff78242614389565b60008051602061574d833981519152546001600160a01b031690565b6000546001600160a01b031633146119765760405162461bcd60e51b8152600401610cc790614f14565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff161561409557610d9d836143dc565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156140ef575060408051601f3d908101601f191682019092526140ec9181019061501d565b60015b6141525760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610cc7565b60008051602061574d83398151915281146141c15760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610cc7565b50610d9d838383614476565b6000806141f68460800151670de0b6b3a76400006141eb919061562b565b6020860151906142c9565b9050806000036142085761420861563e565b61421283826142c9565b9150836040015182111561424157836040015182604051631895cd1f60e01b8152600401610cc79291906147d3565b5092915050565b600154600160a81b900460ff166142b55760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610cc7565b600080546001600160a01b03191633179055565b6000806142d6838561528c565b9050670de0b6b3a764000081613f89565b60008061430d8460800151670de0b6b3a7640000614305919061562b565b8551906142c9565b90508060000361431f5761431f61563e565b61432983826142c9565b915083606001518211156142415783606001518260405163035c130560e21b8152600401610cc79291906147d3565b600081600001516001600160801b0316428360200151614378919061568e565b6001600160801b0316101592915050565b600082600001516001600160801b03168284602001516143a9919061568e565b6001600160801b031611156143c057506000610ff7565b8183602001516143d0919061568e565b8351610ff491906150eb565b6143e581613f30565b6144475760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610cc7565b60008051602061574d83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b61447f836144a1565b60008251118061448c5750805b15610d9d5761449b83836144e1565b50505050565b6144aa816143dc565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060610ff4838360405180606001604052806027815260200161578d60279139606061450c84613f30565b6145675760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610cc7565b600080856001600160a01b03168560405161458291906156dd565b600060405180830381855af49150503d80600081146145bd576040519150601f19603f3d011682016040523d82523d6000602084013e6145c2565b606091505b50915091506145d28282866145dc565b9695505050505050565b606083156145eb575081611389565b8251156145fb5782518084602001fd5b8160405162461bcd60e51b8152600401610cc791906156f9565b6040805160a08101825260008082526020820152908101614634614664565b8152602001614641614664565b815260408051606081018252600080825260208281018290529282015291015290565b604080518082019091526000808252602082015290565b6040518060c0016040528060006001600160a01b0316815260200160006001600160a01b0316815260200160008152602001600081526020016146bc614664565b8152602001606081525090565b6001600160a01b038116811461197657600080fd5b801515811461197657600080fd5b60008060006060848603121561470157600080fd5b833561470c816146c9565b9250602084013561471c816146de565b9150604084013561472c816146de565b809150509250925092565b60006020828403121561474957600080fd5b8135611389816146c9565b6000806040838503121561476757600080fd5b8235614772816146c9565b946020939093013593505050565b6000806000806080858703121561479657600080fd5b84356147a1816146c9565b935060208501356147b1816146c9565b92506040850135915060608501356147c8816146c9565b939692955090935050565b918252602082015260400190565b6001600160801b038116811461197657600080fd5b60008060006060848603121561480b57600080fd5b8335614816816146c9565b92506020840135614826816147e1565b9150604084013561472c816147e1565b6001600160801b0391909116815260200190565b6000806000806080858703121561486057600080fd5b843561486b816146c9565b9350602085013592506040850135614882816146c9565b915060608501356147c8816146c9565b6001600160a01b0392831681529116602082015260400190565b600080604083850312156148bf57600080fd5b82356148ca816146c9565b915060208301356148da816146c9565b809150509250929050565b80516001600160a01b03168252602090810151910152565b634e487b7160e01b600052602160045260246000fd5b60018060a01b0380825116835260208201516020840152604082015161493c60408501826148e5565b50606082015161494f60808501826148e5565b50608082015180516002811061497557634e487b7160e01b600052602160045260246000fd5b60c0850152602081015190911660e0840152604001516101009092019190915250565b6101208101610ff78284614913565b600060608201858352602085818501526040606081860152828651808552608087019150838801945060005b818110156149f6576149e68387516148e5565b94840194918301916001016149d3565b50909998505050505050505050565b600080600060608486031215614a1a57600080fd5b8335614a25816146c9565b95602085013595506040909401359392505050565b6001600160a01b039390931683526020830191909152604082015260600190565b600080600080600060a08688031215614a7357600080fd5b8535614a7e816146c9565b94506020860135614a8e816146c9565b9350604086013592506060860135614aa5816146c9565b949793965091946080013592915050565b634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b0381118282101715614aef57614aef614ab6565b60405290565b604051601f8201601f191681016001600160401b0381118282101715614b1d57614b1d614ab6565b604052919050565b60008060408385031215614b3857600080fd5b8235614b43816146c9565b91506020838101356001600160401b0380821115614b6057600080fd5b818601915086601f830112614b7457600080fd5b813581811115614b8657614b86614ab6565b614b98601f8201601f19168501614af5565b91508082528784828501011115614bae57600080fd5b80848401858401376000848284010152508093505050509250929050565b600080600060408486031215614be157600080fd5b8335614bec816146c9565b925060208401356001600160401b0380821115614c0857600080fd5b818601915086601f830112614c1c57600080fd5b813581811115614c2b57600080fd5b8760208260051b8501011115614c4057600080fd5b6020830194508093505050509250925092565b6020808252825182820181905260009190848201906040850190845b81811015614c9657614c82838551614913565b928401926101209290920191600101614c6f565b50909695505050505050565b600060208284031215614cb457600080fd5b81356001600160401b03811115614cca57600080fd5b820160e0818503121561138957600080fd5b60008060008060808587031215614cf257600080fd5b8435614cfd816146c9565b93506020850135614d0d816146c9565b92506040850135614d1d816146c9565b9396929550929360600135925050565b600081518084526020808501945080840160005b83811015614d6757614d548783516148e5565b6040969096019590820190600101614d41565b509495945050505050565b8281526040602082015260006111146040830184614d2d565b6001600160a01b0391909116815260200190565b600060018060a01b038083511684528060208401511660208501525060408201516040840152606082015160608401526080820151614de160808501826148e5565b5060a082015160e060c085015261111460e0850182614d2d565b602081526000610ff46020830184614d9f565b60008060008060808587031215614e2457600080fd5b8435614e2f816146c9565b93506020850135614e3f816146c9565b93969395505050506040820135916060013590565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015614ea957603f19888603018452614e97858351614d9f565b94509285019290850190600101614e7b565b5092979650505050505050565b600081518084526020808501945080840160005b83811015614d675781516001600160a01b031687529582019590820190600101614eca565b604081526000614f026040830185614eb6565b828103602084015261214e8185614eb6565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600080600060608486031215614f5e57600080fd5b8351614f69816146c9565b6020850151909350614f7a816146c9565b604085015190925061472c816146c9565b8051614f96816146c9565b919050565b60006101208284031215614fae57600080fd5b614fb6614acc565b825181526020830151602082015260408301516040820152614fda60608401614f8b565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015181830152508091505092915050565b60006020828403121561502f57600080fd5b5051919050565b6001600160a01b03929092168252602082015260400190565b6000806040838503121561506257600080fd5b505080516020909101519092909150565b634e487b7160e01b600052601160045260246000fd5b80820180821115610ff757610ff7615073565b600080604083850312156150af57600080fd5b82516150ba816147e1565b60208401519092506148da816147e1565b6001600160801b0381811683821601908082111561424157614241615073565b6001600160801b0382811682821603908082111561424157614241615073565b6000806000806080858703121561512157600080fd5b505082516020840151604085015160609095015191969095509092509050565b600080600080600060a0868803121561515957600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b60006020828403121561519357600080fd5b8151611389816146de565b6000602082840312156151b057600080fd5b8151611389816146c9565b6020808252602c9082015260008051602061572d83398151915260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c9082015260008051602061572d83398151915260408201526b6163746976652070726f787960a01b606082015260800190565b805160ff81168114614f9657600080fd5b60008060006060848603121561525557600080fd5b83516002811061526457600080fd5b6020850151909350615275816146c9565b91506152836040850161522f565b90509250925092565b8082028115828204841417610ff757610ff7615073565b634e487b7160e01b600052601260045260246000fd5b6000826152c8576152c86152a3565b500490565b60006001600160401b038211156152e6576152e6614ab6565b5060051b60200190565b6000602080838503121561530357600080fd5b82516001600160401b0381111561531957600080fd5b8301601f8101851361532a57600080fd5b805161533d615338826152cd565b614af5565b81815260059190911b8201830190838101908783111561535c57600080fd5b928401925b8284101561289c578351615374816146c9565b82529284019290840190615361565b6000602080838503121561539657600080fd5b82516001600160401b038111156153ac57600080fd5b8301601f810185136153bd57600080fd5b80516153cb615338826152cd565b81815260059190911b820183019083810190878311156153ea57600080fd5b928401925b8284101561289c578351825292840192908401906153ef565b634e487b7160e01b600052603260045260246000fd5b60006001820161543057615430615073565b5060010190565b60008060006060848603121561544c57600080fd5b8351925060208401519150604084015190509250925092565b600060a0828403121561547757600080fd5b60405160a081016001600160401b038111828210171561549957615499614ab6565b806040525082518152602083015160208201526040830151604082015260608301516060820152608083015160808201528091505092915050565b6000808335601e198436030181126154eb57600080fd5b8301803591506001600160401b0382111561550557600080fd5b6020019150600681901b3603821315612e6c57600080fd5b60006020828403121561552f57600080fd5b610ff48261522f565b600181815b8085111561557357816000190482111561555957615559615073565b8085161561556657918102915b93841c939080029061553d565b509250929050565b60008261558a57506001610ff7565b8161559757506000610ff7565b81600181146155ad57600281146155b7576155d3565b6001915050610ff7565b60ff8411156155c8576155c8615073565b50506001821b610ff7565b5060208310610133831016604e8410600b84101617156155f6575081810a610ff7565b6156008383615538565b806000190482111561561457615614615073565b029392505050565b6000610ff460ff84168361557b565b81810381811115610ff757610ff7615073565b634e487b7160e01b600052600160045260246000fd5b600082615663576156636152a3565b500690565b60006001600160801b0383811680615682576156826152a3565b92169190910492915050565b6001600160801b038181168382160280821691908281146156b1576156b1615073565b505092915050565b60005b838110156156d45781810151838201526020016156bc565b50506000910152565b600082516156ef8184602087016156b9565b9190910192915050565b60208152600082518060208401526157188160408501602087016156b9565b601f01601f1916919091016040019291505056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212207cb79d26390eb823fb446b2a5d505f7a441384c88bc891ae37547857ea82f82b64736f6c63430008110033";
2569
-
2570
- type RouterStaticConstructorParams =
2571
- | [linkLibraryAddresses: RouterStaticLibraryAddresses, signer?: Signer]
2572
- | ConstructorParameters<typeof ContractFactory>;
2573
-
2574
- const isSuperArgs = (
2575
- xs: RouterStaticConstructorParams
2576
- ): xs is ConstructorParameters<typeof ContractFactory> => {
2577
- return (
2578
- typeof xs[0] === "string" ||
2579
- (Array.isArray as (arg: any) => arg is readonly any[])(xs[0]) ||
2580
- "_isInterface" in xs[0]
2581
- );
2582
- };
2583
-
2584
- export class RouterStatic__factory extends ContractFactory {
2585
- constructor(...args: RouterStaticConstructorParams) {
2586
- if (isSuperArgs(args)) {
2587
- super(...args);
2588
- } else {
2589
- const [linkLibraryAddresses, signer] = args;
2590
- super(
2591
- _abi,
2592
- RouterStatic__factory.linkBytecode(linkLibraryAddresses),
2593
- signer
2594
- );
2595
- }
2596
- this.contractName = "RouterStatic";
2597
- }
2598
-
2599
- static linkBytecode(
2600
- linkLibraryAddresses: RouterStaticLibraryAddresses
2601
- ): string {
2602
- let linkedBytecode = _bytecode;
2603
-
2604
- linkedBytecode = linkedBytecode.replace(
2605
- new RegExp("__\\$b833238e904528751783273f1c78695846\\$__", "g"),
2606
- linkLibraryAddresses[
2607
- "contracts/offchain-helpers/MarketMathStatic.sol:MarketMathStatic"
2608
- ]
2609
- .replace(/^0x/, "")
2610
- .toLowerCase()
2611
- );
2612
-
2613
- return linkedBytecode;
2614
- }
2615
-
2616
- deploy(
2617
- _yieldContractFactory: string,
2618
- _marketFactory: string,
2619
- _vePENDLE: string,
2620
- _bulkFactory: string,
2621
- _marketMathStaticLib: string,
2622
- overrides?: Overrides & { from?: string | Promise<string> }
2623
- ): Promise<RouterStatic> {
2624
- return super.deploy(
2625
- _yieldContractFactory,
2626
- _marketFactory,
2627
- _vePENDLE,
2628
- _bulkFactory,
2629
- _marketMathStaticLib,
2630
- overrides || {}
2631
- ) as Promise<RouterStatic>;
2632
- }
2633
- getDeployTransaction(
2634
- _yieldContractFactory: string,
2635
- _marketFactory: string,
2636
- _vePENDLE: string,
2637
- _bulkFactory: string,
2638
- _marketMathStaticLib: string,
2639
- overrides?: Overrides & { from?: string | Promise<string> }
2640
- ): TransactionRequest {
2641
- return super.getDeployTransaction(
2642
- _yieldContractFactory,
2643
- _marketFactory,
2644
- _vePENDLE,
2645
- _bulkFactory,
2646
- _marketMathStaticLib,
2647
- overrides || {}
2648
- );
2649
- }
2650
- attach(address: string): RouterStatic {
2651
- return super.attach(address) as RouterStatic;
2652
- }
2653
- connect(signer: Signer): RouterStatic__factory {
2654
- return super.connect(signer) as RouterStatic__factory;
2655
- }
2656
- static readonly contractName: "RouterStatic";
2657
- public readonly contractName: "RouterStatic";
2658
- static readonly bytecode = _bytecode;
2659
- static readonly abi = _abi;
2660
- static createInterface(): RouterStaticInterface {
2661
- return new utils.Interface(_abi) as RouterStaticInterface;
2662
- }
2663
- static connect(
2664
- address: string,
2665
- signerOrProvider: Signer | Provider
2666
- ): RouterStatic {
2667
- return new Contract(address, _abi, signerOrProvider) as RouterStatic;
2668
- }
2669
- }
2670
-
2671
- export interface RouterStaticLibraryAddresses {
2672
- ["contracts/offchain-helpers/MarketMathStatic.sol:MarketMathStatic"]: string;
2673
- }