@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
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
{
|
|
28
28
|
"indexed": false,
|
|
29
29
|
"internalType": "uint256",
|
|
30
|
-
"name": "
|
|
30
|
+
"name": "netSyIn",
|
|
31
31
|
"type": "uint256"
|
|
32
32
|
},
|
|
33
33
|
{
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"type": "uint256"
|
|
38
38
|
}
|
|
39
39
|
],
|
|
40
|
-
"name": "
|
|
40
|
+
"name": "MintPyFromSy",
|
|
41
41
|
"type": "event"
|
|
42
42
|
},
|
|
43
43
|
{
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
{
|
|
102
102
|
"indexed": true,
|
|
103
103
|
"internalType": "address",
|
|
104
|
-
"name": "
|
|
104
|
+
"name": "SY",
|
|
105
105
|
"type": "address"
|
|
106
106
|
},
|
|
107
107
|
{
|
|
@@ -119,11 +119,11 @@
|
|
|
119
119
|
{
|
|
120
120
|
"indexed": false,
|
|
121
121
|
"internalType": "uint256",
|
|
122
|
-
"name": "
|
|
122
|
+
"name": "netSyOut",
|
|
123
123
|
"type": "uint256"
|
|
124
124
|
}
|
|
125
125
|
],
|
|
126
|
-
"name": "
|
|
126
|
+
"name": "MintSyFromToken",
|
|
127
127
|
"type": "event"
|
|
128
128
|
},
|
|
129
129
|
{
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
{
|
|
139
139
|
"indexed": false,
|
|
140
140
|
"internalType": "address[]",
|
|
141
|
-
"name": "
|
|
141
|
+
"name": "sys",
|
|
142
142
|
"type": "address[]"
|
|
143
143
|
},
|
|
144
144
|
{
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
{
|
|
157
157
|
"indexed": false,
|
|
158
158
|
"internalType": "uint256[][]",
|
|
159
|
-
"name": "
|
|
159
|
+
"name": "syRewards",
|
|
160
160
|
"type": "uint256[][]"
|
|
161
161
|
},
|
|
162
162
|
{
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
{
|
|
194
194
|
"indexed": false,
|
|
195
195
|
"internalType": "address[]",
|
|
196
|
-
"name": "
|
|
196
|
+
"name": "sys",
|
|
197
197
|
"type": "address[]"
|
|
198
198
|
},
|
|
199
199
|
{
|
|
@@ -254,11 +254,11 @@
|
|
|
254
254
|
{
|
|
255
255
|
"indexed": false,
|
|
256
256
|
"internalType": "uint256",
|
|
257
|
-
"name": "
|
|
257
|
+
"name": "netSyOut",
|
|
258
258
|
"type": "uint256"
|
|
259
259
|
}
|
|
260
260
|
],
|
|
261
|
-
"name": "
|
|
261
|
+
"name": "RedeemPyToSy",
|
|
262
262
|
"type": "event"
|
|
263
263
|
},
|
|
264
264
|
{
|
|
@@ -322,13 +322,13 @@
|
|
|
322
322
|
{
|
|
323
323
|
"indexed": true,
|
|
324
324
|
"internalType": "address",
|
|
325
|
-
"name": "
|
|
325
|
+
"name": "SY",
|
|
326
326
|
"type": "address"
|
|
327
327
|
},
|
|
328
328
|
{
|
|
329
329
|
"indexed": false,
|
|
330
330
|
"internalType": "uint256",
|
|
331
|
-
"name": "
|
|
331
|
+
"name": "netSyIn",
|
|
332
332
|
"type": "uint256"
|
|
333
333
|
},
|
|
334
334
|
{
|
|
@@ -344,7 +344,7 @@
|
|
|
344
344
|
"type": "uint256"
|
|
345
345
|
}
|
|
346
346
|
],
|
|
347
|
-
"name": "
|
|
347
|
+
"name": "RedeemSyToToken",
|
|
348
348
|
"type": "event"
|
|
349
349
|
},
|
|
350
350
|
{
|
|
@@ -361,7 +361,7 @@
|
|
|
361
361
|
},
|
|
362
362
|
{
|
|
363
363
|
"internalType": "uint256",
|
|
364
|
-
"name": "
|
|
364
|
+
"name": "netSyIn",
|
|
365
365
|
"type": "uint256"
|
|
366
366
|
},
|
|
367
367
|
{
|
|
@@ -370,7 +370,7 @@
|
|
|
370
370
|
"type": "uint256"
|
|
371
371
|
}
|
|
372
372
|
],
|
|
373
|
-
"name": "
|
|
373
|
+
"name": "mintPyFromSy",
|
|
374
374
|
"outputs": [
|
|
375
375
|
{
|
|
376
376
|
"internalType": "uint256",
|
|
@@ -412,7 +412,7 @@
|
|
|
412
412
|
},
|
|
413
413
|
{
|
|
414
414
|
"internalType": "address",
|
|
415
|
-
"name": "
|
|
415
|
+
"name": "tokenMintSy",
|
|
416
416
|
"type": "address"
|
|
417
417
|
},
|
|
418
418
|
{
|
|
@@ -446,12 +446,12 @@
|
|
|
446
446
|
},
|
|
447
447
|
{
|
|
448
448
|
"internalType": "address",
|
|
449
|
-
"name": "
|
|
449
|
+
"name": "SY",
|
|
450
450
|
"type": "address"
|
|
451
451
|
},
|
|
452
452
|
{
|
|
453
453
|
"internalType": "uint256",
|
|
454
|
-
"name": "
|
|
454
|
+
"name": "minSyOut",
|
|
455
455
|
"type": "uint256"
|
|
456
456
|
},
|
|
457
457
|
{
|
|
@@ -468,7 +468,7 @@
|
|
|
468
468
|
},
|
|
469
469
|
{
|
|
470
470
|
"internalType": "address",
|
|
471
|
-
"name": "
|
|
471
|
+
"name": "tokenMintSy",
|
|
472
472
|
"type": "address"
|
|
473
473
|
},
|
|
474
474
|
{
|
|
@@ -482,11 +482,11 @@
|
|
|
482
482
|
"type": "tuple"
|
|
483
483
|
}
|
|
484
484
|
],
|
|
485
|
-
"name": "
|
|
485
|
+
"name": "mintSyFromToken",
|
|
486
486
|
"outputs": [
|
|
487
487
|
{
|
|
488
488
|
"internalType": "uint256",
|
|
489
|
-
"name": "
|
|
489
|
+
"name": "netSyOut",
|
|
490
490
|
"type": "uint256"
|
|
491
491
|
}
|
|
492
492
|
],
|
|
@@ -502,7 +502,7 @@
|
|
|
502
502
|
},
|
|
503
503
|
{
|
|
504
504
|
"internalType": "address[]",
|
|
505
|
-
"name": "
|
|
505
|
+
"name": "sys",
|
|
506
506
|
"type": "address[]"
|
|
507
507
|
},
|
|
508
508
|
{
|
|
@@ -520,7 +520,7 @@
|
|
|
520
520
|
"outputs": [
|
|
521
521
|
{
|
|
522
522
|
"internalType": "uint256[][]",
|
|
523
|
-
"name": "
|
|
523
|
+
"name": "syRewards",
|
|
524
524
|
"type": "uint256[][]"
|
|
525
525
|
},
|
|
526
526
|
{
|
|
@@ -546,7 +546,7 @@
|
|
|
546
546
|
"inputs": [
|
|
547
547
|
{
|
|
548
548
|
"internalType": "address[]",
|
|
549
|
-
"name": "
|
|
549
|
+
"name": "sys",
|
|
550
550
|
"type": "address[]"
|
|
551
551
|
},
|
|
552
552
|
{
|
|
@@ -558,12 +558,12 @@
|
|
|
558
558
|
},
|
|
559
559
|
{
|
|
560
560
|
"internalType": "address[]",
|
|
561
|
-
"name": "
|
|
561
|
+
"name": "syAddrs",
|
|
562
562
|
"type": "address[]"
|
|
563
563
|
},
|
|
564
564
|
{
|
|
565
565
|
"internalType": "address[]",
|
|
566
|
-
"name": "
|
|
566
|
+
"name": "tokenRedeemSys",
|
|
567
567
|
"type": "address[]"
|
|
568
568
|
}
|
|
569
569
|
],
|
|
@@ -639,15 +639,15 @@
|
|
|
639
639
|
},
|
|
640
640
|
{
|
|
641
641
|
"internalType": "uint256",
|
|
642
|
-
"name": "
|
|
642
|
+
"name": "minSyOut",
|
|
643
643
|
"type": "uint256"
|
|
644
644
|
}
|
|
645
645
|
],
|
|
646
|
-
"name": "
|
|
646
|
+
"name": "redeemPyToSy",
|
|
647
647
|
"outputs": [
|
|
648
648
|
{
|
|
649
649
|
"internalType": "uint256",
|
|
650
|
-
"name": "
|
|
650
|
+
"name": "netSyOut",
|
|
651
651
|
"type": "uint256"
|
|
652
652
|
}
|
|
653
653
|
],
|
|
@@ -685,7 +685,7 @@
|
|
|
685
685
|
},
|
|
686
686
|
{
|
|
687
687
|
"internalType": "address",
|
|
688
|
-
"name": "
|
|
688
|
+
"name": "tokenRedeemSy",
|
|
689
689
|
"type": "address"
|
|
690
690
|
},
|
|
691
691
|
{
|
|
@@ -719,12 +719,12 @@
|
|
|
719
719
|
},
|
|
720
720
|
{
|
|
721
721
|
"internalType": "address",
|
|
722
|
-
"name": "
|
|
722
|
+
"name": "SY",
|
|
723
723
|
"type": "address"
|
|
724
724
|
},
|
|
725
725
|
{
|
|
726
726
|
"internalType": "uint256",
|
|
727
|
-
"name": "
|
|
727
|
+
"name": "netSyIn",
|
|
728
728
|
"type": "uint256"
|
|
729
729
|
},
|
|
730
730
|
{
|
|
@@ -741,7 +741,7 @@
|
|
|
741
741
|
},
|
|
742
742
|
{
|
|
743
743
|
"internalType": "address",
|
|
744
|
-
"name": "
|
|
744
|
+
"name": "tokenRedeemSy",
|
|
745
745
|
"type": "address"
|
|
746
746
|
},
|
|
747
747
|
{
|
|
@@ -755,7 +755,7 @@
|
|
|
755
755
|
"type": "tuple"
|
|
756
756
|
}
|
|
757
757
|
],
|
|
758
|
-
"name": "
|
|
758
|
+
"name": "redeemSyToToken",
|
|
759
759
|
"outputs": [
|
|
760
760
|
{
|
|
761
761
|
"internalType": "uint256",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
{
|
|
34
34
|
"indexed": false,
|
|
35
35
|
"internalType": "int256",
|
|
36
|
-
"name": "
|
|
36
|
+
"name": "netSyToAccount",
|
|
37
37
|
"type": "int256"
|
|
38
38
|
}
|
|
39
39
|
],
|
|
40
|
-
"name": "
|
|
40
|
+
"name": "SwapPtAndSy",
|
|
41
41
|
"type": "event"
|
|
42
42
|
},
|
|
43
43
|
{
|
|
@@ -102,20 +102,20 @@
|
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
104
|
"internalType": "uint256",
|
|
105
|
-
"name": "
|
|
105
|
+
"name": "minSyOut",
|
|
106
106
|
"type": "uint256"
|
|
107
107
|
}
|
|
108
108
|
],
|
|
109
|
-
"name": "
|
|
109
|
+
"name": "swapExactPtForSy",
|
|
110
110
|
"outputs": [
|
|
111
111
|
{
|
|
112
112
|
"internalType": "uint256",
|
|
113
|
-
"name": "
|
|
113
|
+
"name": "netSyOut",
|
|
114
114
|
"type": "uint256"
|
|
115
115
|
},
|
|
116
116
|
{
|
|
117
117
|
"internalType": "uint256",
|
|
118
|
-
"name": "
|
|
118
|
+
"name": "netSyFee",
|
|
119
119
|
"type": "uint256"
|
|
120
120
|
}
|
|
121
121
|
],
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
155
|
"internalType": "address",
|
|
156
|
-
"name": "
|
|
156
|
+
"name": "tokenRedeemSy",
|
|
157
157
|
"type": "address"
|
|
158
158
|
},
|
|
159
159
|
{
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
},
|
|
177
177
|
{
|
|
178
178
|
"internalType": "uint256",
|
|
179
|
-
"name": "
|
|
179
|
+
"name": "netSyFee",
|
|
180
180
|
"type": "uint256"
|
|
181
181
|
}
|
|
182
182
|
],
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
},
|
|
198
198
|
{
|
|
199
199
|
"internalType": "uint256",
|
|
200
|
-
"name": "
|
|
200
|
+
"name": "exactSyIn",
|
|
201
201
|
"type": "uint256"
|
|
202
202
|
},
|
|
203
203
|
{
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
"type": "tuple"
|
|
239
239
|
}
|
|
240
240
|
],
|
|
241
|
-
"name": "
|
|
241
|
+
"name": "swapExactSyForPt",
|
|
242
242
|
"outputs": [
|
|
243
243
|
{
|
|
244
244
|
"internalType": "uint256",
|
|
@@ -247,7 +247,7 @@
|
|
|
247
247
|
},
|
|
248
248
|
{
|
|
249
249
|
"internalType": "uint256",
|
|
250
|
-
"name": "
|
|
250
|
+
"name": "netSyFee",
|
|
251
251
|
"type": "uint256"
|
|
252
252
|
}
|
|
253
253
|
],
|
|
@@ -317,7 +317,7 @@
|
|
|
317
317
|
},
|
|
318
318
|
{
|
|
319
319
|
"internalType": "address",
|
|
320
|
-
"name": "
|
|
320
|
+
"name": "tokenMintSy",
|
|
321
321
|
"type": "address"
|
|
322
322
|
},
|
|
323
323
|
{
|
|
@@ -340,7 +340,7 @@
|
|
|
340
340
|
},
|
|
341
341
|
{
|
|
342
342
|
"internalType": "uint256",
|
|
343
|
-
"name": "
|
|
343
|
+
"name": "netSyFee",
|
|
344
344
|
"type": "uint256"
|
|
345
345
|
}
|
|
346
346
|
],
|
|
@@ -361,7 +361,7 @@
|
|
|
361
361
|
},
|
|
362
362
|
{
|
|
363
363
|
"internalType": "uint256",
|
|
364
|
-
"name": "
|
|
364
|
+
"name": "exactSyOut",
|
|
365
365
|
"type": "uint256"
|
|
366
366
|
},
|
|
367
367
|
{
|
|
@@ -402,7 +402,7 @@
|
|
|
402
402
|
"type": "tuple"
|
|
403
403
|
}
|
|
404
404
|
],
|
|
405
|
-
"name": "
|
|
405
|
+
"name": "swapPtForExactSy",
|
|
406
406
|
"outputs": [
|
|
407
407
|
{
|
|
408
408
|
"internalType": "uint256",
|
|
@@ -411,7 +411,7 @@
|
|
|
411
411
|
},
|
|
412
412
|
{
|
|
413
413
|
"internalType": "uint256",
|
|
414
|
-
"name": "
|
|
414
|
+
"name": "netSyFee",
|
|
415
415
|
"type": "uint256"
|
|
416
416
|
}
|
|
417
417
|
],
|
|
@@ -437,20 +437,20 @@
|
|
|
437
437
|
},
|
|
438
438
|
{
|
|
439
439
|
"internalType": "uint256",
|
|
440
|
-
"name": "
|
|
440
|
+
"name": "maxSyIn",
|
|
441
441
|
"type": "uint256"
|
|
442
442
|
}
|
|
443
443
|
],
|
|
444
|
-
"name": "
|
|
444
|
+
"name": "swapSyForExactPt",
|
|
445
445
|
"outputs": [
|
|
446
446
|
{
|
|
447
447
|
"internalType": "uint256",
|
|
448
|
-
"name": "
|
|
448
|
+
"name": "netSyIn",
|
|
449
449
|
"type": "uint256"
|
|
450
450
|
},
|
|
451
451
|
{
|
|
452
452
|
"internalType": "uint256",
|
|
453
|
-
"name": "
|
|
453
|
+
"name": "netSyFee",
|
|
454
454
|
"type": "uint256"
|
|
455
455
|
}
|
|
456
456
|
],
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
},
|
|
105
105
|
{
|
|
106
106
|
"internalType": "uint256",
|
|
107
|
-
"name": "
|
|
107
|
+
"name": "netSyFee",
|
|
108
108
|
"type": "uint256"
|
|
109
109
|
}
|
|
110
110
|
],
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
},
|
|
176
176
|
{
|
|
177
177
|
"internalType": "uint256",
|
|
178
|
-
"name": "
|
|
178
|
+
"name": "netSyFee",
|
|
179
179
|
"type": "uint256"
|
|
180
180
|
}
|
|
181
181
|
],
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
{
|
|
34
34
|
"indexed": false,
|
|
35
35
|
"internalType": "int256",
|
|
36
|
-
"name": "
|
|
36
|
+
"name": "netSyToAccount",
|
|
37
37
|
"type": "int256"
|
|
38
38
|
}
|
|
39
39
|
],
|
|
40
|
-
"name": "
|
|
40
|
+
"name": "SwapYtAndSy",
|
|
41
41
|
"type": "event"
|
|
42
42
|
},
|
|
43
43
|
{
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
},
|
|
98
98
|
{
|
|
99
99
|
"internalType": "uint256",
|
|
100
|
-
"name": "
|
|
100
|
+
"name": "exactSyIn",
|
|
101
101
|
"type": "uint256"
|
|
102
102
|
},
|
|
103
103
|
{
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"type": "tuple"
|
|
139
139
|
}
|
|
140
140
|
],
|
|
141
|
-
"name": "
|
|
141
|
+
"name": "swapExactSyForYt",
|
|
142
142
|
"outputs": [
|
|
143
143
|
{
|
|
144
144
|
"internalType": "uint256",
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
},
|
|
148
148
|
{
|
|
149
149
|
"internalType": "uint256",
|
|
150
|
-
"name": "
|
|
150
|
+
"name": "netSyFee",
|
|
151
151
|
"type": "uint256"
|
|
152
152
|
}
|
|
153
153
|
],
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
},
|
|
218
218
|
{
|
|
219
219
|
"internalType": "address",
|
|
220
|
-
"name": "
|
|
220
|
+
"name": "tokenMintSy",
|
|
221
221
|
"type": "address"
|
|
222
222
|
},
|
|
223
223
|
{
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
},
|
|
241
241
|
{
|
|
242
242
|
"internalType": "uint256",
|
|
243
|
-
"name": "
|
|
243
|
+
"name": "netSyFee",
|
|
244
244
|
"type": "uint256"
|
|
245
245
|
}
|
|
246
246
|
],
|
|
@@ -266,20 +266,20 @@
|
|
|
266
266
|
},
|
|
267
267
|
{
|
|
268
268
|
"internalType": "uint256",
|
|
269
|
-
"name": "
|
|
269
|
+
"name": "minSyOut",
|
|
270
270
|
"type": "uint256"
|
|
271
271
|
}
|
|
272
272
|
],
|
|
273
|
-
"name": "
|
|
273
|
+
"name": "swapExactYtForSy",
|
|
274
274
|
"outputs": [
|
|
275
275
|
{
|
|
276
276
|
"internalType": "uint256",
|
|
277
|
-
"name": "
|
|
277
|
+
"name": "netSyOut",
|
|
278
278
|
"type": "uint256"
|
|
279
279
|
},
|
|
280
280
|
{
|
|
281
281
|
"internalType": "uint256",
|
|
282
|
-
"name": "
|
|
282
|
+
"name": "netSyFee",
|
|
283
283
|
"type": "uint256"
|
|
284
284
|
}
|
|
285
285
|
],
|
|
@@ -317,7 +317,7 @@
|
|
|
317
317
|
},
|
|
318
318
|
{
|
|
319
319
|
"internalType": "address",
|
|
320
|
-
"name": "
|
|
320
|
+
"name": "tokenRedeemSy",
|
|
321
321
|
"type": "address"
|
|
322
322
|
},
|
|
323
323
|
{
|
|
@@ -340,7 +340,7 @@
|
|
|
340
340
|
},
|
|
341
341
|
{
|
|
342
342
|
"internalType": "uint256",
|
|
343
|
-
"name": "
|
|
343
|
+
"name": "netSyFee",
|
|
344
344
|
"type": "uint256"
|
|
345
345
|
}
|
|
346
346
|
],
|
|
@@ -366,20 +366,20 @@
|
|
|
366
366
|
},
|
|
367
367
|
{
|
|
368
368
|
"internalType": "uint256",
|
|
369
|
-
"name": "
|
|
369
|
+
"name": "maxSyIn",
|
|
370
370
|
"type": "uint256"
|
|
371
371
|
}
|
|
372
372
|
],
|
|
373
|
-
"name": "
|
|
373
|
+
"name": "swapSyForExactYt",
|
|
374
374
|
"outputs": [
|
|
375
375
|
{
|
|
376
376
|
"internalType": "uint256",
|
|
377
|
-
"name": "
|
|
377
|
+
"name": "netSyIn",
|
|
378
378
|
"type": "uint256"
|
|
379
379
|
},
|
|
380
380
|
{
|
|
381
381
|
"internalType": "uint256",
|
|
382
|
-
"name": "
|
|
382
|
+
"name": "netSyFee",
|
|
383
383
|
"type": "uint256"
|
|
384
384
|
}
|
|
385
385
|
],
|
|
@@ -400,7 +400,7 @@
|
|
|
400
400
|
},
|
|
401
401
|
{
|
|
402
402
|
"internalType": "uint256",
|
|
403
|
-
"name": "
|
|
403
|
+
"name": "exactSyOut",
|
|
404
404
|
"type": "uint256"
|
|
405
405
|
},
|
|
406
406
|
{
|
|
@@ -441,7 +441,7 @@
|
|
|
441
441
|
"type": "tuple"
|
|
442
442
|
}
|
|
443
443
|
],
|
|
444
|
-
"name": "
|
|
444
|
+
"name": "swapYtForExactSy",
|
|
445
445
|
"outputs": [
|
|
446
446
|
{
|
|
447
447
|
"internalType": "uint256",
|
|
@@ -450,7 +450,7 @@
|
|
|
450
450
|
},
|
|
451
451
|
{
|
|
452
452
|
"internalType": "uint256",
|
|
453
|
-
"name": "
|
|
453
|
+
"name": "netSyFee",
|
|
454
454
|
"type": "uint256"
|
|
455
455
|
}
|
|
456
456
|
],
|