@pendle/core-v2 2.17.7-tradingbot → 2.18.0-tradingbot
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/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/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/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/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAWethHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearMath.sol/LinearMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearPreview.sol/LinearPreview.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/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/PendleSfrxEthSY.sol/PendleSfrxEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/TradingBot/BotActionCallback.sol/BotActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/core/TradingBot/BotActionCallback.sol/BotActionCallback.json +32 -17
- package/build/artifacts/contracts/core/TradingBot/BotActionHelper.sol/BotActionHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/TradingBot/BotActionHelper.sol/BotActionHelper.json +32 -17
- package/build/artifacts/contracts/core/TradingBot/BotSimulationLib.sol/BotSimulationLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/TradingBot/BotSimulationLib.sol/BotSimulationLib.json +2 -2
- package/build/artifacts/contracts/core/TradingBot/LongYieldDecisionHelper.sol/LongYieldDecisionHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/TradingBot/LongYieldDecisionHelper.sol/LongYieldDecisionHelper.json +1190 -0
- package/build/artifacts/contracts/core/TradingBot/LongYieldTradingBot.sol/LongYieldTradingBot.dbg.json +1 -1
- package/build/artifacts/contracts/core/TradingBot/LongYieldTradingBot.sol/LongYieldTradingBot.json +301 -397
- package/build/artifacts/contracts/core/TradingBot/MarketExtLib.sol/MarketExtLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/TradingBot/SpecSegmentLib.sol/SpecSegmentLib.dbg.json +4 -0
- package/build/artifacts/contracts/core/TradingBot/SpecSegmentLib.sol/SpecSegmentLib.json +10 -0
- package/build/artifacts/contracts/core/TradingBot/TradingBotBase.sol/TradingBotBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/TradingBot/TradingBotBase.sol/TradingBotBase.json +32 -17
- 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/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/TokenAmountLib.sol/TokenAmountLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IERC4626LinearPool.sol/IERC4626LinearPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotPair.sol/ICamelotPair.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/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/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/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/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/TradingBot/IBotDecisionHelper.sol/IBotDecisionHelper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/TradingBot/IBotDecisionHelper.sol/IBotDecisionHelper.json +542 -581
- package/build/artifacts/contracts/interfaces/TradingBot/ILongYieldTradingBot.sol/ILongYieldTradingBot.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/TradingBot/ILongYieldTradingBot.sol/ILongYieldTradingBot.json +256 -325
- package/build/artifacts/contracts/interfaces/TradingBot/ITradingBotBase.sol/ITradingBotBase.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/TradingBot/ITradingBotBase.sol/ITradingBotBase.json +6 -17
- package/build/artifacts/contracts/offchain-helpers/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.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/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/PendlePtUsdChainlinkOracle.sol/PendlePtUsdChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.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/PendleRouterHelper.sol/PendleRouterHelper.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/PendleSwap.sol/PendleSwap.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IExecutorHelper.sol/IExecutorHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IHashflow.sol/IHashflow.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberInputScalingHelper.sol/KyberInputScalingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScalingDataLib.sol/ScalingDataLib.dbg.json +1 -1
- package/contracts/core/TradingBot/BotActionCallback.sol +1 -1
- package/contracts/core/TradingBot/BotActionHelper.sol +1 -3
- package/contracts/core/TradingBot/BotSimulationLib.sol +2 -1
- package/contracts/core/TradingBot/LongYieldDecisionHelper.sol +413 -0
- package/contracts/core/TradingBot/LongYieldTradingBot.sol +63 -91
- package/contracts/core/TradingBot/SpecSegmentLib.sol +62 -0
- package/contracts/core/TradingBot/TradingBotBase.sol +14 -9
- package/contracts/interfaces/TradingBot/IBotDecisionHelper.sol +41 -57
- package/contracts/interfaces/TradingBot/ILongYieldTradingBot.sol +24 -34
- package/contracts/interfaces/TradingBot/ITradingBotBase.sol +1 -3
- package/package.json +1 -1
- package/typechain-types/BotActionCallback.ts +40 -22
- package/typechain-types/BotActionHelper.ts +40 -22
- package/typechain-types/BotDecisionHelper.ts +221 -187
- package/typechain-types/IAnkrBNB.ts +150 -0
- package/typechain-types/IAnkrLiquidStaking.ts +253 -0
- package/typechain-types/IBotDecisionHelper.ts +142 -212
- package/typechain-types/ILongYieldTradingBot.ts +147 -230
- package/typechain-types/ISwETH.ts +123 -0
- package/typechain-types/ITradingBotBase.ts +14 -22
- package/typechain-types/LongYieldDecisionHelper.ts +598 -0
- package/typechain-types/LongYieldTradingBot.ts +191 -248
- package/typechain-types/PendleAnkrBNBSY.ts +1235 -0
- package/typechain-types/PendleAuraWstethAnkreth.ts +1511 -0
- package/typechain-types/PendleSwETH.ts +1216 -0
- package/typechain-types/PendleThenaSY.ts +153 -0
- package/typechain-types/PendleWbEthSY.ts +1229 -0
- package/typechain-types/ThenaLpHelper.ts +19 -0
- package/typechain-types/ThenaMath.ts +87 -0
- package/typechain-types/ThenaPreview.ts +19 -0
- package/typechain-types/TradingBotBase.ts +40 -22
- package/typechain-types/factories/BotActionCallback__factory.ts +31 -16
- package/typechain-types/factories/BotActionHelper__factory.ts +31 -16
- package/typechain-types/factories/BotDecisionHelper__factory.ts +490 -421
- package/typechain-types/factories/IAnkrBNB__factory.ts +74 -0
- package/typechain-types/factories/IAnkrLiquidStaking__factory.ts +123 -0
- package/typechain-types/factories/IBotDecisionHelper__factory.ts +540 -579
- package/typechain-types/factories/ILongYieldTradingBot__factory.ts +255 -324
- package/typechain-types/factories/ISwETH__factory.ts +53 -0
- package/typechain-types/factories/ITradingBotBase__factory.ts +6 -17
- package/typechain-types/factories/LongYieldDecisionHelper__factory.ts +1247 -0
- package/typechain-types/factories/LongYieldTradingBot__factory.ts +301 -393
- package/typechain-types/factories/PendleAnkrBNBSY__factory.ts +1100 -0
- package/typechain-types/factories/PendleAuraWstethAnkreth__factory.ts +1244 -0
- package/typechain-types/factories/PendleSwETH__factory.ts +1022 -0
- package/typechain-types/factories/PendleThenaSY__factory.ts +85 -1
- package/typechain-types/factories/PendleWbEthSY__factory.ts +1049 -0
- package/typechain-types/factories/PtAndLpToAsset__factory.ts +1 -1
- package/typechain-types/factories/ThenaLpHelper__factory.ts +13 -0
- package/typechain-types/factories/ThenaMath__factory.ts +36 -0
- package/typechain-types/factories/ThenaPreview__factory.ts +14 -1
- package/typechain-types/factories/TradingBotBase__factory.ts +31 -16
- package/typechain-types/hardhat.d.ts +4 -40
- package/typechain-types/index.ts +2 -10
- package/build/artifacts/contracts/core/TradingBot/BotDecisionHelper.sol/BotDecisionHelper.dbg.json +0 -4
- package/build/artifacts/contracts/core/TradingBot/BotDecisionHelper.sol/BotDecisionHelper.json +0 -1070
- package/contracts/core/TradingBot/BotDecisionHelper.sol +0 -306
|
@@ -0,0 +1,1244 @@
|
|
|
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
|
+
PendleAuraWstethAnkreth,
|
|
8
|
+
PendleAuraWstethAnkrethInterface,
|
|
9
|
+
} from "../PendleAuraWstethAnkreth";
|
|
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: "contract ComposableStablePreview",
|
|
26
|
+
name: "_composablePreviewHelper",
|
|
27
|
+
type: "address",
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
stateMutability: "nonpayable",
|
|
31
|
+
type: "constructor",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
inputs: [],
|
|
35
|
+
name: "SYBalancerInvalidPid",
|
|
36
|
+
type: "error",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
inputs: [],
|
|
40
|
+
name: "SYBalancerReentrancy",
|
|
41
|
+
type: "error",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
inputs: [
|
|
45
|
+
{
|
|
46
|
+
internalType: "uint256",
|
|
47
|
+
name: "actualSharesOut",
|
|
48
|
+
type: "uint256",
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
internalType: "uint256",
|
|
52
|
+
name: "requiredSharesOut",
|
|
53
|
+
type: "uint256",
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
name: "SYInsufficientSharesOut",
|
|
57
|
+
type: "error",
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
inputs: [
|
|
61
|
+
{
|
|
62
|
+
internalType: "uint256",
|
|
63
|
+
name: "actualTokenOut",
|
|
64
|
+
type: "uint256",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
internalType: "uint256",
|
|
68
|
+
name: "requiredTokenOut",
|
|
69
|
+
type: "uint256",
|
|
70
|
+
},
|
|
71
|
+
],
|
|
72
|
+
name: "SYInsufficientTokenOut",
|
|
73
|
+
type: "error",
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
inputs: [
|
|
77
|
+
{
|
|
78
|
+
internalType: "address",
|
|
79
|
+
name: "token",
|
|
80
|
+
type: "address",
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
name: "SYInvalidRewardToken",
|
|
84
|
+
type: "error",
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
inputs: [
|
|
88
|
+
{
|
|
89
|
+
internalType: "address",
|
|
90
|
+
name: "token",
|
|
91
|
+
type: "address",
|
|
92
|
+
},
|
|
93
|
+
],
|
|
94
|
+
name: "SYInvalidTokenIn",
|
|
95
|
+
type: "error",
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
inputs: [
|
|
99
|
+
{
|
|
100
|
+
internalType: "address",
|
|
101
|
+
name: "token",
|
|
102
|
+
type: "address",
|
|
103
|
+
},
|
|
104
|
+
],
|
|
105
|
+
name: "SYInvalidTokenOut",
|
|
106
|
+
type: "error",
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
inputs: [],
|
|
110
|
+
name: "SYZeroDeposit",
|
|
111
|
+
type: "error",
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
inputs: [],
|
|
115
|
+
name: "SYZeroRedeem",
|
|
116
|
+
type: "error",
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
anonymous: false,
|
|
120
|
+
inputs: [
|
|
121
|
+
{
|
|
122
|
+
indexed: true,
|
|
123
|
+
internalType: "address",
|
|
124
|
+
name: "owner",
|
|
125
|
+
type: "address",
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
indexed: true,
|
|
129
|
+
internalType: "address",
|
|
130
|
+
name: "spender",
|
|
131
|
+
type: "address",
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
indexed: false,
|
|
135
|
+
internalType: "uint256",
|
|
136
|
+
name: "value",
|
|
137
|
+
type: "uint256",
|
|
138
|
+
},
|
|
139
|
+
],
|
|
140
|
+
name: "Approval",
|
|
141
|
+
type: "event",
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
anonymous: false,
|
|
145
|
+
inputs: [
|
|
146
|
+
{
|
|
147
|
+
indexed: true,
|
|
148
|
+
internalType: "address",
|
|
149
|
+
name: "user",
|
|
150
|
+
type: "address",
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
indexed: false,
|
|
154
|
+
internalType: "address[]",
|
|
155
|
+
name: "rewardTokens",
|
|
156
|
+
type: "address[]",
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
indexed: false,
|
|
160
|
+
internalType: "uint256[]",
|
|
161
|
+
name: "rewardAmounts",
|
|
162
|
+
type: "uint256[]",
|
|
163
|
+
},
|
|
164
|
+
],
|
|
165
|
+
name: "ClaimRewards",
|
|
166
|
+
type: "event",
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
anonymous: false,
|
|
170
|
+
inputs: [
|
|
171
|
+
{
|
|
172
|
+
indexed: true,
|
|
173
|
+
internalType: "address",
|
|
174
|
+
name: "caller",
|
|
175
|
+
type: "address",
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
indexed: true,
|
|
179
|
+
internalType: "address",
|
|
180
|
+
name: "receiver",
|
|
181
|
+
type: "address",
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
indexed: true,
|
|
185
|
+
internalType: "address",
|
|
186
|
+
name: "tokenIn",
|
|
187
|
+
type: "address",
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
indexed: false,
|
|
191
|
+
internalType: "uint256",
|
|
192
|
+
name: "amountDeposited",
|
|
193
|
+
type: "uint256",
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
indexed: false,
|
|
197
|
+
internalType: "uint256",
|
|
198
|
+
name: "amountSyOut",
|
|
199
|
+
type: "uint256",
|
|
200
|
+
},
|
|
201
|
+
],
|
|
202
|
+
name: "Deposit",
|
|
203
|
+
type: "event",
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
anonymous: false,
|
|
207
|
+
inputs: [
|
|
208
|
+
{
|
|
209
|
+
indexed: false,
|
|
210
|
+
internalType: "uint8",
|
|
211
|
+
name: "version",
|
|
212
|
+
type: "uint8",
|
|
213
|
+
},
|
|
214
|
+
],
|
|
215
|
+
name: "Initialized",
|
|
216
|
+
type: "event",
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
anonymous: false,
|
|
220
|
+
inputs: [
|
|
221
|
+
{
|
|
222
|
+
indexed: true,
|
|
223
|
+
internalType: "address",
|
|
224
|
+
name: "previousOwner",
|
|
225
|
+
type: "address",
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
indexed: true,
|
|
229
|
+
internalType: "address",
|
|
230
|
+
name: "newOwner",
|
|
231
|
+
type: "address",
|
|
232
|
+
},
|
|
233
|
+
],
|
|
234
|
+
name: "OwnershipTransferred",
|
|
235
|
+
type: "event",
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
anonymous: false,
|
|
239
|
+
inputs: [
|
|
240
|
+
{
|
|
241
|
+
indexed: false,
|
|
242
|
+
internalType: "address",
|
|
243
|
+
name: "account",
|
|
244
|
+
type: "address",
|
|
245
|
+
},
|
|
246
|
+
],
|
|
247
|
+
name: "Paused",
|
|
248
|
+
type: "event",
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
anonymous: false,
|
|
252
|
+
inputs: [
|
|
253
|
+
{
|
|
254
|
+
indexed: true,
|
|
255
|
+
internalType: "address",
|
|
256
|
+
name: "caller",
|
|
257
|
+
type: "address",
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
indexed: true,
|
|
261
|
+
internalType: "address",
|
|
262
|
+
name: "receiver",
|
|
263
|
+
type: "address",
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
indexed: true,
|
|
267
|
+
internalType: "address",
|
|
268
|
+
name: "tokenOut",
|
|
269
|
+
type: "address",
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
indexed: false,
|
|
273
|
+
internalType: "uint256",
|
|
274
|
+
name: "amountSyToRedeem",
|
|
275
|
+
type: "uint256",
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
indexed: false,
|
|
279
|
+
internalType: "uint256",
|
|
280
|
+
name: "amountTokenOut",
|
|
281
|
+
type: "uint256",
|
|
282
|
+
},
|
|
283
|
+
],
|
|
284
|
+
name: "Redeem",
|
|
285
|
+
type: "event",
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
anonymous: false,
|
|
289
|
+
inputs: [
|
|
290
|
+
{
|
|
291
|
+
indexed: true,
|
|
292
|
+
internalType: "address",
|
|
293
|
+
name: "from",
|
|
294
|
+
type: "address",
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
indexed: true,
|
|
298
|
+
internalType: "address",
|
|
299
|
+
name: "to",
|
|
300
|
+
type: "address",
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
indexed: false,
|
|
304
|
+
internalType: "uint256",
|
|
305
|
+
name: "value",
|
|
306
|
+
type: "uint256",
|
|
307
|
+
},
|
|
308
|
+
],
|
|
309
|
+
name: "Transfer",
|
|
310
|
+
type: "event",
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
anonymous: false,
|
|
314
|
+
inputs: [
|
|
315
|
+
{
|
|
316
|
+
indexed: false,
|
|
317
|
+
internalType: "address",
|
|
318
|
+
name: "account",
|
|
319
|
+
type: "address",
|
|
320
|
+
},
|
|
321
|
+
],
|
|
322
|
+
name: "Unpaused",
|
|
323
|
+
type: "event",
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
inputs: [],
|
|
327
|
+
name: "DOMAIN_SEPARATOR",
|
|
328
|
+
outputs: [
|
|
329
|
+
{
|
|
330
|
+
internalType: "bytes32",
|
|
331
|
+
name: "",
|
|
332
|
+
type: "bytes32",
|
|
333
|
+
},
|
|
334
|
+
],
|
|
335
|
+
stateMutability: "view",
|
|
336
|
+
type: "function",
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
inputs: [
|
|
340
|
+
{
|
|
341
|
+
internalType: "address",
|
|
342
|
+
name: "user",
|
|
343
|
+
type: "address",
|
|
344
|
+
},
|
|
345
|
+
],
|
|
346
|
+
name: "accruedRewards",
|
|
347
|
+
outputs: [
|
|
348
|
+
{
|
|
349
|
+
internalType: "uint256[]",
|
|
350
|
+
name: "rewardAmounts",
|
|
351
|
+
type: "uint256[]",
|
|
352
|
+
},
|
|
353
|
+
],
|
|
354
|
+
stateMutability: "view",
|
|
355
|
+
type: "function",
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
inputs: [
|
|
359
|
+
{
|
|
360
|
+
internalType: "address",
|
|
361
|
+
name: "token",
|
|
362
|
+
type: "address",
|
|
363
|
+
},
|
|
364
|
+
],
|
|
365
|
+
name: "addRewardTokens",
|
|
366
|
+
outputs: [],
|
|
367
|
+
stateMutability: "nonpayable",
|
|
368
|
+
type: "function",
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
inputs: [
|
|
372
|
+
{
|
|
373
|
+
internalType: "address",
|
|
374
|
+
name: "owner",
|
|
375
|
+
type: "address",
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
internalType: "address",
|
|
379
|
+
name: "spender",
|
|
380
|
+
type: "address",
|
|
381
|
+
},
|
|
382
|
+
],
|
|
383
|
+
name: "allowance",
|
|
384
|
+
outputs: [
|
|
385
|
+
{
|
|
386
|
+
internalType: "uint256",
|
|
387
|
+
name: "",
|
|
388
|
+
type: "uint256",
|
|
389
|
+
},
|
|
390
|
+
],
|
|
391
|
+
stateMutability: "view",
|
|
392
|
+
type: "function",
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
inputs: [
|
|
396
|
+
{
|
|
397
|
+
internalType: "address",
|
|
398
|
+
name: "spender",
|
|
399
|
+
type: "address",
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
internalType: "uint256",
|
|
403
|
+
name: "amount",
|
|
404
|
+
type: "uint256",
|
|
405
|
+
},
|
|
406
|
+
],
|
|
407
|
+
name: "approve",
|
|
408
|
+
outputs: [
|
|
409
|
+
{
|
|
410
|
+
internalType: "bool",
|
|
411
|
+
name: "",
|
|
412
|
+
type: "bool",
|
|
413
|
+
},
|
|
414
|
+
],
|
|
415
|
+
stateMutability: "nonpayable",
|
|
416
|
+
type: "function",
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
inputs: [],
|
|
420
|
+
name: "assetInfo",
|
|
421
|
+
outputs: [
|
|
422
|
+
{
|
|
423
|
+
internalType: "enum IStandardizedYield.AssetType",
|
|
424
|
+
name: "assetType",
|
|
425
|
+
type: "uint8",
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
internalType: "address",
|
|
429
|
+
name: "assetAddress",
|
|
430
|
+
type: "address",
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
internalType: "uint8",
|
|
434
|
+
name: "assetDecimals",
|
|
435
|
+
type: "uint8",
|
|
436
|
+
},
|
|
437
|
+
],
|
|
438
|
+
stateMutability: "view",
|
|
439
|
+
type: "function",
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
inputs: [],
|
|
443
|
+
name: "auraPid",
|
|
444
|
+
outputs: [
|
|
445
|
+
{
|
|
446
|
+
internalType: "uint256",
|
|
447
|
+
name: "",
|
|
448
|
+
type: "uint256",
|
|
449
|
+
},
|
|
450
|
+
],
|
|
451
|
+
stateMutability: "view",
|
|
452
|
+
type: "function",
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
inputs: [],
|
|
456
|
+
name: "auraRewardManager",
|
|
457
|
+
outputs: [
|
|
458
|
+
{
|
|
459
|
+
internalType: "address",
|
|
460
|
+
name: "",
|
|
461
|
+
type: "address",
|
|
462
|
+
},
|
|
463
|
+
],
|
|
464
|
+
stateMutability: "view",
|
|
465
|
+
type: "function",
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
inputs: [],
|
|
469
|
+
name: "balLp",
|
|
470
|
+
outputs: [
|
|
471
|
+
{
|
|
472
|
+
internalType: "address",
|
|
473
|
+
name: "",
|
|
474
|
+
type: "address",
|
|
475
|
+
},
|
|
476
|
+
],
|
|
477
|
+
stateMutability: "view",
|
|
478
|
+
type: "function",
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
inputs: [],
|
|
482
|
+
name: "balPoolId",
|
|
483
|
+
outputs: [
|
|
484
|
+
{
|
|
485
|
+
internalType: "bytes32",
|
|
486
|
+
name: "",
|
|
487
|
+
type: "bytes32",
|
|
488
|
+
},
|
|
489
|
+
],
|
|
490
|
+
stateMutability: "view",
|
|
491
|
+
type: "function",
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
inputs: [
|
|
495
|
+
{
|
|
496
|
+
internalType: "address",
|
|
497
|
+
name: "account",
|
|
498
|
+
type: "address",
|
|
499
|
+
},
|
|
500
|
+
],
|
|
501
|
+
name: "balanceOf",
|
|
502
|
+
outputs: [
|
|
503
|
+
{
|
|
504
|
+
internalType: "uint256",
|
|
505
|
+
name: "",
|
|
506
|
+
type: "uint256",
|
|
507
|
+
},
|
|
508
|
+
],
|
|
509
|
+
stateMutability: "view",
|
|
510
|
+
type: "function",
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
inputs: [],
|
|
514
|
+
name: "claimOwnership",
|
|
515
|
+
outputs: [],
|
|
516
|
+
stateMutability: "nonpayable",
|
|
517
|
+
type: "function",
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
inputs: [
|
|
521
|
+
{
|
|
522
|
+
internalType: "address",
|
|
523
|
+
name: "user",
|
|
524
|
+
type: "address",
|
|
525
|
+
},
|
|
526
|
+
],
|
|
527
|
+
name: "claimRewards",
|
|
528
|
+
outputs: [
|
|
529
|
+
{
|
|
530
|
+
internalType: "uint256[]",
|
|
531
|
+
name: "rewardAmounts",
|
|
532
|
+
type: "uint256[]",
|
|
533
|
+
},
|
|
534
|
+
],
|
|
535
|
+
stateMutability: "nonpayable",
|
|
536
|
+
type: "function",
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
inputs: [],
|
|
540
|
+
name: "decimals",
|
|
541
|
+
outputs: [
|
|
542
|
+
{
|
|
543
|
+
internalType: "uint8",
|
|
544
|
+
name: "",
|
|
545
|
+
type: "uint8",
|
|
546
|
+
},
|
|
547
|
+
],
|
|
548
|
+
stateMutability: "view",
|
|
549
|
+
type: "function",
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
inputs: [
|
|
553
|
+
{
|
|
554
|
+
internalType: "address",
|
|
555
|
+
name: "receiver",
|
|
556
|
+
type: "address",
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
internalType: "address",
|
|
560
|
+
name: "tokenIn",
|
|
561
|
+
type: "address",
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
internalType: "uint256",
|
|
565
|
+
name: "amountTokenToDeposit",
|
|
566
|
+
type: "uint256",
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
internalType: "uint256",
|
|
570
|
+
name: "minSharesOut",
|
|
571
|
+
type: "uint256",
|
|
572
|
+
},
|
|
573
|
+
],
|
|
574
|
+
name: "deposit",
|
|
575
|
+
outputs: [
|
|
576
|
+
{
|
|
577
|
+
internalType: "uint256",
|
|
578
|
+
name: "amountSharesOut",
|
|
579
|
+
type: "uint256",
|
|
580
|
+
},
|
|
581
|
+
],
|
|
582
|
+
stateMutability: "payable",
|
|
583
|
+
type: "function",
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
inputs: [],
|
|
587
|
+
name: "exchangeRate",
|
|
588
|
+
outputs: [
|
|
589
|
+
{
|
|
590
|
+
internalType: "uint256",
|
|
591
|
+
name: "",
|
|
592
|
+
type: "uint256",
|
|
593
|
+
},
|
|
594
|
+
],
|
|
595
|
+
stateMutability: "view",
|
|
596
|
+
type: "function",
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
inputs: [
|
|
600
|
+
{
|
|
601
|
+
internalType: "uint256",
|
|
602
|
+
name: "",
|
|
603
|
+
type: "uint256",
|
|
604
|
+
},
|
|
605
|
+
],
|
|
606
|
+
name: "extraRewards",
|
|
607
|
+
outputs: [
|
|
608
|
+
{
|
|
609
|
+
internalType: "address",
|
|
610
|
+
name: "",
|
|
611
|
+
type: "address",
|
|
612
|
+
},
|
|
613
|
+
],
|
|
614
|
+
stateMutability: "view",
|
|
615
|
+
type: "function",
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
inputs: [],
|
|
619
|
+
name: "extraRewardsLength",
|
|
620
|
+
outputs: [
|
|
621
|
+
{
|
|
622
|
+
internalType: "uint256",
|
|
623
|
+
name: "",
|
|
624
|
+
type: "uint256",
|
|
625
|
+
},
|
|
626
|
+
],
|
|
627
|
+
stateMutability: "view",
|
|
628
|
+
type: "function",
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
inputs: [],
|
|
632
|
+
name: "gasForReentrancyCheck",
|
|
633
|
+
outputs: [
|
|
634
|
+
{
|
|
635
|
+
internalType: "uint256",
|
|
636
|
+
name: "",
|
|
637
|
+
type: "uint256",
|
|
638
|
+
},
|
|
639
|
+
],
|
|
640
|
+
stateMutability: "view",
|
|
641
|
+
type: "function",
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
inputs: [],
|
|
645
|
+
name: "getRewardTokens",
|
|
646
|
+
outputs: [
|
|
647
|
+
{
|
|
648
|
+
internalType: "address[]",
|
|
649
|
+
name: "rewardTokens",
|
|
650
|
+
type: "address[]",
|
|
651
|
+
},
|
|
652
|
+
],
|
|
653
|
+
stateMutability: "view",
|
|
654
|
+
type: "function",
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
inputs: [],
|
|
658
|
+
name: "getTokensIn",
|
|
659
|
+
outputs: [
|
|
660
|
+
{
|
|
661
|
+
internalType: "address[]",
|
|
662
|
+
name: "res",
|
|
663
|
+
type: "address[]",
|
|
664
|
+
},
|
|
665
|
+
],
|
|
666
|
+
stateMutability: "pure",
|
|
667
|
+
type: "function",
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
inputs: [],
|
|
671
|
+
name: "getTokensOut",
|
|
672
|
+
outputs: [
|
|
673
|
+
{
|
|
674
|
+
internalType: "address[]",
|
|
675
|
+
name: "res",
|
|
676
|
+
type: "address[]",
|
|
677
|
+
},
|
|
678
|
+
],
|
|
679
|
+
stateMutability: "pure",
|
|
680
|
+
type: "function",
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
inputs: [
|
|
684
|
+
{
|
|
685
|
+
internalType: "address",
|
|
686
|
+
name: "token",
|
|
687
|
+
type: "address",
|
|
688
|
+
},
|
|
689
|
+
],
|
|
690
|
+
name: "isValidTokenIn",
|
|
691
|
+
outputs: [
|
|
692
|
+
{
|
|
693
|
+
internalType: "bool",
|
|
694
|
+
name: "",
|
|
695
|
+
type: "bool",
|
|
696
|
+
},
|
|
697
|
+
],
|
|
698
|
+
stateMutability: "pure",
|
|
699
|
+
type: "function",
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
inputs: [
|
|
703
|
+
{
|
|
704
|
+
internalType: "address",
|
|
705
|
+
name: "token",
|
|
706
|
+
type: "address",
|
|
707
|
+
},
|
|
708
|
+
],
|
|
709
|
+
name: "isValidTokenOut",
|
|
710
|
+
outputs: [
|
|
711
|
+
{
|
|
712
|
+
internalType: "bool",
|
|
713
|
+
name: "",
|
|
714
|
+
type: "bool",
|
|
715
|
+
},
|
|
716
|
+
],
|
|
717
|
+
stateMutability: "pure",
|
|
718
|
+
type: "function",
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
inputs: [],
|
|
722
|
+
name: "lastRewardBlock",
|
|
723
|
+
outputs: [
|
|
724
|
+
{
|
|
725
|
+
internalType: "uint256",
|
|
726
|
+
name: "",
|
|
727
|
+
type: "uint256",
|
|
728
|
+
},
|
|
729
|
+
],
|
|
730
|
+
stateMutability: "view",
|
|
731
|
+
type: "function",
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
inputs: [],
|
|
735
|
+
name: "name",
|
|
736
|
+
outputs: [
|
|
737
|
+
{
|
|
738
|
+
internalType: "string",
|
|
739
|
+
name: "",
|
|
740
|
+
type: "string",
|
|
741
|
+
},
|
|
742
|
+
],
|
|
743
|
+
stateMutability: "view",
|
|
744
|
+
type: "function",
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
inputs: [
|
|
748
|
+
{
|
|
749
|
+
internalType: "address",
|
|
750
|
+
name: "owner",
|
|
751
|
+
type: "address",
|
|
752
|
+
},
|
|
753
|
+
],
|
|
754
|
+
name: "nonces",
|
|
755
|
+
outputs: [
|
|
756
|
+
{
|
|
757
|
+
internalType: "uint256",
|
|
758
|
+
name: "",
|
|
759
|
+
type: "uint256",
|
|
760
|
+
},
|
|
761
|
+
],
|
|
762
|
+
stateMutability: "view",
|
|
763
|
+
type: "function",
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
inputs: [],
|
|
767
|
+
name: "owner",
|
|
768
|
+
outputs: [
|
|
769
|
+
{
|
|
770
|
+
internalType: "address",
|
|
771
|
+
name: "",
|
|
772
|
+
type: "address",
|
|
773
|
+
},
|
|
774
|
+
],
|
|
775
|
+
stateMutability: "view",
|
|
776
|
+
type: "function",
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
inputs: [],
|
|
780
|
+
name: "pause",
|
|
781
|
+
outputs: [],
|
|
782
|
+
stateMutability: "nonpayable",
|
|
783
|
+
type: "function",
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
inputs: [],
|
|
787
|
+
name: "paused",
|
|
788
|
+
outputs: [
|
|
789
|
+
{
|
|
790
|
+
internalType: "bool",
|
|
791
|
+
name: "",
|
|
792
|
+
type: "bool",
|
|
793
|
+
},
|
|
794
|
+
],
|
|
795
|
+
stateMutability: "view",
|
|
796
|
+
type: "function",
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
inputs: [],
|
|
800
|
+
name: "pendingOwner",
|
|
801
|
+
outputs: [
|
|
802
|
+
{
|
|
803
|
+
internalType: "address",
|
|
804
|
+
name: "",
|
|
805
|
+
type: "address",
|
|
806
|
+
},
|
|
807
|
+
],
|
|
808
|
+
stateMutability: "view",
|
|
809
|
+
type: "function",
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
inputs: [
|
|
813
|
+
{
|
|
814
|
+
internalType: "address",
|
|
815
|
+
name: "owner",
|
|
816
|
+
type: "address",
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
internalType: "address",
|
|
820
|
+
name: "spender",
|
|
821
|
+
type: "address",
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
internalType: "uint256",
|
|
825
|
+
name: "value",
|
|
826
|
+
type: "uint256",
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
internalType: "uint256",
|
|
830
|
+
name: "deadline",
|
|
831
|
+
type: "uint256",
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
internalType: "uint8",
|
|
835
|
+
name: "v",
|
|
836
|
+
type: "uint8",
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
internalType: "bytes32",
|
|
840
|
+
name: "r",
|
|
841
|
+
type: "bytes32",
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
internalType: "bytes32",
|
|
845
|
+
name: "s",
|
|
846
|
+
type: "bytes32",
|
|
847
|
+
},
|
|
848
|
+
],
|
|
849
|
+
name: "permit",
|
|
850
|
+
outputs: [],
|
|
851
|
+
stateMutability: "nonpayable",
|
|
852
|
+
type: "function",
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
inputs: [
|
|
856
|
+
{
|
|
857
|
+
internalType: "address",
|
|
858
|
+
name: "tokenIn",
|
|
859
|
+
type: "address",
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
internalType: "uint256",
|
|
863
|
+
name: "amountTokenToDeposit",
|
|
864
|
+
type: "uint256",
|
|
865
|
+
},
|
|
866
|
+
],
|
|
867
|
+
name: "previewDeposit",
|
|
868
|
+
outputs: [
|
|
869
|
+
{
|
|
870
|
+
internalType: "uint256",
|
|
871
|
+
name: "amountSharesOut",
|
|
872
|
+
type: "uint256",
|
|
873
|
+
},
|
|
874
|
+
],
|
|
875
|
+
stateMutability: "view",
|
|
876
|
+
type: "function",
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
inputs: [],
|
|
880
|
+
name: "previewHelper",
|
|
881
|
+
outputs: [
|
|
882
|
+
{
|
|
883
|
+
internalType: "contract IBalancerStablePreview",
|
|
884
|
+
name: "",
|
|
885
|
+
type: "address",
|
|
886
|
+
},
|
|
887
|
+
],
|
|
888
|
+
stateMutability: "view",
|
|
889
|
+
type: "function",
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
inputs: [
|
|
893
|
+
{
|
|
894
|
+
internalType: "address",
|
|
895
|
+
name: "tokenOut",
|
|
896
|
+
type: "address",
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
internalType: "uint256",
|
|
900
|
+
name: "amountSharesToRedeem",
|
|
901
|
+
type: "uint256",
|
|
902
|
+
},
|
|
903
|
+
],
|
|
904
|
+
name: "previewRedeem",
|
|
905
|
+
outputs: [
|
|
906
|
+
{
|
|
907
|
+
internalType: "uint256",
|
|
908
|
+
name: "amountTokenOut",
|
|
909
|
+
type: "uint256",
|
|
910
|
+
},
|
|
911
|
+
],
|
|
912
|
+
stateMutability: "view",
|
|
913
|
+
type: "function",
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
inputs: [
|
|
917
|
+
{
|
|
918
|
+
internalType: "address",
|
|
919
|
+
name: "receiver",
|
|
920
|
+
type: "address",
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
internalType: "uint256",
|
|
924
|
+
name: "amountSharesToRedeem",
|
|
925
|
+
type: "uint256",
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
internalType: "address",
|
|
929
|
+
name: "tokenOut",
|
|
930
|
+
type: "address",
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
internalType: "uint256",
|
|
934
|
+
name: "minTokenOut",
|
|
935
|
+
type: "uint256",
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
internalType: "bool",
|
|
939
|
+
name: "burnFromInternalBalance",
|
|
940
|
+
type: "bool",
|
|
941
|
+
},
|
|
942
|
+
],
|
|
943
|
+
name: "redeem",
|
|
944
|
+
outputs: [
|
|
945
|
+
{
|
|
946
|
+
internalType: "uint256",
|
|
947
|
+
name: "amountTokenOut",
|
|
948
|
+
type: "uint256",
|
|
949
|
+
},
|
|
950
|
+
],
|
|
951
|
+
stateMutability: "nonpayable",
|
|
952
|
+
type: "function",
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
inputs: [],
|
|
956
|
+
name: "rewardIndexesCurrent",
|
|
957
|
+
outputs: [
|
|
958
|
+
{
|
|
959
|
+
internalType: "uint256[]",
|
|
960
|
+
name: "indexes",
|
|
961
|
+
type: "uint256[]",
|
|
962
|
+
},
|
|
963
|
+
],
|
|
964
|
+
stateMutability: "nonpayable",
|
|
965
|
+
type: "function",
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
inputs: [],
|
|
969
|
+
name: "rewardIndexesStored",
|
|
970
|
+
outputs: [
|
|
971
|
+
{
|
|
972
|
+
internalType: "uint256[]",
|
|
973
|
+
name: "indexes",
|
|
974
|
+
type: "uint256[]",
|
|
975
|
+
},
|
|
976
|
+
],
|
|
977
|
+
stateMutability: "view",
|
|
978
|
+
type: "function",
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
inputs: [
|
|
982
|
+
{
|
|
983
|
+
internalType: "address",
|
|
984
|
+
name: "",
|
|
985
|
+
type: "address",
|
|
986
|
+
},
|
|
987
|
+
],
|
|
988
|
+
name: "rewardState",
|
|
989
|
+
outputs: [
|
|
990
|
+
{
|
|
991
|
+
internalType: "uint128",
|
|
992
|
+
name: "index",
|
|
993
|
+
type: "uint128",
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
internalType: "uint128",
|
|
997
|
+
name: "lastBalance",
|
|
998
|
+
type: "uint128",
|
|
999
|
+
},
|
|
1000
|
+
],
|
|
1001
|
+
stateMutability: "view",
|
|
1002
|
+
type: "function",
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
inputs: [
|
|
1006
|
+
{
|
|
1007
|
+
internalType: "uint256",
|
|
1008
|
+
name: "newGas",
|
|
1009
|
+
type: "uint256",
|
|
1010
|
+
},
|
|
1011
|
+
],
|
|
1012
|
+
name: "setGasForReentrancyCheck",
|
|
1013
|
+
outputs: [],
|
|
1014
|
+
stateMutability: "nonpayable",
|
|
1015
|
+
type: "function",
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
inputs: [],
|
|
1019
|
+
name: "symbol",
|
|
1020
|
+
outputs: [
|
|
1021
|
+
{
|
|
1022
|
+
internalType: "string",
|
|
1023
|
+
name: "",
|
|
1024
|
+
type: "string",
|
|
1025
|
+
},
|
|
1026
|
+
],
|
|
1027
|
+
stateMutability: "view",
|
|
1028
|
+
type: "function",
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
inputs: [],
|
|
1032
|
+
name: "totalSupply",
|
|
1033
|
+
outputs: [
|
|
1034
|
+
{
|
|
1035
|
+
internalType: "uint256",
|
|
1036
|
+
name: "",
|
|
1037
|
+
type: "uint256",
|
|
1038
|
+
},
|
|
1039
|
+
],
|
|
1040
|
+
stateMutability: "view",
|
|
1041
|
+
type: "function",
|
|
1042
|
+
},
|
|
1043
|
+
{
|
|
1044
|
+
inputs: [
|
|
1045
|
+
{
|
|
1046
|
+
internalType: "address",
|
|
1047
|
+
name: "to",
|
|
1048
|
+
type: "address",
|
|
1049
|
+
},
|
|
1050
|
+
{
|
|
1051
|
+
internalType: "uint256",
|
|
1052
|
+
name: "amount",
|
|
1053
|
+
type: "uint256",
|
|
1054
|
+
},
|
|
1055
|
+
],
|
|
1056
|
+
name: "transfer",
|
|
1057
|
+
outputs: [
|
|
1058
|
+
{
|
|
1059
|
+
internalType: "bool",
|
|
1060
|
+
name: "",
|
|
1061
|
+
type: "bool",
|
|
1062
|
+
},
|
|
1063
|
+
],
|
|
1064
|
+
stateMutability: "nonpayable",
|
|
1065
|
+
type: "function",
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
inputs: [
|
|
1069
|
+
{
|
|
1070
|
+
internalType: "address",
|
|
1071
|
+
name: "from",
|
|
1072
|
+
type: "address",
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
internalType: "address",
|
|
1076
|
+
name: "to",
|
|
1077
|
+
type: "address",
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
internalType: "uint256",
|
|
1081
|
+
name: "amount",
|
|
1082
|
+
type: "uint256",
|
|
1083
|
+
},
|
|
1084
|
+
],
|
|
1085
|
+
name: "transferFrom",
|
|
1086
|
+
outputs: [
|
|
1087
|
+
{
|
|
1088
|
+
internalType: "bool",
|
|
1089
|
+
name: "",
|
|
1090
|
+
type: "bool",
|
|
1091
|
+
},
|
|
1092
|
+
],
|
|
1093
|
+
stateMutability: "nonpayable",
|
|
1094
|
+
type: "function",
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
inputs: [
|
|
1098
|
+
{
|
|
1099
|
+
internalType: "address",
|
|
1100
|
+
name: "newOwner",
|
|
1101
|
+
type: "address",
|
|
1102
|
+
},
|
|
1103
|
+
{
|
|
1104
|
+
internalType: "bool",
|
|
1105
|
+
name: "direct",
|
|
1106
|
+
type: "bool",
|
|
1107
|
+
},
|
|
1108
|
+
{
|
|
1109
|
+
internalType: "bool",
|
|
1110
|
+
name: "renounce",
|
|
1111
|
+
type: "bool",
|
|
1112
|
+
},
|
|
1113
|
+
],
|
|
1114
|
+
name: "transferOwnership",
|
|
1115
|
+
outputs: [],
|
|
1116
|
+
stateMutability: "nonpayable",
|
|
1117
|
+
type: "function",
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
inputs: [],
|
|
1121
|
+
name: "unpause",
|
|
1122
|
+
outputs: [],
|
|
1123
|
+
stateMutability: "nonpayable",
|
|
1124
|
+
type: "function",
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
inputs: [
|
|
1128
|
+
{
|
|
1129
|
+
internalType: "address",
|
|
1130
|
+
name: "",
|
|
1131
|
+
type: "address",
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
internalType: "address",
|
|
1135
|
+
name: "",
|
|
1136
|
+
type: "address",
|
|
1137
|
+
},
|
|
1138
|
+
],
|
|
1139
|
+
name: "userReward",
|
|
1140
|
+
outputs: [
|
|
1141
|
+
{
|
|
1142
|
+
internalType: "uint128",
|
|
1143
|
+
name: "index",
|
|
1144
|
+
type: "uint128",
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
internalType: "uint128",
|
|
1148
|
+
name: "accrued",
|
|
1149
|
+
type: "uint128",
|
|
1150
|
+
},
|
|
1151
|
+
],
|
|
1152
|
+
stateMutability: "view",
|
|
1153
|
+
type: "function",
|
|
1154
|
+
},
|
|
1155
|
+
{
|
|
1156
|
+
inputs: [],
|
|
1157
|
+
name: "yieldToken",
|
|
1158
|
+
outputs: [
|
|
1159
|
+
{
|
|
1160
|
+
internalType: "address",
|
|
1161
|
+
name: "",
|
|
1162
|
+
type: "address",
|
|
1163
|
+
},
|
|
1164
|
+
],
|
|
1165
|
+
stateMutability: "view",
|
|
1166
|
+
type: "function",
|
|
1167
|
+
},
|
|
1168
|
+
{
|
|
1169
|
+
stateMutability: "payable",
|
|
1170
|
+
type: "receive",
|
|
1171
|
+
},
|
|
1172
|
+
];
|
|
1173
|
+
|
|
1174
|
+
const _bytecode =
|
|
1175
|
+
"0x6102206040523480156200001257600080fd5b5060405162005d4638038062005d46833981016040819052620000359162000a10565b828273dfe6e7e18f6cc65fa13c8d8966013d4fda74b6ba607d848484848282828282826001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000096573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000bc919062000a90565b6040805180820190915260018152603160f81b602082015283908184846003620000e7848262000b4b565b506004620000f6838262000b4b565b5060ff166080525050600280546001600160f81b0316600160f81b17905581516020808401919091208251918301919091206101008290526101208190524660c0527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620001a98184846040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b60a0523060e0526101405250506038805460ff191690555050600754600160a81b900460ff16159250829150508015620001f057506007546001600160a01b90910460ff16105b806200022757506200020d306200048d60201b62001ae61760201c565b158015620002275750600754600160a01b900460ff166001145b620002905760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6007805460ff60a01b1916600160a01b1790558015620002be576007805460ff60a81b1916600160a81b1790555b6001600160a01b03821661016052620002d66200049c565b80156200031f576007805460ff60a81b19169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050505050826001600160a01b03166338fff2d06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000365573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200038b919062000c17565b6101a0526101c0829052620003a0826200051f565b6001600160a01b039081166101e05290811661018081905290841614620003da57604051636467ac9d60e11b815260040160405180910390fd5b620003fa8373a57b8d98dae62b26ec3bcc4a365338157060b23462000641565b60006200040662000710565b905060005b81518110156200046a57620004578282815181106200042e576200042e62000c31565b602002602001015173ba12222222228d8ba445958a75a0704d566bf2c86200064160201b60201c565b620004628162000c47565b90506200040b565b50506001600160a01b0316610200525050611b58603c555062000d859350505050565b6001600160a01b03163b151590565b600754600160a81b900460ff166200050b5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b606482015260840162000287565b600680546001600160a01b03191633179055565b60008073a57b8d98dae62b26ec3bcc4a365338157060b2346001600160a01b031663081e3eda6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000575573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200059b919062000c17565b831115620005bc57604051636467ac9d60e11b815260040160405180910390fd5b604051631526fe2760e01b81526004810184905273a57b8d98dae62b26ec3bcc4a365338157060b23490631526fe279060240160c060405180830381865afa1580156200060d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000633919062000c85565b509397909650945050505050565b6001600160a01b03821662000654575050565b6200066860026001600160601b0362000d14565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa158015620006c2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006e8919062000c17565b10156200070c57620006fd8282600062000816565b6200070c828260001962000816565b5050565b60408051600380825260808201909252606091602082018380368337019050509050737f39c581f595b53c5cb19bd0b3f8da6c935e2ca0816000815181106200075d576200075d62000c31565b60200260200101906001600160a01b031690816001600160a01b03168152505073dfe6e7e18f6cc65fa13c8d8966013d4fda74b6ba81600181518110620007a857620007a862000c31565b60200260200101906001600160a01b031690816001600160a01b03168152505073e95a203b1a91a908f9b9ce46459d101078c2c3cb81600281518110620007f357620007f362000c31565b60200260200101906001600160a01b031690816001600160a01b03168152505090565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b179052915160009283929087169162000874919062000d49565b6000604051808303816000865af19150503d8060008114620008b3576040519150601f19603f3d011682016040523d82523d6000602084013e620008b8565b606091505b5091509150818015620008e6575080511580620008e6575080806020019051810190620008e6919062000d67565b620009235760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b604482015260640162000287565b5050505050565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200095d57818101518382015260200162000943565b50506000910152565b600082601f8301126200097857600080fd5b81516001600160401b03808211156200099557620009956200092a565b604051601f8301601f19908116603f01168101908282118183101715620009c057620009c06200092a565b81604052838152866020858801011115620009da57600080fd5b620009ed84602083016020890162000940565b9695505050505050565b6001600160a01b038116811462000a0d57600080fd5b50565b60008060006060848603121562000a2657600080fd5b83516001600160401b038082111562000a3e57600080fd5b62000a4c8783880162000966565b9450602086015191508082111562000a6357600080fd5b5062000a728682870162000966565b925050604084015162000a8581620009f7565b809150509250925092565b60006020828403121562000aa357600080fd5b815160ff8116811462000ab557600080fd5b9392505050565b600181811c9082168062000ad157607f821691505b60208210810362000af257634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000b4657600081815260208120601f850160051c8101602086101562000b215750805b601f850160051c820191505b8181101562000b425782815560010162000b2d565b5050505b505050565b81516001600160401b0381111562000b675762000b676200092a565b62000b7f8162000b78845462000abc565b8462000af8565b602080601f83116001811462000bb7576000841562000b9e5750858301515b600019600386901b1c1916600185901b17855562000b42565b600085815260208120601f198616915b8281101562000be85788860151825594840194600190910190840162000bc7565b508582101562000c075787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121562000c2a57600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b60006001820162000c6857634e487b7160e01b600052601160045260246000fd5b5060010190565b8051801515811462000c8057600080fd5b919050565b60008060008060008060c0878903121562000c9f57600080fd5b865162000cac81620009f7565b602088015190965062000cbf81620009f7565b604088015190955062000cd281620009f7565b606088015190945062000ce581620009f7565b608088015190935062000cf881620009f7565b915062000d0860a0880162000c6f565b90509295509295509295565b60006001600160601b038381168062000d3d57634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b6000825162000d5d81846020870162000940565b9190910192915050565b60006020828403121562000d7a57600080fd5b62000ab58262000c6f565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516101e05161020051614e9862000eae6000396000818161024501528181612fcc01526130d80152600081816107cf01528181610f4001528181610fe301528181612e680152818161354c01526135d001526000818161051c0152612d3801526000818161055001528181612ffb01528181613107015281816137d2015261390b01526000818161066d01528181611171015281816115480152818161156901528181612cde01528181612ee001528181612f7e0152818161308a0152613837015260006105c401526000612285015260006122d4015260006122af01526000612208015260006122320152600061225c015260006103c80152614e986000f3fe6080604052600436106102275760003560e01c80630390c8391461023357806306fdde031461027d578063071bc3c91461029f578063078dfbe7146102c1578063095ea7b3146102e3578063128fced11461031357806318160ddd1461034057806320e8c56514610363578063213cae631461029f57806323b872dd146103765780632a5e141e14610396578063313ce567146103b6578063318a8f8f146103fc5780633644e515146104125780633ba0b9a9146104275780633f4ba83a1461043c57806340c35446146104515780634e71e0c8146104715780635c975abb146104865780635cbadbe41461049e578063619002ce1461050a578063655864521461053e57806370a0823114610572578063769f8e5d1461059257806376d5de85146105b2578063784367d6146105e65780637ecebe00146106065780638456cb59146106265780638da5cb5b1461063b5780638efabee01461065b57806395d89b411461068f578063a40bee50146106a4578063a44517c8146106c8578063a9059cbb146106e8578063a9f8d18114610708578063b8f82b261461071e578063c4f59f9b1461073e578063cbe52ae314610753578063d505accf14610773578063d55a23f414610793578063da88ecb4146107a8578063dc616e3e146107bd578063dd62ed3e146107f1578063e30c397814610811578063ea64a82014610831578063ef5cfb8c14610872578063f8b2f99114610892578063fa5a4f06146105e657600080fd5b3661022e57005b600080fd5b34801561023f57600080fd5b506102677f000000000000000000000000000000000000000000000000000000000000000081565b60405161027491906144b1565b60405180910390f35b34801561028957600080fd5b506102926108a7565b6040516102749190614515565b3480156102ab57600080fd5b506102b4610939565b604051610274919061456c565b3480156102cd57600080fd5b506102e16102dc3660046145a2565b610a36565b005b3480156102ef57600080fd5b506103036102fe3660046145ed565b610b3c565b6040519015158152602001610274565b34801561031f57600080fd5b5061033361032e366004614619565b610b56565b6040516102749190614666565b34801561034c57600080fd5b50610355610c62565b604051908152602001610274565b610355610371366004614679565b610c71565b34801561038257600080fd5b506103036103913660046146bf565b610dba565b3480156103a257600080fd5b506102e16103b1366004614619565b610e38565b3480156103c257600080fd5b506103ea7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610274565b34801561040857600080fd5b50610355603c5481565b34801561041e57600080fd5b50610355611156565b34801561043357600080fd5b50610355611165565b34801561044857600080fd5b506102e16111f1565b34801561045d57600080fd5b5061026761046c366004614700565b611225565b34801561047d57600080fd5b506102e161124f565b34801561049257600080fd5b5060385460ff16610303565b3480156104aa57600080fd5b506104ea6104b9366004614719565b60396020908152600092835260408084209091529082529020546001600160801b0380821691600160801b90041682565b604080516001600160801b03938416815292909116602083015201610274565b34801561051657600080fd5b506103557f000000000000000000000000000000000000000000000000000000000000000081565b34801561054a57600080fd5b506103557f000000000000000000000000000000000000000000000000000000000000000081565b34801561057e57600080fd5b5061035561058d366004614619565b6112fb565b34801561059e57600080fd5b506103556105ad366004614752565b611316565b3480156105be57600080fd5b506102677f000000000000000000000000000000000000000000000000000000000000000081565b3480156105f257600080fd5b50610303610601366004614619565b61146b565b34801561061257600080fd5b50610355610621366004614619565b6114e0565b34801561063257600080fd5b506102e16114fe565b34801561064757600080fd5b50600654610267906001600160a01b031681565b34801561066757600080fd5b506102677f000000000000000000000000000000000000000000000000000000000000000081565b34801561069b57600080fd5b50610292611530565b3480156106b057600080fd5b506106b961153f565b604051610274939291906147d7565b3480156106d457600080fd5b506102e16106e3366004614700565b6115f4565b3480156106f457600080fd5b506103036107033660046145ed565b61166a565b34801561071457600080fd5b50610355603a5481565b34801561072a57600080fd5b506103556107393660046145ed565b6116dc565b34801561074a57600080fd5b506102b4611717565b34801561075f57600080fd5b5061035561076e3660046145ed565b611721565b34801561077f57600080fd5b506102e161078e366004614813565b611755565b34801561079f57600080fd5b50603d54610355565b3480156107b457600080fd5b506103336118b9565b3480156107c957600080fd5b506102677f000000000000000000000000000000000000000000000000000000000000000081565b3480156107fd57600080fd5b5061035561080c366004614719565b61198a565b34801561081d57600080fd5b50600754610267906001600160a01b031681565b34801561083d57600080fd5b506104ea61084c366004614619565b603b602052600090815260409020546001600160801b0380821691600160801b90041682565b34801561087e57600080fd5b5061033361088d366004614619565b6119b5565b34801561089e57600080fd5b50610333611a74565b6060600380546108b690614884565b80601f01602080910402602001604051908101604052809291908181526020018280546108e290614884565b801561092f5780601f106109045761010080835404028352916020019161092f565b820191906000526020600020905b81548152906001019060200180831161091257829003601f168201915b5050505050905090565b60408051600380825260808201909252606091602082018380368337019050509050737f39c581f595b53c5cb19bd0b3f8da6c935e2ca081600081518110610983576109836148ce565b60200260200101906001600160a01b031690816001600160a01b03168152505073e95a203b1a91a908f9b9ce46459d101078c2c3cb816001815181106109cb576109cb6148ce565b60200260200101906001600160a01b031690816001600160a01b03168152505073dfe6e7e18f6cc65fa13c8d8966013d4fda74b6ba81600281518110610a1357610a136148ce565b60200260200101906001600160a01b031690816001600160a01b03168152505090565b6006546001600160a01b03163314610a695760405162461bcd60e51b8152600401610a60906148e4565b60405180910390fd5b8115610b1b576001600160a01b038316151580610a835750805b610ac75760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610a60565b6006546040516001600160a01b03808616921690600080516020614e2383398151915290600090a3600680546001600160a01b0385166001600160a01b031991821617909155600780549091169055505050565b600780546001600160a01b0319166001600160a01b0385161790555b505050565b600033610b4a818585611af5565b60019150505b92915050565b60606000610b62611c1a565b905080516001600160401b03811115610b7d57610b7d6148b8565b604051908082528060200260200182016040528015610ba6578160200160208202803683370190505b50915060005b8151811015610c5b5760396000838381518110610bcb57610bcb6148ce565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000856001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b0316838281518110610c4857610c486148ce565b6020908102919091010152600101610bac565b5050919050565b6002546001600160f81b031690565b600254600090600119600160f81b90910460ff1601610ca25760405162461bcd60e51b8152600401610a6090614919565b600280546001600160f81b0316600160f91b179055610cc08461146b565b610cdf57836040516315d57ce360e31b8152600401610a6091906144b1565b82600003610d0057604051630a907f2f60e41b815260040160405180910390fd5b610d0b843385611d77565b610d158484611dde565b905081811015610d3c578082604051635e38f95d60e11b8152600401610a60929190614950565b610d468582611dea565b836001600160a01b0316856001600160a01b0316336001600160a01b03167f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d598685604051610d95929190614950565b60405180910390a4600280546001600160f81b0316600160f81b179055949350505050565b600254600090600119600160f81b90910460ff1601610deb5760405162461bcd60e51b8152600401610a6090614919565b600280546001600160f81b0316600160f91b17905533610e0c858285611f00565b610e17858585611f7a565b6001915050600280546001600160f81b0316600160f81b1790559392505050565b6006546001600160a01b03163314610e625760405162461bcd60e51b8152600401610a60906148e4565b6001600160a01b03811673ba100000625a3754423978a60c9317c58a424e3d1480610ea957506001600160a01b03811673c0c293ce456ff0ed870add98a0828dd4d2903dbf145b80610f1c5750610f1c81603d805480602002602001604051908101604052809291908181526020018280548015610f0957602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610eeb575b505050505061219c90919063ffffffff16565b15610f3c5780604051630d2dca6360e41b8152600401610a6091906144b1565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d55a23f46040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f9c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc0919061495e565b905060005b8181101561113757604051632061aa2360e11b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906340c35446906024016020604051808303816000875af1158015611034573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110589190614977565b6001600160a01b031663f7c618c16040518163ffffffff1660e01b81526004016020604051808303816000875af1158015611097573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bb9190614977565b6001600160a01b0316836001600160a01b031603611125575050603d80546001810182556000919091527fece66cfdbd22e3f37d348a3d8e19074452862cd65fd4b9a11f0336d1ac6d1dc30180546001600160a01b0383166001600160a01b031990911617905550565b8061112f816149aa565b915050610fc5565b5081604051630d2dca6360e41b8152600401610a6091906144b1565b50565b60006111606121fb565b905090565b600061116f612322565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663679aefce6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111cd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611160919061495e565b6006546001600160a01b0316331461121b5760405162461bcd60e51b8152600401610a60906148e4565b611223612454565b565b603d818154811061123557600080fd5b6000918252602090912001546001600160a01b0316905081565b6007546001600160a01b03163381146112aa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610a60565b6006546040516001600160a01b03808416921690600080516020614e2383398151915290600090a3600680546001600160a01b039092166001600160a01b0319928316179055600780549091169055565b6001600160a01b031660009081526020819052604090205490565b600254600090600119600160f81b90910460ff16016113475760405162461bcd60e51b8152600401610a6090614919565b600280546001600160f81b0316600160f91b1790556113658461146b565b61138457836040516388a5056160e01b8152600401610a6091906144b1565b846000036113a55760405163c3d83b0760e01b815260040160405180910390fd5b81156113ba576113b530866124a0565b6113c4565b6113c433866124a0565b6113cf868587612619565b9050828110156113f65780836040516305ff726560e51b8152600401610a60929190614950565b836001600160a01b0316866001600160a01b0316336001600160a01b03167faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c8885604051611445929190614950565b60405180910390a4600280546001600160f81b0316600160f81b17905595945050505050565b60006001600160a01b038216737f39c581f595b53c5cb19bd0b3f8da6c935e2ca014806114b457506001600160a01b03821673e95a203b1a91a908f9b9ce46459d101078c2c3cb145b80610b5057506001600160a01b03821673dfe6e7e18f6cc65fa13c8d8966013d4fda74b6ba1492915050565b6001600160a01b038116600090815260056020526040812054610b50565b6006546001600160a01b031633146115285760405162461bcd60e51b8152600401610a60906148e4565b61122361262e565b6060600480546108b690614884565b600080600060017f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115e991906149c3565b925092509250909192565b6006546001600160a01b0316331461161e5760405162461bcd60e51b8152600401610a60906148e4565b611b588110156116655760405162461bcd60e51b81526020600482015260126024820152711b1bddd95c881d1a185b88191959985d5b1d60721b6044820152606401610a60565b603c55565b600254600090600119600160f81b90910460ff160161169b5760405162461bcd60e51b8152600401610a6090614919565b600280546001600160f81b0316600160f91b179055336116bc818585611f7a565b6001915050600280546001600160f81b0316600160f81b17905592915050565b60006116e78361146b565b61170657826040516315d57ce360e31b8152600401610a6091906144b1565b611710838361266b565b9392505050565b6060611160611c1a565b600061172c8361146b565b61174b57826040516388a5056160e01b8152600401610a6091906144b1565b6117108383612677565b834211156117a55760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610a60565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886117d48c612683565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061182f826126ab565b9050600061183f828787876126f9565b9050896001600160a01b0316816001600160a01b0316146118a25760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610a60565b6118ad8a8a8a611af5565b50505050505050505050565b606060006118c5611c1a565b905080516001600160401b038111156118e0576118e06148b8565b604051908082528060200260200182016040528015611909578160200160208202803683370190505b50915060005b815181101561198557603b600083838151811061192e5761192e6148ce565b6020908102919091018101516001600160a01b031682528101919091526040016000205483516001600160801b0390911690849083908110611972576119726148ce565b602090810291909101015260010161190f565b505090565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600254606090600119600160f81b90910460ff16016119e65760405162461bcd60e51b8152600401610a6090614919565b600280546001600160f81b0316600160f91b179055611a0482612721565b611a0e828361272c565b9050816001600160a01b03167f2193aa20a3717f5f4ac79482f4f553e5f0afe8f4e6ec3e3d1aa2e138adc4763f611a43611c1a565b83604051611a529291906149e0565b60405180910390a2600280546001600160f81b0316600160f81b179055919050565b600254606090600119600160f81b90910460ff1601611aa55760405162461bcd60e51b8152600401610a6090614919565b600280546001600160f81b0316600160f91b179055611ac26129d4565b5050611acc6118b9565b9050600280546001600160f81b0316600160f81b17905590565b6001600160a01b03163b151590565b6001600160a01b038316611b575760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a60565b6001600160a01b038216611bb85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a60565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b603d54606090611c2b816002614a0e565b6001600160401b03811115611c4257611c426148b8565b604051908082528060200260200182016040528015611c6b578160200160208202803683370190505b50915073ba100000625a3754423978a60c9317c58a424e3d82600081518110611c9657611c966148ce565b60200260200101906001600160a01b031690816001600160a01b03168152505073c0c293ce456ff0ed870add98a0828dd4d2903dbf82600181518110611cde57611cde6148ce565b60200260200101906001600160a01b031690816001600160a01b03168152505060005b8181101561198557603d8181548110611d1c57611d1c6148ce565b6000918252602090912001546001600160a01b031683611d3d836002614a0e565b81518110611d4d57611d4d6148ce565b6001600160a01b039092166020928302919091019091015280611d6f816149aa565b915050611d01565b6001600160a01b038316611dc357803414610b375760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b6044820152606401610a60565b8015610b3757610b376001600160a01b038416833084612c6f565b60006117108383612cda565b6001600160a01b038216611e405760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610a60565b611e4c60008383612dd3565b611e5581612de5565b60028054600090611e709084906001600160f81b0316614a21565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555080600080846001600160a01b03166001600160a01b031681526020019081526020016000206000828254611ec89190614a0e565b90915550506040518181526001600160a01b03831690600090600080516020614e438339815191529060200160405180910390a35050565b6000611f0c848461198a565b90506000198114611f745781811015611f675760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a60565b611f748484848403611af5565b50505050565b6001600160a01b038316611fde5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a60565b6001600160a01b0382166120405760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a60565b816001600160a01b0316836001600160a01b03160361209b5760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b6044820152606401610a60565b6120a6838383612dd3565b6001600160a01b0383166000908152602081905260409020548181101561211e5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a60565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290612155908490614a0e565b92505081905550826001600160a01b0316846001600160a01b0316600080516020614e438339815191528460405161218f91815260200190565b60405180910390a3611f74565b8151600090815b818110156121f057836001600160a01b03168582815181106121c7576121c76148ce565b60200260200101516001600160a01b0316036121e857600192505050610b50565b6001016121a3565b506000949350505050565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561225457507f000000000000000000000000000000000000000000000000000000000000000046145b1561227e57507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6040805160008082526020820190925281612373565b6040805160a0810182526000808252602080830182905292820181905260608201819052608082015282526000199092019101816123385790505b50905060008073ba12222222228d8ba445958a75a0704d566bf2c86001600160a01b0316603c54846040516024016123ab9190614a41565b60408051601f198184030181529181526020820180516001600160e01b03166303a38fa160e21b179052516123e09190614acd565b6000604051808303818686fa925050503d806000811461241c576040519150601f19603f3d011682016040523d82523d6000602084013e612421565b606091505b5091509150811561243457612434614ae9565b805115610b3757604051631c725c4160e21b815260040160405180910390fd5b61245c612dff565b6038805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405161249691906144b1565b60405180910390a1565b6001600160a01b0382166125005760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610a60565b61250c82600083612dd3565b6001600160a01b038216600090815260208190526040902054818110156125805760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610a60565b6001600160a01b038316600090815260208190526040902082820390556125a682612de5565b600280546000906125c19084906001600160f81b0316614aff565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b0316600080516020614e4383398151915284604051611c0d91815260200190565b6000612626848484612e48565b949350505050565b612636612f34565b6038805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586124893390565b60006117108383612f7a565b60006117108383613086565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b6000610b506126b86121fb565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061270a87878787613131565b9150915061271781613214565b5095945050505050565b6111538160006133c5565b60606000612738611c1a565b905080516001600160401b03811115612753576127536148b8565b60405190808252806020026020018201604052801561277c578160200160208202803683370190505b50915060005b81518110156129cc57603960008383815181106127a1576127a16148ce565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000866001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b031683828151811061281e5761281e6148ce565b60200260200101818152505082818151811061283c5761283c6148ce565b60200260200101516000146129ba57600060396000848481518110612863576128636148ce565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000876001600160a01b03166001600160a01b0316815260200190815260200160002060000160106101000a8154816001600160801b0302191690836001600160801b031602179055506128f78382815181106128ea576128ea6148ce565b6020026020010151613445565b603b600084848151811061290d5761290d6148ce565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060000160108282829054906101000a90046001600160801b03166129599190614b1f565b92506101000a8154816001600160801b0302191690836001600160801b031602179055506129ba828281518110612992576129926148ce565b6020026020010151858584815181106129ad576129ad6148ce565b602002602001015161345b565b806129c4816149aa565b915050612782565b505092915050565b6060806129df611c1a565b915081516001600160401b038111156129fa576129fa6148b8565b604051908082528060200260200182016040528015612a23578160200160208202803683370190505b5090508151600003612a33579091565b43603a5414612be75743603a556000612a4a61351f565b9050612a54613529565b60005b8351811015612be4576000848281518110612a7457612a746148ce565b6020908102919091018101516001600160a01b0381166000908152603b90925260408220548751919350600160801b90046001600160801b031690612ad290889086908110612ac557612ac56148ce565b6020026020010151613608565b612adc9190614b3f565b6001600160a01b0383166000908152603b60205260408120549192506001600160801b0390911690819003612b0f575060015b8415612b2c57612b1f8286613692565b612b299082614a0e565b90505b612b3581613445565b6001600160a01b0384166000908152603b6020526040902080546001600160801b0319166001600160801b0392909216919091179055612b7482613445565b6001600160a01b0384166000908152603b602052604090208054601090612bac908490600160801b90046001600160801b0316614b52565b92506101000a8154816001600160801b0302191690836001600160801b0316021790555050505080612bdd906149aa565b9050612a57565b50505b60005b8251811015612c6a57603b6000848381518110612c0957612c096148ce565b6020908102919091018101516001600160a01b031682528101919091526040016000205482516001600160801b0390911690839083908110612c4d57612c4d6148ce565b602090810291909101015280612c62816149aa565b915050612bea565b509091565b6040516001600160a01b0380851660248301528316604482015260648101829052611f749085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526136c1565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603612d1c575080612d29565b612d268383613793565b90505b6040516321d0683360e11b81527f00000000000000000000000000000000000000000000000000000000000000006004820152602481018290526001604482015273a57b8d98dae62b26ec3bcc4a365338157060b234906343a0d066906064016020604051808303816000875af1158015612da8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dcc9190614b72565b5092915050565b612ddb612f34565b610b3783836133c5565b60006001600160f81b03821115612dfb57600080fd5b5090565b60385460ff166112235760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610a60565b604051636197390160e11b815260048101829052600060248201819052907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063c32e7202906044016020604051808303816000875af1158015612eb9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612edd9190614b72565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603612f29575080612f2483858361345b565b611710565b61262684848461385b565b60385460ff16156112235760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a60565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603612fbc575080610b50565b6000612fc884846139f2565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663666950607f0000000000000000000000000000000000000000000000000000000000000000303085613025613b8a565b6040518663ffffffff1660e01b8152600401613045959493929190614bf0565b602060405180830381865afa158015613062573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612626919061495e565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316036130c8575080610b50565b60006130d48484613c66565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663626117307f0000000000000000000000000000000000000000000000000000000000000000303085613025613b8a565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b0383111561315e575060009050600361320b565b8460ff16601b1415801561317657508460ff16601c14155b15613187575060009050600461320b565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156131db573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166132045760006001925092505061320b565b9150600090505b94509492505050565b6000816004811115613228576132286147b1565b036132305750565b6001816004811115613244576132446147b1565b0361328c5760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610a60565b60028160048111156132a0576132a06147b1565b036132ed5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610a60565b6003816004811115613301576133016147b1565b036133595760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610a60565b600481600481111561336d5761336d6147b1565b036111535760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610a60565b6000806133d06129d4565b9150915081516000036133e35750505050565b6001600160a01b0384161580159061340457506001600160a01b0384163014155b1561341457613414848383613d5f565b6001600160a01b0383161580159061343557506001600160a01b0383163014155b15611f7457611f74838383613d5f565b60006001600160801b03821115612dfb57600080fd5b8060000361346857505050565b6001600160a01b03831661350b576000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146134c3576040519150601f19603f3d011682016040523d82523d6000602084013e6134c8565b606091505b5050905080611f745760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610a60565b610b376001600160a01b0384168383613fd8565b6000611160610c62565b603d5460008190036135b957604051637050ccd960e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690637050ccd990613584903090600090600401614c40565b600060405180830381600087803b15801561359e57600080fd5b505af11580156135b2573d6000803e3d6000fd5b5050505050565b604051637050ccd960e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690637050ccd990613584903090600190600401614c40565b60006001600160a01b0382161561368b576040516370a0823160e01b81526001600160a01b038316906370a08231906136459030906004016144b1565b602060405180830381865afa158015613662573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613686919061495e565b610b50565b4792915050565b6000806136a7670de0b6b3a764000085614c5b565b90508281816136b8576136b8614c72565b04949350505050565b6000613716826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166140089092919063ffffffff16565b805190915015610b3757808060200190518101906137349190614b72565b610b375760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a60565b6000806137a084846139f2565b60405163172b958560e31b815290915073ba12222222228d8ba445958a75a0704d566bf2c89063b95cac2890613800907f000000000000000000000000000000000000000000000000000000000000000090309081908790600401614c88565b600060405180830381600087803b15801561381a57600080fd5b505af115801561382e573d6000803e3d6000fd5b505050506126267f0000000000000000000000000000000000000000000000000000000000000000613608565b600080836001600160a01b03166370a08231866040518263ffffffff1660e01b815260040161388a91906144b1565b602060405180830381865afa1580156138a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138cb919061495e565b905060006138d98585613c66565b604051638bdb391360e01b815290915073ba12222222228d8ba445958a75a0704d566bf2c890638bdb391390613939907f00000000000000000000000000000000000000000000000000000000000000009030908b908790600401614c88565b600060405180830381600087803b15801561395357600080fd5b505af1158015613967573d6000803e3d6000fd5b50506040516370a0823160e01b8152600092506001600160a01b03881691506370a082319061399a908a906004016144b1565b602060405180830381865afa1580156139b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139db919061495e565b90506139e78382614b3f565b979650505050505050565b613a1f60405180608001604052806060815260200160608152602001606081526020016000151581525090565b6000613a29614017565b9050600060018251613a3b9190614b3f565b90506000816001600160401b03811115613a5757613a576148b8565b604051908082528060200260200182016040528015613a80578160200160208202803683370190505b509050600083516001600160401b03811115613a9e57613a9e6148b8565b604051908082528060200260200182016040528015613ac7578160200160208202803683370190505b5090506000613ad685896140f1565b9050600060018211613ae85781613af3565b613af3600183614b3f565b905087848281518110613b0857613b086148ce565b6020026020010181815250838381518110613b2557613b256148ce565b602002602001018181525050600060019050600080828783604051602001613b4f93929190614cc4565b60408051601f198184030181526080830182529a82526020820197909752958601989098525050600060608401525090979650505050505050565b604080516101208101825260608082526020820181905291810182905280820182905260006080820181905260a0820181905260c0820181905260e08201819052610100820152613bd9614017565b8152613be361414f565b6020820152613bf0614215565b6040820152613bfd61429e565b606082015273dfe6e7e18f6cc65fa13c8d8966013d4fda74b6ba6080820152600160a0820152600060c0820152613c32600190565b60e0820152805151610100820152604051613c51908290602001614d2f565b60405160208183030381529060405291505090565b613c9360405180608001604052806060815260200160608152602001606081526020016000151581525090565b6000613c9d614017565b9050600081516001600160401b03811115613cba57613cba6148b8565b604051908082528060200260200182016040528015613ce3578160200160208202803683370190505b50905060008481613cf485896140f1565b905080600110613d045780613d0f565b613d0f600182614b3f565b90506000838383604051602001613d2893929190614e01565b60408051601f1981840301815260808301825297825260208201969096529485019590955250506000606083015250949350505050565b6001600160a01b03831615801590613d8057506001600160a01b0383163014155b613d8c57613d8c614ae9565b6000613d9784614330565b905060005b83518110156135b2576000848281518110613db957613db96148ce565b602002602001015190506000848381518110613dd757613dd76148ce565b6020908102919091018101516001600160a01b038085166000908152603984526040808220928c168252919093528220549092506001600160801b031690819003613e7357613e2582613445565b6001600160a01b039384166000908152603960209081526040808320968c1683529590529390932080546001600160801b0319166001600160801b039094169390931790925550613fc89050565b818103613e8257505050613fc8565b6000613e8e8284614b3f565b90506000613e9c878361433b565b6001600160a01b038681166000908152603960209081526040808320938f1683529290529081205491925090613ee3908390600160801b90046001600160801b0316614a0e565b90506040518060400160405280613ef987613445565b6001600160801b03168152602001613f1083613445565b6001600160801b031681525060396000886001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b031602179055509050505050505050505b613fd1816149aa565b9050613d9c565b6040516001600160a01b038316602482015260448101829052610b3790849063a9059cbb60e01b90606401612ca3565b60606126268484600085614359565b60408051600380825260808201909252606091602082018380368337019050509050737f39c581f595b53c5cb19bd0b3f8da6c935e2ca081600081518110614061576140616148ce565b60200260200101906001600160a01b031690816001600160a01b03168152505073dfe6e7e18f6cc65fa13c8d8966013d4fda74b6ba816001815181106140a9576140a96148ce565b60200260200101906001600160a01b031690816001600160a01b03168152505073e95a203b1a91a908f9b9ce46459d101078c2c3cb81600281518110610a1357610a136148ce565b8151600090815b8181101561414357836001600160a01b031685828151811061411c5761411c6148ce565b60200260200101516001600160a01b03160361413b579150610b509050565b6001016140f8565b50600019949350505050565b604080516003808252608082019092526060916020820183803683370190505090507372d07d7dca67b8a406ad1ec34ce969c90bfee76881600081518110614199576141996148ce565b60200260200101906001600160a01b031690816001600160a01b0316815250506000816001815181106141ce576141ce6148ce565b60200260200101906001600160a01b031690816001600160a01b03168152505072f8e64a8651e3479a0b20f46b1d462fe29d6abc81600281518110610a1357610a136148ce565b60408051600380825260808201909252606091602082018380368337019050509050670de0b6b3a764000081600281518110614253576142536148ce565b602002602001018181525081600181518110614271576142716148ce565b60200260200101818152508160008151811061428f5761428f6148ce565b60200260200101818152505090565b604080516003808252608082019092526060916020820183803683370190505090506000816002815181106142d5576142d56148ce565b6020026020010190151590811515815250816001815181106142f9576142f96148ce565b60200260200101901515908115158152508160008151811061431d5761431d6148ce565b9115156020928302919091019091015290565b6000610b50826112fb565b6000806143488385614c5b565b9050670de0b6b3a7640000816136b8565b6060824710156143ba5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610a60565b6143c385611ae6565b61440f5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a60565b600080866001600160a01b0316858760405161442b9190614acd565b60006040518083038185875af1925050503d8060008114614468576040519150601f19603f3d011682016040523d82523d6000602084013e61446d565b606091505b50915091506139e782828660608315614487575081611710565b8251156144975782518084602001fd5b8160405162461bcd60e51b8152600401610a609190614515565b6001600160a01b0391909116815260200190565b60005b838110156144e05781810151838201526020016144c8565b50506000910152565b600081518084526145018160208601602086016144c5565b601f01601f19169290920160200192915050565b60208152600061171060208301846144e9565b600081518084526020808501945080840160005b838110156145615781516001600160a01b03168752958201959082019060010161453c565b509495945050505050565b6020815260006117106020830184614528565b6001600160a01b038116811461115357600080fd5b801515811461115357600080fd5b6000806000606084860312156145b757600080fd5b83356145c28161457f565b925060208401356145d281614594565b915060408401356145e281614594565b809150509250925092565b6000806040838503121561460057600080fd5b823561460b8161457f565b946020939093013593505050565b60006020828403121561462b57600080fd5b81356117108161457f565b600081518084526020808501945080840160005b838110156145615781518752958201959082019060010161464a565b6020815260006117106020830184614636565b6000806000806080858703121561468f57600080fd5b843561469a8161457f565b935060208501356146aa8161457f565b93969395505050506040820135916060013590565b6000806000606084860312156146d457600080fd5b83356146df8161457f565b925060208401356146ef8161457f565b929592945050506040919091013590565b60006020828403121561471257600080fd5b5035919050565b6000806040838503121561472c57600080fd5b82356147378161457f565b915060208301356147478161457f565b809150509250929050565b600080600080600060a0868803121561476a57600080fd5b85356147758161457f565b945060208601359350604086013561478c8161457f565b92506060860135915060808601356147a381614594565b809150509295509295909350565b634e487b7160e01b600052602160045260246000fd5b60028110611153576111536147b1565b606081016147e4856147c7565b9381526001600160a01b0392909216602083015260ff1660409091015290565b60ff8116811461115357600080fd5b600080600080600080600060e0888a03121561482e57600080fd5b87356148398161457f565b965060208801356148498161457f565b95506040880135945060608801359350608088013561486781614804565b9699959850939692959460a0840135945060c09093013592915050565b600181811c9082168061489857607f821691505b6020821081036126a557634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b918252602082015260400190565b60006020828403121561497057600080fd5b5051919050565b60006020828403121561498957600080fd5b81516117108161457f565b634e487b7160e01b600052601160045260246000fd5b6000600182016149bc576149bc614994565b5060010190565b6000602082840312156149d557600080fd5b815161171081614804565b6040815260006149f36040830185614528565b8281036020840152614a058185614636565b95945050505050565b80820180821115610b5057610b50614994565b6001600160f81b03818116838216019080821115612dcc57612dcc614994565b602080825282518282018190526000919060409081850190868401855b82811015614ac0578151805160048110614a7a57614a7a6147b1565b8552808701516001600160a01b03908116888701528682015187870152606080830151821690870152608091820151169085015260a09093019290850190600101614a5e565b5091979650505050505050565b60008251614adf8184602087016144c5565b9190910192915050565b634e487b7160e01b600052600160045260246000fd5b6001600160f81b03828116828216039080821115612dcc57612dcc614994565b6001600160801b03828116828216039080821115612dcc57612dcc614994565b81810381811115610b5057610b50614994565b6001600160801b03818116838216019080821115612dcc57612dcc614994565b600060208284031215614b8457600080fd5b815161171081614594565b6000815160808452614ba46080850182614528565b905060208301518482036020860152614bbd8282614636565b91505060408301518482036040860152614bd782826144e9565b9150506060830151151560608501528091505092915050565b8581526001600160a01b0385811660208301528416604082015260a060608201819052600090614c2290830185614b8f565b8281036080840152614c3481856144e9565b98975050505050505050565b6001600160a01b039290921682521515602082015260400190565b8082028115828204841417610b5057610b50614994565b634e487b7160e01b600052601260045260246000fd5b8481526001600160a01b03848116602083015283166040820152608060608201819052600090614cba90830184614b8f565b9695505050505050565b600060038510614cd657614cd66147b1565b84825260606020830152614ced6060830185614636565b9050826040830152949350505050565b600081518084526020808501945080840160005b83811015614561578151151587529582019590820190600101614d11565b6020815260008251610120806020850152614d4e610140850183614528565b91506020850151601f1980868503016040870152614d6c8483614528565b93506040870151915080868503016060870152614d898483614636565b9350606087015191508086850301608087015250614da78382614cfd565b9250506080850151614dc460a08601826001600160a01b03169052565b5060a085015180151560c08601525060c085015180151560e08601525060e085015161010085810191909152909401519390920192909252919050565b60608101614e0e856147c7565b93815260208101929092526040909101529056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220f06620aeae42c231667775cf1202b1285899dc4ad759e1c7e9e96965113b6dc064736f6c63430008110033";
|
|
1176
|
+
|
|
1177
|
+
type PendleAuraWstethAnkrethConstructorParams =
|
|
1178
|
+
| [signer?: Signer]
|
|
1179
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
1180
|
+
|
|
1181
|
+
const isSuperArgs = (
|
|
1182
|
+
xs: PendleAuraWstethAnkrethConstructorParams
|
|
1183
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
1184
|
+
|
|
1185
|
+
export class PendleAuraWstethAnkreth__factory extends ContractFactory {
|
|
1186
|
+
constructor(...args: PendleAuraWstethAnkrethConstructorParams) {
|
|
1187
|
+
if (isSuperArgs(args)) {
|
|
1188
|
+
super(...args);
|
|
1189
|
+
} else {
|
|
1190
|
+
super(_abi, _bytecode, args[0]);
|
|
1191
|
+
}
|
|
1192
|
+
this.contractName = "PendleAuraWstethAnkreth";
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
deploy(
|
|
1196
|
+
_name: string,
|
|
1197
|
+
_symbol: string,
|
|
1198
|
+
_composablePreviewHelper: string,
|
|
1199
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1200
|
+
): Promise<PendleAuraWstethAnkreth> {
|
|
1201
|
+
return super.deploy(
|
|
1202
|
+
_name,
|
|
1203
|
+
_symbol,
|
|
1204
|
+
_composablePreviewHelper,
|
|
1205
|
+
overrides || {}
|
|
1206
|
+
) as Promise<PendleAuraWstethAnkreth>;
|
|
1207
|
+
}
|
|
1208
|
+
getDeployTransaction(
|
|
1209
|
+
_name: string,
|
|
1210
|
+
_symbol: string,
|
|
1211
|
+
_composablePreviewHelper: string,
|
|
1212
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1213
|
+
): TransactionRequest {
|
|
1214
|
+
return super.getDeployTransaction(
|
|
1215
|
+
_name,
|
|
1216
|
+
_symbol,
|
|
1217
|
+
_composablePreviewHelper,
|
|
1218
|
+
overrides || {}
|
|
1219
|
+
);
|
|
1220
|
+
}
|
|
1221
|
+
attach(address: string): PendleAuraWstethAnkreth {
|
|
1222
|
+
return super.attach(address) as PendleAuraWstethAnkreth;
|
|
1223
|
+
}
|
|
1224
|
+
connect(signer: Signer): PendleAuraWstethAnkreth__factory {
|
|
1225
|
+
return super.connect(signer) as PendleAuraWstethAnkreth__factory;
|
|
1226
|
+
}
|
|
1227
|
+
static readonly contractName: "PendleAuraWstethAnkreth";
|
|
1228
|
+
public readonly contractName: "PendleAuraWstethAnkreth";
|
|
1229
|
+
static readonly bytecode = _bytecode;
|
|
1230
|
+
static readonly abi = _abi;
|
|
1231
|
+
static createInterface(): PendleAuraWstethAnkrethInterface {
|
|
1232
|
+
return new utils.Interface(_abi) as PendleAuraWstethAnkrethInterface;
|
|
1233
|
+
}
|
|
1234
|
+
static connect(
|
|
1235
|
+
address: string,
|
|
1236
|
+
signerOrProvider: Signer | Provider
|
|
1237
|
+
): PendleAuraWstethAnkreth {
|
|
1238
|
+
return new Contract(
|
|
1239
|
+
address,
|
|
1240
|
+
_abi,
|
|
1241
|
+
signerOrProvider
|
|
1242
|
+
) as PendleAuraWstethAnkreth;
|
|
1243
|
+
}
|
|
1244
|
+
}
|