@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,1093 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import {
|
|
5
|
+
Signer,
|
|
6
|
+
utils,
|
|
7
|
+
Contract,
|
|
8
|
+
ContractFactory,
|
|
9
|
+
Overrides,
|
|
10
|
+
BigNumberish,
|
|
11
|
+
} from "ethers";
|
|
12
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
13
|
+
import type {
|
|
14
|
+
PendleConvex2TokensSY,
|
|
15
|
+
PendleConvex2TokensSYInterface,
|
|
16
|
+
} from "../PendleConvex2TokensSY";
|
|
17
|
+
|
|
18
|
+
const _abi = [
|
|
19
|
+
{
|
|
20
|
+
inputs: [
|
|
21
|
+
{
|
|
22
|
+
internalType: "string",
|
|
23
|
+
name: "_name",
|
|
24
|
+
type: "string",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
internalType: "string",
|
|
28
|
+
name: "_symbol",
|
|
29
|
+
type: "string",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
internalType: "uint256",
|
|
33
|
+
name: "_cvxPid",
|
|
34
|
+
type: "uint256",
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
internalType: "address",
|
|
38
|
+
name: "_crvLp",
|
|
39
|
+
type: "address",
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
internalType: "address",
|
|
43
|
+
name: "_crvPool",
|
|
44
|
+
type: "address",
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
stateMutability: "nonpayable",
|
|
48
|
+
type: "constructor",
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
inputs: [],
|
|
52
|
+
name: "SYCurveInvalidPid",
|
|
53
|
+
type: "error",
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
inputs: [
|
|
57
|
+
{
|
|
58
|
+
internalType: "uint256",
|
|
59
|
+
name: "actualSharesOut",
|
|
60
|
+
type: "uint256",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
internalType: "uint256",
|
|
64
|
+
name: "requiredSharesOut",
|
|
65
|
+
type: "uint256",
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
name: "SYInsufficientSharesOut",
|
|
69
|
+
type: "error",
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
inputs: [
|
|
73
|
+
{
|
|
74
|
+
internalType: "uint256",
|
|
75
|
+
name: "actualTokenOut",
|
|
76
|
+
type: "uint256",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
internalType: "uint256",
|
|
80
|
+
name: "requiredTokenOut",
|
|
81
|
+
type: "uint256",
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
name: "SYInsufficientTokenOut",
|
|
85
|
+
type: "error",
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
inputs: [
|
|
89
|
+
{
|
|
90
|
+
internalType: "address",
|
|
91
|
+
name: "token",
|
|
92
|
+
type: "address",
|
|
93
|
+
},
|
|
94
|
+
],
|
|
95
|
+
name: "SYInvalidTokenIn",
|
|
96
|
+
type: "error",
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
inputs: [
|
|
100
|
+
{
|
|
101
|
+
internalType: "address",
|
|
102
|
+
name: "token",
|
|
103
|
+
type: "address",
|
|
104
|
+
},
|
|
105
|
+
],
|
|
106
|
+
name: "SYInvalidTokenOut",
|
|
107
|
+
type: "error",
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
inputs: [],
|
|
111
|
+
name: "SYZeroDeposit",
|
|
112
|
+
type: "error",
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
inputs: [],
|
|
116
|
+
name: "SYZeroRedeem",
|
|
117
|
+
type: "error",
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
anonymous: false,
|
|
121
|
+
inputs: [
|
|
122
|
+
{
|
|
123
|
+
indexed: true,
|
|
124
|
+
internalType: "address",
|
|
125
|
+
name: "owner",
|
|
126
|
+
type: "address",
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
indexed: true,
|
|
130
|
+
internalType: "address",
|
|
131
|
+
name: "spender",
|
|
132
|
+
type: "address",
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
indexed: false,
|
|
136
|
+
internalType: "uint256",
|
|
137
|
+
name: "value",
|
|
138
|
+
type: "uint256",
|
|
139
|
+
},
|
|
140
|
+
],
|
|
141
|
+
name: "Approval",
|
|
142
|
+
type: "event",
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
anonymous: false,
|
|
146
|
+
inputs: [
|
|
147
|
+
{
|
|
148
|
+
indexed: true,
|
|
149
|
+
internalType: "address",
|
|
150
|
+
name: "user",
|
|
151
|
+
type: "address",
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
indexed: false,
|
|
155
|
+
internalType: "address[]",
|
|
156
|
+
name: "rewardTokens",
|
|
157
|
+
type: "address[]",
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
indexed: false,
|
|
161
|
+
internalType: "uint256[]",
|
|
162
|
+
name: "rewardAmounts",
|
|
163
|
+
type: "uint256[]",
|
|
164
|
+
},
|
|
165
|
+
],
|
|
166
|
+
name: "ClaimRewards",
|
|
167
|
+
type: "event",
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
anonymous: false,
|
|
171
|
+
inputs: [
|
|
172
|
+
{
|
|
173
|
+
indexed: true,
|
|
174
|
+
internalType: "address",
|
|
175
|
+
name: "caller",
|
|
176
|
+
type: "address",
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
indexed: true,
|
|
180
|
+
internalType: "address",
|
|
181
|
+
name: "receiver",
|
|
182
|
+
type: "address",
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
indexed: true,
|
|
186
|
+
internalType: "address",
|
|
187
|
+
name: "tokenIn",
|
|
188
|
+
type: "address",
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
indexed: false,
|
|
192
|
+
internalType: "uint256",
|
|
193
|
+
name: "amountDeposited",
|
|
194
|
+
type: "uint256",
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
indexed: false,
|
|
198
|
+
internalType: "uint256",
|
|
199
|
+
name: "amountSyOut",
|
|
200
|
+
type: "uint256",
|
|
201
|
+
},
|
|
202
|
+
],
|
|
203
|
+
name: "Deposit",
|
|
204
|
+
type: "event",
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
anonymous: false,
|
|
208
|
+
inputs: [
|
|
209
|
+
{
|
|
210
|
+
indexed: true,
|
|
211
|
+
internalType: "address",
|
|
212
|
+
name: "caller",
|
|
213
|
+
type: "address",
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
indexed: true,
|
|
217
|
+
internalType: "address",
|
|
218
|
+
name: "receiver",
|
|
219
|
+
type: "address",
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
indexed: true,
|
|
223
|
+
internalType: "address",
|
|
224
|
+
name: "tokenOut",
|
|
225
|
+
type: "address",
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
indexed: false,
|
|
229
|
+
internalType: "uint256",
|
|
230
|
+
name: "amountSyToRedeem",
|
|
231
|
+
type: "uint256",
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
indexed: false,
|
|
235
|
+
internalType: "uint256",
|
|
236
|
+
name: "amountTokenOut",
|
|
237
|
+
type: "uint256",
|
|
238
|
+
},
|
|
239
|
+
],
|
|
240
|
+
name: "Redeem",
|
|
241
|
+
type: "event",
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
anonymous: false,
|
|
245
|
+
inputs: [
|
|
246
|
+
{
|
|
247
|
+
indexed: true,
|
|
248
|
+
internalType: "address",
|
|
249
|
+
name: "from",
|
|
250
|
+
type: "address",
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
indexed: true,
|
|
254
|
+
internalType: "address",
|
|
255
|
+
name: "to",
|
|
256
|
+
type: "address",
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
indexed: false,
|
|
260
|
+
internalType: "uint256",
|
|
261
|
+
name: "value",
|
|
262
|
+
type: "uint256",
|
|
263
|
+
},
|
|
264
|
+
],
|
|
265
|
+
name: "Transfer",
|
|
266
|
+
type: "event",
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
inputs: [],
|
|
270
|
+
name: "BOOSTER",
|
|
271
|
+
outputs: [
|
|
272
|
+
{
|
|
273
|
+
internalType: "address",
|
|
274
|
+
name: "",
|
|
275
|
+
type: "address",
|
|
276
|
+
},
|
|
277
|
+
],
|
|
278
|
+
stateMutability: "view",
|
|
279
|
+
type: "function",
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
inputs: [],
|
|
283
|
+
name: "CRV",
|
|
284
|
+
outputs: [
|
|
285
|
+
{
|
|
286
|
+
internalType: "address",
|
|
287
|
+
name: "",
|
|
288
|
+
type: "address",
|
|
289
|
+
},
|
|
290
|
+
],
|
|
291
|
+
stateMutability: "view",
|
|
292
|
+
type: "function",
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
inputs: [],
|
|
296
|
+
name: "CVX",
|
|
297
|
+
outputs: [
|
|
298
|
+
{
|
|
299
|
+
internalType: "address",
|
|
300
|
+
name: "",
|
|
301
|
+
type: "address",
|
|
302
|
+
},
|
|
303
|
+
],
|
|
304
|
+
stateMutability: "view",
|
|
305
|
+
type: "function",
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
inputs: [],
|
|
309
|
+
name: "DOMAIN_SEPARATOR",
|
|
310
|
+
outputs: [
|
|
311
|
+
{
|
|
312
|
+
internalType: "bytes32",
|
|
313
|
+
name: "",
|
|
314
|
+
type: "bytes32",
|
|
315
|
+
},
|
|
316
|
+
],
|
|
317
|
+
stateMutability: "view",
|
|
318
|
+
type: "function",
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
inputs: [
|
|
322
|
+
{
|
|
323
|
+
internalType: "address",
|
|
324
|
+
name: "user",
|
|
325
|
+
type: "address",
|
|
326
|
+
},
|
|
327
|
+
],
|
|
328
|
+
name: "accruedRewards",
|
|
329
|
+
outputs: [
|
|
330
|
+
{
|
|
331
|
+
internalType: "uint256[]",
|
|
332
|
+
name: "rewardAmounts",
|
|
333
|
+
type: "uint256[]",
|
|
334
|
+
},
|
|
335
|
+
],
|
|
336
|
+
stateMutability: "view",
|
|
337
|
+
type: "function",
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
inputs: [
|
|
341
|
+
{
|
|
342
|
+
internalType: "address",
|
|
343
|
+
name: "owner",
|
|
344
|
+
type: "address",
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
internalType: "address",
|
|
348
|
+
name: "spender",
|
|
349
|
+
type: "address",
|
|
350
|
+
},
|
|
351
|
+
],
|
|
352
|
+
name: "allowance",
|
|
353
|
+
outputs: [
|
|
354
|
+
{
|
|
355
|
+
internalType: "uint256",
|
|
356
|
+
name: "",
|
|
357
|
+
type: "uint256",
|
|
358
|
+
},
|
|
359
|
+
],
|
|
360
|
+
stateMutability: "view",
|
|
361
|
+
type: "function",
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
inputs: [
|
|
365
|
+
{
|
|
366
|
+
internalType: "address",
|
|
367
|
+
name: "spender",
|
|
368
|
+
type: "address",
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
internalType: "uint256",
|
|
372
|
+
name: "amount",
|
|
373
|
+
type: "uint256",
|
|
374
|
+
},
|
|
375
|
+
],
|
|
376
|
+
name: "approve",
|
|
377
|
+
outputs: [
|
|
378
|
+
{
|
|
379
|
+
internalType: "bool",
|
|
380
|
+
name: "",
|
|
381
|
+
type: "bool",
|
|
382
|
+
},
|
|
383
|
+
],
|
|
384
|
+
stateMutability: "nonpayable",
|
|
385
|
+
type: "function",
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
inputs: [],
|
|
389
|
+
name: "assetInfo",
|
|
390
|
+
outputs: [
|
|
391
|
+
{
|
|
392
|
+
internalType: "enum IStandardizedYield.AssetType",
|
|
393
|
+
name: "assetType",
|
|
394
|
+
type: "uint8",
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
internalType: "address",
|
|
398
|
+
name: "assetAddress",
|
|
399
|
+
type: "address",
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
internalType: "uint8",
|
|
403
|
+
name: "assetDecimals",
|
|
404
|
+
type: "uint8",
|
|
405
|
+
},
|
|
406
|
+
],
|
|
407
|
+
stateMutability: "view",
|
|
408
|
+
type: "function",
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
inputs: [
|
|
412
|
+
{
|
|
413
|
+
internalType: "address",
|
|
414
|
+
name: "account",
|
|
415
|
+
type: "address",
|
|
416
|
+
},
|
|
417
|
+
],
|
|
418
|
+
name: "balanceOf",
|
|
419
|
+
outputs: [
|
|
420
|
+
{
|
|
421
|
+
internalType: "uint256",
|
|
422
|
+
name: "",
|
|
423
|
+
type: "uint256",
|
|
424
|
+
},
|
|
425
|
+
],
|
|
426
|
+
stateMutability: "view",
|
|
427
|
+
type: "function",
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
inputs: [
|
|
431
|
+
{
|
|
432
|
+
internalType: "address",
|
|
433
|
+
name: "user",
|
|
434
|
+
type: "address",
|
|
435
|
+
},
|
|
436
|
+
],
|
|
437
|
+
name: "claimRewards",
|
|
438
|
+
outputs: [
|
|
439
|
+
{
|
|
440
|
+
internalType: "uint256[]",
|
|
441
|
+
name: "rewardAmounts",
|
|
442
|
+
type: "uint256[]",
|
|
443
|
+
},
|
|
444
|
+
],
|
|
445
|
+
stateMutability: "nonpayable",
|
|
446
|
+
type: "function",
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
inputs: [],
|
|
450
|
+
name: "crvLp",
|
|
451
|
+
outputs: [
|
|
452
|
+
{
|
|
453
|
+
internalType: "address",
|
|
454
|
+
name: "",
|
|
455
|
+
type: "address",
|
|
456
|
+
},
|
|
457
|
+
],
|
|
458
|
+
stateMutability: "view",
|
|
459
|
+
type: "function",
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
inputs: [],
|
|
463
|
+
name: "crvPool",
|
|
464
|
+
outputs: [
|
|
465
|
+
{
|
|
466
|
+
internalType: "address",
|
|
467
|
+
name: "",
|
|
468
|
+
type: "address",
|
|
469
|
+
},
|
|
470
|
+
],
|
|
471
|
+
stateMutability: "view",
|
|
472
|
+
type: "function",
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
inputs: [],
|
|
476
|
+
name: "cvxPid",
|
|
477
|
+
outputs: [
|
|
478
|
+
{
|
|
479
|
+
internalType: "uint256",
|
|
480
|
+
name: "",
|
|
481
|
+
type: "uint256",
|
|
482
|
+
},
|
|
483
|
+
],
|
|
484
|
+
stateMutability: "view",
|
|
485
|
+
type: "function",
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
inputs: [],
|
|
489
|
+
name: "cvxRewardManager",
|
|
490
|
+
outputs: [
|
|
491
|
+
{
|
|
492
|
+
internalType: "address",
|
|
493
|
+
name: "",
|
|
494
|
+
type: "address",
|
|
495
|
+
},
|
|
496
|
+
],
|
|
497
|
+
stateMutability: "view",
|
|
498
|
+
type: "function",
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
inputs: [],
|
|
502
|
+
name: "decimals",
|
|
503
|
+
outputs: [
|
|
504
|
+
{
|
|
505
|
+
internalType: "uint8",
|
|
506
|
+
name: "",
|
|
507
|
+
type: "uint8",
|
|
508
|
+
},
|
|
509
|
+
],
|
|
510
|
+
stateMutability: "view",
|
|
511
|
+
type: "function",
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
inputs: [
|
|
515
|
+
{
|
|
516
|
+
internalType: "address",
|
|
517
|
+
name: "receiver",
|
|
518
|
+
type: "address",
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
internalType: "address",
|
|
522
|
+
name: "tokenIn",
|
|
523
|
+
type: "address",
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
internalType: "uint256",
|
|
527
|
+
name: "amountTokenToDeposit",
|
|
528
|
+
type: "uint256",
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
internalType: "uint256",
|
|
532
|
+
name: "minSharesOut",
|
|
533
|
+
type: "uint256",
|
|
534
|
+
},
|
|
535
|
+
],
|
|
536
|
+
name: "deposit",
|
|
537
|
+
outputs: [
|
|
538
|
+
{
|
|
539
|
+
internalType: "uint256",
|
|
540
|
+
name: "amountSharesOut",
|
|
541
|
+
type: "uint256",
|
|
542
|
+
},
|
|
543
|
+
],
|
|
544
|
+
stateMutability: "payable",
|
|
545
|
+
type: "function",
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
inputs: [],
|
|
549
|
+
name: "exchangeRate",
|
|
550
|
+
outputs: [
|
|
551
|
+
{
|
|
552
|
+
internalType: "uint256",
|
|
553
|
+
name: "",
|
|
554
|
+
type: "uint256",
|
|
555
|
+
},
|
|
556
|
+
],
|
|
557
|
+
stateMutability: "view",
|
|
558
|
+
type: "function",
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
inputs: [],
|
|
562
|
+
name: "getRewardTokens",
|
|
563
|
+
outputs: [
|
|
564
|
+
{
|
|
565
|
+
internalType: "address[]",
|
|
566
|
+
name: "rewardTokens",
|
|
567
|
+
type: "address[]",
|
|
568
|
+
},
|
|
569
|
+
],
|
|
570
|
+
stateMutability: "view",
|
|
571
|
+
type: "function",
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
inputs: [],
|
|
575
|
+
name: "getTokensIn",
|
|
576
|
+
outputs: [
|
|
577
|
+
{
|
|
578
|
+
internalType: "address[]",
|
|
579
|
+
name: "res",
|
|
580
|
+
type: "address[]",
|
|
581
|
+
},
|
|
582
|
+
],
|
|
583
|
+
stateMutability: "view",
|
|
584
|
+
type: "function",
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
inputs: [],
|
|
588
|
+
name: "getTokensOut",
|
|
589
|
+
outputs: [
|
|
590
|
+
{
|
|
591
|
+
internalType: "address[]",
|
|
592
|
+
name: "res",
|
|
593
|
+
type: "address[]",
|
|
594
|
+
},
|
|
595
|
+
],
|
|
596
|
+
stateMutability: "view",
|
|
597
|
+
type: "function",
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
inputs: [
|
|
601
|
+
{
|
|
602
|
+
internalType: "address",
|
|
603
|
+
name: "token",
|
|
604
|
+
type: "address",
|
|
605
|
+
},
|
|
606
|
+
],
|
|
607
|
+
name: "isValidTokenIn",
|
|
608
|
+
outputs: [
|
|
609
|
+
{
|
|
610
|
+
internalType: "bool",
|
|
611
|
+
name: "res",
|
|
612
|
+
type: "bool",
|
|
613
|
+
},
|
|
614
|
+
],
|
|
615
|
+
stateMutability: "view",
|
|
616
|
+
type: "function",
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
inputs: [
|
|
620
|
+
{
|
|
621
|
+
internalType: "address",
|
|
622
|
+
name: "token",
|
|
623
|
+
type: "address",
|
|
624
|
+
},
|
|
625
|
+
],
|
|
626
|
+
name: "isValidTokenOut",
|
|
627
|
+
outputs: [
|
|
628
|
+
{
|
|
629
|
+
internalType: "bool",
|
|
630
|
+
name: "res",
|
|
631
|
+
type: "bool",
|
|
632
|
+
},
|
|
633
|
+
],
|
|
634
|
+
stateMutability: "view",
|
|
635
|
+
type: "function",
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
inputs: [],
|
|
639
|
+
name: "lastRewardBlock",
|
|
640
|
+
outputs: [
|
|
641
|
+
{
|
|
642
|
+
internalType: "uint256",
|
|
643
|
+
name: "",
|
|
644
|
+
type: "uint256",
|
|
645
|
+
},
|
|
646
|
+
],
|
|
647
|
+
stateMutability: "view",
|
|
648
|
+
type: "function",
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
inputs: [],
|
|
652
|
+
name: "name",
|
|
653
|
+
outputs: [
|
|
654
|
+
{
|
|
655
|
+
internalType: "string",
|
|
656
|
+
name: "",
|
|
657
|
+
type: "string",
|
|
658
|
+
},
|
|
659
|
+
],
|
|
660
|
+
stateMutability: "view",
|
|
661
|
+
type: "function",
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
inputs: [
|
|
665
|
+
{
|
|
666
|
+
internalType: "address",
|
|
667
|
+
name: "owner",
|
|
668
|
+
type: "address",
|
|
669
|
+
},
|
|
670
|
+
],
|
|
671
|
+
name: "nonces",
|
|
672
|
+
outputs: [
|
|
673
|
+
{
|
|
674
|
+
internalType: "uint256",
|
|
675
|
+
name: "",
|
|
676
|
+
type: "uint256",
|
|
677
|
+
},
|
|
678
|
+
],
|
|
679
|
+
stateMutability: "view",
|
|
680
|
+
type: "function",
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
inputs: [
|
|
684
|
+
{
|
|
685
|
+
internalType: "address",
|
|
686
|
+
name: "owner",
|
|
687
|
+
type: "address",
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
internalType: "address",
|
|
691
|
+
name: "spender",
|
|
692
|
+
type: "address",
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
internalType: "uint256",
|
|
696
|
+
name: "value",
|
|
697
|
+
type: "uint256",
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
internalType: "uint256",
|
|
701
|
+
name: "deadline",
|
|
702
|
+
type: "uint256",
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
internalType: "uint8",
|
|
706
|
+
name: "v",
|
|
707
|
+
type: "uint8",
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
internalType: "bytes32",
|
|
711
|
+
name: "r",
|
|
712
|
+
type: "bytes32",
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
internalType: "bytes32",
|
|
716
|
+
name: "s",
|
|
717
|
+
type: "bytes32",
|
|
718
|
+
},
|
|
719
|
+
],
|
|
720
|
+
name: "permit",
|
|
721
|
+
outputs: [],
|
|
722
|
+
stateMutability: "nonpayable",
|
|
723
|
+
type: "function",
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
inputs: [
|
|
727
|
+
{
|
|
728
|
+
internalType: "address",
|
|
729
|
+
name: "tokenIn",
|
|
730
|
+
type: "address",
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
internalType: "uint256",
|
|
734
|
+
name: "amountTokenToDeposit",
|
|
735
|
+
type: "uint256",
|
|
736
|
+
},
|
|
737
|
+
],
|
|
738
|
+
name: "previewDeposit",
|
|
739
|
+
outputs: [
|
|
740
|
+
{
|
|
741
|
+
internalType: "uint256",
|
|
742
|
+
name: "amountSharesOut",
|
|
743
|
+
type: "uint256",
|
|
744
|
+
},
|
|
745
|
+
],
|
|
746
|
+
stateMutability: "view",
|
|
747
|
+
type: "function",
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
inputs: [
|
|
751
|
+
{
|
|
752
|
+
internalType: "address",
|
|
753
|
+
name: "tokenOut",
|
|
754
|
+
type: "address",
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
internalType: "uint256",
|
|
758
|
+
name: "amountSharesToRedeem",
|
|
759
|
+
type: "uint256",
|
|
760
|
+
},
|
|
761
|
+
],
|
|
762
|
+
name: "previewRedeem",
|
|
763
|
+
outputs: [
|
|
764
|
+
{
|
|
765
|
+
internalType: "uint256",
|
|
766
|
+
name: "amountTokenOut",
|
|
767
|
+
type: "uint256",
|
|
768
|
+
},
|
|
769
|
+
],
|
|
770
|
+
stateMutability: "view",
|
|
771
|
+
type: "function",
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
inputs: [
|
|
775
|
+
{
|
|
776
|
+
internalType: "address",
|
|
777
|
+
name: "receiver",
|
|
778
|
+
type: "address",
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
internalType: "uint256",
|
|
782
|
+
name: "amountSharesToRedeem",
|
|
783
|
+
type: "uint256",
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
internalType: "address",
|
|
787
|
+
name: "tokenOut",
|
|
788
|
+
type: "address",
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
internalType: "uint256",
|
|
792
|
+
name: "minTokenOut",
|
|
793
|
+
type: "uint256",
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
internalType: "bool",
|
|
797
|
+
name: "burnFromInternalBalance",
|
|
798
|
+
type: "bool",
|
|
799
|
+
},
|
|
800
|
+
],
|
|
801
|
+
name: "redeem",
|
|
802
|
+
outputs: [
|
|
803
|
+
{
|
|
804
|
+
internalType: "uint256",
|
|
805
|
+
name: "amountTokenOut",
|
|
806
|
+
type: "uint256",
|
|
807
|
+
},
|
|
808
|
+
],
|
|
809
|
+
stateMutability: "nonpayable",
|
|
810
|
+
type: "function",
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
inputs: [],
|
|
814
|
+
name: "rewardIndexesCurrent",
|
|
815
|
+
outputs: [
|
|
816
|
+
{
|
|
817
|
+
internalType: "uint256[]",
|
|
818
|
+
name: "indexes",
|
|
819
|
+
type: "uint256[]",
|
|
820
|
+
},
|
|
821
|
+
],
|
|
822
|
+
stateMutability: "nonpayable",
|
|
823
|
+
type: "function",
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
inputs: [],
|
|
827
|
+
name: "rewardIndexesStored",
|
|
828
|
+
outputs: [
|
|
829
|
+
{
|
|
830
|
+
internalType: "uint256[]",
|
|
831
|
+
name: "indexes",
|
|
832
|
+
type: "uint256[]",
|
|
833
|
+
},
|
|
834
|
+
],
|
|
835
|
+
stateMutability: "view",
|
|
836
|
+
type: "function",
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
inputs: [
|
|
840
|
+
{
|
|
841
|
+
internalType: "address",
|
|
842
|
+
name: "",
|
|
843
|
+
type: "address",
|
|
844
|
+
},
|
|
845
|
+
],
|
|
846
|
+
name: "rewardState",
|
|
847
|
+
outputs: [
|
|
848
|
+
{
|
|
849
|
+
internalType: "uint128",
|
|
850
|
+
name: "index",
|
|
851
|
+
type: "uint128",
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
internalType: "uint128",
|
|
855
|
+
name: "lastBalance",
|
|
856
|
+
type: "uint128",
|
|
857
|
+
},
|
|
858
|
+
],
|
|
859
|
+
stateMutability: "view",
|
|
860
|
+
type: "function",
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
inputs: [],
|
|
864
|
+
name: "symbol",
|
|
865
|
+
outputs: [
|
|
866
|
+
{
|
|
867
|
+
internalType: "string",
|
|
868
|
+
name: "",
|
|
869
|
+
type: "string",
|
|
870
|
+
},
|
|
871
|
+
],
|
|
872
|
+
stateMutability: "view",
|
|
873
|
+
type: "function",
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
inputs: [],
|
|
877
|
+
name: "token0",
|
|
878
|
+
outputs: [
|
|
879
|
+
{
|
|
880
|
+
internalType: "address",
|
|
881
|
+
name: "",
|
|
882
|
+
type: "address",
|
|
883
|
+
},
|
|
884
|
+
],
|
|
885
|
+
stateMutability: "view",
|
|
886
|
+
type: "function",
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
inputs: [],
|
|
890
|
+
name: "token1",
|
|
891
|
+
outputs: [
|
|
892
|
+
{
|
|
893
|
+
internalType: "address",
|
|
894
|
+
name: "",
|
|
895
|
+
type: "address",
|
|
896
|
+
},
|
|
897
|
+
],
|
|
898
|
+
stateMutability: "view",
|
|
899
|
+
type: "function",
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
inputs: [],
|
|
903
|
+
name: "totalSupply",
|
|
904
|
+
outputs: [
|
|
905
|
+
{
|
|
906
|
+
internalType: "uint256",
|
|
907
|
+
name: "",
|
|
908
|
+
type: "uint256",
|
|
909
|
+
},
|
|
910
|
+
],
|
|
911
|
+
stateMutability: "view",
|
|
912
|
+
type: "function",
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
inputs: [
|
|
916
|
+
{
|
|
917
|
+
internalType: "address",
|
|
918
|
+
name: "to",
|
|
919
|
+
type: "address",
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
internalType: "uint256",
|
|
923
|
+
name: "amount",
|
|
924
|
+
type: "uint256",
|
|
925
|
+
},
|
|
926
|
+
],
|
|
927
|
+
name: "transfer",
|
|
928
|
+
outputs: [
|
|
929
|
+
{
|
|
930
|
+
internalType: "bool",
|
|
931
|
+
name: "",
|
|
932
|
+
type: "bool",
|
|
933
|
+
},
|
|
934
|
+
],
|
|
935
|
+
stateMutability: "nonpayable",
|
|
936
|
+
type: "function",
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
inputs: [
|
|
940
|
+
{
|
|
941
|
+
internalType: "address",
|
|
942
|
+
name: "from",
|
|
943
|
+
type: "address",
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
internalType: "address",
|
|
947
|
+
name: "to",
|
|
948
|
+
type: "address",
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
internalType: "uint256",
|
|
952
|
+
name: "amount",
|
|
953
|
+
type: "uint256",
|
|
954
|
+
},
|
|
955
|
+
],
|
|
956
|
+
name: "transferFrom",
|
|
957
|
+
outputs: [
|
|
958
|
+
{
|
|
959
|
+
internalType: "bool",
|
|
960
|
+
name: "",
|
|
961
|
+
type: "bool",
|
|
962
|
+
},
|
|
963
|
+
],
|
|
964
|
+
stateMutability: "nonpayable",
|
|
965
|
+
type: "function",
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
inputs: [
|
|
969
|
+
{
|
|
970
|
+
internalType: "address",
|
|
971
|
+
name: "",
|
|
972
|
+
type: "address",
|
|
973
|
+
},
|
|
974
|
+
{
|
|
975
|
+
internalType: "address",
|
|
976
|
+
name: "",
|
|
977
|
+
type: "address",
|
|
978
|
+
},
|
|
979
|
+
],
|
|
980
|
+
name: "userReward",
|
|
981
|
+
outputs: [
|
|
982
|
+
{
|
|
983
|
+
internalType: "uint128",
|
|
984
|
+
name: "index",
|
|
985
|
+
type: "uint128",
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
internalType: "uint128",
|
|
989
|
+
name: "accrued",
|
|
990
|
+
type: "uint128",
|
|
991
|
+
},
|
|
992
|
+
],
|
|
993
|
+
stateMutability: "view",
|
|
994
|
+
type: "function",
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
inputs: [],
|
|
998
|
+
name: "yieldToken",
|
|
999
|
+
outputs: [
|
|
1000
|
+
{
|
|
1001
|
+
internalType: "address",
|
|
1002
|
+
name: "",
|
|
1003
|
+
type: "address",
|
|
1004
|
+
},
|
|
1005
|
+
],
|
|
1006
|
+
stateMutability: "view",
|
|
1007
|
+
type: "function",
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
stateMutability: "payable",
|
|
1011
|
+
type: "receive",
|
|
1012
|
+
},
|
|
1013
|
+
];
|
|
1014
|
+
|
|
1015
|
+
const _bytecode =
|
|
1016
|
+
"0x6102406040523480156200001257600080fd5b506040516200460138038062004601833981016040819052620000359162000743565b84848484848484838282828282826001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000081573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000a79190620007dc565b6040805180820190915260018152603160f81b602082015283908184846003620000d2848262000897565b506004620000e1838262000897565b5060ff166080525050600280546001600160f81b0316600160f81b17905581516020808401919091208251918301919091206101008290526101208190524660c0527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620001948184846040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b60a0523060e05261014052505050506001600160a01b039384166101605250505061018089905286166101c05250620001d49350869250506200035f9050565b6001600160a01b039081166101a0529081166101e0819052908316146200020e57604051631738e62160e11b815260040160405180910390fd5b6101e051620002359073f403c135812408bfbe8713b5a23a04b3d48aae3160001962000481565b505060405163c661065760e01b8152600060048201526001600160a01b038516935063c661065792506024019050602060405180830381865afa15801562000281573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002a7919062000963565b6001600160a01b039081166102005260405163c661065760e01b8152600160048201529082169063c661065790602401602060405180830381865afa158015620002f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200031b919062000963565b6001600160a01b031661022052610200516101c0516200033c919062000598565b62000354610220516101c0516200059860201b60201c565b505050505062000a9e565b60008073f403c135812408bfbe8713b5a23a04b3d48aae316001600160a01b031663081e3eda6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620003b5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003db919062000981565b831115620003fc57604051631738e62160e11b815260040160405180910390fd5b604051631526fe2760e01b81526004810184905273f403c135812408bfbe8713b5a23a04b3d48aae3190631526fe279060240160c060405180830381865afa1580156200044d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004739190620009ac565b509397909650945050505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b1790529151600092839290871691620004df919062000a2d565b6000604051808303816000865af19150503d80600081146200051e576040519150601f19603f3d011682016040523d82523d6000602084013e62000523565b606091505b5091509150818015620005515750805115806200055157508080602001905181019062000551919062000a4b565b620005915760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b604482015260640160405180910390fd5b5050505050565b6001600160a01b038216620005ab575050565b620005bf60026001600160601b0362000a69565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa15801562000619573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200063f919062000981565b1015620006555762000655828260001962000481565b5050565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200068c57818101518382015260200162000672565b50506000910152565b600082601f830112620006a757600080fd5b81516001600160401b0380821115620006c457620006c462000659565b604051601f8301601f19908116603f01168101908282118183101715620006ef57620006ef62000659565b816040528381528660208588010111156200070957600080fd5b6200071c8460208301602089016200066f565b9695505050505050565b80516001600160a01b03811681146200073e57600080fd5b919050565b600080600080600060a086880312156200075c57600080fd5b85516001600160401b03808211156200077457600080fd5b6200078289838a0162000695565b965060208801519150808211156200079957600080fd5b50620007a88882890162000695565b94505060408601519250620007c06060870162000726565b9150620007d06080870162000726565b90509295509295909350565b600060208284031215620007ef57600080fd5b815160ff811681146200080157600080fd5b9392505050565b600181811c908216806200081d57607f821691505b6020821081036200083e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200089257600081815260208120601f850160051c810160208610156200086d5750805b601f850160051c820191505b818110156200088e5782815560010162000879565b5050505b505050565b81516001600160401b03811115620008b357620008b362000659565b620008cb81620008c4845462000808565b8462000844565b602080601f831160018114620009035760008415620008ea5750858301515b600019600386901b1c1916600185901b1785556200088e565b600085815260208120601f198616915b82811015620009345788860151825594840194600190910190840162000913565b5085821015620009535787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200097657600080fd5b620008018262000726565b6000602082840312156200099457600080fd5b5051919050565b805180151581146200073e57600080fd5b60008060008060008060c08789031215620009c657600080fd5b620009d18762000726565b9550620009e16020880162000726565b9450620009f16040880162000726565b935062000a016060880162000726565b925062000a116080880162000726565b915062000a2160a088016200099b565b90509295509295509295565b6000825162000a418184602087016200066f565b9190910192915050565b60006020828403121562000a5e57600080fd5b62000801826200099b565b60006001600160601b038381168062000a9257634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516101e0516102005161022051613a2862000bd9600039600081816106ca015281816109170152610eef0152600081816102ab015281816108c301528181610eb30152612e9a0152600081816105760152818161086f01528181610e7801528181610f5e01528181610f7f015281816116aa01528181611e9601528181611ef00152611f6401526000818161064101528181610c8401528181612650015281816126f3015281816128a8015261290201526000818161026a01528181611e1e0152612c9e0152600081816103d201526117040152600061050201526000611bdb01526000611c2a01526000611c0501526000611b5e01526000611b8801526000611bb2015260006103620152613a286000f3fe6080604052600436106101cf5760003560e01c806306fdde03146101db578063071bc3c914610206578063095ea7b3146102285780630b1e1031146102585780630dfe168114610299578063128fced1146102cd57806318160ddd146102fa57806320e8c5651461031d578063213cae631461020657806323b872dd14610330578063313ce567146103505780633644e515146103965780633ba0b9a9146103ab57806347aea09f146103c05780635cbadbe4146103f457806370a0823114610460578063759cb53b1461048057806375b0ffd1146104a8578063769f8e5d146104d057806376d5de85146104f0578063784367d6146105245780637ecebe00146105445780637f44579b14610564578063945c91421461059857806395d89b41146105c0578063a40bee50146105d5578063a9059cbb146105f9578063a9f8d18114610619578063b20fdc0d1461062f578063b8f82b2614610663578063c4f59f9b14610683578063cbe52ae314610698578063d21220a7146106b8578063d505accf146106ec578063da88ecb41461070e578063dd62ed3e14610723578063ea64a82014610743578063ef5cfb8c14610784578063f8b2f991146107a4578063fa5a4f061461052457600080fd5b366101d657005b600080fd5b3480156101e757600080fd5b506101f06107b9565b6040516101fd91906133cb565b60405180910390f35b34801561021257600080fd5b5061021b61084b565b6040516101fd9190613442565b34801561023457600080fd5b50610248610243366004613471565b61096c565b60405190151581526020016101fd565b34801561026457600080fd5b5061028c7f000000000000000000000000000000000000000000000000000000000000000081565b6040516101fd919061349b565b3480156102a557600080fd5b5061028c7f000000000000000000000000000000000000000000000000000000000000000081565b3480156102d957600080fd5b506102ed6102e83660046134af565b610986565b6040516101fd91906134fa565b34801561030657600080fd5b5061030f610a92565b6040519081526020016101fd565b61030f61032b36600461350d565b610aa1565b34801561033c57600080fd5b5061024861034b36600461354f565b610bf3565b34801561035c57600080fd5b506103847f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016101fd565b3480156103a257600080fd5b5061030f610c71565b3480156103b757600080fd5b5061030f610c80565b3480156103cc57600080fd5b5061030f7f000000000000000000000000000000000000000000000000000000000000000081565b34801561040057600080fd5b5061044061040f36600461358b565b60066020908152600092835260408084209091529082529020546001600160801b0380821691600160801b90041682565b604080516001600160801b039384168152929091166020830152016101fd565b34801561046c57600080fd5b5061030f61047b3660046134af565b610d04565b34801561048c57600080fd5b5061028c734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b81565b3480156104b457600080fd5b5061028c73f403c135812408bfbe8713b5a23a04b3d48aae3181565b3480156104dc57600080fd5b5061030f6104eb3660046135cc565b610d1f565b3480156104fc57600080fd5b5061028c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561053057600080fd5b5061024861053f3660046134af565b610e74565b34801561055057600080fd5b5061030f61055f3660046134af565b610f28565b34801561057057600080fd5b5061028c7f000000000000000000000000000000000000000000000000000000000000000081565b3480156105a457600080fd5b5061028c73d533a949740bb3306d119cc777fa900ba034cd5281565b3480156105cc57600080fd5b506101f0610f46565b3480156105e157600080fd5b506105ea610f55565b6040516101fd9392919061363d565b34801561060557600080fd5b50610248610614366004613471565b61100a565b34801561062557600080fd5b5061030f60075481565b34801561063b57600080fd5b5061028c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561066f57600080fd5b5061030f61067e366004613471565b61107c565b34801561068f57600080fd5b5061021b6110b7565b3480156106a457600080fd5b5061030f6106b3366004613471565b6110c1565b3480156106c457600080fd5b5061028c7f000000000000000000000000000000000000000000000000000000000000000081565b3480156106f857600080fd5b5061070c61070736600461368e565b6110f5565b005b34801561071a57600080fd5b506102ed611259565b34801561072f57600080fd5b5061030f61073e36600461358b565b61132a565b34801561074f57600080fd5b5061044061075e3660046134af565b6008602052600090815260409020546001600160801b0380821691600160801b90041682565b34801561079057600080fd5b506102ed61079f3660046134af565b611355565b3480156107b057600080fd5b506102ed611414565b6060600380546107c8906136fb565b80601f01602080910402602001604051908101604052809291908181526020018280546107f4906136fb565b80156108415780601f1061081657610100808354040283529160200191610841565b820191906000526020600020905b81548152906001019060200180831161082457829003601f168201915b5050505050905090565b604080516003808252608082019092526060916020820183803683370190505090507f0000000000000000000000000000000000000000000000000000000000000000816000815181106108a1576108a1613745565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000000000000000000000000000000000000000000000816001815181106108f5576108f5613745565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000008160028151811061094957610949613745565b60200260200101906001600160a01b031690816001600160a01b03168152505090565b60003361097a818585611486565b60019150505b92915050565b606060006109926115aa565b905080516001600160401b038111156109ad576109ad61372f565b6040519080825280602002602001820160405280156109d6578160200160208202803683370190505b50915060005b8151811015610a8b57600660008383815181106109fb576109fb613745565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000856001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b0316838281518110610a7857610a78613745565b60209081029190910101526001016109dc565b5050919050565b6002546001600160f81b031690565b600254600090600119600160f81b90910460ff1601610adb5760405162461bcd60e51b8152600401610ad29061375b565b60405180910390fd5b600280546001600160f81b0316600160f91b179055610af984610e74565b610b1857836040516315d57ce360e31b8152600401610ad2919061349b565b82600003610b3957604051630a907f2f60e41b815260040160405180910390fd5b610b4484338561163a565b610b4e84846116a6565b905081811015610b75578082604051635e38f95d60e11b8152600401610ad2929190613792565b610b7f858261179f565b836001600160a01b0316856001600160a01b0316336001600160a01b03167f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d598685604051610bce929190613792565b60405180910390a4600280546001600160f81b0316600160f81b179055949350505050565b600254600090600119600160f81b90910460ff1601610c245760405162461bcd60e51b8152600401610ad29061375b565b600280546001600160f81b0316600160f91b17905533610c458582856118b5565b610c5085858561192f565b6001915050600280546001600160f81b0316600160f81b1790559392505050565b6000610c7b611b51565b905090565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bb7b8b806040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ce0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7b91906137a0565b6001600160a01b031660009081526020819052604090205490565b600254600090600119600160f81b90910460ff1601610d505760405162461bcd60e51b8152600401610ad29061375b565b600280546001600160f81b0316600160f91b179055610d6e84610e74565b610d8d57836040516388a5056160e01b8152600401610ad2919061349b565b84600003610dae5760405163c3d83b0760e01b815260040160405180910390fd5b8115610dc357610dbe3086611c78565b610dcd565b610dcd3386611c78565b610dd8868587611dfe565b905082811015610dff5780836040516305ff726560e51b8152600401610ad2929190613792565b836001600160a01b0316866001600160a01b0316336001600160a01b03167faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c8885604051610e4e929190613792565b60405180910390a4600280546001600160f81b0316600160f81b17905595945050505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161480610ee757507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316145b8061098057507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161492915050565b6001600160a01b038116600090815260056020526040812054610980565b6060600480546107c8906136fb565b600080600060017f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fdb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fff91906137b9565b925092509250909192565b600254600090600119600160f81b90910460ff160161103b5760405162461bcd60e51b8152600401610ad29061375b565b600280546001600160f81b0316600160f91b1790553361105c81858561192f565b6001915050600280546001600160f81b0316600160f81b17905592915050565b600061108783610e74565b6110a657826040516315d57ce360e31b8152600401610ad2919061349b565b6110b08383611eec565b9392505050565b6060610c7b6115aa565b60006110cc83610e74565b6110eb57826040516388a5056160e01b8152600401610ad2919061349b565b6110b08383611f38565b834211156111455760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610ad2565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886111748c611fb5565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006111cf82611fdd565b905060006111df8287878761202b565b9050896001600160a01b0316816001600160a01b0316146112425760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610ad2565b61124d8a8a8a611486565b50505050505050505050565b606060006112656115aa565b905080516001600160401b038111156112805761128061372f565b6040519080825280602002602001820160405280156112a9578160200160208202803683370190505b50915060005b815181101561132557600860008383815181106112ce576112ce613745565b6020908102919091018101516001600160a01b031682528101919091526040016000205483516001600160801b039091169084908390811061131257611312613745565b60209081029190910101526001016112af565b505090565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600254606090600119600160f81b90910460ff16016113865760405162461bcd60e51b8152600401610ad29061375b565b600280546001600160f81b0316600160f91b1790556113a482612053565b6113ae8283612061565b9050816001600160a01b03167f2193aa20a3717f5f4ac79482f4f553e5f0afe8f4e6ec3e3d1aa2e138adc4763f6113e36115aa565b836040516113f29291906137d6565b60405180910390a2600280546001600160f81b0316600160f81b179055919050565b600254606090600119600160f81b90910460ff16016114455760405162461bcd60e51b8152600401610ad29061375b565b600280546001600160f81b0316600160f91b179055611462612309565b505061146c611259565b9050600280546001600160f81b0316600160f81b17905590565b6001600160a01b0383166114e85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610ad2565b6001600160a01b0382166115495760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610ad2565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b604080516002808252606080830184529260208301908036833701905050905073d533a949740bb3306d119cc777fa900ba034cd52816000815181106115f2576115f2613745565b60200260200101906001600160a01b031690816001600160a01b031681525050734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b8160018151811061094957610949613745565b6001600160a01b03831661168b578034146116865760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b6044820152606401610ad2565b505050565b8015611686576116866001600160a01b0384168330846125a4565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316036116e85750806116f5565b6116f2838361260f565b90505b6040516321d0683360e11b81527f00000000000000000000000000000000000000000000000000000000000000006004820152602481018290526001604482015273f403c135812408bfbe8713b5a23a04b3d48aae31906343a0d066906064016020604051808303816000875af1158015611774573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117989190613804565b5092915050565b6001600160a01b0382166117f55760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610ad2565b611801600083836126cb565b61180a816126d5565b600280546000906118259084906001600160f81b0316613837565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555080600080846001600160a01b03166001600160a01b03168152602001908152602001600020600082825461187d9190613857565b90915550506040518181526001600160a01b038316906000906000805160206139d38339815191529060200160405180910390a35050565b60006118c1848461132a565b90506000198114611929578181101561191c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610ad2565b6119298484848403611486565b50505050565b6001600160a01b0383166119935760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610ad2565b6001600160a01b0382166119f55760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610ad2565b816001600160a01b0316836001600160a01b031603611a505760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b6044820152606401610ad2565b611a5b8383836126cb565b6001600160a01b03831660009081526020819052604090205481811015611ad35760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610ad2565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611b0a908490613857565b92505081905550826001600160a01b0316846001600160a01b03166000805160206139d383398151915284604051611b4491815260200190565b60405180910390a3611929565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015611baa57507f000000000000000000000000000000000000000000000000000000000000000046145b15611bd457507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6001600160a01b038216611cd85760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610ad2565b611ce4826000836126cb565b6001600160a01b03821660009081526020819052604090205481811015611d585760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610ad2565b6001600160a01b03831660009081526020819052604090208282039055611d7e826126d5565b60028054600090611d999084906001600160f81b031661386a565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b03166000805160206139d383398151915284604051611df191815260200190565b60405180910390a3505050565b604051636197390160e11b815260048101829052600060248201819052907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063c32e7202906044016020604051808303816000875af1158015611e6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e939190613804565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603611ed4575080611ee1565b611ede83836126ef565b90505b6110b08385836127a3565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603611f2e575080610980565b6110b08383612867565b600080670de0b6b3a7640000611f4c610c80565b611f56908561388a565b611f6091906138b7565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b031603611fa357809150611798565b611fad84826128fd565b949350505050565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b6000610980611fea611b51565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061203c87878787612968565b9150915061204981612a4b565b5095945050505050565b61205e816000612bfc565b50565b6060600061206d6115aa565b905080516001600160401b038111156120885761208861372f565b6040519080825280602002602001820160405280156120b1578160200160208202803683370190505b50915060005b815181101561230157600660008383815181106120d6576120d6613745565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000866001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b031683828151811061215357612153613745565b60200260200101818152505082818151811061217157612171613745565b60200260200101516000146122ef5760006006600084848151811061219857612198613745565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000876001600160a01b03166001600160a01b0316815260200190815260200160002060000160106101000a8154816001600160801b0302191690836001600160801b0316021790555061222c83828151811061221f5761221f613745565b6020026020010151612c7c565b6008600084848151811061224257612242613745565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060000160108282829054906101000a90046001600160801b031661228e91906138d9565b92506101000a8154816001600160801b0302191690836001600160801b031602179055506122ef8282815181106122c7576122c7613745565b6020026020010151858584815181106122e2576122e2613745565b60200260200101516127a3565b806122f9816138f9565b9150506120b7565b505092915050565b6060806123146115aa565b915081516001600160401b0381111561232f5761232f61372f565b604051908082528060200260200182016040528015612358578160200160208202803683370190505b5090508151600003612368579091565b436007541461251c5743600755600061237f612c92565b9050612389612c9c565b60005b83518110156125195760008482815181106123a9576123a9613745565b6020908102919091018101516001600160a01b0381166000908152600890925260408220548751919350600160801b90046001600160801b031690612407908890869081106123fa576123fa613745565b6020026020010151612d0b565b6124119190613912565b6001600160a01b0383166000908152600860205260408120549192506001600160801b0390911690819003612444575060015b8415612461576124548286612d95565b61245e9082613857565b90505b61246a81612c7c565b6001600160a01b038416600090815260086020526040902080546001600160801b0319166001600160801b03929092169190911790556124a982612c7c565b6001600160a01b038416600090815260086020526040902080546010906124e1908490600160801b90046001600160801b0316613925565b92506101000a8154816001600160801b0302191690836001600160801b0316021790555050505080612512906138f9565b905061238c565b50505b60005b825181101561259f576008600084838151811061253e5761253e613745565b6020908102919091018101516001600160a01b031682528101919091526040016000205482516001600160801b039091169083908390811061258257612582613745565b602090810291909101015280612597816138f9565b91505061251f565b509091565b6040516001600160a01b03808516602483015283166044820152606481018290526119299085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612dc4565b6000612619613389565b828161262486612e96565b6002811061263457612634613745565b6020020152604051630b4c7e4d60e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690630b4c7e4d90612688908490600090600401613968565b6020604051808303816000875af11580156126a7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fad91906137a0565b6116868383612bfc565b60006001600160f81b038211156126eb57600080fd5b5090565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631a4d01d28361273261272d87612e96565b612ee4565b6040516001600160e01b031960e085901b1681526004810192909252600f0b6024820152600060448201526064016020604051808303816000875af115801561277f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b091906137a0565b806000036127b057505050565b6001600160a01b038316612853576000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461280b576040519150601f19603f3d011682016040523d82523d6000602084013e612810565b606091505b50509050806119295760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610ad2565b6116866001600160a01b0384168383612ef7565b6000612871613389565b828161287c86612e96565b6002811061288c5761288c613745565b602002015260405163ed8e84f360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ed8e84f3906128e0908490600190600401613983565b602060405180830381865afa1580156126a7573d6000803e3d6000fd5b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663cc2b27d78461293c61272d88612e96565b6040516001600160e01b031960e085901b1681526004810192909252600f0b60248201526044016128e0565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b038311156129955750600090506003612a42565b8460ff16601b141580156129ad57508460ff16601c14155b156129be5750600090506004612a42565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612a12573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612a3b57600060019250925050612a42565b9150600090505b94509492505050565b6000816004811115612a5f57612a5f613627565b03612a675750565b6001816004811115612a7b57612a7b613627565b03612ac35760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610ad2565b6002816004811115612ad757612ad7613627565b03612b245760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610ad2565b6003816004811115612b3857612b38613627565b03612b905760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610ad2565b6004816004811115612ba457612ba4613627565b0361205e5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610ad2565b600080612c07612309565b915091508151600003612c1a5750505050565b6001600160a01b03841615801590612c3b57506001600160a01b0384163014155b15612c4b57612c4b848383612f27565b6001600160a01b03831615801590612c6c57506001600160a01b0383163014155b1561192957611929838383612f27565b60006001600160801b038211156126eb57600080fd5b6000610c7b610a92565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316633d18b9126040518163ffffffff1660e01b8152600401600060405180830381600087803b158015612cf757600080fd5b505af1158015611929573d6000803e3d6000fd5b60006001600160a01b03821615612d8e576040516370a0823160e01b81526001600160a01b038316906370a0823190612d4890309060040161349b565b602060405180830381865afa158015612d65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d8991906137a0565b610980565b4792915050565b600080612daa670de0b6b3a76400008561388a565b9050828181612dbb57612dbb6138a1565b04949350505050565b6000612e19826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166131a79092919063ffffffff16565b8051909150156116865780806020019051810190612e379190613804565b6116865760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610ad2565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614612ed8576001612edb565b60005b60ff1692915050565b6000610980612ef2836131b6565b6131cc565b6040516001600160a01b03831660248201526044810182905261168690849063a9059cbb60e01b906064016125d8565b6001600160a01b03831615801590612f4857506001600160a01b0383163014155b612f5457612f546139a0565b6000612f5f846131f6565b905060005b83518110156131a0576000848281518110612f8157612f81613745565b602002602001015190506000848381518110612f9f57612f9f613745565b6020908102919091018101516001600160a01b038085166000908152600684526040808220928c168252919093528220549092506001600160801b03169081900361303b57612fed82612c7c565b6001600160a01b039384166000908152600660209081526040808320968c1683529590529390932080546001600160801b0319166001600160801b0390941693909317909255506131909050565b81810361304a57505050613190565b60006130568284613912565b905060006130648783613201565b6001600160a01b038681166000908152600660209081526040808320938f16835292905290812054919250906130ab908390600160801b90046001600160801b0316613857565b905060405180604001604052806130c187612c7c565b6001600160801b031681526020016130d883612c7c565b6001600160801b031681525060066000886001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b031602179055509050505050505050505b613199816138f9565b9050612f64565b5050505050565b6060611fad848460008561321f565b60006001600160ff1b038211156126eb57600080fd5b600060016001607f1b031982128015906131ed575060016001607f1b038213155b6126eb57600080fd5b600061098082610d04565b60008061320e838561388a565b9050670de0b6b3a764000081612dbb565b6060824710156132805760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610ad2565b6001600160a01b0385163b6132d75760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610ad2565b600080866001600160a01b031685876040516132f391906139b6565b60006040518083038185875af1925050503d8060008114613330576040519150601f19603f3d011682016040523d82523d6000602084013e613335565b606091505b5091509150613345828286613350565b979650505050505050565b6060831561335f5750816110b0565b82511561336f5782518084602001fd5b8160405162461bcd60e51b8152600401610ad291906133cb565b60405180604001604052806002906020820280368337509192915050565b60005b838110156133c25781810151838201526020016133aa565b50506000910152565b60208152600082518060208401526133ea8160408501602087016133a7565b601f01601f19169190910160400192915050565b600081518084526020808501945080840160005b838110156134375781516001600160a01b031687529582019590820190600101613412565b509495945050505050565b6020815260006110b060208301846133fe565b80356001600160a01b038116811461346c57600080fd5b919050565b6000806040838503121561348457600080fd5b61348d83613455565b946020939093013593505050565b6001600160a01b0391909116815260200190565b6000602082840312156134c157600080fd5b6110b082613455565b600081518084526020808501945080840160005b83811015613437578151875295820195908201906001016134de565b6020815260006110b060208301846134ca565b6000806000806080858703121561352357600080fd5b61352c85613455565b935061353a60208601613455565b93969395505050506040820135916060013590565b60008060006060848603121561356457600080fd5b61356d84613455565b925061357b60208501613455565b9150604084013590509250925092565b6000806040838503121561359e57600080fd5b6135a783613455565b91506135b560208401613455565b90509250929050565b801515811461205e57600080fd5b600080600080600060a086880312156135e457600080fd5b6135ed86613455565b94506020860135935061360260408701613455565b9250606086013591506080860135613619816135be565b809150509295509295909350565b634e487b7160e01b600052602160045260246000fd5b606081016002851061365f57634e487b7160e01b600052602160045260246000fd5b9381526001600160a01b0392909216602083015260ff1660409091015290565b60ff8116811461205e57600080fd5b600080600080600080600060e0888a0312156136a957600080fd5b6136b288613455565b96506136c060208901613455565b9550604088013594506060880135935060808801356136de8161367f565b9699959850939692959460a0840135945060c09093013592915050565b600181811c9082168061370f57607f821691505b602082108103611fd757634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b918252602082015260400190565b6000602082840312156137b257600080fd5b5051919050565b6000602082840312156137cb57600080fd5b81516110b08161367f565b6040815260006137e960408301856133fe565b82810360208401526137fb81856134ca565b95945050505050565b60006020828403121561381657600080fd5b81516110b0816135be565b634e487b7160e01b600052601160045260246000fd5b6001600160f81b0381811683821601908082111561179857611798613821565b8082018082111561098057610980613821565b6001600160f81b0382811682821603908082111561179857611798613821565b808202811582820484141761098057610980613821565b634e487b7160e01b600052601260045260246000fd5b6000826138d457634e487b7160e01b600052601260045260246000fd5b500490565b6001600160801b0382811682821603908082111561179857611798613821565b60006001820161390b5761390b613821565b5060010190565b8181038181111561098057610980613821565b6001600160801b0381811683821601908082111561179857611798613821565b8060005b6002811015611929578151845260209384019390910190600101613949565b606081016139768285613945565b8260408301529392505050565b606081016139918285613945565b82151560408301529392505050565b634e487b7160e01b600052600160045260246000fd5b600082516139c88184602087016133a7565b919091019291505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122025fe1313764fd75b24c2303e84d7bb6c25112e9a896f80ba4279d086eae72e9164736f6c63430008110033";
|
|
1017
|
+
|
|
1018
|
+
type PendleConvex2TokensSYConstructorParams =
|
|
1019
|
+
| [signer?: Signer]
|
|
1020
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
1021
|
+
|
|
1022
|
+
const isSuperArgs = (
|
|
1023
|
+
xs: PendleConvex2TokensSYConstructorParams
|
|
1024
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
1025
|
+
|
|
1026
|
+
export class PendleConvex2TokensSY__factory extends ContractFactory {
|
|
1027
|
+
constructor(...args: PendleConvex2TokensSYConstructorParams) {
|
|
1028
|
+
if (isSuperArgs(args)) {
|
|
1029
|
+
super(...args);
|
|
1030
|
+
} else {
|
|
1031
|
+
super(_abi, _bytecode, args[0]);
|
|
1032
|
+
}
|
|
1033
|
+
this.contractName = "PendleConvex2TokensSY";
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
deploy(
|
|
1037
|
+
_name: string,
|
|
1038
|
+
_symbol: string,
|
|
1039
|
+
_cvxPid: BigNumberish,
|
|
1040
|
+
_crvLp: string,
|
|
1041
|
+
_crvPool: string,
|
|
1042
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1043
|
+
): Promise<PendleConvex2TokensSY> {
|
|
1044
|
+
return super.deploy(
|
|
1045
|
+
_name,
|
|
1046
|
+
_symbol,
|
|
1047
|
+
_cvxPid,
|
|
1048
|
+
_crvLp,
|
|
1049
|
+
_crvPool,
|
|
1050
|
+
overrides || {}
|
|
1051
|
+
) as Promise<PendleConvex2TokensSY>;
|
|
1052
|
+
}
|
|
1053
|
+
getDeployTransaction(
|
|
1054
|
+
_name: string,
|
|
1055
|
+
_symbol: string,
|
|
1056
|
+
_cvxPid: BigNumberish,
|
|
1057
|
+
_crvLp: string,
|
|
1058
|
+
_crvPool: string,
|
|
1059
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1060
|
+
): TransactionRequest {
|
|
1061
|
+
return super.getDeployTransaction(
|
|
1062
|
+
_name,
|
|
1063
|
+
_symbol,
|
|
1064
|
+
_cvxPid,
|
|
1065
|
+
_crvLp,
|
|
1066
|
+
_crvPool,
|
|
1067
|
+
overrides || {}
|
|
1068
|
+
);
|
|
1069
|
+
}
|
|
1070
|
+
attach(address: string): PendleConvex2TokensSY {
|
|
1071
|
+
return super.attach(address) as PendleConvex2TokensSY;
|
|
1072
|
+
}
|
|
1073
|
+
connect(signer: Signer): PendleConvex2TokensSY__factory {
|
|
1074
|
+
return super.connect(signer) as PendleConvex2TokensSY__factory;
|
|
1075
|
+
}
|
|
1076
|
+
static readonly contractName: "PendleConvex2TokensSY";
|
|
1077
|
+
public readonly contractName: "PendleConvex2TokensSY";
|
|
1078
|
+
static readonly bytecode = _bytecode;
|
|
1079
|
+
static readonly abi = _abi;
|
|
1080
|
+
static createInterface(): PendleConvex2TokensSYInterface {
|
|
1081
|
+
return new utils.Interface(_abi) as PendleConvex2TokensSYInterface;
|
|
1082
|
+
}
|
|
1083
|
+
static connect(
|
|
1084
|
+
address: string,
|
|
1085
|
+
signerOrProvider: Signer | Provider
|
|
1086
|
+
): PendleConvex2TokensSY {
|
|
1087
|
+
return new Contract(
|
|
1088
|
+
address,
|
|
1089
|
+
_abi,
|
|
1090
|
+
signerOrProvider
|
|
1091
|
+
) as PendleConvex2TokensSY;
|
|
1092
|
+
}
|
|
1093
|
+
}
|