@pendle/core-v2 2.2.0-mainnet → 2.3.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.
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- 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/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/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/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.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/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- 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/PendleAuraWethAnkrethSY.sol/PendleAuraWethAnkrethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol/PendleAuraWethAnkrethSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.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/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/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.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/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/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/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/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/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/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/IPGauge.sol/IPGauge.dbg.json +1 -1
- 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/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/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/IStargateLPStaking.sol/IStargateLPStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.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/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/Multicall2.sol/Multicall2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticall.sol/PendleMulticall.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- 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/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- 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/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- 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/StorageLayout.sol/StorageLayout.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- 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/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- 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/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.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/PendleSwapAggregator.sol/PendleSwapAggregator.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberAggregationRouterHelper.sol/KyberAggregationRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScaleDataHelperEthereum1.sol/ScaleDataHelperEthereum1.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IHashflow.sol/IHashflow.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol +4 -3
- package/deployments/1-markets/BALANCER-LP-AURA-ANKRETH-WETH-MARCH-28-2024.json +11 -0
- package/package.json +1 -1
- package/typechain-types/AccessControl.ts +360 -0
- package/typechain-types/ActionBaseMintRedeem.ts +87 -0
- package/typechain-types/ActionCallback.ts +134 -0
- package/typechain-types/ActionCore.ts +1758 -0
- package/typechain-types/ActionSCYAndPTBase.ts +87 -0
- package/typechain-types/ActionSCYAndPYBase.ts +87 -0
- package/typechain-types/ActionSCYAndYTBase.ts +87 -0
- package/typechain-types/ActionSwapPTYT.ts +237 -0
- package/typechain-types/ActionYT.ts +509 -0
- package/typechain-types/AggregationRouterHelper.ts +392 -0
- package/typechain-types/BaseSplitCodeFactory.ts +118 -0
- package/typechain-types/BoringOwnable.ts +194 -0
- package/typechain-types/BoringOwnableData.ts +100 -0
- package/typechain-types/BribeDistributor.ts +363 -0
- package/typechain-types/CelerReceiverUpg.ts +372 -0
- package/typechain-types/CelerSenderUpg.ts +321 -0
- package/typechain-types/Curve3CrvPoolHelper.ts +236 -0
- package/typechain-types/CurveFraxUsdcPoolHelper.ts +158 -0
- package/typechain-types/CurveUsdd3CrvPoolHelper.ts +184 -0
- package/typechain-types/DistributorBase.ts +363 -0
- package/typechain-types/ERC165.ts +102 -0
- package/typechain-types/ERC1967UpgradeUpgradeable.ts +97 -0
- package/typechain-types/EpochResultManager.ts +261 -0
- package/typechain-types/FeeDistributor.ts +416 -0
- package/typechain-types/FeeDistributorAbstract.ts +240 -0
- package/typechain-types/FeeDistributorVePendle.ts +81 -0
- package/typechain-types/FeeDistributorVoting.ts +272 -0
- package/typechain-types/FeeDistributorVotingFactory.ts +293 -0
- package/typechain-types/GMXPreviewHelper.ts +121 -0
- package/typechain-types/IAccessControl.ts +305 -0
- package/typechain-types/IAggregationRouterHelper.ts +108 -0
- package/typechain-types/IBeaconUpgradeable.ts +87 -0
- package/typechain-types/ICelerMessageBus.ts +134 -0
- package/typechain-types/ICelerMessageReceiverApp.ts +120 -0
- package/typechain-types/IERC165.ts +102 -0
- package/typechain-types/IERC1822ProxiableUpgradeable.ts +87 -0
- package/typechain-types/IERC20Upgradeable.ts +300 -0
- package/typechain-types/IKyberSwapAggregationRouterHelper.ts +109 -0
- package/typechain-types/IMetaAggregationRouter.ts +213 -0
- package/typechain-types/IMultihopRouter.ts +209 -0
- package/typechain-types/IMultihopRouterEthereum.ts +209 -0
- package/typechain-types/IPActionCore.ts +1739 -0
- package/typechain-types/IPActionSwapPTYT.ts +237 -0
- package/typechain-types/IPActionYT.ts +490 -0
- package/typechain-types/IPBatchSeller.ts +234 -0
- package/typechain-types/IPFeeDistributorFactory.ts +101 -0
- package/typechain-types/IPVotingControllerStorage.ts +169 -0
- package/typechain-types/IPVotingEscrow.ts +344 -0
- package/typechain-types/IStargateLP.ts +306 -0
- package/typechain-types/IStargateStaking.ts +232 -0
- package/typechain-types/ISuperComposableYield.ts +895 -0
- package/typechain-types/ISwapAggregator.ts +124 -0
- package/typechain-types/ImplicitSwapfeeContract.ts +149 -0
- package/typechain-types/KyberSwapHelper.ts +87 -0
- package/typechain-types/OwnableUpgradeable.ts +165 -0
- package/typechain-types/Pendle3CrvAndTokenSCY.ts +1215 -0
- package/typechain-types/Pendle3CrvAndTokenSY.ts +1243 -0
- package/typechain-types/Pendle3CrvHelper.ts +133 -0
- package/typechain-types/Pendle3CrvTokenSCY.ts +1150 -0
- package/typechain-types/PendleAaveV3SCY.ts +1088 -0
- package/typechain-types/PendleApeStakingSY.ts +1135 -0
- package/typechain-types/PendleBatchSeller.ts +648 -0
- package/typechain-types/PendleConvex2TokensSY.ts +1215 -0
- package/typechain-types/PendleConvexCurveLP2PoolSCY.ts +1215 -0
- package/typechain-types/PendleConvexCurveLP3PoolSCY.ts +1269 -0
- package/typechain-types/PendleConvexCurveLP4PoolSCY.ts +1288 -0
- package/typechain-types/PendleConvexCurveLPSCY.ts +1189 -0
- package/typechain-types/PendleCvxCRVSCY.ts +1104 -0
- package/typechain-types/PendleERC4626SCY.ts +950 -0
- package/typechain-types/PendleEulerSCY.ts +965 -0
- package/typechain-types/PendleFeeDistributorAbstract.ts +289 -0
- package/typechain-types/PendleFeeDistributorFactory.ts +591 -0
- package/typechain-types/PendleFeeDistributorVoting.ts +321 -0
- package/typechain-types/PendleFeeDistributorVotingFactory.ts +294 -0
- package/typechain-types/PendleGovernanceManager.ts +187 -0
- package/typechain-types/PendleLooksStaking.ts +1052 -0
- package/typechain-types/PendlePtOracleBase.ts +139 -0
- package/typechain-types/PendleQiSAvaxSCY.ts +1098 -0
- package/typechain-types/PendleQiTokenSCY.ts +1166 -0
- package/typechain-types/PendleSAvaxSCY.ts +962 -0
- package/typechain-types/PendleSJoeSCY.ts +1053 -0
- package/typechain-types/PendleStargateLP.ts +1442 -0
- package/typechain-types/PendleStargateSCY.ts +1135 -0
- package/typechain-types/PendleWstEthSCY.ts +1040 -0
- package/typechain-types/PendleYearnVaultSCY.ts +963 -0
- package/typechain-types/PermissionsV2Upg.ts +87 -0
- package/typechain-types/PtAMMArb.ts +587 -0
- package/typechain-types/SCYBase.ts +1001 -0
- package/typechain-types/SCYBaseWithDynamicRewards.ts +1063 -0
- package/typechain-types/SCYBaseWithRewards.ts +1094 -0
- package/typechain-types/SSTORE2DeployerContract.ts +242 -0
- package/typechain-types/SYBaseAutoCompound.ts +1203 -0
- package/typechain-types/StEthHelper.ts +107 -0
- package/typechain-types/SwapAggregator.ts +406 -0
- package/typechain-types/factories/AccessControl__factory.ts +227 -0
- package/typechain-types/factories/ActionBaseMintRedeem__factory.ts +43 -0
- package/typechain-types/factories/ActionCallback__factory.ts +223 -0
- package/typechain-types/factories/ActionCore__factory.ts +1863 -0
- package/typechain-types/factories/ActionSCYAndPTBase__factory.ts +39 -0
- package/typechain-types/factories/ActionSCYAndPYBase__factory.ts +39 -0
- package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +39 -0
- package/typechain-types/factories/ActionSwapPTYT__factory.ts +396 -0
- package/typechain-types/factories/ActionYT__factory.ts +499 -0
- package/typechain-types/factories/AggregationRouterHelper__factory.ts +281 -0
- package/typechain-types/factories/BaseSplitCodeFactory__factory.ts +102 -0
- package/typechain-types/factories/BoringOwnableData__factory.ts +90 -0
- package/typechain-types/factories/BoringOwnable__factory.ts +141 -0
- package/typechain-types/factories/BribeDistributor__factory.ts +303 -0
- package/typechain-types/factories/CelerReceiverUpg__factory.ts +205 -0
- package/typechain-types/factories/CelerSenderUpg__factory.ts +163 -0
- package/typechain-types/factories/Curve3CrvPoolHelper__factory.ts +220 -0
- package/typechain-types/factories/CurveFraxUsdcPoolHelper__factory.ts +146 -0
- package/typechain-types/factories/CurveUsdd3CrvPoolHelper__factory.ts +172 -0
- package/typechain-types/factories/DistributorBase__factory.ts +249 -0
- package/typechain-types/factories/ERC165__factory.ts +39 -0
- package/typechain-types/factories/ERC1967UpgradeUpgradeable__factory.ts +75 -0
- package/typechain-types/factories/EpochResultManager__factory.ts +146 -0
- package/typechain-types/factories/FeeDistributorAbstract__factory.ts +127 -0
- package/typechain-types/factories/FeeDistributorVePendle__factory.ts +97 -0
- package/typechain-types/factories/FeeDistributorVotingFactory__factory.ts +211 -0
- package/typechain-types/factories/FeeDistributorVoting__factory.ts +219 -0
- package/typechain-types/factories/FeeDistributor__factory.ts +339 -0
- package/typechain-types/factories/GMXPreviewHelper__factory.ts +65 -0
- package/typechain-types/factories/IAccessControl__factory.ts +198 -0
- package/typechain-types/factories/IAggregationRouterHelper__factory.ts +54 -0
- package/typechain-types/factories/IBeaconUpgradeable__factory.ts +39 -0
- package/typechain-types/factories/ICelerMessageBus__factory.ts +68 -0
- package/typechain-types/factories/ICelerMessageReceiverApp__factory.ts +64 -0
- package/typechain-types/factories/IERC165__factory.ts +42 -0
- package/typechain-types/factories/IERC1822ProxiableUpgradeable__factory.ts +43 -0
- package/typechain-types/factories/IERC20Upgradeable__factory.ts +209 -0
- package/typechain-types/factories/IKyberSwapAggregationRouterHelper__factory.ts +56 -0
- package/typechain-types/factories/IMetaAggregationRouter__factory.ts +202 -0
- package/typechain-types/factories/IMultihopRouterEthereum__factory.ts +155 -0
- package/typechain-types/factories/IMultihopRouter__factory.ts +151 -0
- package/typechain-types/factories/IPActionCore__factory.ts +1784 -0
- package/typechain-types/factories/IPActionSwapPTYT__factory.ts +205 -0
- package/typechain-types/factories/IPActionYT__factory.ts +435 -0
- package/typechain-types/factories/IPBatchSeller__factory.ts +132 -0
- package/typechain-types/factories/IPFeeDistributorFactory__factory.ts +86 -0
- package/typechain-types/factories/IPVotingControllerStorage__factory.ts +107 -0
- package/typechain-types/factories/IPVotingEscrow__factory.ts +250 -0
- package/typechain-types/factories/IStargateLP__factory.ts +212 -0
- package/typechain-types/factories/IStargateStaking__factory.ts +145 -0
- package/typechain-types/factories/ISuperComposableYield__factory.ts +662 -0
- package/typechain-types/factories/ISwapAggregator__factory.ts +66 -0
- package/typechain-types/factories/ImplicitSwapfeeContract__factory.ts +239 -0
- package/typechain-types/factories/KyberSwapHelper__factory.ts +39 -0
- package/typechain-types/factories/MarketMathStatic__factory.ts +1 -1
- package/typechain-types/factories/OwnableUpgradeable__factory.ts +78 -0
- package/typechain-types/factories/Pendle3CrvAndTokenSCY__factory.ts +1130 -0
- package/typechain-types/factories/Pendle3CrvAndTokenSY__factory.ts +1106 -0
- package/typechain-types/factories/Pendle3CrvHelper__factory.ts +129 -0
- package/typechain-types/factories/Pendle3CrvTokenSCY__factory.ts +996 -0
- package/typechain-types/factories/PendleAaveV3SCY__factory.ts +874 -0
- package/typechain-types/factories/PendleApeStakingSY__factory.ts +981 -0
- package/typechain-types/factories/PendleAuraWethAnkrethSY__factory.ts +1 -1
- package/typechain-types/factories/PendleBatchSeller__factory.ts +480 -0
- package/typechain-types/factories/PendleConvex2TokensSY__factory.ts +1093 -0
- package/typechain-types/factories/PendleConvexCurveLP2PoolSCY__factory.ts +1125 -0
- package/typechain-types/factories/PendleConvexCurveLP3PoolSCY__factory.ts +1067 -0
- package/typechain-types/factories/PendleConvexCurveLP4PoolSCY__factory.ts +1080 -0
- package/typechain-types/factories/PendleConvexCurveLPSCY__factory.ts +967 -0
- package/typechain-types/factories/PendleCvxCRVSCY__factory.ts +910 -0
- package/typechain-types/factories/PendleERC4626SCY__factory.ts +774 -0
- package/typechain-types/factories/PendleEulerSCY__factory.ts +805 -0
- package/typechain-types/factories/PendleFeeDistributorAbstract__factory.ts +183 -0
- package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +485 -0
- package/typechain-types/factories/PendleFeeDistributorVotingFactory__factory.ts +213 -0
- package/typechain-types/factories/PendleFeeDistributorVoting__factory.ts +275 -0
- package/typechain-types/factories/PendleGovernanceManager__factory.ts +149 -0
- package/typechain-types/factories/PendleLooksStaking__factory.ts +933 -0
- package/typechain-types/factories/PendlePtOracleBase__factory.ts +78 -0
- package/typechain-types/factories/PendleQiSAvaxSCY__factory.ts +917 -0
- package/typechain-types/factories/PendleQiTokenSCY__factory.ts +1095 -0
- package/typechain-types/factories/PendleSAvaxSCY__factory.ts +796 -0
- package/typechain-types/factories/PendleSJoeSCY__factory.ts +845 -0
- package/typechain-types/factories/PendleStargateLP__factory.ts +1241 -0
- package/typechain-types/factories/PendleStargateSCY__factory.ts +952 -0
- package/typechain-types/factories/PendleWstEthSCY__factory.ts +924 -0
- package/typechain-types/factories/PendleYearnVaultSCY__factory.ts +787 -0
- package/typechain-types/factories/PermissionsV2Upg__factory.ts +39 -0
- package/typechain-types/factories/PtAMMArb__factory.ts +525 -0
- package/typechain-types/factories/RouterStatic__factory.ts +1 -1
- package/typechain-types/factories/SCYBaseWithDynamicRewards__factory.ts +775 -0
- package/typechain-types/factories/SCYBaseWithRewards__factory.ts +867 -0
- package/typechain-types/factories/SCYBase__factory.ts +798 -0
- package/typechain-types/factories/SSTORE2DeployerContract__factory.ts +191 -0
- package/typechain-types/factories/SYBaseAutoCompound__factory.ts +942 -0
- package/typechain-types/factories/StEthHelper__factory.ts +62 -0
- package/typechain-types/factories/SwapAggregator__factory.ts +309 -0
- package/typechain-types/hardhat.d.ts +81 -27
- package/typechain-types/index.ts +16 -6
|
@@ -0,0 +1,205 @@
|
|
|
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 {
|
|
8
|
+
IPActionSwapPTYT,
|
|
9
|
+
IPActionSwapPTYTInterface,
|
|
10
|
+
} from "../IPActionSwapPTYT";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
anonymous: false,
|
|
15
|
+
inputs: [
|
|
16
|
+
{
|
|
17
|
+
indexed: true,
|
|
18
|
+
internalType: "address",
|
|
19
|
+
name: "caller",
|
|
20
|
+
type: "address",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
indexed: true,
|
|
24
|
+
internalType: "address",
|
|
25
|
+
name: "market",
|
|
26
|
+
type: "address",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
indexed: true,
|
|
30
|
+
internalType: "address",
|
|
31
|
+
name: "receiver",
|
|
32
|
+
type: "address",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
indexed: false,
|
|
36
|
+
internalType: "int256",
|
|
37
|
+
name: "netPtToAccount",
|
|
38
|
+
type: "int256",
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
indexed: false,
|
|
42
|
+
internalType: "int256",
|
|
43
|
+
name: "netYtToAccount",
|
|
44
|
+
type: "int256",
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
name: "SwapPtAndYt",
|
|
48
|
+
type: "event",
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
inputs: [
|
|
52
|
+
{
|
|
53
|
+
internalType: "address",
|
|
54
|
+
name: "receiver",
|
|
55
|
+
type: "address",
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
internalType: "address",
|
|
59
|
+
name: "market",
|
|
60
|
+
type: "address",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
internalType: "uint256",
|
|
64
|
+
name: "exactPtIn",
|
|
65
|
+
type: "uint256",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
internalType: "uint256",
|
|
69
|
+
name: "minYtOut",
|
|
70
|
+
type: "uint256",
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
components: [
|
|
74
|
+
{
|
|
75
|
+
internalType: "uint256",
|
|
76
|
+
name: "guessMin",
|
|
77
|
+
type: "uint256",
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
internalType: "uint256",
|
|
81
|
+
name: "guessMax",
|
|
82
|
+
type: "uint256",
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
internalType: "uint256",
|
|
86
|
+
name: "guessOffchain",
|
|
87
|
+
type: "uint256",
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
internalType: "uint256",
|
|
91
|
+
name: "maxIteration",
|
|
92
|
+
type: "uint256",
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
internalType: "uint256",
|
|
96
|
+
name: "eps",
|
|
97
|
+
type: "uint256",
|
|
98
|
+
},
|
|
99
|
+
],
|
|
100
|
+
internalType: "struct ApproxParams",
|
|
101
|
+
name: "guessTotalPtToSwap",
|
|
102
|
+
type: "tuple",
|
|
103
|
+
},
|
|
104
|
+
],
|
|
105
|
+
name: "swapExactPtForYt",
|
|
106
|
+
outputs: [
|
|
107
|
+
{
|
|
108
|
+
internalType: "uint256",
|
|
109
|
+
name: "netYtOut",
|
|
110
|
+
type: "uint256",
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
internalType: "uint256",
|
|
114
|
+
name: "netSyFee",
|
|
115
|
+
type: "uint256",
|
|
116
|
+
},
|
|
117
|
+
],
|
|
118
|
+
stateMutability: "nonpayable",
|
|
119
|
+
type: "function",
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
inputs: [
|
|
123
|
+
{
|
|
124
|
+
internalType: "address",
|
|
125
|
+
name: "receiver",
|
|
126
|
+
type: "address",
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
internalType: "address",
|
|
130
|
+
name: "market",
|
|
131
|
+
type: "address",
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
internalType: "uint256",
|
|
135
|
+
name: "exactYtIn",
|
|
136
|
+
type: "uint256",
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
internalType: "uint256",
|
|
140
|
+
name: "minPtOut",
|
|
141
|
+
type: "uint256",
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
components: [
|
|
145
|
+
{
|
|
146
|
+
internalType: "uint256",
|
|
147
|
+
name: "guessMin",
|
|
148
|
+
type: "uint256",
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
internalType: "uint256",
|
|
152
|
+
name: "guessMax",
|
|
153
|
+
type: "uint256",
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
internalType: "uint256",
|
|
157
|
+
name: "guessOffchain",
|
|
158
|
+
type: "uint256",
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
internalType: "uint256",
|
|
162
|
+
name: "maxIteration",
|
|
163
|
+
type: "uint256",
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
internalType: "uint256",
|
|
167
|
+
name: "eps",
|
|
168
|
+
type: "uint256",
|
|
169
|
+
},
|
|
170
|
+
],
|
|
171
|
+
internalType: "struct ApproxParams",
|
|
172
|
+
name: "guessTotalPtSwapped",
|
|
173
|
+
type: "tuple",
|
|
174
|
+
},
|
|
175
|
+
],
|
|
176
|
+
name: "swapExactYtForPt",
|
|
177
|
+
outputs: [
|
|
178
|
+
{
|
|
179
|
+
internalType: "uint256",
|
|
180
|
+
name: "netPtOut",
|
|
181
|
+
type: "uint256",
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
internalType: "uint256",
|
|
185
|
+
name: "netSyFee",
|
|
186
|
+
type: "uint256",
|
|
187
|
+
},
|
|
188
|
+
],
|
|
189
|
+
stateMutability: "nonpayable",
|
|
190
|
+
type: "function",
|
|
191
|
+
},
|
|
192
|
+
];
|
|
193
|
+
|
|
194
|
+
export class IPActionSwapPTYT__factory {
|
|
195
|
+
static readonly abi = _abi;
|
|
196
|
+
static createInterface(): IPActionSwapPTYTInterface {
|
|
197
|
+
return new utils.Interface(_abi) as IPActionSwapPTYTInterface;
|
|
198
|
+
}
|
|
199
|
+
static connect(
|
|
200
|
+
address: string,
|
|
201
|
+
signerOrProvider: Signer | Provider
|
|
202
|
+
): IPActionSwapPTYT {
|
|
203
|
+
return new Contract(address, _abi, signerOrProvider) as IPActionSwapPTYT;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
@@ -0,0 +1,435 @@
|
|
|
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 { IPActionYT, IPActionYTInterface } from "../IPActionYT";
|
|
8
|
+
|
|
9
|
+
const _abi = [
|
|
10
|
+
{
|
|
11
|
+
anonymous: false,
|
|
12
|
+
inputs: [
|
|
13
|
+
{
|
|
14
|
+
indexed: true,
|
|
15
|
+
internalType: "address",
|
|
16
|
+
name: "user",
|
|
17
|
+
type: "address",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
indexed: true,
|
|
21
|
+
internalType: "address",
|
|
22
|
+
name: "market",
|
|
23
|
+
type: "address",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
indexed: false,
|
|
27
|
+
internalType: "int256",
|
|
28
|
+
name: "ytToAccount",
|
|
29
|
+
type: "int256",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
indexed: false,
|
|
33
|
+
internalType: "int256",
|
|
34
|
+
name: "scyToAccount",
|
|
35
|
+
type: "int256",
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
name: "SwapYTAndSCY",
|
|
39
|
+
type: "event",
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
anonymous: false,
|
|
43
|
+
inputs: [
|
|
44
|
+
{
|
|
45
|
+
indexed: true,
|
|
46
|
+
internalType: "address",
|
|
47
|
+
name: "user",
|
|
48
|
+
type: "address",
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
indexed: true,
|
|
52
|
+
internalType: "address",
|
|
53
|
+
name: "market",
|
|
54
|
+
type: "address",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
indexed: true,
|
|
58
|
+
internalType: "address",
|
|
59
|
+
name: "token",
|
|
60
|
+
type: "address",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
indexed: false,
|
|
64
|
+
internalType: "int256",
|
|
65
|
+
name: "ytToAccount",
|
|
66
|
+
type: "int256",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
indexed: false,
|
|
70
|
+
internalType: "int256",
|
|
71
|
+
name: "tokenToAccount",
|
|
72
|
+
type: "int256",
|
|
73
|
+
},
|
|
74
|
+
],
|
|
75
|
+
name: "SwapYTAndToken",
|
|
76
|
+
type: "event",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
inputs: [
|
|
80
|
+
{
|
|
81
|
+
internalType: "address",
|
|
82
|
+
name: "receiver",
|
|
83
|
+
type: "address",
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
internalType: "address",
|
|
87
|
+
name: "market",
|
|
88
|
+
type: "address",
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
internalType: "uint256",
|
|
92
|
+
name: "exactScyIn",
|
|
93
|
+
type: "uint256",
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
internalType: "uint256",
|
|
97
|
+
name: "minYtOut",
|
|
98
|
+
type: "uint256",
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
components: [
|
|
102
|
+
{
|
|
103
|
+
internalType: "uint256",
|
|
104
|
+
name: "guessMin",
|
|
105
|
+
type: "uint256",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
internalType: "uint256",
|
|
109
|
+
name: "guessMax",
|
|
110
|
+
type: "uint256",
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
internalType: "uint256",
|
|
114
|
+
name: "guessOffchain",
|
|
115
|
+
type: "uint256",
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
internalType: "uint256",
|
|
119
|
+
name: "maxIteration",
|
|
120
|
+
type: "uint256",
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
internalType: "uint256",
|
|
124
|
+
name: "eps",
|
|
125
|
+
type: "uint256",
|
|
126
|
+
},
|
|
127
|
+
],
|
|
128
|
+
internalType: "struct ApproxParams",
|
|
129
|
+
name: "guessYtOut",
|
|
130
|
+
type: "tuple",
|
|
131
|
+
},
|
|
132
|
+
],
|
|
133
|
+
name: "swapExactScyForYt",
|
|
134
|
+
outputs: [
|
|
135
|
+
{
|
|
136
|
+
internalType: "uint256",
|
|
137
|
+
name: "netYtOut",
|
|
138
|
+
type: "uint256",
|
|
139
|
+
},
|
|
140
|
+
],
|
|
141
|
+
stateMutability: "nonpayable",
|
|
142
|
+
type: "function",
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
inputs: [
|
|
146
|
+
{
|
|
147
|
+
internalType: "address",
|
|
148
|
+
name: "receiver",
|
|
149
|
+
type: "address",
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
internalType: "address",
|
|
153
|
+
name: "market",
|
|
154
|
+
type: "address",
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
internalType: "uint256",
|
|
158
|
+
name: "minYtOut",
|
|
159
|
+
type: "uint256",
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
components: [
|
|
163
|
+
{
|
|
164
|
+
internalType: "uint256",
|
|
165
|
+
name: "guessMin",
|
|
166
|
+
type: "uint256",
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
internalType: "uint256",
|
|
170
|
+
name: "guessMax",
|
|
171
|
+
type: "uint256",
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
internalType: "uint256",
|
|
175
|
+
name: "guessOffchain",
|
|
176
|
+
type: "uint256",
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
internalType: "uint256",
|
|
180
|
+
name: "maxIteration",
|
|
181
|
+
type: "uint256",
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
internalType: "uint256",
|
|
185
|
+
name: "eps",
|
|
186
|
+
type: "uint256",
|
|
187
|
+
},
|
|
188
|
+
],
|
|
189
|
+
internalType: "struct ApproxParams",
|
|
190
|
+
name: "guessYtOut",
|
|
191
|
+
type: "tuple",
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
components: [
|
|
195
|
+
{
|
|
196
|
+
internalType: "address",
|
|
197
|
+
name: "tokenIn",
|
|
198
|
+
type: "address",
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
internalType: "uint256",
|
|
202
|
+
name: "netTokenIn",
|
|
203
|
+
type: "uint256",
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
internalType: "address",
|
|
207
|
+
name: "tokenMintScy",
|
|
208
|
+
type: "address",
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
internalType: "bytes",
|
|
212
|
+
name: "kybercall",
|
|
213
|
+
type: "bytes",
|
|
214
|
+
},
|
|
215
|
+
],
|
|
216
|
+
internalType: "struct TokenInput",
|
|
217
|
+
name: "input",
|
|
218
|
+
type: "tuple",
|
|
219
|
+
},
|
|
220
|
+
],
|
|
221
|
+
name: "swapExactTokenForYt",
|
|
222
|
+
outputs: [
|
|
223
|
+
{
|
|
224
|
+
internalType: "uint256",
|
|
225
|
+
name: "netYtOut",
|
|
226
|
+
type: "uint256",
|
|
227
|
+
},
|
|
228
|
+
],
|
|
229
|
+
stateMutability: "payable",
|
|
230
|
+
type: "function",
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
inputs: [
|
|
234
|
+
{
|
|
235
|
+
internalType: "address",
|
|
236
|
+
name: "receiver",
|
|
237
|
+
type: "address",
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
internalType: "address",
|
|
241
|
+
name: "market",
|
|
242
|
+
type: "address",
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
internalType: "uint256",
|
|
246
|
+
name: "exactYtIn",
|
|
247
|
+
type: "uint256",
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
internalType: "uint256",
|
|
251
|
+
name: "minScyOut",
|
|
252
|
+
type: "uint256",
|
|
253
|
+
},
|
|
254
|
+
],
|
|
255
|
+
name: "swapExactYtForScy",
|
|
256
|
+
outputs: [
|
|
257
|
+
{
|
|
258
|
+
internalType: "uint256",
|
|
259
|
+
name: "netScyOut",
|
|
260
|
+
type: "uint256",
|
|
261
|
+
},
|
|
262
|
+
],
|
|
263
|
+
stateMutability: "nonpayable",
|
|
264
|
+
type: "function",
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
inputs: [
|
|
268
|
+
{
|
|
269
|
+
internalType: "address",
|
|
270
|
+
name: "receiver",
|
|
271
|
+
type: "address",
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
internalType: "address",
|
|
275
|
+
name: "market",
|
|
276
|
+
type: "address",
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
internalType: "uint256",
|
|
280
|
+
name: "netYtIn",
|
|
281
|
+
type: "uint256",
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
components: [
|
|
285
|
+
{
|
|
286
|
+
internalType: "address",
|
|
287
|
+
name: "tokenOut",
|
|
288
|
+
type: "address",
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
internalType: "uint256",
|
|
292
|
+
name: "minTokenOut",
|
|
293
|
+
type: "uint256",
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
internalType: "address",
|
|
297
|
+
name: "tokenRedeemScy",
|
|
298
|
+
type: "address",
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
internalType: "bytes",
|
|
302
|
+
name: "kybercall",
|
|
303
|
+
type: "bytes",
|
|
304
|
+
},
|
|
305
|
+
],
|
|
306
|
+
internalType: "struct TokenOutput",
|
|
307
|
+
name: "output",
|
|
308
|
+
type: "tuple",
|
|
309
|
+
},
|
|
310
|
+
],
|
|
311
|
+
name: "swapExactYtForToken",
|
|
312
|
+
outputs: [
|
|
313
|
+
{
|
|
314
|
+
internalType: "uint256",
|
|
315
|
+
name: "netTokenOut",
|
|
316
|
+
type: "uint256",
|
|
317
|
+
},
|
|
318
|
+
],
|
|
319
|
+
stateMutability: "nonpayable",
|
|
320
|
+
type: "function",
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
inputs: [
|
|
324
|
+
{
|
|
325
|
+
internalType: "address",
|
|
326
|
+
name: "receiver",
|
|
327
|
+
type: "address",
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
internalType: "address",
|
|
331
|
+
name: "market",
|
|
332
|
+
type: "address",
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
internalType: "uint256",
|
|
336
|
+
name: "exactYtOut",
|
|
337
|
+
type: "uint256",
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
internalType: "uint256",
|
|
341
|
+
name: "maxScyIn",
|
|
342
|
+
type: "uint256",
|
|
343
|
+
},
|
|
344
|
+
],
|
|
345
|
+
name: "swapScyForExactYt",
|
|
346
|
+
outputs: [
|
|
347
|
+
{
|
|
348
|
+
internalType: "uint256",
|
|
349
|
+
name: "netScyIn",
|
|
350
|
+
type: "uint256",
|
|
351
|
+
},
|
|
352
|
+
],
|
|
353
|
+
stateMutability: "nonpayable",
|
|
354
|
+
type: "function",
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
inputs: [
|
|
358
|
+
{
|
|
359
|
+
internalType: "address",
|
|
360
|
+
name: "receiver",
|
|
361
|
+
type: "address",
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
internalType: "address",
|
|
365
|
+
name: "market",
|
|
366
|
+
type: "address",
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
internalType: "uint256",
|
|
370
|
+
name: "exactScyOut",
|
|
371
|
+
type: "uint256",
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
internalType: "uint256",
|
|
375
|
+
name: "maxYtIn",
|
|
376
|
+
type: "uint256",
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
components: [
|
|
380
|
+
{
|
|
381
|
+
internalType: "uint256",
|
|
382
|
+
name: "guessMin",
|
|
383
|
+
type: "uint256",
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
internalType: "uint256",
|
|
387
|
+
name: "guessMax",
|
|
388
|
+
type: "uint256",
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
internalType: "uint256",
|
|
392
|
+
name: "guessOffchain",
|
|
393
|
+
type: "uint256",
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
internalType: "uint256",
|
|
397
|
+
name: "maxIteration",
|
|
398
|
+
type: "uint256",
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
internalType: "uint256",
|
|
402
|
+
name: "eps",
|
|
403
|
+
type: "uint256",
|
|
404
|
+
},
|
|
405
|
+
],
|
|
406
|
+
internalType: "struct ApproxParams",
|
|
407
|
+
name: "guessYtIn",
|
|
408
|
+
type: "tuple",
|
|
409
|
+
},
|
|
410
|
+
],
|
|
411
|
+
name: "swapYtForExactScy",
|
|
412
|
+
outputs: [
|
|
413
|
+
{
|
|
414
|
+
internalType: "uint256",
|
|
415
|
+
name: "netYtIn",
|
|
416
|
+
type: "uint256",
|
|
417
|
+
},
|
|
418
|
+
],
|
|
419
|
+
stateMutability: "nonpayable",
|
|
420
|
+
type: "function",
|
|
421
|
+
},
|
|
422
|
+
];
|
|
423
|
+
|
|
424
|
+
export class IPActionYT__factory {
|
|
425
|
+
static readonly abi = _abi;
|
|
426
|
+
static createInterface(): IPActionYTInterface {
|
|
427
|
+
return new utils.Interface(_abi) as IPActionYTInterface;
|
|
428
|
+
}
|
|
429
|
+
static connect(
|
|
430
|
+
address: string,
|
|
431
|
+
signerOrProvider: Signer | Provider
|
|
432
|
+
): IPActionYT {
|
|
433
|
+
return new Contract(address, _abi, signerOrProvider) as IPActionYT;
|
|
434
|
+
}
|
|
435
|
+
}
|