@pendle/core-v2 1.1.1-mainnet → 1.2.0-testnet
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +3 -3
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +4 -0
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +592 -0
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +3 -3
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +2 -2
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +2 -2
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.json +141 -0
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.json +141 -0
- package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.json +10 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +143 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.json +1218 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.json +1192 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.json +10 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.json +40 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.json +322 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.json +1171 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.json +10 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.json +133 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +143 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +143 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +143 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/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/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.json +141 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.json +50 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.json +1163 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +143 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +143 -2
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
- package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.dbg.json +4 -0
- package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.json +66 -0
- package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +4 -0
- package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.json +476 -0
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +4 -0
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.json +590 -0
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +4 -0
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.json +1017 -0
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.json +2 -2
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +171 -5
- package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.json +10 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.json +24 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.json +133 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.json +328 -0
- package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.json +467 -0
- package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{IPFeeDistributorFactory.sol/IPFeeDistributorFactory.json → Balancer/IGauge.sol/IGauge.json} +18 -33
- package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.json +30 -0
- package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.json +398 -0
- package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.dbg.json +4 -0
- package/build/artifacts/contracts/{router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.json → interfaces/Balancer/IRateProvider.sol/IRateProvider.json} +5 -5
- package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.json +278 -0
- package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.json +18 -0
- package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/GMX/IGMXVault.sol/IGMXVault.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/GMX/IGMXVault.sol/IGMXVault.json +308 -0
- package/build/artifacts/contracts/interfaces/GMX/IGlpManager.sol/IGlpManager.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/GMX/IGlpManager.sol/IGlpManager.json +43 -0
- package/build/artifacts/contracts/interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.json +201 -0
- package/build/artifacts/contracts/interfaces/GMX/IVaultPriceFeed.sol/IVaultPriceFeed.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/GMX/IVaultPriceFeed.sol/IVaultPriceFeed.json +45 -0
- package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.json +48 -0
- package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBoringOwnableUpgradeable.sol/IBoringOwnableUpgradeable.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IDiamondCut.sol/IDiamondCut.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IDiamondCut.sol/IDiamondCut.json +93 -0
- package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.json +87 -0
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IEulerEToken.sol/IEulerEToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IEulerMarkets.sol/IEulerMarkets.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +338 -16
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +105 -224
- package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.json +56 -12
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.json +52 -8
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +231 -8
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +675 -241
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.json +43 -32
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.json +40 -0
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.json +679 -0
- package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISAvax.sol/ISAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWAvax.sol/IWAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.json +143 -0
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +2 -28
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.json +322 -0
- package/build/artifacts/contracts/offchain-helpers/PendleMulticall.sol/PendleMulticall.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/PendleMulticall.sol/PendleMulticall.json +47 -0
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +144 -60
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +345 -62
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +107 -260
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +57 -18
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +54 -65
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +342 -44
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +76 -67
- package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +4 -0
- package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.json +141 -0
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.json +1 -15
- package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.json +160 -0
- package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.json +10 -0
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.json +56 -0
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwapAggregator.sol/PendleSwapAggregator.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwapAggregator.sol/PendleSwapAggregator.json +72 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberAggregationRouterHelper.sol/KyberAggregationRouterHelper.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberAggregationRouterHelper.sol/KyberAggregationRouterHelper.json +10 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScaleDataHelperEthereum1.sol/ScaleDataHelperEthereum1.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScaleDataHelperEthereum1.sol/ScaleDataHelperEthereum1.json +10 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.json +65 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.json +388 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IHashflow.sol/IHashflow.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IHashflow.sol/IHashflow.json +101 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.json +215 -0
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol +0 -1
- package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +9 -9
- package/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol +224 -0
- package/contracts/core/BulkSeller/BulkSeller.sol +1 -1
- package/contracts/core/RewardManager/RewardManager.sol +1 -1
- package/contracts/core/StandardizedYield/SYBase.sol +23 -5
- package/contracts/core/StandardizedYield/StEthHelper.sol +71 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol +134 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol +154 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol +68 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol +322 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol +390 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol +329 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol +30 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol +189 -0
- package/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol +142 -0
- package/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol +224 -0
- package/contracts/core/StandardizedYield/implementations/GLP/README.md +61 -0
- package/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol +138 -0
- package/contracts/core/YieldContracts/PendleYieldContractFactory.sol +10 -0
- package/contracts/core/YieldContractsV2/InterestManagerYTV2.sol +114 -0
- package/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol +63 -0
- package/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol +200 -0
- package/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol +485 -0
- package/contracts/core/libraries/ArrayLib.sol +27 -3
- package/contracts/core/libraries/Errors.sol +18 -4
- package/contracts/core/libraries/TokenHelper.sol +10 -0
- package/contracts/interfaces/Balancer/IAsset.sol +4 -0
- package/contracts/interfaces/Balancer/IBalancerFees.sol +6 -0
- package/contracts/interfaces/Balancer/IBalancerStablePreview.sol +22 -0
- package/contracts/interfaces/Balancer/IBasePool.sol +30 -0
- package/contracts/interfaces/Balancer/IComposableStable.sol +39 -0
- package/contracts/interfaces/Balancer/IGauge.sol +10 -0
- package/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol +6 -0
- package/contracts/interfaces/Balancer/IMetaStablePool.sol +31 -0
- package/contracts/interfaces/Balancer/IRateProvider.sol +6 -0
- package/contracts/interfaces/Balancer/IVault.sol +78 -0
- package/contracts/interfaces/ConvexCurve/IRewards.sol +5 -0
- package/contracts/interfaces/GMX/IGMXVault.sol +47 -0
- package/contracts/interfaces/GMX/IGlpManager.sol +12 -0
- package/contracts/interfaces/GMX/IRewardRouterV2.sol +43 -0
- package/contracts/interfaces/GMX/IVaultPriceFeed.sol +11 -0
- package/contracts/interfaces/IAddressProvider.sol +7 -0
- package/contracts/interfaces/IDiamondCut.sol +36 -0
- package/contracts/interfaces/IDiamondLoupe.sol +38 -0
- package/contracts/interfaces/IERC4626.sol +2 -0
- package/contracts/interfaces/IPActionAddRemoveLiq.sol +36 -1
- package/contracts/interfaces/IPActionInfoStatic.sol +43 -0
- package/contracts/interfaces/IPActionMarketAuxStatic.sol +30 -0
- package/contracts/interfaces/IPActionMarketCoreStatic.sol +317 -0
- package/contracts/interfaces/IPActionMintRedeem.sol +2 -55
- package/contracts/interfaces/IPActionMintRedeemStatic.sol +60 -0
- package/contracts/interfaces/IPActionMisc.sol +18 -4
- package/contracts/interfaces/IPActionStorageStatic.sol +25 -0
- package/contracts/interfaces/IPActionSwapPT.sol +1 -1
- package/contracts/interfaces/IPActionSwapYT.sol +28 -4
- package/contracts/interfaces/IPActionVePendleStatic.sol +9 -0
- package/contracts/interfaces/IPAllAction.sol +5 -3
- package/contracts/interfaces/IPFeeDistributor.sol +12 -10
- package/contracts/interfaces/IPInterestManagerYTV2.sol +13 -0
- package/contracts/interfaces/IPMiniDiamond.sol +12 -0
- package/contracts/interfaces/IPMsgReceiverApp.sol +1 -1
- package/contracts/interfaces/IPRouterStatic.sol +19 -0
- package/contracts/interfaces/IPVotingController.sol +6 -0
- package/contracts/interfaces/IPYieldTokenV2.sol +66 -0
- package/contracts/interfaces/IStandardizedYield.sol +1 -1
- package/contracts/offchain-helpers/AddressProvider.sol +16 -0
- package/contracts/offchain-helpers/Broadcaster.sol +48 -0
- package/contracts/offchain-helpers/Multicall2.sol +103 -0
- package/contracts/offchain-helpers/PendleMulticall.sol +26 -0
- package/contracts/offchain-helpers/{MarketMathStatic.sol → legacy/MarketMathStatic.sol} +2 -2
- package/contracts/offchain-helpers/{RouterStatic.sol → legacy/RouterStatic.sol} +7 -7
- package/contracts/offchain-helpers/router-static/PendleRouterStatic.sol +19 -0
- package/contracts/offchain-helpers/router-static/StorageLayout.sol +21 -0
- package/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol +125 -0
- package/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol +166 -0
- package/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol +769 -0
- package/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol +166 -0
- package/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol +75 -0
- package/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol +55 -0
- package/contracts/router/ActionAddRemoveLiq.sol +116 -6
- package/contracts/router/ActionMintRedeem.sol +12 -202
- package/contracts/router/ActionMisc.sol +45 -19
- package/contracts/router/ActionSwapPT.sol +0 -5
- package/contracts/router/ActionSwapYT.sol +103 -13
- package/contracts/router/PendleRouter.sol +211 -72
- package/contracts/router/{ActionCallback.sol → base/ActionBaseCallback.sol} +47 -47
- package/contracts/router/base/ActionBaseMintRedeem.sol +105 -60
- package/contracts/router/base/CallbackHelper.sol +137 -44
- package/contracts/router/base/MarketApproxLib.sol +227 -350
- package/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol +45 -0
- package/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol +69 -0
- package/contracts/router/swap-aggregator/IPSwapAggregator.sol +25 -0
- package/contracts/router/swap-aggregator/PendleSwapAggregator.sol +46 -0
- package/contracts/router/swap-aggregator/kyberswap/KyberAggregationRouterHelper.sol +214 -0
- package/contracts/router/swap-aggregator/kyberswap/ScaleDataHelperEthereum1.sol +147 -0
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol +17 -0
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperEthereum1.sol +191 -0
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IHashflow.sol +30 -0
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol +42 -0
- package/deployments/43113-core.json +30 -0
- package/deployments/43113-markets/APE-30-MARCH.json +10 -0
- package/deployments/43113-markets/USDC-FEB-2ND-2024.json +10 -0
- package/deployments/43113-markets/USDC-FEB-2ND.json +10 -0
- package/deployments/43113-markets/USDC-FEB-4TH.json +10 -0
- package/deployments/43113-markets/WETH-FEB-2ND.json +11 -0
- package/deployments/43113-markets/WETH-FEB-4TH.json +11 -0
- package/deployments/43113-offchain-helper.json +4 -0
- package/deployments/43113-testenv.json +22 -0
- package/deployments/80001-core.json +29 -0
- package/deployments/80001-markets/GLP-DEC-8TH.json +10 -0
- package/deployments/80001-markets/USDC-DEC-8TH.json +10 -0
- package/deployments/80001-markets/USDC-FEB-4TH.json +10 -0
- package/deployments/80001-markets/WETH-FEB-4TH.json +11 -0
- package/deployments/80001-offchain-helper.json +4 -0
- package/deployments/80001-testenv.json +22 -0
- package/package.json +9 -10
- package/typechain-types/ActionAddRemoveLiq.ts +203 -23
- package/typechain-types/ActionBaseCallback.ts +115 -0
- package/typechain-types/ActionMintRedeem.ts +29 -230
- package/typechain-types/ActionMisc.ts +77 -27
- package/typechain-types/ActionSwapPT.ts +26 -31
- package/typechain-types/ActionSwapYT.ts +202 -21
- package/typechain-types/AddressProvider.ts +280 -0
- package/typechain-types/BribeDistributor.ts +363 -0
- package/typechain-types/ComposableStablePreview.ts +217 -0
- package/typechain-types/DistributorBase.ts +363 -0
- package/typechain-types/FeeDistributor.ts +416 -0
- package/typechain-types/GLPPreviewHelper.ts +121 -0
- package/typechain-types/GMXPreviewHelper.ts +121 -0
- package/typechain-types/I1inchAggregationRouterV5.ts +257 -0
- package/typechain-types/IAddressProvider.ts +123 -0
- package/typechain-types/IAggregationExecutor.ts +182 -0
- package/typechain-types/IBalancerFees.ts +89 -0
- package/typechain-types/IBalancerStablePreview.ts +217 -0
- package/typechain-types/IBasePool.ts +482 -0
- package/typechain-types/IComposableStable.ts +730 -0
- package/typechain-types/IDiamondCut.ts +152 -0
- package/typechain-types/IDiamondLoupe.ts +190 -0
- package/typechain-types/IExecutorHelperEthereum1.ts +643 -0
- package/typechain-types/IGMXVault.ts +494 -0
- package/typechain-types/IGauge.ts +160 -0
- package/typechain-types/IGlpManager.ts +115 -0
- package/typechain-types/IHashflow.ts +159 -0
- package/typechain-types/IKyberSwapAggregationRouterHelper.ts +109 -0
- package/typechain-types/ILiquidityGaugeFactory.ts +99 -0
- package/typechain-types/IMetaAggregationRouter.ts +213 -0
- package/typechain-types/IMetaAggregationRouterV2.ts +221 -0
- package/typechain-types/IMetaStablePool.ts +619 -0
- package/typechain-types/IMultihopRouterEthereum.ts +209 -0
- package/typechain-types/IPActionAddRemoveLiq.ts +213 -14
- package/typechain-types/IPActionMintRedeem.ts +29 -211
- package/typechain-types/IPActionMisc.ts +77 -27
- package/typechain-types/IPActionSwapPT.ts +26 -12
- package/typechain-types/IPActionSwapYT.ts +168 -12
- package/typechain-types/IPAllAction.ts +445 -227
- package/typechain-types/IPFeeDistributor.ts +61 -78
- package/typechain-types/IPFeeDistributorFactory.ts +53 -139
- package/typechain-types/IPInterestManagerYTV2.ts +117 -0
- package/typechain-types/IPMsgReceiverApp.ts +5 -5
- package/typechain-types/IPSwapAggregator.ts +126 -0
- package/typechain-types/IPYieldTokenV2.ts +901 -0
- package/typechain-types/IRateProvider.ts +81 -0
- package/typechain-types/IRewardRouterV2.ts +346 -0
- package/typechain-types/IRewards.ts +35 -5
- package/typechain-types/ISwapAggregator.ts +124 -0
- package/typechain-types/IVault.ts +410 -0
- package/typechain-types/IVaultPriceFeed.ts +114 -0
- package/typechain-types/InterestManagerYTV2.ts +157 -0
- package/typechain-types/MetaStableMath.ts +113 -0
- package/typechain-types/MetaStablePreview.ts +501 -0
- package/typechain-types/Multicall2.ts +437 -0
- package/typechain-types/PendleAura3EthSY.ts +1600 -0
- package/typechain-types/PendleAuraBalancerStableLPSY.ts +1523 -0
- package/typechain-types/PendleAuraCbethWstethSY.ts +1587 -0
- package/typechain-types/PendleAuraWethRethSY.ts +1549 -0
- package/typechain-types/PendleAuraWethWstethSY.ts +1523 -0
- package/typechain-types/PendleConvexLPSY.ts +204 -0
- package/typechain-types/PendleCurveFraxUsdcSY.ts +204 -0
- package/typechain-types/PendleCurveUsdd3CrvSY.ts +204 -0
- package/typechain-types/PendleFeeDistributor.ts +409 -117
- package/typechain-types/PendleGaugeControllerSidechainUpg.ts +4 -4
- package/typechain-types/PendleGlpSY.ts +1463 -0
- package/typechain-types/PendleLooksStakingSY.ts +204 -0
- package/typechain-types/PendleMsgReceiverAppUpg.ts +5 -5
- package/typechain-types/PendleMulticall.ts +110 -0
- package/typechain-types/PendlePrincipalTokenV2.ts +614 -0
- package/typechain-types/PendleQiTokenSY.ts +204 -0
- package/typechain-types/PendleRouter.ts +109 -131
- package/typechain-types/PendleSwapAggregator.ts +126 -0
- package/typechain-types/PendleWstEthSY.ts +204 -0
- package/typechain-types/PendleYieldContractFactoryV2.ts +801 -0
- package/typechain-types/PendleYieldTokenV2.ts +1298 -0
- package/typechain-types/RouterStatic.ts +92 -0
- package/typechain-types/SAPE.ts +204 -0
- package/typechain-types/SYBase.ts +204 -0
- package/typechain-types/SYBaseWithRewards.ts +204 -0
- package/typechain-types/StEthHelper.ts +107 -0
- package/typechain-types/StablePreviewBase.ts +217 -0
- package/typechain-types/SwapAggregator.ts +406 -0
- package/typechain-types/VotingEscrowPendleSidechain.ts +4 -5
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +346 -68
- package/typechain-types/factories/ActionBaseCallback__factory.ts +156 -0
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +108 -266
- package/typechain-types/factories/ActionMisc__factory.ts +56 -17
- package/typechain-types/factories/ActionSwapPTYT__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPT__factory.ts +55 -71
- package/typechain-types/factories/ActionSwapYT__factory.ts +356 -48
- package/typechain-types/factories/AddressProvider__factory.ts +196 -0
- package/typechain-types/factories/AggregationRouterHelper__factory.ts +1 -1
- package/typechain-types/factories/BribeDistributor__factory.ts +303 -0
- package/typechain-types/factories/BulkSellerFactory__factory.ts +1 -1
- package/typechain-types/factories/BulkSellerOffchain__factory.ts +1 -1
- package/typechain-types/factories/BulkSeller__factory.ts +1 -1
- package/typechain-types/factories/ComposableStablePreview__factory.ts +190 -0
- package/typechain-types/factories/DistributorBase__factory.ts +249 -0
- package/typechain-types/factories/Errors__factory.ts +170 -4
- package/typechain-types/factories/FeeDistributor__factory.ts +339 -0
- package/typechain-types/factories/GLPPreviewHelper__factory.ts +65 -0
- package/typechain-types/factories/GMXPreviewHelper__factory.ts +65 -0
- package/typechain-types/factories/I1inchAggregationRouterV5__factory.ts +179 -0
- package/typechain-types/factories/IAddressProvider__factory.ts +63 -0
- package/typechain-types/factories/IAggregationExecutor__factory.ts +84 -0
- package/typechain-types/factories/IBalancerFees__factory.ts +36 -0
- package/typechain-types/factories/IBalancerStablePreview__factory.ts +152 -0
- package/typechain-types/factories/IBasePool__factory.ts +340 -0
- package/typechain-types/factories/IComposableStable__factory.ts +482 -0
- package/typechain-types/factories/IDiamondCut__factory.ts +105 -0
- package/typechain-types/factories/IDiamondLoupe__factory.ts +99 -0
- package/typechain-types/factories/IExecutorHelperEthereum1__factory.ts +407 -0
- package/typechain-types/factories/IGMXVault__factory.ts +320 -0
- package/typechain-types/factories/IGauge__factory.ts +70 -0
- package/typechain-types/factories/IGlpManager__factory.ts +55 -0
- package/typechain-types/factories/IHashflow__factory.ts +113 -0
- package/typechain-types/factories/IKyberSwapAggregationRouterHelper__factory.ts +56 -0
- package/typechain-types/factories/ILiquidityGaugeFactory__factory.ts +49 -0
- package/typechain-types/factories/IMetaAggregationRouterV2__factory.ts +234 -0
- package/typechain-types/factories/IMetaAggregationRouter__factory.ts +202 -0
- package/typechain-types/factories/IMetaStablePool__factory.ts +413 -0
- package/typechain-types/factories/IMultihopRouterEthereum__factory.ts +155 -0
- package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +338 -16
- package/typechain-types/factories/IPActionMintRedeem__factory.ts +105 -224
- package/typechain-types/factories/IPActionMisc__factory.ts +55 -11
- package/typechain-types/factories/IPActionSwapPT__factory.ts +52 -8
- package/typechain-types/factories/IPActionSwapYT__factory.ts +231 -8
- package/typechain-types/factories/IPAllAction__factory.ts +675 -241
- package/typechain-types/factories/IPFeeDistributorFactory__factory.ts +25 -34
- package/typechain-types/factories/IPFeeDistributor__factory.ts +42 -31
- package/typechain-types/factories/IPInterestManagerYTV2__factory.ts +59 -0
- package/typechain-types/factories/IPMsgReceiverApp__factory.ts +1 -1
- package/typechain-types/factories/IPSwapAggregator__factory.ts +71 -0
- package/typechain-types/factories/IPYieldTokenV2__factory.ts +694 -0
- package/typechain-types/factories/IRateProvider__factory.ts +36 -0
- package/typechain-types/factories/IRewardRouterV2__factory.ts +216 -0
- package/typechain-types/factories/IRewards__factory.ts +18 -0
- package/typechain-types/factories/ISwapAggregator__factory.ts +66 -0
- package/typechain-types/factories/IVaultPriceFeed__factory.ts +60 -0
- package/typechain-types/factories/IVault__factory.ts +287 -0
- package/typechain-types/factories/InterestManagerYTV2__factory.ts +81 -0
- package/typechain-types/factories/MarketMathStatic__factory.ts +1 -27
- package/typechain-types/factories/MetaStableMath__factory.ts +93 -0
- package/typechain-types/factories/MetaStablePreview__factory.ts +375 -0
- package/typechain-types/factories/Multicall2__factory.ts +372 -0
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/PendleAura3EthSY__factory.ts +1326 -0
- package/typechain-types/factories/PendleAuraBalancerStableLPSY__factory.ts +1190 -0
- package/typechain-types/factories/PendleAuraCbethWstethSY__factory.ts +1317 -0
- package/typechain-types/factories/PendleAuraWethRethSY__factory.ts +1291 -0
- package/typechain-types/factories/PendleAuraWethWstethSY__factory.ts +1265 -0
- package/typechain-types/factories/PendleConvexLPSY__factory.ts +141 -0
- package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +142 -1
- package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +142 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +341 -66
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +2 -2
- package/typechain-types/factories/PendleGlpSY__factory.ts +1249 -0
- package/typechain-types/factories/PendleLooksStakingSY__factory.ts +142 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMarket__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgReceiverAppUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMulticall__factory.ts +100 -0
- package/typechain-types/factories/PendlePrincipalTokenV2__factory.ts +564 -0
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSY__factory.ts +142 -1
- package/typechain-types/factories/PendleRouter__factory.ts +75 -74
- package/typechain-types/factories/PendleSwapAggregator__factory.ts +129 -0
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleWstEthSY__factory.ts +142 -1
- package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +674 -0
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1109 -0
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
- package/typechain-types/factories/RouterStatic__factory.ts +69 -1
- package/typechain-types/factories/SAPE__factory.ts +142 -1
- package/typechain-types/factories/SYBaseWithRewards__factory.ts +141 -0
- package/typechain-types/factories/SYBase__factory.ts +141 -0
- package/typechain-types/factories/StEthHelper__factory.ts +62 -0
- package/typechain-types/factories/StablePreviewBase__factory.ts +148 -0
- package/typechain-types/factories/SwapAggregator__factory.ts +309 -0
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +2 -2
- package/typechain-types/hardhat.d.ts +383 -86
- package/typechain-types/index.ts +90 -24
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.dbg.json +0 -4
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.json +0 -131
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +0 -4
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +0 -310
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +0 -4
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +0 -389
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.json +0 -190
- package/build/artifacts/contracts/interfaces/IPFeeDistributorFactory.sol/IPFeeDistributorFactory.dbg.json +0 -4
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +0 -4
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.json +0 -165
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +0 -4
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +0 -343
- package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +0 -4
- package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +0 -224
- package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.dbg.json +0 -4
- package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.json +0 -35
- package/build/artifacts/contracts/router/kyberswap/IMultihopRouter.sol/IMultihopRouter.dbg.json +0 -4
- package/build/artifacts/contracts/router/kyberswap/IMultihopRouter.sol/IMultihopRouter.json +0 -136
- package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +0 -4
- package/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol +0 -159
- package/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol +0 -99
- package/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol +0 -70
- package/contracts/interfaces/IBoringOwnableUpgradeable.sol +0 -10
- package/contracts/interfaces/IPActionSwapPTYT.sol +0 -31
- package/contracts/interfaces/IPFeeDistributorFactory.sol +0 -14
- package/contracts/router/ActionSwapPTYT.sol +0 -108
- package/contracts/router/kyberswap/AggregationRouterHelper.sol +0 -317
- package/contracts/router/kyberswap/IAggregatorRouterHelper.sol +0 -10
- package/contracts/router/kyberswap/IMultihopRouter.sol +0 -139
- package/contracts/router/kyberswap/KyberSwapHelper.sol +0 -79
- package/deployments/1-core.json +0 -29
- package/deployments/1-markets/APE-JUNE-29.json +0 -8
- package/deployments/1-markets/FRAXUSDC-CURVELP-MARCH30.json +0 -11
- package/deployments/1-markets/LOOKS-STAKING-MARCH30.json +0 -10
- package/deployments/1-markets/STETH-JUNE29.json +0 -10
- package/deployments/1-markets/STETH-MARCH30.json +0 -10
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "AggregationRouterHelper",
|
|
4
|
-
"sourceName": "contracts/router/kyberswap/AggregationRouterHelper.sol",
|
|
5
|
-
"abi": [
|
|
6
|
-
{
|
|
7
|
-
"inputs": [],
|
|
8
|
-
"stateMutability": "nonpayable",
|
|
9
|
-
"type": "constructor"
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
"anonymous": false,
|
|
13
|
-
"inputs": [
|
|
14
|
-
{
|
|
15
|
-
"indexed": false,
|
|
16
|
-
"internalType": "address",
|
|
17
|
-
"name": "previousAdmin",
|
|
18
|
-
"type": "address"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"indexed": false,
|
|
22
|
-
"internalType": "address",
|
|
23
|
-
"name": "newAdmin",
|
|
24
|
-
"type": "address"
|
|
25
|
-
}
|
|
26
|
-
],
|
|
27
|
-
"name": "AdminChanged",
|
|
28
|
-
"type": "event"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"anonymous": false,
|
|
32
|
-
"inputs": [
|
|
33
|
-
{
|
|
34
|
-
"indexed": true,
|
|
35
|
-
"internalType": "address",
|
|
36
|
-
"name": "beacon",
|
|
37
|
-
"type": "address"
|
|
38
|
-
}
|
|
39
|
-
],
|
|
40
|
-
"name": "BeaconUpgraded",
|
|
41
|
-
"type": "event"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"anonymous": false,
|
|
45
|
-
"inputs": [
|
|
46
|
-
{
|
|
47
|
-
"indexed": false,
|
|
48
|
-
"internalType": "uint8",
|
|
49
|
-
"name": "version",
|
|
50
|
-
"type": "uint8"
|
|
51
|
-
}
|
|
52
|
-
],
|
|
53
|
-
"name": "Initialized",
|
|
54
|
-
"type": "event"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"anonymous": false,
|
|
58
|
-
"inputs": [
|
|
59
|
-
{
|
|
60
|
-
"indexed": true,
|
|
61
|
-
"internalType": "address",
|
|
62
|
-
"name": "previousOwner",
|
|
63
|
-
"type": "address"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"indexed": true,
|
|
67
|
-
"internalType": "address",
|
|
68
|
-
"name": "newOwner",
|
|
69
|
-
"type": "address"
|
|
70
|
-
}
|
|
71
|
-
],
|
|
72
|
-
"name": "OwnershipTransferred",
|
|
73
|
-
"type": "event"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"anonymous": false,
|
|
77
|
-
"inputs": [
|
|
78
|
-
{
|
|
79
|
-
"indexed": true,
|
|
80
|
-
"internalType": "address",
|
|
81
|
-
"name": "implementation",
|
|
82
|
-
"type": "address"
|
|
83
|
-
}
|
|
84
|
-
],
|
|
85
|
-
"name": "Upgraded",
|
|
86
|
-
"type": "event"
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"inputs": [],
|
|
90
|
-
"name": "claimOwnership",
|
|
91
|
-
"outputs": [],
|
|
92
|
-
"stateMutability": "nonpayable",
|
|
93
|
-
"type": "function"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"inputs": [
|
|
97
|
-
{
|
|
98
|
-
"internalType": "bytes",
|
|
99
|
-
"name": "kybercall",
|
|
100
|
-
"type": "bytes"
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"internalType": "uint256",
|
|
104
|
-
"name": "newAmount",
|
|
105
|
-
"type": "uint256"
|
|
106
|
-
}
|
|
107
|
-
],
|
|
108
|
-
"name": "getScaledInputData",
|
|
109
|
-
"outputs": [
|
|
110
|
-
{
|
|
111
|
-
"internalType": "bytes",
|
|
112
|
-
"name": "",
|
|
113
|
-
"type": "bytes"
|
|
114
|
-
}
|
|
115
|
-
],
|
|
116
|
-
"stateMutability": "pure",
|
|
117
|
-
"type": "function"
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"inputs": [],
|
|
121
|
-
"name": "initialize",
|
|
122
|
-
"outputs": [],
|
|
123
|
-
"stateMutability": "nonpayable",
|
|
124
|
-
"type": "function"
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"inputs": [],
|
|
128
|
-
"name": "owner",
|
|
129
|
-
"outputs": [
|
|
130
|
-
{
|
|
131
|
-
"internalType": "address",
|
|
132
|
-
"name": "",
|
|
133
|
-
"type": "address"
|
|
134
|
-
}
|
|
135
|
-
],
|
|
136
|
-
"stateMutability": "view",
|
|
137
|
-
"type": "function"
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
"inputs": [],
|
|
141
|
-
"name": "pendingOwner",
|
|
142
|
-
"outputs": [
|
|
143
|
-
{
|
|
144
|
-
"internalType": "address",
|
|
145
|
-
"name": "",
|
|
146
|
-
"type": "address"
|
|
147
|
-
}
|
|
148
|
-
],
|
|
149
|
-
"stateMutability": "view",
|
|
150
|
-
"type": "function"
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"inputs": [],
|
|
154
|
-
"name": "proxiableUUID",
|
|
155
|
-
"outputs": [
|
|
156
|
-
{
|
|
157
|
-
"internalType": "bytes32",
|
|
158
|
-
"name": "",
|
|
159
|
-
"type": "bytes32"
|
|
160
|
-
}
|
|
161
|
-
],
|
|
162
|
-
"stateMutability": "view",
|
|
163
|
-
"type": "function"
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
"inputs": [
|
|
167
|
-
{
|
|
168
|
-
"internalType": "address",
|
|
169
|
-
"name": "newOwner",
|
|
170
|
-
"type": "address"
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
"internalType": "bool",
|
|
174
|
-
"name": "direct",
|
|
175
|
-
"type": "bool"
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
"internalType": "bool",
|
|
179
|
-
"name": "renounce",
|
|
180
|
-
"type": "bool"
|
|
181
|
-
}
|
|
182
|
-
],
|
|
183
|
-
"name": "transferOwnership",
|
|
184
|
-
"outputs": [],
|
|
185
|
-
"stateMutability": "nonpayable",
|
|
186
|
-
"type": "function"
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
"inputs": [
|
|
190
|
-
{
|
|
191
|
-
"internalType": "address",
|
|
192
|
-
"name": "newImplementation",
|
|
193
|
-
"type": "address"
|
|
194
|
-
}
|
|
195
|
-
],
|
|
196
|
-
"name": "upgradeTo",
|
|
197
|
-
"outputs": [],
|
|
198
|
-
"stateMutability": "nonpayable",
|
|
199
|
-
"type": "function"
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
"inputs": [
|
|
203
|
-
{
|
|
204
|
-
"internalType": "address",
|
|
205
|
-
"name": "newImplementation",
|
|
206
|
-
"type": "address"
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
"internalType": "bytes",
|
|
210
|
-
"name": "data",
|
|
211
|
-
"type": "bytes"
|
|
212
|
-
}
|
|
213
|
-
],
|
|
214
|
-
"name": "upgradeToAndCall",
|
|
215
|
-
"outputs": [],
|
|
216
|
-
"stateMutability": "payable",
|
|
217
|
-
"type": "function"
|
|
218
|
-
}
|
|
219
|
-
],
|
|
220
|
-
"bytecode": "0x60a0604052306080523480156200001557600080fd5b50600154600160a81b900460ff16158080156200003d575060018054600160a01b900460ff16105b806200007357506200005a306200015860201b620007611760201c565b15801562000073575060018054600160a01b900460ff16145b620000db5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840160405180910390fd5b6001805460ff60a01b1916600160a01b179055801562000109576001805460ff60a81b1916600160a81b1790555b801562000151576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5062000167565b6001600160a01b03163b151590565b608051612b386200019f600039600081816102b6015281816102f6015281816104290152818161046901526104e50152612b386000f3fe6080604052600436106100765760003560e01c8063078dfbe71461007b5780633659cfe61461009d5780634e71e0c8146100bd5780634f1ef286146100d257806352d1902d146100e55780638129fc1c1461010d5780638da5cb5b14610122578063e30c39781461015a578063e4da6f2e1461017a575b600080fd5b34801561008757600080fd5b5061009b6100963660046115fd565b6101a7565b005b3480156100a957600080fd5b5061009b6100b8366004611648565b6102ac565b3480156100c957600080fd5b5061009b610374565b61009b6100e03660046117d9565b61041f565b3480156100f157600080fd5b506100fa6104d8565b6040519081526020015b60405180910390f35b34801561011957600080fd5b5061009b610586565b34801561012e57600080fd5b50600054610142906001600160a01b031681565b6040516001600160a01b039091168152602001610104565b34801561016657600080fd5b50600154610142906001600160a01b031681565b34801561018657600080fd5b5061019a610195366004611835565b6106b4565b60405161010491906118fc565b6000546001600160a01b031633146101da5760405162461bcd60e51b81526004016101d19061190f565b60405180910390fd5b811561028b576001600160a01b0383161515806101f45750805b6102385760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b60448201526064016101d1565b600080546040516001600160a01b0380871693921691600080516020612abc83398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036102f45760405162461bcd60e51b81526004016101d190611944565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610326610770565b6001600160a01b03161461034c5760405162461bcd60e51b81526004016101d19061197e565b6103558161078c565b60408051600080825260208201909252610371918391906107b6565b50565b6001546001600160a01b03163381146103cf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e657260448201526064016101d1565b600080546040516001600160a01b0380851693921691600080516020612abc83398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036104675760405162461bcd60e51b81526004016101d190611944565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610499610770565b6001600160a01b0316146104bf5760405162461bcd60e51b81526004016101d19061197e565b6104c88261078c565b6104d4828260016107b6565b5050565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146105735760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b60648201526084016101d1565b50600080516020612a9c83398151915290565b600154600160a81b900460ff16158080156105ac575060018054600160a01b900460ff16105b806105d357506105bb30610761565b1580156105d3575060018054600160a01b900460ff16145b6106365760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016101d1565b6001805460ff60a01b1916600160a01b1790558015610663576001805460ff60a81b1916600160a81b1790555b61066b610921565b8015610371576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150565b606060006106c560048286886119b8565b6106ce916119e2565b905060008080806106e2886004818c6119b8565b8101906106ef9190611aff565b93509350935093506107028383896109a2565b60405191945092508590610720908690869086908690602401611cce565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152955050505050505b9392505050565b6001600160a01b03163b151590565b600080516020612a9c833981519152546001600160a01b031690565b6000546001600160a01b031633146103715760405162461bcd60e51b81526004016101d19061190f565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156107e9576102a783610a72565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610843575060408051601f3d908101601f1916820190925261084091810190611dc9565b60015b6108a65760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016101d1565b600080516020612a9c83398151915281146109155760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016101d1565b506102a7838383610b0c565b600154600160a81b900460ff1661098e5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016101d1565b600080546001600160a01b03191633179055565b6109aa611563565b60e084015160a0850151606091908481036109cc578686935093505050610a6a565b6020821615610a495760408701515115610a285760405162461bcd60e51b815260206004820152601e60248201527f6b796265723a2063616e2774207363616c652069662074616b6520666565000060448201526064016101d1565b610a33878287610b37565b610a3e878388610c92565b935093505050610a6a565b6000610a56878388610dbf565b9050610a63888388610b37565b9450925050505b935093915050565b610a7b81610761565b610add5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016101d1565b600080516020612a9c83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b610b158361105b565b600082511180610b225750805b156102a757610b31838361109b565b50505050565b610b3f611563565b60c084015183610b4f8483611df8565b610b599190611e0f565b60c08601528015801590610b6f575060c0850151155b15610b7c57600160c08601525b60a08501839052604085015151600003610b99578491505061075a565b6000805b866040015151811015610c87576001876040015151610bbc9190611e31565b8103610bf357610bcc8286611e31565b87606001518281518110610be257610be2611e44565b602002602001018181525050610c4a565b858588606001518381518110610c0b57610c0b611e44565b6020026020010151610c1d9190611df8565b610c279190611e0f565b87606001518281518110610c3d57610c3d611e44565b6020026020010181815250505b86606001518181518110610c6057610c60611e44565b602002602001015182610c739190611e5a565b915080610c7f81611e6d565b915050610b9d565b509495945050505050565b6060600084806020019051810190610caa919061201c565b8051519091506000805b82811015610d9257610cc7600184611e31565b8103610cfe57610cd78287611e31565b84602001518281518110610ced57610ced611e44565b602002602001018181525050610d55565b868685602001518381518110610d1657610d16611e44565b6020026020010151610d289190611df8565b610d329190611e0f565b84602001518281518110610d4857610d48611e44565b6020026020010181815250505b83602001518181518110610d6b57610d6b611e44565b602002602001015182610d7e9190611e5a565b915080610d8a81611e6d565b915050610cb4565b5082604051602001610da491906120fe565b60405160208183030381529060405293505050509392505050565b6060600084806020019051810190610dd79190612331565b905083838260600151610dea9190611df8565b610df49190611e0f565b60608201526000805b82515181101561102f57600083600001518281518110610e1f57610e1f611e44565b6020026020010151600081518110610e3957610e39611e44565b6020026020010151905060006008826020015161ffff16901c905060006001866000015151610e689190611e31565b8403610e7b57610e788589611e31565b90505b60ff8216610e9b578251610e9190828b8b6110c9565b908452905061100d565b60ff821660011480610eb0575060ff82166004145b15610ec3578251610e9190828b8b611196565b60011960ff831601610edd578251610e9190828b8b611217565b60021960ff831601610ef7578251610e9190828b8b6110c9565b60041960ff831601610f11578251610e9190828b8b611276565b60051960ff831601610f2b578251610e9190828b8b61133d565b60061960ff831601610f7d5760405162461bcd60e51b815260206004820152601b60248201527a6b796265723a2063616e2774207363616c65206b7962657272667160281b60448201526064016101d1565b60071960ff831601610f97578251610e9190828b8b6113f0565b60081960ff831601610fb1578251610e9190828b8b6110c9565b60405162461bcd60e51b815260206004820152602b60248201527f4167677265676174696f6e4578656375746f723a204465782074797065206e6f60448201526a1d081cdd5c1c1bdc9d195960aa1b60648201526084016101d1565b6110178186611e5a565b9450505050808061102790611e6d565b915050610dfd565b50816040516020016110419190612408565b604051602081830303815290604052925050509392505050565b61106481610a72565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606110c08383604051806060016040528060278152602001612adc6027913961144f565b90505b92915050565b6060600080868060200190518101906110e29190612546565b905085156110f65760808101869052611117565b848482608001516111079190611df8565b6111119190611e0f565b60808201525b80604051602001611174919081516001600160a01b039081168252602080840151821690830152604080840151821690830152606080840151909116908201526080808301519082015260a0918201519181019190915260c00190565b6040516020818303038152906040528160800151925092505094509492505050565b6060600080868060200190518101906111af91906125d4565b905085156111c35760a081018690526111e4565b84848260a001516111d49190611df8565b6111de9190611e0f565b60a08201525b806040516020016111f59190612675565b6040516020818303038152906040528160a00151925092505094509492505050565b6060600080868060200190518101906112309190612722565b905085156112445760a08101869052611265565b84848260a001516112559190611df8565b61125f9190611e0f565b60a08201525b806040516020016111f591906127bf565b60606000808680602001905181019061128f9190612859565b905085156112a357608081018690526112c4565b848482608001516112b49190611df8565b6112be9190611e0f565b60808201525b80604051602001611174919060006101008201905060018060a01b038084511683528060208501511660208401528060408501511660408401528060608501511660608401526080840151608084015260a084015160a08401528060c08501511660c08401525060e0830151151560e083015292915050565b6060600080868060200190518101906113569190612914565b9050851561136a576080810186905261138b565b8484826080015161137b9190611df8565b6113859190611e0f565b60808201525b608081015160405161117491839160200182516001600160a01b03908116825260208085015190830152604080850151821690830152606080850151909116908201526080808401519082015260a0928301519281019290925260c082015260e00190565b6060600080868060200190518101906114099190612953565b9050851561141d576080810186905261143e565b8484826080015161142e9190611df8565b6114389190611e0f565b60808201525b8060405160200161117491906129dd565b606061145a84610761565b6114b55760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016101d1565b600080856001600160a01b0316856040516114d09190612a5f565b600060405180830381855af49150503d806000811461150b576040519150601f19603f3d011682016040523d82523d6000602084013e611510565b606091505b509150915061152082828661152a565b9695505050505050565b6060831561153957508161075a565b8251156115495782518084602001fd5b8160405162461bcd60e51b81526004016101d191906118fc565b60405180610120016040528060006001600160a01b0316815260200160006001600160a01b03168152602001606081526020016060815260200160006001600160a01b03168152602001600081526020016000815260200160008152602001606081525090565b6001600160a01b038116811461037157600080fd5b80356115ea816115ca565b919050565b801515811461037157600080fd5b60008060006060848603121561161257600080fd5b833561161d816115ca565b9250602084013561162d816115ef565b9150604084013561163d816115ef565b809150509250925092565b60006020828403121561165a57600080fd5b813561075a816115ca565b634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b038111828210171561169e5761169e611665565b60405290565b60405160a081016001600160401b038111828210171561169e5761169e611665565b604080519081016001600160401b038111828210171561169e5761169e611665565b60405160e081016001600160401b038111828210171561169e5761169e611665565b60405160c081016001600160401b038111828210171561169e5761169e611665565b604051601f8201601f191681016001600160401b038111828210171561175457611754611665565b604052919050565b60006001600160401b0382111561177557611775611665565b50601f01601f191660200190565b600082601f83011261179457600080fd5b81356117a76117a28261175c565b61172c565b8181528460208386010111156117bc57600080fd5b816020850160208301376000918101602001919091529392505050565b600080604083850312156117ec57600080fd5b82356117f7816115ca565b915060208301356001600160401b0381111561181257600080fd5b61181e85828601611783565b9150509250929050565b6001600160a01b03169052565b60008060006040848603121561184a57600080fd5b83356001600160401b038082111561186157600080fd5b818601915086601f83011261187557600080fd5b81358181111561188457600080fd5b87602082850101111561189657600080fd5b6020928301989097509590910135949350505050565b60005b838110156118c75781810151838201526020016118af565b50506000910152565b600081518084526118e88160208601602086016118ac565b601f01601f19169290920160200192915050565b6020815260006110c060208301846118d0565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602c90820152600080516020612a7c83398151915260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c90820152600080516020612a7c83398151915260408201526b6163746976652070726f787960a01b606082015260800190565b600080858511156119c857600080fd5b838611156119d557600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015611a0a5780818660040360031b1b83161692505b505092915050565b60006001600160401b03821115611a2b57611a2b611665565b5060051b60200190565b600082601f830112611a4657600080fd5b81356020611a566117a283611a12565b82815260059290921b84018101918181019086841115611a7557600080fd5b8286015b84811015611a99578035611a8c816115ca565b8352918301918301611a79565b509695505050505050565b600082601f830112611ab557600080fd5b81356020611ac56117a283611a12565b82815260059290921b84018101918181019086841115611ae457600080fd5b8286015b84811015611a995780358352918301918301611ae8565b60008060008060808587031215611b1557600080fd5b8435611b20816115ca565b935060208501356001600160401b0380821115611b3c57600080fd5b908601906101208289031215611b5157600080fd5b611b5961167b565b611b62836115df565b8152611b70602084016115df565b6020820152604083013582811115611b8757600080fd5b611b938a828601611a35565b604083015250606083013582811115611bab57600080fd5b611bb78a828601611aa4565b606083015250611bc9608084016115df565b608082015260a083013560a082015260c083013560c082015260e083013560e08201526101008084013583811115611c0057600080fd5b611c0c8b828701611783565b828401525050809550506040870135915080821115611c2a57600080fd5b611c3688838901611783565b93506060870135915080821115611c4c57600080fd5b50611c5987828801611783565b91505092959194509250565b600081518084526020808501945080840160005b83811015610c875781516001600160a01b031687529582019590820190600101611c79565b600081518084526020808501945080840160005b83811015610c8757815187529582019590820190600101611cb2565b6001600160a01b03851681526080602082018190528451611cf191830190611828565b60006020850151611d0560a0840182611828565b5060408501516101208060c0850152611d226101a0850183611c65565b91506060870151607f19808685030160e0870152611d408483611c9e565b935060808901519150610100611d5881880184611828565b60a08a01518488015260c08a015161014088015260e08a0151610160880152808a015193505080868503016101808701525050611d9582826118d0565b9150508281036040840152611daa81866118d0565b90508281036060840152611dbe81856118d0565b979650505050505050565b600060208284031215611ddb57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176110c3576110c3611de2565b600082611e2c57634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156110c3576110c3611de2565b634e487b7160e01b600052603260045260246000fd5b808201808211156110c3576110c3611de2565b600060018201611e7f57611e7f611de2565b5060010190565b80516115ea816115ca565b600082601f830112611ea257600080fd5b81516020611eb26117a283611a12565b82815260059290921b84018101918181019086841115611ed157600080fd5b8286015b84811015611a99578051611ee8816115ca565b8352918301918301611ed5565b600082601f830112611f0657600080fd5b81516020611f166117a283611a12565b82815260059290921b84018101918181019086841115611f3557600080fd5b8286015b84811015611a995780518352918301918301611f39565b600082601f830112611f6157600080fd5b8151611f6f6117a28261175c565b818152846020838601011115611f8457600080fd5b611f958260208301602087016118ac565b949350505050565b600082601f830112611fae57600080fd5b81516020611fbe6117a283611a12565b82815260059290921b84018101918181019086841115611fdd57600080fd5b8286015b84811015611a995780516001600160401b038111156120005760008081fd5b61200e8986838b0101611f50565b845250918301918301611fe1565b60006020828403121561202e57600080fd5b81516001600160401b038082111561204557600080fd5b9083019060a0828603121561205957600080fd5b6120616116a4565b82518281111561207057600080fd5b61207c87828601611e91565b82525060208301518281111561209157600080fd5b61209d87828601611ef5565b6020830152506040830151828111156120b557600080fd5b6120c187828601611f9d565b604083015250606083015160608201526080830151828111156120e357600080fd5b6120ef87828601611f50565b60808301525095945050505050565b60006020808352835160a08285015261211a60c0850182611c65565b905081850151601f19808684030160408701526121378383611c9e565b60408801518782038301606089015280518083529194508501925084840190600581901b8501860160005b8281101561218e578487830301845261217c8287516118d0565b95880195938801939150600101612162565b5060608a015160808a015260808a01519650838982030160a08a01526121b481886118d0565b9a9950505050505050505050565b600082601f8301126121d357600080fd5b81516121e16117a282611a12565b808282526020820191508560208460051b870101111561220057600080fd5b602085015b60208460051b8701018110156123275780516001600160401b0381111561222b57600080fd5b8601603f8101881361223c57600080fd5b602081015161224d6117a282611a12565b808282526020820191508a60408460051b860101111561226c57600080fd5b604084015b60408460051b8601018110156123115780516001600160401b0381111561229757600080fd5b60408682018e03603f190112156122ad57600080fd5b6122b56116c6565b868201604001516001600160401b038111156122d057600080fd5b6122e18f604083868c010101611f50565b825250908601606001519061ffff821682146122fc57600080fd5b60208181019290925284529283019201612271565b5086525050602093840193919091019050612205565b5095945050505050565b60006020828403121561234357600080fd5b81516001600160401b038082111561235a57600080fd5b9083019060e0828603121561236e57600080fd5b6123766116e8565b82518281111561238557600080fd5b612391878286016121c2565b8252506123a060208401611e86565b60208201526123b160408401611e86565b6040820152606083015160608201526123cc60808401611e86565b608082015260a083015160a082015260c0830151828111156123ed57600080fd5b6123f987828601611f50565b60c08301525095945050505050565b6020808252825160e0838301528051610100840181905260009291600582811b860161012090810193928501929087019186805b838110156124cb5789870361011f1901855285518051808952908901908989019080861b8a018b01855b828110156124b557601f198c830301845284516040815181855261248c828601826118d0565b91505061ffff8f830151168f85015280935050508c850194508c84019350600181019050612466565b509950505095880195509387019360010161243c565b5050505050508185015191506124e46040850183611828565b604085015191506124f86060850183611828565b606085015160808501526080850151915061251660a0850183611828565b60a085015160c085015260c08501519150601f198482030160e085015261253d81836118d0565b95945050505050565b600060c0828403121561255857600080fd5b61256061170a565b825161256b816115ca565b8152602083015161257b816115ca565b6020820152604083015161258e816115ca565b604082015260608301516125a1816115ca565b60608201526080838101519082015260a0928301519281019290925250919050565b805160ff811681146115ea57600080fd5b600061012082840312156125e757600080fd5b6125ef61167b565b6125f883611e86565b815261260660208401611e86565b602082015261261760408401611e86565b6040820152612628606084016125c3565b6060820152612639608084016125c3565b608082015260a083015160a082015260c083015160c082015260e083015160e082015261010061266a818501611e86565b908201529392505050565b81516001600160a01b039081168252602080840151909116908201526040808301516101208301916126a990840182611828565b5060608301516126be606084018260ff169052565b5060808301516126d3608084018260ff169052565b5060a083015160a083015260c083015160c083015260e083015160e083015261010080840151611a0a82850182611828565b8051600f81900b81146115ea57600080fd5b80516115ea816115ef565b6000610120828403121561273557600080fd5b61273d61167b565b61274683611e86565b815261275460208401611e86565b602082015261276560408401611e86565b604082015261277660608401612705565b606082015261278760808401612705565b608082015260a083015160a082015260c083015160c08201526127ac60e08401612717565b60e082015261010061266a818501612717565b81516001600160a01b039081168252602080840151909116908201526040808301516101208301916127f390840182611828565b5060608301516128086060840182600f0b9052565b50608083015161281d6080840182600f0b9052565b5060a083015160a083015260c083015160c083015260e083015161284560e084018215159052565b506101008381015180151584830152611a0a565b600061010080838503121561286d57600080fd5b604051908101906001600160401b038211818310171561288f5761288f611665565b81604052835191506128a0826115ca565b8181526128af60208501611e86565b60208201526128c060408501611e86565b60408201526128d160608501611e86565b60608201526080840151608082015260a084015160a08201526128f660c08501611e86565b60c082015261290760e08501612717565b60e0820152949350505050565b600060c0828403121561292657600080fd5b61292e61170a565b8251612939816115ca565b815260208381015190820152604083015161258e816115ca565b6000610120828403121561296657600080fd5b61296e61167b565b61297783611e86565b815261298560208401611e86565b602082015261299660408401611e86565b60408201526129a760608401611e86565b60608201526080830151608082015260a083015160a08201526129cc60c08401611e86565b60c08201526127ac60e08401612717565b81516001600160a01b03908116825260208084015190911690820152604080830151610120830191612a1190840182611828565b506060830151612a246060840182611828565b506080830151608083015260a083015160a083015260c0830151612a4b60c0840182611828565b5060e083015161284560e084018215159052565b60008251612a718184602087016118ac565b919091019291505056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220c366cc2d0cc2d15886886e9c951e826a922ce2bcc930e405fbc55c7081fe9b1b64736f6c63430008110033",
|
|
221
|
-
"deployedBytecode": "0x6080604052600436106100765760003560e01c8063078dfbe71461007b5780633659cfe61461009d5780634e71e0c8146100bd5780634f1ef286146100d257806352d1902d146100e55780638129fc1c1461010d5780638da5cb5b14610122578063e30c39781461015a578063e4da6f2e1461017a575b600080fd5b34801561008757600080fd5b5061009b6100963660046115fd565b6101a7565b005b3480156100a957600080fd5b5061009b6100b8366004611648565b6102ac565b3480156100c957600080fd5b5061009b610374565b61009b6100e03660046117d9565b61041f565b3480156100f157600080fd5b506100fa6104d8565b6040519081526020015b60405180910390f35b34801561011957600080fd5b5061009b610586565b34801561012e57600080fd5b50600054610142906001600160a01b031681565b6040516001600160a01b039091168152602001610104565b34801561016657600080fd5b50600154610142906001600160a01b031681565b34801561018657600080fd5b5061019a610195366004611835565b6106b4565b60405161010491906118fc565b6000546001600160a01b031633146101da5760405162461bcd60e51b81526004016101d19061190f565b60405180910390fd5b811561028b576001600160a01b0383161515806101f45750805b6102385760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b60448201526064016101d1565b600080546040516001600160a01b0380871693921691600080516020612abc83398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036102f45760405162461bcd60e51b81526004016101d190611944565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610326610770565b6001600160a01b03161461034c5760405162461bcd60e51b81526004016101d19061197e565b6103558161078c565b60408051600080825260208201909252610371918391906107b6565b50565b6001546001600160a01b03163381146103cf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e657260448201526064016101d1565b600080546040516001600160a01b0380851693921691600080516020612abc83398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036104675760405162461bcd60e51b81526004016101d190611944565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610499610770565b6001600160a01b0316146104bf5760405162461bcd60e51b81526004016101d19061197e565b6104c88261078c565b6104d4828260016107b6565b5050565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146105735760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b60648201526084016101d1565b50600080516020612a9c83398151915290565b600154600160a81b900460ff16158080156105ac575060018054600160a01b900460ff16105b806105d357506105bb30610761565b1580156105d3575060018054600160a01b900460ff16145b6106365760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016101d1565b6001805460ff60a01b1916600160a01b1790558015610663576001805460ff60a81b1916600160a81b1790555b61066b610921565b8015610371576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150565b606060006106c560048286886119b8565b6106ce916119e2565b905060008080806106e2886004818c6119b8565b8101906106ef9190611aff565b93509350935093506107028383896109a2565b60405191945092508590610720908690869086908690602401611cce565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152955050505050505b9392505050565b6001600160a01b03163b151590565b600080516020612a9c833981519152546001600160a01b031690565b6000546001600160a01b031633146103715760405162461bcd60e51b81526004016101d19061190f565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156107e9576102a783610a72565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610843575060408051601f3d908101601f1916820190925261084091810190611dc9565b60015b6108a65760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016101d1565b600080516020612a9c83398151915281146109155760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016101d1565b506102a7838383610b0c565b600154600160a81b900460ff1661098e5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016101d1565b600080546001600160a01b03191633179055565b6109aa611563565b60e084015160a0850151606091908481036109cc578686935093505050610a6a565b6020821615610a495760408701515115610a285760405162461bcd60e51b815260206004820152601e60248201527f6b796265723a2063616e2774207363616c652069662074616b6520666565000060448201526064016101d1565b610a33878287610b37565b610a3e878388610c92565b935093505050610a6a565b6000610a56878388610dbf565b9050610a63888388610b37565b9450925050505b935093915050565b610a7b81610761565b610add5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016101d1565b600080516020612a9c83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b610b158361105b565b600082511180610b225750805b156102a757610b31838361109b565b50505050565b610b3f611563565b60c084015183610b4f8483611df8565b610b599190611e0f565b60c08601528015801590610b6f575060c0850151155b15610b7c57600160c08601525b60a08501839052604085015151600003610b99578491505061075a565b6000805b866040015151811015610c87576001876040015151610bbc9190611e31565b8103610bf357610bcc8286611e31565b87606001518281518110610be257610be2611e44565b602002602001018181525050610c4a565b858588606001518381518110610c0b57610c0b611e44565b6020026020010151610c1d9190611df8565b610c279190611e0f565b87606001518281518110610c3d57610c3d611e44565b6020026020010181815250505b86606001518181518110610c6057610c60611e44565b602002602001015182610c739190611e5a565b915080610c7f81611e6d565b915050610b9d565b509495945050505050565b6060600084806020019051810190610caa919061201c565b8051519091506000805b82811015610d9257610cc7600184611e31565b8103610cfe57610cd78287611e31565b84602001518281518110610ced57610ced611e44565b602002602001018181525050610d55565b868685602001518381518110610d1657610d16611e44565b6020026020010151610d289190611df8565b610d329190611e0f565b84602001518281518110610d4857610d48611e44565b6020026020010181815250505b83602001518181518110610d6b57610d6b611e44565b602002602001015182610d7e9190611e5a565b915080610d8a81611e6d565b915050610cb4565b5082604051602001610da491906120fe565b60405160208183030381529060405293505050509392505050565b6060600084806020019051810190610dd79190612331565b905083838260600151610dea9190611df8565b610df49190611e0f565b60608201526000805b82515181101561102f57600083600001518281518110610e1f57610e1f611e44565b6020026020010151600081518110610e3957610e39611e44565b6020026020010151905060006008826020015161ffff16901c905060006001866000015151610e689190611e31565b8403610e7b57610e788589611e31565b90505b60ff8216610e9b578251610e9190828b8b6110c9565b908452905061100d565b60ff821660011480610eb0575060ff82166004145b15610ec3578251610e9190828b8b611196565b60011960ff831601610edd578251610e9190828b8b611217565b60021960ff831601610ef7578251610e9190828b8b6110c9565b60041960ff831601610f11578251610e9190828b8b611276565b60051960ff831601610f2b578251610e9190828b8b61133d565b60061960ff831601610f7d5760405162461bcd60e51b815260206004820152601b60248201527a6b796265723a2063616e2774207363616c65206b7962657272667160281b60448201526064016101d1565b60071960ff831601610f97578251610e9190828b8b6113f0565b60081960ff831601610fb1578251610e9190828b8b6110c9565b60405162461bcd60e51b815260206004820152602b60248201527f4167677265676174696f6e4578656375746f723a204465782074797065206e6f60448201526a1d081cdd5c1c1bdc9d195960aa1b60648201526084016101d1565b6110178186611e5a565b9450505050808061102790611e6d565b915050610dfd565b50816040516020016110419190612408565b604051602081830303815290604052925050509392505050565b61106481610a72565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606110c08383604051806060016040528060278152602001612adc6027913961144f565b90505b92915050565b6060600080868060200190518101906110e29190612546565b905085156110f65760808101869052611117565b848482608001516111079190611df8565b6111119190611e0f565b60808201525b80604051602001611174919081516001600160a01b039081168252602080840151821690830152604080840151821690830152606080840151909116908201526080808301519082015260a0918201519181019190915260c00190565b6040516020818303038152906040528160800151925092505094509492505050565b6060600080868060200190518101906111af91906125d4565b905085156111c35760a081018690526111e4565b84848260a001516111d49190611df8565b6111de9190611e0f565b60a08201525b806040516020016111f59190612675565b6040516020818303038152906040528160a00151925092505094509492505050565b6060600080868060200190518101906112309190612722565b905085156112445760a08101869052611265565b84848260a001516112559190611df8565b61125f9190611e0f565b60a08201525b806040516020016111f591906127bf565b60606000808680602001905181019061128f9190612859565b905085156112a357608081018690526112c4565b848482608001516112b49190611df8565b6112be9190611e0f565b60808201525b80604051602001611174919060006101008201905060018060a01b038084511683528060208501511660208401528060408501511660408401528060608501511660608401526080840151608084015260a084015160a08401528060c08501511660c08401525060e0830151151560e083015292915050565b6060600080868060200190518101906113569190612914565b9050851561136a576080810186905261138b565b8484826080015161137b9190611df8565b6113859190611e0f565b60808201525b608081015160405161117491839160200182516001600160a01b03908116825260208085015190830152604080850151821690830152606080850151909116908201526080808401519082015260a0928301519281019290925260c082015260e00190565b6060600080868060200190518101906114099190612953565b9050851561141d576080810186905261143e565b8484826080015161142e9190611df8565b6114389190611e0f565b60808201525b8060405160200161117491906129dd565b606061145a84610761565b6114b55760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016101d1565b600080856001600160a01b0316856040516114d09190612a5f565b600060405180830381855af49150503d806000811461150b576040519150601f19603f3d011682016040523d82523d6000602084013e611510565b606091505b509150915061152082828661152a565b9695505050505050565b6060831561153957508161075a565b8251156115495782518084602001fd5b8160405162461bcd60e51b81526004016101d191906118fc565b60405180610120016040528060006001600160a01b0316815260200160006001600160a01b03168152602001606081526020016060815260200160006001600160a01b03168152602001600081526020016000815260200160008152602001606081525090565b6001600160a01b038116811461037157600080fd5b80356115ea816115ca565b919050565b801515811461037157600080fd5b60008060006060848603121561161257600080fd5b833561161d816115ca565b9250602084013561162d816115ef565b9150604084013561163d816115ef565b809150509250925092565b60006020828403121561165a57600080fd5b813561075a816115ca565b634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b038111828210171561169e5761169e611665565b60405290565b60405160a081016001600160401b038111828210171561169e5761169e611665565b604080519081016001600160401b038111828210171561169e5761169e611665565b60405160e081016001600160401b038111828210171561169e5761169e611665565b60405160c081016001600160401b038111828210171561169e5761169e611665565b604051601f8201601f191681016001600160401b038111828210171561175457611754611665565b604052919050565b60006001600160401b0382111561177557611775611665565b50601f01601f191660200190565b600082601f83011261179457600080fd5b81356117a76117a28261175c565b61172c565b8181528460208386010111156117bc57600080fd5b816020850160208301376000918101602001919091529392505050565b600080604083850312156117ec57600080fd5b82356117f7816115ca565b915060208301356001600160401b0381111561181257600080fd5b61181e85828601611783565b9150509250929050565b6001600160a01b03169052565b60008060006040848603121561184a57600080fd5b83356001600160401b038082111561186157600080fd5b818601915086601f83011261187557600080fd5b81358181111561188457600080fd5b87602082850101111561189657600080fd5b6020928301989097509590910135949350505050565b60005b838110156118c75781810151838201526020016118af565b50506000910152565b600081518084526118e88160208601602086016118ac565b601f01601f19169290920160200192915050565b6020815260006110c060208301846118d0565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602c90820152600080516020612a7c83398151915260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c90820152600080516020612a7c83398151915260408201526b6163746976652070726f787960a01b606082015260800190565b600080858511156119c857600080fd5b838611156119d557600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015611a0a5780818660040360031b1b83161692505b505092915050565b60006001600160401b03821115611a2b57611a2b611665565b5060051b60200190565b600082601f830112611a4657600080fd5b81356020611a566117a283611a12565b82815260059290921b84018101918181019086841115611a7557600080fd5b8286015b84811015611a99578035611a8c816115ca565b8352918301918301611a79565b509695505050505050565b600082601f830112611ab557600080fd5b81356020611ac56117a283611a12565b82815260059290921b84018101918181019086841115611ae457600080fd5b8286015b84811015611a995780358352918301918301611ae8565b60008060008060808587031215611b1557600080fd5b8435611b20816115ca565b935060208501356001600160401b0380821115611b3c57600080fd5b908601906101208289031215611b5157600080fd5b611b5961167b565b611b62836115df565b8152611b70602084016115df565b6020820152604083013582811115611b8757600080fd5b611b938a828601611a35565b604083015250606083013582811115611bab57600080fd5b611bb78a828601611aa4565b606083015250611bc9608084016115df565b608082015260a083013560a082015260c083013560c082015260e083013560e08201526101008084013583811115611c0057600080fd5b611c0c8b828701611783565b828401525050809550506040870135915080821115611c2a57600080fd5b611c3688838901611783565b93506060870135915080821115611c4c57600080fd5b50611c5987828801611783565b91505092959194509250565b600081518084526020808501945080840160005b83811015610c875781516001600160a01b031687529582019590820190600101611c79565b600081518084526020808501945080840160005b83811015610c8757815187529582019590820190600101611cb2565b6001600160a01b03851681526080602082018190528451611cf191830190611828565b60006020850151611d0560a0840182611828565b5060408501516101208060c0850152611d226101a0850183611c65565b91506060870151607f19808685030160e0870152611d408483611c9e565b935060808901519150610100611d5881880184611828565b60a08a01518488015260c08a015161014088015260e08a0151610160880152808a015193505080868503016101808701525050611d9582826118d0565b9150508281036040840152611daa81866118d0565b90508281036060840152611dbe81856118d0565b979650505050505050565b600060208284031215611ddb57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176110c3576110c3611de2565b600082611e2c57634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156110c3576110c3611de2565b634e487b7160e01b600052603260045260246000fd5b808201808211156110c3576110c3611de2565b600060018201611e7f57611e7f611de2565b5060010190565b80516115ea816115ca565b600082601f830112611ea257600080fd5b81516020611eb26117a283611a12565b82815260059290921b84018101918181019086841115611ed157600080fd5b8286015b84811015611a99578051611ee8816115ca565b8352918301918301611ed5565b600082601f830112611f0657600080fd5b81516020611f166117a283611a12565b82815260059290921b84018101918181019086841115611f3557600080fd5b8286015b84811015611a995780518352918301918301611f39565b600082601f830112611f6157600080fd5b8151611f6f6117a28261175c565b818152846020838601011115611f8457600080fd5b611f958260208301602087016118ac565b949350505050565b600082601f830112611fae57600080fd5b81516020611fbe6117a283611a12565b82815260059290921b84018101918181019086841115611fdd57600080fd5b8286015b84811015611a995780516001600160401b038111156120005760008081fd5b61200e8986838b0101611f50565b845250918301918301611fe1565b60006020828403121561202e57600080fd5b81516001600160401b038082111561204557600080fd5b9083019060a0828603121561205957600080fd5b6120616116a4565b82518281111561207057600080fd5b61207c87828601611e91565b82525060208301518281111561209157600080fd5b61209d87828601611ef5565b6020830152506040830151828111156120b557600080fd5b6120c187828601611f9d565b604083015250606083015160608201526080830151828111156120e357600080fd5b6120ef87828601611f50565b60808301525095945050505050565b60006020808352835160a08285015261211a60c0850182611c65565b905081850151601f19808684030160408701526121378383611c9e565b60408801518782038301606089015280518083529194508501925084840190600581901b8501860160005b8281101561218e578487830301845261217c8287516118d0565b95880195938801939150600101612162565b5060608a015160808a015260808a01519650838982030160a08a01526121b481886118d0565b9a9950505050505050505050565b600082601f8301126121d357600080fd5b81516121e16117a282611a12565b808282526020820191508560208460051b870101111561220057600080fd5b602085015b60208460051b8701018110156123275780516001600160401b0381111561222b57600080fd5b8601603f8101881361223c57600080fd5b602081015161224d6117a282611a12565b808282526020820191508a60408460051b860101111561226c57600080fd5b604084015b60408460051b8601018110156123115780516001600160401b0381111561229757600080fd5b60408682018e03603f190112156122ad57600080fd5b6122b56116c6565b868201604001516001600160401b038111156122d057600080fd5b6122e18f604083868c010101611f50565b825250908601606001519061ffff821682146122fc57600080fd5b60208181019290925284529283019201612271565b5086525050602093840193919091019050612205565b5095945050505050565b60006020828403121561234357600080fd5b81516001600160401b038082111561235a57600080fd5b9083019060e0828603121561236e57600080fd5b6123766116e8565b82518281111561238557600080fd5b612391878286016121c2565b8252506123a060208401611e86565b60208201526123b160408401611e86565b6040820152606083015160608201526123cc60808401611e86565b608082015260a083015160a082015260c0830151828111156123ed57600080fd5b6123f987828601611f50565b60c08301525095945050505050565b6020808252825160e0838301528051610100840181905260009291600582811b860161012090810193928501929087019186805b838110156124cb5789870361011f1901855285518051808952908901908989019080861b8a018b01855b828110156124b557601f198c830301845284516040815181855261248c828601826118d0565b91505061ffff8f830151168f85015280935050508c850194508c84019350600181019050612466565b509950505095880195509387019360010161243c565b5050505050508185015191506124e46040850183611828565b604085015191506124f86060850183611828565b606085015160808501526080850151915061251660a0850183611828565b60a085015160c085015260c08501519150601f198482030160e085015261253d81836118d0565b95945050505050565b600060c0828403121561255857600080fd5b61256061170a565b825161256b816115ca565b8152602083015161257b816115ca565b6020820152604083015161258e816115ca565b604082015260608301516125a1816115ca565b60608201526080838101519082015260a0928301519281019290925250919050565b805160ff811681146115ea57600080fd5b600061012082840312156125e757600080fd5b6125ef61167b565b6125f883611e86565b815261260660208401611e86565b602082015261261760408401611e86565b6040820152612628606084016125c3565b6060820152612639608084016125c3565b608082015260a083015160a082015260c083015160c082015260e083015160e082015261010061266a818501611e86565b908201529392505050565b81516001600160a01b039081168252602080840151909116908201526040808301516101208301916126a990840182611828565b5060608301516126be606084018260ff169052565b5060808301516126d3608084018260ff169052565b5060a083015160a083015260c083015160c083015260e083015160e083015261010080840151611a0a82850182611828565b8051600f81900b81146115ea57600080fd5b80516115ea816115ef565b6000610120828403121561273557600080fd5b61273d61167b565b61274683611e86565b815261275460208401611e86565b602082015261276560408401611e86565b604082015261277660608401612705565b606082015261278760808401612705565b608082015260a083015160a082015260c083015160c08201526127ac60e08401612717565b60e082015261010061266a818501612717565b81516001600160a01b039081168252602080840151909116908201526040808301516101208301916127f390840182611828565b5060608301516128086060840182600f0b9052565b50608083015161281d6080840182600f0b9052565b5060a083015160a083015260c083015160c083015260e083015161284560e084018215159052565b506101008381015180151584830152611a0a565b600061010080838503121561286d57600080fd5b604051908101906001600160401b038211818310171561288f5761288f611665565b81604052835191506128a0826115ca565b8181526128af60208501611e86565b60208201526128c060408501611e86565b60408201526128d160608501611e86565b60608201526080840151608082015260a084015160a08201526128f660c08501611e86565b60c082015261290760e08501612717565b60e0820152949350505050565b600060c0828403121561292657600080fd5b61292e61170a565b8251612939816115ca565b815260208381015190820152604083015161258e816115ca565b6000610120828403121561296657600080fd5b61296e61167b565b61297783611e86565b815261298560208401611e86565b602082015261299660408401611e86565b60408201526129a760608401611e86565b60608201526080830151608082015260a083015160a08201526129cc60c08401611e86565b60c08201526127ac60e08401612717565b81516001600160a01b03908116825260208084015190911690820152604080830151610120830191612a1190840182611828565b506060830151612a246060840182611828565b506080830151608083015260a083015160a083015260c0830151612a4b60c0840182611828565b5060e083015161284560e084018215159052565b60008251612a718184602087016118ac565b919091019291505056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220c366cc2d0cc2d15886886e9c951e826a922ce2bcc930e405fbc55c7081fe9b1b64736f6c63430008110033",
|
|
222
|
-
"linkReferences": {},
|
|
223
|
-
"deployedLinkReferences": {}
|
|
224
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "IAggregationRouterHelper",
|
|
4
|
-
"sourceName": "contracts/router/kyberswap/IAggregatorRouterHelper.sol",
|
|
5
|
-
"abi": [
|
|
6
|
-
{
|
|
7
|
-
"inputs": [
|
|
8
|
-
{
|
|
9
|
-
"internalType": "bytes",
|
|
10
|
-
"name": "kybercall",
|
|
11
|
-
"type": "bytes"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"internalType": "uint256",
|
|
15
|
-
"name": "newAmount",
|
|
16
|
-
"type": "uint256"
|
|
17
|
-
}
|
|
18
|
-
],
|
|
19
|
-
"name": "getScaledInputData",
|
|
20
|
-
"outputs": [
|
|
21
|
-
{
|
|
22
|
-
"internalType": "bytes",
|
|
23
|
-
"name": "",
|
|
24
|
-
"type": "bytes"
|
|
25
|
-
}
|
|
26
|
-
],
|
|
27
|
-
"stateMutability": "pure",
|
|
28
|
-
"type": "function"
|
|
29
|
-
}
|
|
30
|
-
],
|
|
31
|
-
"bytecode": "0x",
|
|
32
|
-
"deployedBytecode": "0x",
|
|
33
|
-
"linkReferences": {},
|
|
34
|
-
"deployedLinkReferences": {}
|
|
35
|
-
}
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "IMultihopRouter",
|
|
4
|
-
"sourceName": "contracts/router/kyberswap/IMultihopRouter.sol",
|
|
5
|
-
"abi": [
|
|
6
|
-
{
|
|
7
|
-
"anonymous": false,
|
|
8
|
-
"inputs": [
|
|
9
|
-
{
|
|
10
|
-
"indexed": false,
|
|
11
|
-
"internalType": "address",
|
|
12
|
-
"name": "pair",
|
|
13
|
-
"type": "address"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"indexed": false,
|
|
17
|
-
"internalType": "uint256",
|
|
18
|
-
"name": "amountOut",
|
|
19
|
-
"type": "uint256"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"indexed": false,
|
|
23
|
-
"internalType": "address",
|
|
24
|
-
"name": "output",
|
|
25
|
-
"type": "address"
|
|
26
|
-
}
|
|
27
|
-
],
|
|
28
|
-
"name": "Exchange",
|
|
29
|
-
"type": "event"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"inputs": [],
|
|
33
|
-
"name": "WETH",
|
|
34
|
-
"outputs": [
|
|
35
|
-
{
|
|
36
|
-
"internalType": "address",
|
|
37
|
-
"name": "",
|
|
38
|
-
"type": "address"
|
|
39
|
-
}
|
|
40
|
-
],
|
|
41
|
-
"stateMutability": "view",
|
|
42
|
-
"type": "function"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"inputs": [],
|
|
46
|
-
"name": "factory",
|
|
47
|
-
"outputs": [
|
|
48
|
-
{
|
|
49
|
-
"internalType": "address",
|
|
50
|
-
"name": "",
|
|
51
|
-
"type": "address"
|
|
52
|
-
}
|
|
53
|
-
],
|
|
54
|
-
"stateMutability": "view",
|
|
55
|
-
"type": "function"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"inputs": [],
|
|
59
|
-
"name": "formula",
|
|
60
|
-
"outputs": [
|
|
61
|
-
{
|
|
62
|
-
"internalType": "address",
|
|
63
|
-
"name": "",
|
|
64
|
-
"type": "address"
|
|
65
|
-
}
|
|
66
|
-
],
|
|
67
|
-
"stateMutability": "view",
|
|
68
|
-
"type": "function"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"inputs": [
|
|
72
|
-
{
|
|
73
|
-
"components": [
|
|
74
|
-
{
|
|
75
|
-
"internalType": "bytes",
|
|
76
|
-
"name": "data",
|
|
77
|
-
"type": "bytes"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"internalType": "uint16",
|
|
81
|
-
"name": "dexOption",
|
|
82
|
-
"type": "uint16"
|
|
83
|
-
}
|
|
84
|
-
],
|
|
85
|
-
"internalType": "struct IMultihopRouter.Swap[][]",
|
|
86
|
-
"name": "swapSequences",
|
|
87
|
-
"type": "tuple[][]"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"internalType": "address",
|
|
91
|
-
"name": "tokenIn",
|
|
92
|
-
"type": "address"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"internalType": "address",
|
|
96
|
-
"name": "tokenOut",
|
|
97
|
-
"type": "address"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"internalType": "uint256",
|
|
101
|
-
"name": "minTotalAmountOut",
|
|
102
|
-
"type": "uint256"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"internalType": "address",
|
|
106
|
-
"name": "to",
|
|
107
|
-
"type": "address"
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"internalType": "uint256",
|
|
111
|
-
"name": "deadline",
|
|
112
|
-
"type": "uint256"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"internalType": "bytes",
|
|
116
|
-
"name": "destTokenFeeData",
|
|
117
|
-
"type": "bytes"
|
|
118
|
-
}
|
|
119
|
-
],
|
|
120
|
-
"name": "multihopBatchSwapExactIn",
|
|
121
|
-
"outputs": [
|
|
122
|
-
{
|
|
123
|
-
"internalType": "uint256",
|
|
124
|
-
"name": "totalAmountOut",
|
|
125
|
-
"type": "uint256"
|
|
126
|
-
}
|
|
127
|
-
],
|
|
128
|
-
"stateMutability": "payable",
|
|
129
|
-
"type": "function"
|
|
130
|
-
}
|
|
131
|
-
],
|
|
132
|
-
"bytecode": "0x",
|
|
133
|
-
"deployedBytecode": "0x",
|
|
134
|
-
"linkReferences": {},
|
|
135
|
-
"deployedLinkReferences": {}
|
|
136
|
-
}
|
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
|
-
pragma solidity 0.8.17;
|
|
3
|
-
|
|
4
|
-
import "./PendleFeeDistributor.sol";
|
|
5
|
-
import "../../interfaces/IPVotingEscrowMainchain.sol";
|
|
6
|
-
import "../../interfaces/IPVotingController.sol";
|
|
7
|
-
import "../../interfaces/IPFeeDistributorFactory.sol";
|
|
8
|
-
import "../../core/libraries/BoringOwnableUpgradeable.sol";
|
|
9
|
-
import "../libraries/VeHistoryLib.sol";
|
|
10
|
-
import "../libraries/WeekMath.sol";
|
|
11
|
-
|
|
12
|
-
abstract contract EpochResultManager is IPFeeDistributorFactory {
|
|
13
|
-
using Math for uint256;
|
|
14
|
-
using ArrayLib for address[];
|
|
15
|
-
using VeBalanceLib for VeBalance;
|
|
16
|
-
using CheckpointHelper for Checkpoint;
|
|
17
|
-
|
|
18
|
-
struct UserInfo {
|
|
19
|
-
uint128 timestamp;
|
|
20
|
-
uint128 iter;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
address public immutable votingController;
|
|
24
|
-
address public immutable vePendle;
|
|
25
|
-
|
|
26
|
-
// [user, pool] => UserInfo
|
|
27
|
-
mapping(address => mapping(address => UserInfo)) public userInfo;
|
|
28
|
-
|
|
29
|
-
// [user, pool, epoch] => share
|
|
30
|
-
mapping(address => mapping(address => mapping(uint256 => uint256))) internal userShareAtEpoch;
|
|
31
|
-
|
|
32
|
-
constructor(address _votingController, address _vePendle) {
|
|
33
|
-
votingController = _votingController;
|
|
34
|
-
vePendle = _vePendle;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
function updateUserShare(address user, address pool) external {
|
|
38
|
-
_updateExternalGlobalShares(pool);
|
|
39
|
-
_updateUserShare(user, pool);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
function getUserAndTotalSharesAt(
|
|
43
|
-
address user,
|
|
44
|
-
address pool,
|
|
45
|
-
uint256 epoch
|
|
46
|
-
) external view returns (uint256 userShare, uint256 totalShare) {
|
|
47
|
-
userShare = userShareAtEpoch[user][pool][epoch];
|
|
48
|
-
totalShare = _getExternalTotalShares(pool, epoch.Uint128());
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
function _updateUserShare(address user, address pool) internal {
|
|
52
|
-
uint128 currentEpoch = WeekMath.getCurrentWeekStart();
|
|
53
|
-
uint128 userEpoch = userInfo[user][pool].timestamp;
|
|
54
|
-
|
|
55
|
-
if (userEpoch == currentEpoch) return;
|
|
56
|
-
if (userEpoch == 0) userEpoch = _getPoolStartTime(pool);
|
|
57
|
-
|
|
58
|
-
uint256 length = _getExternalUserHistoryLength(user, pool);
|
|
59
|
-
if (length == 0) {
|
|
60
|
-
userInfo[user][pool].timestamp = currentEpoch;
|
|
61
|
-
return;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
uint128 iter = userInfo[user][pool].iter;
|
|
65
|
-
Checkpoint memory lowerCheckpoint = _getExternalUserCheckpointAt(user, pool, iter);
|
|
66
|
-
Checkpoint memory upperCheckpoint;
|
|
67
|
-
|
|
68
|
-
if (iter + 1 < length) {
|
|
69
|
-
upperCheckpoint = _getExternalUserCheckpointAt(user, pool, iter + 1);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
while (userEpoch < currentEpoch) {
|
|
73
|
-
userEpoch += WeekMath.WEEK;
|
|
74
|
-
|
|
75
|
-
iter = _moveIterToNextEpoch(
|
|
76
|
-
user,
|
|
77
|
-
pool,
|
|
78
|
-
length,
|
|
79
|
-
iter,
|
|
80
|
-
lowerCheckpoint,
|
|
81
|
-
upperCheckpoint,
|
|
82
|
-
userEpoch
|
|
83
|
-
);
|
|
84
|
-
|
|
85
|
-
if (userEpoch >= lowerCheckpoint.timestamp) {
|
|
86
|
-
userShareAtEpoch[user][pool][userEpoch] = lowerCheckpoint.value.getValueAt(
|
|
87
|
-
userEpoch
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
userInfo[user][pool] = UserInfo({ timestamp: currentEpoch, iter: iter });
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
function _moveIterToNextEpoch(
|
|
96
|
-
address user,
|
|
97
|
-
address pool,
|
|
98
|
-
uint256 userHistoryLength,
|
|
99
|
-
uint128 iter,
|
|
100
|
-
Checkpoint memory lowerCheckpoint,
|
|
101
|
-
Checkpoint memory upperCheckpoint,
|
|
102
|
-
uint128 nextEpoch
|
|
103
|
-
) internal view returns (uint128) {
|
|
104
|
-
while (iter + 1 < userHistoryLength && nextEpoch > upperCheckpoint.timestamp) {
|
|
105
|
-
lowerCheckpoint.assignWith(upperCheckpoint);
|
|
106
|
-
if (iter + 2 < userHistoryLength) {
|
|
107
|
-
upperCheckpoint.assignWith(_getExternalUserCheckpointAt(user, pool, iter + 2));
|
|
108
|
-
}
|
|
109
|
-
++iter;
|
|
110
|
-
}
|
|
111
|
-
return iter;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
function _updateExternalGlobalShares(address pool) internal {
|
|
115
|
-
if (pool == vePendle) {
|
|
116
|
-
IPVeToken(vePendle).totalSupplyCurrent();
|
|
117
|
-
} else {
|
|
118
|
-
IPVotingController(votingController).applyPoolSlopeChanges(pool);
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
function _getExternalTotalShares(address pool, uint128 timestamp)
|
|
123
|
-
internal
|
|
124
|
-
view
|
|
125
|
-
returns (uint256)
|
|
126
|
-
{
|
|
127
|
-
if (pool == vePendle) {
|
|
128
|
-
return IPVotingEscrowMainchain(vePendle).totalSupplyAt(timestamp);
|
|
129
|
-
} else {
|
|
130
|
-
return IPVotingController(votingController).getPoolTotalVoteAt(pool, timestamp);
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
function _getExternalUserCheckpointAt(
|
|
135
|
-
address user,
|
|
136
|
-
address pool,
|
|
137
|
-
uint256 index
|
|
138
|
-
) internal view returns (Checkpoint memory) {
|
|
139
|
-
if (pool == vePendle) {
|
|
140
|
-
return IPVotingEscrowMainchain(vePendle).getUserHistoryAt(user, index);
|
|
141
|
-
} else {
|
|
142
|
-
return IPVotingController(votingController).getUserPoolHistoryAt(user, pool, index);
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
function _getExternalUserHistoryLength(address user, address pool)
|
|
147
|
-
internal
|
|
148
|
-
view
|
|
149
|
-
returns (uint256)
|
|
150
|
-
{
|
|
151
|
-
if (pool == vePendle) {
|
|
152
|
-
return IPVotingEscrowMainchain(vePendle).getUserHistoryLength(user);
|
|
153
|
-
} else {
|
|
154
|
-
return IPVotingController(votingController).getUserPoolHistoryLength(user, pool);
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
function _getPoolStartTime(address pool) internal view virtual returns (uint64);
|
|
159
|
-
}
|