@pendle/core-v2 0.13.1-testnet → 0.14.0-testnet
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +89 -0
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +91 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +91 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +26 -26
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +4 -0
- package/build/artifacts/contracts/core/{SuperComposableYield → StandardizedYield}/PYIndex.sol/PYIndexLib.json +3 -3
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +4 -0
- package/build/artifacts/contracts/core/{SuperComposableYield/SCYBase.sol/SCYBase.json → StandardizedYield/SYBase.sol/SYBase.json} +11 -11
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +4 -0
- package/build/artifacts/contracts/core/{SuperComposableYield/SCYBaseWithRewards.sol/SCYBaseWithRewards.json → StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.json} +11 -11
- package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +4 -0
- package/build/artifacts/contracts/core/{SuperComposableYield/SCYUtils.sol/SCYUtils.json → StandardizedYield/SYUtils.sol/SYUtils.json} +4 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/{SuperComposableYield → StandardizedYield}/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +3 -3
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/{SuperComposableYield/implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.json → StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json} +17 -17
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol/Pendle3CrvAndTokenSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol/Pendle3CrvAndTokenSY.json +1028 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/{SuperComposableYield/implementations/Convex/ConvexCurveLP/PendleConvexCurveLPSCY.sol/PendleConvexCurveLPSCY.json → StandardizedYield/implementations/Convex/ConvexCurveLP/PendleConvexLPSY.sol/PendleConvexLPSY.json} +47 -47
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/{SuperComposableYield → StandardizedYield}/implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.json +5 -5
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/{SuperComposableYield/implementations/PendleWstEthSCY.sol/PendleWstEthSCY.json → StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json} +13 -13
- 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 +4 -4
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +4 -4
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +24 -24
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +28 -28
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +30 -30
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +34 -34
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.json +20 -20
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.json +2 -2
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +20 -20
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +106 -106
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +18 -18
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.json +3 -3
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +6 -6
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{ISuperComposableYield.sol/ISuperComposableYield.json → IStandardizedYield.sol/IStandardizedYield.json} +5 -5
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +7 -7
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +116 -116
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +35 -35
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.json +12 -12
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +41 -41
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +28 -28
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +4 -4
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +22 -22
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
- package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol +96 -27
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol +40 -12
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol +24 -5
- package/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol +133 -0
- package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +33 -0
- package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +8 -1
- package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +3 -3
- package/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol +2 -7
- package/contracts/core/Market/MarketMathCore.sol +50 -53
- package/contracts/core/Market/PendleGauge.sol +8 -8
- package/contracts/core/Market/PendleMarket.sol +49 -49
- package/contracts/core/Market/PendleMarketFactory.sol +1 -1
- package/contracts/core/RewardManager/RewardManager.sol +1 -1
- package/contracts/core/{SuperComposableYield → StandardizedYield}/PYIndex.sol +16 -16
- package/contracts/core/{SuperComposableYield/SCYBase.sol → StandardizedYield/SYBase.sol} +17 -17
- package/contracts/core/{SuperComposableYield/SCYBaseWithRewards.sol → StandardizedYield/SYBaseWithRewards.sol} +9 -9
- package/contracts/core/StandardizedYield/SYUtils.sol +26 -0
- package/contracts/core/{SuperComposableYield → StandardizedYield}/implementations/BenQi/PendleQiTokenHelper.sol +1 -1
- package/contracts/core/{SuperComposableYield/implementations/BenQi/PendleQiTokenSCY.sol → StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol} +10 -10
- package/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol +167 -0
- package/contracts/core/{SuperComposableYield/implementations/Convex/ConvexCurveLP/PendleConvexCurveLPSCY.sol → StandardizedYield/implementations/Convex/ConvexCurveLP/PendleConvexLPSY.sol} +51 -70
- package/contracts/core/{SuperComposableYield → StandardizedYield}/implementations/Convex/Pendle3CrvHelper.sol +7 -7
- package/contracts/core/{SuperComposableYield/implementations/PendleWstEthSCY.sol → StandardizedYield/implementations/PendleWstEthSY.sol} +5 -5
- package/contracts/core/YieldContracts/InterestManagerYT.sol +7 -7
- package/contracts/core/YieldContracts/PendlePrincipalToken.sol +3 -3
- package/contracts/core/YieldContracts/PendleYieldContractFactory.sol +15 -15
- package/contracts/core/YieldContracts/PendleYieldToken.sol +71 -71
- package/contracts/core/libraries/Errors.sol +23 -21
- package/contracts/core/libraries/TokenHelper.sol +0 -33
- package/contracts/interfaces/Curve/ICrvPool.sol +2 -0
- package/contracts/interfaces/ILayerZeroEndpoint.sol +39 -0
- package/contracts/interfaces/ILayerZeroReceiver.sol +12 -0
- package/contracts/interfaces/IPActionAddRemoveLiq.sol +27 -27
- package/contracts/interfaces/IPActionMintRedeem.sol +30 -30
- package/contracts/interfaces/IPActionSwapPT.sol +16 -16
- package/contracts/interfaces/IPActionSwapPTYT.sol +2 -2
- package/contracts/interfaces/IPActionSwapYT.sol +16 -16
- package/contracts/interfaces/IPMarket.sol +14 -19
- package/contracts/interfaces/IPMarketSwapCallback.sol +1 -1
- package/contracts/interfaces/IPMsgSendEndpoint.sol +4 -2
- package/contracts/interfaces/IPPrincipalToken.sol +1 -1
- package/contracts/interfaces/IPYieldContractFactory.sol +3 -3
- package/contracts/interfaces/IPYieldToken.sol +7 -9
- package/contracts/interfaces/{ISuperComposableYield.sol → IStandardizedYield.sol} +6 -6
- package/contracts/offchain-helpers/MarketMathStatic.sol +116 -131
- package/contracts/offchain-helpers/RouterStatic.sol +80 -93
- package/contracts/router/ActionAddRemoveLiq.sol +99 -111
- package/contracts/router/ActionCallback.sol +46 -46
- package/contracts/router/ActionMintRedeem.sol +58 -58
- package/contracts/router/ActionSwapPT.sol +61 -69
- package/contracts/router/ActionSwapPTYT.sol +7 -7
- package/contracts/router/ActionSwapYT.sol +72 -79
- package/contracts/router/PendleRouter.sol +16 -16
- package/contracts/router/base/ActionBaseMintRedeem.sol +43 -43
- package/contracts/router/base/CallbackHelper.sol +20 -20
- package/contracts/router/base/MarketApproxLib.sol +166 -143
- package/contracts/router/kyberswap/KyberSwapHelper.sol +2 -2
- package/deployments/43113-core.json +16 -0
- package/{contracts/deployments → deployments}/43113-helper.json +0 -0
- 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/{contracts/deployments → deployments}/43113-testenv.json +0 -0
- package/deployments/80001-core.json +15 -0
- package/{contracts/deployments → deployments}/80001-testenv.json +0 -0
- package/package.json +2 -2
- package/typechain-types/ActionAddRemoveLiq.ts +127 -129
- package/typechain-types/ActionCallback.ts +5 -5
- package/typechain-types/ActionMintRedeem.ts +139 -141
- package/typechain-types/ActionSwapPT.ts +73 -73
- package/typechain-types/ActionSwapPTYT.ts +2 -2
- package/typechain-types/ActionSwapYT.ts +73 -73
- package/typechain-types/IPActionAddRemoveLiq.ts +127 -129
- package/typechain-types/IPActionMintRedeem.ts +139 -141
- package/typechain-types/IPActionSwapPT.ts +73 -73
- package/typechain-types/IPActionSwapPTYT.ts +2 -2
- package/typechain-types/IPActionSwapYT.ts +73 -73
- package/typechain-types/IPAllAction.ts +402 -406
- package/typechain-types/IPMarket.ts +51 -54
- package/typechain-types/IPMarketSwapCallback.ts +5 -5
- package/typechain-types/IPPrincipalToken.ts +8 -8
- package/typechain-types/IPYieldContractFactory.ts +13 -13
- package/typechain-types/IPYieldToken.ts +17 -17
- package/typechain-types/IStandardizedYield.ts +895 -0
- package/typechain-types/MarketMathStatic.ts +27 -27
- package/typechain-types/Pendle3CrvAndTokenSY.ts +1243 -0
- package/typechain-types/Pendle3CrvHelper.ts +13 -13
- package/typechain-types/PendleConvexLPSY.ts +1189 -0
- package/typechain-types/PendleGaugeControllerBaseUpg.ts +125 -0
- package/typechain-types/PendleGaugeControllerMainchainUpg.ts +125 -0
- package/typechain-types/PendleGaugeControllerSidechainUpg.ts +124 -0
- package/typechain-types/PendleMarket.ts +54 -57
- package/typechain-types/PendlePrincipalToken.ts +8 -8
- package/typechain-types/PendleQiTokenSY.ts +1166 -0
- package/typechain-types/PendleWstEthSY.ts +1040 -0
- package/typechain-types/PendleYieldContractFactory.ts +8 -8
- package/typechain-types/PendleYieldToken.ts +41 -44
- package/typechain-types/RouterStatic.ts +196 -196
- package/typechain-types/SYBase.ts +1001 -0
- package/typechain-types/SYBaseWithRewards.ts +1094 -0
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +34 -34
- package/typechain-types/factories/ActionCallback__factory.ts +11 -11
- package/typechain-types/factories/ActionMintRedeem__factory.ts +38 -38
- package/typechain-types/factories/ActionMisc__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTYT__factory.ts +3 -3
- package/typechain-types/factories/ActionSwapPT__factory.ts +27 -27
- package/typechain-types/factories/ActionSwapYT__factory.ts +21 -21
- package/typechain-types/factories/Errors__factory.ts +27 -27
- package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +30 -30
- package/typechain-types/factories/IPActionMintRedeem__factory.ts +34 -34
- package/typechain-types/factories/IPActionSwapPTYT__factory.ts +2 -2
- package/typechain-types/factories/IPActionSwapPT__factory.ts +20 -20
- package/typechain-types/factories/IPActionSwapYT__factory.ts +20 -20
- package/typechain-types/factories/IPAllAction__factory.ts +106 -106
- package/typechain-types/factories/IPMarketSwapCallback__factory.ts +1 -1
- package/typechain-types/factories/IPMarket__factory.ts +18 -18
- package/typechain-types/factories/IPPrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/IPYieldContractFactory__factory.ts +3 -3
- package/typechain-types/factories/IPYieldToken__factory.ts +6 -6
- package/typechain-types/factories/IStandardizedYield__factory.ts +658 -0
- package/typechain-types/factories/MarketMathStatic__factory.ts +6 -6
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/Pendle3CrvAndTokenSY__factory.ts +1124 -0
- package/typechain-types/factories/Pendle3CrvHelper__factory.ts +3 -3
- package/typechain-types/factories/PendleConvexLPSY__factory.ts +963 -0
- package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +89 -0
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +90 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +90 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMarket__factory.ts +21 -21
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +7 -7
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSY__factory.ts +1095 -0
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleWstEthSY__factory.ts +924 -0
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +3 -3
- package/typechain-types/factories/PendleYieldToken__factory.ts +27 -27
- package/typechain-types/factories/RouterStatic__factory.ts +57 -57
- package/typechain-types/factories/SYBaseWithRewards__factory.ts +867 -0
- package/typechain-types/factories/SYBase__factory.ts +795 -0
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +33 -51
- package/typechain-types/index.ts +14 -18
- package/build/artifacts/contracts/core/SuperComposableYield/PYIndex.sol/PYIndexLib.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/SCYBase.sol/SCYBase.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/SCYUtils.sol/SCYUtils.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSCY.sol/Pendle3CrvAndTokenSCY.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSCY.sol/Pendle3CrvAndTokenSCY.json +0 -1030
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/Convex/ConvexCurveLP/PendleConvexCurveLP2PoolSCY.sol/PendleConvexCurveLP2PoolSCY.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/Convex/ConvexCurveLP/PendleConvexCurveLP2PoolSCY.sol/PendleConvexCurveLP2PoolSCY.json +0 -1025
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/Convex/ConvexCurveLP/PendleConvexCurveLPSCY.sol/PendleConvexCurveLPSCY.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.json +0 -190
- package/contracts/core/SuperComposableYield/SCYUtils.sol +0 -34
- package/contracts/core/SuperComposableYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSCY.sol +0 -135
- package/contracts/core/SuperComposableYield/implementations/Convex/ConvexCurveLP/PendleConvexCurveLP2PoolSCY.sol +0 -96
- package/contracts/deployments/43113-core.json +0 -16
- package/contracts/deployments/43113-markets/benqi-market-QI-USDC-FEB-2ND.json +0 -8
- package/contracts/deployments/43113-markets/benqi-market-QI-WETH-DEC-1ST.json +0 -8
- package/contracts/deployments/80001-core.json +0 -15
- package/contracts/deployments/80001-markets/benqi-market-QI-USDC-FEB-2ND.json +0 -8
- package/contracts/deployments/80001-markets/benqi-market-QI-WETH-DEC-1ST.json +0 -8
- package/contracts/interfaces/ICelerMessageBus.sol +0 -28
- package/contracts/interfaces/ICelerMessageReceiverApp.sol +0 -25
- package/contracts/offchain-helpers/ImplicitSwapfeeContract.sol +0 -26
|
@@ -244,7 +244,7 @@
|
|
|
244
244
|
"type": "uint256"
|
|
245
245
|
}
|
|
246
246
|
],
|
|
247
|
-
"name": "
|
|
247
|
+
"name": "MarketInsufficientSyReceived",
|
|
248
248
|
"type": "error"
|
|
249
249
|
},
|
|
250
250
|
{
|
|
@@ -420,16 +420,16 @@
|
|
|
420
420
|
"inputs": [
|
|
421
421
|
{
|
|
422
422
|
"internalType": "uint256",
|
|
423
|
-
"name": "
|
|
423
|
+
"name": "actualSyIn",
|
|
424
424
|
"type": "uint256"
|
|
425
425
|
},
|
|
426
426
|
{
|
|
427
427
|
"internalType": "uint256",
|
|
428
|
-
"name": "
|
|
428
|
+
"name": "limitSyIn",
|
|
429
429
|
"type": "uint256"
|
|
430
430
|
}
|
|
431
431
|
],
|
|
432
|
-
"name": "
|
|
432
|
+
"name": "RouterExceededLimitSyIn",
|
|
433
433
|
"type": "error"
|
|
434
434
|
},
|
|
435
435
|
{
|
|
@@ -516,32 +516,32 @@
|
|
|
516
516
|
"inputs": [
|
|
517
517
|
{
|
|
518
518
|
"internalType": "uint256",
|
|
519
|
-
"name": "
|
|
519
|
+
"name": "actualSyOut",
|
|
520
520
|
"type": "uint256"
|
|
521
521
|
},
|
|
522
522
|
{
|
|
523
523
|
"internalType": "uint256",
|
|
524
|
-
"name": "
|
|
524
|
+
"name": "requiredSyOut",
|
|
525
525
|
"type": "uint256"
|
|
526
526
|
}
|
|
527
527
|
],
|
|
528
|
-
"name": "
|
|
528
|
+
"name": "RouterInsufficientSyOut",
|
|
529
529
|
"type": "error"
|
|
530
530
|
},
|
|
531
531
|
{
|
|
532
532
|
"inputs": [
|
|
533
533
|
{
|
|
534
534
|
"internalType": "uint256",
|
|
535
|
-
"name": "
|
|
535
|
+
"name": "actualSyRepay",
|
|
536
536
|
"type": "uint256"
|
|
537
537
|
},
|
|
538
538
|
{
|
|
539
539
|
"internalType": "uint256",
|
|
540
|
-
"name": "
|
|
540
|
+
"name": "requiredSyRepay",
|
|
541
541
|
"type": "uint256"
|
|
542
542
|
}
|
|
543
543
|
],
|
|
544
|
-
"name": "
|
|
544
|
+
"name": "RouterInsufficientSyRepay",
|
|
545
545
|
"type": "error"
|
|
546
546
|
},
|
|
547
547
|
{
|
|
@@ -594,12 +594,12 @@
|
|
|
594
594
|
},
|
|
595
595
|
{
|
|
596
596
|
"inputs": [],
|
|
597
|
-
"name": "
|
|
597
|
+
"name": "SYCurve3crvPoolNotFound",
|
|
598
598
|
"type": "error"
|
|
599
599
|
},
|
|
600
600
|
{
|
|
601
601
|
"inputs": [],
|
|
602
|
-
"name": "
|
|
602
|
+
"name": "SYCurveInvalidPid",
|
|
603
603
|
"type": "error"
|
|
604
604
|
},
|
|
605
605
|
{
|
|
@@ -615,7 +615,7 @@
|
|
|
615
615
|
"type": "uint256"
|
|
616
616
|
}
|
|
617
617
|
],
|
|
618
|
-
"name": "
|
|
618
|
+
"name": "SYInsufficientSharesOut",
|
|
619
619
|
"type": "error"
|
|
620
620
|
},
|
|
621
621
|
{
|
|
@@ -631,7 +631,7 @@
|
|
|
631
631
|
"type": "uint256"
|
|
632
632
|
}
|
|
633
633
|
],
|
|
634
|
-
"name": "
|
|
634
|
+
"name": "SYInsufficientTokenOut",
|
|
635
635
|
"type": "error"
|
|
636
636
|
},
|
|
637
637
|
{
|
|
@@ -642,7 +642,7 @@
|
|
|
642
642
|
"type": "address"
|
|
643
643
|
}
|
|
644
644
|
],
|
|
645
|
-
"name": "
|
|
645
|
+
"name": "SYInvalidTokenIn",
|
|
646
646
|
"type": "error"
|
|
647
647
|
},
|
|
648
648
|
{
|
|
@@ -653,7 +653,7 @@
|
|
|
653
653
|
"type": "address"
|
|
654
654
|
}
|
|
655
655
|
],
|
|
656
|
-
"name": "
|
|
656
|
+
"name": "SYInvalidTokenOut",
|
|
657
657
|
"type": "error"
|
|
658
658
|
},
|
|
659
659
|
{
|
|
@@ -669,7 +669,7 @@
|
|
|
669
669
|
"type": "uint256"
|
|
670
670
|
}
|
|
671
671
|
],
|
|
672
|
-
"name": "
|
|
672
|
+
"name": "SYQiTokenBorrowRateTooHigh",
|
|
673
673
|
"type": "error"
|
|
674
674
|
},
|
|
675
675
|
{
|
|
@@ -680,7 +680,7 @@
|
|
|
680
680
|
"type": "uint256"
|
|
681
681
|
}
|
|
682
682
|
],
|
|
683
|
-
"name": "
|
|
683
|
+
"name": "SYQiTokenMintFailed",
|
|
684
684
|
"type": "error"
|
|
685
685
|
},
|
|
686
686
|
{
|
|
@@ -691,7 +691,7 @@
|
|
|
691
691
|
"type": "uint256"
|
|
692
692
|
}
|
|
693
693
|
],
|
|
694
|
-
"name": "
|
|
694
|
+
"name": "SYQiTokenRedeemFailed",
|
|
695
695
|
"type": "error"
|
|
696
696
|
},
|
|
697
697
|
{
|
|
@@ -707,17 +707,17 @@
|
|
|
707
707
|
"type": "uint256"
|
|
708
708
|
}
|
|
709
709
|
],
|
|
710
|
-
"name": "
|
|
710
|
+
"name": "SYQiTokenRedeemRewardsFailed",
|
|
711
711
|
"type": "error"
|
|
712
712
|
},
|
|
713
713
|
{
|
|
714
714
|
"inputs": [],
|
|
715
|
-
"name": "
|
|
715
|
+
"name": "SYZeroDeposit",
|
|
716
716
|
"type": "error"
|
|
717
717
|
},
|
|
718
718
|
{
|
|
719
719
|
"inputs": [],
|
|
720
|
-
"name": "
|
|
720
|
+
"name": "SYZeroRedeem",
|
|
721
721
|
"type": "error"
|
|
722
722
|
},
|
|
723
723
|
{
|
|
@@ -865,7 +865,7 @@
|
|
|
865
865
|
},
|
|
866
866
|
{
|
|
867
867
|
"inputs": [],
|
|
868
|
-
"name": "
|
|
868
|
+
"name": "YCNoFloatingSy",
|
|
869
869
|
"type": "error"
|
|
870
870
|
},
|
|
871
871
|
{
|
|
@@ -887,16 +887,16 @@
|
|
|
887
887
|
"inputs": [
|
|
888
888
|
{
|
|
889
889
|
"internalType": "uint256",
|
|
890
|
-
"name": "
|
|
890
|
+
"name": "actualSy",
|
|
891
891
|
"type": "uint256"
|
|
892
892
|
},
|
|
893
893
|
{
|
|
894
894
|
"internalType": "uint256",
|
|
895
|
-
"name": "
|
|
895
|
+
"name": "requiredSy",
|
|
896
896
|
"type": "uint256"
|
|
897
897
|
}
|
|
898
898
|
],
|
|
899
|
-
"name": "
|
|
899
|
+
"name": "YieldContractInsufficientSy",
|
|
900
900
|
"type": "error"
|
|
901
901
|
},
|
|
902
902
|
{
|
|
@@ -905,8 +905,8 @@
|
|
|
905
905
|
"type": "error"
|
|
906
906
|
}
|
|
907
907
|
],
|
|
908
|
-
"bytecode": "
|
|
909
|
-
"deployedBytecode": "
|
|
908
|
+
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220105c6a6fa6931a191ef4733046fe29da544cb1e060bf964acf1772f6d348a4fe64736f6c63430008110033",
|
|
909
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220105c6a6fa6931a191ef4733046fe29da544cb1e060bf964acf1772f6d348a4fe64736f6c63430008110033",
|
|
910
910
|
"linkReferences": {},
|
|
911
911
|
"deployedLinkReferences": {}
|
|
912
912
|
}
|
package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
{
|
|
28
28
|
"indexed": false,
|
|
29
29
|
"internalType": "uint256",
|
|
30
|
-
"name": "
|
|
30
|
+
"name": "netSyUsed",
|
|
31
31
|
"type": "uint256"
|
|
32
32
|
},
|
|
33
33
|
{
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"type": "uint256"
|
|
44
44
|
}
|
|
45
45
|
],
|
|
46
|
-
"name": "
|
|
46
|
+
"name": "AddLiquidityDualSyAndPt",
|
|
47
47
|
"type": "event"
|
|
48
48
|
},
|
|
49
49
|
{
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
{
|
|
157
157
|
"indexed": false,
|
|
158
158
|
"internalType": "uint256",
|
|
159
|
-
"name": "
|
|
159
|
+
"name": "netSyIn",
|
|
160
160
|
"type": "uint256"
|
|
161
161
|
},
|
|
162
162
|
{
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
"type": "uint256"
|
|
167
167
|
}
|
|
168
168
|
],
|
|
169
|
-
"name": "
|
|
169
|
+
"name": "AddLiquiditySingleSy",
|
|
170
170
|
"type": "event"
|
|
171
171
|
},
|
|
172
172
|
{
|
|
@@ -248,11 +248,11 @@
|
|
|
248
248
|
{
|
|
249
249
|
"indexed": false,
|
|
250
250
|
"internalType": "uint256",
|
|
251
|
-
"name": "
|
|
251
|
+
"name": "netSyOut",
|
|
252
252
|
"type": "uint256"
|
|
253
253
|
}
|
|
254
254
|
],
|
|
255
|
-
"name": "
|
|
255
|
+
"name": "RemoveLiquidityDualSyAndPt",
|
|
256
256
|
"type": "event"
|
|
257
257
|
},
|
|
258
258
|
{
|
|
@@ -371,11 +371,11 @@
|
|
|
371
371
|
{
|
|
372
372
|
"indexed": false,
|
|
373
373
|
"internalType": "uint256",
|
|
374
|
-
"name": "
|
|
374
|
+
"name": "netSyOut",
|
|
375
375
|
"type": "uint256"
|
|
376
376
|
}
|
|
377
377
|
],
|
|
378
|
-
"name": "
|
|
378
|
+
"name": "RemoveLiquiditySingleSy",
|
|
379
379
|
"type": "event"
|
|
380
380
|
},
|
|
381
381
|
{
|
|
@@ -435,7 +435,7 @@
|
|
|
435
435
|
},
|
|
436
436
|
{
|
|
437
437
|
"internalType": "uint256",
|
|
438
|
-
"name": "
|
|
438
|
+
"name": "netSyDesired",
|
|
439
439
|
"type": "uint256"
|
|
440
440
|
},
|
|
441
441
|
{
|
|
@@ -449,7 +449,7 @@
|
|
|
449
449
|
"type": "uint256"
|
|
450
450
|
}
|
|
451
451
|
],
|
|
452
|
-
"name": "
|
|
452
|
+
"name": "addLiquidityDualSyAndPt",
|
|
453
453
|
"outputs": [
|
|
454
454
|
{
|
|
455
455
|
"internalType": "uint256",
|
|
@@ -458,7 +458,7 @@
|
|
|
458
458
|
},
|
|
459
459
|
{
|
|
460
460
|
"internalType": "uint256",
|
|
461
|
-
"name": "
|
|
461
|
+
"name": "netSyUsed",
|
|
462
462
|
"type": "uint256"
|
|
463
463
|
},
|
|
464
464
|
{
|
|
@@ -575,7 +575,7 @@
|
|
|
575
575
|
}
|
|
576
576
|
],
|
|
577
577
|
"internalType": "struct ApproxParams",
|
|
578
|
-
"name": "
|
|
578
|
+
"name": "guessPtSwapToSy",
|
|
579
579
|
"type": "tuple"
|
|
580
580
|
}
|
|
581
581
|
],
|
|
@@ -588,7 +588,7 @@
|
|
|
588
588
|
},
|
|
589
589
|
{
|
|
590
590
|
"internalType": "uint256",
|
|
591
|
-
"name": "
|
|
591
|
+
"name": "netSyFee",
|
|
592
592
|
"type": "uint256"
|
|
593
593
|
}
|
|
594
594
|
],
|
|
@@ -609,7 +609,7 @@
|
|
|
609
609
|
},
|
|
610
610
|
{
|
|
611
611
|
"internalType": "uint256",
|
|
612
|
-
"name": "
|
|
612
|
+
"name": "netSyIn",
|
|
613
613
|
"type": "uint256"
|
|
614
614
|
},
|
|
615
615
|
{
|
|
@@ -646,11 +646,11 @@
|
|
|
646
646
|
}
|
|
647
647
|
],
|
|
648
648
|
"internalType": "struct ApproxParams",
|
|
649
|
-
"name": "
|
|
649
|
+
"name": "guessPtReceivedFromSy",
|
|
650
650
|
"type": "tuple"
|
|
651
651
|
}
|
|
652
652
|
],
|
|
653
|
-
"name": "
|
|
653
|
+
"name": "addLiquiditySingleSy",
|
|
654
654
|
"outputs": [
|
|
655
655
|
{
|
|
656
656
|
"internalType": "uint256",
|
|
@@ -659,7 +659,7 @@
|
|
|
659
659
|
},
|
|
660
660
|
{
|
|
661
661
|
"internalType": "uint256",
|
|
662
|
-
"name": "
|
|
662
|
+
"name": "netSyFee",
|
|
663
663
|
"type": "uint256"
|
|
664
664
|
}
|
|
665
665
|
],
|
|
@@ -712,7 +712,7 @@
|
|
|
712
712
|
}
|
|
713
713
|
],
|
|
714
714
|
"internalType": "struct ApproxParams",
|
|
715
|
-
"name": "
|
|
715
|
+
"name": "guessPtReceivedFromSy",
|
|
716
716
|
"type": "tuple"
|
|
717
717
|
},
|
|
718
718
|
{
|
|
@@ -729,7 +729,7 @@
|
|
|
729
729
|
},
|
|
730
730
|
{
|
|
731
731
|
"internalType": "address",
|
|
732
|
-
"name": "
|
|
732
|
+
"name": "tokenMintSy",
|
|
733
733
|
"type": "address"
|
|
734
734
|
},
|
|
735
735
|
{
|
|
@@ -752,7 +752,7 @@
|
|
|
752
752
|
},
|
|
753
753
|
{
|
|
754
754
|
"internalType": "uint256",
|
|
755
|
-
"name": "
|
|
755
|
+
"name": "netSyFee",
|
|
756
756
|
"type": "uint256"
|
|
757
757
|
}
|
|
758
758
|
],
|
|
@@ -778,7 +778,7 @@
|
|
|
778
778
|
},
|
|
779
779
|
{
|
|
780
780
|
"internalType": "uint256",
|
|
781
|
-
"name": "
|
|
781
|
+
"name": "minSyOut",
|
|
782
782
|
"type": "uint256"
|
|
783
783
|
},
|
|
784
784
|
{
|
|
@@ -787,11 +787,11 @@
|
|
|
787
787
|
"type": "uint256"
|
|
788
788
|
}
|
|
789
789
|
],
|
|
790
|
-
"name": "
|
|
790
|
+
"name": "removeLiquidityDualSyAndPt",
|
|
791
791
|
"outputs": [
|
|
792
792
|
{
|
|
793
793
|
"internalType": "uint256",
|
|
794
|
-
"name": "
|
|
794
|
+
"name": "netSyOut",
|
|
795
795
|
"type": "uint256"
|
|
796
796
|
},
|
|
797
797
|
{
|
|
@@ -916,7 +916,7 @@
|
|
|
916
916
|
},
|
|
917
917
|
{
|
|
918
918
|
"internalType": "uint256",
|
|
919
|
-
"name": "
|
|
919
|
+
"name": "netSyFee",
|
|
920
920
|
"type": "uint256"
|
|
921
921
|
}
|
|
922
922
|
],
|
|
@@ -942,20 +942,20 @@
|
|
|
942
942
|
},
|
|
943
943
|
{
|
|
944
944
|
"internalType": "uint256",
|
|
945
|
-
"name": "
|
|
945
|
+
"name": "minSyOut",
|
|
946
946
|
"type": "uint256"
|
|
947
947
|
}
|
|
948
948
|
],
|
|
949
|
-
"name": "
|
|
949
|
+
"name": "removeLiquiditySingleSy",
|
|
950
950
|
"outputs": [
|
|
951
951
|
{
|
|
952
952
|
"internalType": "uint256",
|
|
953
|
-
"name": "
|
|
953
|
+
"name": "netSyOut",
|
|
954
954
|
"type": "uint256"
|
|
955
955
|
},
|
|
956
956
|
{
|
|
957
957
|
"internalType": "uint256",
|
|
958
|
-
"name": "
|
|
958
|
+
"name": "netSyFee",
|
|
959
959
|
"type": "uint256"
|
|
960
960
|
}
|
|
961
961
|
],
|
|
@@ -993,7 +993,7 @@
|
|
|
993
993
|
},
|
|
994
994
|
{
|
|
995
995
|
"internalType": "address",
|
|
996
|
-
"name": "
|
|
996
|
+
"name": "tokenRedeemSy",
|
|
997
997
|
"type": "address"
|
|
998
998
|
},
|
|
999
999
|
{
|
|
@@ -1016,7 +1016,7 @@
|
|
|
1016
1016
|
},
|
|
1017
1017
|
{
|
|
1018
1018
|
"internalType": "uint256",
|
|
1019
|
-
"name": "
|
|
1019
|
+
"name": "netSyFee",
|
|
1020
1020
|
"type": "uint256"
|
|
1021
1021
|
}
|
|
1022
1022
|
],
|