@pendle/core-v2 2.1.2-mainnet → 2.2.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/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/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
- 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/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
- 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/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- 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/BulkSeller.sol/BulkSeller.json +2 -2
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +2 -2
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
- 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/PendleMarket.sol/PendleMarket.json +2 -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/PYIndex.sol/PYIndexLib.json +2 -2
- 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/SYUtils.sol/SYUtils.json +2 -2
- 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/Ape/sAPE.sol/sAPE.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol/PendleAuraWethAnkrethSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol/PendleAuraWethAnkrethSY.json +1192 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.json +2 -2
- 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/MetaStableMath.sol/MetaStableMath.json +2 -2
- 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/MetaStable/MetaStablePreview.sol/MetaStablePreview.json +2 -2
- 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/StablePoolUserData.sol/StablePoolUserData.json +2 -2
- 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/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +2 -2
- 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/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.json +2 -2
- 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/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.json +2 -2
- 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/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.json +2 -2
- 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/GLP/PendleGlpSY.sol/PendleGlpSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -2
- 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/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
- 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/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.json +2 -2
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.json +2 -2
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.json +2 -2
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.json +2 -2
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.json +2 -2
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.json +2 -2
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.json +2 -2
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.json +2 -2
- 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/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.json +2 -2
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +2 -2
- 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/StringLib.sol/StringLib.json +2 -2
- 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/LogExpMath.sol/LogExpMath.json +2 -2
- package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.json +2 -2
- 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 +4 -0
- package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.json +307 -0
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.json +269 -0
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.json +1260 -0
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{IAToken.sol/IAToken.json → IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.json} +114 -93
- package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.json +184 -0
- 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 +4 -0
- package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.json +40 -0
- 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 +4 -0
- package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.json +55 -0
- 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 +4 -0
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +2322 -0
- 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/AddressProvider.sol/AddressProvider.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.json +2 -2
- 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 +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +30 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +307 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +333 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +1397 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +310 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +228 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +93 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.json +10 -0
- 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/ActionMisc.sol/ActionMisc.json +2 -2
- 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/PendleRouter.sol/PendleRouter.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/MarketApproxPtInLib.json +2 -2
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
- 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/PendleSwapAggregator.sol/PendleSwapAggregator.json +2 -2
- 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/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol +4 -5
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol +3 -5
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol +7 -10
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol +8 -10
- package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +16 -8
- package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +3 -5
- package/contracts/LiquidityMining/README.md +49 -46
- package/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol +9 -14
- package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +4 -10
- package/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +23 -36
- package/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol +18 -24
- package/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol +3 -4
- package/contracts/LiquidityMining/libraries/VeBalanceLib.sol +20 -26
- package/contracts/core/BulkSeller/BulkSeller.sol +1 -5
- package/contracts/core/BulkSeller/BulkSellerFactory.sol +4 -5
- package/contracts/core/BulkSeller/BulkSellerMathCore.sol +20 -25
- package/contracts/core/Market/MarketMathCore.sol +23 -69
- package/contracts/core/Market/OracleLib.sol +4 -4
- package/contracts/core/Market/PendleGauge.sol +7 -20
- package/contracts/core/Market/PendleMarket.sol +5 -15
- package/contracts/core/Market/PendleMarketFactory.sol +3 -9
- package/contracts/core/RewardManager/RewardManager.sol +4 -6
- package/contracts/core/RewardManager/RewardManagerAbstract.sol +4 -4
- package/contracts/core/StandardizedYield/PYIndex.sol +7 -36
- package/contracts/core/StandardizedYield/SYBase.sol +20 -26
- package/contracts/core/StandardizedYield/SYBaseWithRewards.sol +7 -19
- package/contracts/core/StandardizedYield/SYUtils.sol +4 -5
- package/contracts/core/StandardizedYield/StEthHelper.sol +12 -16
- package/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol +14 -24
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol +126 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol +12 -20
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol +12 -20
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol +1 -5
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol +28 -44
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol +28 -47
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol +6 -10
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol +6 -10
- package/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol +13 -22
- package/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol +20 -27
- package/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol +20 -27
- package/contracts/core/StandardizedYield/implementations/Convex/README.md +4 -4
- package/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol +32 -40
- package/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol +10 -12
- package/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol +14 -18
- package/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol +32 -48
- package/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol +6 -7
- package/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol +14 -24
- package/contracts/core/StandardizedYield/implementations/GLP/README.md +15 -13
- package/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol +12 -38
- package/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol +13 -23
- package/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol +13 -23
- package/contracts/core/YieldContracts/PendleYieldToken.sol +28 -44
- package/contracts/core/YieldContractsV2/InterestManagerYTV2.sol +4 -4
- package/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol +1 -1
- package/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol +24 -38
- package/contracts/core/erc20/PendleERC20.sol +14 -44
- package/contracts/core/libraries/ArrayLib.sol +20 -9
- package/contracts/core/libraries/BaseSplitCodeFactory.sol +5 -7
- package/contracts/core/libraries/BoringOwnableUpgradeable.sol +1 -5
- package/contracts/core/libraries/Errors.sol +0 -2
- package/contracts/core/libraries/StringLib.sol +14 -20
- package/contracts/core/libraries/TokenHelper.sol +6 -31
- package/contracts/core/libraries/math/LogExpMath.sol +2 -2
- package/contracts/core/libraries/math/Math.sol +3 -15
- package/contracts/interfaces/Balancer/IComposableStable.sol +4 -14
- package/contracts/interfaces/Balancer/IMetaStablePool.sol +4 -13
- package/contracts/interfaces/Balancer/IVault.sol +4 -6
- package/contracts/interfaces/ConvexCurve/IBooster.sol +4 -16
- package/contracts/interfaces/ConvexCurve/ICrvDepositor.sol +1 -5
- package/contracts/interfaces/ConvexCurve/IRewards.sol +1 -4
- package/contracts/interfaces/Curve/ICrvPool.sol +12 -11
- package/contracts/interfaces/Curve/ITriCrvPool.sol +4 -4
- package/contracts/interfaces/GMX/IGMXVault.sol +4 -4
- package/contracts/interfaces/GMX/IRewardRouterV2.sol +4 -4
- package/contracts/interfaces/IApeStaking.sol +3 -4
- package/contracts/interfaces/IDiamondLoupe.sol +3 -1
- package/contracts/interfaces/IERC4626.sol +1 -5
- package/contracts/interfaces/IPActionAddRemoveLiq.sol +2 -15
- package/contracts/interfaces/IPActionInfoStatic.sol +43 -0
- package/contracts/interfaces/IPActionMarketAuxStatic.sol +34 -0
- package/contracts/interfaces/IPActionMarketCoreStatic.sol +335 -0
- package/contracts/interfaces/IPActionMintRedeemStatic.sol +55 -0
- package/contracts/interfaces/IPActionStorageStatic.sol +24 -0
- package/contracts/interfaces/IPActionVePendleStatic.sol +9 -0
- package/contracts/interfaces/IPBulkSellerSYCallback.sol +1 -5
- package/contracts/interfaces/IPFeeDistributor.sol +4 -3
- package/contracts/interfaces/IPGaugeController.sol +3 -9
- package/contracts/interfaces/IPInterestManagerYT.sol +3 -4
- package/contracts/interfaces/IPInterestManagerYTV2.sol +4 -6
- package/contracts/interfaces/IPMarket.sol +5 -16
- package/contracts/interfaces/IPMarketFactory.sol +3 -8
- package/contracts/interfaces/IPMarketSwapCallback.sol +1 -5
- package/contracts/interfaces/IPMiniDiamond.sol +12 -0
- package/contracts/interfaces/IPRouterStatic.sol +19 -0
- package/contracts/interfaces/IPVotingController.sol +5 -6
- package/contracts/interfaces/IPVotingEscrowMainchain.sol +8 -7
- package/contracts/interfaces/IPYieldToken.sol +4 -3
- package/contracts/interfaces/IPYieldTokenV2.sol +4 -3
- package/contracts/interfaces/IRewardManager.sol +4 -4
- package/contracts/interfaces/IStETH.sol +4 -3
- package/contracts/interfaces/IStandardizedYield.sol +10 -14
- package/contracts/interfaces/IStargateRouter.sol +1 -5
- package/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol +4 -1
- package/contracts/offchain-helpers/BulkSellerOffchain.sol +7 -11
- package/contracts/offchain-helpers/Multicall2.sol +14 -24
- package/contracts/offchain-helpers/router-static/PendleRouterStatic.sol +19 -0
- package/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol +122 -0
- package/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol +165 -0
- package/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol +780 -0
- package/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol +158 -0
- package/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol +76 -0
- package/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol +55 -0
- package/contracts/offchain-helpers/router-static/base/StorageLayout.sol +21 -0
- package/contracts/router/ActionAddRemoveLiq.sol +2 -17
- package/contracts/router/ActionSwapYT.sol +9 -3
- package/contracts/router/base/ActionBaseCallback.sol +2 -2
- package/contracts/router/base/ActionBaseMintRedeem.sol +4 -5
- package/contracts/router/base/CallbackHelper.sol +16 -27
- package/contracts/router/base/MarketApproxLib.sol +18 -82
- package/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol +4 -10
- package/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol +4 -5
- package/contracts/router/swap-aggregator/IPSwapAggregator.sol +1 -5
- package/contracts/router/swap-aggregator/PendleSwapAggregator.sol +1 -5
- package/contracts/router/swap-aggregator/kyberswap/KyberAggregationRouterHelper.sol +4 -5
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol +9 -9
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol +3 -4
- package/deployments/1-core.json +1 -1
- package/deployments/42161-core.json +1 -1
- package/package.json +5 -4
- package/typechain-types/ActionMarketCoreStatic.ts +0 -4
- package/typechain-types/ActionStorageStatic.ts +5 -3
- package/typechain-types/IPActionMarketCoreStatic.ts +0 -4
- package/typechain-types/IPActionStorageStatic.ts +5 -3
- package/typechain-types/IPRouterStatic.ts +5 -7
- package/typechain-types/{SYBaseAutoCompound.ts → PendleAuraWethAnkrethSY.ts} +335 -15
- 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 -11
- package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
- package/typechain-types/factories/ActionMisc__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageStatic__factory.ts +3 -3
- 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/AddressProvider__factory.ts +1 -1
- package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +1 -1
- package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +1 -1
- package/typechain-types/factories/Broadcaster__factory.ts +1 -1
- package/typechain-types/factories/BulkSellerFactory__factory.ts +1 -1
- package/typechain-types/factories/BulkSellerOffchain__factory.ts +1 -1
- package/typechain-types/factories/BulkSeller__factory.ts +1 -1
- package/typechain-types/factories/Errors__factory.ts +1 -1
- package/typechain-types/factories/IPActionMarketCoreStatic__factory.ts +0 -10
- package/typechain-types/factories/IPActionStorageStatic__factory.ts +2 -2
- package/typechain-types/factories/IPRouterStatic__factory.ts +2 -12
- package/typechain-types/factories/MetaStableMath__factory.ts +1 -1
- package/typechain-types/factories/MetaStablePreview__factory.ts +1 -1
- package/typechain-types/factories/Multicall2__factory.ts +1 -1
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWethAnkrethSY__factory.ts +1265 -0
- package/typechain-types/factories/PendleAuraWethRethSY__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWethWstethSY__factory.ts +1 -1
- package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -1
- package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1 -1
- package/typechain-types/factories/PendleERC20Permit__factory.ts +1 -1
- package/typechain-types/factories/PendleERC20__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleGDaiSY__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGlpSY__factory.ts +1 -1
- package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMarket__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendlePrincipalTokenV2__factory.ts +1 -1
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleSwapAggregator__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
- package/typechain-types/factories/RouterStatic__factory.ts +1 -1
- package/typechain-types/factories/SAPE__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +36 -63
- package/typechain-types/index.ts +10 -10
- package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.json +0 -87
- package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.json +0 -59
- package/build/artifacts/contracts/interfaces/IBoringOwnableUpgradeable.sol/IBoringOwnableUpgradeable.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IBoringOwnableUpgradeable.sol/IBoringOwnableUpgradeable.json +0 -34
- package/build/artifacts/contracts/interfaces/IEulerEToken.sol/IEulerEToken.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IEulerEToken.sol/IEulerEToken.json +0 -162
- package/build/artifacts/contracts/interfaces/IEulerMarkets.sol/IEulerMarkets.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IEulerMarkets.sol/IEulerMarkets.json +0 -87
- package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.json +0 -24
- package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.json +0 -24
- package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.json +0 -92
- package/build/artifacts/contracts/interfaces/ISAvax.sol/ISAvax.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/ISAvax.sol/ISAvax.json +0 -199
- package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.json +0 -168
- package/build/artifacts/contracts/interfaces/IWAvax.sol/IWAvax.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IWAvax.sol/IWAvax.json +0 -252
- package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.json +0 -132
- package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.json +0 -148
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +0 -259
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +0 -2825
- package/contracts/interfaces/IAToken.sol +0 -44
- package/contracts/interfaces/IAavePool.sol +0 -41
- package/contracts/interfaces/IAaveRewardsController.sol +0 -32
- package/contracts/interfaces/IBoringOwnableUpgradeable.sol +0 -10
- package/contracts/interfaces/IEulerEToken.sol +0 -60
- package/contracts/interfaces/IEulerMarkets.sol +0 -46
- package/contracts/interfaces/IPGovernanceManager.sol +0 -28
- package/contracts/interfaces/IPPermissionsV2Upg.sol +0 -28
- package/contracts/interfaces/IREDACTEDStaking.sol +0 -35
- package/contracts/interfaces/ISAvax.sol +0 -61
- package/contracts/interfaces/ISJoe.sol +0 -57
- package/contracts/interfaces/IWAvax.sol +0 -34
- package/contracts/interfaces/IWXBTRFLY.sol +0 -39
- package/contracts/interfaces/IYearnVault.sol +0 -46
- package/contracts/offchain-helpers/MarketMathStatic.sol +0 -572
- package/contracts/offchain-helpers/RouterStatic.sol +0 -929
- package/typechain-types/AccessControl.ts +0 -360
- package/typechain-types/ActionBaseMintRedeem.ts +0 -87
- package/typechain-types/ActionCallback.ts +0 -134
- package/typechain-types/ActionCore.ts +0 -1758
- package/typechain-types/ActionSCYAndPTBase.ts +0 -87
- package/typechain-types/ActionSCYAndPYBase.ts +0 -87
- package/typechain-types/ActionSCYAndYTBase.ts +0 -87
- package/typechain-types/ActionSwapPTYT.ts +0 -237
- package/typechain-types/ActionYT.ts +0 -509
- package/typechain-types/AggregationRouterHelper.ts +0 -392
- package/typechain-types/BaseSplitCodeFactory.ts +0 -118
- package/typechain-types/BoringOwnable.ts +0 -194
- package/typechain-types/BoringOwnableData.ts +0 -100
- package/typechain-types/BribeDistributor.ts +0 -363
- package/typechain-types/CelerReceiverUpg.ts +0 -372
- package/typechain-types/CelerSenderUpg.ts +0 -321
- package/typechain-types/Curve3CrvPoolHelper.ts +0 -236
- package/typechain-types/CurveFraxUsdcPoolHelper.ts +0 -158
- package/typechain-types/CurveUsdd3CrvPoolHelper.ts +0 -184
- package/typechain-types/DistributorBase.ts +0 -363
- package/typechain-types/ERC165.ts +0 -102
- package/typechain-types/ERC1967UpgradeUpgradeable.ts +0 -97
- package/typechain-types/EpochResultManager.ts +0 -261
- package/typechain-types/FeeDistributor.ts +0 -416
- package/typechain-types/FeeDistributorAbstract.ts +0 -240
- package/typechain-types/FeeDistributorVePendle.ts +0 -81
- package/typechain-types/FeeDistributorVoting.ts +0 -272
- package/typechain-types/FeeDistributorVotingFactory.ts +0 -293
- package/typechain-types/GMXPreviewHelper.ts +0 -121
- package/typechain-types/IAccessControl.ts +0 -305
- package/typechain-types/IAggregationRouterHelper.ts +0 -108
- package/typechain-types/IBeaconUpgradeable.ts +0 -87
- package/typechain-types/ICelerMessageBus.ts +0 -134
- package/typechain-types/ICelerMessageReceiverApp.ts +0 -120
- package/typechain-types/IERC165.ts +0 -102
- package/typechain-types/IERC1822ProxiableUpgradeable.ts +0 -87
- package/typechain-types/IERC20Upgradeable.ts +0 -300
- package/typechain-types/IKyberSwapAggregationRouterHelper.ts +0 -109
- package/typechain-types/IMetaAggregationRouter.ts +0 -213
- package/typechain-types/IMultihopRouter.ts +0 -209
- package/typechain-types/IMultihopRouterEthereum.ts +0 -209
- package/typechain-types/IPActionCore.ts +0 -1739
- package/typechain-types/IPActionSwapPTYT.ts +0 -237
- package/typechain-types/IPActionYT.ts +0 -490
- package/typechain-types/IPBatchSeller.ts +0 -234
- package/typechain-types/IPFeeDistributorFactory.ts +0 -101
- package/typechain-types/IPVotingControllerStorage.ts +0 -169
- package/typechain-types/IPVotingEscrow.ts +0 -344
- package/typechain-types/ISuperComposableYield.ts +0 -895
- package/typechain-types/ISwapAggregator.ts +0 -124
- package/typechain-types/ImplicitSwapfeeContract.ts +0 -149
- package/typechain-types/KyberSwapHelper.ts +0 -87
- package/typechain-types/OwnableUpgradeable.ts +0 -165
- package/typechain-types/Pendle3CrvAndTokenSCY.ts +0 -1215
- package/typechain-types/Pendle3CrvAndTokenSY.ts +0 -1243
- package/typechain-types/Pendle3CrvHelper.ts +0 -133
- package/typechain-types/Pendle3CrvTokenSCY.ts +0 -1150
- package/typechain-types/PendleAaveV3SCY.ts +0 -1088
- package/typechain-types/PendleApeStakingSY.ts +0 -1135
- package/typechain-types/PendleBatchSeller.ts +0 -648
- package/typechain-types/PendleConvex2TokensSY.ts +0 -1215
- package/typechain-types/PendleConvexCurveLP2PoolSCY.ts +0 -1215
- package/typechain-types/PendleConvexCurveLP3PoolSCY.ts +0 -1269
- package/typechain-types/PendleConvexCurveLP4PoolSCY.ts +0 -1288
- package/typechain-types/PendleConvexCurveLPSCY.ts +0 -1189
- package/typechain-types/PendleCvxCRVSCY.ts +0 -1104
- package/typechain-types/PendleERC4626SCY.ts +0 -950
- package/typechain-types/PendleEulerSCY.ts +0 -965
- package/typechain-types/PendleFeeDistributorAbstract.ts +0 -289
- package/typechain-types/PendleFeeDistributorFactory.ts +0 -591
- package/typechain-types/PendleFeeDistributorVoting.ts +0 -321
- package/typechain-types/PendleFeeDistributorVotingFactory.ts +0 -294
- package/typechain-types/PendleGovernanceManager.ts +0 -187
- package/typechain-types/PendleLooksStaking.ts +0 -1052
- package/typechain-types/PendleQiSAvaxSCY.ts +0 -1098
- package/typechain-types/PendleQiTokenSCY.ts +0 -1166
- package/typechain-types/PendleSAvaxSCY.ts +0 -962
- package/typechain-types/PendleSJoeSCY.ts +0 -1053
- package/typechain-types/PendleStargateSCY.ts +0 -1135
- package/typechain-types/PendleWstEthSCY.ts +0 -1040
- package/typechain-types/PendleYearnVaultSCY.ts +0 -963
- package/typechain-types/PermissionsV2Upg.ts +0 -87
- package/typechain-types/PtAMMArb.ts +0 -587
- package/typechain-types/SCYBase.ts +0 -1001
- package/typechain-types/SCYBaseWithDynamicRewards.ts +0 -1063
- package/typechain-types/SCYBaseWithRewards.ts +0 -1094
- package/typechain-types/SSTORE2DeployerContract.ts +0 -242
- package/typechain-types/StEthHelper.ts +0 -107
- package/typechain-types/SwapAggregator.ts +0 -406
- package/typechain-types/factories/AccessControl__factory.ts +0 -227
- package/typechain-types/factories/ActionBaseMintRedeem__factory.ts +0 -43
- package/typechain-types/factories/ActionCallback__factory.ts +0 -223
- package/typechain-types/factories/ActionCore__factory.ts +0 -1863
- package/typechain-types/factories/ActionSCYAndPTBase__factory.ts +0 -39
- package/typechain-types/factories/ActionSCYAndPYBase__factory.ts +0 -39
- package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +0 -39
- package/typechain-types/factories/ActionSwapPTYT__factory.ts +0 -396
- package/typechain-types/factories/ActionYT__factory.ts +0 -499
- package/typechain-types/factories/AggregationRouterHelper__factory.ts +0 -281
- package/typechain-types/factories/BaseSplitCodeFactory__factory.ts +0 -102
- package/typechain-types/factories/BoringOwnableData__factory.ts +0 -90
- package/typechain-types/factories/BoringOwnable__factory.ts +0 -141
- package/typechain-types/factories/BribeDistributor__factory.ts +0 -303
- package/typechain-types/factories/CelerReceiverUpg__factory.ts +0 -205
- package/typechain-types/factories/CelerSenderUpg__factory.ts +0 -163
- package/typechain-types/factories/Curve3CrvPoolHelper__factory.ts +0 -220
- package/typechain-types/factories/CurveFraxUsdcPoolHelper__factory.ts +0 -146
- package/typechain-types/factories/CurveUsdd3CrvPoolHelper__factory.ts +0 -172
- package/typechain-types/factories/DistributorBase__factory.ts +0 -249
- package/typechain-types/factories/ERC165__factory.ts +0 -39
- package/typechain-types/factories/ERC1967UpgradeUpgradeable__factory.ts +0 -75
- package/typechain-types/factories/EpochResultManager__factory.ts +0 -146
- package/typechain-types/factories/FeeDistributorAbstract__factory.ts +0 -127
- package/typechain-types/factories/FeeDistributorVePendle__factory.ts +0 -97
- package/typechain-types/factories/FeeDistributorVotingFactory__factory.ts +0 -211
- package/typechain-types/factories/FeeDistributorVoting__factory.ts +0 -219
- package/typechain-types/factories/FeeDistributor__factory.ts +0 -339
- package/typechain-types/factories/GMXPreviewHelper__factory.ts +0 -65
- package/typechain-types/factories/IAccessControl__factory.ts +0 -198
- package/typechain-types/factories/IAggregationRouterHelper__factory.ts +0 -54
- package/typechain-types/factories/IBeaconUpgradeable__factory.ts +0 -39
- package/typechain-types/factories/ICelerMessageBus__factory.ts +0 -68
- package/typechain-types/factories/ICelerMessageReceiverApp__factory.ts +0 -64
- package/typechain-types/factories/IERC165__factory.ts +0 -42
- package/typechain-types/factories/IERC1822ProxiableUpgradeable__factory.ts +0 -43
- package/typechain-types/factories/IERC20Upgradeable__factory.ts +0 -209
- package/typechain-types/factories/IKyberSwapAggregationRouterHelper__factory.ts +0 -56
- package/typechain-types/factories/IMetaAggregationRouter__factory.ts +0 -202
- package/typechain-types/factories/IMultihopRouterEthereum__factory.ts +0 -155
- package/typechain-types/factories/IMultihopRouter__factory.ts +0 -151
- package/typechain-types/factories/IPActionCore__factory.ts +0 -1784
- package/typechain-types/factories/IPActionSwapPTYT__factory.ts +0 -205
- package/typechain-types/factories/IPActionYT__factory.ts +0 -435
- package/typechain-types/factories/IPBatchSeller__factory.ts +0 -132
- package/typechain-types/factories/IPFeeDistributorFactory__factory.ts +0 -86
- package/typechain-types/factories/IPVotingControllerStorage__factory.ts +0 -107
- package/typechain-types/factories/IPVotingEscrow__factory.ts +0 -250
- package/typechain-types/factories/ISuperComposableYield__factory.ts +0 -662
- package/typechain-types/factories/ISwapAggregator__factory.ts +0 -66
- package/typechain-types/factories/ImplicitSwapfeeContract__factory.ts +0 -239
- package/typechain-types/factories/KyberSwapHelper__factory.ts +0 -39
- package/typechain-types/factories/OwnableUpgradeable__factory.ts +0 -78
- package/typechain-types/factories/Pendle3CrvAndTokenSCY__factory.ts +0 -1130
- package/typechain-types/factories/Pendle3CrvAndTokenSY__factory.ts +0 -1106
- package/typechain-types/factories/Pendle3CrvHelper__factory.ts +0 -129
- package/typechain-types/factories/Pendle3CrvTokenSCY__factory.ts +0 -996
- package/typechain-types/factories/PendleAaveV3SCY__factory.ts +0 -874
- package/typechain-types/factories/PendleApeStakingSY__factory.ts +0 -981
- package/typechain-types/factories/PendleBatchSeller__factory.ts +0 -480
- package/typechain-types/factories/PendleConvex2TokensSY__factory.ts +0 -1093
- package/typechain-types/factories/PendleConvexCurveLP2PoolSCY__factory.ts +0 -1125
- package/typechain-types/factories/PendleConvexCurveLP3PoolSCY__factory.ts +0 -1067
- package/typechain-types/factories/PendleConvexCurveLP4PoolSCY__factory.ts +0 -1080
- package/typechain-types/factories/PendleConvexCurveLPSCY__factory.ts +0 -967
- package/typechain-types/factories/PendleCvxCRVSCY__factory.ts +0 -910
- package/typechain-types/factories/PendleERC4626SCY__factory.ts +0 -774
- package/typechain-types/factories/PendleEulerSCY__factory.ts +0 -805
- package/typechain-types/factories/PendleFeeDistributorAbstract__factory.ts +0 -183
- package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +0 -485
- package/typechain-types/factories/PendleFeeDistributorVotingFactory__factory.ts +0 -213
- package/typechain-types/factories/PendleFeeDistributorVoting__factory.ts +0 -275
- package/typechain-types/factories/PendleGovernanceManager__factory.ts +0 -149
- package/typechain-types/factories/PendleLooksStaking__factory.ts +0 -933
- package/typechain-types/factories/PendleQiSAvaxSCY__factory.ts +0 -917
- package/typechain-types/factories/PendleQiTokenSCY__factory.ts +0 -1095
- package/typechain-types/factories/PendleSAvaxSCY__factory.ts +0 -796
- package/typechain-types/factories/PendleSJoeSCY__factory.ts +0 -845
- package/typechain-types/factories/PendleStargateSCY__factory.ts +0 -952
- package/typechain-types/factories/PendleWstEthSCY__factory.ts +0 -924
- package/typechain-types/factories/PendleYearnVaultSCY__factory.ts +0 -787
- package/typechain-types/factories/PermissionsV2Upg__factory.ts +0 -39
- package/typechain-types/factories/PtAMMArb__factory.ts +0 -525
- package/typechain-types/factories/SCYBaseWithDynamicRewards__factory.ts +0 -775
- package/typechain-types/factories/SCYBaseWithRewards__factory.ts +0 -867
- package/typechain-types/factories/SCYBase__factory.ts +0 -798
- package/typechain-types/factories/SSTORE2DeployerContract__factory.ts +0 -191
- package/typechain-types/factories/SYBaseAutoCompound__factory.ts +0 -942
- package/typechain-types/factories/StEthHelper__factory.ts +0 -62
- package/typechain-types/factories/SwapAggregator__factory.ts +0 -309
|
@@ -1,775 +0,0 @@
|
|
|
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
|
-
SCYBaseWithDynamicRewards,
|
|
9
|
-
SCYBaseWithDynamicRewardsInterface,
|
|
10
|
-
} from "../SCYBaseWithDynamicRewards";
|
|
11
|
-
|
|
12
|
-
const _abi = [
|
|
13
|
-
{
|
|
14
|
-
anonymous: false,
|
|
15
|
-
inputs: [
|
|
16
|
-
{
|
|
17
|
-
indexed: true,
|
|
18
|
-
internalType: "address",
|
|
19
|
-
name: "owner",
|
|
20
|
-
type: "address",
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
indexed: true,
|
|
24
|
-
internalType: "address",
|
|
25
|
-
name: "spender",
|
|
26
|
-
type: "address",
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
indexed: false,
|
|
30
|
-
internalType: "uint256",
|
|
31
|
-
name: "value",
|
|
32
|
-
type: "uint256",
|
|
33
|
-
},
|
|
34
|
-
],
|
|
35
|
-
name: "Approval",
|
|
36
|
-
type: "event",
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
anonymous: false,
|
|
40
|
-
inputs: [
|
|
41
|
-
{
|
|
42
|
-
indexed: true,
|
|
43
|
-
internalType: "address",
|
|
44
|
-
name: "user",
|
|
45
|
-
type: "address",
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
indexed: false,
|
|
49
|
-
internalType: "address[]",
|
|
50
|
-
name: "rewardTokens",
|
|
51
|
-
type: "address[]",
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
indexed: false,
|
|
55
|
-
internalType: "uint256[]",
|
|
56
|
-
name: "rewardAmounts",
|
|
57
|
-
type: "uint256[]",
|
|
58
|
-
},
|
|
59
|
-
],
|
|
60
|
-
name: "ClaimRewards",
|
|
61
|
-
type: "event",
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
anonymous: false,
|
|
65
|
-
inputs: [
|
|
66
|
-
{
|
|
67
|
-
indexed: true,
|
|
68
|
-
internalType: "address",
|
|
69
|
-
name: "caller",
|
|
70
|
-
type: "address",
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
indexed: true,
|
|
74
|
-
internalType: "address",
|
|
75
|
-
name: "receiver",
|
|
76
|
-
type: "address",
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
indexed: true,
|
|
80
|
-
internalType: "address",
|
|
81
|
-
name: "tokenIn",
|
|
82
|
-
type: "address",
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
indexed: false,
|
|
86
|
-
internalType: "uint256",
|
|
87
|
-
name: "amountDeposited",
|
|
88
|
-
type: "uint256",
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
indexed: false,
|
|
92
|
-
internalType: "uint256",
|
|
93
|
-
name: "amountScyOut",
|
|
94
|
-
type: "uint256",
|
|
95
|
-
},
|
|
96
|
-
],
|
|
97
|
-
name: "Deposit",
|
|
98
|
-
type: "event",
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
anonymous: false,
|
|
102
|
-
inputs: [
|
|
103
|
-
{
|
|
104
|
-
indexed: true,
|
|
105
|
-
internalType: "address",
|
|
106
|
-
name: "caller",
|
|
107
|
-
type: "address",
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
indexed: true,
|
|
111
|
-
internalType: "address",
|
|
112
|
-
name: "receiver",
|
|
113
|
-
type: "address",
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
indexed: true,
|
|
117
|
-
internalType: "address",
|
|
118
|
-
name: "tokenOut",
|
|
119
|
-
type: "address",
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
indexed: false,
|
|
123
|
-
internalType: "uint256",
|
|
124
|
-
name: "amountScyToRedeem",
|
|
125
|
-
type: "uint256",
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
indexed: false,
|
|
129
|
-
internalType: "uint256",
|
|
130
|
-
name: "amountTokenOut",
|
|
131
|
-
type: "uint256",
|
|
132
|
-
},
|
|
133
|
-
],
|
|
134
|
-
name: "Redeem",
|
|
135
|
-
type: "event",
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
anonymous: false,
|
|
139
|
-
inputs: [
|
|
140
|
-
{
|
|
141
|
-
indexed: true,
|
|
142
|
-
internalType: "address",
|
|
143
|
-
name: "from",
|
|
144
|
-
type: "address",
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
indexed: true,
|
|
148
|
-
internalType: "address",
|
|
149
|
-
name: "to",
|
|
150
|
-
type: "address",
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
indexed: false,
|
|
154
|
-
internalType: "uint256",
|
|
155
|
-
name: "value",
|
|
156
|
-
type: "uint256",
|
|
157
|
-
},
|
|
158
|
-
],
|
|
159
|
-
name: "Transfer",
|
|
160
|
-
type: "event",
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
inputs: [
|
|
164
|
-
{
|
|
165
|
-
internalType: "address",
|
|
166
|
-
name: "user",
|
|
167
|
-
type: "address",
|
|
168
|
-
},
|
|
169
|
-
],
|
|
170
|
-
name: "accruedRewards",
|
|
171
|
-
outputs: [
|
|
172
|
-
{
|
|
173
|
-
internalType: "uint256[]",
|
|
174
|
-
name: "rewardAmounts",
|
|
175
|
-
type: "uint256[]",
|
|
176
|
-
},
|
|
177
|
-
],
|
|
178
|
-
stateMutability: "view",
|
|
179
|
-
type: "function",
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
inputs: [
|
|
183
|
-
{
|
|
184
|
-
internalType: "address",
|
|
185
|
-
name: "owner",
|
|
186
|
-
type: "address",
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
internalType: "address",
|
|
190
|
-
name: "spender",
|
|
191
|
-
type: "address",
|
|
192
|
-
},
|
|
193
|
-
],
|
|
194
|
-
name: "allowance",
|
|
195
|
-
outputs: [
|
|
196
|
-
{
|
|
197
|
-
internalType: "uint256",
|
|
198
|
-
name: "",
|
|
199
|
-
type: "uint256",
|
|
200
|
-
},
|
|
201
|
-
],
|
|
202
|
-
stateMutability: "view",
|
|
203
|
-
type: "function",
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
inputs: [
|
|
207
|
-
{
|
|
208
|
-
internalType: "address",
|
|
209
|
-
name: "spender",
|
|
210
|
-
type: "address",
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
internalType: "uint256",
|
|
214
|
-
name: "amount",
|
|
215
|
-
type: "uint256",
|
|
216
|
-
},
|
|
217
|
-
],
|
|
218
|
-
name: "approve",
|
|
219
|
-
outputs: [
|
|
220
|
-
{
|
|
221
|
-
internalType: "bool",
|
|
222
|
-
name: "",
|
|
223
|
-
type: "bool",
|
|
224
|
-
},
|
|
225
|
-
],
|
|
226
|
-
stateMutability: "nonpayable",
|
|
227
|
-
type: "function",
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
inputs: [],
|
|
231
|
-
name: "assetInfo",
|
|
232
|
-
outputs: [
|
|
233
|
-
{
|
|
234
|
-
internalType: "enum ISuperComposableYield.AssetType",
|
|
235
|
-
name: "assetType",
|
|
236
|
-
type: "uint8",
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
internalType: "address",
|
|
240
|
-
name: "assetAddress",
|
|
241
|
-
type: "address",
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
internalType: "uint8",
|
|
245
|
-
name: "assetDecimals",
|
|
246
|
-
type: "uint8",
|
|
247
|
-
},
|
|
248
|
-
],
|
|
249
|
-
stateMutability: "view",
|
|
250
|
-
type: "function",
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
inputs: [
|
|
254
|
-
{
|
|
255
|
-
internalType: "address",
|
|
256
|
-
name: "account",
|
|
257
|
-
type: "address",
|
|
258
|
-
},
|
|
259
|
-
],
|
|
260
|
-
name: "balanceOf",
|
|
261
|
-
outputs: [
|
|
262
|
-
{
|
|
263
|
-
internalType: "uint256",
|
|
264
|
-
name: "",
|
|
265
|
-
type: "uint256",
|
|
266
|
-
},
|
|
267
|
-
],
|
|
268
|
-
stateMutability: "view",
|
|
269
|
-
type: "function",
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
inputs: [
|
|
273
|
-
{
|
|
274
|
-
internalType: "address",
|
|
275
|
-
name: "user",
|
|
276
|
-
type: "address",
|
|
277
|
-
},
|
|
278
|
-
],
|
|
279
|
-
name: "claimRewards",
|
|
280
|
-
outputs: [
|
|
281
|
-
{
|
|
282
|
-
internalType: "uint256[]",
|
|
283
|
-
name: "rewardAmounts",
|
|
284
|
-
type: "uint256[]",
|
|
285
|
-
},
|
|
286
|
-
],
|
|
287
|
-
stateMutability: "nonpayable",
|
|
288
|
-
type: "function",
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
inputs: [
|
|
292
|
-
{
|
|
293
|
-
internalType: "uint256",
|
|
294
|
-
name: "",
|
|
295
|
-
type: "uint256",
|
|
296
|
-
},
|
|
297
|
-
],
|
|
298
|
-
name: "currentExtraRewards",
|
|
299
|
-
outputs: [
|
|
300
|
-
{
|
|
301
|
-
internalType: "address",
|
|
302
|
-
name: "",
|
|
303
|
-
type: "address",
|
|
304
|
-
},
|
|
305
|
-
],
|
|
306
|
-
stateMutability: "view",
|
|
307
|
-
type: "function",
|
|
308
|
-
},
|
|
309
|
-
{
|
|
310
|
-
inputs: [],
|
|
311
|
-
name: "decimals",
|
|
312
|
-
outputs: [
|
|
313
|
-
{
|
|
314
|
-
internalType: "uint8",
|
|
315
|
-
name: "",
|
|
316
|
-
type: "uint8",
|
|
317
|
-
},
|
|
318
|
-
],
|
|
319
|
-
stateMutability: "view",
|
|
320
|
-
type: "function",
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
inputs: [
|
|
324
|
-
{
|
|
325
|
-
internalType: "address",
|
|
326
|
-
name: "receiver",
|
|
327
|
-
type: "address",
|
|
328
|
-
},
|
|
329
|
-
{
|
|
330
|
-
internalType: "address",
|
|
331
|
-
name: "tokenIn",
|
|
332
|
-
type: "address",
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
internalType: "uint256",
|
|
336
|
-
name: "amountTokenToDeposit",
|
|
337
|
-
type: "uint256",
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
internalType: "uint256",
|
|
341
|
-
name: "minSharesOut",
|
|
342
|
-
type: "uint256",
|
|
343
|
-
},
|
|
344
|
-
],
|
|
345
|
-
name: "deposit",
|
|
346
|
-
outputs: [
|
|
347
|
-
{
|
|
348
|
-
internalType: "uint256",
|
|
349
|
-
name: "amountSharesOut",
|
|
350
|
-
type: "uint256",
|
|
351
|
-
},
|
|
352
|
-
],
|
|
353
|
-
stateMutability: "payable",
|
|
354
|
-
type: "function",
|
|
355
|
-
},
|
|
356
|
-
{
|
|
357
|
-
inputs: [],
|
|
358
|
-
name: "exchangeRate",
|
|
359
|
-
outputs: [
|
|
360
|
-
{
|
|
361
|
-
internalType: "uint256",
|
|
362
|
-
name: "res",
|
|
363
|
-
type: "uint256",
|
|
364
|
-
},
|
|
365
|
-
],
|
|
366
|
-
stateMutability: "view",
|
|
367
|
-
type: "function",
|
|
368
|
-
},
|
|
369
|
-
{
|
|
370
|
-
inputs: [],
|
|
371
|
-
name: "getRewardTokens",
|
|
372
|
-
outputs: [
|
|
373
|
-
{
|
|
374
|
-
internalType: "address[]",
|
|
375
|
-
name: "rewardTokens",
|
|
376
|
-
type: "address[]",
|
|
377
|
-
},
|
|
378
|
-
],
|
|
379
|
-
stateMutability: "view",
|
|
380
|
-
type: "function",
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
inputs: [],
|
|
384
|
-
name: "getTokensIn",
|
|
385
|
-
outputs: [
|
|
386
|
-
{
|
|
387
|
-
internalType: "address[]",
|
|
388
|
-
name: "res",
|
|
389
|
-
type: "address[]",
|
|
390
|
-
},
|
|
391
|
-
],
|
|
392
|
-
stateMutability: "view",
|
|
393
|
-
type: "function",
|
|
394
|
-
},
|
|
395
|
-
{
|
|
396
|
-
inputs: [],
|
|
397
|
-
name: "getTokensOut",
|
|
398
|
-
outputs: [
|
|
399
|
-
{
|
|
400
|
-
internalType: "address[]",
|
|
401
|
-
name: "res",
|
|
402
|
-
type: "address[]",
|
|
403
|
-
},
|
|
404
|
-
],
|
|
405
|
-
stateMutability: "view",
|
|
406
|
-
type: "function",
|
|
407
|
-
},
|
|
408
|
-
{
|
|
409
|
-
inputs: [
|
|
410
|
-
{
|
|
411
|
-
internalType: "address",
|
|
412
|
-
name: "token",
|
|
413
|
-
type: "address",
|
|
414
|
-
},
|
|
415
|
-
],
|
|
416
|
-
name: "isValidTokenIn",
|
|
417
|
-
outputs: [
|
|
418
|
-
{
|
|
419
|
-
internalType: "bool",
|
|
420
|
-
name: "",
|
|
421
|
-
type: "bool",
|
|
422
|
-
},
|
|
423
|
-
],
|
|
424
|
-
stateMutability: "view",
|
|
425
|
-
type: "function",
|
|
426
|
-
},
|
|
427
|
-
{
|
|
428
|
-
inputs: [
|
|
429
|
-
{
|
|
430
|
-
internalType: "address",
|
|
431
|
-
name: "token",
|
|
432
|
-
type: "address",
|
|
433
|
-
},
|
|
434
|
-
],
|
|
435
|
-
name: "isValidTokenOut",
|
|
436
|
-
outputs: [
|
|
437
|
-
{
|
|
438
|
-
internalType: "bool",
|
|
439
|
-
name: "",
|
|
440
|
-
type: "bool",
|
|
441
|
-
},
|
|
442
|
-
],
|
|
443
|
-
stateMutability: "view",
|
|
444
|
-
type: "function",
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
inputs: [],
|
|
448
|
-
name: "lastRewardBlock",
|
|
449
|
-
outputs: [
|
|
450
|
-
{
|
|
451
|
-
internalType: "uint256",
|
|
452
|
-
name: "",
|
|
453
|
-
type: "uint256",
|
|
454
|
-
},
|
|
455
|
-
],
|
|
456
|
-
stateMutability: "view",
|
|
457
|
-
type: "function",
|
|
458
|
-
},
|
|
459
|
-
{
|
|
460
|
-
inputs: [],
|
|
461
|
-
name: "name",
|
|
462
|
-
outputs: [
|
|
463
|
-
{
|
|
464
|
-
internalType: "string",
|
|
465
|
-
name: "",
|
|
466
|
-
type: "string",
|
|
467
|
-
},
|
|
468
|
-
],
|
|
469
|
-
stateMutability: "view",
|
|
470
|
-
type: "function",
|
|
471
|
-
},
|
|
472
|
-
{
|
|
473
|
-
inputs: [
|
|
474
|
-
{
|
|
475
|
-
internalType: "address",
|
|
476
|
-
name: "tokenIn",
|
|
477
|
-
type: "address",
|
|
478
|
-
},
|
|
479
|
-
{
|
|
480
|
-
internalType: "uint256",
|
|
481
|
-
name: "amountTokenToDeposit",
|
|
482
|
-
type: "uint256",
|
|
483
|
-
},
|
|
484
|
-
],
|
|
485
|
-
name: "previewDeposit",
|
|
486
|
-
outputs: [
|
|
487
|
-
{
|
|
488
|
-
internalType: "uint256",
|
|
489
|
-
name: "amountSharesOut",
|
|
490
|
-
type: "uint256",
|
|
491
|
-
},
|
|
492
|
-
],
|
|
493
|
-
stateMutability: "view",
|
|
494
|
-
type: "function",
|
|
495
|
-
},
|
|
496
|
-
{
|
|
497
|
-
inputs: [
|
|
498
|
-
{
|
|
499
|
-
internalType: "address",
|
|
500
|
-
name: "tokenOut",
|
|
501
|
-
type: "address",
|
|
502
|
-
},
|
|
503
|
-
{
|
|
504
|
-
internalType: "uint256",
|
|
505
|
-
name: "amountSharesToRedeem",
|
|
506
|
-
type: "uint256",
|
|
507
|
-
},
|
|
508
|
-
],
|
|
509
|
-
name: "previewRedeem",
|
|
510
|
-
outputs: [
|
|
511
|
-
{
|
|
512
|
-
internalType: "uint256",
|
|
513
|
-
name: "amountTokenOut",
|
|
514
|
-
type: "uint256",
|
|
515
|
-
},
|
|
516
|
-
],
|
|
517
|
-
stateMutability: "view",
|
|
518
|
-
type: "function",
|
|
519
|
-
},
|
|
520
|
-
{
|
|
521
|
-
inputs: [
|
|
522
|
-
{
|
|
523
|
-
internalType: "address",
|
|
524
|
-
name: "receiver",
|
|
525
|
-
type: "address",
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
internalType: "uint256",
|
|
529
|
-
name: "amountSharesToRedeem",
|
|
530
|
-
type: "uint256",
|
|
531
|
-
},
|
|
532
|
-
{
|
|
533
|
-
internalType: "address",
|
|
534
|
-
name: "tokenOut",
|
|
535
|
-
type: "address",
|
|
536
|
-
},
|
|
537
|
-
{
|
|
538
|
-
internalType: "uint256",
|
|
539
|
-
name: "minTokenOut",
|
|
540
|
-
type: "uint256",
|
|
541
|
-
},
|
|
542
|
-
],
|
|
543
|
-
name: "redeem",
|
|
544
|
-
outputs: [
|
|
545
|
-
{
|
|
546
|
-
internalType: "uint256",
|
|
547
|
-
name: "amountTokenOut",
|
|
548
|
-
type: "uint256",
|
|
549
|
-
},
|
|
550
|
-
],
|
|
551
|
-
stateMutability: "nonpayable",
|
|
552
|
-
type: "function",
|
|
553
|
-
},
|
|
554
|
-
{
|
|
555
|
-
inputs: [
|
|
556
|
-
{
|
|
557
|
-
internalType: "address",
|
|
558
|
-
name: "receiver",
|
|
559
|
-
type: "address",
|
|
560
|
-
},
|
|
561
|
-
{
|
|
562
|
-
internalType: "address",
|
|
563
|
-
name: "tokenOut",
|
|
564
|
-
type: "address",
|
|
565
|
-
},
|
|
566
|
-
{
|
|
567
|
-
internalType: "uint256",
|
|
568
|
-
name: "minTokenOut",
|
|
569
|
-
type: "uint256",
|
|
570
|
-
},
|
|
571
|
-
],
|
|
572
|
-
name: "redeemAfterTransfer",
|
|
573
|
-
outputs: [
|
|
574
|
-
{
|
|
575
|
-
internalType: "uint256",
|
|
576
|
-
name: "amountTokenOut",
|
|
577
|
-
type: "uint256",
|
|
578
|
-
},
|
|
579
|
-
],
|
|
580
|
-
stateMutability: "nonpayable",
|
|
581
|
-
type: "function",
|
|
582
|
-
},
|
|
583
|
-
{
|
|
584
|
-
inputs: [],
|
|
585
|
-
name: "rewardIndexesCurrent",
|
|
586
|
-
outputs: [
|
|
587
|
-
{
|
|
588
|
-
internalType: "uint256[]",
|
|
589
|
-
name: "indexes",
|
|
590
|
-
type: "uint256[]",
|
|
591
|
-
},
|
|
592
|
-
],
|
|
593
|
-
stateMutability: "nonpayable",
|
|
594
|
-
type: "function",
|
|
595
|
-
},
|
|
596
|
-
{
|
|
597
|
-
inputs: [],
|
|
598
|
-
name: "rewardIndexesStored",
|
|
599
|
-
outputs: [
|
|
600
|
-
{
|
|
601
|
-
internalType: "uint256[]",
|
|
602
|
-
name: "indexes",
|
|
603
|
-
type: "uint256[]",
|
|
604
|
-
},
|
|
605
|
-
],
|
|
606
|
-
stateMutability: "view",
|
|
607
|
-
type: "function",
|
|
608
|
-
},
|
|
609
|
-
{
|
|
610
|
-
inputs: [
|
|
611
|
-
{
|
|
612
|
-
internalType: "address",
|
|
613
|
-
name: "",
|
|
614
|
-
type: "address",
|
|
615
|
-
},
|
|
616
|
-
],
|
|
617
|
-
name: "rewardState",
|
|
618
|
-
outputs: [
|
|
619
|
-
{
|
|
620
|
-
internalType: "uint128",
|
|
621
|
-
name: "index",
|
|
622
|
-
type: "uint128",
|
|
623
|
-
},
|
|
624
|
-
{
|
|
625
|
-
internalType: "uint128",
|
|
626
|
-
name: "lastBalance",
|
|
627
|
-
type: "uint128",
|
|
628
|
-
},
|
|
629
|
-
],
|
|
630
|
-
stateMutability: "view",
|
|
631
|
-
type: "function",
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
inputs: [],
|
|
635
|
-
name: "symbol",
|
|
636
|
-
outputs: [
|
|
637
|
-
{
|
|
638
|
-
internalType: "string",
|
|
639
|
-
name: "",
|
|
640
|
-
type: "string",
|
|
641
|
-
},
|
|
642
|
-
],
|
|
643
|
-
stateMutability: "view",
|
|
644
|
-
type: "function",
|
|
645
|
-
},
|
|
646
|
-
{
|
|
647
|
-
inputs: [],
|
|
648
|
-
name: "totalSupply",
|
|
649
|
-
outputs: [
|
|
650
|
-
{
|
|
651
|
-
internalType: "uint256",
|
|
652
|
-
name: "",
|
|
653
|
-
type: "uint256",
|
|
654
|
-
},
|
|
655
|
-
],
|
|
656
|
-
stateMutability: "view",
|
|
657
|
-
type: "function",
|
|
658
|
-
},
|
|
659
|
-
{
|
|
660
|
-
inputs: [
|
|
661
|
-
{
|
|
662
|
-
internalType: "address",
|
|
663
|
-
name: "to",
|
|
664
|
-
type: "address",
|
|
665
|
-
},
|
|
666
|
-
{
|
|
667
|
-
internalType: "uint256",
|
|
668
|
-
name: "amount",
|
|
669
|
-
type: "uint256",
|
|
670
|
-
},
|
|
671
|
-
],
|
|
672
|
-
name: "transfer",
|
|
673
|
-
outputs: [
|
|
674
|
-
{
|
|
675
|
-
internalType: "bool",
|
|
676
|
-
name: "",
|
|
677
|
-
type: "bool",
|
|
678
|
-
},
|
|
679
|
-
],
|
|
680
|
-
stateMutability: "nonpayable",
|
|
681
|
-
type: "function",
|
|
682
|
-
},
|
|
683
|
-
{
|
|
684
|
-
inputs: [
|
|
685
|
-
{
|
|
686
|
-
internalType: "address",
|
|
687
|
-
name: "from",
|
|
688
|
-
type: "address",
|
|
689
|
-
},
|
|
690
|
-
{
|
|
691
|
-
internalType: "address",
|
|
692
|
-
name: "to",
|
|
693
|
-
type: "address",
|
|
694
|
-
},
|
|
695
|
-
{
|
|
696
|
-
internalType: "uint256",
|
|
697
|
-
name: "amount",
|
|
698
|
-
type: "uint256",
|
|
699
|
-
},
|
|
700
|
-
],
|
|
701
|
-
name: "transferFrom",
|
|
702
|
-
outputs: [
|
|
703
|
-
{
|
|
704
|
-
internalType: "bool",
|
|
705
|
-
name: "",
|
|
706
|
-
type: "bool",
|
|
707
|
-
},
|
|
708
|
-
],
|
|
709
|
-
stateMutability: "nonpayable",
|
|
710
|
-
type: "function",
|
|
711
|
-
},
|
|
712
|
-
{
|
|
713
|
-
inputs: [
|
|
714
|
-
{
|
|
715
|
-
internalType: "address",
|
|
716
|
-
name: "",
|
|
717
|
-
type: "address",
|
|
718
|
-
},
|
|
719
|
-
{
|
|
720
|
-
internalType: "address",
|
|
721
|
-
name: "",
|
|
722
|
-
type: "address",
|
|
723
|
-
},
|
|
724
|
-
],
|
|
725
|
-
name: "userReward",
|
|
726
|
-
outputs: [
|
|
727
|
-
{
|
|
728
|
-
internalType: "uint128",
|
|
729
|
-
name: "index",
|
|
730
|
-
type: "uint128",
|
|
731
|
-
},
|
|
732
|
-
{
|
|
733
|
-
internalType: "uint128",
|
|
734
|
-
name: "accrued",
|
|
735
|
-
type: "uint128",
|
|
736
|
-
},
|
|
737
|
-
],
|
|
738
|
-
stateMutability: "view",
|
|
739
|
-
type: "function",
|
|
740
|
-
},
|
|
741
|
-
{
|
|
742
|
-
inputs: [],
|
|
743
|
-
name: "yieldToken",
|
|
744
|
-
outputs: [
|
|
745
|
-
{
|
|
746
|
-
internalType: "address",
|
|
747
|
-
name: "",
|
|
748
|
-
type: "address",
|
|
749
|
-
},
|
|
750
|
-
],
|
|
751
|
-
stateMutability: "view",
|
|
752
|
-
type: "function",
|
|
753
|
-
},
|
|
754
|
-
{
|
|
755
|
-
stateMutability: "payable",
|
|
756
|
-
type: "receive",
|
|
757
|
-
},
|
|
758
|
-
];
|
|
759
|
-
|
|
760
|
-
export class SCYBaseWithDynamicRewards__factory {
|
|
761
|
-
static readonly abi = _abi;
|
|
762
|
-
static createInterface(): SCYBaseWithDynamicRewardsInterface {
|
|
763
|
-
return new utils.Interface(_abi) as SCYBaseWithDynamicRewardsInterface;
|
|
764
|
-
}
|
|
765
|
-
static connect(
|
|
766
|
-
address: string,
|
|
767
|
-
signerOrProvider: Signer | Provider
|
|
768
|
-
): SCYBaseWithDynamicRewards {
|
|
769
|
-
return new Contract(
|
|
770
|
-
address,
|
|
771
|
-
_abi,
|
|
772
|
-
signerOrProvider
|
|
773
|
-
) as SCYBaseWithDynamicRewards;
|
|
774
|
-
}
|
|
775
|
-
}
|