@pendle/core-v2 0.11.10-testnet → 0.12.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/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.json +199 -30
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSCY.sol/Pendle3CrvAndTokenSCY.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSCY.sol/Pendle3CrvAndTokenSCY.json +1030 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP2PoolSCY.sol/PendleConvexCurveLP2PoolSCY.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP2PoolSCY.sol/PendleConvexCurveLP2PoolSCY.json +1025 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLPSCY.sol/PendleConvexCurveLPSCY.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLPSCY.sol/PendleConvexCurveLPSCY.json +948 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.json +76 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.json +140 -25
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.json +138 -23
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.json +138 -23
- package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +4 -0
- package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +310 -0
- package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +4 -0
- package/build/artifacts/contracts/core/LiquidityMining/{CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.json → CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.json} +18 -85
- package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +4 -0
- package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +336 -0
- package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +4 -0
- package/build/artifacts/contracts/core/LiquidityMining/{CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.json → CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.json} +8 -21
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.dbg.json +4 -0
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.json +131 -0
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +4 -0
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +297 -0
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +4 -0
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +376 -0
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +11 -0
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +29 -2
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +40 -86
- package/build/artifacts/contracts/core/LiquidityMining/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +228 -40
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.json +232 -12
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +164 -47
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +25 -93
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.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 +222 -9
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +106 -5
- package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +4 -0
- package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.json +329 -0
- package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.json +13 -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 +87 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +80 -16
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +164 -2
- package/build/artifacts/contracts/core/actions/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +172 -4
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +109 -2
- package/build/artifacts/contracts/core/actions/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionMintRedeem.sol/ActionMintRedeem.json +62 -4
- package/build/artifacts/contracts/core/actions/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionMisc.sol/ActionMisc.json +7 -2
- package/build/artifacts/contracts/core/actions/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionSwapPT.sol/ActionSwapPT.json +199 -4
- package/build/artifacts/contracts/core/actions/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionSwapPTYT.sol/ActionSwapPTYT.json +108 -2
- package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.json +146 -4
- package/build/artifacts/contracts/core/actions/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.json +177 -0
- package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.json +78 -0
- package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.json +24 -0
- package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.json +264 -0
- package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.json +305 -0
- package/build/artifacts/contracts/interfaces/IBoringOwnableUpgradeable.sol/IBoringOwnableUpgradeable.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IBoringOwnableUpgradeable.sol/IBoringOwnableUpgradeable.json +34 -0
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +31 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +5 -0
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.json +30 -0
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.json +10 -0
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +30 -0
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +106 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.json +112 -0
- package/build/artifacts/contracts/interfaces/IPFeeDistributorFactory.sol/IPFeeDistributorFactory.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPFeeDistributorFactory.sol/IPFeeDistributorFactory.json +76 -0
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +13 -0
- package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.json +24 -0
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.json +63 -0
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.json +148 -0
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{IPVotingEscrow.sol/IPVotingEscrow.json → IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.json} +88 -2
- package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.json +4 -28
- package/build/artifacts/contracts/libraries/Errors.sol/Errors.dbg.json +4 -0
- package/build/artifacts/contracts/libraries/Errors.sol/Errors.json +886 -0
- package/build/artifacts/contracts/libraries/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/OracleLib.sol/OracleLib.json +28 -2
- package/build/artifacts/contracts/libraries/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +4 -0
- package/build/artifacts/contracts/libraries/{solmate/SSTORE2.sol/SSTORE2.json → VeHistoryLib.sol/CheckpointHelper.json} +4 -4
- package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +4 -0
- package/build/artifacts/contracts/libraries/helpers/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.json +45 -0
- package/build/artifacts/contracts/libraries/helpers/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +4 -0
- package/build/artifacts/contracts/libraries/helpers/{SSTORE2Deployer.sol/SSTORE2Deployer.json → BaseSplitCodeFactory.sol/CodeDeployer.json} +4 -4
- package/build/artifacts/contracts/libraries/helpers/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/PYIndex.sol/PYIndexLib.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +2 -2
- package/build/artifacts/contracts/libraries/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
- package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/Math.sol/Math.json +2 -2
- package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.json +167 -0
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +182 -4
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +126 -79
- package/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol +3 -1
- package/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol +19 -16
- package/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSCY.sol +135 -0
- package/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP2PoolSCY.sol +96 -0
- package/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLPSCY.sol +215 -0
- package/contracts/SuperComposableYield/SCY-implementations/Convex/Pendle3CrvHelper.sol +83 -0
- package/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol +10 -15
- package/contracts/SuperComposableYield/base-implementations/SCYBase.sol +30 -43
- package/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol +74 -0
- package/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol +38 -0
- package/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol +83 -0
- package/contracts/core/LiquidityMining/{CelerAbstracts/CelerSenderUpg.sol → CrossChainMsg/PendleMsgSenderAppUpg.sol} +12 -13
- package/contracts/core/LiquidityMining/FeeDistributor/EpochResultManager.sol +159 -0
- package/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol +96 -0
- package/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol +68 -0
- package/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +4 -3
- package/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol +6 -2
- package/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol +12 -4
- package/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +29 -19
- package/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +27 -19
- package/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol +63 -27
- package/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol +6 -5
- package/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol +2 -2
- package/contracts/core/Market/PendleMarket.sol +26 -24
- package/contracts/core/Market/PendleMarketFactory.sol +41 -20
- package/contracts/core/PendleERC20Permit.sol +84 -0
- package/contracts/core/PendleRouter.sol +2 -1
- package/contracts/core/YieldContracts/PendlePrincipalToken.sol +8 -7
- package/contracts/core/YieldContracts/PendleYieldContractFactory.sol +37 -22
- package/contracts/core/YieldContracts/PendleYieldToken.sol +106 -35
- package/contracts/core/actions/ActionAddRemoveLiq.sol +58 -41
- package/contracts/core/actions/ActionCallback.sol +24 -14
- package/contracts/core/actions/ActionMintRedeem.sol +14 -4
- package/contracts/core/actions/ActionMisc.sol +2 -1
- package/contracts/core/actions/ActionSwapPT.sol +38 -19
- package/contracts/core/actions/ActionSwapPTYT.sol +7 -6
- package/contracts/core/actions/ActionSwapYT.sol +36 -19
- package/contracts/core/actions/base/ActionBaseMintRedeem.sol +15 -8
- package/contracts/interfaces/ConvexCurve/IBooster.sol +32 -0
- package/contracts/interfaces/ConvexCurve/ICrvDepositor.sol +20 -0
- package/contracts/interfaces/ConvexCurve/ICvxCrv.sol +6 -0
- package/contracts/interfaces/ConvexCurve/IRewards.sol +38 -0
- package/contracts/interfaces/Curve/ICrvPool.sol +69 -0
- package/contracts/interfaces/IBoringOwnableUpgradeable.sol +10 -0
- package/contracts/interfaces/IPActionAddRemoveLiq.sol +7 -7
- package/contracts/interfaces/IPActionMintRedeem.sol +1 -0
- package/contracts/interfaces/IPActionSwapPT.sol +6 -6
- package/contracts/interfaces/IPActionSwapPTYT.sol +2 -2
- package/contracts/interfaces/IPActionSwapYT.sol +13 -13
- package/contracts/interfaces/IPFeeDistributor.sol +19 -0
- package/contracts/interfaces/IPFeeDistributorFactory.sol +14 -0
- package/contracts/interfaces/IPMarket.sol +2 -0
- package/contracts/interfaces/IPMsgReceiverApp.sol +7 -0
- package/contracts/interfaces/IPMsgSendEndpoint.sol +17 -0
- package/contracts/interfaces/IPVotingController.sol +22 -0
- package/contracts/interfaces/{IPVotingEscrow.sol → IPVotingEscrowMainchain.sol} +11 -1
- package/contracts/interfaces/ISuperComposableYield.sol +2 -7
- package/contracts/libraries/Errors.sol +121 -0
- package/contracts/libraries/OracleLib.sol +6 -3
- package/contracts/libraries/VeBalanceLib.sol +5 -1
- package/contracts/libraries/VeHistoryLib.sol +20 -31
- package/contracts/libraries/helpers/ArrayLib.sol +0 -17
- package/contracts/libraries/helpers/BaseSplitCodeFactory.sol +288 -0
- package/contracts/libraries/helpers/TokenHelper.sol +4 -0
- package/contracts/libraries/kyberswap/AggregationRouterHelper.sol +0 -7
- package/contracts/libraries/math/MarketMathCore.sol +29 -25
- package/contracts/libraries/math/Math.sol +6 -2
- package/contracts/libraries/math/WeekMath.sol +2 -2
- package/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol +43 -0
- package/contracts/offchain-helpers/MarketMathStatic.sol +36 -36
- package/contracts/offchain-helpers/RouterStatic.sol +45 -37
- package/deployments/43113-core.json +11 -10
- package/deployments/43113-markets/benqi-market-QI-USDC-FEB-2ND.json +8 -0
- package/deployments/43113-markets/benqi-market-QI-WETH-DEC-1ST.json +8 -0
- package/deployments/43113-testenv.json +9 -9
- package/deployments/80001-core.json +10 -9
- package/deployments/80001-markets/benqi-market-QI-USDC-FEB-2ND.json +8 -0
- package/deployments/80001-markets/benqi-market-QI-WETH-DEC-1ST.json +8 -0
- package/deployments/80001-testenv.json +16 -16
- package/package.json +1 -1
- package/typechain-types/ActionAddRemoveLiq.ts +18 -6
- package/typechain-types/ActionMintRedeem.ts +9 -2
- package/typechain-types/ActionSwapPT.ts +18 -6
- package/typechain-types/ActionSwapPTYT.ts +6 -2
- package/typechain-types/ActionSwapYT.ts +18 -6
- package/typechain-types/Errors.ts +57 -0
- package/typechain-types/ICrvPool.ts +137 -22
- package/typechain-types/IPActionAddRemoveLiq.ts +19 -7
- package/typechain-types/IPActionMintRedeem.ts +9 -2
- package/typechain-types/IPActionSwapPT.ts +18 -6
- package/typechain-types/IPActionSwapPTYT.ts +6 -2
- package/typechain-types/IPActionSwapYT.ts +18 -6
- package/typechain-types/IPAllAction.ts +70 -23
- package/typechain-types/IPBatchSeller.ts +252 -0
- package/typechain-types/IPMarket.ts +13 -0
- package/typechain-types/IPVotingController.ts +244 -7
- package/typechain-types/IPVotingEscrowMainchain.ts +461 -0
- package/typechain-types/IRewards.ts +25 -10
- package/typechain-types/ISuperComposableYield.ts +7 -46
- package/typechain-types/MarketMathStatic.ts +139 -10
- package/typechain-types/Pendle3CrvAndTokenSCY.ts +1215 -0
- package/typechain-types/Pendle3CrvTokenSCY.ts +85 -185
- package/typechain-types/PendleBatchSeller.ts +626 -0
- package/typechain-types/PendleConvexCurveLP2PoolSCY.ts +185 -220
- package/typechain-types/PendleConvexCurveLPSCY.ts +159 -182
- package/typechain-types/PendleCvxCRVSCY.ts +0 -34
- package/typechain-types/PendleGaugeControllerSidechainUpg.ts +28 -149
- package/typechain-types/PendleMarket.ts +104 -0
- package/typechain-types/PendleMarketFactory.ts +76 -13
- package/typechain-types/PendlePrincipalToken.ts +104 -0
- package/typechain-types/PendleQiTokenSCY.ts +111 -46
- package/typechain-types/PendleVotingControllerUpg.ts +133 -77
- package/typechain-types/PendleWstEthSCY.ts +111 -46
- package/typechain-types/PendleYieldContractFactory.ts +84 -21
- package/typechain-types/PendleYieldToken.ts +175 -0
- package/typechain-types/PtAMMArb.ts +587 -0
- package/typechain-types/RouterStatic.ts +99 -75
- package/typechain-types/SCYBase.ts +111 -46
- package/typechain-types/SCYBaseWithRewards.ts +111 -46
- package/typechain-types/VotingControllerStorageUpg.ts +246 -27
- package/typechain-types/VotingEscrowPendleMainchain.ts +81 -93
- package/typechain-types/VotingEscrowPendleSidechain.ts +26 -171
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +169 -1
- package/typechain-types/factories/ActionCallback__factory.ts +108 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +59 -1
- package/typechain-types/factories/ActionMisc__factory.ts +6 -1
- package/typechain-types/factories/ActionSwapPTYT__factory.ts +107 -1
- package/typechain-types/factories/ActionSwapPT__factory.ts +196 -1
- package/typechain-types/factories/ActionSwapYT__factory.ts +143 -1
- package/typechain-types/factories/AggregationRouterHelper__factory.ts +1 -1
- package/typechain-types/factories/Errors__factory.ts +933 -0
- package/typechain-types/factories/ICrvPool__factory.ts +85 -12
- package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +31 -1
- package/typechain-types/factories/IPActionMintRedeem__factory.ts +5 -0
- package/typechain-types/factories/IPActionSwapPTYT__factory.ts +10 -0
- package/typechain-types/factories/IPActionSwapPT__factory.ts +30 -0
- package/typechain-types/factories/IPActionSwapYT__factory.ts +30 -0
- package/typechain-types/factories/IPAllAction__factory.ts +106 -1
- package/typechain-types/factories/IPBatchSeller__factory.ts +138 -0
- package/typechain-types/factories/IPMarket__factory.ts +13 -0
- package/typechain-types/factories/IPVotingController__factory.ts +148 -0
- package/typechain-types/factories/IPVotingEscrowMainchain__factory.ts +340 -0
- package/typechain-types/factories/IRewards__factory.ts +14 -1
- package/typechain-types/factories/ISuperComposableYield__factory.ts +4 -28
- package/typechain-types/factories/MarketMathStatic__factory.ts +181 -3
- package/typechain-types/factories/OracleLib__factory.ts +27 -1
- package/typechain-types/factories/Pendle3CrvAndTokenSCY__factory.ts +1130 -0
- package/typechain-types/factories/Pendle3CrvHelper__factory.ts +1 -1
- package/typechain-types/factories/Pendle3CrvTokenSCY__factory.ts +74 -128
- package/typechain-types/factories/PendleBatchSeller__factory.ts +558 -0
- package/typechain-types/factories/PendleConvexCurveLP2PoolSCY__factory.ts +207 -136
- package/typechain-types/factories/PendleConvexCurveLPSCY__factory.ts +170 -95
- package/typechain-types/factories/PendleCvxCRVSCY__factory.ts +1 -29
- package/typechain-types/factories/PendleERC20Permit__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +17 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +6 -1
- package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +11 -0
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +28 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +48 -86
- package/typechain-types/factories/PendleMarketFactory__factory.ts +129 -9
- package/typechain-types/factories/PendleMarket__factory.ts +214 -1
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +17 -1
- package/typechain-types/factories/PendleMsgReceiverAppUpg__factory.ts +11 -0
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +6 -1
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +86 -1
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSCY__factory.ts +198 -29
- package/typechain-types/factories/PendleRouter__factory.ts +12 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +235 -40
- package/typechain-types/factories/PendleWstEthSCY__factory.ts +137 -22
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +103 -20
- package/typechain-types/factories/PendleYieldToken__factory.ts +163 -1
- package/typechain-types/factories/PtAMMArb__factory.ts +525 -0
- package/typechain-types/factories/RouterStatic__factory.ts +67 -20
- package/typechain-types/factories/SCYBaseWithRewards__factory.ts +136 -21
- package/typechain-types/factories/SCYBase__factory.ts +136 -21
- package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +232 -12
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +171 -47
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +31 -93
- package/typechain-types/hardhat.d.ts +99 -0
- package/typechain-types/index.ts +22 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.json +0 -810
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.json +0 -10
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.json +0 -833
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.json +0 -723
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.json +0 -728
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.json +0 -705
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.json +0 -864
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultSCY.sol/PendleYearnVaultSCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultSCY.sol/PendleYearnVaultSCY.json +0 -718
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.json +0 -784
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/SSTORE2DeployerContract.sol/SSTORE2DeployerContract.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/SSTORE2DeployerContract.sol/SSTORE2DeployerContract.json +0 -134
- package/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol +0 -161
- package/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol +0 -126
- package/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol +0 -242
- package/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol +0 -146
- package/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol +0 -176
- package/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol +0 -129
- package/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol +0 -193
- package/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultSCY.sol +0 -155
- package/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol +0 -182
- package/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol +0 -53
- package/contracts/libraries/helpers/SSTORE2Deployer.sol +0 -30
- package/contracts/libraries/solmate/SSTORE2.sol +0 -99
- package/contracts/offchain-helpers/SSTORE2DeployerContract.sol +0 -21
- package/deployments/43113-markets/benqi-market-10D931.json +0 -8
- package/deployments/43113-markets/benqi-market-9fbD64.json +0 -8
- package/deployments/43113-markets/benqi-market-A12361.json +0 -8
|
@@ -0,0 +1,933 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
+
import type { Errors, ErrorsInterface } from "../Errors";
|
|
7
|
+
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [],
|
|
11
|
+
name: "ArrayEmpty",
|
|
12
|
+
type: "error",
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
inputs: [],
|
|
16
|
+
name: "ArrayLengthMismatch",
|
|
17
|
+
type: "error",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
inputs: [],
|
|
21
|
+
name: "ArrayOutOfBounds",
|
|
22
|
+
type: "error",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
inputs: [
|
|
26
|
+
{
|
|
27
|
+
internalType: "uint256",
|
|
28
|
+
name: "chainId",
|
|
29
|
+
type: "uint256",
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
name: "ChainNotSupported",
|
|
33
|
+
type: "error",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
inputs: [
|
|
37
|
+
{
|
|
38
|
+
internalType: "uint256",
|
|
39
|
+
name: "expiry",
|
|
40
|
+
type: "uint256",
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
name: "ExpiryInThePast",
|
|
44
|
+
type: "error",
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
inputs: [],
|
|
48
|
+
name: "FDCantFundFutureEpoch",
|
|
49
|
+
type: "error",
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
inputs: [
|
|
53
|
+
{
|
|
54
|
+
internalType: "address",
|
|
55
|
+
name: "pool",
|
|
56
|
+
type: "address",
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
internalType: "address",
|
|
60
|
+
name: "distributor",
|
|
61
|
+
type: "address",
|
|
62
|
+
},
|
|
63
|
+
],
|
|
64
|
+
name: "FDFactoryDistributorAlreadyExisted",
|
|
65
|
+
type: "error",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
inputs: [
|
|
69
|
+
{
|
|
70
|
+
internalType: "address",
|
|
71
|
+
name: "caller",
|
|
72
|
+
type: "address",
|
|
73
|
+
},
|
|
74
|
+
],
|
|
75
|
+
name: "GCNotPendleMarket",
|
|
76
|
+
type: "error",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
inputs: [
|
|
80
|
+
{
|
|
81
|
+
internalType: "address",
|
|
82
|
+
name: "caller",
|
|
83
|
+
type: "address",
|
|
84
|
+
},
|
|
85
|
+
],
|
|
86
|
+
name: "GCNotVotingController",
|
|
87
|
+
type: "error",
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
inputs: [
|
|
91
|
+
{
|
|
92
|
+
internalType: "uint256",
|
|
93
|
+
name: "currentFee",
|
|
94
|
+
type: "uint256",
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
internalType: "uint256",
|
|
98
|
+
name: "requiredFee",
|
|
99
|
+
type: "uint256",
|
|
100
|
+
},
|
|
101
|
+
],
|
|
102
|
+
name: "InsufficientFeeToSendMsg",
|
|
103
|
+
type: "error",
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
inputs: [
|
|
107
|
+
{
|
|
108
|
+
internalType: "uint256",
|
|
109
|
+
name: "wTime",
|
|
110
|
+
type: "uint256",
|
|
111
|
+
},
|
|
112
|
+
],
|
|
113
|
+
name: "InvalidWTime",
|
|
114
|
+
type: "error",
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
inputs: [
|
|
118
|
+
{
|
|
119
|
+
internalType: "uint88",
|
|
120
|
+
name: "lnFeeRateRoot",
|
|
121
|
+
type: "uint88",
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
internalType: "uint256",
|
|
125
|
+
name: "maxLnFeeRateRoot",
|
|
126
|
+
type: "uint256",
|
|
127
|
+
},
|
|
128
|
+
],
|
|
129
|
+
name: "MFactoryLnFeeRateRootTooHigh",
|
|
130
|
+
type: "error",
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
inputs: [
|
|
134
|
+
{
|
|
135
|
+
internalType: "uint8",
|
|
136
|
+
name: "reserveFeePercent",
|
|
137
|
+
type: "uint8",
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
internalType: "uint8",
|
|
141
|
+
name: "maxReserveFeePercent",
|
|
142
|
+
type: "uint8",
|
|
143
|
+
},
|
|
144
|
+
],
|
|
145
|
+
name: "MFactoryReserveFeePercentTooHigh",
|
|
146
|
+
type: "error",
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
inputs: [
|
|
150
|
+
{
|
|
151
|
+
internalType: "int256",
|
|
152
|
+
name: "exchangeRate",
|
|
153
|
+
type: "int256",
|
|
154
|
+
},
|
|
155
|
+
],
|
|
156
|
+
name: "MarketExchangeRateBelowOne",
|
|
157
|
+
type: "error",
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
inputs: [],
|
|
161
|
+
name: "MarketExpired",
|
|
162
|
+
type: "error",
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
inputs: [],
|
|
166
|
+
name: "MarketFactoryExpiredPt",
|
|
167
|
+
type: "error",
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
inputs: [],
|
|
171
|
+
name: "MarketFactoryInvalidPt",
|
|
172
|
+
type: "error",
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
inputs: [],
|
|
176
|
+
name: "MarketFactoryMarketExists",
|
|
177
|
+
type: "error",
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
inputs: [
|
|
181
|
+
{
|
|
182
|
+
internalType: "int256",
|
|
183
|
+
name: "currentAmount",
|
|
184
|
+
type: "int256",
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
internalType: "int256",
|
|
188
|
+
name: "requiredAmount",
|
|
189
|
+
type: "int256",
|
|
190
|
+
},
|
|
191
|
+
],
|
|
192
|
+
name: "MarketInsufficientPtForTrade",
|
|
193
|
+
type: "error",
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
inputs: [
|
|
197
|
+
{
|
|
198
|
+
internalType: "uint256",
|
|
199
|
+
name: "actualBalance",
|
|
200
|
+
type: "uint256",
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
internalType: "uint256",
|
|
204
|
+
name: "requiredBalance",
|
|
205
|
+
type: "uint256",
|
|
206
|
+
},
|
|
207
|
+
],
|
|
208
|
+
name: "MarketInsufficientPtReceived",
|
|
209
|
+
type: "error",
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
inputs: [
|
|
213
|
+
{
|
|
214
|
+
internalType: "uint256",
|
|
215
|
+
name: "actualBalance",
|
|
216
|
+
type: "uint256",
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
internalType: "uint256",
|
|
220
|
+
name: "requiredBalance",
|
|
221
|
+
type: "uint256",
|
|
222
|
+
},
|
|
223
|
+
],
|
|
224
|
+
name: "MarketInsufficientScyReceived",
|
|
225
|
+
type: "error",
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
inputs: [],
|
|
229
|
+
name: "MarketProportionMustNotEqualOne",
|
|
230
|
+
type: "error",
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
inputs: [
|
|
234
|
+
{
|
|
235
|
+
internalType: "int256",
|
|
236
|
+
name: "proportion",
|
|
237
|
+
type: "int256",
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
internalType: "int256",
|
|
241
|
+
name: "maxProportion",
|
|
242
|
+
type: "int256",
|
|
243
|
+
},
|
|
244
|
+
],
|
|
245
|
+
name: "MarketProportionTooHigh",
|
|
246
|
+
type: "error",
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
inputs: [
|
|
250
|
+
{
|
|
251
|
+
internalType: "int256",
|
|
252
|
+
name: "rateScalar",
|
|
253
|
+
type: "int256",
|
|
254
|
+
},
|
|
255
|
+
],
|
|
256
|
+
name: "MarketRateScalarBelowZero",
|
|
257
|
+
type: "error",
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
inputs: [
|
|
261
|
+
{
|
|
262
|
+
internalType: "int256",
|
|
263
|
+
name: "scalarRoot",
|
|
264
|
+
type: "int256",
|
|
265
|
+
},
|
|
266
|
+
],
|
|
267
|
+
name: "MarketScalarRootBelowZero",
|
|
268
|
+
type: "error",
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
inputs: [],
|
|
272
|
+
name: "MarketZeroAmountsInput",
|
|
273
|
+
type: "error",
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
inputs: [],
|
|
277
|
+
name: "MarketZeroAmountsOutput",
|
|
278
|
+
type: "error",
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
inputs: [],
|
|
282
|
+
name: "MarketZeroLnImpliedRate",
|
|
283
|
+
type: "error",
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
inputs: [
|
|
287
|
+
{
|
|
288
|
+
internalType: "int256",
|
|
289
|
+
name: "totalPt",
|
|
290
|
+
type: "int256",
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
internalType: "int256",
|
|
294
|
+
name: "totalAsset",
|
|
295
|
+
type: "int256",
|
|
296
|
+
},
|
|
297
|
+
],
|
|
298
|
+
name: "MarketZeroTotalPtOrTotalAsset",
|
|
299
|
+
type: "error",
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
inputs: [
|
|
303
|
+
{
|
|
304
|
+
internalType: "address",
|
|
305
|
+
name: "sender",
|
|
306
|
+
type: "address",
|
|
307
|
+
},
|
|
308
|
+
],
|
|
309
|
+
name: "MsgNotFromReceiveEndpoint",
|
|
310
|
+
type: "error",
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
inputs: [
|
|
314
|
+
{
|
|
315
|
+
internalType: "address",
|
|
316
|
+
name: "sender",
|
|
317
|
+
type: "address",
|
|
318
|
+
},
|
|
319
|
+
],
|
|
320
|
+
name: "MsgNotFromSendEndpoint",
|
|
321
|
+
type: "error",
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
inputs: [],
|
|
325
|
+
name: "OnlyCelerBus",
|
|
326
|
+
type: "error",
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
inputs: [],
|
|
330
|
+
name: "OnlyWhitelisted",
|
|
331
|
+
type: "error",
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
inputs: [],
|
|
335
|
+
name: "OnlyYCFactory",
|
|
336
|
+
type: "error",
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
inputs: [],
|
|
340
|
+
name: "OnlyYT",
|
|
341
|
+
type: "error",
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
inputs: [
|
|
345
|
+
{
|
|
346
|
+
internalType: "uint32",
|
|
347
|
+
name: "target",
|
|
348
|
+
type: "uint32",
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
internalType: "uint32",
|
|
352
|
+
name: "oldest",
|
|
353
|
+
type: "uint32",
|
|
354
|
+
},
|
|
355
|
+
],
|
|
356
|
+
name: "OracleTargetTooOld",
|
|
357
|
+
type: "error",
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
inputs: [],
|
|
361
|
+
name: "OracleUninitialized",
|
|
362
|
+
type: "error",
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
inputs: [],
|
|
366
|
+
name: "OracleZeroCardinality",
|
|
367
|
+
type: "error",
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
inputs: [
|
|
371
|
+
{
|
|
372
|
+
internalType: "address",
|
|
373
|
+
name: "caller",
|
|
374
|
+
type: "address",
|
|
375
|
+
},
|
|
376
|
+
],
|
|
377
|
+
name: "RouterCallbackNotPendleMarket",
|
|
378
|
+
type: "error",
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
inputs: [
|
|
382
|
+
{
|
|
383
|
+
internalType: "uint256",
|
|
384
|
+
name: "actualPtIn",
|
|
385
|
+
type: "uint256",
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
internalType: "uint256",
|
|
389
|
+
name: "limitPtIn",
|
|
390
|
+
type: "uint256",
|
|
391
|
+
},
|
|
392
|
+
],
|
|
393
|
+
name: "RouterExceededLimitPtIn",
|
|
394
|
+
type: "error",
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
inputs: [
|
|
398
|
+
{
|
|
399
|
+
internalType: "uint256",
|
|
400
|
+
name: "actualScyIn",
|
|
401
|
+
type: "uint256",
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
internalType: "uint256",
|
|
405
|
+
name: "limitScyIn",
|
|
406
|
+
type: "uint256",
|
|
407
|
+
},
|
|
408
|
+
],
|
|
409
|
+
name: "RouterExceededLimitScyIn",
|
|
410
|
+
type: "error",
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
inputs: [
|
|
414
|
+
{
|
|
415
|
+
internalType: "uint256",
|
|
416
|
+
name: "actualYtIn",
|
|
417
|
+
type: "uint256",
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
internalType: "uint256",
|
|
421
|
+
name: "limitYtIn",
|
|
422
|
+
type: "uint256",
|
|
423
|
+
},
|
|
424
|
+
],
|
|
425
|
+
name: "RouterExceededLimitYtIn",
|
|
426
|
+
type: "error",
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
inputs: [
|
|
430
|
+
{
|
|
431
|
+
internalType: "uint256",
|
|
432
|
+
name: "actualLpOut",
|
|
433
|
+
type: "uint256",
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
internalType: "uint256",
|
|
437
|
+
name: "requiredLpOut",
|
|
438
|
+
type: "uint256",
|
|
439
|
+
},
|
|
440
|
+
],
|
|
441
|
+
name: "RouterInsufficientLpOut",
|
|
442
|
+
type: "error",
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
inputs: [
|
|
446
|
+
{
|
|
447
|
+
internalType: "uint256",
|
|
448
|
+
name: "actualPYOut",
|
|
449
|
+
type: "uint256",
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
internalType: "uint256",
|
|
453
|
+
name: "requiredPYOut",
|
|
454
|
+
type: "uint256",
|
|
455
|
+
},
|
|
456
|
+
],
|
|
457
|
+
name: "RouterInsufficientPYOut",
|
|
458
|
+
type: "error",
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
inputs: [
|
|
462
|
+
{
|
|
463
|
+
internalType: "uint256",
|
|
464
|
+
name: "actualPtOut",
|
|
465
|
+
type: "uint256",
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
internalType: "uint256",
|
|
469
|
+
name: "requiredPtOut",
|
|
470
|
+
type: "uint256",
|
|
471
|
+
},
|
|
472
|
+
],
|
|
473
|
+
name: "RouterInsufficientPtOut",
|
|
474
|
+
type: "error",
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
inputs: [
|
|
478
|
+
{
|
|
479
|
+
internalType: "uint256",
|
|
480
|
+
name: "actualPtRepay",
|
|
481
|
+
type: "uint256",
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
internalType: "uint256",
|
|
485
|
+
name: "requiredPtRepay",
|
|
486
|
+
type: "uint256",
|
|
487
|
+
},
|
|
488
|
+
],
|
|
489
|
+
name: "RouterInsufficientPtRepay",
|
|
490
|
+
type: "error",
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
inputs: [
|
|
494
|
+
{
|
|
495
|
+
internalType: "uint256",
|
|
496
|
+
name: "actualScyOut",
|
|
497
|
+
type: "uint256",
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
internalType: "uint256",
|
|
501
|
+
name: "requiredScyOut",
|
|
502
|
+
type: "uint256",
|
|
503
|
+
},
|
|
504
|
+
],
|
|
505
|
+
name: "RouterInsufficientScyOut",
|
|
506
|
+
type: "error",
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
inputs: [
|
|
510
|
+
{
|
|
511
|
+
internalType: "uint256",
|
|
512
|
+
name: "actualScyRepay",
|
|
513
|
+
type: "uint256",
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
internalType: "uint256",
|
|
517
|
+
name: "requiredScyRepay",
|
|
518
|
+
type: "uint256",
|
|
519
|
+
},
|
|
520
|
+
],
|
|
521
|
+
name: "RouterInsufficientScyRepay",
|
|
522
|
+
type: "error",
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
inputs: [
|
|
526
|
+
{
|
|
527
|
+
internalType: "uint256",
|
|
528
|
+
name: "actualTokenOut",
|
|
529
|
+
type: "uint256",
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
internalType: "uint256",
|
|
533
|
+
name: "requiredTokenOut",
|
|
534
|
+
type: "uint256",
|
|
535
|
+
},
|
|
536
|
+
],
|
|
537
|
+
name: "RouterInsufficientTokenOut",
|
|
538
|
+
type: "error",
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
inputs: [
|
|
542
|
+
{
|
|
543
|
+
internalType: "uint256",
|
|
544
|
+
name: "actualYtOut",
|
|
545
|
+
type: "uint256",
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
internalType: "uint256",
|
|
549
|
+
name: "requiredYtOut",
|
|
550
|
+
type: "uint256",
|
|
551
|
+
},
|
|
552
|
+
],
|
|
553
|
+
name: "RouterInsufficientYtOut",
|
|
554
|
+
type: "error",
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
inputs: [
|
|
558
|
+
{
|
|
559
|
+
internalType: "bytes4",
|
|
560
|
+
name: "selector",
|
|
561
|
+
type: "bytes4",
|
|
562
|
+
},
|
|
563
|
+
],
|
|
564
|
+
name: "RouterInvalidAction",
|
|
565
|
+
type: "error",
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
inputs: [],
|
|
569
|
+
name: "RouterTimeRangeZero",
|
|
570
|
+
type: "error",
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
inputs: [],
|
|
574
|
+
name: "SCYCurve3crvPoolNotFound",
|
|
575
|
+
type: "error",
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
inputs: [],
|
|
579
|
+
name: "SCYCurveInvalidPid",
|
|
580
|
+
type: "error",
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
inputs: [
|
|
584
|
+
{
|
|
585
|
+
internalType: "uint256",
|
|
586
|
+
name: "actualSharesOut",
|
|
587
|
+
type: "uint256",
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
internalType: "uint256",
|
|
591
|
+
name: "requiredSharesOut",
|
|
592
|
+
type: "uint256",
|
|
593
|
+
},
|
|
594
|
+
],
|
|
595
|
+
name: "SCYInsufficientSharesOut",
|
|
596
|
+
type: "error",
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
inputs: [
|
|
600
|
+
{
|
|
601
|
+
internalType: "uint256",
|
|
602
|
+
name: "actualTokenOut",
|
|
603
|
+
type: "uint256",
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
internalType: "uint256",
|
|
607
|
+
name: "requiredTokenOut",
|
|
608
|
+
type: "uint256",
|
|
609
|
+
},
|
|
610
|
+
],
|
|
611
|
+
name: "SCYInsufficientTokenOut",
|
|
612
|
+
type: "error",
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
inputs: [
|
|
616
|
+
{
|
|
617
|
+
internalType: "address",
|
|
618
|
+
name: "token",
|
|
619
|
+
type: "address",
|
|
620
|
+
},
|
|
621
|
+
],
|
|
622
|
+
name: "SCYInvalidTokenIn",
|
|
623
|
+
type: "error",
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
inputs: [
|
|
627
|
+
{
|
|
628
|
+
internalType: "address",
|
|
629
|
+
name: "token",
|
|
630
|
+
type: "address",
|
|
631
|
+
},
|
|
632
|
+
],
|
|
633
|
+
name: "SCYInvalidTokenOut",
|
|
634
|
+
type: "error",
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
inputs: [
|
|
638
|
+
{
|
|
639
|
+
internalType: "uint256",
|
|
640
|
+
name: "borrowRate",
|
|
641
|
+
type: "uint256",
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
internalType: "uint256",
|
|
645
|
+
name: "borrowRateMax",
|
|
646
|
+
type: "uint256",
|
|
647
|
+
},
|
|
648
|
+
],
|
|
649
|
+
name: "SCYQiTokenBorrowRateTooHigh",
|
|
650
|
+
type: "error",
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
inputs: [
|
|
654
|
+
{
|
|
655
|
+
internalType: "uint256",
|
|
656
|
+
name: "errCode",
|
|
657
|
+
type: "uint256",
|
|
658
|
+
},
|
|
659
|
+
],
|
|
660
|
+
name: "SCYQiTokenMintFailed",
|
|
661
|
+
type: "error",
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
inputs: [
|
|
665
|
+
{
|
|
666
|
+
internalType: "uint256",
|
|
667
|
+
name: "errCode",
|
|
668
|
+
type: "uint256",
|
|
669
|
+
},
|
|
670
|
+
],
|
|
671
|
+
name: "SCYQiTokenRedeemFailed",
|
|
672
|
+
type: "error",
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
inputs: [
|
|
676
|
+
{
|
|
677
|
+
internalType: "uint256",
|
|
678
|
+
name: "rewardAccuredType0",
|
|
679
|
+
type: "uint256",
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
internalType: "uint256",
|
|
683
|
+
name: "rewardAccuredType1",
|
|
684
|
+
type: "uint256",
|
|
685
|
+
},
|
|
686
|
+
],
|
|
687
|
+
name: "SCYQiTokenRedeemRewardsFailed",
|
|
688
|
+
type: "error",
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
inputs: [],
|
|
692
|
+
name: "SCYZeroDeposit",
|
|
693
|
+
type: "error",
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
inputs: [],
|
|
697
|
+
name: "SCYZeroRedeem",
|
|
698
|
+
type: "error",
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
inputs: [
|
|
702
|
+
{
|
|
703
|
+
internalType: "uint256",
|
|
704
|
+
name: "wTime",
|
|
705
|
+
type: "uint256",
|
|
706
|
+
},
|
|
707
|
+
],
|
|
708
|
+
name: "VCEpochNotFinalized",
|
|
709
|
+
type: "error",
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
inputs: [
|
|
713
|
+
{
|
|
714
|
+
internalType: "uint256",
|
|
715
|
+
name: "totalWeight",
|
|
716
|
+
type: "uint256",
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
internalType: "uint256",
|
|
720
|
+
name: "maxWeight",
|
|
721
|
+
type: "uint256",
|
|
722
|
+
},
|
|
723
|
+
],
|
|
724
|
+
name: "VCExceededMaxWeight",
|
|
725
|
+
type: "error",
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
inputs: [
|
|
729
|
+
{
|
|
730
|
+
internalType: "address",
|
|
731
|
+
name: "pool",
|
|
732
|
+
type: "address",
|
|
733
|
+
},
|
|
734
|
+
],
|
|
735
|
+
name: "VCInactivePool",
|
|
736
|
+
type: "error",
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
inputs: [
|
|
740
|
+
{
|
|
741
|
+
internalType: "address",
|
|
742
|
+
name: "pool",
|
|
743
|
+
type: "address",
|
|
744
|
+
},
|
|
745
|
+
],
|
|
746
|
+
name: "VCPoolAlreadyActive",
|
|
747
|
+
type: "error",
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
inputs: [
|
|
751
|
+
{
|
|
752
|
+
internalType: "address",
|
|
753
|
+
name: "pool",
|
|
754
|
+
type: "address",
|
|
755
|
+
},
|
|
756
|
+
],
|
|
757
|
+
name: "VCPoolAlreadyAddAndRemoved",
|
|
758
|
+
type: "error",
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
inputs: [
|
|
762
|
+
{
|
|
763
|
+
internalType: "address",
|
|
764
|
+
name: "user",
|
|
765
|
+
type: "address",
|
|
766
|
+
},
|
|
767
|
+
],
|
|
768
|
+
name: "VCZeroVePendle",
|
|
769
|
+
type: "error",
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
inputs: [],
|
|
773
|
+
name: "VEExceededMaxLockTime",
|
|
774
|
+
type: "error",
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
inputs: [],
|
|
778
|
+
name: "VEInsufficientLockTime",
|
|
779
|
+
type: "error",
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
inputs: [
|
|
783
|
+
{
|
|
784
|
+
internalType: "uint256",
|
|
785
|
+
name: "newExpiry",
|
|
786
|
+
type: "uint256",
|
|
787
|
+
},
|
|
788
|
+
],
|
|
789
|
+
name: "VEInvalidNewExpiry",
|
|
790
|
+
type: "error",
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
inputs: [],
|
|
794
|
+
name: "VENotAllowedReduceExpiry",
|
|
795
|
+
type: "error",
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
inputs: [],
|
|
799
|
+
name: "VEPositionNotExpired",
|
|
800
|
+
type: "error",
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
inputs: [],
|
|
804
|
+
name: "VEZeroAmountLocked",
|
|
805
|
+
type: "error",
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
inputs: [],
|
|
809
|
+
name: "VEZeroPosition",
|
|
810
|
+
type: "error",
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
inputs: [
|
|
814
|
+
{
|
|
815
|
+
internalType: "uint128",
|
|
816
|
+
name: "bias",
|
|
817
|
+
type: "uint128",
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
internalType: "uint128",
|
|
821
|
+
name: "slope",
|
|
822
|
+
type: "uint128",
|
|
823
|
+
},
|
|
824
|
+
],
|
|
825
|
+
name: "VEZeroSlope",
|
|
826
|
+
type: "error",
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
inputs: [],
|
|
830
|
+
name: "YCExpired",
|
|
831
|
+
type: "error",
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
inputs: [],
|
|
835
|
+
name: "YCFactoryInvalidExpiry",
|
|
836
|
+
type: "error",
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
inputs: [],
|
|
840
|
+
name: "YCFactoryYieldContractExisted",
|
|
841
|
+
type: "error",
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
inputs: [],
|
|
845
|
+
name: "YCNoFloatingScy",
|
|
846
|
+
type: "error",
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
inputs: [],
|
|
850
|
+
name: "YCNotExpired",
|
|
851
|
+
type: "error",
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
inputs: [],
|
|
855
|
+
name: "YCNothingToRedeem",
|
|
856
|
+
type: "error",
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
inputs: [],
|
|
860
|
+
name: "YCPostExpiryDataNotSet",
|
|
861
|
+
type: "error",
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
inputs: [
|
|
865
|
+
{
|
|
866
|
+
internalType: "uint256",
|
|
867
|
+
name: "actualScy",
|
|
868
|
+
type: "uint256",
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
internalType: "uint256",
|
|
872
|
+
name: "requiredScy",
|
|
873
|
+
type: "uint256",
|
|
874
|
+
},
|
|
875
|
+
],
|
|
876
|
+
name: "YieldContractInsufficientScy",
|
|
877
|
+
type: "error",
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
inputs: [],
|
|
881
|
+
name: "ZeroAddress",
|
|
882
|
+
type: "error",
|
|
883
|
+
},
|
|
884
|
+
];
|
|
885
|
+
|
|
886
|
+
const _bytecode =
|
|
887
|
+
"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220eca601b4fae8279e230cd90cc624faedec91fb94f9b818ae23ad21e843b58d8d64736f6c634300080f0033";
|
|
888
|
+
|
|
889
|
+
type ErrorsConstructorParams =
|
|
890
|
+
| [signer?: Signer]
|
|
891
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
892
|
+
|
|
893
|
+
const isSuperArgs = (
|
|
894
|
+
xs: ErrorsConstructorParams
|
|
895
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
896
|
+
|
|
897
|
+
export class Errors__factory extends ContractFactory {
|
|
898
|
+
constructor(...args: ErrorsConstructorParams) {
|
|
899
|
+
if (isSuperArgs(args)) {
|
|
900
|
+
super(...args);
|
|
901
|
+
} else {
|
|
902
|
+
super(_abi, _bytecode, args[0]);
|
|
903
|
+
}
|
|
904
|
+
this.contractName = "Errors";
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
deploy(
|
|
908
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
909
|
+
): Promise<Errors> {
|
|
910
|
+
return super.deploy(overrides || {}) as Promise<Errors>;
|
|
911
|
+
}
|
|
912
|
+
getDeployTransaction(
|
|
913
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
914
|
+
): TransactionRequest {
|
|
915
|
+
return super.getDeployTransaction(overrides || {});
|
|
916
|
+
}
|
|
917
|
+
attach(address: string): Errors {
|
|
918
|
+
return super.attach(address) as Errors;
|
|
919
|
+
}
|
|
920
|
+
connect(signer: Signer): Errors__factory {
|
|
921
|
+
return super.connect(signer) as Errors__factory;
|
|
922
|
+
}
|
|
923
|
+
static readonly contractName: "Errors";
|
|
924
|
+
public readonly contractName: "Errors";
|
|
925
|
+
static readonly bytecode = _bytecode;
|
|
926
|
+
static readonly abi = _abi;
|
|
927
|
+
static createInterface(): ErrorsInterface {
|
|
928
|
+
return new utils.Interface(_abi) as ErrorsInterface;
|
|
929
|
+
}
|
|
930
|
+
static connect(address: string, signerOrProvider: Signer | Provider): Errors {
|
|
931
|
+
return new Contract(address, _abi, signerOrProvider) as Errors;
|
|
932
|
+
}
|
|
933
|
+
}
|