@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
|
@@ -247,7 +247,7 @@ const _abi = [
|
|
|
247
247
|
type: "uint256",
|
|
248
248
|
},
|
|
249
249
|
],
|
|
250
|
-
name: "
|
|
250
|
+
name: "MarketInsufficientSyReceived",
|
|
251
251
|
type: "error",
|
|
252
252
|
},
|
|
253
253
|
{
|
|
@@ -423,16 +423,16 @@ const _abi = [
|
|
|
423
423
|
inputs: [
|
|
424
424
|
{
|
|
425
425
|
internalType: "uint256",
|
|
426
|
-
name: "
|
|
426
|
+
name: "actualSyIn",
|
|
427
427
|
type: "uint256",
|
|
428
428
|
},
|
|
429
429
|
{
|
|
430
430
|
internalType: "uint256",
|
|
431
|
-
name: "
|
|
431
|
+
name: "limitSyIn",
|
|
432
432
|
type: "uint256",
|
|
433
433
|
},
|
|
434
434
|
],
|
|
435
|
-
name: "
|
|
435
|
+
name: "RouterExceededLimitSyIn",
|
|
436
436
|
type: "error",
|
|
437
437
|
},
|
|
438
438
|
{
|
|
@@ -519,32 +519,32 @@ const _abi = [
|
|
|
519
519
|
inputs: [
|
|
520
520
|
{
|
|
521
521
|
internalType: "uint256",
|
|
522
|
-
name: "
|
|
522
|
+
name: "actualSyOut",
|
|
523
523
|
type: "uint256",
|
|
524
524
|
},
|
|
525
525
|
{
|
|
526
526
|
internalType: "uint256",
|
|
527
|
-
name: "
|
|
527
|
+
name: "requiredSyOut",
|
|
528
528
|
type: "uint256",
|
|
529
529
|
},
|
|
530
530
|
],
|
|
531
|
-
name: "
|
|
531
|
+
name: "RouterInsufficientSyOut",
|
|
532
532
|
type: "error",
|
|
533
533
|
},
|
|
534
534
|
{
|
|
535
535
|
inputs: [
|
|
536
536
|
{
|
|
537
537
|
internalType: "uint256",
|
|
538
|
-
name: "
|
|
538
|
+
name: "actualSyRepay",
|
|
539
539
|
type: "uint256",
|
|
540
540
|
},
|
|
541
541
|
{
|
|
542
542
|
internalType: "uint256",
|
|
543
|
-
name: "
|
|
543
|
+
name: "requiredSyRepay",
|
|
544
544
|
type: "uint256",
|
|
545
545
|
},
|
|
546
546
|
],
|
|
547
|
-
name: "
|
|
547
|
+
name: "RouterInsufficientSyRepay",
|
|
548
548
|
type: "error",
|
|
549
549
|
},
|
|
550
550
|
{
|
|
@@ -597,12 +597,12 @@ const _abi = [
|
|
|
597
597
|
},
|
|
598
598
|
{
|
|
599
599
|
inputs: [],
|
|
600
|
-
name: "
|
|
600
|
+
name: "SYCurve3crvPoolNotFound",
|
|
601
601
|
type: "error",
|
|
602
602
|
},
|
|
603
603
|
{
|
|
604
604
|
inputs: [],
|
|
605
|
-
name: "
|
|
605
|
+
name: "SYCurveInvalidPid",
|
|
606
606
|
type: "error",
|
|
607
607
|
},
|
|
608
608
|
{
|
|
@@ -618,7 +618,7 @@ const _abi = [
|
|
|
618
618
|
type: "uint256",
|
|
619
619
|
},
|
|
620
620
|
],
|
|
621
|
-
name: "
|
|
621
|
+
name: "SYInsufficientSharesOut",
|
|
622
622
|
type: "error",
|
|
623
623
|
},
|
|
624
624
|
{
|
|
@@ -634,7 +634,7 @@ const _abi = [
|
|
|
634
634
|
type: "uint256",
|
|
635
635
|
},
|
|
636
636
|
],
|
|
637
|
-
name: "
|
|
637
|
+
name: "SYInsufficientTokenOut",
|
|
638
638
|
type: "error",
|
|
639
639
|
},
|
|
640
640
|
{
|
|
@@ -645,7 +645,7 @@ const _abi = [
|
|
|
645
645
|
type: "address",
|
|
646
646
|
},
|
|
647
647
|
],
|
|
648
|
-
name: "
|
|
648
|
+
name: "SYInvalidTokenIn",
|
|
649
649
|
type: "error",
|
|
650
650
|
},
|
|
651
651
|
{
|
|
@@ -656,7 +656,7 @@ const _abi = [
|
|
|
656
656
|
type: "address",
|
|
657
657
|
},
|
|
658
658
|
],
|
|
659
|
-
name: "
|
|
659
|
+
name: "SYInvalidTokenOut",
|
|
660
660
|
type: "error",
|
|
661
661
|
},
|
|
662
662
|
{
|
|
@@ -672,7 +672,7 @@ const _abi = [
|
|
|
672
672
|
type: "uint256",
|
|
673
673
|
},
|
|
674
674
|
],
|
|
675
|
-
name: "
|
|
675
|
+
name: "SYQiTokenBorrowRateTooHigh",
|
|
676
676
|
type: "error",
|
|
677
677
|
},
|
|
678
678
|
{
|
|
@@ -683,7 +683,7 @@ const _abi = [
|
|
|
683
683
|
type: "uint256",
|
|
684
684
|
},
|
|
685
685
|
],
|
|
686
|
-
name: "
|
|
686
|
+
name: "SYQiTokenMintFailed",
|
|
687
687
|
type: "error",
|
|
688
688
|
},
|
|
689
689
|
{
|
|
@@ -694,7 +694,7 @@ const _abi = [
|
|
|
694
694
|
type: "uint256",
|
|
695
695
|
},
|
|
696
696
|
],
|
|
697
|
-
name: "
|
|
697
|
+
name: "SYQiTokenRedeemFailed",
|
|
698
698
|
type: "error",
|
|
699
699
|
},
|
|
700
700
|
{
|
|
@@ -710,17 +710,17 @@ const _abi = [
|
|
|
710
710
|
type: "uint256",
|
|
711
711
|
},
|
|
712
712
|
],
|
|
713
|
-
name: "
|
|
713
|
+
name: "SYQiTokenRedeemRewardsFailed",
|
|
714
714
|
type: "error",
|
|
715
715
|
},
|
|
716
716
|
{
|
|
717
717
|
inputs: [],
|
|
718
|
-
name: "
|
|
718
|
+
name: "SYZeroDeposit",
|
|
719
719
|
type: "error",
|
|
720
720
|
},
|
|
721
721
|
{
|
|
722
722
|
inputs: [],
|
|
723
|
-
name: "
|
|
723
|
+
name: "SYZeroRedeem",
|
|
724
724
|
type: "error",
|
|
725
725
|
},
|
|
726
726
|
{
|
|
@@ -868,7 +868,7 @@ const _abi = [
|
|
|
868
868
|
},
|
|
869
869
|
{
|
|
870
870
|
inputs: [],
|
|
871
|
-
name: "
|
|
871
|
+
name: "YCNoFloatingSy",
|
|
872
872
|
type: "error",
|
|
873
873
|
},
|
|
874
874
|
{
|
|
@@ -890,16 +890,16 @@ const _abi = [
|
|
|
890
890
|
inputs: [
|
|
891
891
|
{
|
|
892
892
|
internalType: "uint256",
|
|
893
|
-
name: "
|
|
893
|
+
name: "actualSy",
|
|
894
894
|
type: "uint256",
|
|
895
895
|
},
|
|
896
896
|
{
|
|
897
897
|
internalType: "uint256",
|
|
898
|
-
name: "
|
|
898
|
+
name: "requiredSy",
|
|
899
899
|
type: "uint256",
|
|
900
900
|
},
|
|
901
901
|
],
|
|
902
|
-
name: "
|
|
902
|
+
name: "YieldContractInsufficientSy",
|
|
903
903
|
type: "error",
|
|
904
904
|
},
|
|
905
905
|
{
|
|
@@ -910,7 +910,7 @@ const _abi = [
|
|
|
910
910
|
];
|
|
911
911
|
|
|
912
912
|
const _bytecode =
|
|
913
|
-
"
|
|
913
|
+
"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220105c6a6fa6931a191ef4733046fe29da544cb1e060bf964acf1772f6d348a4fe64736f6c63430008110033";
|
|
914
914
|
|
|
915
915
|
type ErrorsConstructorParams =
|
|
916
916
|
| [signer?: Signer]
|
|
@@ -34,7 +34,7 @@ const _abi = [
|
|
|
34
34
|
{
|
|
35
35
|
indexed: false,
|
|
36
36
|
internalType: "uint256",
|
|
37
|
-
name: "
|
|
37
|
+
name: "netSyUsed",
|
|
38
38
|
type: "uint256",
|
|
39
39
|
},
|
|
40
40
|
{
|
|
@@ -50,7 +50,7 @@ const _abi = [
|
|
|
50
50
|
type: "uint256",
|
|
51
51
|
},
|
|
52
52
|
],
|
|
53
|
-
name: "
|
|
53
|
+
name: "AddLiquidityDualSyAndPt",
|
|
54
54
|
type: "event",
|
|
55
55
|
},
|
|
56
56
|
{
|
|
@@ -163,7 +163,7 @@ const _abi = [
|
|
|
163
163
|
{
|
|
164
164
|
indexed: false,
|
|
165
165
|
internalType: "uint256",
|
|
166
|
-
name: "
|
|
166
|
+
name: "netSyIn",
|
|
167
167
|
type: "uint256",
|
|
168
168
|
},
|
|
169
169
|
{
|
|
@@ -173,7 +173,7 @@ const _abi = [
|
|
|
173
173
|
type: "uint256",
|
|
174
174
|
},
|
|
175
175
|
],
|
|
176
|
-
name: "
|
|
176
|
+
name: "AddLiquiditySingleSy",
|
|
177
177
|
type: "event",
|
|
178
178
|
},
|
|
179
179
|
{
|
|
@@ -255,11 +255,11 @@ const _abi = [
|
|
|
255
255
|
{
|
|
256
256
|
indexed: false,
|
|
257
257
|
internalType: "uint256",
|
|
258
|
-
name: "
|
|
258
|
+
name: "netSyOut",
|
|
259
259
|
type: "uint256",
|
|
260
260
|
},
|
|
261
261
|
],
|
|
262
|
-
name: "
|
|
262
|
+
name: "RemoveLiquidityDualSyAndPt",
|
|
263
263
|
type: "event",
|
|
264
264
|
},
|
|
265
265
|
{
|
|
@@ -378,11 +378,11 @@ const _abi = [
|
|
|
378
378
|
{
|
|
379
379
|
indexed: false,
|
|
380
380
|
internalType: "uint256",
|
|
381
|
-
name: "
|
|
381
|
+
name: "netSyOut",
|
|
382
382
|
type: "uint256",
|
|
383
383
|
},
|
|
384
384
|
],
|
|
385
|
-
name: "
|
|
385
|
+
name: "RemoveLiquiditySingleSy",
|
|
386
386
|
type: "event",
|
|
387
387
|
},
|
|
388
388
|
{
|
|
@@ -442,7 +442,7 @@ const _abi = [
|
|
|
442
442
|
},
|
|
443
443
|
{
|
|
444
444
|
internalType: "uint256",
|
|
445
|
-
name: "
|
|
445
|
+
name: "netSyDesired",
|
|
446
446
|
type: "uint256",
|
|
447
447
|
},
|
|
448
448
|
{
|
|
@@ -456,7 +456,7 @@ const _abi = [
|
|
|
456
456
|
type: "uint256",
|
|
457
457
|
},
|
|
458
458
|
],
|
|
459
|
-
name: "
|
|
459
|
+
name: "addLiquidityDualSyAndPt",
|
|
460
460
|
outputs: [
|
|
461
461
|
{
|
|
462
462
|
internalType: "uint256",
|
|
@@ -465,7 +465,7 @@ const _abi = [
|
|
|
465
465
|
},
|
|
466
466
|
{
|
|
467
467
|
internalType: "uint256",
|
|
468
|
-
name: "
|
|
468
|
+
name: "netSyUsed",
|
|
469
469
|
type: "uint256",
|
|
470
470
|
},
|
|
471
471
|
{
|
|
@@ -582,7 +582,7 @@ const _abi = [
|
|
|
582
582
|
},
|
|
583
583
|
],
|
|
584
584
|
internalType: "struct ApproxParams",
|
|
585
|
-
name: "
|
|
585
|
+
name: "guessPtSwapToSy",
|
|
586
586
|
type: "tuple",
|
|
587
587
|
},
|
|
588
588
|
],
|
|
@@ -595,7 +595,7 @@ const _abi = [
|
|
|
595
595
|
},
|
|
596
596
|
{
|
|
597
597
|
internalType: "uint256",
|
|
598
|
-
name: "
|
|
598
|
+
name: "netSyFee",
|
|
599
599
|
type: "uint256",
|
|
600
600
|
},
|
|
601
601
|
],
|
|
@@ -616,7 +616,7 @@ const _abi = [
|
|
|
616
616
|
},
|
|
617
617
|
{
|
|
618
618
|
internalType: "uint256",
|
|
619
|
-
name: "
|
|
619
|
+
name: "netSyIn",
|
|
620
620
|
type: "uint256",
|
|
621
621
|
},
|
|
622
622
|
{
|
|
@@ -653,11 +653,11 @@ const _abi = [
|
|
|
653
653
|
},
|
|
654
654
|
],
|
|
655
655
|
internalType: "struct ApproxParams",
|
|
656
|
-
name: "
|
|
656
|
+
name: "guessPtReceivedFromSy",
|
|
657
657
|
type: "tuple",
|
|
658
658
|
},
|
|
659
659
|
],
|
|
660
|
-
name: "
|
|
660
|
+
name: "addLiquiditySingleSy",
|
|
661
661
|
outputs: [
|
|
662
662
|
{
|
|
663
663
|
internalType: "uint256",
|
|
@@ -666,7 +666,7 @@ const _abi = [
|
|
|
666
666
|
},
|
|
667
667
|
{
|
|
668
668
|
internalType: "uint256",
|
|
669
|
-
name: "
|
|
669
|
+
name: "netSyFee",
|
|
670
670
|
type: "uint256",
|
|
671
671
|
},
|
|
672
672
|
],
|
|
@@ -719,7 +719,7 @@ const _abi = [
|
|
|
719
719
|
},
|
|
720
720
|
],
|
|
721
721
|
internalType: "struct ApproxParams",
|
|
722
|
-
name: "
|
|
722
|
+
name: "guessPtReceivedFromSy",
|
|
723
723
|
type: "tuple",
|
|
724
724
|
},
|
|
725
725
|
{
|
|
@@ -736,7 +736,7 @@ const _abi = [
|
|
|
736
736
|
},
|
|
737
737
|
{
|
|
738
738
|
internalType: "address",
|
|
739
|
-
name: "
|
|
739
|
+
name: "tokenMintSy",
|
|
740
740
|
type: "address",
|
|
741
741
|
},
|
|
742
742
|
{
|
|
@@ -759,7 +759,7 @@ const _abi = [
|
|
|
759
759
|
},
|
|
760
760
|
{
|
|
761
761
|
internalType: "uint256",
|
|
762
|
-
name: "
|
|
762
|
+
name: "netSyFee",
|
|
763
763
|
type: "uint256",
|
|
764
764
|
},
|
|
765
765
|
],
|
|
@@ -785,7 +785,7 @@ const _abi = [
|
|
|
785
785
|
},
|
|
786
786
|
{
|
|
787
787
|
internalType: "uint256",
|
|
788
|
-
name: "
|
|
788
|
+
name: "minSyOut",
|
|
789
789
|
type: "uint256",
|
|
790
790
|
},
|
|
791
791
|
{
|
|
@@ -794,11 +794,11 @@ const _abi = [
|
|
|
794
794
|
type: "uint256",
|
|
795
795
|
},
|
|
796
796
|
],
|
|
797
|
-
name: "
|
|
797
|
+
name: "removeLiquidityDualSyAndPt",
|
|
798
798
|
outputs: [
|
|
799
799
|
{
|
|
800
800
|
internalType: "uint256",
|
|
801
|
-
name: "
|
|
801
|
+
name: "netSyOut",
|
|
802
802
|
type: "uint256",
|
|
803
803
|
},
|
|
804
804
|
{
|
|
@@ -923,7 +923,7 @@ const _abi = [
|
|
|
923
923
|
},
|
|
924
924
|
{
|
|
925
925
|
internalType: "uint256",
|
|
926
|
-
name: "
|
|
926
|
+
name: "netSyFee",
|
|
927
927
|
type: "uint256",
|
|
928
928
|
},
|
|
929
929
|
],
|
|
@@ -949,20 +949,20 @@ const _abi = [
|
|
|
949
949
|
},
|
|
950
950
|
{
|
|
951
951
|
internalType: "uint256",
|
|
952
|
-
name: "
|
|
952
|
+
name: "minSyOut",
|
|
953
953
|
type: "uint256",
|
|
954
954
|
},
|
|
955
955
|
],
|
|
956
|
-
name: "
|
|
956
|
+
name: "removeLiquiditySingleSy",
|
|
957
957
|
outputs: [
|
|
958
958
|
{
|
|
959
959
|
internalType: "uint256",
|
|
960
|
-
name: "
|
|
960
|
+
name: "netSyOut",
|
|
961
961
|
type: "uint256",
|
|
962
962
|
},
|
|
963
963
|
{
|
|
964
964
|
internalType: "uint256",
|
|
965
|
-
name: "
|
|
965
|
+
name: "netSyFee",
|
|
966
966
|
type: "uint256",
|
|
967
967
|
},
|
|
968
968
|
],
|
|
@@ -1000,7 +1000,7 @@ const _abi = [
|
|
|
1000
1000
|
},
|
|
1001
1001
|
{
|
|
1002
1002
|
internalType: "address",
|
|
1003
|
-
name: "
|
|
1003
|
+
name: "tokenRedeemSy",
|
|
1004
1004
|
type: "address",
|
|
1005
1005
|
},
|
|
1006
1006
|
{
|
|
@@ -1023,7 +1023,7 @@ const _abi = [
|
|
|
1023
1023
|
},
|
|
1024
1024
|
{
|
|
1025
1025
|
internalType: "uint256",
|
|
1026
|
-
name: "
|
|
1026
|
+
name: "netSyFee",
|
|
1027
1027
|
type: "uint256",
|
|
1028
1028
|
},
|
|
1029
1029
|
],
|
|
@@ -34,7 +34,7 @@ const _abi = [
|
|
|
34
34
|
{
|
|
35
35
|
indexed: false,
|
|
36
36
|
internalType: "uint256",
|
|
37
|
-
name: "
|
|
37
|
+
name: "netSyIn",
|
|
38
38
|
type: "uint256",
|
|
39
39
|
},
|
|
40
40
|
{
|
|
@@ -44,7 +44,7 @@ const _abi = [
|
|
|
44
44
|
type: "uint256",
|
|
45
45
|
},
|
|
46
46
|
],
|
|
47
|
-
name: "
|
|
47
|
+
name: "MintPyFromSy",
|
|
48
48
|
type: "event",
|
|
49
49
|
},
|
|
50
50
|
{
|
|
@@ -108,7 +108,7 @@ const _abi = [
|
|
|
108
108
|
{
|
|
109
109
|
indexed: true,
|
|
110
110
|
internalType: "address",
|
|
111
|
-
name: "
|
|
111
|
+
name: "SY",
|
|
112
112
|
type: "address",
|
|
113
113
|
},
|
|
114
114
|
{
|
|
@@ -126,11 +126,11 @@ const _abi = [
|
|
|
126
126
|
{
|
|
127
127
|
indexed: false,
|
|
128
128
|
internalType: "uint256",
|
|
129
|
-
name: "
|
|
129
|
+
name: "netSyOut",
|
|
130
130
|
type: "uint256",
|
|
131
131
|
},
|
|
132
132
|
],
|
|
133
|
-
name: "
|
|
133
|
+
name: "MintSyFromToken",
|
|
134
134
|
type: "event",
|
|
135
135
|
},
|
|
136
136
|
{
|
|
@@ -145,7 +145,7 @@ const _abi = [
|
|
|
145
145
|
{
|
|
146
146
|
indexed: false,
|
|
147
147
|
internalType: "address[]",
|
|
148
|
-
name: "
|
|
148
|
+
name: "sys",
|
|
149
149
|
type: "address[]",
|
|
150
150
|
},
|
|
151
151
|
{
|
|
@@ -163,7 +163,7 @@ const _abi = [
|
|
|
163
163
|
{
|
|
164
164
|
indexed: false,
|
|
165
165
|
internalType: "uint256[][]",
|
|
166
|
-
name: "
|
|
166
|
+
name: "syRewards",
|
|
167
167
|
type: "uint256[][]",
|
|
168
168
|
},
|
|
169
169
|
{
|
|
@@ -200,7 +200,7 @@ const _abi = [
|
|
|
200
200
|
{
|
|
201
201
|
indexed: false,
|
|
202
202
|
internalType: "address[]",
|
|
203
|
-
name: "
|
|
203
|
+
name: "sys",
|
|
204
204
|
type: "address[]",
|
|
205
205
|
},
|
|
206
206
|
{
|
|
@@ -261,11 +261,11 @@ const _abi = [
|
|
|
261
261
|
{
|
|
262
262
|
indexed: false,
|
|
263
263
|
internalType: "uint256",
|
|
264
|
-
name: "
|
|
264
|
+
name: "netSyOut",
|
|
265
265
|
type: "uint256",
|
|
266
266
|
},
|
|
267
267
|
],
|
|
268
|
-
name: "
|
|
268
|
+
name: "RedeemPyToSy",
|
|
269
269
|
type: "event",
|
|
270
270
|
},
|
|
271
271
|
{
|
|
@@ -329,13 +329,13 @@ const _abi = [
|
|
|
329
329
|
{
|
|
330
330
|
indexed: true,
|
|
331
331
|
internalType: "address",
|
|
332
|
-
name: "
|
|
332
|
+
name: "SY",
|
|
333
333
|
type: "address",
|
|
334
334
|
},
|
|
335
335
|
{
|
|
336
336
|
indexed: false,
|
|
337
337
|
internalType: "uint256",
|
|
338
|
-
name: "
|
|
338
|
+
name: "netSyIn",
|
|
339
339
|
type: "uint256",
|
|
340
340
|
},
|
|
341
341
|
{
|
|
@@ -351,7 +351,7 @@ const _abi = [
|
|
|
351
351
|
type: "uint256",
|
|
352
352
|
},
|
|
353
353
|
],
|
|
354
|
-
name: "
|
|
354
|
+
name: "RedeemSyToToken",
|
|
355
355
|
type: "event",
|
|
356
356
|
},
|
|
357
357
|
{
|
|
@@ -368,7 +368,7 @@ const _abi = [
|
|
|
368
368
|
},
|
|
369
369
|
{
|
|
370
370
|
internalType: "uint256",
|
|
371
|
-
name: "
|
|
371
|
+
name: "netSyIn",
|
|
372
372
|
type: "uint256",
|
|
373
373
|
},
|
|
374
374
|
{
|
|
@@ -377,7 +377,7 @@ const _abi = [
|
|
|
377
377
|
type: "uint256",
|
|
378
378
|
},
|
|
379
379
|
],
|
|
380
|
-
name: "
|
|
380
|
+
name: "mintPyFromSy",
|
|
381
381
|
outputs: [
|
|
382
382
|
{
|
|
383
383
|
internalType: "uint256",
|
|
@@ -419,7 +419,7 @@ const _abi = [
|
|
|
419
419
|
},
|
|
420
420
|
{
|
|
421
421
|
internalType: "address",
|
|
422
|
-
name: "
|
|
422
|
+
name: "tokenMintSy",
|
|
423
423
|
type: "address",
|
|
424
424
|
},
|
|
425
425
|
{
|
|
@@ -453,12 +453,12 @@ const _abi = [
|
|
|
453
453
|
},
|
|
454
454
|
{
|
|
455
455
|
internalType: "address",
|
|
456
|
-
name: "
|
|
456
|
+
name: "SY",
|
|
457
457
|
type: "address",
|
|
458
458
|
},
|
|
459
459
|
{
|
|
460
460
|
internalType: "uint256",
|
|
461
|
-
name: "
|
|
461
|
+
name: "minSyOut",
|
|
462
462
|
type: "uint256",
|
|
463
463
|
},
|
|
464
464
|
{
|
|
@@ -475,7 +475,7 @@ const _abi = [
|
|
|
475
475
|
},
|
|
476
476
|
{
|
|
477
477
|
internalType: "address",
|
|
478
|
-
name: "
|
|
478
|
+
name: "tokenMintSy",
|
|
479
479
|
type: "address",
|
|
480
480
|
},
|
|
481
481
|
{
|
|
@@ -489,11 +489,11 @@ const _abi = [
|
|
|
489
489
|
type: "tuple",
|
|
490
490
|
},
|
|
491
491
|
],
|
|
492
|
-
name: "
|
|
492
|
+
name: "mintSyFromToken",
|
|
493
493
|
outputs: [
|
|
494
494
|
{
|
|
495
495
|
internalType: "uint256",
|
|
496
|
-
name: "
|
|
496
|
+
name: "netSyOut",
|
|
497
497
|
type: "uint256",
|
|
498
498
|
},
|
|
499
499
|
],
|
|
@@ -509,7 +509,7 @@ const _abi = [
|
|
|
509
509
|
},
|
|
510
510
|
{
|
|
511
511
|
internalType: "address[]",
|
|
512
|
-
name: "
|
|
512
|
+
name: "sys",
|
|
513
513
|
type: "address[]",
|
|
514
514
|
},
|
|
515
515
|
{
|
|
@@ -527,7 +527,7 @@ const _abi = [
|
|
|
527
527
|
outputs: [
|
|
528
528
|
{
|
|
529
529
|
internalType: "uint256[][]",
|
|
530
|
-
name: "
|
|
530
|
+
name: "syRewards",
|
|
531
531
|
type: "uint256[][]",
|
|
532
532
|
},
|
|
533
533
|
{
|
|
@@ -553,7 +553,7 @@ const _abi = [
|
|
|
553
553
|
inputs: [
|
|
554
554
|
{
|
|
555
555
|
internalType: "address[]",
|
|
556
|
-
name: "
|
|
556
|
+
name: "sys",
|
|
557
557
|
type: "address[]",
|
|
558
558
|
},
|
|
559
559
|
{
|
|
@@ -565,12 +565,12 @@ const _abi = [
|
|
|
565
565
|
},
|
|
566
566
|
{
|
|
567
567
|
internalType: "address[]",
|
|
568
|
-
name: "
|
|
568
|
+
name: "syAddrs",
|
|
569
569
|
type: "address[]",
|
|
570
570
|
},
|
|
571
571
|
{
|
|
572
572
|
internalType: "address[]",
|
|
573
|
-
name: "
|
|
573
|
+
name: "tokenRedeemSys",
|
|
574
574
|
type: "address[]",
|
|
575
575
|
},
|
|
576
576
|
],
|
|
@@ -646,15 +646,15 @@ const _abi = [
|
|
|
646
646
|
},
|
|
647
647
|
{
|
|
648
648
|
internalType: "uint256",
|
|
649
|
-
name: "
|
|
649
|
+
name: "minSyOut",
|
|
650
650
|
type: "uint256",
|
|
651
651
|
},
|
|
652
652
|
],
|
|
653
|
-
name: "
|
|
653
|
+
name: "redeemPyToSy",
|
|
654
654
|
outputs: [
|
|
655
655
|
{
|
|
656
656
|
internalType: "uint256",
|
|
657
|
-
name: "
|
|
657
|
+
name: "netSyOut",
|
|
658
658
|
type: "uint256",
|
|
659
659
|
},
|
|
660
660
|
],
|
|
@@ -692,7 +692,7 @@ const _abi = [
|
|
|
692
692
|
},
|
|
693
693
|
{
|
|
694
694
|
internalType: "address",
|
|
695
|
-
name: "
|
|
695
|
+
name: "tokenRedeemSy",
|
|
696
696
|
type: "address",
|
|
697
697
|
},
|
|
698
698
|
{
|
|
@@ -726,12 +726,12 @@ const _abi = [
|
|
|
726
726
|
},
|
|
727
727
|
{
|
|
728
728
|
internalType: "address",
|
|
729
|
-
name: "
|
|
729
|
+
name: "SY",
|
|
730
730
|
type: "address",
|
|
731
731
|
},
|
|
732
732
|
{
|
|
733
733
|
internalType: "uint256",
|
|
734
|
-
name: "
|
|
734
|
+
name: "netSyIn",
|
|
735
735
|
type: "uint256",
|
|
736
736
|
},
|
|
737
737
|
{
|
|
@@ -748,7 +748,7 @@ const _abi = [
|
|
|
748
748
|
},
|
|
749
749
|
{
|
|
750
750
|
internalType: "address",
|
|
751
|
-
name: "
|
|
751
|
+
name: "tokenRedeemSy",
|
|
752
752
|
type: "address",
|
|
753
753
|
},
|
|
754
754
|
{
|
|
@@ -762,7 +762,7 @@ const _abi = [
|
|
|
762
762
|
type: "tuple",
|
|
763
763
|
},
|
|
764
764
|
],
|
|
765
|
-
name: "
|
|
765
|
+
name: "redeemSyToToken",
|
|
766
766
|
outputs: [
|
|
767
767
|
{
|
|
768
768
|
internalType: "uint256",
|