@pendle/core-v2 2.19.0 → 2.20.0
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.
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.json +19 -0
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +21 -2
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAWethHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearMath.sol/LinearMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearPreview.sol/LinearPreview.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.json +979 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IERC4626LinearPool.sol/IERC4626LinearPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/BinanceEth/IWBETH.sol/IWBETH.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/BinanceEth/IWBETH.sol/IWBETH.json +42 -0
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotFactory.sol/ICamelotFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTFactory.sol/ICamelotNFTFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTHandler.sol/ICamelotNFTHandler.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPoolFactory.sol/ICamelotNitroPoolFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotPair.sol/ICamelotPair.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotRouter.sol/ICamelotRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotYieldBooster.sol/ICamelotYieldBooster.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/IXGrail.sol/IXGrail.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Frax/IFrxEthMinter.sol/IFrxEthMinter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/GMX/IGMXVault.sol/IGMXVault.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/GMX/IGlpManager.sol/IGlpManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/GMX/IVaultPriceFeed.sol/IVaultPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IDiamondCut.sol/IDiamondCut.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.json +19 -0
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +19 -0
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPtOracle.sol/IPPtOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateLP.sol/IStargateLP.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateStaking.sol/IStargateStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PtAndLpToAsset.sol/PtAndLpToAsset.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PtAndLpToAsset.sol/PtAndLpToAsset.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.json +2 -2
- package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.json +2 -2
- package/build/artifacts/contracts/oracles/samples/PendlePtUsdChainlinkOracle.sol/PendlePtUsdChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +2 -2
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.json +2 -2
- package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IExecutorHelper.sol/IExecutorHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IHashflow.sol/IHashflow.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberInputScalingHelper.sol/KyberInputScalingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScalingDataLib.sol/ScalingDataLib.dbg.json +1 -1
- package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +4 -0
- package/contracts/core/Market/PendleGauge.sol +3 -2
- package/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol +108 -0
- package/contracts/interfaces/BinanceEth/IWBETH.sol +9 -0
- package/contracts/interfaces/IPGauge.sol +3 -0
- package/deployments/42161-markets/WSTETH-ARBITRUM-JUNE2024.json +6 -6
- package/deployments/42161-markets/WSTETH-ARBITRUM-JUNE2025.json +10 -0
- package/deployments/56-core.json +28 -0
- package/deployments/56-markets/THENA-FRXETH-ETH-JUNE2024.json +10 -0
- package/deployments/56-markets/WBETH-DEC2024.json +10 -0
- package/deployments/56-offchain-helper.json +4 -0
- package/package.json +1 -1
- package/typechain-types/BotActionCallback.ts +763 -0
- package/typechain-types/BotActionHelper.ts +763 -0
- package/typechain-types/BotDecisionHelper.ts +527 -0
- package/typechain-types/BotDecisionLib.ts +335 -0
- package/typechain-types/CamelotV1LpHelper.ts +203 -0
- package/typechain-types/CamelotV1Preview.ts +431 -0
- package/typechain-types/IBotDecisionHelper.ts +507 -0
- package/typechain-types/ICamelotSY.ts +100 -0
- package/typechain-types/ILongYieldTradingBot.ts +1008 -0
- package/typechain-types/IPGauge.ts +23 -3
- package/typechain-types/IPMarket.ts +18 -0
- package/typechain-types/IPendlePreviewHelper.ts +147 -0
- package/typechain-types/IThenaFactory.ts +245 -0
- package/typechain-types/IThenaGaugeV2.ts +206 -0
- package/typechain-types/IThenaPair.ts +579 -0
- package/typechain-types/IThenaRouter.ts +313 -0
- package/typechain-types/IThenaSY.ts +81 -0
- package/typechain-types/ITradingBotBase.ts +523 -0
- package/typechain-types/IWBETH.ts +128 -0
- package/typechain-types/LongYieldTradingBot.ts +1468 -0
- package/typechain-types/MarketExtLib.ts +81 -0
- package/typechain-types/PendleBinanceEth.ts +1229 -0
- package/typechain-types/PendleCamelotV1SY.ts +245 -0
- package/typechain-types/PendleGauge.ts +23 -3
- package/typechain-types/PendleMarket.ts +18 -0
- package/typechain-types/PendleThenaSY.ts +1598 -0
- package/typechain-types/PendleWbEthSY.ts +1229 -0
- package/typechain-types/{PendleCamelotV1RouterHelper.ts → ThenaLpHelper.ts} +63 -5
- package/typechain-types/ThenaMath.ts +87 -0
- package/typechain-types/{CamelotV1PreviewHelper.ts → ThenaPreview.ts} +42 -63
- package/typechain-types/TradingBotBase.ts +719 -0
- package/typechain-types/TradingBotOffchain.ts +568 -0
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
- package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
- package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
- package/typechain-types/factories/BotActionCallback__factory.ts +678 -0
- package/typechain-types/factories/BotActionHelper__factory.ts +678 -0
- package/typechain-types/factories/BotDecisionHelper__factory.ts +1123 -0
- package/typechain-types/factories/BotDecisionLib__factory.ts +642 -0
- package/typechain-types/factories/CamelotV1LpHelper__factory.ts +143 -0
- package/typechain-types/factories/CamelotV1Preview__factory.ts +309 -0
- package/typechain-types/factories/IBotDecisionHelper__factory.ts +932 -0
- package/typechain-types/factories/ICamelotSY__factory.ts +49 -0
- package/typechain-types/factories/ILongYieldTradingBot__factory.ts +1172 -0
- package/typechain-types/factories/IPGauge__factory.ts +19 -0
- package/typechain-types/factories/IPMarket__factory.ts +19 -0
- package/typechain-types/factories/IPendlePreviewHelper__factory.ts +78 -0
- package/typechain-types/factories/IThenaFactory__factory.ts +164 -0
- package/typechain-types/factories/IThenaGaugeV2__factory.ts +83 -0
- package/typechain-types/factories/IThenaPair__factory.ts +421 -0
- package/typechain-types/factories/IThenaRouter__factory.ts +200 -0
- package/typechain-types/factories/IThenaSY__factory.ts +36 -0
- package/typechain-types/factories/ITradingBotBase__factory.ts +455 -0
- package/typechain-types/factories/IWBETH__factory.ts +51 -0
- package/typechain-types/factories/LongYieldTradingBot__factory.ts +1836 -0
- package/typechain-types/factories/MarketExtLib__factory.ts +74 -0
- package/typechain-types/factories/PendleBinanceEth__factory.ts +1052 -0
- package/typechain-types/factories/PendleCamelotV1SY__factory.ts +156 -9
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGauge__factory.ts +19 -0
- package/typechain-types/factories/PendleLpGlpOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMarket__factory.ts +20 -1
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendlePtGlpOracle__factory.ts +1 -1
- package/typechain-types/factories/PendlePtOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleThenaSY__factory.ts +1352 -0
- package/typechain-types/factories/PendleWbEthSY__factory.ts +1049 -0
- package/typechain-types/factories/PtAndLpToAsset__factory.ts +1 -1
- package/typechain-types/factories/{PendleCamelotV1RouterHelper__factory.ts → ThenaLpHelper__factory.ts} +58 -13
- package/typechain-types/factories/ThenaMath__factory.ts +36 -0
- package/typechain-types/factories/ThenaPreview__factory.ts +319 -0
- package/typechain-types/factories/TradingBotBase__factory.ts +628 -0
- package/typechain-types/factories/TradingBotOffchain__factory.ts +1133 -0
- package/typechain-types/hardhat.d.ts +144 -0
- package/typechain-types/index.ts +32 -0
- package/typechain-types/IPVotingEscrowSidechain.ts +0 -155
- package/typechain-types/PendleCamelotRewardHelper.ts +0 -347
- package/typechain-types/factories/CamelotV1PreviewHelper__factory.ts +0 -400
- package/typechain-types/factories/IPVotingEscrowSidechain__factory.ts +0 -112
- package/typechain-types/factories/PendleCamelotRewardHelper__factory.ts +0 -317
- /package/deployments/42161-markets/{RETH-ARBITRUM-JUNE2024.json → RETH-ARBITRUM-JUNE2025.json} +0 -0
|
@@ -98,7 +98,7 @@ const _abi = [
|
|
|
98
98
|
];
|
|
99
99
|
|
|
100
100
|
const _bytecode =
|
|
101
|
-
"0x608060405234801561001057600080fd5b50611541806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063955ee4e71461003b578063f2344deb14610060575b600080fd5b61004e610049366004611232565b610073565b60405190815260200160405180910390f35b61004e61006e366004611232565b61014d565b600080826001600160a01b031663794052f360006040518263ffffffff1660e01b81526004016100a3919061124f565b61012060405180830381865afa1580156100c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100e591906112a5565b905060006100f2846101db565b90506000610101838342610402565b9050600061011b610113878686610508565b85519061062a565b826020015161012a919061133d565b905061014384604001518261064f90919063ffffffff16565b9695505050505050565b600080826001600160a01b031663794052f360006040518263ffffffff1660e01b815260040161017d919061124f565b61012060405180830381865afa15801561019b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101bf91906112a5565b90506101d483826101cf866101db565b610508565b9392505050565b6000806000836001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa15801561021e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102429190611365565b92505091506000826001600160a01b0316633ba0b9a96040518163ffffffff1660e01b8152600401602060405180830381865afa158015610287573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102ab91906113b2565b90506000826001600160a01b031663d2a3584e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102ed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031191906113b2565b9050826001600160a01b031663516399df6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610351573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061037591906113cb565b80156103ea575043836001600160a01b03166360e0a9e16040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103df91906113ed565b6001600160801b0316145b156103f85795945050505050565b6101438282610675565b61042d6040518060800160405280600081526020016000815260200160008152602001600081525090565b60a084015182106104515760405163b2094b5960e01b815260040160405180910390fd5b6000828560a001516104639190611416565b905061046f858261068b565b825260208501516104819085906106ec565b60208301528451158061049657506020820151155b156104c9578451602083015160405163b1c4aefb60e01b8152600481019290925260248201526044015b60405180910390fd5b6104e78560000151866101000151846020015185600001518561072b565b604083015260c08501516104fb90826107ac565b6060830152509392505050565b6000428360a00151116105f1576000846001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610555573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105799190611365565b505090506105e983826001600160a01b0316633ba0b9a96040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e391906113b2565b906107e5565b9150506101d4565b6000428460a001516106039190611416565b90506000610616856101000151836107ac565b9050610143670de0b6b3a76400008261064f565b6000806106378385611429565b9050670de0b6b3a7640000815b059150505b92915050565b600080610664670de0b6b3a764000085611429565b905082818161064457610644611459565b600081831161068457816101d4565b5090919050565b600061069682610814565b6106ad6106a86201518061016d61146f565b610814565b84608001516106bc9190611429565b6106c69190611486565b90506000811361064957604051630e520c3b60e11b8152600481018290526024016104c0565b600080600083126106fe576001610702565b6000195b90506107196106a8856107148661082e565b610840565b6107239082611429565b949350505050565b60008061073886846107ac565b9050670de0b6b3a76400008112156107665760405163329e322960e21b8152600481018290526024016104c0565b600061077c610775878a61133d565b899061064f565b905060006107898261085f565b9050610795818761064f565b61079f90846114b4565b9998505050505050505050565b6000806107be6201518061016d61146f565b6107c8848661146f565b6107d291906114db565b90506107236107e082610814565b6108b2565b6000806107fa670de0b6b3a76400008561146f565b905082818161080b5761080b611459565b04949350505050565b60006001600160ff1b0382111561082a57600080fd5b5090565b600080821361082a57610649826114ef565b6000670de0b6b3a7640000610855848461146f565b6101d491906114db565b6000670de0b6b3a764000082036108895760405163a9c8b14d60e01b815260040160405180910390fd5b60006108a76108a084670de0b6b3a76400006114b4565b849061064f565b90506101d481610cc7565b6000680238fd42c5cf03ffff1982121580156108d7575068070c1cc73b00c800008213155b6109165760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b60448201526064016104c0565b600082121561094e5761092b826000036108b2565b6a0c097ce7bc90715b34b9f160241b8161094757610947611459565b0592915050565b60006806f05b59d3b2000000831261098c57506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b6109c2565b6803782dace9d900000083126109be57506803782dace9d8ffffff19909101906b1425982cf597cd205cef73806109c2565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac620000008412610a125768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d6310000008412610a4e576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b188000008412610a8857682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c4000008412610ac2576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac62000008412610afb57680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d631000008412610b345768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b18800008412610b6d576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c400008412610ba65768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b6000808213610d085760405162461bcd60e51b815260206004820152600d60248201526c6f7574206f6620626f756e647360981b60448201526064016104c0565b670c7d713b49da000082138015610d265750670f43fc2c04ee000082125b15610d4a57670de0b6b3a7640000610d3d83610d58565b8161094757610947611459565b61064982610e77565b919050565b670de0b6b3a7640000026000806a0c097ce7bc90715b34b9f160241b808401906ec097ce7bc90715b34b9f0fffffffff1985010281610d9957610d99611459565b05905060006a0c097ce7bc90715b34b9f160241b82800205905081806a0c097ce7bc90715b34b9f160241b81840205915060038205016a0c097ce7bc90715b34b9f160241b82840205915060058205016a0c097ce7bc90715b34b9f160241b82840205915060078205016a0c097ce7bc90715b34b9f160241b82840205915060098205016a0c097ce7bc90715b34b9f160241b828402059150600b8205016a0c097ce7bc90715b34b9f160241b828402059150600d8205016a0c097ce7bc90715b34b9f160241b828402059150600f82050160020295945050505050565b6000670de0b6b3a7640000821215610eb857610eaf826a0c097ce7bc90715b34b9f160241b81610ea957610ea9611459565b05610e77565b60000392915050565b6000775803bcc5cb9634ba4cfb2213f784019318ed4dcb6017880f60361b8312610f035772195e54c5dd42177f53a27172fa9ec63026282760241b830592506806f05b59d3b2000000015b6f8bcc0026baae9e45e470190267a230cf60191b8312610f3a576b1425982cf597cd205cef7380830592506803782dace9d9000000015b606492830292026e01855144814a7ff805980ff00840008312610f82576e01855144814a7ff805980ff008400068056bc75e2d63100000840205925068ad78ebc5ac62000000015b6b02df0ab5a80a22c61ab5a7008312610fbd576b02df0ab5a80a22c61ab5a70068056bc75e2d6310000084020592506856bc75e2d631000000015b693f1fce3da636ea5cf8508312610ff457693f1fce3da636ea5cf85068056bc75e2d631000008402059250682b5e3af16b18800000015b690127fa27722cc06cc5e2831261102b57690127fa27722cc06cc5e268056bc75e2d6310000084020592506815af1d78b58c400000015b68280e60114edb805d0383126110605768280e60114edb805d0368056bc75e2d631000008402059250680ad78ebc5ac6200000015b680ebc5fb41746121110831261108b57680ebc5fb4174612111068056bc75e2d631000009384020592015b6808f00f760a4b2db55d83126110c0576808f00f760a4b2db55d68056bc75e2d6310000084020592506802b5e3af16b1880000015b6806f5f177578893793783126110f5576806f5f177578893793768056bc75e2d63100000840205925068015af1d78b58c40000015b6806248f33704b2866038312611129576806248f33704b28660368056bc75e2d63100000840205925067ad78ebc5ac620000015b6805c548670b9510e7ac831261115d576805c548670b9510e7ac68056bc75e2d6310000084020592506756bc75e2d6310000015b600068056bc75e2d63100000840168056bc75e2d63100000808603028161118657611186611459565b059050600068056bc75e2d63100000828002059050818068056bc75e2d63100000818402059150600382050168056bc75e2d63100000828402059150600582050168056bc75e2d63100000828402059150600782050168056bc75e2d63100000828402059150600982050168056bc75e2d63100000828402059150600b820501600202606485820105979650505050505050565b6001600160a01b038116811461122f57600080fd5b50565b60006020828403121561124457600080fd5b81356101d48161121a565b6001600160a01b0391909116815260200190565b60405161012081016001600160401b038111828210171561129457634e487b7160e01b600052604160045260246000fd5b60405290565b8051610d538161121a565b600061012082840312156112b857600080fd5b6112c0611263565b8251815260208301516020820152604083015160408201526112e46060840161129a565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015181830152508091505092915050565b634e487b7160e01b600052601160045260246000fd5b808201828112600083128015821682158216171561135d5761135d611327565b505092915050565b60008060006060848603121561137a57600080fd5b83516113858161121a565b60208501519093506113968161121a565b60408501519092506113a78161121a565b809150509250925092565b6000602082840312156113c457600080fd5b5051919050565b6000602082840312156113dd57600080fd5b815180151581146101d457600080fd5b6000602082840312156113ff57600080fd5b81516001600160801b03811681146101d457600080fd5b8181038181111561064957610649611327565b80820260008212600160ff1b8414161561144557611445611327565b818105831482151761064957610649611327565b634e487b7160e01b600052601260045260246000fd5b808202811582820484141761064957610649611327565b60008261149557611495611459565b600160ff1b8214600019841416156114af576114af611327565b500590565b81810360008312801583831316838312821617156114d4576114d4611327565b5092915050565b6000826114ea576114ea611459565b500490565b6000600160ff1b820161150457611504611327565b506000039056fea2646970667358221220cba632b8df668d47129725f92bc1418b1ab27be54aa6033e250c8c3d9527c3d864736f6c63430008110033";
|
|
101
|
+
"0x608060405234801561001057600080fd5b50611541806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063955ee4e71461003b578063f2344deb14610060575b600080fd5b61004e610049366004611232565b610073565b60405190815260200160405180910390f35b61004e61006e366004611232565b61014d565b600080826001600160a01b031663794052f360006040518263ffffffff1660e01b81526004016100a3919061124f565b61012060405180830381865afa1580156100c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100e591906112a5565b905060006100f2846101db565b90506000610101838342610402565b9050600061011b610113878686610508565b85519061062a565b826020015161012a919061133d565b905061014384604001518261064f90919063ffffffff16565b9695505050505050565b600080826001600160a01b031663794052f360006040518263ffffffff1660e01b815260040161017d919061124f565b61012060405180830381865afa15801561019b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101bf91906112a5565b90506101d483826101cf866101db565b610508565b9392505050565b6000806000836001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa15801561021e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102429190611365565b92505091506000826001600160a01b0316633ba0b9a96040518163ffffffff1660e01b8152600401602060405180830381865afa158015610287573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102ab91906113b2565b90506000826001600160a01b031663d2a3584e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102ed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031191906113b2565b9050826001600160a01b031663516399df6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610351573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061037591906113cb565b80156103ea575043836001600160a01b03166360e0a9e16040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103df91906113ed565b6001600160801b0316145b156103f85795945050505050565b6101438282610675565b61042d6040518060800160405280600081526020016000815260200160008152602001600081525090565b60a084015182106104515760405163b2094b5960e01b815260040160405180910390fd5b6000828560a001516104639190611416565b905061046f858261068b565b825260208501516104819085906106ec565b60208301528451158061049657506020820151155b156104c9578451602083015160405163b1c4aefb60e01b8152600481019290925260248201526044015b60405180910390fd5b6104e78560000151866101000151846020015185600001518561072b565b604083015260c08501516104fb90826107ac565b6060830152509392505050565b6000428360a00151116105f1576000846001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610555573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105799190611365565b505090506105e983826001600160a01b0316633ba0b9a96040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e391906113b2565b906107e5565b9150506101d4565b6000428460a001516106039190611416565b90506000610616856101000151836107ac565b9050610143670de0b6b3a76400008261064f565b6000806106378385611429565b9050670de0b6b3a7640000815b059150505b92915050565b600080610664670de0b6b3a764000085611429565b905082818161064457610644611459565b600081831161068457816101d4565b5090919050565b600061069682610814565b6106ad6106a86201518061016d61146f565b610814565b84608001516106bc9190611429565b6106c69190611486565b90506000811361064957604051630e520c3b60e11b8152600481018290526024016104c0565b600080600083126106fe576001610702565b6000195b90506107196106a8856107148661082e565b610840565b6107239082611429565b949350505050565b60008061073886846107ac565b9050670de0b6b3a76400008112156107665760405163329e322960e21b8152600481018290526024016104c0565b600061077c610775878a61133d565b899061064f565b905060006107898261085f565b9050610795818761064f565b61079f90846114b4565b9998505050505050505050565b6000806107be6201518061016d61146f565b6107c8848661146f565b6107d291906114db565b90506107236107e082610814565b6108b2565b6000806107fa670de0b6b3a76400008561146f565b905082818161080b5761080b611459565b04949350505050565b60006001600160ff1b0382111561082a57600080fd5b5090565b600080821361082a57610649826114ef565b6000670de0b6b3a7640000610855848461146f565b6101d491906114db565b6000670de0b6b3a764000082036108895760405163a9c8b14d60e01b815260040160405180910390fd5b60006108a76108a084670de0b6b3a76400006114b4565b849061064f565b90506101d481610cc7565b6000680238fd42c5cf03ffff1982121580156108d7575068070c1cc73b00c800008213155b6109165760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b60448201526064016104c0565b600082121561094e5761092b826000036108b2565b6a0c097ce7bc90715b34b9f160241b8161094757610947611459565b0592915050565b60006806f05b59d3b2000000831261098c57506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b6109c2565b6803782dace9d900000083126109be57506803782dace9d8ffffff19909101906b1425982cf597cd205cef73806109c2565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac620000008412610a125768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d6310000008412610a4e576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b188000008412610a8857682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c4000008412610ac2576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac62000008412610afb57680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d631000008412610b345768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b18800008412610b6d576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c400008412610ba65768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b6000808213610d085760405162461bcd60e51b815260206004820152600d60248201526c6f7574206f6620626f756e647360981b60448201526064016104c0565b670c7d713b49da000082138015610d265750670f43fc2c04ee000082125b15610d4a57670de0b6b3a7640000610d3d83610d58565b8161094757610947611459565b61064982610e77565b919050565b670de0b6b3a7640000026000806a0c097ce7bc90715b34b9f160241b808401906ec097ce7bc90715b34b9f0fffffffff1985010281610d9957610d99611459565b05905060006a0c097ce7bc90715b34b9f160241b82800205905081806a0c097ce7bc90715b34b9f160241b81840205915060038205016a0c097ce7bc90715b34b9f160241b82840205915060058205016a0c097ce7bc90715b34b9f160241b82840205915060078205016a0c097ce7bc90715b34b9f160241b82840205915060098205016a0c097ce7bc90715b34b9f160241b828402059150600b8205016a0c097ce7bc90715b34b9f160241b828402059150600d8205016a0c097ce7bc90715b34b9f160241b828402059150600f82050160020295945050505050565b6000670de0b6b3a7640000821215610eb857610eaf826a0c097ce7bc90715b34b9f160241b81610ea957610ea9611459565b05610e77565b60000392915050565b6000775803bcc5cb9634ba4cfb2213f784019318ed4dcb6017880f60361b8312610f035772195e54c5dd42177f53a27172fa9ec63026282760241b830592506806f05b59d3b2000000015b6f8bcc0026baae9e45e470190267a230cf60191b8312610f3a576b1425982cf597cd205cef7380830592506803782dace9d9000000015b606492830292026e01855144814a7ff805980ff00840008312610f82576e01855144814a7ff805980ff008400068056bc75e2d63100000840205925068ad78ebc5ac62000000015b6b02df0ab5a80a22c61ab5a7008312610fbd576b02df0ab5a80a22c61ab5a70068056bc75e2d6310000084020592506856bc75e2d631000000015b693f1fce3da636ea5cf8508312610ff457693f1fce3da636ea5cf85068056bc75e2d631000008402059250682b5e3af16b18800000015b690127fa27722cc06cc5e2831261102b57690127fa27722cc06cc5e268056bc75e2d6310000084020592506815af1d78b58c400000015b68280e60114edb805d0383126110605768280e60114edb805d0368056bc75e2d631000008402059250680ad78ebc5ac6200000015b680ebc5fb41746121110831261108b57680ebc5fb4174612111068056bc75e2d631000009384020592015b6808f00f760a4b2db55d83126110c0576808f00f760a4b2db55d68056bc75e2d6310000084020592506802b5e3af16b1880000015b6806f5f177578893793783126110f5576806f5f177578893793768056bc75e2d63100000840205925068015af1d78b58c40000015b6806248f33704b2866038312611129576806248f33704b28660368056bc75e2d63100000840205925067ad78ebc5ac620000015b6805c548670b9510e7ac831261115d576805c548670b9510e7ac68056bc75e2d6310000084020592506756bc75e2d6310000015b600068056bc75e2d63100000840168056bc75e2d63100000808603028161118657611186611459565b059050600068056bc75e2d63100000828002059050818068056bc75e2d63100000818402059150600382050168056bc75e2d63100000828402059150600582050168056bc75e2d63100000828402059150600782050168056bc75e2d63100000828402059150600982050168056bc75e2d63100000828402059150600b820501600202606485820105979650505050505050565b6001600160a01b038116811461122f57600080fd5b50565b60006020828403121561124457600080fd5b81356101d48161121a565b6001600160a01b0391909116815260200190565b60405161012081016001600160401b038111828210171561129457634e487b7160e01b600052604160045260246000fd5b60405290565b8051610d538161121a565b600061012082840312156112b857600080fd5b6112c0611263565b8251815260208301516020820152604083015160408201526112e46060840161129a565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015181830152508091505092915050565b634e487b7160e01b600052601160045260246000fd5b808201828112600083128015821682158216171561135d5761135d611327565b505092915050565b60008060006060848603121561137a57600080fd5b83516113858161121a565b60208501519093506113968161121a565b60408501519092506113a78161121a565b809150509250925092565b6000602082840312156113c457600080fd5b5051919050565b6000602082840312156113dd57600080fd5b815180151581146101d457600080fd5b6000602082840312156113ff57600080fd5b81516001600160801b03811681146101d457600080fd5b8181038181111561064957610649611327565b80820260008212600160ff1b8414161561144557611445611327565b818105831482151761064957610649611327565b634e487b7160e01b600052601260045260246000fd5b808202811582820484141761064957610649611327565b60008261149557611495611459565b600160ff1b8214600019841416156114af576114af611327565b500590565b81810360008312801583831316838312821617156114d4576114d4611327565b5092915050565b6000826114ea576114ea611459565b500490565b6000600160ff1b820161150457611504611327565b506000039056fea264697066735822122039c246b781edb82ecdf00047e5f9badbf024396f93e95d60aef792d802c1713d64736f6c63430008110033";
|
|
102
102
|
|
|
103
103
|
type PtAndLpToAssetConstructorParams =
|
|
104
104
|
| [signer?: Signer]
|
|
@@ -4,12 +4,48 @@
|
|
|
4
4
|
|
|
5
5
|
import { Contract, Signer, utils } from "ethers";
|
|
6
6
|
import { Provider } from "@ethersproject/providers";
|
|
7
|
-
import type {
|
|
8
|
-
PendleCamelotV1RouterHelper,
|
|
9
|
-
PendleCamelotV1RouterHelperInterface,
|
|
10
|
-
} from "../PendleCamelotV1RouterHelper";
|
|
7
|
+
import type { ThenaLpHelper, ThenaLpHelperInterface } from "../ThenaLpHelper";
|
|
11
8
|
|
|
12
9
|
const _abi = [
|
|
10
|
+
{
|
|
11
|
+
inputs: [],
|
|
12
|
+
name: "binarySearchEps",
|
|
13
|
+
outputs: [
|
|
14
|
+
{
|
|
15
|
+
internalType: "uint256",
|
|
16
|
+
name: "",
|
|
17
|
+
type: "uint256",
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
stateMutability: "view",
|
|
21
|
+
type: "function",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
inputs: [],
|
|
25
|
+
name: "decimals0",
|
|
26
|
+
outputs: [
|
|
27
|
+
{
|
|
28
|
+
internalType: "uint256",
|
|
29
|
+
name: "",
|
|
30
|
+
type: "uint256",
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
stateMutability: "view",
|
|
34
|
+
type: "function",
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
inputs: [],
|
|
38
|
+
name: "decimals1",
|
|
39
|
+
outputs: [
|
|
40
|
+
{
|
|
41
|
+
internalType: "uint256",
|
|
42
|
+
name: "",
|
|
43
|
+
type: "uint256",
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
stateMutability: "view",
|
|
47
|
+
type: "function",
|
|
48
|
+
},
|
|
13
49
|
{
|
|
14
50
|
inputs: [],
|
|
15
51
|
name: "factory",
|
|
@@ -23,6 +59,19 @@ const _abi = [
|
|
|
23
59
|
stateMutability: "view",
|
|
24
60
|
type: "function",
|
|
25
61
|
},
|
|
62
|
+
{
|
|
63
|
+
inputs: [],
|
|
64
|
+
name: "isStable",
|
|
65
|
+
outputs: [
|
|
66
|
+
{
|
|
67
|
+
internalType: "bool",
|
|
68
|
+
name: "",
|
|
69
|
+
type: "bool",
|
|
70
|
+
},
|
|
71
|
+
],
|
|
72
|
+
stateMutability: "view",
|
|
73
|
+
type: "function",
|
|
74
|
+
},
|
|
26
75
|
{
|
|
27
76
|
inputs: [],
|
|
28
77
|
name: "pair",
|
|
@@ -77,19 +126,15 @@ const _abi = [
|
|
|
77
126
|
},
|
|
78
127
|
];
|
|
79
128
|
|
|
80
|
-
export class
|
|
129
|
+
export class ThenaLpHelper__factory {
|
|
81
130
|
static readonly abi = _abi;
|
|
82
|
-
static createInterface():
|
|
83
|
-
return new utils.Interface(_abi) as
|
|
131
|
+
static createInterface(): ThenaLpHelperInterface {
|
|
132
|
+
return new utils.Interface(_abi) as ThenaLpHelperInterface;
|
|
84
133
|
}
|
|
85
134
|
static connect(
|
|
86
135
|
address: string,
|
|
87
136
|
signerOrProvider: Signer | Provider
|
|
88
|
-
):
|
|
89
|
-
return new Contract(
|
|
90
|
-
address,
|
|
91
|
-
_abi,
|
|
92
|
-
signerOrProvider
|
|
93
|
-
) as PendleCamelotV1RouterHelper;
|
|
137
|
+
): ThenaLpHelper {
|
|
138
|
+
return new Contract(address, _abi, signerOrProvider) as ThenaLpHelper;
|
|
94
139
|
}
|
|
95
140
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type { ThenaMath, ThenaMathInterface } from "../ThenaMath";
|
|
8
|
+
|
|
9
|
+
const _abi = [
|
|
10
|
+
{
|
|
11
|
+
inputs: [],
|
|
12
|
+
name: "binarySearchEps",
|
|
13
|
+
outputs: [
|
|
14
|
+
{
|
|
15
|
+
internalType: "uint256",
|
|
16
|
+
name: "",
|
|
17
|
+
type: "uint256",
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
stateMutability: "view",
|
|
21
|
+
type: "function",
|
|
22
|
+
},
|
|
23
|
+
];
|
|
24
|
+
|
|
25
|
+
export class ThenaMath__factory {
|
|
26
|
+
static readonly abi = _abi;
|
|
27
|
+
static createInterface(): ThenaMathInterface {
|
|
28
|
+
return new utils.Interface(_abi) as ThenaMathInterface;
|
|
29
|
+
}
|
|
30
|
+
static connect(
|
|
31
|
+
address: string,
|
|
32
|
+
signerOrProvider: Signer | Provider
|
|
33
|
+
): ThenaMath {
|
|
34
|
+
return new Contract(address, _abi, signerOrProvider) as ThenaMath;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,319 @@
|
|
|
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 { ThenaPreview, ThenaPreviewInterface } from "../ThenaPreview";
|
|
7
|
+
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [
|
|
11
|
+
{
|
|
12
|
+
internalType: "address",
|
|
13
|
+
name: "_factory",
|
|
14
|
+
type: "address",
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
|
+
stateMutability: "nonpayable",
|
|
18
|
+
type: "constructor",
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
anonymous: false,
|
|
22
|
+
inputs: [
|
|
23
|
+
{
|
|
24
|
+
indexed: false,
|
|
25
|
+
internalType: "address",
|
|
26
|
+
name: "previousAdmin",
|
|
27
|
+
type: "address",
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
indexed: false,
|
|
31
|
+
internalType: "address",
|
|
32
|
+
name: "newAdmin",
|
|
33
|
+
type: "address",
|
|
34
|
+
},
|
|
35
|
+
],
|
|
36
|
+
name: "AdminChanged",
|
|
37
|
+
type: "event",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
anonymous: false,
|
|
41
|
+
inputs: [
|
|
42
|
+
{
|
|
43
|
+
indexed: true,
|
|
44
|
+
internalType: "address",
|
|
45
|
+
name: "beacon",
|
|
46
|
+
type: "address",
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
name: "BeaconUpgraded",
|
|
50
|
+
type: "event",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
anonymous: false,
|
|
54
|
+
inputs: [
|
|
55
|
+
{
|
|
56
|
+
indexed: false,
|
|
57
|
+
internalType: "uint8",
|
|
58
|
+
name: "version",
|
|
59
|
+
type: "uint8",
|
|
60
|
+
},
|
|
61
|
+
],
|
|
62
|
+
name: "Initialized",
|
|
63
|
+
type: "event",
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
anonymous: false,
|
|
67
|
+
inputs: [
|
|
68
|
+
{
|
|
69
|
+
indexed: true,
|
|
70
|
+
internalType: "address",
|
|
71
|
+
name: "previousOwner",
|
|
72
|
+
type: "address",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
indexed: true,
|
|
76
|
+
internalType: "address",
|
|
77
|
+
name: "newOwner",
|
|
78
|
+
type: "address",
|
|
79
|
+
},
|
|
80
|
+
],
|
|
81
|
+
name: "OwnershipTransferred",
|
|
82
|
+
type: "event",
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
anonymous: false,
|
|
86
|
+
inputs: [
|
|
87
|
+
{
|
|
88
|
+
indexed: true,
|
|
89
|
+
internalType: "address",
|
|
90
|
+
name: "implementation",
|
|
91
|
+
type: "address",
|
|
92
|
+
},
|
|
93
|
+
],
|
|
94
|
+
name: "Upgraded",
|
|
95
|
+
type: "event",
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
inputs: [],
|
|
99
|
+
name: "binarySearchEps",
|
|
100
|
+
outputs: [
|
|
101
|
+
{
|
|
102
|
+
internalType: "uint256",
|
|
103
|
+
name: "",
|
|
104
|
+
type: "uint256",
|
|
105
|
+
},
|
|
106
|
+
],
|
|
107
|
+
stateMutability: "view",
|
|
108
|
+
type: "function",
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
inputs: [],
|
|
112
|
+
name: "claimOwnership",
|
|
113
|
+
outputs: [],
|
|
114
|
+
stateMutability: "nonpayable",
|
|
115
|
+
type: "function",
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
inputs: [],
|
|
119
|
+
name: "initialize",
|
|
120
|
+
outputs: [],
|
|
121
|
+
stateMutability: "nonpayable",
|
|
122
|
+
type: "function",
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
inputs: [],
|
|
126
|
+
name: "owner",
|
|
127
|
+
outputs: [
|
|
128
|
+
{
|
|
129
|
+
internalType: "address",
|
|
130
|
+
name: "",
|
|
131
|
+
type: "address",
|
|
132
|
+
},
|
|
133
|
+
],
|
|
134
|
+
stateMutability: "view",
|
|
135
|
+
type: "function",
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
inputs: [],
|
|
139
|
+
name: "pendingOwner",
|
|
140
|
+
outputs: [
|
|
141
|
+
{
|
|
142
|
+
internalType: "address",
|
|
143
|
+
name: "",
|
|
144
|
+
type: "address",
|
|
145
|
+
},
|
|
146
|
+
],
|
|
147
|
+
stateMutability: "view",
|
|
148
|
+
type: "function",
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
inputs: [
|
|
152
|
+
{
|
|
153
|
+
internalType: "address",
|
|
154
|
+
name: "tokenIn",
|
|
155
|
+
type: "address",
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
internalType: "uint256",
|
|
159
|
+
name: "amountTokenIn",
|
|
160
|
+
type: "uint256",
|
|
161
|
+
},
|
|
162
|
+
],
|
|
163
|
+
name: "previewDeposit",
|
|
164
|
+
outputs: [
|
|
165
|
+
{
|
|
166
|
+
internalType: "uint256",
|
|
167
|
+
name: "amountLpOut",
|
|
168
|
+
type: "uint256",
|
|
169
|
+
},
|
|
170
|
+
],
|
|
171
|
+
stateMutability: "view",
|
|
172
|
+
type: "function",
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
inputs: [
|
|
176
|
+
{
|
|
177
|
+
internalType: "address",
|
|
178
|
+
name: "tokenOut",
|
|
179
|
+
type: "address",
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
internalType: "uint256",
|
|
183
|
+
name: "amountLpIn",
|
|
184
|
+
type: "uint256",
|
|
185
|
+
},
|
|
186
|
+
],
|
|
187
|
+
name: "previewRedeem",
|
|
188
|
+
outputs: [
|
|
189
|
+
{
|
|
190
|
+
internalType: "uint256",
|
|
191
|
+
name: "",
|
|
192
|
+
type: "uint256",
|
|
193
|
+
},
|
|
194
|
+
],
|
|
195
|
+
stateMutability: "view",
|
|
196
|
+
type: "function",
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
inputs: [],
|
|
200
|
+
name: "proxiableUUID",
|
|
201
|
+
outputs: [
|
|
202
|
+
{
|
|
203
|
+
internalType: "bytes32",
|
|
204
|
+
name: "",
|
|
205
|
+
type: "bytes32",
|
|
206
|
+
},
|
|
207
|
+
],
|
|
208
|
+
stateMutability: "view",
|
|
209
|
+
type: "function",
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
inputs: [
|
|
213
|
+
{
|
|
214
|
+
internalType: "address",
|
|
215
|
+
name: "newOwner",
|
|
216
|
+
type: "address",
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
internalType: "bool",
|
|
220
|
+
name: "direct",
|
|
221
|
+
type: "bool",
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
internalType: "bool",
|
|
225
|
+
name: "renounce",
|
|
226
|
+
type: "bool",
|
|
227
|
+
},
|
|
228
|
+
],
|
|
229
|
+
name: "transferOwnership",
|
|
230
|
+
outputs: [],
|
|
231
|
+
stateMutability: "nonpayable",
|
|
232
|
+
type: "function",
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
inputs: [
|
|
236
|
+
{
|
|
237
|
+
internalType: "address",
|
|
238
|
+
name: "newImplementation",
|
|
239
|
+
type: "address",
|
|
240
|
+
},
|
|
241
|
+
],
|
|
242
|
+
name: "upgradeTo",
|
|
243
|
+
outputs: [],
|
|
244
|
+
stateMutability: "nonpayable",
|
|
245
|
+
type: "function",
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
inputs: [
|
|
249
|
+
{
|
|
250
|
+
internalType: "address",
|
|
251
|
+
name: "newImplementation",
|
|
252
|
+
type: "address",
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
internalType: "bytes",
|
|
256
|
+
name: "data",
|
|
257
|
+
type: "bytes",
|
|
258
|
+
},
|
|
259
|
+
],
|
|
260
|
+
name: "upgradeToAndCall",
|
|
261
|
+
outputs: [],
|
|
262
|
+
stateMutability: "payable",
|
|
263
|
+
type: "function",
|
|
264
|
+
},
|
|
265
|
+
];
|
|
266
|
+
|
|
267
|
+
const _bytecode =
|
|
268
|
+
"0x60c0604052655af3107a4000600055306080523480156200001f57600080fd5b506040516200248b3803806200248b8339810160408190526200004291620001a5565b600254600160a81b900460ff16158080156200006b57506002546001600160a01b90910460ff16105b80620000a2575062000088306200019660201b62000a3c1760201c565b158015620000a25750600254600160a01b900460ff166001145b6200010a5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840160405180910390fd5b6002805460ff60a01b1916600160a01b179055801562000138576002805460ff60a81b1916600160a81b1790555b6001600160a01b03821660a05280156200018e576002805460ff60a81b19169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050620001d7565b6001600160a01b03163b151590565b600060208284031215620001b857600080fd5b81516001600160a01b0381168114620001d057600080fd5b9392505050565b60805160a051612272620002196000396000610d540152600081816102f6015281816103360152818161046a015281816104aa015261052601526122726000f3fe60806040526004361061008c5760003560e01c8063078dfbe7146100915780633659cfe6146100b35780634e71e0c8146100d35780634f1ef286146100e85780634f4f9ac2146100fb57806352d1902d146101245780638129fc1c146101395780638da5cb5b1461014e578063b8f82b2614610186578063cbe52ae3146101a6578063e30c3978146101c6575b600080fd5b34801561009d57600080fd5b506100b16100ac366004611cf1565b6101e6565b005b3480156100bf57600080fd5b506100b16100ce366004611d3c565b6102ec565b3480156100df57600080fd5b506100b16103b4565b6100b16100f6366004611d6f565b610460565b34801561010757600080fd5b5061011160005481565b6040519081526020015b60405180910390f35b34801561013057600080fd5b50610111610519565b34801561014557600080fd5b506100b16105c7565b34801561015a57600080fd5b5060015461016e906001600160a01b031681565b6040516001600160a01b03909116815260200161011b565b34801561019257600080fd5b506101116101a1366004611e32565b6106f9565b3480156101b257600080fd5b506101116101c1366004611e32565b6107e6565b3480156101d257600080fd5b5060025461016e906001600160a01b031681565b6001546001600160a01b031633146102195760405162461bcd60e51b815260040161021090611e5e565b60405180910390fd5b81156102cb576001600160a01b0383161515806102335750805b6102775760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610210565b6001546040516001600160a01b038086169216906000805160206121f683398151915290600090a3600180546001600160a01b0385166001600160a01b031991821617909155600280549091169055505050565b600280546001600160a01b0319166001600160a01b0385161790555b505050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036103345760405162461bcd60e51b815260040161021090611e93565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610366610a4b565b6001600160a01b03161461038c5760405162461bcd60e51b815260040161021090611ecd565b61039581610a67565b604080516000808252602082019092526103b191839190610a91565b50565b6002546001600160a01b031633811461040f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610210565b6001546040516001600160a01b038084169216906000805160206121f683398151915290600090a3600180546001600160a01b039092166001600160a01b0319928316179055600280549091169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036104a85760405162461bcd60e51b815260040161021090611e93565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166104da610a4b565b6001600160a01b0316146105005760405162461bcd60e51b815260040161021090611ecd565b61050982610a67565b61051582826001610a91565b5050565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146105b45760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b6064820152608401610210565b506000805160206121d683398151915290565b600254600160a81b900460ff16158080156105ef57506002546001600160a01b90910460ff16105b8061061757506105fe30610a3c565b1580156106175750600254600160a01b900460ff166001145b61067a5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610210565b6002805460ff60a01b1916600160a01b17905580156106a7576002805460ff60a81b1916600160a81b1790555b6106af610bfc565b80156103b1576002805460ff60a81b19169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150565b600080336001600160a01b031663a8aa1b316040518163ffffffff1660e01b8152600401602060405180830381865afa15801561073a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075e9190611f07565b9050600061076c8286610c7d565b9050600061077b828787611094565b9050600061078983836110c3565b90506000806107a18486604001518760800151611214565b60408601526060850180518491906107ba908390611f3a565b9052506107c78489611f3a565b91508290506107d7858383611241565b96505050505050505b92915050565b600080336001600160a01b031663a8aa1b316040518163ffffffff1660e01b8152600401602060405180830381865afa158015610827573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061084b9190611f07565b90506000816001600160a01b0316630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa15801561088d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b19190611f07565b90506000826001600160a01b031663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109179190611f07565b9050600061094484846001600160a01b0316896001600160a01b03161461093e5784610c7d565b83610c7d565b9050600081600001516001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561098a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ae9190611f4d565b90506000818884604001516109c39190611f66565b6109cd9190611f93565b90506000828985606001516109e29190611f66565b6109ec9190611f93565b90508184604001818151610a009190611f3a565b905250606084018051829190610a17908390611f3a565b905250610a2484836110c3565b610a2e9082611fb5565b9a9950505050505050505050565b6001600160a01b03163b151590565b6000805160206121d6833981519152546001600160a01b031690565b6001546001600160a01b031633146103b15760405162461bcd60e51b815260040161021090611e5e565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610ac4576102e78361132e565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610b1e575060408051601f3d908101601f19168201909252610b1b91810190611f4d565b60015b610b815760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610210565b6000805160206121d68339815191528114610bf05760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610210565b506102e78383836113c8565b600254600160a81b900460ff16610c695760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610210565b600180546001600160a01b03191633179055565b610cc86040518060e0016040528060006001600160a01b0316815260200160001515815260200160008152602001600081526020016000815260200160008152602001600081525090565b6001600160a01b038316808252604080516309047bdd60e01b815290516309047bdd916004808201926020929091908290030181865afa158015610d10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d349190611fc8565b151560208201819052604051632895a2f560e11b815260048101919091527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063512b45ea90602401602060405180830381865afa158015610da3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc79190611f4d565b816080018181525050826001600160a01b0316630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610e0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e329190611fe5565b5060608301526040820152602081015115610ff257826001600160a01b0316630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea99190611f07565b6001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ee6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0a9190612013565b610f1590600a61211a565b8160a0018181525050826001600160a01b031663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f809190611f07565b6001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe19190612013565b610fec90600a61211a565b60c08201525b826001600160a01b031663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611030573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110549190611f07565b6001600160a01b0316826001600160a01b0316036107e057606081018051604083018051909252905260c08101805160a083018051909252905292915050565b600083602001516110ae576110a984836113f3565b6110b9565b6110b98484846114f4565b90505b9392505050565b600082602001516111285760808301516110df90612710611f3a565b6110e99083611f66565b91508161271084604001516110fe9190611f66565b6111089190611fb5565b60608401516111179084611f66565b6111219190611f93565b90506107e0565b61115d8360a001516127108560800151856111439190611f66565b61114d9190611f93565b6111579085611f3a565b90611673565b9150600061117c8460a00151856040015161167390919063ffffffff16565b9050600061119b8560c00151866060015161167390919063ffffffff16565b905060006111ce6111ab836116a2565b6111b4856116a2565b6111be9190611fb5565b6111c885856116aa565b906116aa565b905060006111e66111df8588611fb5565b83856116c8565b6111f09084611f3a565b90506112098760c00151826116aa90919063ffffffff16565b9450505050506107e0565b60006127106112238386611f66565b61122d9190611f93565b6112378585611fb5565b6110b99190611f3a565b60008061125784866040015187606001516117d7565b90508281116112685780925061127e565b61127b83866060015187604001516117d7565b93505b600085600001516001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e69190611f4d565b9050611324866040015182876112fc9190611f66565b6113069190611f93565b60608801516113158488611f66565b61131f9190611f93565b6117ee565b9695505050505050565b61133781610a3c565b6113995760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610210565b6000805160206121d683398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6113d183611804565b6000825111806113de5750805b156102e7576113ed8383611844565b50505050565b600080612710846040015161271080600261140e9190611f66565b6114189190611f3a565b6114229190611f66565b61142c9190611f93565b9050600061143982611869565b905060008560400151856114698860800151612710600161145a9190611f66565b6114649190611f3a565b611869565b611474906004611f66565b61147e9190611f66565b6114889190611f66565b905060008361149f61149a8486611fb5565b611875565b6114a99190611f3a565b905060006114c48860800151612710600161145a9190611f66565b6114cf906002611f66565b9050806114de61271084611f66565b6114e89190611f93565b98975050505050505050565b60008061150183866118e5565b90505b61151981600001518260200151600054611a44565b61166a578051602082015160029161153091611fb5565b61153a9190611f93565b6040828101829052865190516378a051ad60e11b815260048101929092526001600160a01b038681166024840152169063f140a35a90604401602060405180830381865afa158015611590573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b49190611f4d565b8160c00181815250506115d4816040015186604001518760800151611214565b8160600181815250508060c0015185606001516115f19190611f3a565b608082015260408101516116059084611f3a565b60a0820152606081015160c082015161161e9190611f66565b81608001518260a001516116329190611f66565b101561165357600181604001516116499190611f3a565b6020820152611504565b6040810151611663906001611fb5565b8152611504565b51949350505050565b600080611688670de0b6b3a764000085611f66565b905082818161169957611699611f7d565b04949350505050565b60006107e082835b6000806116b78385611f66565b9050670de0b6b3a764000081611699565b6000805b60ff8110156117ce578260006116e28783611a8c565b9050858110156117325760006116f88887611b29565b6117028389611f3a565b61171490670de0b6b3a7640000611f66565b61171e9190611f93565b905061172a8187611fb5565b955050611774565b600061173e8887611b29565b6117488884611f3a565b61175a90670de0b6b3a7640000611f66565b6117649190611f93565b90506117708187611f3a565b9550505b8185111561179d5760016117888387611f3a565b11611798578493505050506110bc565b6117b9565b60016117a98684611f3a565b116117b9578493505050506110bc565b505080806117c690612129565b9150506116cc565b50909392505050565b6000826117e48386611f66565b6110b99190611f93565b60008183106117fd57816110bc565b5090919050565b61180d8161132e565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606110bc838360405180606001604052806027815260200161221660279139611b91565b60006107e08280611f66565b600060038211156118d6575080600061188f600283611f93565b61189a906001611fb5565b90505b818110156118d0579050806002816118b58186611f93565b6118bf9190611fb5565b6118c99190611f93565b905061189d565b50919050565b81156118e0575060015b919050565b6119256040518060e00160405280600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b60006119428360a00151846040015161167390919063ffffffff16565b905060006119618460c00151856060015161167390919063ffffffff16565b905061197a8460a001518661167390919063ffffffff16565b9450600061199261198b8785611fb5565b8390611673565b905060006119c16119a384806116aa565b6119ad86806116aa565b6119b79190611fb5565b6111c886866116aa565b90506000826119d4816111c881806116aa565b6119de9190611fb5565b60a0880151909150611a0790866119fd6119f88686611673565b611c62565b6111c89190611f3a565b86526080870151611a1a90612710611f3a565b8651611a299061271090611f66565b611a339190611f93565b602087015250939695505050505050565b600083611a6284611a5d85670de0b6b3a7640000611f3a565b6116aa565b111580156110b95750611a8183611a5d84670de0b6b3a7640000611fb5565b909311159392505050565b6000670de0b6b3a764000082818581611aa58280611f66565b611aaf9190611f93565b611ab99190611f66565b611ac39190611f93565b611acd9190611f66565b611ad79190611f93565b670de0b6b3a7640000808481611aed8280611f66565b611af79190611f93565b611b019190611f66565b611b0b9190611f93565b611b159086611f66565b611b1f9190611f93565b6110bc9190611fb5565b6000670de0b6b3a76400008381611b408280611f66565b611b4a9190611f93565b611b549190611f66565b611b5e9190611f93565b670de0b6b3a764000080611b728580611f66565b611b7c9190611f93565b611b87866003611f66565b611b159190611f66565b6060611b9c84610a3c565b611bf75760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610210565b600080856001600160a01b031685604051611c129190612166565b600060405180830381855af49150503d8060008114611c4d576040519150601f19603f3d011682016040523d82523d6000602084013e611c52565b606091505b5091509150611324828286611c95565b600080611c6e83611875565b611c7c90633b9aca00611f66565b9050611c8781611875565b6110bc90633b9aca00611f66565b60608315611ca45750816110bc565b825115611cb45782518084602001fd5b8160405162461bcd60e51b81526004016102109190612182565b6001600160a01b03811681146103b157600080fd5b80151581146103b157600080fd5b600080600060608486031215611d0657600080fd5b8335611d1181611cce565b92506020840135611d2181611ce3565b91506040840135611d3181611ce3565b809150509250925092565b600060208284031215611d4e57600080fd5b81356110bc81611cce565b634e487b7160e01b600052604160045260246000fd5b60008060408385031215611d8257600080fd5b8235611d8d81611cce565b915060208301356001600160401b0380821115611da957600080fd5b818501915085601f830112611dbd57600080fd5b813581811115611dcf57611dcf611d59565b604051601f8201601f19908116603f01168101908382118183101715611df757611df7611d59565b81604052828152886020848701011115611e1057600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b60008060408385031215611e4557600080fd5b8235611e5081611cce565b946020939093013593505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602c908201526000805160206121b683398151915260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201526000805160206121b683398151915260408201526b6163746976652070726f787960a01b606082015260800190565b600060208284031215611f1957600080fd5b81516110bc81611cce565b634e487b7160e01b600052601160045260246000fd5b818103818111156107e0576107e0611f24565b600060208284031215611f5f57600080fd5b5051919050565b80820281158282048414176107e0576107e0611f24565b634e487b7160e01b600052601260045260246000fd5b600082611fb057634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156107e0576107e0611f24565b600060208284031215611fda57600080fd5b81516110bc81611ce3565b600080600060608486031215611ffa57600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561202557600080fd5b815160ff811681146110bc57600080fd5b600181815b8085111561207157816000190482111561205757612057611f24565b8085161561206457918102915b93841c939080029061203b565b509250929050565b600082612088575060016107e0565b81612095575060006107e0565b81600181146120ab57600281146120b5576120d1565b60019150506107e0565b60ff8411156120c6576120c6611f24565b50506001821b6107e0565b5060208310610133831016604e8410600b84101617156120f4575081810a6107e0565b6120fe8383612036565b806000190482111561211257612112611f24565b029392505050565b60006110bc60ff841683612079565b60006001820161213b5761213b611f24565b5060010190565b60005b8381101561215d578181015183820152602001612145565b50506000910152565b60008251612178818460208701612142565b9190910192915050565b60208152600082518060208401526121a1816040850160208701612142565b601f01601f1916919091016040019291505056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122026a60344adbf7215d7fa13d16e581eae635ec9dc203a4a2f68eeda936ca69daa64736f6c63430008110033";
|
|
269
|
+
|
|
270
|
+
type ThenaPreviewConstructorParams =
|
|
271
|
+
| [signer?: Signer]
|
|
272
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
273
|
+
|
|
274
|
+
const isSuperArgs = (
|
|
275
|
+
xs: ThenaPreviewConstructorParams
|
|
276
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
277
|
+
|
|
278
|
+
export class ThenaPreview__factory extends ContractFactory {
|
|
279
|
+
constructor(...args: ThenaPreviewConstructorParams) {
|
|
280
|
+
if (isSuperArgs(args)) {
|
|
281
|
+
super(...args);
|
|
282
|
+
} else {
|
|
283
|
+
super(_abi, _bytecode, args[0]);
|
|
284
|
+
}
|
|
285
|
+
this.contractName = "ThenaPreview";
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
deploy(
|
|
289
|
+
_factory: string,
|
|
290
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
291
|
+
): Promise<ThenaPreview> {
|
|
292
|
+
return super.deploy(_factory, overrides || {}) as Promise<ThenaPreview>;
|
|
293
|
+
}
|
|
294
|
+
getDeployTransaction(
|
|
295
|
+
_factory: string,
|
|
296
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
297
|
+
): TransactionRequest {
|
|
298
|
+
return super.getDeployTransaction(_factory, overrides || {});
|
|
299
|
+
}
|
|
300
|
+
attach(address: string): ThenaPreview {
|
|
301
|
+
return super.attach(address) as ThenaPreview;
|
|
302
|
+
}
|
|
303
|
+
connect(signer: Signer): ThenaPreview__factory {
|
|
304
|
+
return super.connect(signer) as ThenaPreview__factory;
|
|
305
|
+
}
|
|
306
|
+
static readonly contractName: "ThenaPreview";
|
|
307
|
+
public readonly contractName: "ThenaPreview";
|
|
308
|
+
static readonly bytecode = _bytecode;
|
|
309
|
+
static readonly abi = _abi;
|
|
310
|
+
static createInterface(): ThenaPreviewInterface {
|
|
311
|
+
return new utils.Interface(_abi) as ThenaPreviewInterface;
|
|
312
|
+
}
|
|
313
|
+
static connect(
|
|
314
|
+
address: string,
|
|
315
|
+
signerOrProvider: Signer | Provider
|
|
316
|
+
): ThenaPreview {
|
|
317
|
+
return new Contract(address, _abi, signerOrProvider) as ThenaPreview;
|
|
318
|
+
}
|
|
319
|
+
}
|