@pendle/core-v2 0.13.0-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/deployments/43113-helper.json +3 -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/deployments/43113-testenv.json +22 -0
- package/deployments/80001-core.json +15 -0
- package/deployments/80001-testenv.json +22 -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/ImplicitSwapfeeContract.ts +157 -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/ImplicitSwapfeeContract__factory.ts +247 -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 -42
- package/typechain-types/index.ts +14 -16
- 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/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/interfaces/ICelerMessageBus.sol +0 -28
- package/contracts/interfaces/ICelerMessageReceiverApp.sol +0 -25
- package/deployments/kovan.json +0 -31
|
@@ -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
|
{
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
{
|
|
237
237
|
"indexed": false,
|
|
238
238
|
"internalType": "uint256",
|
|
239
|
-
"name": "
|
|
239
|
+
"name": "netSyIn",
|
|
240
240
|
"type": "uint256"
|
|
241
241
|
},
|
|
242
242
|
{
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
"type": "uint256"
|
|
247
247
|
}
|
|
248
248
|
],
|
|
249
|
-
"name": "
|
|
249
|
+
"name": "MintPyFromSy",
|
|
250
250
|
"type": "event"
|
|
251
251
|
},
|
|
252
252
|
{
|
|
@@ -310,7 +310,7 @@
|
|
|
310
310
|
{
|
|
311
311
|
"indexed": true,
|
|
312
312
|
"internalType": "address",
|
|
313
|
-
"name": "
|
|
313
|
+
"name": "SY",
|
|
314
314
|
"type": "address"
|
|
315
315
|
},
|
|
316
316
|
{
|
|
@@ -328,11 +328,11 @@
|
|
|
328
328
|
{
|
|
329
329
|
"indexed": false,
|
|
330
330
|
"internalType": "uint256",
|
|
331
|
-
"name": "
|
|
331
|
+
"name": "netSyOut",
|
|
332
332
|
"type": "uint256"
|
|
333
333
|
}
|
|
334
334
|
],
|
|
335
|
-
"name": "
|
|
335
|
+
"name": "MintSyFromToken",
|
|
336
336
|
"type": "event"
|
|
337
337
|
},
|
|
338
338
|
{
|
|
@@ -347,7 +347,7 @@
|
|
|
347
347
|
{
|
|
348
348
|
"indexed": false,
|
|
349
349
|
"internalType": "address[]",
|
|
350
|
-
"name": "
|
|
350
|
+
"name": "sys",
|
|
351
351
|
"type": "address[]"
|
|
352
352
|
},
|
|
353
353
|
{
|
|
@@ -365,7 +365,7 @@
|
|
|
365
365
|
{
|
|
366
366
|
"indexed": false,
|
|
367
367
|
"internalType": "uint256[][]",
|
|
368
|
-
"name": "
|
|
368
|
+
"name": "syRewards",
|
|
369
369
|
"type": "uint256[][]"
|
|
370
370
|
},
|
|
371
371
|
{
|
|
@@ -402,7 +402,7 @@
|
|
|
402
402
|
{
|
|
403
403
|
"indexed": false,
|
|
404
404
|
"internalType": "address[]",
|
|
405
|
-
"name": "
|
|
405
|
+
"name": "sys",
|
|
406
406
|
"type": "address[]"
|
|
407
407
|
},
|
|
408
408
|
{
|
|
@@ -463,11 +463,11 @@
|
|
|
463
463
|
{
|
|
464
464
|
"indexed": false,
|
|
465
465
|
"internalType": "uint256",
|
|
466
|
-
"name": "
|
|
466
|
+
"name": "netSyOut",
|
|
467
467
|
"type": "uint256"
|
|
468
468
|
}
|
|
469
469
|
],
|
|
470
|
-
"name": "
|
|
470
|
+
"name": "RedeemPyToSy",
|
|
471
471
|
"type": "event"
|
|
472
472
|
},
|
|
473
473
|
{
|
|
@@ -531,13 +531,13 @@
|
|
|
531
531
|
{
|
|
532
532
|
"indexed": true,
|
|
533
533
|
"internalType": "address",
|
|
534
|
-
"name": "
|
|
534
|
+
"name": "SY",
|
|
535
535
|
"type": "address"
|
|
536
536
|
},
|
|
537
537
|
{
|
|
538
538
|
"indexed": false,
|
|
539
539
|
"internalType": "uint256",
|
|
540
|
-
"name": "
|
|
540
|
+
"name": "netSyIn",
|
|
541
541
|
"type": "uint256"
|
|
542
542
|
},
|
|
543
543
|
{
|
|
@@ -553,7 +553,7 @@
|
|
|
553
553
|
"type": "uint256"
|
|
554
554
|
}
|
|
555
555
|
],
|
|
556
|
-
"name": "
|
|
556
|
+
"name": "RedeemSyToToken",
|
|
557
557
|
"type": "event"
|
|
558
558
|
},
|
|
559
559
|
{
|
|
@@ -592,11 +592,11 @@
|
|
|
592
592
|
{
|
|
593
593
|
"indexed": false,
|
|
594
594
|
"internalType": "uint256",
|
|
595
|
-
"name": "
|
|
595
|
+
"name": "netSyOut",
|
|
596
596
|
"type": "uint256"
|
|
597
597
|
}
|
|
598
598
|
],
|
|
599
|
-
"name": "
|
|
599
|
+
"name": "RemoveLiquidityDualSyAndPt",
|
|
600
600
|
"type": "event"
|
|
601
601
|
},
|
|
602
602
|
{
|
|
@@ -715,11 +715,11 @@
|
|
|
715
715
|
{
|
|
716
716
|
"indexed": false,
|
|
717
717
|
"internalType": "uint256",
|
|
718
|
-
"name": "
|
|
718
|
+
"name": "netSyOut",
|
|
719
719
|
"type": "uint256"
|
|
720
720
|
}
|
|
721
721
|
],
|
|
722
|
-
"name": "
|
|
722
|
+
"name": "RemoveLiquiditySingleSy",
|
|
723
723
|
"type": "event"
|
|
724
724
|
},
|
|
725
725
|
{
|
|
@@ -795,11 +795,11 @@
|
|
|
795
795
|
{
|
|
796
796
|
"indexed": false,
|
|
797
797
|
"internalType": "int256",
|
|
798
|
-
"name": "
|
|
798
|
+
"name": "netSyToAccount",
|
|
799
799
|
"type": "int256"
|
|
800
800
|
}
|
|
801
801
|
],
|
|
802
|
-
"name": "
|
|
802
|
+
"name": "SwapPtAndSy",
|
|
803
803
|
"type": "event"
|
|
804
804
|
},
|
|
805
805
|
{
|
|
@@ -912,11 +912,11 @@
|
|
|
912
912
|
{
|
|
913
913
|
"indexed": false,
|
|
914
914
|
"internalType": "int256",
|
|
915
|
-
"name": "
|
|
915
|
+
"name": "netSyToAccount",
|
|
916
916
|
"type": "int256"
|
|
917
917
|
}
|
|
918
918
|
],
|
|
919
|
-
"name": "
|
|
919
|
+
"name": "SwapYtAndSy",
|
|
920
920
|
"type": "event"
|
|
921
921
|
},
|
|
922
922
|
{
|
|
@@ -976,7 +976,7 @@
|
|
|
976
976
|
},
|
|
977
977
|
{
|
|
978
978
|
"internalType": "uint256",
|
|
979
|
-
"name": "
|
|
979
|
+
"name": "netSyDesired",
|
|
980
980
|
"type": "uint256"
|
|
981
981
|
},
|
|
982
982
|
{
|
|
@@ -990,7 +990,7 @@
|
|
|
990
990
|
"type": "uint256"
|
|
991
991
|
}
|
|
992
992
|
],
|
|
993
|
-
"name": "
|
|
993
|
+
"name": "addLiquidityDualSyAndPt",
|
|
994
994
|
"outputs": [
|
|
995
995
|
{
|
|
996
996
|
"internalType": "uint256",
|
|
@@ -999,7 +999,7 @@
|
|
|
999
999
|
},
|
|
1000
1000
|
{
|
|
1001
1001
|
"internalType": "uint256",
|
|
1002
|
-
"name": "
|
|
1002
|
+
"name": "netSyUsed",
|
|
1003
1003
|
"type": "uint256"
|
|
1004
1004
|
},
|
|
1005
1005
|
{
|
|
@@ -1116,7 +1116,7 @@
|
|
|
1116
1116
|
}
|
|
1117
1117
|
],
|
|
1118
1118
|
"internalType": "struct ApproxParams",
|
|
1119
|
-
"name": "
|
|
1119
|
+
"name": "guessPtSwapToSy",
|
|
1120
1120
|
"type": "tuple"
|
|
1121
1121
|
}
|
|
1122
1122
|
],
|
|
@@ -1129,7 +1129,7 @@
|
|
|
1129
1129
|
},
|
|
1130
1130
|
{
|
|
1131
1131
|
"internalType": "uint256",
|
|
1132
|
-
"name": "
|
|
1132
|
+
"name": "netSyFee",
|
|
1133
1133
|
"type": "uint256"
|
|
1134
1134
|
}
|
|
1135
1135
|
],
|
|
@@ -1150,7 +1150,7 @@
|
|
|
1150
1150
|
},
|
|
1151
1151
|
{
|
|
1152
1152
|
"internalType": "uint256",
|
|
1153
|
-
"name": "
|
|
1153
|
+
"name": "netSyIn",
|
|
1154
1154
|
"type": "uint256"
|
|
1155
1155
|
},
|
|
1156
1156
|
{
|
|
@@ -1187,11 +1187,11 @@
|
|
|
1187
1187
|
}
|
|
1188
1188
|
],
|
|
1189
1189
|
"internalType": "struct ApproxParams",
|
|
1190
|
-
"name": "
|
|
1190
|
+
"name": "guessPtReceivedFromSy",
|
|
1191
1191
|
"type": "tuple"
|
|
1192
1192
|
}
|
|
1193
1193
|
],
|
|
1194
|
-
"name": "
|
|
1194
|
+
"name": "addLiquiditySingleSy",
|
|
1195
1195
|
"outputs": [
|
|
1196
1196
|
{
|
|
1197
1197
|
"internalType": "uint256",
|
|
@@ -1200,7 +1200,7 @@
|
|
|
1200
1200
|
},
|
|
1201
1201
|
{
|
|
1202
1202
|
"internalType": "uint256",
|
|
1203
|
-
"name": "
|
|
1203
|
+
"name": "netSyFee",
|
|
1204
1204
|
"type": "uint256"
|
|
1205
1205
|
}
|
|
1206
1206
|
],
|
|
@@ -1253,7 +1253,7 @@
|
|
|
1253
1253
|
}
|
|
1254
1254
|
],
|
|
1255
1255
|
"internalType": "struct ApproxParams",
|
|
1256
|
-
"name": "
|
|
1256
|
+
"name": "guessPtReceivedFromSy",
|
|
1257
1257
|
"type": "tuple"
|
|
1258
1258
|
},
|
|
1259
1259
|
{
|
|
@@ -1270,7 +1270,7 @@
|
|
|
1270
1270
|
},
|
|
1271
1271
|
{
|
|
1272
1272
|
"internalType": "address",
|
|
1273
|
-
"name": "
|
|
1273
|
+
"name": "tokenMintSy",
|
|
1274
1274
|
"type": "address"
|
|
1275
1275
|
},
|
|
1276
1276
|
{
|
|
@@ -1293,7 +1293,7 @@
|
|
|
1293
1293
|
},
|
|
1294
1294
|
{
|
|
1295
1295
|
"internalType": "uint256",
|
|
1296
|
-
"name": "
|
|
1296
|
+
"name": "netSyFee",
|
|
1297
1297
|
"type": "uint256"
|
|
1298
1298
|
}
|
|
1299
1299
|
],
|
|
@@ -1338,7 +1338,7 @@
|
|
|
1338
1338
|
},
|
|
1339
1339
|
{
|
|
1340
1340
|
"internalType": "uint256",
|
|
1341
|
-
"name": "
|
|
1341
|
+
"name": "netSyIn",
|
|
1342
1342
|
"type": "uint256"
|
|
1343
1343
|
},
|
|
1344
1344
|
{
|
|
@@ -1347,7 +1347,7 @@
|
|
|
1347
1347
|
"type": "uint256"
|
|
1348
1348
|
}
|
|
1349
1349
|
],
|
|
1350
|
-
"name": "
|
|
1350
|
+
"name": "mintPyFromSy",
|
|
1351
1351
|
"outputs": [
|
|
1352
1352
|
{
|
|
1353
1353
|
"internalType": "uint256",
|
|
@@ -1389,7 +1389,7 @@
|
|
|
1389
1389
|
},
|
|
1390
1390
|
{
|
|
1391
1391
|
"internalType": "address",
|
|
1392
|
-
"name": "
|
|
1392
|
+
"name": "tokenMintSy",
|
|
1393
1393
|
"type": "address"
|
|
1394
1394
|
},
|
|
1395
1395
|
{
|
|
@@ -1423,12 +1423,12 @@
|
|
|
1423
1423
|
},
|
|
1424
1424
|
{
|
|
1425
1425
|
"internalType": "address",
|
|
1426
|
-
"name": "
|
|
1426
|
+
"name": "SY",
|
|
1427
1427
|
"type": "address"
|
|
1428
1428
|
},
|
|
1429
1429
|
{
|
|
1430
1430
|
"internalType": "uint256",
|
|
1431
|
-
"name": "
|
|
1431
|
+
"name": "minSyOut",
|
|
1432
1432
|
"type": "uint256"
|
|
1433
1433
|
},
|
|
1434
1434
|
{
|
|
@@ -1445,7 +1445,7 @@
|
|
|
1445
1445
|
},
|
|
1446
1446
|
{
|
|
1447
1447
|
"internalType": "address",
|
|
1448
|
-
"name": "
|
|
1448
|
+
"name": "tokenMintSy",
|
|
1449
1449
|
"type": "address"
|
|
1450
1450
|
},
|
|
1451
1451
|
{
|
|
@@ -1459,11 +1459,11 @@
|
|
|
1459
1459
|
"type": "tuple"
|
|
1460
1460
|
}
|
|
1461
1461
|
],
|
|
1462
|
-
"name": "
|
|
1462
|
+
"name": "mintSyFromToken",
|
|
1463
1463
|
"outputs": [
|
|
1464
1464
|
{
|
|
1465
1465
|
"internalType": "uint256",
|
|
1466
|
-
"name": "
|
|
1466
|
+
"name": "netSyOut",
|
|
1467
1467
|
"type": "uint256"
|
|
1468
1468
|
}
|
|
1469
1469
|
],
|
|
@@ -1479,7 +1479,7 @@
|
|
|
1479
1479
|
},
|
|
1480
1480
|
{
|
|
1481
1481
|
"internalType": "address[]",
|
|
1482
|
-
"name": "
|
|
1482
|
+
"name": "sys",
|
|
1483
1483
|
"type": "address[]"
|
|
1484
1484
|
},
|
|
1485
1485
|
{
|
|
@@ -1497,7 +1497,7 @@
|
|
|
1497
1497
|
"outputs": [
|
|
1498
1498
|
{
|
|
1499
1499
|
"internalType": "uint256[][]",
|
|
1500
|
-
"name": "
|
|
1500
|
+
"name": "syRewards",
|
|
1501
1501
|
"type": "uint256[][]"
|
|
1502
1502
|
},
|
|
1503
1503
|
{
|
|
@@ -1523,7 +1523,7 @@
|
|
|
1523
1523
|
"inputs": [
|
|
1524
1524
|
{
|
|
1525
1525
|
"internalType": "address[]",
|
|
1526
|
-
"name": "
|
|
1526
|
+
"name": "sys",
|
|
1527
1527
|
"type": "address[]"
|
|
1528
1528
|
},
|
|
1529
1529
|
{
|
|
@@ -1535,12 +1535,12 @@
|
|
|
1535
1535
|
},
|
|
1536
1536
|
{
|
|
1537
1537
|
"internalType": "address[]",
|
|
1538
|
-
"name": "
|
|
1538
|
+
"name": "syAddrs",
|
|
1539
1539
|
"type": "address[]"
|
|
1540
1540
|
},
|
|
1541
1541
|
{
|
|
1542
1542
|
"internalType": "address[]",
|
|
1543
|
-
"name": "
|
|
1543
|
+
"name": "tokenRedeemSys",
|
|
1544
1544
|
"type": "address[]"
|
|
1545
1545
|
}
|
|
1546
1546
|
],
|
|
@@ -1616,15 +1616,15 @@
|
|
|
1616
1616
|
},
|
|
1617
1617
|
{
|
|
1618
1618
|
"internalType": "uint256",
|
|
1619
|
-
"name": "
|
|
1619
|
+
"name": "minSyOut",
|
|
1620
1620
|
"type": "uint256"
|
|
1621
1621
|
}
|
|
1622
1622
|
],
|
|
1623
|
-
"name": "
|
|
1623
|
+
"name": "redeemPyToSy",
|
|
1624
1624
|
"outputs": [
|
|
1625
1625
|
{
|
|
1626
1626
|
"internalType": "uint256",
|
|
1627
|
-
"name": "
|
|
1627
|
+
"name": "netSyOut",
|
|
1628
1628
|
"type": "uint256"
|
|
1629
1629
|
}
|
|
1630
1630
|
],
|
|
@@ -1662,7 +1662,7 @@
|
|
|
1662
1662
|
},
|
|
1663
1663
|
{
|
|
1664
1664
|
"internalType": "address",
|
|
1665
|
-
"name": "
|
|
1665
|
+
"name": "tokenRedeemSy",
|
|
1666
1666
|
"type": "address"
|
|
1667
1667
|
},
|
|
1668
1668
|
{
|
|
@@ -1696,12 +1696,12 @@
|
|
|
1696
1696
|
},
|
|
1697
1697
|
{
|
|
1698
1698
|
"internalType": "address",
|
|
1699
|
-
"name": "
|
|
1699
|
+
"name": "SY",
|
|
1700
1700
|
"type": "address"
|
|
1701
1701
|
},
|
|
1702
1702
|
{
|
|
1703
1703
|
"internalType": "uint256",
|
|
1704
|
-
"name": "
|
|
1704
|
+
"name": "netSyIn",
|
|
1705
1705
|
"type": "uint256"
|
|
1706
1706
|
},
|
|
1707
1707
|
{
|
|
@@ -1718,7 +1718,7 @@
|
|
|
1718
1718
|
},
|
|
1719
1719
|
{
|
|
1720
1720
|
"internalType": "address",
|
|
1721
|
-
"name": "
|
|
1721
|
+
"name": "tokenRedeemSy",
|
|
1722
1722
|
"type": "address"
|
|
1723
1723
|
},
|
|
1724
1724
|
{
|
|
@@ -1732,7 +1732,7 @@
|
|
|
1732
1732
|
"type": "tuple"
|
|
1733
1733
|
}
|
|
1734
1734
|
],
|
|
1735
|
-
"name": "
|
|
1735
|
+
"name": "redeemSyToToken",
|
|
1736
1736
|
"outputs": [
|
|
1737
1737
|
{
|
|
1738
1738
|
"internalType": "uint256",
|
|
@@ -1762,7 +1762,7 @@
|
|
|
1762
1762
|
},
|
|
1763
1763
|
{
|
|
1764
1764
|
"internalType": "uint256",
|
|
1765
|
-
"name": "
|
|
1765
|
+
"name": "minSyOut",
|
|
1766
1766
|
"type": "uint256"
|
|
1767
1767
|
},
|
|
1768
1768
|
{
|
|
@@ -1771,11 +1771,11 @@
|
|
|
1771
1771
|
"type": "uint256"
|
|
1772
1772
|
}
|
|
1773
1773
|
],
|
|
1774
|
-
"name": "
|
|
1774
|
+
"name": "removeLiquidityDualSyAndPt",
|
|
1775
1775
|
"outputs": [
|
|
1776
1776
|
{
|
|
1777
1777
|
"internalType": "uint256",
|
|
1778
|
-
"name": "
|
|
1778
|
+
"name": "netSyOut",
|
|
1779
1779
|
"type": "uint256"
|
|
1780
1780
|
},
|
|
1781
1781
|
{
|
|
@@ -1900,7 +1900,7 @@
|
|
|
1900
1900
|
},
|
|
1901
1901
|
{
|
|
1902
1902
|
"internalType": "uint256",
|
|
1903
|
-
"name": "
|
|
1903
|
+
"name": "netSyFee",
|
|
1904
1904
|
"type": "uint256"
|
|
1905
1905
|
}
|
|
1906
1906
|
],
|
|
@@ -1926,20 +1926,20 @@
|
|
|
1926
1926
|
},
|
|
1927
1927
|
{
|
|
1928
1928
|
"internalType": "uint256",
|
|
1929
|
-
"name": "
|
|
1929
|
+
"name": "minSyOut",
|
|
1930
1930
|
"type": "uint256"
|
|
1931
1931
|
}
|
|
1932
1932
|
],
|
|
1933
|
-
"name": "
|
|
1933
|
+
"name": "removeLiquiditySingleSy",
|
|
1934
1934
|
"outputs": [
|
|
1935
1935
|
{
|
|
1936
1936
|
"internalType": "uint256",
|
|
1937
|
-
"name": "
|
|
1937
|
+
"name": "netSyOut",
|
|
1938
1938
|
"type": "uint256"
|
|
1939
1939
|
},
|
|
1940
1940
|
{
|
|
1941
1941
|
"internalType": "uint256",
|
|
1942
|
-
"name": "
|
|
1942
|
+
"name": "netSyFee",
|
|
1943
1943
|
"type": "uint256"
|
|
1944
1944
|
}
|
|
1945
1945
|
],
|
|
@@ -1977,7 +1977,7 @@
|
|
|
1977
1977
|
},
|
|
1978
1978
|
{
|
|
1979
1979
|
"internalType": "address",
|
|
1980
|
-
"name": "
|
|
1980
|
+
"name": "tokenRedeemSy",
|
|
1981
1981
|
"type": "address"
|
|
1982
1982
|
},
|
|
1983
1983
|
{
|
|
@@ -2000,7 +2000,7 @@
|
|
|
2000
2000
|
},
|
|
2001
2001
|
{
|
|
2002
2002
|
"internalType": "uint256",
|
|
2003
|
-
"name": "
|
|
2003
|
+
"name": "netSyFee",
|
|
2004
2004
|
"type": "uint256"
|
|
2005
2005
|
}
|
|
2006
2006
|
],
|
|
@@ -2026,20 +2026,20 @@
|
|
|
2026
2026
|
},
|
|
2027
2027
|
{
|
|
2028
2028
|
"internalType": "uint256",
|
|
2029
|
-
"name": "
|
|
2029
|
+
"name": "minSyOut",
|
|
2030
2030
|
"type": "uint256"
|
|
2031
2031
|
}
|
|
2032
2032
|
],
|
|
2033
|
-
"name": "
|
|
2033
|
+
"name": "swapExactPtForSy",
|
|
2034
2034
|
"outputs": [
|
|
2035
2035
|
{
|
|
2036
2036
|
"internalType": "uint256",
|
|
2037
|
-
"name": "
|
|
2037
|
+
"name": "netSyOut",
|
|
2038
2038
|
"type": "uint256"
|
|
2039
2039
|
},
|
|
2040
2040
|
{
|
|
2041
2041
|
"internalType": "uint256",
|
|
2042
|
-
"name": "
|
|
2042
|
+
"name": "netSyFee",
|
|
2043
2043
|
"type": "uint256"
|
|
2044
2044
|
}
|
|
2045
2045
|
],
|
|
@@ -2077,7 +2077,7 @@
|
|
|
2077
2077
|
},
|
|
2078
2078
|
{
|
|
2079
2079
|
"internalType": "address",
|
|
2080
|
-
"name": "
|
|
2080
|
+
"name": "tokenRedeemSy",
|
|
2081
2081
|
"type": "address"
|
|
2082
2082
|
},
|
|
2083
2083
|
{
|
|
@@ -2100,7 +2100,7 @@
|
|
|
2100
2100
|
},
|
|
2101
2101
|
{
|
|
2102
2102
|
"internalType": "uint256",
|
|
2103
|
-
"name": "
|
|
2103
|
+
"name": "netSyFee",
|
|
2104
2104
|
"type": "uint256"
|
|
2105
2105
|
}
|
|
2106
2106
|
],
|
|
@@ -2171,7 +2171,7 @@
|
|
|
2171
2171
|
},
|
|
2172
2172
|
{
|
|
2173
2173
|
"internalType": "uint256",
|
|
2174
|
-
"name": "
|
|
2174
|
+
"name": "netSyFee",
|
|
2175
2175
|
"type": "uint256"
|
|
2176
2176
|
}
|
|
2177
2177
|
],
|
|
@@ -2192,7 +2192,7 @@
|
|
|
2192
2192
|
},
|
|
2193
2193
|
{
|
|
2194
2194
|
"internalType": "uint256",
|
|
2195
|
-
"name": "
|
|
2195
|
+
"name": "exactSyIn",
|
|
2196
2196
|
"type": "uint256"
|
|
2197
2197
|
},
|
|
2198
2198
|
{
|
|
@@ -2233,7 +2233,7 @@
|
|
|
2233
2233
|
"type": "tuple"
|
|
2234
2234
|
}
|
|
2235
2235
|
],
|
|
2236
|
-
"name": "
|
|
2236
|
+
"name": "swapExactSyForPt",
|
|
2237
2237
|
"outputs": [
|
|
2238
2238
|
{
|
|
2239
2239
|
"internalType": "uint256",
|
|
@@ -2242,7 +2242,7 @@
|
|
|
2242
2242
|
},
|
|
2243
2243
|
{
|
|
2244
2244
|
"internalType": "uint256",
|
|
2245
|
-
"name": "
|
|
2245
|
+
"name": "netSyFee",
|
|
2246
2246
|
"type": "uint256"
|
|
2247
2247
|
}
|
|
2248
2248
|
],
|
|
@@ -2263,7 +2263,7 @@
|
|
|
2263
2263
|
},
|
|
2264
2264
|
{
|
|
2265
2265
|
"internalType": "uint256",
|
|
2266
|
-
"name": "
|
|
2266
|
+
"name": "exactSyIn",
|
|
2267
2267
|
"type": "uint256"
|
|
2268
2268
|
},
|
|
2269
2269
|
{
|
|
@@ -2304,7 +2304,7 @@
|
|
|
2304
2304
|
"type": "tuple"
|
|
2305
2305
|
}
|
|
2306
2306
|
],
|
|
2307
|
-
"name": "
|
|
2307
|
+
"name": "swapExactSyForYt",
|
|
2308
2308
|
"outputs": [
|
|
2309
2309
|
{
|
|
2310
2310
|
"internalType": "uint256",
|
|
@@ -2313,7 +2313,7 @@
|
|
|
2313
2313
|
},
|
|
2314
2314
|
{
|
|
2315
2315
|
"internalType": "uint256",
|
|
2316
|
-
"name": "
|
|
2316
|
+
"name": "netSyFee",
|
|
2317
2317
|
"type": "uint256"
|
|
2318
2318
|
}
|
|
2319
2319
|
],
|
|
@@ -2383,7 +2383,7 @@
|
|
|
2383
2383
|
},
|
|
2384
2384
|
{
|
|
2385
2385
|
"internalType": "address",
|
|
2386
|
-
"name": "
|
|
2386
|
+
"name": "tokenMintSy",
|
|
2387
2387
|
"type": "address"
|
|
2388
2388
|
},
|
|
2389
2389
|
{
|
|
@@ -2406,7 +2406,7 @@
|
|
|
2406
2406
|
},
|
|
2407
2407
|
{
|
|
2408
2408
|
"internalType": "uint256",
|
|
2409
|
-
"name": "
|
|
2409
|
+
"name": "netSyFee",
|
|
2410
2410
|
"type": "uint256"
|
|
2411
2411
|
}
|
|
2412
2412
|
],
|
|
@@ -2476,7 +2476,7 @@
|
|
|
2476
2476
|
},
|
|
2477
2477
|
{
|
|
2478
2478
|
"internalType": "address",
|
|
2479
|
-
"name": "
|
|
2479
|
+
"name": "tokenMintSy",
|
|
2480
2480
|
"type": "address"
|
|
2481
2481
|
},
|
|
2482
2482
|
{
|
|
@@ -2499,7 +2499,7 @@
|
|
|
2499
2499
|
},
|
|
2500
2500
|
{
|
|
2501
2501
|
"internalType": "uint256",
|
|
2502
|
-
"name": "
|
|
2502
|
+
"name": "netSyFee",
|
|
2503
2503
|
"type": "uint256"
|
|
2504
2504
|
}
|
|
2505
2505
|
],
|
|
@@ -2570,7 +2570,7 @@
|
|
|
2570
2570
|
},
|
|
2571
2571
|
{
|
|
2572
2572
|
"internalType": "uint256",
|
|
2573
|
-
"name": "
|
|
2573
|
+
"name": "netSyFee",
|
|
2574
2574
|
"type": "uint256"
|
|
2575
2575
|
}
|
|
2576
2576
|
],
|
|
@@ -2596,20 +2596,20 @@
|
|
|
2596
2596
|
},
|
|
2597
2597
|
{
|
|
2598
2598
|
"internalType": "uint256",
|
|
2599
|
-
"name": "
|
|
2599
|
+
"name": "minSyOut",
|
|
2600
2600
|
"type": "uint256"
|
|
2601
2601
|
}
|
|
2602
2602
|
],
|
|
2603
|
-
"name": "
|
|
2603
|
+
"name": "swapExactYtForSy",
|
|
2604
2604
|
"outputs": [
|
|
2605
2605
|
{
|
|
2606
2606
|
"internalType": "uint256",
|
|
2607
|
-
"name": "
|
|
2607
|
+
"name": "netSyOut",
|
|
2608
2608
|
"type": "uint256"
|
|
2609
2609
|
},
|
|
2610
2610
|
{
|
|
2611
2611
|
"internalType": "uint256",
|
|
2612
|
-
"name": "
|
|
2612
|
+
"name": "netSyFee",
|
|
2613
2613
|
"type": "uint256"
|
|
2614
2614
|
}
|
|
2615
2615
|
],
|
|
@@ -2647,7 +2647,7 @@
|
|
|
2647
2647
|
},
|
|
2648
2648
|
{
|
|
2649
2649
|
"internalType": "address",
|
|
2650
|
-
"name": "
|
|
2650
|
+
"name": "tokenRedeemSy",
|
|
2651
2651
|
"type": "address"
|
|
2652
2652
|
},
|
|
2653
2653
|
{
|
|
@@ -2670,7 +2670,7 @@
|
|
|
2670
2670
|
},
|
|
2671
2671
|
{
|
|
2672
2672
|
"internalType": "uint256",
|
|
2673
|
-
"name": "
|
|
2673
|
+
"name": "netSyFee",
|
|
2674
2674
|
"type": "uint256"
|
|
2675
2675
|
}
|
|
2676
2676
|
],
|
|
@@ -2691,7 +2691,7 @@
|
|
|
2691
2691
|
},
|
|
2692
2692
|
{
|
|
2693
2693
|
"internalType": "uint256",
|
|
2694
|
-
"name": "
|
|
2694
|
+
"name": "exactSyOut",
|
|
2695
2695
|
"type": "uint256"
|
|
2696
2696
|
},
|
|
2697
2697
|
{
|
|
@@ -2732,7 +2732,7 @@
|
|
|
2732
2732
|
"type": "tuple"
|
|
2733
2733
|
}
|
|
2734
2734
|
],
|
|
2735
|
-
"name": "
|
|
2735
|
+
"name": "swapPtForExactSy",
|
|
2736
2736
|
"outputs": [
|
|
2737
2737
|
{
|
|
2738
2738
|
"internalType": "uint256",
|
|
@@ -2741,7 +2741,7 @@
|
|
|
2741
2741
|
},
|
|
2742
2742
|
{
|
|
2743
2743
|
"internalType": "uint256",
|
|
2744
|
-
"name": "
|
|
2744
|
+
"name": "netSyFee",
|
|
2745
2745
|
"type": "uint256"
|
|
2746
2746
|
}
|
|
2747
2747
|
],
|
|
@@ -2767,20 +2767,20 @@
|
|
|
2767
2767
|
},
|
|
2768
2768
|
{
|
|
2769
2769
|
"internalType": "uint256",
|
|
2770
|
-
"name": "
|
|
2770
|
+
"name": "maxSyIn",
|
|
2771
2771
|
"type": "uint256"
|
|
2772
2772
|
}
|
|
2773
2773
|
],
|
|
2774
|
-
"name": "
|
|
2774
|
+
"name": "swapSyForExactPt",
|
|
2775
2775
|
"outputs": [
|
|
2776
2776
|
{
|
|
2777
2777
|
"internalType": "uint256",
|
|
2778
|
-
"name": "
|
|
2778
|
+
"name": "netSyIn",
|
|
2779
2779
|
"type": "uint256"
|
|
2780
2780
|
},
|
|
2781
2781
|
{
|
|
2782
2782
|
"internalType": "uint256",
|
|
2783
|
-
"name": "
|
|
2783
|
+
"name": "netSyFee",
|
|
2784
2784
|
"type": "uint256"
|
|
2785
2785
|
}
|
|
2786
2786
|
],
|
|
@@ -2806,20 +2806,20 @@
|
|
|
2806
2806
|
},
|
|
2807
2807
|
{
|
|
2808
2808
|
"internalType": "uint256",
|
|
2809
|
-
"name": "
|
|
2809
|
+
"name": "maxSyIn",
|
|
2810
2810
|
"type": "uint256"
|
|
2811
2811
|
}
|
|
2812
2812
|
],
|
|
2813
|
-
"name": "
|
|
2813
|
+
"name": "swapSyForExactYt",
|
|
2814
2814
|
"outputs": [
|
|
2815
2815
|
{
|
|
2816
2816
|
"internalType": "uint256",
|
|
2817
|
-
"name": "
|
|
2817
|
+
"name": "netSyIn",
|
|
2818
2818
|
"type": "uint256"
|
|
2819
2819
|
},
|
|
2820
2820
|
{
|
|
2821
2821
|
"internalType": "uint256",
|
|
2822
|
-
"name": "
|
|
2822
|
+
"name": "netSyFee",
|
|
2823
2823
|
"type": "uint256"
|
|
2824
2824
|
}
|
|
2825
2825
|
],
|
|
@@ -2840,7 +2840,7 @@
|
|
|
2840
2840
|
},
|
|
2841
2841
|
{
|
|
2842
2842
|
"internalType": "uint256",
|
|
2843
|
-
"name": "
|
|
2843
|
+
"name": "exactSyOut",
|
|
2844
2844
|
"type": "uint256"
|
|
2845
2845
|
},
|
|
2846
2846
|
{
|
|
@@ -2881,7 +2881,7 @@
|
|
|
2881
2881
|
"type": "tuple"
|
|
2882
2882
|
}
|
|
2883
2883
|
],
|
|
2884
|
-
"name": "
|
|
2884
|
+
"name": "swapYtForExactSy",
|
|
2885
2885
|
"outputs": [
|
|
2886
2886
|
{
|
|
2887
2887
|
"internalType": "uint256",
|
|
@@ -2890,7 +2890,7 @@
|
|
|
2890
2890
|
},
|
|
2891
2891
|
{
|
|
2892
2892
|
"internalType": "uint256",
|
|
2893
|
-
"name": "
|
|
2893
|
+
"name": "netSyFee",
|
|
2894
2894
|
"type": "uint256"
|
|
2895
2895
|
}
|
|
2896
2896
|
],
|