@pendle/core-v2 0.9.4-beta → 0.10.2-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/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- 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 +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.json +7 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.json +2 -2
- 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 +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultSCY.sol/PendleYearnVaultSCY.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/{PendleYearnVaultScy.sol → PendleYearnVaultSCY.sol}/PendleYearnVaultSCY.json +3 -3
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.json +67 -5
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.json +63 -1
- 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 +65 -3
- 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 +74 -10
- 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 +79 -15
- 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 +204 -123
- 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 +127 -73
- 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 +93 -34
- 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 +90 -14
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.json +14 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +139 -37
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +84 -56
- package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.json +122 -11
- 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 +96 -40
- 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/actions/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +4 -0
- package/build/artifacts/contracts/core/actions/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +1025 -0
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +2 -2
- package/build/artifacts/contracts/core/actions/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +4 -0
- package/build/artifacts/contracts/core/actions/ActionMintRedeem.sol/ActionMintRedeem.json +622 -0
- package/build/artifacts/contracts/core/actions/ActionMisc.sol/ActionMisc.dbg.json +4 -0
- package/build/artifacts/contracts/core/actions/ActionMisc.sol/ActionMisc.json +35 -0
- package/build/artifacts/contracts/core/actions/ActionSwapPT.sol/ActionSwapPT.dbg.json +4 -0
- package/build/artifacts/contracts/core/actions/ActionSwapPT.sol/ActionSwapPT.json +459 -0
- package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.dbg.json +4 -0
- package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.json +459 -0
- package/build/artifacts/contracts/core/actions/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +4 -0
- package/build/artifacts/contracts/core/actions/base/{ActionSCYAndPTBase.sol/ActionSCYAndPTBase.json → ActionBaseMintRedeem.sol/ActionBaseMintRedeem.json} +2 -2
- package/build/artifacts/contracts/core/actions/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- 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/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.json +24 -0
- package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.dbg.json +1 -1
- 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/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{IPActionCore.sol/IPActionCore.json → IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json} +141 -912
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +598 -0
- package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.json +35 -0
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.json +435 -0
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{IPActionYT.sol/IPActionYT.json → IPActionSwapYT.sol/IPActionSwapYT.json} +23 -11
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +323 -47
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +4 -0
- package/build/artifacts/contracts/{core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.json → interfaces/IPGauge.sol/IPGauge.json} +5 -5
- 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/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +72 -29
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +0 -11
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.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/IPVeToken.sol/IPVeToken.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.json +0 -37
- package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.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/IPYieldToken.sol/IPYieldToken.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.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/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/ISuperComposableYield.sol/ISuperComposableYield.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/libraries/OracleLib.sol/OracleLib.dbg.json +4 -0
- package/build/artifacts/contracts/libraries/OracleLib.sol/OracleLib.json +74 -0
- 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/SCY/SCYUtils.sol/SCYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- 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/SSTORE2Deployer.sol/SSTORE2Deployer.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.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/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +93 -0
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +427 -39
- package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +4 -0
- package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.json +86 -0
- package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +4 -0
- package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.json +37 -0
- package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.dbg.json +1 -1
- package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +1 -1
- package/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol +8 -0
- package/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol +1 -1
- package/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol +11 -5
- package/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol +0 -1
- package/contracts/SuperComposableYield/SCY-implementations/{PendleYearnVaultScy.sol → PendleYearnVaultSCY.sol} +0 -0
- package/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol +1 -0
- package/contracts/SuperComposableYield/base-implementations/SCYBase.sol +1 -1
- package/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol +7 -7
- package/contracts/core/LiquidityMining/CelerAbstracts/CelerSenderUpg.sol +7 -6
- package/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +4 -5
- package/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol +6 -3
- package/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol +6 -3
- package/contracts/core/LiquidityMining/PendleGauge.sol +3 -2
- package/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +22 -28
- package/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +71 -13
- package/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol +7 -4
- package/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol +6 -2
- package/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol +4 -3
- package/contracts/core/Market/PendleMarket.sol +93 -57
- package/contracts/core/Market/PendleMarketFactory.sol +18 -33
- package/contracts/core/PendleRouter.sol +60 -52
- package/contracts/core/YieldContracts/PendleYieldContractFactory.sol +12 -12
- package/contracts/core/YieldContracts/PendleYieldToken.sol +1 -1
- package/contracts/core/actions/ActionAddRemoveLiq.sol +366 -0
- package/contracts/core/actions/ActionCallback.sol +6 -6
- package/contracts/core/actions/ActionMintRedeem.sol +124 -0
- package/contracts/core/actions/ActionMisc.sol +24 -0
- package/contracts/core/actions/ActionSwapPT.sol +199 -0
- package/contracts/core/actions/{base/ActionSCYAndYTBase.sol → ActionSwapYT.sol} +109 -74
- package/contracts/core/actions/base/{ActionSCYAndPYBase.sol → ActionBaseMintRedeem.sol} +9 -8
- package/contracts/interfaces/IBenQiComptroller.sol +2 -0
- package/contracts/interfaces/IPActionAddRemoveLiq.sol +188 -0
- package/contracts/interfaces/IPActionMintRedeem.sol +115 -0
- package/contracts/interfaces/IPActionMisc.sol +9 -0
- package/contracts/interfaces/IPActionSwapPT.sol +69 -0
- package/contracts/interfaces/{IPActionYT.sol → IPActionSwapYT.sol} +12 -10
- package/contracts/interfaces/IPAllAction.sol +12 -3
- package/contracts/interfaces/IPGauge.sol +6 -0
- package/contracts/interfaces/IPGaugeController.sol +0 -2
- package/contracts/interfaces/IPMarket.sol +28 -10
- package/contracts/interfaces/IPMarketFactory.sol +1 -7
- package/contracts/interfaces/IPVeToken.sol +1 -1
- package/contracts/interfaces/IPVotingController.sol +0 -2
- package/contracts/interfaces/IRewardManager.sol +1 -1
- package/contracts/libraries/OracleLib.sol +214 -0
- package/contracts/libraries/RewardManagerAbstract.sol +1 -1
- package/contracts/libraries/math/MarketApproxLib.sol +227 -14
- package/contracts/libraries/math/MarketMathCore.sol +0 -33
- package/contracts/offchain-helpers/MarketMathStatic.sol +565 -0
- package/contracts/offchain-helpers/RouterStatic.sol +187 -251
- package/contracts/periphery/BoringOwnableUpgradeable.sol +62 -0
- package/deployments/43113-core.json +7 -8
- package/deployments/43113-markets/benqi-market-590025.json +8 -0
- package/deployments/43113-markets/benqi-market-c93916.json +8 -0
- package/deployments/80001-core.json +6 -7
- package/deployments/80001-markets/benqi-market-3b8BD1.json +8 -0
- package/deployments/80001-markets/benqi-market-b61e7f.json +8 -0
- package/package.json +11 -11
- package/typechain-types/ActionAddRemoveLiq.ts +1037 -0
- package/typechain-types/ActionBaseMintRedeem.ts +87 -0
- package/typechain-types/ActionCore.ts +21 -20
- package/typechain-types/ActionMintRedeem.ts +665 -0
- package/typechain-types/ActionMisc.ts +105 -0
- package/typechain-types/ActionSwapPT.ts +515 -0
- package/typechain-types/ActionSwapYT.ts +515 -0
- package/typechain-types/ActionYT.ts +5 -4
- package/typechain-types/BoringOwnable.ts +194 -0
- package/typechain-types/BoringOwnableData.ts +100 -0
- package/typechain-types/BoringOwnableUpgradeable.ts +194 -0
- package/typechain-types/BoringOwnableUpgradeableData.ts +100 -0
- package/typechain-types/CelerReceiverUpg.ts +124 -19
- package/typechain-types/CelerSenderUpg.ts +116 -11
- package/typechain-types/IBenQiComptroller.ts +39 -0
- package/typechain-types/IPActionAddRemoveLiq.ts +1018 -0
- package/typechain-types/IPActionCore.ts +21 -20
- package/typechain-types/IPActionMintRedeem.ts +646 -0
- package/typechain-types/IPActionMisc.ts +105 -0
- package/typechain-types/IPActionSwapPT.ts +496 -0
- package/typechain-types/IPActionSwapYT.ts +496 -0
- package/typechain-types/IPActionYT.ts +5 -4
- package/typechain-types/IPAllAction.ts +431 -193
- package/typechain-types/IPGauge.ts +87 -0
- package/typechain-types/IPMarket.ts +133 -50
- package/typechain-types/IPMarketFactory.ts +7 -17
- package/typechain-types/IPVeToken.ts +8 -8
- package/typechain-types/IPVotingController.ts +0 -20
- package/typechain-types/IPYieldToken.ts +3 -3
- package/typechain-types/IRewardManager.ts +3 -3
- package/typechain-types/MarketMathStatic.ts +198 -0
- package/typechain-types/OracleLib.ts +124 -0
- package/typechain-types/PendleGaugeControllerBaseUpg.ts +118 -15
- package/typechain-types/PendleGaugeControllerMainchainUpg.ts +136 -9
- package/typechain-types/PendleGaugeControllerSidechainUpg.ts +138 -11
- package/typechain-types/PendleMarket.ts +178 -59
- package/typechain-types/PendleMarketFactory.ts +135 -61
- package/typechain-types/PendleRouter.ts +201 -31
- package/typechain-types/PendleVotingControllerUpg.ts +325 -149
- package/typechain-types/PendleYieldContractFactory.ts +144 -21
- package/typechain-types/RouterStatic.ts +344 -64
- package/typechain-types/VotingControllerStorageUpg.ts +182 -113
- package/typechain-types/VotingEscrowPendleMainchain.ts +170 -63
- package/typechain-types/VotingEscrowPendleSidechain.ts +163 -17
- package/typechain-types/VotingEscrowTokenBase.ts +27 -8
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1083 -0
- package/typechain-types/factories/ActionBaseMintRedeem__factory.ts +43 -0
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionCore__factory.ts +6 -6
- package/typechain-types/factories/ActionMintRedeem__factory.ts +680 -0
- package/typechain-types/factories/ActionMisc__factory.ts +85 -0
- package/typechain-types/factories/ActionSwapPT__factory.ts +514 -0
- package/typechain-types/factories/ActionSwapYT__factory.ts +514 -0
- package/typechain-types/factories/ActionYT__factory.ts +2 -2
- package/typechain-types/factories/BoringOwnableData__factory.ts +90 -0
- package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +96 -0
- package/typechain-types/factories/BoringOwnableUpgradeable__factory.ts +143 -0
- package/typechain-types/factories/BoringOwnable__factory.ts +141 -0
- package/typechain-types/factories/CelerReceiverUpg__factory.ts +67 -5
- package/typechain-types/factories/CelerSenderUpg__factory.ts +63 -1
- package/typechain-types/factories/IBenQiComptroller__factory.ts +24 -0
- package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +1020 -0
- package/typechain-types/factories/IPActionCore__factory.ts +5 -5
- package/typechain-types/factories/IPActionMintRedeem__factory.ts +613 -0
- package/typechain-types/factories/IPActionMisc__factory.ts +47 -0
- package/typechain-types/factories/IPActionSwapPT__factory.ts +450 -0
- package/typechain-types/factories/IPActionSwapYT__factory.ts +450 -0
- package/typechain-types/factories/IPActionYT__factory.ts +1 -1
- package/typechain-types/factories/IPAllAction__factory.ts +323 -47
- package/typechain-types/factories/IPGauge__factory.ts +36 -0
- package/typechain-types/factories/IPMarketFactory__factory.ts +0 -11
- package/typechain-types/factories/IPMarket__factory.ts +72 -29
- package/typechain-types/factories/IPVeToken__factory.ts +1 -1
- package/typechain-types/factories/IPVotingController__factory.ts +0 -37
- package/typechain-types/factories/IPYieldToken__factory.ts +1 -1
- package/typechain-types/factories/IRewardManager__factory.ts +1 -1
- package/typechain-types/factories/MarketMathStatic__factory.ts +146 -0
- package/typechain-types/factories/OracleLib__factory.ts +124 -0
- package/typechain-types/factories/PendleAaveV3SCY__factory.ts +1 -1
- package/typechain-types/factories/PendleERC4626SCY__factory.ts +1 -1
- package/typechain-types/factories/PendleEulerSCY__factory.ts +10 -1
- package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +65 -3
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +73 -13
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +79 -23
- package/typechain-types/factories/PendleMarketFactory__factory.ts +84 -86
- package/typechain-types/factories/PendleMarket__factory.ts +131 -37
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/PendleQiSAvaxSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleRouter__factory.ts +141 -22
- package/typechain-types/factories/PendleSAvaxSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleSJoeSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleStargateSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +203 -129
- package/typechain-types/factories/PendleWstEthSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleYearnVaultSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +97 -72
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
- package/typechain-types/factories/RouterStatic__factory.ts +233 -39
- package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +126 -72
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +93 -41
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +90 -17
- package/typechain-types/factories/VotingEscrowTokenBase__factory.ts +14 -1
- package/typechain-types/hardhat.d.ts +162 -0
- package/typechain-types/index.ts +36 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol/PendleYearnVaultSCY.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.json +0 -1801
- package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.json +0 -447
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.json +0 -24
- package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +0 -874
- package/contracts/core/actions/ActionCore.sol +0 -382
- package/contracts/core/actions/ActionYT.sol +0 -93
- package/contracts/core/actions/base/ActionSCYAndPTBase.sol +0 -303
- package/contracts/interfaces/IPActionCore.sol +0 -306
- package/contracts/interfaces/IPRouterStatic.sol +0 -152
- package/deployments/43113-markets/benqi-market-599408.json +0 -7
- package/deployments/43113-markets/benqi-market-93bbf0.json +0 -7
- package/deployments/43113-markets/benqi-market-95E744.json +0 -7
- package/deployments/43113-markets/benqi-market-D91a3F.json +0 -7
- package/deployments/80001-markets/benqi-market-007811.json +0 -7
- package/deployments/80001-markets/benqi-market-3fe528.json +0 -7
- package/typechain-types/FeeDistributorAbstract.ts +0 -164
- package/typechain-types/IPVotingControllerStorage.ts +0 -169
- package/typechain-types/factories/FeeDistributorAbstract__factory.ts +0 -90
- package/typechain-types/factories/IPVotingControllerStorage__factory.ts +0 -107
|
@@ -27,19 +27,19 @@
|
|
|
27
27
|
{
|
|
28
28
|
"indexed": false,
|
|
29
29
|
"internalType": "uint256",
|
|
30
|
-
"name": "
|
|
30
|
+
"name": "netScyUsed",
|
|
31
31
|
"type": "uint256"
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
"indexed": false,
|
|
35
35
|
"internalType": "uint256",
|
|
36
|
-
"name": "
|
|
36
|
+
"name": "netPtUsed",
|
|
37
37
|
"type": "uint256"
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
"indexed": false,
|
|
41
41
|
"internalType": "uint256",
|
|
42
|
-
"name": "
|
|
42
|
+
"name": "netLpOut",
|
|
43
43
|
"type": "uint256"
|
|
44
44
|
}
|
|
45
45
|
],
|
|
@@ -82,19 +82,136 @@
|
|
|
82
82
|
{
|
|
83
83
|
"indexed": false,
|
|
84
84
|
"internalType": "uint256",
|
|
85
|
-
"name": "
|
|
85
|
+
"name": "netPtUsed",
|
|
86
86
|
"type": "uint256"
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
"indexed": false,
|
|
90
90
|
"internalType": "uint256",
|
|
91
|
-
"name": "
|
|
91
|
+
"name": "netLpOut",
|
|
92
92
|
"type": "uint256"
|
|
93
93
|
}
|
|
94
94
|
],
|
|
95
95
|
"name": "AddLiquidityDualTokenAndPt",
|
|
96
96
|
"type": "event"
|
|
97
97
|
},
|
|
98
|
+
{
|
|
99
|
+
"anonymous": false,
|
|
100
|
+
"inputs": [
|
|
101
|
+
{
|
|
102
|
+
"indexed": true,
|
|
103
|
+
"internalType": "address",
|
|
104
|
+
"name": "caller",
|
|
105
|
+
"type": "address"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"indexed": true,
|
|
109
|
+
"internalType": "address",
|
|
110
|
+
"name": "market",
|
|
111
|
+
"type": "address"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"indexed": true,
|
|
115
|
+
"internalType": "address",
|
|
116
|
+
"name": "receiver",
|
|
117
|
+
"type": "address"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"indexed": false,
|
|
121
|
+
"internalType": "uint256",
|
|
122
|
+
"name": "netPtIn",
|
|
123
|
+
"type": "uint256"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"indexed": false,
|
|
127
|
+
"internalType": "uint256",
|
|
128
|
+
"name": "netLpOut",
|
|
129
|
+
"type": "uint256"
|
|
130
|
+
}
|
|
131
|
+
],
|
|
132
|
+
"name": "AddLiquiditySinglePt",
|
|
133
|
+
"type": "event"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"anonymous": false,
|
|
137
|
+
"inputs": [
|
|
138
|
+
{
|
|
139
|
+
"indexed": true,
|
|
140
|
+
"internalType": "address",
|
|
141
|
+
"name": "caller",
|
|
142
|
+
"type": "address"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"indexed": true,
|
|
146
|
+
"internalType": "address",
|
|
147
|
+
"name": "market",
|
|
148
|
+
"type": "address"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"indexed": true,
|
|
152
|
+
"internalType": "address",
|
|
153
|
+
"name": "receiver",
|
|
154
|
+
"type": "address"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"indexed": false,
|
|
158
|
+
"internalType": "uint256",
|
|
159
|
+
"name": "netScyIn",
|
|
160
|
+
"type": "uint256"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"indexed": false,
|
|
164
|
+
"internalType": "uint256",
|
|
165
|
+
"name": "netLpOut",
|
|
166
|
+
"type": "uint256"
|
|
167
|
+
}
|
|
168
|
+
],
|
|
169
|
+
"name": "AddLiquiditySingleScy",
|
|
170
|
+
"type": "event"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"anonymous": false,
|
|
174
|
+
"inputs": [
|
|
175
|
+
{
|
|
176
|
+
"indexed": true,
|
|
177
|
+
"internalType": "address",
|
|
178
|
+
"name": "caller",
|
|
179
|
+
"type": "address"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"indexed": true,
|
|
183
|
+
"internalType": "address",
|
|
184
|
+
"name": "market",
|
|
185
|
+
"type": "address"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"indexed": true,
|
|
189
|
+
"internalType": "address",
|
|
190
|
+
"name": "token",
|
|
191
|
+
"type": "address"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"indexed": false,
|
|
195
|
+
"internalType": "address",
|
|
196
|
+
"name": "receiver",
|
|
197
|
+
"type": "address"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"indexed": false,
|
|
201
|
+
"internalType": "uint256",
|
|
202
|
+
"name": "netTokenIn",
|
|
203
|
+
"type": "uint256"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"indexed": false,
|
|
207
|
+
"internalType": "uint256",
|
|
208
|
+
"name": "netLpOut",
|
|
209
|
+
"type": "uint256"
|
|
210
|
+
}
|
|
211
|
+
],
|
|
212
|
+
"name": "AddLiquiditySingleToken",
|
|
213
|
+
"type": "event"
|
|
214
|
+
},
|
|
98
215
|
{
|
|
99
216
|
"anonymous": false,
|
|
100
217
|
"inputs": [
|
|
@@ -356,8 +473,51 @@
|
|
|
356
473
|
"name": "market",
|
|
357
474
|
"type": "address"
|
|
358
475
|
},
|
|
476
|
+
{
|
|
477
|
+
"indexed": true,
|
|
478
|
+
"internalType": "address",
|
|
479
|
+
"name": "receiver",
|
|
480
|
+
"type": "address"
|
|
481
|
+
},
|
|
359
482
|
{
|
|
360
483
|
"indexed": false,
|
|
484
|
+
"internalType": "uint256",
|
|
485
|
+
"name": "netLpToRemove",
|
|
486
|
+
"type": "uint256"
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"indexed": false,
|
|
490
|
+
"internalType": "uint256",
|
|
491
|
+
"name": "netPtOut",
|
|
492
|
+
"type": "uint256"
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"indexed": false,
|
|
496
|
+
"internalType": "uint256",
|
|
497
|
+
"name": "netScyOut",
|
|
498
|
+
"type": "uint256"
|
|
499
|
+
}
|
|
500
|
+
],
|
|
501
|
+
"name": "RemoveLiquidityDualScyAndPt",
|
|
502
|
+
"type": "event"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"anonymous": false,
|
|
506
|
+
"inputs": [
|
|
507
|
+
{
|
|
508
|
+
"indexed": true,
|
|
509
|
+
"internalType": "address",
|
|
510
|
+
"name": "caller",
|
|
511
|
+
"type": "address"
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"indexed": true,
|
|
515
|
+
"internalType": "address",
|
|
516
|
+
"name": "market",
|
|
517
|
+
"type": "address"
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"indexed": true,
|
|
361
521
|
"internalType": "address",
|
|
362
522
|
"name": "receiver",
|
|
363
523
|
"type": "address"
|
|
@@ -365,23 +525,29 @@
|
|
|
365
525
|
{
|
|
366
526
|
"indexed": false,
|
|
367
527
|
"internalType": "uint256",
|
|
368
|
-
"name": "
|
|
528
|
+
"name": "netLpToRemove",
|
|
369
529
|
"type": "uint256"
|
|
370
530
|
},
|
|
371
531
|
{
|
|
372
532
|
"indexed": false,
|
|
373
533
|
"internalType": "uint256",
|
|
374
|
-
"name": "
|
|
534
|
+
"name": "netPtOut",
|
|
375
535
|
"type": "uint256"
|
|
376
536
|
},
|
|
537
|
+
{
|
|
538
|
+
"indexed": false,
|
|
539
|
+
"internalType": "address",
|
|
540
|
+
"name": "tokenOut",
|
|
541
|
+
"type": "address"
|
|
542
|
+
},
|
|
377
543
|
{
|
|
378
544
|
"indexed": false,
|
|
379
545
|
"internalType": "uint256",
|
|
380
|
-
"name": "
|
|
546
|
+
"name": "netTokenOut",
|
|
381
547
|
"type": "uint256"
|
|
382
548
|
}
|
|
383
549
|
],
|
|
384
|
-
"name": "
|
|
550
|
+
"name": "RemoveLiquidityDualTokenAndPt",
|
|
385
551
|
"type": "event"
|
|
386
552
|
},
|
|
387
553
|
{
|
|
@@ -399,8 +565,45 @@
|
|
|
399
565
|
"name": "market",
|
|
400
566
|
"type": "address"
|
|
401
567
|
},
|
|
568
|
+
{
|
|
569
|
+
"indexed": true,
|
|
570
|
+
"internalType": "address",
|
|
571
|
+
"name": "receiver",
|
|
572
|
+
"type": "address"
|
|
573
|
+
},
|
|
402
574
|
{
|
|
403
575
|
"indexed": false,
|
|
576
|
+
"internalType": "uint256",
|
|
577
|
+
"name": "netLpToRemove",
|
|
578
|
+
"type": "uint256"
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
"indexed": false,
|
|
582
|
+
"internalType": "uint256",
|
|
583
|
+
"name": "netPtOut",
|
|
584
|
+
"type": "uint256"
|
|
585
|
+
}
|
|
586
|
+
],
|
|
587
|
+
"name": "RemoveLiquiditySinglePt",
|
|
588
|
+
"type": "event"
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"anonymous": false,
|
|
592
|
+
"inputs": [
|
|
593
|
+
{
|
|
594
|
+
"indexed": true,
|
|
595
|
+
"internalType": "address",
|
|
596
|
+
"name": "caller",
|
|
597
|
+
"type": "address"
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"indexed": true,
|
|
601
|
+
"internalType": "address",
|
|
602
|
+
"name": "market",
|
|
603
|
+
"type": "address"
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
"indexed": true,
|
|
404
607
|
"internalType": "address",
|
|
405
608
|
"name": "receiver",
|
|
406
609
|
"type": "address"
|
|
@@ -408,23 +611,60 @@
|
|
|
408
611
|
{
|
|
409
612
|
"indexed": false,
|
|
410
613
|
"internalType": "uint256",
|
|
411
|
-
"name": "
|
|
614
|
+
"name": "netLpToRemove",
|
|
412
615
|
"type": "uint256"
|
|
413
616
|
},
|
|
414
617
|
{
|
|
415
618
|
"indexed": false,
|
|
416
619
|
"internalType": "uint256",
|
|
417
|
-
"name": "
|
|
620
|
+
"name": "netScyOut",
|
|
418
621
|
"type": "uint256"
|
|
622
|
+
}
|
|
623
|
+
],
|
|
624
|
+
"name": "RemoveLiquiditySingleScy",
|
|
625
|
+
"type": "event"
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"anonymous": false,
|
|
629
|
+
"inputs": [
|
|
630
|
+
{
|
|
631
|
+
"indexed": true,
|
|
632
|
+
"internalType": "address",
|
|
633
|
+
"name": "caller",
|
|
634
|
+
"type": "address"
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
"indexed": true,
|
|
638
|
+
"internalType": "address",
|
|
639
|
+
"name": "market",
|
|
640
|
+
"type": "address"
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"indexed": true,
|
|
644
|
+
"internalType": "address",
|
|
645
|
+
"name": "token",
|
|
646
|
+
"type": "address"
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"indexed": false,
|
|
650
|
+
"internalType": "address",
|
|
651
|
+
"name": "receiver",
|
|
652
|
+
"type": "address"
|
|
419
653
|
},
|
|
420
654
|
{
|
|
421
655
|
"indexed": false,
|
|
422
656
|
"internalType": "uint256",
|
|
423
|
-
"name": "
|
|
657
|
+
"name": "netLpToRemove",
|
|
658
|
+
"type": "uint256"
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"indexed": false,
|
|
662
|
+
"internalType": "uint256",
|
|
663
|
+
"name": "netTokenOut",
|
|
424
664
|
"type": "uint256"
|
|
425
665
|
}
|
|
426
666
|
],
|
|
427
|
-
"name": "
|
|
667
|
+
"name": "RemoveLiquiditySingleToken",
|
|
428
668
|
"type": "event"
|
|
429
669
|
},
|
|
430
670
|
{
|
|
@@ -451,13 +691,13 @@
|
|
|
451
691
|
{
|
|
452
692
|
"indexed": false,
|
|
453
693
|
"internalType": "int256",
|
|
454
|
-
"name": "
|
|
694
|
+
"name": "netPtToAccount",
|
|
455
695
|
"type": "int256"
|
|
456
696
|
},
|
|
457
697
|
{
|
|
458
698
|
"indexed": false,
|
|
459
699
|
"internalType": "int256",
|
|
460
|
-
"name": "
|
|
700
|
+
"name": "netScyToAccount",
|
|
461
701
|
"type": "int256"
|
|
462
702
|
}
|
|
463
703
|
],
|
|
@@ -494,13 +734,13 @@
|
|
|
494
734
|
{
|
|
495
735
|
"indexed": false,
|
|
496
736
|
"internalType": "int256",
|
|
497
|
-
"name": "
|
|
737
|
+
"name": "netPtToAccount",
|
|
498
738
|
"type": "int256"
|
|
499
739
|
},
|
|
500
740
|
{
|
|
501
741
|
"indexed": false,
|
|
502
742
|
"internalType": "int256",
|
|
503
|
-
"name": "
|
|
743
|
+
"name": "netTokenToAccount",
|
|
504
744
|
"type": "int256"
|
|
505
745
|
}
|
|
506
746
|
],
|
|
@@ -513,7 +753,7 @@
|
|
|
513
753
|
{
|
|
514
754
|
"indexed": true,
|
|
515
755
|
"internalType": "address",
|
|
516
|
-
"name": "
|
|
756
|
+
"name": "caller",
|
|
517
757
|
"type": "address"
|
|
518
758
|
},
|
|
519
759
|
{
|
|
@@ -522,20 +762,26 @@
|
|
|
522
762
|
"name": "market",
|
|
523
763
|
"type": "address"
|
|
524
764
|
},
|
|
765
|
+
{
|
|
766
|
+
"indexed": true,
|
|
767
|
+
"internalType": "address",
|
|
768
|
+
"name": "receiver",
|
|
769
|
+
"type": "address"
|
|
770
|
+
},
|
|
525
771
|
{
|
|
526
772
|
"indexed": false,
|
|
527
773
|
"internalType": "int256",
|
|
528
|
-
"name": "
|
|
774
|
+
"name": "netYtToAccount",
|
|
529
775
|
"type": "int256"
|
|
530
776
|
},
|
|
531
777
|
{
|
|
532
778
|
"indexed": false,
|
|
533
779
|
"internalType": "int256",
|
|
534
|
-
"name": "
|
|
780
|
+
"name": "netScyToAccount",
|
|
535
781
|
"type": "int256"
|
|
536
782
|
}
|
|
537
783
|
],
|
|
538
|
-
"name": "
|
|
784
|
+
"name": "SwapYtAndScy",
|
|
539
785
|
"type": "event"
|
|
540
786
|
},
|
|
541
787
|
{
|
|
@@ -544,7 +790,7 @@
|
|
|
544
790
|
{
|
|
545
791
|
"indexed": true,
|
|
546
792
|
"internalType": "address",
|
|
547
|
-
"name": "
|
|
793
|
+
"name": "caller",
|
|
548
794
|
"type": "address"
|
|
549
795
|
},
|
|
550
796
|
{
|
|
@@ -559,20 +805,26 @@
|
|
|
559
805
|
"name": "token",
|
|
560
806
|
"type": "address"
|
|
561
807
|
},
|
|
808
|
+
{
|
|
809
|
+
"indexed": false,
|
|
810
|
+
"internalType": "address",
|
|
811
|
+
"name": "receiver",
|
|
812
|
+
"type": "address"
|
|
813
|
+
},
|
|
562
814
|
{
|
|
563
815
|
"indexed": false,
|
|
564
816
|
"internalType": "int256",
|
|
565
|
-
"name": "
|
|
817
|
+
"name": "netYtToAccount",
|
|
566
818
|
"type": "int256"
|
|
567
819
|
},
|
|
568
820
|
{
|
|
569
821
|
"indexed": false,
|
|
570
822
|
"internalType": "int256",
|
|
571
|
-
"name": "
|
|
823
|
+
"name": "netTokenToAccount",
|
|
572
824
|
"type": "int256"
|
|
573
825
|
}
|
|
574
826
|
],
|
|
575
|
-
"name": "
|
|
827
|
+
"name": "SwapYtAndToken",
|
|
576
828
|
"type": "event"
|
|
577
829
|
},
|
|
578
830
|
{
|
|
@@ -589,12 +841,12 @@
|
|
|
589
841
|
},
|
|
590
842
|
{
|
|
591
843
|
"internalType": "uint256",
|
|
592
|
-
"name": "
|
|
844
|
+
"name": "netScyDesired",
|
|
593
845
|
"type": "uint256"
|
|
594
846
|
},
|
|
595
847
|
{
|
|
596
848
|
"internalType": "uint256",
|
|
597
|
-
"name": "
|
|
849
|
+
"name": "netPtDesired",
|
|
598
850
|
"type": "uint256"
|
|
599
851
|
},
|
|
600
852
|
{
|
|
@@ -617,7 +869,7 @@
|
|
|
617
869
|
},
|
|
618
870
|
{
|
|
619
871
|
"internalType": "uint256",
|
|
620
|
-
"name": "
|
|
872
|
+
"name": "netPtUsed",
|
|
621
873
|
"type": "uint256"
|
|
622
874
|
}
|
|
623
875
|
],
|
|
@@ -643,12 +895,12 @@
|
|
|
643
895
|
},
|
|
644
896
|
{
|
|
645
897
|
"internalType": "uint256",
|
|
646
|
-
"name": "
|
|
898
|
+
"name": "netTokenDesired",
|
|
647
899
|
"type": "uint256"
|
|
648
900
|
},
|
|
649
901
|
{
|
|
650
902
|
"internalType": "uint256",
|
|
651
|
-
"name": "
|
|
903
|
+
"name": "netPtDesired",
|
|
652
904
|
"type": "uint256"
|
|
653
905
|
},
|
|
654
906
|
{
|
|
@@ -666,16 +918,16 @@
|
|
|
666
918
|
},
|
|
667
919
|
{
|
|
668
920
|
"internalType": "uint256",
|
|
669
|
-
"name": "
|
|
921
|
+
"name": "netTokenUsed",
|
|
670
922
|
"type": "uint256"
|
|
671
923
|
},
|
|
672
924
|
{
|
|
673
925
|
"internalType": "uint256",
|
|
674
|
-
"name": "
|
|
926
|
+
"name": "netPtUsed",
|
|
675
927
|
"type": "uint256"
|
|
676
928
|
}
|
|
677
929
|
],
|
|
678
|
-
"stateMutability": "
|
|
930
|
+
"stateMutability": "payable",
|
|
679
931
|
"type": "function"
|
|
680
932
|
},
|
|
681
933
|
{
|
|
@@ -895,7 +1147,31 @@
|
|
|
895
1147
|
"type": "uint256"
|
|
896
1148
|
}
|
|
897
1149
|
],
|
|
898
|
-
"stateMutability": "
|
|
1150
|
+
"stateMutability": "payable",
|
|
1151
|
+
"type": "function"
|
|
1152
|
+
},
|
|
1153
|
+
{
|
|
1154
|
+
"inputs": [
|
|
1155
|
+
{
|
|
1156
|
+
"internalType": "address",
|
|
1157
|
+
"name": "market",
|
|
1158
|
+
"type": "address"
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
"internalType": "uint32",
|
|
1162
|
+
"name": "secondsAgo",
|
|
1163
|
+
"type": "uint32"
|
|
1164
|
+
}
|
|
1165
|
+
],
|
|
1166
|
+
"name": "consult",
|
|
1167
|
+
"outputs": [
|
|
1168
|
+
{
|
|
1169
|
+
"internalType": "uint96",
|
|
1170
|
+
"name": "lnImpliedRateMean",
|
|
1171
|
+
"type": "uint96"
|
|
1172
|
+
}
|
|
1173
|
+
],
|
|
1174
|
+
"stateMutability": "view",
|
|
899
1175
|
"type": "function"
|
|
900
1176
|
},
|
|
901
1177
|
{
|
|
@@ -985,7 +1261,7 @@
|
|
|
985
1261
|
"type": "uint256"
|
|
986
1262
|
}
|
|
987
1263
|
],
|
|
988
|
-
"stateMutability": "
|
|
1264
|
+
"stateMutability": "payable",
|
|
989
1265
|
"type": "function"
|
|
990
1266
|
},
|
|
991
1267
|
{
|
|
@@ -1041,7 +1317,7 @@
|
|
|
1041
1317
|
"type": "uint256"
|
|
1042
1318
|
}
|
|
1043
1319
|
],
|
|
1044
|
-
"stateMutability": "
|
|
1320
|
+
"stateMutability": "payable",
|
|
1045
1321
|
"type": "function"
|
|
1046
1322
|
},
|
|
1047
1323
|
{
|
|
@@ -1253,17 +1529,17 @@
|
|
|
1253
1529
|
},
|
|
1254
1530
|
{
|
|
1255
1531
|
"internalType": "uint256",
|
|
1256
|
-
"name": "
|
|
1532
|
+
"name": "netLpToRemove",
|
|
1257
1533
|
"type": "uint256"
|
|
1258
1534
|
},
|
|
1259
1535
|
{
|
|
1260
1536
|
"internalType": "uint256",
|
|
1261
|
-
"name": "
|
|
1537
|
+
"name": "minScyOut",
|
|
1262
1538
|
"type": "uint256"
|
|
1263
1539
|
},
|
|
1264
1540
|
{
|
|
1265
1541
|
"internalType": "uint256",
|
|
1266
|
-
"name": "
|
|
1542
|
+
"name": "minPtOut",
|
|
1267
1543
|
"type": "uint256"
|
|
1268
1544
|
}
|
|
1269
1545
|
],
|
|
@@ -1297,7 +1573,7 @@
|
|
|
1297
1573
|
},
|
|
1298
1574
|
{
|
|
1299
1575
|
"internalType": "uint256",
|
|
1300
|
-
"name": "
|
|
1576
|
+
"name": "netLpToRemove",
|
|
1301
1577
|
"type": "uint256"
|
|
1302
1578
|
},
|
|
1303
1579
|
{
|
|
@@ -1307,12 +1583,12 @@
|
|
|
1307
1583
|
},
|
|
1308
1584
|
{
|
|
1309
1585
|
"internalType": "uint256",
|
|
1310
|
-
"name": "
|
|
1586
|
+
"name": "minTokenOut",
|
|
1311
1587
|
"type": "uint256"
|
|
1312
1588
|
},
|
|
1313
1589
|
{
|
|
1314
1590
|
"internalType": "uint256",
|
|
1315
|
-
"name": "
|
|
1591
|
+
"name": "minPtOut",
|
|
1316
1592
|
"type": "uint256"
|
|
1317
1593
|
}
|
|
1318
1594
|
],
|
|
@@ -1346,7 +1622,7 @@
|
|
|
1346
1622
|
},
|
|
1347
1623
|
{
|
|
1348
1624
|
"internalType": "uint256",
|
|
1349
|
-
"name": "
|
|
1625
|
+
"name": "netLpToRemove",
|
|
1350
1626
|
"type": "uint256"
|
|
1351
1627
|
},
|
|
1352
1628
|
{
|
|
@@ -1412,7 +1688,7 @@
|
|
|
1412
1688
|
},
|
|
1413
1689
|
{
|
|
1414
1690
|
"internalType": "uint256",
|
|
1415
|
-
"name": "
|
|
1691
|
+
"name": "netLpToRemove",
|
|
1416
1692
|
"type": "uint256"
|
|
1417
1693
|
},
|
|
1418
1694
|
{
|
|
@@ -1446,7 +1722,7 @@
|
|
|
1446
1722
|
},
|
|
1447
1723
|
{
|
|
1448
1724
|
"internalType": "uint256",
|
|
1449
|
-
"name": "
|
|
1725
|
+
"name": "netLpToRemove",
|
|
1450
1726
|
"type": "uint256"
|
|
1451
1727
|
},
|
|
1452
1728
|
{
|
|
@@ -1795,7 +2071,7 @@
|
|
|
1795
2071
|
"type": "uint256"
|
|
1796
2072
|
}
|
|
1797
2073
|
],
|
|
1798
|
-
"stateMutability": "
|
|
2074
|
+
"stateMutability": "payable",
|
|
1799
2075
|
"type": "function"
|
|
1800
2076
|
},
|
|
1801
2077
|
{
|
|
@@ -1883,7 +2159,7 @@
|
|
|
1883
2159
|
"type": "uint256"
|
|
1884
2160
|
}
|
|
1885
2161
|
],
|
|
1886
|
-
"stateMutability": "
|
|
2162
|
+
"stateMutability": "payable",
|
|
1887
2163
|
"type": "function"
|
|
1888
2164
|
},
|
|
1889
2165
|
{
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "
|
|
4
|
-
"sourceName": "contracts/
|
|
3
|
+
"contractName": "IPGauge",
|
|
4
|
+
"sourceName": "contracts/interfaces/IPGauge.sol",
|
|
5
5
|
"abi": [
|
|
6
6
|
{
|
|
7
7
|
"inputs": [],
|
|
8
|
-
"name": "
|
|
8
|
+
"name": "totalActiveSupply",
|
|
9
9
|
"outputs": [
|
|
10
10
|
{
|
|
11
|
-
"internalType": "
|
|
11
|
+
"internalType": "uint256",
|
|
12
12
|
"name": "",
|
|
13
|
-
"type": "
|
|
13
|
+
"type": "uint256"
|
|
14
14
|
}
|
|
15
15
|
],
|
|
16
16
|
"stateMutability": "view",
|