@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
|
@@ -31,7 +31,7 @@ const _abi = [
|
|
|
31
31
|
{
|
|
32
32
|
indexed: false,
|
|
33
33
|
internalType: "uint256",
|
|
34
|
-
name: "
|
|
34
|
+
name: "netSyUsed",
|
|
35
35
|
type: "uint256",
|
|
36
36
|
},
|
|
37
37
|
{
|
|
@@ -47,7 +47,7 @@ const _abi = [
|
|
|
47
47
|
type: "uint256",
|
|
48
48
|
},
|
|
49
49
|
],
|
|
50
|
-
name: "
|
|
50
|
+
name: "AddLiquidityDualSyAndPt",
|
|
51
51
|
type: "event",
|
|
52
52
|
},
|
|
53
53
|
{
|
|
@@ -160,7 +160,7 @@ const _abi = [
|
|
|
160
160
|
{
|
|
161
161
|
indexed: false,
|
|
162
162
|
internalType: "uint256",
|
|
163
|
-
name: "
|
|
163
|
+
name: "netSyIn",
|
|
164
164
|
type: "uint256",
|
|
165
165
|
},
|
|
166
166
|
{
|
|
@@ -170,7 +170,7 @@ const _abi = [
|
|
|
170
170
|
type: "uint256",
|
|
171
171
|
},
|
|
172
172
|
],
|
|
173
|
-
name: "
|
|
173
|
+
name: "AddLiquiditySingleSy",
|
|
174
174
|
type: "event",
|
|
175
175
|
},
|
|
176
176
|
{
|
|
@@ -240,7 +240,7 @@ const _abi = [
|
|
|
240
240
|
{
|
|
241
241
|
indexed: false,
|
|
242
242
|
internalType: "uint256",
|
|
243
|
-
name: "
|
|
243
|
+
name: "netSyIn",
|
|
244
244
|
type: "uint256",
|
|
245
245
|
},
|
|
246
246
|
{
|
|
@@ -250,7 +250,7 @@ const _abi = [
|
|
|
250
250
|
type: "uint256",
|
|
251
251
|
},
|
|
252
252
|
],
|
|
253
|
-
name: "
|
|
253
|
+
name: "MintPyFromSy",
|
|
254
254
|
type: "event",
|
|
255
255
|
},
|
|
256
256
|
{
|
|
@@ -314,7 +314,7 @@ const _abi = [
|
|
|
314
314
|
{
|
|
315
315
|
indexed: true,
|
|
316
316
|
internalType: "address",
|
|
317
|
-
name: "
|
|
317
|
+
name: "SY",
|
|
318
318
|
type: "address",
|
|
319
319
|
},
|
|
320
320
|
{
|
|
@@ -332,11 +332,11 @@ const _abi = [
|
|
|
332
332
|
{
|
|
333
333
|
indexed: false,
|
|
334
334
|
internalType: "uint256",
|
|
335
|
-
name: "
|
|
335
|
+
name: "netSyOut",
|
|
336
336
|
type: "uint256",
|
|
337
337
|
},
|
|
338
338
|
],
|
|
339
|
-
name: "
|
|
339
|
+
name: "MintSyFromToken",
|
|
340
340
|
type: "event",
|
|
341
341
|
},
|
|
342
342
|
{
|
|
@@ -351,7 +351,7 @@ const _abi = [
|
|
|
351
351
|
{
|
|
352
352
|
indexed: false,
|
|
353
353
|
internalType: "address[]",
|
|
354
|
-
name: "
|
|
354
|
+
name: "sys",
|
|
355
355
|
type: "address[]",
|
|
356
356
|
},
|
|
357
357
|
{
|
|
@@ -369,7 +369,7 @@ const _abi = [
|
|
|
369
369
|
{
|
|
370
370
|
indexed: false,
|
|
371
371
|
internalType: "uint256[][]",
|
|
372
|
-
name: "
|
|
372
|
+
name: "syRewards",
|
|
373
373
|
type: "uint256[][]",
|
|
374
374
|
},
|
|
375
375
|
{
|
|
@@ -406,7 +406,7 @@ const _abi = [
|
|
|
406
406
|
{
|
|
407
407
|
indexed: false,
|
|
408
408
|
internalType: "address[]",
|
|
409
|
-
name: "
|
|
409
|
+
name: "sys",
|
|
410
410
|
type: "address[]",
|
|
411
411
|
},
|
|
412
412
|
{
|
|
@@ -467,11 +467,11 @@ const _abi = [
|
|
|
467
467
|
{
|
|
468
468
|
indexed: false,
|
|
469
469
|
internalType: "uint256",
|
|
470
|
-
name: "
|
|
470
|
+
name: "netSyOut",
|
|
471
471
|
type: "uint256",
|
|
472
472
|
},
|
|
473
473
|
],
|
|
474
|
-
name: "
|
|
474
|
+
name: "RedeemPyToSy",
|
|
475
475
|
type: "event",
|
|
476
476
|
},
|
|
477
477
|
{
|
|
@@ -535,13 +535,13 @@ const _abi = [
|
|
|
535
535
|
{
|
|
536
536
|
indexed: true,
|
|
537
537
|
internalType: "address",
|
|
538
|
-
name: "
|
|
538
|
+
name: "SY",
|
|
539
539
|
type: "address",
|
|
540
540
|
},
|
|
541
541
|
{
|
|
542
542
|
indexed: false,
|
|
543
543
|
internalType: "uint256",
|
|
544
|
-
name: "
|
|
544
|
+
name: "netSyIn",
|
|
545
545
|
type: "uint256",
|
|
546
546
|
},
|
|
547
547
|
{
|
|
@@ -557,7 +557,7 @@ const _abi = [
|
|
|
557
557
|
type: "uint256",
|
|
558
558
|
},
|
|
559
559
|
],
|
|
560
|
-
name: "
|
|
560
|
+
name: "RedeemSyToToken",
|
|
561
561
|
type: "event",
|
|
562
562
|
},
|
|
563
563
|
{
|
|
@@ -596,11 +596,11 @@ const _abi = [
|
|
|
596
596
|
{
|
|
597
597
|
indexed: false,
|
|
598
598
|
internalType: "uint256",
|
|
599
|
-
name: "
|
|
599
|
+
name: "netSyOut",
|
|
600
600
|
type: "uint256",
|
|
601
601
|
},
|
|
602
602
|
],
|
|
603
|
-
name: "
|
|
603
|
+
name: "RemoveLiquidityDualSyAndPt",
|
|
604
604
|
type: "event",
|
|
605
605
|
},
|
|
606
606
|
{
|
|
@@ -719,11 +719,11 @@ const _abi = [
|
|
|
719
719
|
{
|
|
720
720
|
indexed: false,
|
|
721
721
|
internalType: "uint256",
|
|
722
|
-
name: "
|
|
722
|
+
name: "netSyOut",
|
|
723
723
|
type: "uint256",
|
|
724
724
|
},
|
|
725
725
|
],
|
|
726
|
-
name: "
|
|
726
|
+
name: "RemoveLiquiditySingleSy",
|
|
727
727
|
type: "event",
|
|
728
728
|
},
|
|
729
729
|
{
|
|
@@ -799,11 +799,11 @@ const _abi = [
|
|
|
799
799
|
{
|
|
800
800
|
indexed: false,
|
|
801
801
|
internalType: "int256",
|
|
802
|
-
name: "
|
|
802
|
+
name: "netSyToAccount",
|
|
803
803
|
type: "int256",
|
|
804
804
|
},
|
|
805
805
|
],
|
|
806
|
-
name: "
|
|
806
|
+
name: "SwapPtAndSy",
|
|
807
807
|
type: "event",
|
|
808
808
|
},
|
|
809
809
|
{
|
|
@@ -916,11 +916,11 @@ const _abi = [
|
|
|
916
916
|
{
|
|
917
917
|
indexed: false,
|
|
918
918
|
internalType: "int256",
|
|
919
|
-
name: "
|
|
919
|
+
name: "netSyToAccount",
|
|
920
920
|
type: "int256",
|
|
921
921
|
},
|
|
922
922
|
],
|
|
923
|
-
name: "
|
|
923
|
+
name: "SwapYtAndSy",
|
|
924
924
|
type: "event",
|
|
925
925
|
},
|
|
926
926
|
{
|
|
@@ -980,7 +980,7 @@ const _abi = [
|
|
|
980
980
|
},
|
|
981
981
|
{
|
|
982
982
|
internalType: "uint256",
|
|
983
|
-
name: "
|
|
983
|
+
name: "netSyDesired",
|
|
984
984
|
type: "uint256",
|
|
985
985
|
},
|
|
986
986
|
{
|
|
@@ -994,7 +994,7 @@ const _abi = [
|
|
|
994
994
|
type: "uint256",
|
|
995
995
|
},
|
|
996
996
|
],
|
|
997
|
-
name: "
|
|
997
|
+
name: "addLiquidityDualSyAndPt",
|
|
998
998
|
outputs: [
|
|
999
999
|
{
|
|
1000
1000
|
internalType: "uint256",
|
|
@@ -1003,7 +1003,7 @@ const _abi = [
|
|
|
1003
1003
|
},
|
|
1004
1004
|
{
|
|
1005
1005
|
internalType: "uint256",
|
|
1006
|
-
name: "
|
|
1006
|
+
name: "netSyUsed",
|
|
1007
1007
|
type: "uint256",
|
|
1008
1008
|
},
|
|
1009
1009
|
{
|
|
@@ -1120,7 +1120,7 @@ const _abi = [
|
|
|
1120
1120
|
},
|
|
1121
1121
|
],
|
|
1122
1122
|
internalType: "struct ApproxParams",
|
|
1123
|
-
name: "
|
|
1123
|
+
name: "guessPtSwapToSy",
|
|
1124
1124
|
type: "tuple",
|
|
1125
1125
|
},
|
|
1126
1126
|
],
|
|
@@ -1133,7 +1133,7 @@ const _abi = [
|
|
|
1133
1133
|
},
|
|
1134
1134
|
{
|
|
1135
1135
|
internalType: "uint256",
|
|
1136
|
-
name: "
|
|
1136
|
+
name: "netSyFee",
|
|
1137
1137
|
type: "uint256",
|
|
1138
1138
|
},
|
|
1139
1139
|
],
|
|
@@ -1154,7 +1154,7 @@ const _abi = [
|
|
|
1154
1154
|
},
|
|
1155
1155
|
{
|
|
1156
1156
|
internalType: "uint256",
|
|
1157
|
-
name: "
|
|
1157
|
+
name: "netSyIn",
|
|
1158
1158
|
type: "uint256",
|
|
1159
1159
|
},
|
|
1160
1160
|
{
|
|
@@ -1191,11 +1191,11 @@ const _abi = [
|
|
|
1191
1191
|
},
|
|
1192
1192
|
],
|
|
1193
1193
|
internalType: "struct ApproxParams",
|
|
1194
|
-
name: "
|
|
1194
|
+
name: "guessPtReceivedFromSy",
|
|
1195
1195
|
type: "tuple",
|
|
1196
1196
|
},
|
|
1197
1197
|
],
|
|
1198
|
-
name: "
|
|
1198
|
+
name: "addLiquiditySingleSy",
|
|
1199
1199
|
outputs: [
|
|
1200
1200
|
{
|
|
1201
1201
|
internalType: "uint256",
|
|
@@ -1204,7 +1204,7 @@ const _abi = [
|
|
|
1204
1204
|
},
|
|
1205
1205
|
{
|
|
1206
1206
|
internalType: "uint256",
|
|
1207
|
-
name: "
|
|
1207
|
+
name: "netSyFee",
|
|
1208
1208
|
type: "uint256",
|
|
1209
1209
|
},
|
|
1210
1210
|
],
|
|
@@ -1257,7 +1257,7 @@ const _abi = [
|
|
|
1257
1257
|
},
|
|
1258
1258
|
],
|
|
1259
1259
|
internalType: "struct ApproxParams",
|
|
1260
|
-
name: "
|
|
1260
|
+
name: "guessPtReceivedFromSy",
|
|
1261
1261
|
type: "tuple",
|
|
1262
1262
|
},
|
|
1263
1263
|
{
|
|
@@ -1274,7 +1274,7 @@ const _abi = [
|
|
|
1274
1274
|
},
|
|
1275
1275
|
{
|
|
1276
1276
|
internalType: "address",
|
|
1277
|
-
name: "
|
|
1277
|
+
name: "tokenMintSy",
|
|
1278
1278
|
type: "address",
|
|
1279
1279
|
},
|
|
1280
1280
|
{
|
|
@@ -1297,7 +1297,7 @@ const _abi = [
|
|
|
1297
1297
|
},
|
|
1298
1298
|
{
|
|
1299
1299
|
internalType: "uint256",
|
|
1300
|
-
name: "
|
|
1300
|
+
name: "netSyFee",
|
|
1301
1301
|
type: "uint256",
|
|
1302
1302
|
},
|
|
1303
1303
|
],
|
|
@@ -1342,7 +1342,7 @@ const _abi = [
|
|
|
1342
1342
|
},
|
|
1343
1343
|
{
|
|
1344
1344
|
internalType: "uint256",
|
|
1345
|
-
name: "
|
|
1345
|
+
name: "netSyIn",
|
|
1346
1346
|
type: "uint256",
|
|
1347
1347
|
},
|
|
1348
1348
|
{
|
|
@@ -1351,7 +1351,7 @@ const _abi = [
|
|
|
1351
1351
|
type: "uint256",
|
|
1352
1352
|
},
|
|
1353
1353
|
],
|
|
1354
|
-
name: "
|
|
1354
|
+
name: "mintPyFromSy",
|
|
1355
1355
|
outputs: [
|
|
1356
1356
|
{
|
|
1357
1357
|
internalType: "uint256",
|
|
@@ -1393,7 +1393,7 @@ const _abi = [
|
|
|
1393
1393
|
},
|
|
1394
1394
|
{
|
|
1395
1395
|
internalType: "address",
|
|
1396
|
-
name: "
|
|
1396
|
+
name: "tokenMintSy",
|
|
1397
1397
|
type: "address",
|
|
1398
1398
|
},
|
|
1399
1399
|
{
|
|
@@ -1427,12 +1427,12 @@ const _abi = [
|
|
|
1427
1427
|
},
|
|
1428
1428
|
{
|
|
1429
1429
|
internalType: "address",
|
|
1430
|
-
name: "
|
|
1430
|
+
name: "SY",
|
|
1431
1431
|
type: "address",
|
|
1432
1432
|
},
|
|
1433
1433
|
{
|
|
1434
1434
|
internalType: "uint256",
|
|
1435
|
-
name: "
|
|
1435
|
+
name: "minSyOut",
|
|
1436
1436
|
type: "uint256",
|
|
1437
1437
|
},
|
|
1438
1438
|
{
|
|
@@ -1449,7 +1449,7 @@ const _abi = [
|
|
|
1449
1449
|
},
|
|
1450
1450
|
{
|
|
1451
1451
|
internalType: "address",
|
|
1452
|
-
name: "
|
|
1452
|
+
name: "tokenMintSy",
|
|
1453
1453
|
type: "address",
|
|
1454
1454
|
},
|
|
1455
1455
|
{
|
|
@@ -1463,11 +1463,11 @@ const _abi = [
|
|
|
1463
1463
|
type: "tuple",
|
|
1464
1464
|
},
|
|
1465
1465
|
],
|
|
1466
|
-
name: "
|
|
1466
|
+
name: "mintSyFromToken",
|
|
1467
1467
|
outputs: [
|
|
1468
1468
|
{
|
|
1469
1469
|
internalType: "uint256",
|
|
1470
|
-
name: "
|
|
1470
|
+
name: "netSyOut",
|
|
1471
1471
|
type: "uint256",
|
|
1472
1472
|
},
|
|
1473
1473
|
],
|
|
@@ -1483,7 +1483,7 @@ const _abi = [
|
|
|
1483
1483
|
},
|
|
1484
1484
|
{
|
|
1485
1485
|
internalType: "address[]",
|
|
1486
|
-
name: "
|
|
1486
|
+
name: "sys",
|
|
1487
1487
|
type: "address[]",
|
|
1488
1488
|
},
|
|
1489
1489
|
{
|
|
@@ -1501,7 +1501,7 @@ const _abi = [
|
|
|
1501
1501
|
outputs: [
|
|
1502
1502
|
{
|
|
1503
1503
|
internalType: "uint256[][]",
|
|
1504
|
-
name: "
|
|
1504
|
+
name: "syRewards",
|
|
1505
1505
|
type: "uint256[][]",
|
|
1506
1506
|
},
|
|
1507
1507
|
{
|
|
@@ -1527,7 +1527,7 @@ const _abi = [
|
|
|
1527
1527
|
inputs: [
|
|
1528
1528
|
{
|
|
1529
1529
|
internalType: "address[]",
|
|
1530
|
-
name: "
|
|
1530
|
+
name: "sys",
|
|
1531
1531
|
type: "address[]",
|
|
1532
1532
|
},
|
|
1533
1533
|
{
|
|
@@ -1539,12 +1539,12 @@ const _abi = [
|
|
|
1539
1539
|
},
|
|
1540
1540
|
{
|
|
1541
1541
|
internalType: "address[]",
|
|
1542
|
-
name: "
|
|
1542
|
+
name: "syAddrs",
|
|
1543
1543
|
type: "address[]",
|
|
1544
1544
|
},
|
|
1545
1545
|
{
|
|
1546
1546
|
internalType: "address[]",
|
|
1547
|
-
name: "
|
|
1547
|
+
name: "tokenRedeemSys",
|
|
1548
1548
|
type: "address[]",
|
|
1549
1549
|
},
|
|
1550
1550
|
],
|
|
@@ -1620,15 +1620,15 @@ const _abi = [
|
|
|
1620
1620
|
},
|
|
1621
1621
|
{
|
|
1622
1622
|
internalType: "uint256",
|
|
1623
|
-
name: "
|
|
1623
|
+
name: "minSyOut",
|
|
1624
1624
|
type: "uint256",
|
|
1625
1625
|
},
|
|
1626
1626
|
],
|
|
1627
|
-
name: "
|
|
1627
|
+
name: "redeemPyToSy",
|
|
1628
1628
|
outputs: [
|
|
1629
1629
|
{
|
|
1630
1630
|
internalType: "uint256",
|
|
1631
|
-
name: "
|
|
1631
|
+
name: "netSyOut",
|
|
1632
1632
|
type: "uint256",
|
|
1633
1633
|
},
|
|
1634
1634
|
],
|
|
@@ -1666,7 +1666,7 @@ const _abi = [
|
|
|
1666
1666
|
},
|
|
1667
1667
|
{
|
|
1668
1668
|
internalType: "address",
|
|
1669
|
-
name: "
|
|
1669
|
+
name: "tokenRedeemSy",
|
|
1670
1670
|
type: "address",
|
|
1671
1671
|
},
|
|
1672
1672
|
{
|
|
@@ -1700,12 +1700,12 @@ const _abi = [
|
|
|
1700
1700
|
},
|
|
1701
1701
|
{
|
|
1702
1702
|
internalType: "address",
|
|
1703
|
-
name: "
|
|
1703
|
+
name: "SY",
|
|
1704
1704
|
type: "address",
|
|
1705
1705
|
},
|
|
1706
1706
|
{
|
|
1707
1707
|
internalType: "uint256",
|
|
1708
|
-
name: "
|
|
1708
|
+
name: "netSyIn",
|
|
1709
1709
|
type: "uint256",
|
|
1710
1710
|
},
|
|
1711
1711
|
{
|
|
@@ -1722,7 +1722,7 @@ const _abi = [
|
|
|
1722
1722
|
},
|
|
1723
1723
|
{
|
|
1724
1724
|
internalType: "address",
|
|
1725
|
-
name: "
|
|
1725
|
+
name: "tokenRedeemSy",
|
|
1726
1726
|
type: "address",
|
|
1727
1727
|
},
|
|
1728
1728
|
{
|
|
@@ -1736,7 +1736,7 @@ const _abi = [
|
|
|
1736
1736
|
type: "tuple",
|
|
1737
1737
|
},
|
|
1738
1738
|
],
|
|
1739
|
-
name: "
|
|
1739
|
+
name: "redeemSyToToken",
|
|
1740
1740
|
outputs: [
|
|
1741
1741
|
{
|
|
1742
1742
|
internalType: "uint256",
|
|
@@ -1766,7 +1766,7 @@ const _abi = [
|
|
|
1766
1766
|
},
|
|
1767
1767
|
{
|
|
1768
1768
|
internalType: "uint256",
|
|
1769
|
-
name: "
|
|
1769
|
+
name: "minSyOut",
|
|
1770
1770
|
type: "uint256",
|
|
1771
1771
|
},
|
|
1772
1772
|
{
|
|
@@ -1775,11 +1775,11 @@ const _abi = [
|
|
|
1775
1775
|
type: "uint256",
|
|
1776
1776
|
},
|
|
1777
1777
|
],
|
|
1778
|
-
name: "
|
|
1778
|
+
name: "removeLiquidityDualSyAndPt",
|
|
1779
1779
|
outputs: [
|
|
1780
1780
|
{
|
|
1781
1781
|
internalType: "uint256",
|
|
1782
|
-
name: "
|
|
1782
|
+
name: "netSyOut",
|
|
1783
1783
|
type: "uint256",
|
|
1784
1784
|
},
|
|
1785
1785
|
{
|
|
@@ -1904,7 +1904,7 @@ const _abi = [
|
|
|
1904
1904
|
},
|
|
1905
1905
|
{
|
|
1906
1906
|
internalType: "uint256",
|
|
1907
|
-
name: "
|
|
1907
|
+
name: "netSyFee",
|
|
1908
1908
|
type: "uint256",
|
|
1909
1909
|
},
|
|
1910
1910
|
],
|
|
@@ -1930,20 +1930,20 @@ const _abi = [
|
|
|
1930
1930
|
},
|
|
1931
1931
|
{
|
|
1932
1932
|
internalType: "uint256",
|
|
1933
|
-
name: "
|
|
1933
|
+
name: "minSyOut",
|
|
1934
1934
|
type: "uint256",
|
|
1935
1935
|
},
|
|
1936
1936
|
],
|
|
1937
|
-
name: "
|
|
1937
|
+
name: "removeLiquiditySingleSy",
|
|
1938
1938
|
outputs: [
|
|
1939
1939
|
{
|
|
1940
1940
|
internalType: "uint256",
|
|
1941
|
-
name: "
|
|
1941
|
+
name: "netSyOut",
|
|
1942
1942
|
type: "uint256",
|
|
1943
1943
|
},
|
|
1944
1944
|
{
|
|
1945
1945
|
internalType: "uint256",
|
|
1946
|
-
name: "
|
|
1946
|
+
name: "netSyFee",
|
|
1947
1947
|
type: "uint256",
|
|
1948
1948
|
},
|
|
1949
1949
|
],
|
|
@@ -1981,7 +1981,7 @@ const _abi = [
|
|
|
1981
1981
|
},
|
|
1982
1982
|
{
|
|
1983
1983
|
internalType: "address",
|
|
1984
|
-
name: "
|
|
1984
|
+
name: "tokenRedeemSy",
|
|
1985
1985
|
type: "address",
|
|
1986
1986
|
},
|
|
1987
1987
|
{
|
|
@@ -2004,7 +2004,7 @@ const _abi = [
|
|
|
2004
2004
|
},
|
|
2005
2005
|
{
|
|
2006
2006
|
internalType: "uint256",
|
|
2007
|
-
name: "
|
|
2007
|
+
name: "netSyFee",
|
|
2008
2008
|
type: "uint256",
|
|
2009
2009
|
},
|
|
2010
2010
|
],
|
|
@@ -2030,20 +2030,20 @@ const _abi = [
|
|
|
2030
2030
|
},
|
|
2031
2031
|
{
|
|
2032
2032
|
internalType: "uint256",
|
|
2033
|
-
name: "
|
|
2033
|
+
name: "minSyOut",
|
|
2034
2034
|
type: "uint256",
|
|
2035
2035
|
},
|
|
2036
2036
|
],
|
|
2037
|
-
name: "
|
|
2037
|
+
name: "swapExactPtForSy",
|
|
2038
2038
|
outputs: [
|
|
2039
2039
|
{
|
|
2040
2040
|
internalType: "uint256",
|
|
2041
|
-
name: "
|
|
2041
|
+
name: "netSyOut",
|
|
2042
2042
|
type: "uint256",
|
|
2043
2043
|
},
|
|
2044
2044
|
{
|
|
2045
2045
|
internalType: "uint256",
|
|
2046
|
-
name: "
|
|
2046
|
+
name: "netSyFee",
|
|
2047
2047
|
type: "uint256",
|
|
2048
2048
|
},
|
|
2049
2049
|
],
|
|
@@ -2081,7 +2081,7 @@ const _abi = [
|
|
|
2081
2081
|
},
|
|
2082
2082
|
{
|
|
2083
2083
|
internalType: "address",
|
|
2084
|
-
name: "
|
|
2084
|
+
name: "tokenRedeemSy",
|
|
2085
2085
|
type: "address",
|
|
2086
2086
|
},
|
|
2087
2087
|
{
|
|
@@ -2104,7 +2104,7 @@ const _abi = [
|
|
|
2104
2104
|
},
|
|
2105
2105
|
{
|
|
2106
2106
|
internalType: "uint256",
|
|
2107
|
-
name: "
|
|
2107
|
+
name: "netSyFee",
|
|
2108
2108
|
type: "uint256",
|
|
2109
2109
|
},
|
|
2110
2110
|
],
|
|
@@ -2175,7 +2175,7 @@ const _abi = [
|
|
|
2175
2175
|
},
|
|
2176
2176
|
{
|
|
2177
2177
|
internalType: "uint256",
|
|
2178
|
-
name: "
|
|
2178
|
+
name: "netSyFee",
|
|
2179
2179
|
type: "uint256",
|
|
2180
2180
|
},
|
|
2181
2181
|
],
|
|
@@ -2196,7 +2196,7 @@ const _abi = [
|
|
|
2196
2196
|
},
|
|
2197
2197
|
{
|
|
2198
2198
|
internalType: "uint256",
|
|
2199
|
-
name: "
|
|
2199
|
+
name: "exactSyIn",
|
|
2200
2200
|
type: "uint256",
|
|
2201
2201
|
},
|
|
2202
2202
|
{
|
|
@@ -2237,7 +2237,7 @@ const _abi = [
|
|
|
2237
2237
|
type: "tuple",
|
|
2238
2238
|
},
|
|
2239
2239
|
],
|
|
2240
|
-
name: "
|
|
2240
|
+
name: "swapExactSyForPt",
|
|
2241
2241
|
outputs: [
|
|
2242
2242
|
{
|
|
2243
2243
|
internalType: "uint256",
|
|
@@ -2246,7 +2246,7 @@ const _abi = [
|
|
|
2246
2246
|
},
|
|
2247
2247
|
{
|
|
2248
2248
|
internalType: "uint256",
|
|
2249
|
-
name: "
|
|
2249
|
+
name: "netSyFee",
|
|
2250
2250
|
type: "uint256",
|
|
2251
2251
|
},
|
|
2252
2252
|
],
|
|
@@ -2267,7 +2267,7 @@ const _abi = [
|
|
|
2267
2267
|
},
|
|
2268
2268
|
{
|
|
2269
2269
|
internalType: "uint256",
|
|
2270
|
-
name: "
|
|
2270
|
+
name: "exactSyIn",
|
|
2271
2271
|
type: "uint256",
|
|
2272
2272
|
},
|
|
2273
2273
|
{
|
|
@@ -2308,7 +2308,7 @@ const _abi = [
|
|
|
2308
2308
|
type: "tuple",
|
|
2309
2309
|
},
|
|
2310
2310
|
],
|
|
2311
|
-
name: "
|
|
2311
|
+
name: "swapExactSyForYt",
|
|
2312
2312
|
outputs: [
|
|
2313
2313
|
{
|
|
2314
2314
|
internalType: "uint256",
|
|
@@ -2317,7 +2317,7 @@ const _abi = [
|
|
|
2317
2317
|
},
|
|
2318
2318
|
{
|
|
2319
2319
|
internalType: "uint256",
|
|
2320
|
-
name: "
|
|
2320
|
+
name: "netSyFee",
|
|
2321
2321
|
type: "uint256",
|
|
2322
2322
|
},
|
|
2323
2323
|
],
|
|
@@ -2387,7 +2387,7 @@ const _abi = [
|
|
|
2387
2387
|
},
|
|
2388
2388
|
{
|
|
2389
2389
|
internalType: "address",
|
|
2390
|
-
name: "
|
|
2390
|
+
name: "tokenMintSy",
|
|
2391
2391
|
type: "address",
|
|
2392
2392
|
},
|
|
2393
2393
|
{
|
|
@@ -2410,7 +2410,7 @@ const _abi = [
|
|
|
2410
2410
|
},
|
|
2411
2411
|
{
|
|
2412
2412
|
internalType: "uint256",
|
|
2413
|
-
name: "
|
|
2413
|
+
name: "netSyFee",
|
|
2414
2414
|
type: "uint256",
|
|
2415
2415
|
},
|
|
2416
2416
|
],
|
|
@@ -2480,7 +2480,7 @@ const _abi = [
|
|
|
2480
2480
|
},
|
|
2481
2481
|
{
|
|
2482
2482
|
internalType: "address",
|
|
2483
|
-
name: "
|
|
2483
|
+
name: "tokenMintSy",
|
|
2484
2484
|
type: "address",
|
|
2485
2485
|
},
|
|
2486
2486
|
{
|
|
@@ -2503,7 +2503,7 @@ const _abi = [
|
|
|
2503
2503
|
},
|
|
2504
2504
|
{
|
|
2505
2505
|
internalType: "uint256",
|
|
2506
|
-
name: "
|
|
2506
|
+
name: "netSyFee",
|
|
2507
2507
|
type: "uint256",
|
|
2508
2508
|
},
|
|
2509
2509
|
],
|
|
@@ -2574,7 +2574,7 @@ const _abi = [
|
|
|
2574
2574
|
},
|
|
2575
2575
|
{
|
|
2576
2576
|
internalType: "uint256",
|
|
2577
|
-
name: "
|
|
2577
|
+
name: "netSyFee",
|
|
2578
2578
|
type: "uint256",
|
|
2579
2579
|
},
|
|
2580
2580
|
],
|
|
@@ -2600,20 +2600,20 @@ const _abi = [
|
|
|
2600
2600
|
},
|
|
2601
2601
|
{
|
|
2602
2602
|
internalType: "uint256",
|
|
2603
|
-
name: "
|
|
2603
|
+
name: "minSyOut",
|
|
2604
2604
|
type: "uint256",
|
|
2605
2605
|
},
|
|
2606
2606
|
],
|
|
2607
|
-
name: "
|
|
2607
|
+
name: "swapExactYtForSy",
|
|
2608
2608
|
outputs: [
|
|
2609
2609
|
{
|
|
2610
2610
|
internalType: "uint256",
|
|
2611
|
-
name: "
|
|
2611
|
+
name: "netSyOut",
|
|
2612
2612
|
type: "uint256",
|
|
2613
2613
|
},
|
|
2614
2614
|
{
|
|
2615
2615
|
internalType: "uint256",
|
|
2616
|
-
name: "
|
|
2616
|
+
name: "netSyFee",
|
|
2617
2617
|
type: "uint256",
|
|
2618
2618
|
},
|
|
2619
2619
|
],
|
|
@@ -2651,7 +2651,7 @@ const _abi = [
|
|
|
2651
2651
|
},
|
|
2652
2652
|
{
|
|
2653
2653
|
internalType: "address",
|
|
2654
|
-
name: "
|
|
2654
|
+
name: "tokenRedeemSy",
|
|
2655
2655
|
type: "address",
|
|
2656
2656
|
},
|
|
2657
2657
|
{
|
|
@@ -2674,7 +2674,7 @@ const _abi = [
|
|
|
2674
2674
|
},
|
|
2675
2675
|
{
|
|
2676
2676
|
internalType: "uint256",
|
|
2677
|
-
name: "
|
|
2677
|
+
name: "netSyFee",
|
|
2678
2678
|
type: "uint256",
|
|
2679
2679
|
},
|
|
2680
2680
|
],
|
|
@@ -2695,7 +2695,7 @@ const _abi = [
|
|
|
2695
2695
|
},
|
|
2696
2696
|
{
|
|
2697
2697
|
internalType: "uint256",
|
|
2698
|
-
name: "
|
|
2698
|
+
name: "exactSyOut",
|
|
2699
2699
|
type: "uint256",
|
|
2700
2700
|
},
|
|
2701
2701
|
{
|
|
@@ -2736,7 +2736,7 @@ const _abi = [
|
|
|
2736
2736
|
type: "tuple",
|
|
2737
2737
|
},
|
|
2738
2738
|
],
|
|
2739
|
-
name: "
|
|
2739
|
+
name: "swapPtForExactSy",
|
|
2740
2740
|
outputs: [
|
|
2741
2741
|
{
|
|
2742
2742
|
internalType: "uint256",
|
|
@@ -2745,7 +2745,7 @@ const _abi = [
|
|
|
2745
2745
|
},
|
|
2746
2746
|
{
|
|
2747
2747
|
internalType: "uint256",
|
|
2748
|
-
name: "
|
|
2748
|
+
name: "netSyFee",
|
|
2749
2749
|
type: "uint256",
|
|
2750
2750
|
},
|
|
2751
2751
|
],
|
|
@@ -2771,20 +2771,20 @@ const _abi = [
|
|
|
2771
2771
|
},
|
|
2772
2772
|
{
|
|
2773
2773
|
internalType: "uint256",
|
|
2774
|
-
name: "
|
|
2774
|
+
name: "maxSyIn",
|
|
2775
2775
|
type: "uint256",
|
|
2776
2776
|
},
|
|
2777
2777
|
],
|
|
2778
|
-
name: "
|
|
2778
|
+
name: "swapSyForExactPt",
|
|
2779
2779
|
outputs: [
|
|
2780
2780
|
{
|
|
2781
2781
|
internalType: "uint256",
|
|
2782
|
-
name: "
|
|
2782
|
+
name: "netSyIn",
|
|
2783
2783
|
type: "uint256",
|
|
2784
2784
|
},
|
|
2785
2785
|
{
|
|
2786
2786
|
internalType: "uint256",
|
|
2787
|
-
name: "
|
|
2787
|
+
name: "netSyFee",
|
|
2788
2788
|
type: "uint256",
|
|
2789
2789
|
},
|
|
2790
2790
|
],
|
|
@@ -2810,20 +2810,20 @@ const _abi = [
|
|
|
2810
2810
|
},
|
|
2811
2811
|
{
|
|
2812
2812
|
internalType: "uint256",
|
|
2813
|
-
name: "
|
|
2813
|
+
name: "maxSyIn",
|
|
2814
2814
|
type: "uint256",
|
|
2815
2815
|
},
|
|
2816
2816
|
],
|
|
2817
|
-
name: "
|
|
2817
|
+
name: "swapSyForExactYt",
|
|
2818
2818
|
outputs: [
|
|
2819
2819
|
{
|
|
2820
2820
|
internalType: "uint256",
|
|
2821
|
-
name: "
|
|
2821
|
+
name: "netSyIn",
|
|
2822
2822
|
type: "uint256",
|
|
2823
2823
|
},
|
|
2824
2824
|
{
|
|
2825
2825
|
internalType: "uint256",
|
|
2826
|
-
name: "
|
|
2826
|
+
name: "netSyFee",
|
|
2827
2827
|
type: "uint256",
|
|
2828
2828
|
},
|
|
2829
2829
|
],
|
|
@@ -2844,7 +2844,7 @@ const _abi = [
|
|
|
2844
2844
|
},
|
|
2845
2845
|
{
|
|
2846
2846
|
internalType: "uint256",
|
|
2847
|
-
name: "
|
|
2847
|
+
name: "exactSyOut",
|
|
2848
2848
|
type: "uint256",
|
|
2849
2849
|
},
|
|
2850
2850
|
{
|
|
@@ -2885,7 +2885,7 @@ const _abi = [
|
|
|
2885
2885
|
type: "tuple",
|
|
2886
2886
|
},
|
|
2887
2887
|
],
|
|
2888
|
-
name: "
|
|
2888
|
+
name: "swapYtForExactSy",
|
|
2889
2889
|
outputs: [
|
|
2890
2890
|
{
|
|
2891
2891
|
internalType: "uint256",
|
|
@@ -2894,7 +2894,7 @@ const _abi = [
|
|
|
2894
2894
|
},
|
|
2895
2895
|
{
|
|
2896
2896
|
internalType: "uint256",
|
|
2897
|
-
name: "
|
|
2897
|
+
name: "netSyFee",
|
|
2898
2898
|
type: "uint256",
|
|
2899
2899
|
},
|
|
2900
2900
|
],
|