@pendle/core-v2 2.2.0-mainnet → 2.3.1-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/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +2 -2
- 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/PendleSwapArbitrum.sol/PendleSwapArbitrum.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwapArbitrum.sol/PendleSwapArbitrum.json +72 -0
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwapEthereum.sol/PendleSwapEthereum.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/{PendleSwapAggregator.sol/PendleSwapAggregator.json → PendleSwapEthereum.sol/PendleSwapEthereum.json} +4 -4
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/{interfaces → arbitrum}/IAggregationExecutor.sol/IAggregationExecutor.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IExecutorHelper1.sol/IExecutorHelper1.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IExecutorHelper1.sol/IExecutorHelper1.json +388 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IExecutorHelper2.sol/IExecutorHelper2.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IExecutorHelper2.sol/IExecutorHelper2.json +40 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IHashflow.sol/IHashflow.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/{interfaces → arbitrum}/IHashflow.sol/IHashflow.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/{interfaces → arbitrum}/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/KyberHelperArbitrum.sol/KyberHelperArbitrum.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/{KyberAggregationRouterHelper.sol/KyberAggregationRouterHelper.json → arbitrum/KyberHelperArbitrum.sol/KyberHelperArbitrum.json} +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/ScaleDataHelperArbitrum.sol/ScaleDataHelperArbitrum.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/ScaleDataHelperArbitrum.sol/ScaleDataHelperArbitrum.json +10 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IAggregationExecutor.sol/IAggregationExecutor.json +65 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/{interfaces → ethereum}/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IHashflow.sol/IHashflow.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IHashflow.sol/IHashflow.json +101 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.json +215 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/KyberHelperEthereum.sol/KyberHelperEthereum.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/KyberHelperEthereum.sol/KyberHelperEthereum.json +10 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/ScaleDataHelperEthereum.sol/ScaleDataHelperEthereum.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/ScaleDataHelperEthereum.sol/ScaleDataHelperEthereum.json +10 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol +4 -3
- package/contracts/router/ActionAddRemoveLiq.sol +0 -1
- package/contracts/router/swap-aggregator/{PendleSwapAggregator.sol → PendleSwapArbitrum.sol} +3 -3
- package/contracts/router/swap-aggregator/PendleSwapEthereum.sol +42 -0
- package/contracts/router/swap-aggregator/kyberswap/arbitrum/IExecutorHelper1.sol +195 -0
- package/contracts/router/swap-aggregator/kyberswap/arbitrum/IExecutorHelper2.sol +10 -0
- package/contracts/router/swap-aggregator/kyberswap/arbitrum/IMetaAggregationRouterV2.sol +41 -0
- package/contracts/router/swap-aggregator/kyberswap/arbitrum/KyberHelperArbitrum.sol +200 -0
- package/contracts/router/swap-aggregator/kyberswap/arbitrum/ScaleDataHelperArbitrum.sol +135 -0
- package/contracts/router/swap-aggregator/kyberswap/ethereum/IAggregationExecutor.sol +17 -0
- package/contracts/router/swap-aggregator/kyberswap/ethereum/IHashflow.sol +30 -0
- package/contracts/router/swap-aggregator/kyberswap/{KyberAggregationRouterHelper.sol → ethereum/KyberHelperEthereum.sol} +16 -28
- package/contracts/router/swap-aggregator/kyberswap/{ScaleDataHelperEthereum1.sol → ethereum/ScaleDataHelperEthereum.sol} +2 -2
- package/deployments/1-markets/BALANCER-LP-AURA-ANKRETH-WETH-MARCH-28-2024.json +11 -0
- package/deployments/42161-core.json +1 -1
- 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/IExecutorHelper1.ts +643 -0
- package/typechain-types/IExecutorHelper2.ts +115 -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/InputScalingHelper.ts +108 -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/PendleSwapArbitrum.ts +126 -0
- package/typechain-types/PendleSwapEthereum.ts +126 -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/ActionAddRemoveLiq__factory.ts +1 -1
- 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/IExecutorHelper1__factory.ts +403 -0
- package/typechain-types/factories/IExecutorHelper2__factory.ts +55 -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/InputScalingHelper__factory.ts +88 -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/PendleSwapAggregator__factory.ts +1 -1
- package/typechain-types/factories/PendleSwapArbitrum__factory.ts +125 -0
- package/typechain-types/factories/PendleSwapEthereum__factory.ts +125 -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 +162 -171
- package/typechain-types/index.ts +20 -40
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwapAggregator.sol/PendleSwapAggregator.dbg.json +0 -4
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberAggregationRouterHelper.sol/KyberAggregationRouterHelper.dbg.json +0 -4
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScaleDataHelperEthereum1.sol/ScaleDataHelperEthereum1.dbg.json +0 -4
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScaleDataHelperEthereum1.sol/ScaleDataHelperEthereum1.json +0 -10
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +0 -4
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.dbg.json +0 -4
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IHashflow.sol/IHashflow.dbg.json +0 -4
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +0 -4
- /package/contracts/router/swap-aggregator/kyberswap/{interfaces → arbitrum}/IAggregationExecutor.sol +0 -0
- /package/contracts/router/swap-aggregator/kyberswap/{interfaces → arbitrum}/IHashflow.sol +0 -0
- /package/contracts/router/swap-aggregator/kyberswap/{interfaces → ethereum}/IExecutorHelperEthereum1.sol +0 -0
- /package/contracts/router/swap-aggregator/kyberswap/{interfaces → ethereum}/IMetaAggregationRouterV2.sol +0 -0
|
@@ -0,0 +1,910 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
+
import type {
|
|
7
|
+
PendleCvxCRVSCY,
|
|
8
|
+
PendleCvxCRVSCYInterface,
|
|
9
|
+
} from "../PendleCvxCRVSCY";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
internalType: "string",
|
|
16
|
+
name: "_name",
|
|
17
|
+
type: "string",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
internalType: "string",
|
|
21
|
+
name: "_symbol",
|
|
22
|
+
type: "string",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
internalType: "address",
|
|
26
|
+
name: "_cvxCrv",
|
|
27
|
+
type: "address",
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
internalType: "address",
|
|
31
|
+
name: "_cvx",
|
|
32
|
+
type: "address",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
internalType: "address",
|
|
36
|
+
name: "_baseRewards",
|
|
37
|
+
type: "address",
|
|
38
|
+
},
|
|
39
|
+
],
|
|
40
|
+
stateMutability: "nonpayable",
|
|
41
|
+
type: "constructor",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
anonymous: false,
|
|
45
|
+
inputs: [
|
|
46
|
+
{
|
|
47
|
+
indexed: true,
|
|
48
|
+
internalType: "address",
|
|
49
|
+
name: "owner",
|
|
50
|
+
type: "address",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
indexed: true,
|
|
54
|
+
internalType: "address",
|
|
55
|
+
name: "spender",
|
|
56
|
+
type: "address",
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
indexed: false,
|
|
60
|
+
internalType: "uint256",
|
|
61
|
+
name: "value",
|
|
62
|
+
type: "uint256",
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
|
+
name: "Approval",
|
|
66
|
+
type: "event",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
anonymous: false,
|
|
70
|
+
inputs: [
|
|
71
|
+
{
|
|
72
|
+
indexed: true,
|
|
73
|
+
internalType: "address",
|
|
74
|
+
name: "user",
|
|
75
|
+
type: "address",
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
indexed: false,
|
|
79
|
+
internalType: "address[]",
|
|
80
|
+
name: "rewardTokens",
|
|
81
|
+
type: "address[]",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
indexed: false,
|
|
85
|
+
internalType: "uint256[]",
|
|
86
|
+
name: "rewardAmounts",
|
|
87
|
+
type: "uint256[]",
|
|
88
|
+
},
|
|
89
|
+
],
|
|
90
|
+
name: "ClaimRewards",
|
|
91
|
+
type: "event",
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
anonymous: false,
|
|
95
|
+
inputs: [
|
|
96
|
+
{
|
|
97
|
+
indexed: true,
|
|
98
|
+
internalType: "address",
|
|
99
|
+
name: "caller",
|
|
100
|
+
type: "address",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
indexed: true,
|
|
104
|
+
internalType: "address",
|
|
105
|
+
name: "receiver",
|
|
106
|
+
type: "address",
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
indexed: true,
|
|
110
|
+
internalType: "address",
|
|
111
|
+
name: "tokenIn",
|
|
112
|
+
type: "address",
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
indexed: false,
|
|
116
|
+
internalType: "uint256",
|
|
117
|
+
name: "amountDeposited",
|
|
118
|
+
type: "uint256",
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
indexed: false,
|
|
122
|
+
internalType: "uint256",
|
|
123
|
+
name: "amountScyOut",
|
|
124
|
+
type: "uint256",
|
|
125
|
+
},
|
|
126
|
+
],
|
|
127
|
+
name: "Deposit",
|
|
128
|
+
type: "event",
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
anonymous: false,
|
|
132
|
+
inputs: [
|
|
133
|
+
{
|
|
134
|
+
indexed: true,
|
|
135
|
+
internalType: "address",
|
|
136
|
+
name: "caller",
|
|
137
|
+
type: "address",
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
indexed: true,
|
|
141
|
+
internalType: "address",
|
|
142
|
+
name: "receiver",
|
|
143
|
+
type: "address",
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
indexed: true,
|
|
147
|
+
internalType: "address",
|
|
148
|
+
name: "tokenOut",
|
|
149
|
+
type: "address",
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
indexed: false,
|
|
153
|
+
internalType: "uint256",
|
|
154
|
+
name: "amountScyToRedeem",
|
|
155
|
+
type: "uint256",
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
indexed: false,
|
|
159
|
+
internalType: "uint256",
|
|
160
|
+
name: "amountTokenOut",
|
|
161
|
+
type: "uint256",
|
|
162
|
+
},
|
|
163
|
+
],
|
|
164
|
+
name: "Redeem",
|
|
165
|
+
type: "event",
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
anonymous: false,
|
|
169
|
+
inputs: [
|
|
170
|
+
{
|
|
171
|
+
indexed: true,
|
|
172
|
+
internalType: "address",
|
|
173
|
+
name: "from",
|
|
174
|
+
type: "address",
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
indexed: true,
|
|
178
|
+
internalType: "address",
|
|
179
|
+
name: "to",
|
|
180
|
+
type: "address",
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
indexed: false,
|
|
184
|
+
internalType: "uint256",
|
|
185
|
+
name: "value",
|
|
186
|
+
type: "uint256",
|
|
187
|
+
},
|
|
188
|
+
],
|
|
189
|
+
name: "Transfer",
|
|
190
|
+
type: "event",
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
inputs: [],
|
|
194
|
+
name: "BASE_REWARDS",
|
|
195
|
+
outputs: [
|
|
196
|
+
{
|
|
197
|
+
internalType: "address",
|
|
198
|
+
name: "",
|
|
199
|
+
type: "address",
|
|
200
|
+
},
|
|
201
|
+
],
|
|
202
|
+
stateMutability: "view",
|
|
203
|
+
type: "function",
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
inputs: [],
|
|
207
|
+
name: "CRV",
|
|
208
|
+
outputs: [
|
|
209
|
+
{
|
|
210
|
+
internalType: "address",
|
|
211
|
+
name: "",
|
|
212
|
+
type: "address",
|
|
213
|
+
},
|
|
214
|
+
],
|
|
215
|
+
stateMutability: "view",
|
|
216
|
+
type: "function",
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
inputs: [],
|
|
220
|
+
name: "CRV_DEPOSITOR",
|
|
221
|
+
outputs: [
|
|
222
|
+
{
|
|
223
|
+
internalType: "address",
|
|
224
|
+
name: "",
|
|
225
|
+
type: "address",
|
|
226
|
+
},
|
|
227
|
+
],
|
|
228
|
+
stateMutability: "view",
|
|
229
|
+
type: "function",
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
inputs: [],
|
|
233
|
+
name: "CVX",
|
|
234
|
+
outputs: [
|
|
235
|
+
{
|
|
236
|
+
internalType: "address",
|
|
237
|
+
name: "",
|
|
238
|
+
type: "address",
|
|
239
|
+
},
|
|
240
|
+
],
|
|
241
|
+
stateMutability: "view",
|
|
242
|
+
type: "function",
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
inputs: [],
|
|
246
|
+
name: "CVX_CRV",
|
|
247
|
+
outputs: [
|
|
248
|
+
{
|
|
249
|
+
internalType: "address",
|
|
250
|
+
name: "",
|
|
251
|
+
type: "address",
|
|
252
|
+
},
|
|
253
|
+
],
|
|
254
|
+
stateMutability: "view",
|
|
255
|
+
type: "function",
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
inputs: [
|
|
259
|
+
{
|
|
260
|
+
internalType: "address",
|
|
261
|
+
name: "user",
|
|
262
|
+
type: "address",
|
|
263
|
+
},
|
|
264
|
+
],
|
|
265
|
+
name: "accruedRewards",
|
|
266
|
+
outputs: [
|
|
267
|
+
{
|
|
268
|
+
internalType: "uint256[]",
|
|
269
|
+
name: "rewardAmounts",
|
|
270
|
+
type: "uint256[]",
|
|
271
|
+
},
|
|
272
|
+
],
|
|
273
|
+
stateMutability: "view",
|
|
274
|
+
type: "function",
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
inputs: [
|
|
278
|
+
{
|
|
279
|
+
internalType: "address",
|
|
280
|
+
name: "owner",
|
|
281
|
+
type: "address",
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
internalType: "address",
|
|
285
|
+
name: "spender",
|
|
286
|
+
type: "address",
|
|
287
|
+
},
|
|
288
|
+
],
|
|
289
|
+
name: "allowance",
|
|
290
|
+
outputs: [
|
|
291
|
+
{
|
|
292
|
+
internalType: "uint256",
|
|
293
|
+
name: "",
|
|
294
|
+
type: "uint256",
|
|
295
|
+
},
|
|
296
|
+
],
|
|
297
|
+
stateMutability: "view",
|
|
298
|
+
type: "function",
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
inputs: [
|
|
302
|
+
{
|
|
303
|
+
internalType: "address",
|
|
304
|
+
name: "spender",
|
|
305
|
+
type: "address",
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
internalType: "uint256",
|
|
309
|
+
name: "amount",
|
|
310
|
+
type: "uint256",
|
|
311
|
+
},
|
|
312
|
+
],
|
|
313
|
+
name: "approve",
|
|
314
|
+
outputs: [
|
|
315
|
+
{
|
|
316
|
+
internalType: "bool",
|
|
317
|
+
name: "",
|
|
318
|
+
type: "bool",
|
|
319
|
+
},
|
|
320
|
+
],
|
|
321
|
+
stateMutability: "nonpayable",
|
|
322
|
+
type: "function",
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
inputs: [],
|
|
326
|
+
name: "assetInfo",
|
|
327
|
+
outputs: [
|
|
328
|
+
{
|
|
329
|
+
internalType: "enum ISuperComposableYield.AssetType",
|
|
330
|
+
name: "assetType",
|
|
331
|
+
type: "uint8",
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
internalType: "address",
|
|
335
|
+
name: "assetAddress",
|
|
336
|
+
type: "address",
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
internalType: "uint8",
|
|
340
|
+
name: "assetDecimals",
|
|
341
|
+
type: "uint8",
|
|
342
|
+
},
|
|
343
|
+
],
|
|
344
|
+
stateMutability: "view",
|
|
345
|
+
type: "function",
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
inputs: [
|
|
349
|
+
{
|
|
350
|
+
internalType: "address",
|
|
351
|
+
name: "account",
|
|
352
|
+
type: "address",
|
|
353
|
+
},
|
|
354
|
+
],
|
|
355
|
+
name: "balanceOf",
|
|
356
|
+
outputs: [
|
|
357
|
+
{
|
|
358
|
+
internalType: "uint256",
|
|
359
|
+
name: "",
|
|
360
|
+
type: "uint256",
|
|
361
|
+
},
|
|
362
|
+
],
|
|
363
|
+
stateMutability: "view",
|
|
364
|
+
type: "function",
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
inputs: [
|
|
368
|
+
{
|
|
369
|
+
internalType: "address",
|
|
370
|
+
name: "user",
|
|
371
|
+
type: "address",
|
|
372
|
+
},
|
|
373
|
+
],
|
|
374
|
+
name: "claimRewards",
|
|
375
|
+
outputs: [
|
|
376
|
+
{
|
|
377
|
+
internalType: "uint256[]",
|
|
378
|
+
name: "rewardAmounts",
|
|
379
|
+
type: "uint256[]",
|
|
380
|
+
},
|
|
381
|
+
],
|
|
382
|
+
stateMutability: "nonpayable",
|
|
383
|
+
type: "function",
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
inputs: [],
|
|
387
|
+
name: "decimals",
|
|
388
|
+
outputs: [
|
|
389
|
+
{
|
|
390
|
+
internalType: "uint8",
|
|
391
|
+
name: "",
|
|
392
|
+
type: "uint8",
|
|
393
|
+
},
|
|
394
|
+
],
|
|
395
|
+
stateMutability: "view",
|
|
396
|
+
type: "function",
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
inputs: [
|
|
400
|
+
{
|
|
401
|
+
internalType: "address",
|
|
402
|
+
name: "receiver",
|
|
403
|
+
type: "address",
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
internalType: "address",
|
|
407
|
+
name: "tokenIn",
|
|
408
|
+
type: "address",
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
internalType: "uint256",
|
|
412
|
+
name: "amountTokenToDeposit",
|
|
413
|
+
type: "uint256",
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
internalType: "uint256",
|
|
417
|
+
name: "minSharesOut",
|
|
418
|
+
type: "uint256",
|
|
419
|
+
},
|
|
420
|
+
],
|
|
421
|
+
name: "deposit",
|
|
422
|
+
outputs: [
|
|
423
|
+
{
|
|
424
|
+
internalType: "uint256",
|
|
425
|
+
name: "amountSharesOut",
|
|
426
|
+
type: "uint256",
|
|
427
|
+
},
|
|
428
|
+
],
|
|
429
|
+
stateMutability: "payable",
|
|
430
|
+
type: "function",
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
inputs: [],
|
|
434
|
+
name: "exchangeRate",
|
|
435
|
+
outputs: [
|
|
436
|
+
{
|
|
437
|
+
internalType: "uint256",
|
|
438
|
+
name: "",
|
|
439
|
+
type: "uint256",
|
|
440
|
+
},
|
|
441
|
+
],
|
|
442
|
+
stateMutability: "pure",
|
|
443
|
+
type: "function",
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
inputs: [],
|
|
447
|
+
name: "getRewardTokens",
|
|
448
|
+
outputs: [
|
|
449
|
+
{
|
|
450
|
+
internalType: "address[]",
|
|
451
|
+
name: "rewardTokens",
|
|
452
|
+
type: "address[]",
|
|
453
|
+
},
|
|
454
|
+
],
|
|
455
|
+
stateMutability: "view",
|
|
456
|
+
type: "function",
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
inputs: [],
|
|
460
|
+
name: "getTokensIn",
|
|
461
|
+
outputs: [
|
|
462
|
+
{
|
|
463
|
+
internalType: "address[]",
|
|
464
|
+
name: "res",
|
|
465
|
+
type: "address[]",
|
|
466
|
+
},
|
|
467
|
+
],
|
|
468
|
+
stateMutability: "view",
|
|
469
|
+
type: "function",
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
inputs: [],
|
|
473
|
+
name: "getTokensOut",
|
|
474
|
+
outputs: [
|
|
475
|
+
{
|
|
476
|
+
internalType: "address[]",
|
|
477
|
+
name: "res",
|
|
478
|
+
type: "address[]",
|
|
479
|
+
},
|
|
480
|
+
],
|
|
481
|
+
stateMutability: "view",
|
|
482
|
+
type: "function",
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
inputs: [
|
|
486
|
+
{
|
|
487
|
+
internalType: "address",
|
|
488
|
+
name: "token",
|
|
489
|
+
type: "address",
|
|
490
|
+
},
|
|
491
|
+
],
|
|
492
|
+
name: "isValidTokenIn",
|
|
493
|
+
outputs: [
|
|
494
|
+
{
|
|
495
|
+
internalType: "bool",
|
|
496
|
+
name: "res",
|
|
497
|
+
type: "bool",
|
|
498
|
+
},
|
|
499
|
+
],
|
|
500
|
+
stateMutability: "view",
|
|
501
|
+
type: "function",
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
inputs: [
|
|
505
|
+
{
|
|
506
|
+
internalType: "address",
|
|
507
|
+
name: "token",
|
|
508
|
+
type: "address",
|
|
509
|
+
},
|
|
510
|
+
],
|
|
511
|
+
name: "isValidTokenOut",
|
|
512
|
+
outputs: [
|
|
513
|
+
{
|
|
514
|
+
internalType: "bool",
|
|
515
|
+
name: "res",
|
|
516
|
+
type: "bool",
|
|
517
|
+
},
|
|
518
|
+
],
|
|
519
|
+
stateMutability: "view",
|
|
520
|
+
type: "function",
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
inputs: [],
|
|
524
|
+
name: "lastRewardBlock",
|
|
525
|
+
outputs: [
|
|
526
|
+
{
|
|
527
|
+
internalType: "uint256",
|
|
528
|
+
name: "",
|
|
529
|
+
type: "uint256",
|
|
530
|
+
},
|
|
531
|
+
],
|
|
532
|
+
stateMutability: "view",
|
|
533
|
+
type: "function",
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
inputs: [],
|
|
537
|
+
name: "name",
|
|
538
|
+
outputs: [
|
|
539
|
+
{
|
|
540
|
+
internalType: "string",
|
|
541
|
+
name: "",
|
|
542
|
+
type: "string",
|
|
543
|
+
},
|
|
544
|
+
],
|
|
545
|
+
stateMutability: "view",
|
|
546
|
+
type: "function",
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
inputs: [
|
|
550
|
+
{
|
|
551
|
+
internalType: "address",
|
|
552
|
+
name: "tokenIn",
|
|
553
|
+
type: "address",
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
internalType: "uint256",
|
|
557
|
+
name: "amountTokenToDeposit",
|
|
558
|
+
type: "uint256",
|
|
559
|
+
},
|
|
560
|
+
],
|
|
561
|
+
name: "previewDeposit",
|
|
562
|
+
outputs: [
|
|
563
|
+
{
|
|
564
|
+
internalType: "uint256",
|
|
565
|
+
name: "amountSharesOut",
|
|
566
|
+
type: "uint256",
|
|
567
|
+
},
|
|
568
|
+
],
|
|
569
|
+
stateMutability: "view",
|
|
570
|
+
type: "function",
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
inputs: [
|
|
574
|
+
{
|
|
575
|
+
internalType: "address",
|
|
576
|
+
name: "tokenOut",
|
|
577
|
+
type: "address",
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
internalType: "uint256",
|
|
581
|
+
name: "amountSharesToRedeem",
|
|
582
|
+
type: "uint256",
|
|
583
|
+
},
|
|
584
|
+
],
|
|
585
|
+
name: "previewRedeem",
|
|
586
|
+
outputs: [
|
|
587
|
+
{
|
|
588
|
+
internalType: "uint256",
|
|
589
|
+
name: "amountTokenOut",
|
|
590
|
+
type: "uint256",
|
|
591
|
+
},
|
|
592
|
+
],
|
|
593
|
+
stateMutability: "view",
|
|
594
|
+
type: "function",
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
inputs: [
|
|
598
|
+
{
|
|
599
|
+
internalType: "address",
|
|
600
|
+
name: "receiver",
|
|
601
|
+
type: "address",
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
internalType: "uint256",
|
|
605
|
+
name: "amountSharesToRedeem",
|
|
606
|
+
type: "uint256",
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
internalType: "address",
|
|
610
|
+
name: "tokenOut",
|
|
611
|
+
type: "address",
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
internalType: "uint256",
|
|
615
|
+
name: "minTokenOut",
|
|
616
|
+
type: "uint256",
|
|
617
|
+
},
|
|
618
|
+
],
|
|
619
|
+
name: "redeem",
|
|
620
|
+
outputs: [
|
|
621
|
+
{
|
|
622
|
+
internalType: "uint256",
|
|
623
|
+
name: "amountTokenOut",
|
|
624
|
+
type: "uint256",
|
|
625
|
+
},
|
|
626
|
+
],
|
|
627
|
+
stateMutability: "nonpayable",
|
|
628
|
+
type: "function",
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
inputs: [
|
|
632
|
+
{
|
|
633
|
+
internalType: "address",
|
|
634
|
+
name: "receiver",
|
|
635
|
+
type: "address",
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
internalType: "address",
|
|
639
|
+
name: "tokenOut",
|
|
640
|
+
type: "address",
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
internalType: "uint256",
|
|
644
|
+
name: "minTokenOut",
|
|
645
|
+
type: "uint256",
|
|
646
|
+
},
|
|
647
|
+
],
|
|
648
|
+
name: "redeemAfterTransfer",
|
|
649
|
+
outputs: [
|
|
650
|
+
{
|
|
651
|
+
internalType: "uint256",
|
|
652
|
+
name: "amountTokenOut",
|
|
653
|
+
type: "uint256",
|
|
654
|
+
},
|
|
655
|
+
],
|
|
656
|
+
stateMutability: "nonpayable",
|
|
657
|
+
type: "function",
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
inputs: [],
|
|
661
|
+
name: "rewardIndexesCurrent",
|
|
662
|
+
outputs: [
|
|
663
|
+
{
|
|
664
|
+
internalType: "uint256[]",
|
|
665
|
+
name: "indexes",
|
|
666
|
+
type: "uint256[]",
|
|
667
|
+
},
|
|
668
|
+
],
|
|
669
|
+
stateMutability: "nonpayable",
|
|
670
|
+
type: "function",
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
inputs: [],
|
|
674
|
+
name: "rewardIndexesStored",
|
|
675
|
+
outputs: [
|
|
676
|
+
{
|
|
677
|
+
internalType: "uint256[]",
|
|
678
|
+
name: "indexes",
|
|
679
|
+
type: "uint256[]",
|
|
680
|
+
},
|
|
681
|
+
],
|
|
682
|
+
stateMutability: "view",
|
|
683
|
+
type: "function",
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
inputs: [
|
|
687
|
+
{
|
|
688
|
+
internalType: "address",
|
|
689
|
+
name: "",
|
|
690
|
+
type: "address",
|
|
691
|
+
},
|
|
692
|
+
],
|
|
693
|
+
name: "rewardState",
|
|
694
|
+
outputs: [
|
|
695
|
+
{
|
|
696
|
+
internalType: "uint128",
|
|
697
|
+
name: "index",
|
|
698
|
+
type: "uint128",
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
internalType: "uint128",
|
|
702
|
+
name: "lastBalance",
|
|
703
|
+
type: "uint128",
|
|
704
|
+
},
|
|
705
|
+
],
|
|
706
|
+
stateMutability: "view",
|
|
707
|
+
type: "function",
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
inputs: [],
|
|
711
|
+
name: "symbol",
|
|
712
|
+
outputs: [
|
|
713
|
+
{
|
|
714
|
+
internalType: "string",
|
|
715
|
+
name: "",
|
|
716
|
+
type: "string",
|
|
717
|
+
},
|
|
718
|
+
],
|
|
719
|
+
stateMutability: "view",
|
|
720
|
+
type: "function",
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
inputs: [],
|
|
724
|
+
name: "totalSupply",
|
|
725
|
+
outputs: [
|
|
726
|
+
{
|
|
727
|
+
internalType: "uint256",
|
|
728
|
+
name: "",
|
|
729
|
+
type: "uint256",
|
|
730
|
+
},
|
|
731
|
+
],
|
|
732
|
+
stateMutability: "view",
|
|
733
|
+
type: "function",
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
inputs: [
|
|
737
|
+
{
|
|
738
|
+
internalType: "address",
|
|
739
|
+
name: "to",
|
|
740
|
+
type: "address",
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
internalType: "uint256",
|
|
744
|
+
name: "amount",
|
|
745
|
+
type: "uint256",
|
|
746
|
+
},
|
|
747
|
+
],
|
|
748
|
+
name: "transfer",
|
|
749
|
+
outputs: [
|
|
750
|
+
{
|
|
751
|
+
internalType: "bool",
|
|
752
|
+
name: "",
|
|
753
|
+
type: "bool",
|
|
754
|
+
},
|
|
755
|
+
],
|
|
756
|
+
stateMutability: "nonpayable",
|
|
757
|
+
type: "function",
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
inputs: [
|
|
761
|
+
{
|
|
762
|
+
internalType: "address",
|
|
763
|
+
name: "from",
|
|
764
|
+
type: "address",
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
internalType: "address",
|
|
768
|
+
name: "to",
|
|
769
|
+
type: "address",
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
internalType: "uint256",
|
|
773
|
+
name: "amount",
|
|
774
|
+
type: "uint256",
|
|
775
|
+
},
|
|
776
|
+
],
|
|
777
|
+
name: "transferFrom",
|
|
778
|
+
outputs: [
|
|
779
|
+
{
|
|
780
|
+
internalType: "bool",
|
|
781
|
+
name: "",
|
|
782
|
+
type: "bool",
|
|
783
|
+
},
|
|
784
|
+
],
|
|
785
|
+
stateMutability: "nonpayable",
|
|
786
|
+
type: "function",
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
inputs: [
|
|
790
|
+
{
|
|
791
|
+
internalType: "address",
|
|
792
|
+
name: "",
|
|
793
|
+
type: "address",
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
internalType: "address",
|
|
797
|
+
name: "",
|
|
798
|
+
type: "address",
|
|
799
|
+
},
|
|
800
|
+
],
|
|
801
|
+
name: "userReward",
|
|
802
|
+
outputs: [
|
|
803
|
+
{
|
|
804
|
+
internalType: "uint128",
|
|
805
|
+
name: "index",
|
|
806
|
+
type: "uint128",
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
internalType: "uint128",
|
|
810
|
+
name: "accrued",
|
|
811
|
+
type: "uint128",
|
|
812
|
+
},
|
|
813
|
+
],
|
|
814
|
+
stateMutability: "view",
|
|
815
|
+
type: "function",
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
inputs: [],
|
|
819
|
+
name: "yieldToken",
|
|
820
|
+
outputs: [
|
|
821
|
+
{
|
|
822
|
+
internalType: "address",
|
|
823
|
+
name: "",
|
|
824
|
+
type: "address",
|
|
825
|
+
},
|
|
826
|
+
],
|
|
827
|
+
stateMutability: "view",
|
|
828
|
+
type: "function",
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
stateMutability: "payable",
|
|
832
|
+
type: "receive",
|
|
833
|
+
},
|
|
834
|
+
];
|
|
835
|
+
|
|
836
|
+
const _bytecode =
|
|
837
|
+
"0x6101606040523480156200001257600080fd5b50604051620037c6380380620037c6833981016040819052620000359162000486565b8484848282828282826001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200007c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000a2919062000528565b6003620000b08482620005e3565b506004620000bf8382620005e3565b5060ff166080525050600280546001600160f81b0316600160f81b1790556001600160a01b0390811660a052871694506200011c93505050505760405162461bcd60e51b81526004016200011390620006af565b60405180910390fd5b6001600160a01b038116620001455760405162461bcd60e51b81526004016200011390620006af565b6001600160a01b038084166101408190528382166101205290821660e0526040805163570ca73560e01b8152905163570ca735916004808201926020929091908290030181865afa1580156200019f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c59190620006d5565b6001600160a01b031660c081905260408051636a4874a160e01b81529051636a4874a1916004808201926020929091908290030181865afa1580156200020f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002359190620006d5565b6001600160a01b031661010081905260c0516200025691906000196200027b565b620002706101405160c0516000196200027b60201b60201c565b505050505062000735565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b1790529151600092839290871691620002d99190620006f3565b6000604051808303816000865af19150503d806000811462000318576040519150601f19603f3d011682016040523d82523d6000602084013e6200031d565b606091505b50915091508180156200034b5750805115806200034b5750808060200190518101906200034b919062000711565b620003885760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b604482015260640162000113565b5050505050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003c2578181015183820152602001620003a8565b83811115620003d2576000848401525b50505050565b600082601f830112620003ea57600080fd5b81516001600160401b03808211156200040757620004076200038f565b604051601f8301601f19908116603f011681019082821181831017156200043257620004326200038f565b816040528381528660208588010111156200044c57600080fd5b6200045f846020830160208901620003a5565b9695505050505050565b80516001600160a01b03811681146200048157600080fd5b919050565b600080600080600060a086880312156200049f57600080fd5b85516001600160401b0380821115620004b757600080fd5b620004c589838a01620003d8565b96506020880151915080821115620004dc57600080fd5b50620004eb88828901620003d8565b945050620004fc6040870162000469565b92506200050c6060870162000469565b91506200051c6080870162000469565b90509295509295909350565b6000602082840312156200053b57600080fd5b815160ff811681146200054d57600080fd5b9392505050565b600181811c908216806200056957607f821691505b6020821081036200058a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620005de57600081815260208120601f850160051c81016020861015620005b95750805b601f850160051c820191505b81811015620005da57828155600101620005c5565b5050505b505050565b81516001600160401b03811115620005ff57620005ff6200038f565b620006178162000610845462000554565b8462000590565b602080601f8311600181146200064f5760008415620006365750858301515b600019600386901b1c1916600185901b178555620005da565b600085815260208120601f198616915b8281101562000680578886015182559484019460019091019084016200065f565b50858210156200069f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020808252600c908201526b7a65726f206164647265737360a01b604082015260600190565b600060208284031215620006e857600080fd5b6200054d8262000469565b6000825162000707818460208701620003a5565b9190910192915050565b6000602082840312156200072457600080fd5b815180151581146200054d57600080fd5b60805160a05160c05160e051610100516101205161014051612fc662000800600039600081816104aa0152818161078501528181610b5401528181610c2101528181610cef01528181610d1001526111630152600081816103ee01526113370152600081816104de01528181610b0001528181611128015281816112e301526113d901526000818161027801528181611435015281816114d5015281816121b40152612397015260008181610476015261145d01526000610422015260006103010152612fc66000f3fe60806040526004361061018d5760003560e01c806306fdde0314610199578063071bc3c9146101c4578063095ea7b3146101e6578063128fced11461021657806318160ddd146102435780631d73b7ea1461026657806320e8c565146102a7578063213cae63146102ba57806323b872dd146102cf578063313ce567146102ef5780633ba0b9a9146103355780635cbadbe41461035057806370a08231146103bc578063759cb53b146103dc57806376d5de8514610410578063784367d6146104445780637b38277d146104645780638d701ae914610498578063945c9142146104cc57806395d89b4114610500578063a2bbcf1314610515578063a40bee5014610535578063a9059cbb14610559578063a9f8d18114610579578063b8f82b261461058f578063c4f59f9b146105af578063cbe52ae3146105c4578063da88ecb4146105e4578063dd62ed3e146105f9578063ea64a82014610619578063ef5cfb8c1461065a578063f3f094a11461067a578063f8b2f9911461069a578063fa5a4f06146106af57600080fd5b3661019457005b600080fd5b3480156101a557600080fd5b506101ae6106cf565b6040516101bb9190612a04565b60405180910390f35b3480156101d057600080fd5b506101d9610761565b6040516101bb9190612a7b565b3480156101f257600080fd5b50610206610201366004612aaa565b6107da565b60405190151581526020016101bb565b34801561022257600080fd5b50610236610231366004612ad4565b6107f2565b6040516101bb9190612b1f565b34801561024f57600080fd5b506102586108fe565b6040519081526020016101bb565b34801561027257600080fd5b5061029a7f000000000000000000000000000000000000000000000000000000000000000081565b6040516101bb9190612b32565b6102586102b5366004612b46565b61090d565b3480156102c657600080fd5b506101d9610ade565b3480156102db57600080fd5b506102066102ea366004612b88565b610b86565b3480156102fb57600080fd5b506103237f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016101bb565b34801561034157600080fd5b50670de0b6b3a7640000610258565b34801561035c57600080fd5b5061039c61036b366004612bc4565b60056020908152600092835260408084209091529082529020546001600160801b0380821691600160801b90041682565b604080516001600160801b039384168152929091166020830152016101bb565b3480156103c857600080fd5b506102586103d7366004612ad4565b610c04565b3480156103e857600080fd5b5061029a7f000000000000000000000000000000000000000000000000000000000000000081565b34801561041c57600080fd5b5061029a7f000000000000000000000000000000000000000000000000000000000000000081565b34801561045057600080fd5b5061020661045f366004612ad4565b610c1f565b34801561047057600080fd5b5061029a7f000000000000000000000000000000000000000000000000000000000000000081565b3480156104a457600080fd5b5061029a7f000000000000000000000000000000000000000000000000000000000000000081565b3480156104d857600080fd5b5061029a7f000000000000000000000000000000000000000000000000000000000000000081565b34801561050c57600080fd5b506101ae610c51565b34801561052157600080fd5b50610258610530366004612b88565b610c60565b34801561054157600080fd5b5061054a610ce7565b6040516101bb93929190612bf7565b34801561056557600080fd5b50610206610574366004612aaa565b610d9b565b34801561058557600080fd5b5061025860065481565b34801561059b57600080fd5b506102586105aa366004612aaa565b610e0d565b3480156105bb57600080fd5b506101d9610e3d565b3480156105d057600080fd5b506102586105df366004612aaa565b610e4c565b3480156105f057600080fd5b50610236610e9b565b34801561060557600080fd5b50610258610614366004612bc4565b610f6c565b34801561062557600080fd5b5061039c610634366004612ad4565b6007602052600090815260409020546001600160801b0380821691600160801b90041682565b34801561066657600080fd5b50610236610675366004612ad4565b610f97565b34801561068657600080fd5b50610258610695366004612c39565b611056565b3480156106a657600080fd5b506102366110b2565b3480156106bb57600080fd5b506102066106ca366004612ad4565b611124565b6060600380546106de90612c7d565b80601f016020809104026020016040519081016040528092919081815260200182805461070a90612c7d565b80156107575780601f1061072c57610100808354040283529160200191610757565b820191906000526020600020905b81548152906001019060200180831161073a57829003601f168201915b5050505050905090565b604080516001808252818301909252606091602080830190803683370190505090507f0000000000000000000000000000000000000000000000000000000000000000816000815181106107b7576107b7612cc7565b60200260200101906001600160a01b031690816001600160a01b03168152505090565b6000336107e881858561119d565b5060019392505050565b606060006107fe6112c1565b905080516001600160401b0381111561081957610819612cb1565b604051908082528060200260200182016040528015610842578160200160208202803683370190505b50915060005b81518110156108f7576005600083838151811061086757610867612cc7565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000856001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b03168382815181106108e4576108e4612cc7565b6020908102919091010152600101610848565b5050919050565b6002546001600160f81b031690565b600254600090600119600160f81b90910460ff16016109475760405162461bcd60e51b815260040161093e90612cdd565b60405180910390fd5b600280546001600160f81b0316600160f91b17905561096584611124565b6109815760405162461bcd60e51b815260040161093e90612d14565b826000036109df5760405162461bcd60e51b815260206004820152602560248201527f5343593a20616d6f756e74546f6b656e546f4465706f7369742063616e6e6f74604482015264020626520360dc1b606482015260840161093e565b6001600160a01b038416610a3557823414610a305760405162461bcd60e51b81526020600482015260116024820152700a686b27440cae8d040dad2e6dac2e8c6d607b1b604482015260640161093e565b610a40565b610a40843385611369565b610a4a84846113d5565b905081811015610a6c5760405162461bcd60e51b815260040161093e90612d42565b610a768582611545565b60408051848152602081018390526001600160a01b03808716929088169133917f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d59910160405180910390a4600280546001600160f81b0316600160f81b179055949350505050565b60408051600280825260608083018452926020830190803683370190505090507f000000000000000000000000000000000000000000000000000000000000000081600081518110610b3257610b32612cc7565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000000000000000000000000000000000000000000000816001815181106107b7576107b7612cc7565b600254600090600119600160f81b90910460ff1601610bb75760405162461bcd60e51b815260040161093e90612cdd565b600280546001600160f81b0316600160f91b17905533610bd885828561165b565b610be38585856116d5565b6001915050600280546001600160f81b0316600160f81b1790559392505050565b6001600160a01b031660009081526020819052604090205490565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0390811691161490565b6060600480546106de90612c7d565b600254600090600119600160f81b90910460ff1601610c915760405162461bcd60e51b815260040161093e90612cdd565b600280546001600160f81b0316600160f91b1790556000610cb130610c04565b9050610cbd30826118f7565b610cc985828686611a7d565b600280546001600160f81b0316600160f81b17905595945050505050565b6000806000807f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d6c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d909190612d71565b925092509250909192565b600254600090600119600160f81b90910460ff1601610dcc5760405162461bcd60e51b815260040161093e90612cdd565b600280546001600160f81b0316600160f91b17905533610ded8185856116d5565b6001915050600280546001600160f81b0316600160f81b17905592915050565b6000610e1883611124565b610e345760405162461bcd60e51b815260040161093e90612d14565b815b9392505050565b6060610e476112c1565b905090565b6000610e5783610c1f565b610e345760405162461bcd60e51b815260206004820152601560248201527414d0d64e88125b9d985b1a59081d1bdad95b93dd5d605a1b604482015260640161093e565b60606000610ea76112c1565b905080516001600160401b03811115610ec257610ec2612cb1565b604051908082528060200260200182016040528015610eeb578160200160208202803683370190505b50915060005b8151811015610f675760076000838381518110610f1057610f10612cc7565b6020908102919091018101516001600160a01b031682528101919091526040016000205483516001600160801b0390911690849083908110610f5457610f54612cc7565b6020908102919091010152600101610ef1565b505090565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600254606090600119600160f81b90910460ff1601610fc85760405162461bcd60e51b815260040161093e90612cdd565b600280546001600160f81b0316600160f91b179055610fe682611bb4565b610ff08283611bc2565b9050816001600160a01b03167f2193aa20a3717f5f4ac79482f4f553e5f0afe8f4e6ec3e3d1aa2e138adc4763f6110256112c1565b83604051611034929190612d94565b60405180910390a2600280546001600160f81b0316600160f81b179055919050565b600254600090600119600160f81b90910460ff16016110875760405162461bcd60e51b815260040161093e90612cdd565b600280546001600160f81b0316600160f91b1790556110a633856118f7565b610cc985858585611a7d565b600254606090600119600160f81b90910460ff16016110e35760405162461bcd60e51b815260040161093e90612cdd565b600280546001600160f81b0316600160f91b179055611100611e6a565b505061110a610e9b565b9050600280546001600160f81b0316600160f81b17905590565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316148061119757507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316145b92915050565b6001600160a01b0383166111ff5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161093e565b6001600160a01b0382166112605760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161093e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60408051600280825260608083018452926020830190803683370190505090507f00000000000000000000000000000000000000000000000000000000000000008160008151811061131557611315612cc7565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000000000000000000000000000000000000000000000816001815181106107b7576107b7612cc7565b6001600160a01b0383166113ba578034146113b55760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b604482015260640161093e565b505050565b80156113b5576113b56001600160a01b038416833084612105565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316036114be5760405163203b5c7960e21b815260048101839052600060248201526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660448301527f000000000000000000000000000000000000000000000000000000000000000016906380ed71e490606401600060405180830381600087803b1580156114a157600080fd5b505af11580156114b5573d6000803e3d6000fd5b5050505061153f565b6040516305dc812160e31b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690632ee409089061150c9030908690600401612dc2565b600060405180830381600087803b15801561152657600080fd5b505af115801561153a573d6000803e3d6000fd5b505050505b50919050565b6001600160a01b03821661159b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161093e565b6115a760008383612170565b6115b08161217a565b600280546000906115cb9084906001600160f81b0316612df1565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555080600080846001600160a01b03166001600160a01b0316815260200190815260200160002060008282546116239190612e1c565b90915550506040518181526001600160a01b03831690600090600080516020612f718339815191529060200160405180910390a35050565b60006116678484610f6c565b905060001981146116cf57818110156116c25760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161093e565b6116cf848484840361119d565b50505050565b6001600160a01b0383166117395760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161093e565b6001600160a01b03821661179b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161093e565b816001600160a01b0316836001600160a01b0316036117f65760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b604482015260640161093e565b611801838383612170565b6001600160a01b038316600090815260208190526040902054818110156118795760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161093e565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906118b0908490612e1c565b92505081905550826001600160a01b0316846001600160a01b0316600080516020612f71833981519152846040516118ea91815260200190565b60405180910390a36116cf565b6001600160a01b0382166119575760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161093e565b61196382600083612170565b6001600160a01b038216600090815260208190526040902054818110156119d75760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161093e565b6001600160a01b038316600090815260208190526040902082820390556119fd8261217a565b60028054600090611a189084906001600160f81b0316612e34565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b0316600080516020612f7183398151915284604051611a7091815260200190565b60405180910390a3505050565b6000611a8883610c1f565b611acc5760405162461bcd60e51b815260206004820152601560248201527414d0d64e881a5b9d985b1a59081d1bdad95b93dd5d605a1b604482015260640161093e565b83600003611b2a5760405162461bcd60e51b815260206004820152602560248201527f5343593a20616d6f756e74536861726573546f52656465656d2063616e6e6f74604482015264020626520360dc1b606482015260840161093e565b611b348385612194565b905081811015611b565760405162461bcd60e51b815260040161093e90612d42565b611b61838683612231565b60408051858152602081018390526001600160a01b03808616929088169133917faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c910160405180910390a4949350505050565b611bbf8160006122f5565b50565b60606000611bce6112c1565b905080516001600160401b03811115611be957611be9612cb1565b604051908082528060200260200182016040528015611c12578160200160208202803683370190505b50915060005b8151811015611e625760056000838381518110611c3757611c37612cc7565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000866001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b0316838281518110611cb457611cb4612cc7565b602002602001018181525050828181518110611cd257611cd2612cc7565b6020026020010151600014611e5057600060056000848481518110611cf957611cf9612cc7565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000876001600160a01b03166001600160a01b0316815260200190815260200160002060000160106101000a8154816001600160801b0302191690836001600160801b03160217905550611d8d838281518110611d8057611d80612cc7565b6020026020010151612375565b60076000848481518110611da357611da3612cc7565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060000160108282829054906101000a90046001600160801b0316611def9190612e5c565b92506101000a8154816001600160801b0302191690836001600160801b03160217905550611e50828281518110611e2857611e28612cc7565b602002602001015185858481518110611e4357611e43612cc7565b6020026020010151612231565b80611e5a81612e7c565b915050611c18565b505092915050565b606080611e756112c1565b915081516001600160401b03811115611e9057611e90612cb1565b604051908082528060200260200182016040528015611eb9578160200160208202803683370190505b5090508151600003611ec9579091565b436006541461207d57436006556000611ee061238b565b9050611eea612395565b60005b835181101561207a576000848281518110611f0a57611f0a612cc7565b6020908102919091018101516001600160a01b0381166000908152600790925260408220548751919350600160801b90046001600160801b031690611f6890889086908110611f5b57611f5b612cc7565b6020026020010151612404565b611f729190612e95565b6001600160a01b0383166000908152600760205260408120549192506001600160801b0390911690819003611fa5575060015b8415611fc257611fb5828661248e565b611fbf9082612e1c565b90505b611fcb81612375565b6001600160a01b038416600090815260076020526040902080546001600160801b0319166001600160801b039290921691909117905561200a82612375565b6001600160a01b03841660009081526007602052604090208054601090612042908490600160801b90046001600160801b0316612eac565b92506101000a8154816001600160801b0302191690836001600160801b031602179055505050508061207390612e7c565b9050611eed565b50505b60005b8251811015612100576007600084838151811061209f5761209f612cc7565b6020908102919091018101516001600160a01b031682528101919091526040016000205482516001600160801b03909116908390839081106120e3576120e3612cc7565b6020908102919091010152806120f881612e7c565b915050612080565b509091565b6040516001600160a01b03808516602483015283166044820152606481018290526116cf9085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526124bd565b6113b583836122f5565b60006001600160f81b0382111561219057600080fd5b5090565b604051631c683a1b60e11b815260048101829052600060248201819052907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906338d07436906044016020604051808303816000875af1158015612205573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122299190612ece565b509092915050565b8060000361223e57505050565b6001600160a01b0383166122e1576000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612299576040519150601f19603f3d011682016040523d82523d6000602084013e61229e565b606091505b50509050806116cf5760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b604482015260640161093e565b6113b56001600160a01b038416838361258f565b600080612300611e6a565b9150915081516000036123135750505050565b6001600160a01b0384161580159061233457506001600160a01b0384163014155b15612344576123448483836125ae565b6001600160a01b0383161580159061236557506001600160a01b0383163014155b156116cf576116cf8383836125ae565b60006001600160801b0382111561219057600080fd5b6000610e476108fe565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316633d18b9126040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156123f057600080fd5b505af11580156116cf573d6000803e3d6000fd5b60006001600160a01b03821615612487576040516370a0823160e01b81526001600160a01b038316906370a0823190612441903090600401612b32565b602060405180830381865afa15801561245e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124829190612ef0565b611197565b4792915050565b6000806124a3670de0b6b3a764000085612f09565b90508281816124b4576124b4612f28565b04949350505050565b6000612512826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661282e9092919063ffffffff16565b8051909150156113b557808060200190518101906125309190612ece565b6113b55760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161093e565b6113b58363a9059cbb60e01b8484604051602401612139929190612dc2565b6001600160a01b038316158015906125cf57506001600160a01b0383163014155b6125db576125db612f3e565b60006125e684612845565b905060005b835181101561282757600084828151811061260857612608612cc7565b60200260200101519050600084838151811061262657612626612cc7565b6020908102919091018101516001600160a01b038085166000908152600584526040808220928c168252919093528220549092506001600160801b0316908190036126c25761267482612375565b6001600160a01b039384166000908152600560209081526040808320968c1683529590529390932080546001600160801b0319166001600160801b0390941693909317909255506128179050565b8181036126d157505050612817565b60006126dd8284612e95565b905060006126eb8783612850565b6001600160a01b038681166000908152600560209081526040808320938f1683529290529081205491925090612732908390600160801b90046001600160801b0316612e1c565b9050604051806040016040528061274887612375565b6001600160801b0316815260200161275f83612375565b6001600160801b031681525060056000886001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b031602179055509050505050505050505b61282081612e7c565b90506125eb565b5050505050565b606061283d848460008561286e565b949350505050565b600061119782610c04565b60008061285d8385612f09565b9050670de0b6b3a7640000816124b4565b6060824710156128cf5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161093e565b6001600160a01b0385163b6129265760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161093e565b600080866001600160a01b031685876040516129429190612f54565b60006040518083038185875af1925050503d806000811461297f576040519150601f19603f3d011682016040523d82523d6000602084013e612984565b606091505b509150915061299482828661299f565b979650505050505050565b606083156129ae575081610e36565b8251156129be5782518084602001fd5b8160405162461bcd60e51b815260040161093e9190612a04565b60005b838110156129f35781810151838201526020016129db565b838111156116cf5750506000910152565b6020815260008251806020840152612a238160408501602087016129d8565b601f01601f19169190910160400192915050565b600081518084526020808501945080840160005b83811015612a705781516001600160a01b031687529582019590820190600101612a4b565b509495945050505050565b602081526000610e366020830184612a37565b80356001600160a01b0381168114612aa557600080fd5b919050565b60008060408385031215612abd57600080fd5b612ac683612a8e565b946020939093013593505050565b600060208284031215612ae657600080fd5b610e3682612a8e565b600081518084526020808501945080840160005b83811015612a7057815187529582019590820190600101612b03565b602081526000610e366020830184612aef565b6001600160a01b0391909116815260200190565b60008060008060808587031215612b5c57600080fd5b612b6585612a8e565b9350612b7360208601612a8e565b93969395505050506040820135916060013590565b600080600060608486031215612b9d57600080fd5b612ba684612a8e565b9250612bb460208501612a8e565b9150604084013590509250925092565b60008060408385031215612bd757600080fd5b612be083612a8e565b9150612bee60208401612a8e565b90509250929050565b6060810160028510612c1957634e487b7160e01b600052602160045260246000fd5b9381526001600160a01b0392909216602083015260ff1660409091015290565b60008060008060808587031215612c4f57600080fd5b612c5885612a8e565b935060208501359250612c6d60408601612a8e565b9396929550929360600135925050565b600181811c90821680612c9157607f821691505b60208210810361153f57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526014908201527329a1ac9d1024b73b30b634b2103a37b5b2b724b760611b604082015260600190565b60208082526015908201527414d0d64e881a5b9cdd59999a58da595b9d081bdd5d605a1b604082015260600190565b600060208284031215612d8357600080fd5b815160ff81168114610e3657600080fd5b604081526000612da76040830185612a37565b8281036020840152612db98185612aef565b95945050505050565b6001600160a01b03929092168252602082015260400190565b634e487b7160e01b600052601160045260246000fd5b60006001600160f81b03828116848216808303821115612e1357612e13612ddb565b01949350505050565b60008219821115612e2f57612e2f612ddb565b500190565b60006001600160f81b0383811690831681811015612e5457612e54612ddb565b039392505050565b60006001600160801b0383811690831681811015612e5457612e54612ddb565b600060018201612e8e57612e8e612ddb565b5060010190565b600082821015612ea757612ea7612ddb565b500390565b60006001600160801b03828116848216808303821115612e1357612e13612ddb565b600060208284031215612ee057600080fd5b81518015158114610e3657600080fd5b600060208284031215612f0257600080fd5b5051919050565b6000816000190483118215151615612f2357612f23612ddb565b500290565b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052600160045260246000fd5b60008251612f668184602087016129d8565b919091019291505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122094c0c1ab6c7fea2a6b14c4e153dd2a08c004dd51c869bfc666f7c8abbae7d62a64736f6c634300080f0033";
|
|
838
|
+
|
|
839
|
+
type PendleCvxCRVSCYConstructorParams =
|
|
840
|
+
| [signer?: Signer]
|
|
841
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
842
|
+
|
|
843
|
+
const isSuperArgs = (
|
|
844
|
+
xs: PendleCvxCRVSCYConstructorParams
|
|
845
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
846
|
+
|
|
847
|
+
export class PendleCvxCRVSCY__factory extends ContractFactory {
|
|
848
|
+
constructor(...args: PendleCvxCRVSCYConstructorParams) {
|
|
849
|
+
if (isSuperArgs(args)) {
|
|
850
|
+
super(...args);
|
|
851
|
+
} else {
|
|
852
|
+
super(_abi, _bytecode, args[0]);
|
|
853
|
+
}
|
|
854
|
+
this.contractName = "PendleCvxCRVSCY";
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
deploy(
|
|
858
|
+
_name: string,
|
|
859
|
+
_symbol: string,
|
|
860
|
+
_cvxCrv: string,
|
|
861
|
+
_cvx: string,
|
|
862
|
+
_baseRewards: string,
|
|
863
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
864
|
+
): Promise<PendleCvxCRVSCY> {
|
|
865
|
+
return super.deploy(
|
|
866
|
+
_name,
|
|
867
|
+
_symbol,
|
|
868
|
+
_cvxCrv,
|
|
869
|
+
_cvx,
|
|
870
|
+
_baseRewards,
|
|
871
|
+
overrides || {}
|
|
872
|
+
) as Promise<PendleCvxCRVSCY>;
|
|
873
|
+
}
|
|
874
|
+
getDeployTransaction(
|
|
875
|
+
_name: string,
|
|
876
|
+
_symbol: string,
|
|
877
|
+
_cvxCrv: string,
|
|
878
|
+
_cvx: string,
|
|
879
|
+
_baseRewards: string,
|
|
880
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
881
|
+
): TransactionRequest {
|
|
882
|
+
return super.getDeployTransaction(
|
|
883
|
+
_name,
|
|
884
|
+
_symbol,
|
|
885
|
+
_cvxCrv,
|
|
886
|
+
_cvx,
|
|
887
|
+
_baseRewards,
|
|
888
|
+
overrides || {}
|
|
889
|
+
);
|
|
890
|
+
}
|
|
891
|
+
attach(address: string): PendleCvxCRVSCY {
|
|
892
|
+
return super.attach(address) as PendleCvxCRVSCY;
|
|
893
|
+
}
|
|
894
|
+
connect(signer: Signer): PendleCvxCRVSCY__factory {
|
|
895
|
+
return super.connect(signer) as PendleCvxCRVSCY__factory;
|
|
896
|
+
}
|
|
897
|
+
static readonly contractName: "PendleCvxCRVSCY";
|
|
898
|
+
public readonly contractName: "PendleCvxCRVSCY";
|
|
899
|
+
static readonly bytecode = _bytecode;
|
|
900
|
+
static readonly abi = _abi;
|
|
901
|
+
static createInterface(): PendleCvxCRVSCYInterface {
|
|
902
|
+
return new utils.Interface(_abi) as PendleCvxCRVSCYInterface;
|
|
903
|
+
}
|
|
904
|
+
static connect(
|
|
905
|
+
address: string,
|
|
906
|
+
signerOrProvider: Signer | Provider
|
|
907
|
+
): PendleCvxCRVSCY {
|
|
908
|
+
return new Contract(address, _abi, signerOrProvider) as PendleCvxCRVSCY;
|
|
909
|
+
}
|
|
910
|
+
}
|