@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
|
@@ -47,7 +47,7 @@ export type ApproxParamsStructOutput = [
|
|
|
47
47
|
|
|
48
48
|
export type MarketStateStruct = {
|
|
49
49
|
totalPt: BigNumberish;
|
|
50
|
-
|
|
50
|
+
totalSy: BigNumberish;
|
|
51
51
|
totalLp: BigNumberish;
|
|
52
52
|
treasury: string;
|
|
53
53
|
scalarRoot: BigNumberish;
|
|
@@ -69,7 +69,7 @@ export type MarketStateStructOutput = [
|
|
|
69
69
|
BigNumber
|
|
70
70
|
] & {
|
|
71
71
|
totalPt: BigNumber;
|
|
72
|
-
|
|
72
|
+
totalSy: BigNumber;
|
|
73
73
|
totalLp: BigNumber;
|
|
74
74
|
treasury: string;
|
|
75
75
|
scalarRoot: BigNumber;
|
|
@@ -110,7 +110,7 @@ export declare namespace RouterStatic {
|
|
|
110
110
|
market: string;
|
|
111
111
|
lpBalance: BigNumberish;
|
|
112
112
|
ptBalance: RouterStatic.TokenAmountStruct;
|
|
113
|
-
|
|
113
|
+
syBalance: RouterStatic.TokenAmountStruct;
|
|
114
114
|
assetBalance: RouterStatic.AssetAmountStruct;
|
|
115
115
|
};
|
|
116
116
|
|
|
@@ -124,7 +124,7 @@ export declare namespace RouterStatic {
|
|
|
124
124
|
market: string;
|
|
125
125
|
lpBalance: BigNumber;
|
|
126
126
|
ptBalance: RouterStatic.TokenAmountStructOutput;
|
|
127
|
-
|
|
127
|
+
syBalance: RouterStatic.TokenAmountStructOutput;
|
|
128
128
|
assetBalance: RouterStatic.AssetAmountStructOutput;
|
|
129
129
|
};
|
|
130
130
|
|
|
@@ -159,11 +159,11 @@ export interface RouterStaticInterface extends utils.Interface {
|
|
|
159
159
|
functions: {
|
|
160
160
|
"MAX_LOCK_TIME()": FunctionFragment;
|
|
161
161
|
"MIN_LOCK_TIME()": FunctionFragment;
|
|
162
|
-
"
|
|
162
|
+
"addLiquidityDualSyAndPtStatic(address,uint256,uint256)": FunctionFragment;
|
|
163
163
|
"addLiquidityDualTokenAndPtStatic(address,address,uint256,uint256)": FunctionFragment;
|
|
164
164
|
"addLiquiditySingleBaseTokenStatic(address,address,uint256)": FunctionFragment;
|
|
165
165
|
"addLiquiditySinglePtStatic(address,uint256)": FunctionFragment;
|
|
166
|
-
"
|
|
166
|
+
"addLiquiditySingleSyStatic(address,uint256)": FunctionFragment;
|
|
167
167
|
"calcPriceImpact(address,int256)": FunctionFragment;
|
|
168
168
|
"claimOwnership()": FunctionFragment;
|
|
169
169
|
"getDefaultApproxParams()": FunctionFragment;
|
|
@@ -179,37 +179,37 @@ export interface RouterStaticInterface extends utils.Interface {
|
|
|
179
179
|
"getUserMarketPositions(address,address[])": FunctionFragment;
|
|
180
180
|
"getUserPYInfo(address,address)": FunctionFragment;
|
|
181
181
|
"getUserPYPositionsByPYs(address,address[])": FunctionFragment;
|
|
182
|
-
"
|
|
182
|
+
"getUserSYInfo(address,address)": FunctionFragment;
|
|
183
183
|
"hasPYPosition((address,address,uint256,uint256,(address,uint256),(address,uint256)[]))": FunctionFragment;
|
|
184
184
|
"increaseLockPositionStatic(address,uint128,uint128)": FunctionFragment;
|
|
185
185
|
"initialize()": FunctionFragment;
|
|
186
186
|
"mintPYFromBaseStatic(address,address,uint256)": FunctionFragment;
|
|
187
|
-
"
|
|
187
|
+
"mintPYFromSyStatic(address,uint256)": FunctionFragment;
|
|
188
188
|
"owner()": FunctionFragment;
|
|
189
189
|
"pendingOwner()": FunctionFragment;
|
|
190
190
|
"proxiableUUID()": FunctionFragment;
|
|
191
191
|
"pyIndex(address)": FunctionFragment;
|
|
192
192
|
"redeemPYToBaseStatic(address,uint256,address)": FunctionFragment;
|
|
193
|
-
"
|
|
194
|
-
"
|
|
193
|
+
"redeemPYToSyStatic(address,uint256)": FunctionFragment;
|
|
194
|
+
"removeLiquidityDualSyAndPtStatic(address,uint256)": FunctionFragment;
|
|
195
195
|
"removeLiquidityDualTokenAndPtStatic(address,uint256,address)": FunctionFragment;
|
|
196
196
|
"removeLiquiditySingleBaseTokenStatic(address,uint256,address)": FunctionFragment;
|
|
197
197
|
"removeLiquiditySinglePtStatic(address,uint256)": FunctionFragment;
|
|
198
|
-
"
|
|
198
|
+
"removeLiquiditySingleSyStatic(address,uint256)": FunctionFragment;
|
|
199
199
|
"swapExactBaseTokenForPtStatic(address,address,uint256)": FunctionFragment;
|
|
200
200
|
"swapExactBaseTokenForYtStatic(address,address,uint256)": FunctionFragment;
|
|
201
201
|
"swapExactPtForBaseTokenStatic(address,uint256,address)": FunctionFragment;
|
|
202
|
-
"
|
|
202
|
+
"swapExactPtForSyStatic(address,uint256)": FunctionFragment;
|
|
203
203
|
"swapExactPtForYtStatic(address,uint256)": FunctionFragment;
|
|
204
|
-
"
|
|
205
|
-
"
|
|
204
|
+
"swapExactSyForPtStatic(address,uint256)": FunctionFragment;
|
|
205
|
+
"swapExactSyForYtStatic(address,uint256)": FunctionFragment;
|
|
206
206
|
"swapExactYtForBaseTokenStatic(address,uint256,address)": FunctionFragment;
|
|
207
207
|
"swapExactYtForPtStatic(address,uint256)": FunctionFragment;
|
|
208
|
-
"
|
|
209
|
-
"
|
|
210
|
-
"
|
|
211
|
-
"
|
|
212
|
-
"
|
|
208
|
+
"swapExactYtForSyStatic(address,uint256)": FunctionFragment;
|
|
209
|
+
"swapPtForExactSyStatic(address,uint256)": FunctionFragment;
|
|
210
|
+
"swapSyForExactPtStatic(address,uint256)": FunctionFragment;
|
|
211
|
+
"swapSyForExactYtStatic(address,uint256)": FunctionFragment;
|
|
212
|
+
"swapYtForExactSyStatic(address,uint256)": FunctionFragment;
|
|
213
213
|
"transferOwnership(address,bool,bool)": FunctionFragment;
|
|
214
214
|
"upgradeTo(address)": FunctionFragment;
|
|
215
215
|
"upgradeToAndCall(address,bytes)": FunctionFragment;
|
|
@@ -224,7 +224,7 @@ export interface RouterStaticInterface extends utils.Interface {
|
|
|
224
224
|
values?: undefined
|
|
225
225
|
): string;
|
|
226
226
|
encodeFunctionData(
|
|
227
|
-
functionFragment: "
|
|
227
|
+
functionFragment: "addLiquidityDualSyAndPtStatic",
|
|
228
228
|
values: [string, BigNumberish, BigNumberish]
|
|
229
229
|
): string;
|
|
230
230
|
encodeFunctionData(
|
|
@@ -240,7 +240,7 @@ export interface RouterStaticInterface extends utils.Interface {
|
|
|
240
240
|
values: [string, BigNumberish]
|
|
241
241
|
): string;
|
|
242
242
|
encodeFunctionData(
|
|
243
|
-
functionFragment: "
|
|
243
|
+
functionFragment: "addLiquiditySingleSyStatic",
|
|
244
244
|
values: [string, BigNumberish]
|
|
245
245
|
): string;
|
|
246
246
|
encodeFunctionData(
|
|
@@ -298,7 +298,7 @@ export interface RouterStaticInterface extends utils.Interface {
|
|
|
298
298
|
values: [string, string[]]
|
|
299
299
|
): string;
|
|
300
300
|
encodeFunctionData(
|
|
301
|
-
functionFragment: "
|
|
301
|
+
functionFragment: "getUserSYInfo",
|
|
302
302
|
values: [string, string]
|
|
303
303
|
): string;
|
|
304
304
|
encodeFunctionData(
|
|
@@ -318,7 +318,7 @@ export interface RouterStaticInterface extends utils.Interface {
|
|
|
318
318
|
values: [string, string, BigNumberish]
|
|
319
319
|
): string;
|
|
320
320
|
encodeFunctionData(
|
|
321
|
-
functionFragment: "
|
|
321
|
+
functionFragment: "mintPYFromSyStatic",
|
|
322
322
|
values: [string, BigNumberish]
|
|
323
323
|
): string;
|
|
324
324
|
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
@@ -336,11 +336,11 @@ export interface RouterStaticInterface extends utils.Interface {
|
|
|
336
336
|
values: [string, BigNumberish, string]
|
|
337
337
|
): string;
|
|
338
338
|
encodeFunctionData(
|
|
339
|
-
functionFragment: "
|
|
339
|
+
functionFragment: "redeemPYToSyStatic",
|
|
340
340
|
values: [string, BigNumberish]
|
|
341
341
|
): string;
|
|
342
342
|
encodeFunctionData(
|
|
343
|
-
functionFragment: "
|
|
343
|
+
functionFragment: "removeLiquidityDualSyAndPtStatic",
|
|
344
344
|
values: [string, BigNumberish]
|
|
345
345
|
): string;
|
|
346
346
|
encodeFunctionData(
|
|
@@ -356,7 +356,7 @@ export interface RouterStaticInterface extends utils.Interface {
|
|
|
356
356
|
values: [string, BigNumberish]
|
|
357
357
|
): string;
|
|
358
358
|
encodeFunctionData(
|
|
359
|
-
functionFragment: "
|
|
359
|
+
functionFragment: "removeLiquiditySingleSyStatic",
|
|
360
360
|
values: [string, BigNumberish]
|
|
361
361
|
): string;
|
|
362
362
|
encodeFunctionData(
|
|
@@ -372,7 +372,7 @@ export interface RouterStaticInterface extends utils.Interface {
|
|
|
372
372
|
values: [string, BigNumberish, string]
|
|
373
373
|
): string;
|
|
374
374
|
encodeFunctionData(
|
|
375
|
-
functionFragment: "
|
|
375
|
+
functionFragment: "swapExactPtForSyStatic",
|
|
376
376
|
values: [string, BigNumberish]
|
|
377
377
|
): string;
|
|
378
378
|
encodeFunctionData(
|
|
@@ -380,11 +380,11 @@ export interface RouterStaticInterface extends utils.Interface {
|
|
|
380
380
|
values: [string, BigNumberish]
|
|
381
381
|
): string;
|
|
382
382
|
encodeFunctionData(
|
|
383
|
-
functionFragment: "
|
|
383
|
+
functionFragment: "swapExactSyForPtStatic",
|
|
384
384
|
values: [string, BigNumberish]
|
|
385
385
|
): string;
|
|
386
386
|
encodeFunctionData(
|
|
387
|
-
functionFragment: "
|
|
387
|
+
functionFragment: "swapExactSyForYtStatic",
|
|
388
388
|
values: [string, BigNumberish]
|
|
389
389
|
): string;
|
|
390
390
|
encodeFunctionData(
|
|
@@ -396,23 +396,23 @@ export interface RouterStaticInterface extends utils.Interface {
|
|
|
396
396
|
values: [string, BigNumberish]
|
|
397
397
|
): string;
|
|
398
398
|
encodeFunctionData(
|
|
399
|
-
functionFragment: "
|
|
399
|
+
functionFragment: "swapExactYtForSyStatic",
|
|
400
400
|
values: [string, BigNumberish]
|
|
401
401
|
): string;
|
|
402
402
|
encodeFunctionData(
|
|
403
|
-
functionFragment: "
|
|
403
|
+
functionFragment: "swapPtForExactSyStatic",
|
|
404
404
|
values: [string, BigNumberish]
|
|
405
405
|
): string;
|
|
406
406
|
encodeFunctionData(
|
|
407
|
-
functionFragment: "
|
|
407
|
+
functionFragment: "swapSyForExactPtStatic",
|
|
408
408
|
values: [string, BigNumberish]
|
|
409
409
|
): string;
|
|
410
410
|
encodeFunctionData(
|
|
411
|
-
functionFragment: "
|
|
411
|
+
functionFragment: "swapSyForExactYtStatic",
|
|
412
412
|
values: [string, BigNumberish]
|
|
413
413
|
): string;
|
|
414
414
|
encodeFunctionData(
|
|
415
|
-
functionFragment: "
|
|
415
|
+
functionFragment: "swapYtForExactSyStatic",
|
|
416
416
|
values: [string, BigNumberish]
|
|
417
417
|
): string;
|
|
418
418
|
encodeFunctionData(
|
|
@@ -434,7 +434,7 @@ export interface RouterStaticInterface extends utils.Interface {
|
|
|
434
434
|
data: BytesLike
|
|
435
435
|
): Result;
|
|
436
436
|
decodeFunctionResult(
|
|
437
|
-
functionFragment: "
|
|
437
|
+
functionFragment: "addLiquidityDualSyAndPtStatic",
|
|
438
438
|
data: BytesLike
|
|
439
439
|
): Result;
|
|
440
440
|
decodeFunctionResult(
|
|
@@ -450,7 +450,7 @@ export interface RouterStaticInterface extends utils.Interface {
|
|
|
450
450
|
data: BytesLike
|
|
451
451
|
): Result;
|
|
452
452
|
decodeFunctionResult(
|
|
453
|
-
functionFragment: "
|
|
453
|
+
functionFragment: "addLiquiditySingleSyStatic",
|
|
454
454
|
data: BytesLike
|
|
455
455
|
): Result;
|
|
456
456
|
decodeFunctionResult(
|
|
@@ -508,7 +508,7 @@ export interface RouterStaticInterface extends utils.Interface {
|
|
|
508
508
|
data: BytesLike
|
|
509
509
|
): Result;
|
|
510
510
|
decodeFunctionResult(
|
|
511
|
-
functionFragment: "
|
|
511
|
+
functionFragment: "getUserSYInfo",
|
|
512
512
|
data: BytesLike
|
|
513
513
|
): Result;
|
|
514
514
|
decodeFunctionResult(
|
|
@@ -525,7 +525,7 @@ export interface RouterStaticInterface extends utils.Interface {
|
|
|
525
525
|
data: BytesLike
|
|
526
526
|
): Result;
|
|
527
527
|
decodeFunctionResult(
|
|
528
|
-
functionFragment: "
|
|
528
|
+
functionFragment: "mintPYFromSyStatic",
|
|
529
529
|
data: BytesLike
|
|
530
530
|
): Result;
|
|
531
531
|
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
@@ -543,11 +543,11 @@ export interface RouterStaticInterface extends utils.Interface {
|
|
|
543
543
|
data: BytesLike
|
|
544
544
|
): Result;
|
|
545
545
|
decodeFunctionResult(
|
|
546
|
-
functionFragment: "
|
|
546
|
+
functionFragment: "redeemPYToSyStatic",
|
|
547
547
|
data: BytesLike
|
|
548
548
|
): Result;
|
|
549
549
|
decodeFunctionResult(
|
|
550
|
-
functionFragment: "
|
|
550
|
+
functionFragment: "removeLiquidityDualSyAndPtStatic",
|
|
551
551
|
data: BytesLike
|
|
552
552
|
): Result;
|
|
553
553
|
decodeFunctionResult(
|
|
@@ -563,7 +563,7 @@ export interface RouterStaticInterface extends utils.Interface {
|
|
|
563
563
|
data: BytesLike
|
|
564
564
|
): Result;
|
|
565
565
|
decodeFunctionResult(
|
|
566
|
-
functionFragment: "
|
|
566
|
+
functionFragment: "removeLiquiditySingleSyStatic",
|
|
567
567
|
data: BytesLike
|
|
568
568
|
): Result;
|
|
569
569
|
decodeFunctionResult(
|
|
@@ -579,7 +579,7 @@ export interface RouterStaticInterface extends utils.Interface {
|
|
|
579
579
|
data: BytesLike
|
|
580
580
|
): Result;
|
|
581
581
|
decodeFunctionResult(
|
|
582
|
-
functionFragment: "
|
|
582
|
+
functionFragment: "swapExactPtForSyStatic",
|
|
583
583
|
data: BytesLike
|
|
584
584
|
): Result;
|
|
585
585
|
decodeFunctionResult(
|
|
@@ -587,11 +587,11 @@ export interface RouterStaticInterface extends utils.Interface {
|
|
|
587
587
|
data: BytesLike
|
|
588
588
|
): Result;
|
|
589
589
|
decodeFunctionResult(
|
|
590
|
-
functionFragment: "
|
|
590
|
+
functionFragment: "swapExactSyForPtStatic",
|
|
591
591
|
data: BytesLike
|
|
592
592
|
): Result;
|
|
593
593
|
decodeFunctionResult(
|
|
594
|
-
functionFragment: "
|
|
594
|
+
functionFragment: "swapExactSyForYtStatic",
|
|
595
595
|
data: BytesLike
|
|
596
596
|
): Result;
|
|
597
597
|
decodeFunctionResult(
|
|
@@ -603,23 +603,23 @@ export interface RouterStaticInterface extends utils.Interface {
|
|
|
603
603
|
data: BytesLike
|
|
604
604
|
): Result;
|
|
605
605
|
decodeFunctionResult(
|
|
606
|
-
functionFragment: "
|
|
606
|
+
functionFragment: "swapExactYtForSyStatic",
|
|
607
607
|
data: BytesLike
|
|
608
608
|
): Result;
|
|
609
609
|
decodeFunctionResult(
|
|
610
|
-
functionFragment: "
|
|
610
|
+
functionFragment: "swapPtForExactSyStatic",
|
|
611
611
|
data: BytesLike
|
|
612
612
|
): Result;
|
|
613
613
|
decodeFunctionResult(
|
|
614
|
-
functionFragment: "
|
|
614
|
+
functionFragment: "swapSyForExactPtStatic",
|
|
615
615
|
data: BytesLike
|
|
616
616
|
): Result;
|
|
617
617
|
decodeFunctionResult(
|
|
618
|
-
functionFragment: "
|
|
618
|
+
functionFragment: "swapSyForExactYtStatic",
|
|
619
619
|
data: BytesLike
|
|
620
620
|
): Result;
|
|
621
621
|
decodeFunctionResult(
|
|
622
|
-
functionFragment: "
|
|
622
|
+
functionFragment: "swapYtForExactSyStatic",
|
|
623
623
|
data: BytesLike
|
|
624
624
|
): Result;
|
|
625
625
|
decodeFunctionResult(
|
|
@@ -700,15 +700,15 @@ export interface RouterStatic extends BaseContract {
|
|
|
700
700
|
|
|
701
701
|
MIN_LOCK_TIME(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
702
702
|
|
|
703
|
-
|
|
703
|
+
addLiquidityDualSyAndPtStatic(
|
|
704
704
|
market: string,
|
|
705
|
-
|
|
705
|
+
netSyDesired: BigNumberish,
|
|
706
706
|
netPtDesired: BigNumberish,
|
|
707
707
|
overrides?: CallOverrides
|
|
708
708
|
): Promise<
|
|
709
709
|
[BigNumber, BigNumber, BigNumber] & {
|
|
710
710
|
netLpOut: BigNumber;
|
|
711
|
-
|
|
711
|
+
netSyUsed: BigNumber;
|
|
712
712
|
netPtUsed: BigNumber;
|
|
713
713
|
}
|
|
714
714
|
>;
|
|
@@ -740,9 +740,9 @@ export interface RouterStatic extends BaseContract {
|
|
|
740
740
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
741
741
|
): Promise<ContractTransaction>;
|
|
742
742
|
|
|
743
|
-
|
|
743
|
+
addLiquiditySingleSyStatic(
|
|
744
744
|
market: string,
|
|
745
|
-
|
|
745
|
+
netSyIn: BigNumberish,
|
|
746
746
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
747
747
|
): Promise<ContractTransaction>;
|
|
748
748
|
|
|
@@ -850,8 +850,8 @@ export interface RouterStatic extends BaseContract {
|
|
|
850
850
|
}
|
|
851
851
|
>;
|
|
852
852
|
|
|
853
|
-
|
|
854
|
-
|
|
853
|
+
getUserSYInfo(
|
|
854
|
+
sy: string,
|
|
855
855
|
user: string,
|
|
856
856
|
overrides?: CallOverrides
|
|
857
857
|
): Promise<
|
|
@@ -884,9 +884,9 @@ export interface RouterStatic extends BaseContract {
|
|
|
884
884
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
885
885
|
): Promise<ContractTransaction>;
|
|
886
886
|
|
|
887
|
-
|
|
887
|
+
mintPYFromSyStatic(
|
|
888
888
|
YT: string,
|
|
889
|
-
|
|
889
|
+
amountSyToMint: BigNumberish,
|
|
890
890
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
891
891
|
): Promise<ContractTransaction>;
|
|
892
892
|
|
|
@@ -908,18 +908,18 @@ export interface RouterStatic extends BaseContract {
|
|
|
908
908
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
909
909
|
): Promise<ContractTransaction>;
|
|
910
910
|
|
|
911
|
-
|
|
911
|
+
redeemPYToSyStatic(
|
|
912
912
|
YT: string,
|
|
913
913
|
amountPYToRedeem: BigNumberish,
|
|
914
914
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
915
915
|
): Promise<ContractTransaction>;
|
|
916
916
|
|
|
917
|
-
|
|
917
|
+
removeLiquidityDualSyAndPtStatic(
|
|
918
918
|
market: string,
|
|
919
919
|
netLpToRemove: BigNumberish,
|
|
920
920
|
overrides?: CallOverrides
|
|
921
921
|
): Promise<
|
|
922
|
-
[BigNumber, BigNumber] & {
|
|
922
|
+
[BigNumber, BigNumber] & { netSyOut: BigNumber; netPtOut: BigNumber }
|
|
923
923
|
>;
|
|
924
924
|
|
|
925
925
|
removeLiquidityDualTokenAndPtStatic(
|
|
@@ -944,7 +944,7 @@ export interface RouterStatic extends BaseContract {
|
|
|
944
944
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
945
945
|
): Promise<ContractTransaction>;
|
|
946
946
|
|
|
947
|
-
|
|
947
|
+
removeLiquiditySingleSyStatic(
|
|
948
948
|
market: string,
|
|
949
949
|
netLpToRemove: BigNumberish,
|
|
950
950
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -971,7 +971,7 @@ export interface RouterStatic extends BaseContract {
|
|
|
971
971
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
972
972
|
): Promise<ContractTransaction>;
|
|
973
973
|
|
|
974
|
-
|
|
974
|
+
swapExactPtForSyStatic(
|
|
975
975
|
market: string,
|
|
976
976
|
exactPtIn: BigNumberish,
|
|
977
977
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -983,15 +983,15 @@ export interface RouterStatic extends BaseContract {
|
|
|
983
983
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
984
984
|
): Promise<ContractTransaction>;
|
|
985
985
|
|
|
986
|
-
|
|
986
|
+
swapExactSyForPtStatic(
|
|
987
987
|
market: string,
|
|
988
|
-
|
|
988
|
+
exactSyIn: BigNumberish,
|
|
989
989
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
990
990
|
): Promise<ContractTransaction>;
|
|
991
991
|
|
|
992
|
-
|
|
992
|
+
swapExactSyForYtStatic(
|
|
993
993
|
market: string,
|
|
994
|
-
|
|
994
|
+
exactSyIn: BigNumberish,
|
|
995
995
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
996
996
|
): Promise<ContractTransaction>;
|
|
997
997
|
|
|
@@ -1008,33 +1008,33 @@ export interface RouterStatic extends BaseContract {
|
|
|
1008
1008
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1009
1009
|
): Promise<ContractTransaction>;
|
|
1010
1010
|
|
|
1011
|
-
|
|
1011
|
+
swapExactYtForSyStatic(
|
|
1012
1012
|
market: string,
|
|
1013
1013
|
exactYtIn: BigNumberish,
|
|
1014
1014
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1015
1015
|
): Promise<ContractTransaction>;
|
|
1016
1016
|
|
|
1017
|
-
|
|
1017
|
+
swapPtForExactSyStatic(
|
|
1018
1018
|
market: string,
|
|
1019
|
-
|
|
1019
|
+
exactSyOut: BigNumberish,
|
|
1020
1020
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1021
1021
|
): Promise<ContractTransaction>;
|
|
1022
1022
|
|
|
1023
|
-
|
|
1023
|
+
swapSyForExactPtStatic(
|
|
1024
1024
|
market: string,
|
|
1025
1025
|
exactPtOut: BigNumberish,
|
|
1026
1026
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1027
1027
|
): Promise<ContractTransaction>;
|
|
1028
1028
|
|
|
1029
|
-
|
|
1029
|
+
swapSyForExactYtStatic(
|
|
1030
1030
|
market: string,
|
|
1031
1031
|
exactYtOut: BigNumberish,
|
|
1032
1032
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1033
1033
|
): Promise<ContractTransaction>;
|
|
1034
1034
|
|
|
1035
|
-
|
|
1035
|
+
swapYtForExactSyStatic(
|
|
1036
1036
|
market: string,
|
|
1037
|
-
|
|
1037
|
+
exactSyOut: BigNumberish,
|
|
1038
1038
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1039
1039
|
): Promise<ContractTransaction>;
|
|
1040
1040
|
|
|
@@ -1061,15 +1061,15 @@ export interface RouterStatic extends BaseContract {
|
|
|
1061
1061
|
|
|
1062
1062
|
MIN_LOCK_TIME(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1063
1063
|
|
|
1064
|
-
|
|
1064
|
+
addLiquidityDualSyAndPtStatic(
|
|
1065
1065
|
market: string,
|
|
1066
|
-
|
|
1066
|
+
netSyDesired: BigNumberish,
|
|
1067
1067
|
netPtDesired: BigNumberish,
|
|
1068
1068
|
overrides?: CallOverrides
|
|
1069
1069
|
): Promise<
|
|
1070
1070
|
[BigNumber, BigNumber, BigNumber] & {
|
|
1071
1071
|
netLpOut: BigNumber;
|
|
1072
|
-
|
|
1072
|
+
netSyUsed: BigNumber;
|
|
1073
1073
|
netPtUsed: BigNumber;
|
|
1074
1074
|
}
|
|
1075
1075
|
>;
|
|
@@ -1101,9 +1101,9 @@ export interface RouterStatic extends BaseContract {
|
|
|
1101
1101
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1102
1102
|
): Promise<ContractTransaction>;
|
|
1103
1103
|
|
|
1104
|
-
|
|
1104
|
+
addLiquiditySingleSyStatic(
|
|
1105
1105
|
market: string,
|
|
1106
|
-
|
|
1106
|
+
netSyIn: BigNumberish,
|
|
1107
1107
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1108
1108
|
): Promise<ContractTransaction>;
|
|
1109
1109
|
|
|
@@ -1195,8 +1195,8 @@ export interface RouterStatic extends BaseContract {
|
|
|
1195
1195
|
overrides?: CallOverrides
|
|
1196
1196
|
): Promise<RouterStatic.UserPYInfoStructOutput[]>;
|
|
1197
1197
|
|
|
1198
|
-
|
|
1199
|
-
|
|
1198
|
+
getUserSYInfo(
|
|
1199
|
+
sy: string,
|
|
1200
1200
|
user: string,
|
|
1201
1201
|
overrides?: CallOverrides
|
|
1202
1202
|
): Promise<
|
|
@@ -1229,9 +1229,9 @@ export interface RouterStatic extends BaseContract {
|
|
|
1229
1229
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1230
1230
|
): Promise<ContractTransaction>;
|
|
1231
1231
|
|
|
1232
|
-
|
|
1232
|
+
mintPYFromSyStatic(
|
|
1233
1233
|
YT: string,
|
|
1234
|
-
|
|
1234
|
+
amountSyToMint: BigNumberish,
|
|
1235
1235
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1236
1236
|
): Promise<ContractTransaction>;
|
|
1237
1237
|
|
|
@@ -1253,18 +1253,18 @@ export interface RouterStatic extends BaseContract {
|
|
|
1253
1253
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1254
1254
|
): Promise<ContractTransaction>;
|
|
1255
1255
|
|
|
1256
|
-
|
|
1256
|
+
redeemPYToSyStatic(
|
|
1257
1257
|
YT: string,
|
|
1258
1258
|
amountPYToRedeem: BigNumberish,
|
|
1259
1259
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1260
1260
|
): Promise<ContractTransaction>;
|
|
1261
1261
|
|
|
1262
|
-
|
|
1262
|
+
removeLiquidityDualSyAndPtStatic(
|
|
1263
1263
|
market: string,
|
|
1264
1264
|
netLpToRemove: BigNumberish,
|
|
1265
1265
|
overrides?: CallOverrides
|
|
1266
1266
|
): Promise<
|
|
1267
|
-
[BigNumber, BigNumber] & {
|
|
1267
|
+
[BigNumber, BigNumber] & { netSyOut: BigNumber; netPtOut: BigNumber }
|
|
1268
1268
|
>;
|
|
1269
1269
|
|
|
1270
1270
|
removeLiquidityDualTokenAndPtStatic(
|
|
@@ -1289,7 +1289,7 @@ export interface RouterStatic extends BaseContract {
|
|
|
1289
1289
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1290
1290
|
): Promise<ContractTransaction>;
|
|
1291
1291
|
|
|
1292
|
-
|
|
1292
|
+
removeLiquiditySingleSyStatic(
|
|
1293
1293
|
market: string,
|
|
1294
1294
|
netLpToRemove: BigNumberish,
|
|
1295
1295
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -1316,7 +1316,7 @@ export interface RouterStatic extends BaseContract {
|
|
|
1316
1316
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1317
1317
|
): Promise<ContractTransaction>;
|
|
1318
1318
|
|
|
1319
|
-
|
|
1319
|
+
swapExactPtForSyStatic(
|
|
1320
1320
|
market: string,
|
|
1321
1321
|
exactPtIn: BigNumberish,
|
|
1322
1322
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -1328,15 +1328,15 @@ export interface RouterStatic extends BaseContract {
|
|
|
1328
1328
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1329
1329
|
): Promise<ContractTransaction>;
|
|
1330
1330
|
|
|
1331
|
-
|
|
1331
|
+
swapExactSyForPtStatic(
|
|
1332
1332
|
market: string,
|
|
1333
|
-
|
|
1333
|
+
exactSyIn: BigNumberish,
|
|
1334
1334
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1335
1335
|
): Promise<ContractTransaction>;
|
|
1336
1336
|
|
|
1337
|
-
|
|
1337
|
+
swapExactSyForYtStatic(
|
|
1338
1338
|
market: string,
|
|
1339
|
-
|
|
1339
|
+
exactSyIn: BigNumberish,
|
|
1340
1340
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1341
1341
|
): Promise<ContractTransaction>;
|
|
1342
1342
|
|
|
@@ -1353,33 +1353,33 @@ export interface RouterStatic extends BaseContract {
|
|
|
1353
1353
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1354
1354
|
): Promise<ContractTransaction>;
|
|
1355
1355
|
|
|
1356
|
-
|
|
1356
|
+
swapExactYtForSyStatic(
|
|
1357
1357
|
market: string,
|
|
1358
1358
|
exactYtIn: BigNumberish,
|
|
1359
1359
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1360
1360
|
): Promise<ContractTransaction>;
|
|
1361
1361
|
|
|
1362
|
-
|
|
1362
|
+
swapPtForExactSyStatic(
|
|
1363
1363
|
market: string,
|
|
1364
|
-
|
|
1364
|
+
exactSyOut: BigNumberish,
|
|
1365
1365
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1366
1366
|
): Promise<ContractTransaction>;
|
|
1367
1367
|
|
|
1368
|
-
|
|
1368
|
+
swapSyForExactPtStatic(
|
|
1369
1369
|
market: string,
|
|
1370
1370
|
exactPtOut: BigNumberish,
|
|
1371
1371
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1372
1372
|
): Promise<ContractTransaction>;
|
|
1373
1373
|
|
|
1374
|
-
|
|
1374
|
+
swapSyForExactYtStatic(
|
|
1375
1375
|
market: string,
|
|
1376
1376
|
exactYtOut: BigNumberish,
|
|
1377
1377
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1378
1378
|
): Promise<ContractTransaction>;
|
|
1379
1379
|
|
|
1380
|
-
|
|
1380
|
+
swapYtForExactSyStatic(
|
|
1381
1381
|
market: string,
|
|
1382
|
-
|
|
1382
|
+
exactSyOut: BigNumberish,
|
|
1383
1383
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1384
1384
|
): Promise<ContractTransaction>;
|
|
1385
1385
|
|
|
@@ -1406,15 +1406,15 @@ export interface RouterStatic extends BaseContract {
|
|
|
1406
1406
|
|
|
1407
1407
|
MIN_LOCK_TIME(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1408
1408
|
|
|
1409
|
-
|
|
1409
|
+
addLiquidityDualSyAndPtStatic(
|
|
1410
1410
|
market: string,
|
|
1411
|
-
|
|
1411
|
+
netSyDesired: BigNumberish,
|
|
1412
1412
|
netPtDesired: BigNumberish,
|
|
1413
1413
|
overrides?: CallOverrides
|
|
1414
1414
|
): Promise<
|
|
1415
1415
|
[BigNumber, BigNumber, BigNumber] & {
|
|
1416
1416
|
netLpOut: BigNumber;
|
|
1417
|
-
|
|
1417
|
+
netSyUsed: BigNumber;
|
|
1418
1418
|
netPtUsed: BigNumber;
|
|
1419
1419
|
}
|
|
1420
1420
|
>;
|
|
@@ -1442,7 +1442,7 @@ export interface RouterStatic extends BaseContract {
|
|
|
1442
1442
|
[BigNumber, BigNumber, BigNumber, BigNumber] & {
|
|
1443
1443
|
netLpOut: BigNumber;
|
|
1444
1444
|
netPtFromSwap: BigNumber;
|
|
1445
|
-
|
|
1445
|
+
netSyFee: BigNumber;
|
|
1446
1446
|
priceImpact: BigNumber;
|
|
1447
1447
|
}
|
|
1448
1448
|
>;
|
|
@@ -1455,20 +1455,20 @@ export interface RouterStatic extends BaseContract {
|
|
|
1455
1455
|
[BigNumber, BigNumber, BigNumber, BigNumber] & {
|
|
1456
1456
|
netLpOut: BigNumber;
|
|
1457
1457
|
netPtToSwap: BigNumber;
|
|
1458
|
-
|
|
1458
|
+
netSyFee: BigNumber;
|
|
1459
1459
|
priceImpact: BigNumber;
|
|
1460
1460
|
}
|
|
1461
1461
|
>;
|
|
1462
1462
|
|
|
1463
|
-
|
|
1463
|
+
addLiquiditySingleSyStatic(
|
|
1464
1464
|
market: string,
|
|
1465
|
-
|
|
1465
|
+
netSyIn: BigNumberish,
|
|
1466
1466
|
overrides?: CallOverrides
|
|
1467
1467
|
): Promise<
|
|
1468
1468
|
[BigNumber, BigNumber, BigNumber, BigNumber] & {
|
|
1469
1469
|
netLpOut: BigNumber;
|
|
1470
1470
|
netPtFromSwap: BigNumber;
|
|
1471
|
-
|
|
1471
|
+
netSyFee: BigNumber;
|
|
1472
1472
|
priceImpact: BigNumber;
|
|
1473
1473
|
}
|
|
1474
1474
|
>;
|
|
@@ -1496,7 +1496,7 @@ export interface RouterStatic extends BaseContract {
|
|
|
1496
1496
|
): Promise<
|
|
1497
1497
|
[string, string, MarketStateStructOutput, BigNumber, BigNumber] & {
|
|
1498
1498
|
pt: string;
|
|
1499
|
-
|
|
1499
|
+
sy: string;
|
|
1500
1500
|
state: MarketStateStructOutput;
|
|
1501
1501
|
impliedYield: BigNumber;
|
|
1502
1502
|
exchangeRate: BigNumber;
|
|
@@ -1573,8 +1573,8 @@ export interface RouterStatic extends BaseContract {
|
|
|
1573
1573
|
overrides?: CallOverrides
|
|
1574
1574
|
): Promise<RouterStatic.UserPYInfoStructOutput[]>;
|
|
1575
1575
|
|
|
1576
|
-
|
|
1577
|
-
|
|
1576
|
+
getUserSYInfo(
|
|
1577
|
+
sy: string,
|
|
1578
1578
|
user: string,
|
|
1579
1579
|
overrides?: CallOverrides
|
|
1580
1580
|
): Promise<
|
|
@@ -1605,9 +1605,9 @@ export interface RouterStatic extends BaseContract {
|
|
|
1605
1605
|
overrides?: CallOverrides
|
|
1606
1606
|
): Promise<BigNumber>;
|
|
1607
1607
|
|
|
1608
|
-
|
|
1608
|
+
mintPYFromSyStatic(
|
|
1609
1609
|
YT: string,
|
|
1610
|
-
|
|
1610
|
+
amountSyToMint: BigNumberish,
|
|
1611
1611
|
overrides?: CallOverrides
|
|
1612
1612
|
): Promise<BigNumber>;
|
|
1613
1613
|
|
|
@@ -1626,18 +1626,18 @@ export interface RouterStatic extends BaseContract {
|
|
|
1626
1626
|
overrides?: CallOverrides
|
|
1627
1627
|
): Promise<BigNumber>;
|
|
1628
1628
|
|
|
1629
|
-
|
|
1629
|
+
redeemPYToSyStatic(
|
|
1630
1630
|
YT: string,
|
|
1631
1631
|
amountPYToRedeem: BigNumberish,
|
|
1632
1632
|
overrides?: CallOverrides
|
|
1633
1633
|
): Promise<BigNumber>;
|
|
1634
1634
|
|
|
1635
|
-
|
|
1635
|
+
removeLiquidityDualSyAndPtStatic(
|
|
1636
1636
|
market: string,
|
|
1637
1637
|
netLpToRemove: BigNumberish,
|
|
1638
1638
|
overrides?: CallOverrides
|
|
1639
1639
|
): Promise<
|
|
1640
|
-
[BigNumber, BigNumber] & {
|
|
1640
|
+
[BigNumber, BigNumber] & { netSyOut: BigNumber; netPtOut: BigNumber }
|
|
1641
1641
|
>;
|
|
1642
1642
|
|
|
1643
1643
|
removeLiquidityDualTokenAndPtStatic(
|
|
@@ -1657,7 +1657,7 @@ export interface RouterStatic extends BaseContract {
|
|
|
1657
1657
|
): Promise<
|
|
1658
1658
|
[BigNumber, BigNumber, BigNumber] & {
|
|
1659
1659
|
netBaseTokenOut: BigNumber;
|
|
1660
|
-
|
|
1660
|
+
netSyFee: BigNumber;
|
|
1661
1661
|
priceImpact: BigNumber;
|
|
1662
1662
|
}
|
|
1663
1663
|
>;
|
|
@@ -1670,19 +1670,19 @@ export interface RouterStatic extends BaseContract {
|
|
|
1670
1670
|
[BigNumber, BigNumber, BigNumber, BigNumber] & {
|
|
1671
1671
|
netPtOut: BigNumber;
|
|
1672
1672
|
netPtFromSwap: BigNumber;
|
|
1673
|
-
|
|
1673
|
+
netSyFee: BigNumber;
|
|
1674
1674
|
priceImpact: BigNumber;
|
|
1675
1675
|
}
|
|
1676
1676
|
>;
|
|
1677
1677
|
|
|
1678
|
-
|
|
1678
|
+
removeLiquiditySingleSyStatic(
|
|
1679
1679
|
market: string,
|
|
1680
1680
|
netLpToRemove: BigNumberish,
|
|
1681
1681
|
overrides?: CallOverrides
|
|
1682
1682
|
): Promise<
|
|
1683
1683
|
[BigNumber, BigNumber, BigNumber] & {
|
|
1684
|
-
|
|
1685
|
-
|
|
1684
|
+
netSyOut: BigNumber;
|
|
1685
|
+
netSyFee: BigNumber;
|
|
1686
1686
|
priceImpact: BigNumber;
|
|
1687
1687
|
}
|
|
1688
1688
|
>;
|
|
@@ -1695,7 +1695,7 @@ export interface RouterStatic extends BaseContract {
|
|
|
1695
1695
|
): Promise<
|
|
1696
1696
|
[BigNumber, BigNumber, BigNumber] & {
|
|
1697
1697
|
netPtOut: BigNumber;
|
|
1698
|
-
|
|
1698
|
+
netSyFee: BigNumber;
|
|
1699
1699
|
priceImpact: BigNumber;
|
|
1700
1700
|
}
|
|
1701
1701
|
>;
|
|
@@ -1708,7 +1708,7 @@ export interface RouterStatic extends BaseContract {
|
|
|
1708
1708
|
): Promise<
|
|
1709
1709
|
[BigNumber, BigNumber, BigNumber] & {
|
|
1710
1710
|
netYtOut: BigNumber;
|
|
1711
|
-
|
|
1711
|
+
netSyFee: BigNumber;
|
|
1712
1712
|
priceImpact: BigNumber;
|
|
1713
1713
|
}
|
|
1714
1714
|
>;
|
|
@@ -1721,19 +1721,19 @@ export interface RouterStatic extends BaseContract {
|
|
|
1721
1721
|
): Promise<
|
|
1722
1722
|
[BigNumber, BigNumber, BigNumber] & {
|
|
1723
1723
|
netBaseTokenOut: BigNumber;
|
|
1724
|
-
|
|
1724
|
+
netSyFee: BigNumber;
|
|
1725
1725
|
priceImpact: BigNumber;
|
|
1726
1726
|
}
|
|
1727
1727
|
>;
|
|
1728
1728
|
|
|
1729
|
-
|
|
1729
|
+
swapExactPtForSyStatic(
|
|
1730
1730
|
market: string,
|
|
1731
1731
|
exactPtIn: BigNumberish,
|
|
1732
1732
|
overrides?: CallOverrides
|
|
1733
1733
|
): Promise<
|
|
1734
1734
|
[BigNumber, BigNumber, BigNumber] & {
|
|
1735
|
-
|
|
1736
|
-
|
|
1735
|
+
netSyOut: BigNumber;
|
|
1736
|
+
netSyFee: BigNumber;
|
|
1737
1737
|
priceImpact: BigNumber;
|
|
1738
1738
|
}
|
|
1739
1739
|
>;
|
|
@@ -1746,31 +1746,31 @@ export interface RouterStatic extends BaseContract {
|
|
|
1746
1746
|
[BigNumber, BigNumber, BigNumber, BigNumber] & {
|
|
1747
1747
|
netYtOut: BigNumber;
|
|
1748
1748
|
totalPtToSwap: BigNumber;
|
|
1749
|
-
|
|
1749
|
+
netSyFee: BigNumber;
|
|
1750
1750
|
priceImpact: BigNumber;
|
|
1751
1751
|
}
|
|
1752
1752
|
>;
|
|
1753
1753
|
|
|
1754
|
-
|
|
1754
|
+
swapExactSyForPtStatic(
|
|
1755
1755
|
market: string,
|
|
1756
|
-
|
|
1756
|
+
exactSyIn: BigNumberish,
|
|
1757
1757
|
overrides?: CallOverrides
|
|
1758
1758
|
): Promise<
|
|
1759
1759
|
[BigNumber, BigNumber, BigNumber] & {
|
|
1760
1760
|
netPtOut: BigNumber;
|
|
1761
|
-
|
|
1761
|
+
netSyFee: BigNumber;
|
|
1762
1762
|
priceImpact: BigNumber;
|
|
1763
1763
|
}
|
|
1764
1764
|
>;
|
|
1765
1765
|
|
|
1766
|
-
|
|
1766
|
+
swapExactSyForYtStatic(
|
|
1767
1767
|
market: string,
|
|
1768
|
-
|
|
1768
|
+
exactSyIn: BigNumberish,
|
|
1769
1769
|
overrides?: CallOverrides
|
|
1770
1770
|
): Promise<
|
|
1771
1771
|
[BigNumber, BigNumber, BigNumber] & {
|
|
1772
1772
|
netYtOut: BigNumber;
|
|
1773
|
-
|
|
1773
|
+
netSyFee: BigNumber;
|
|
1774
1774
|
priceImpact: BigNumber;
|
|
1775
1775
|
}
|
|
1776
1776
|
>;
|
|
@@ -1783,7 +1783,7 @@ export interface RouterStatic extends BaseContract {
|
|
|
1783
1783
|
): Promise<
|
|
1784
1784
|
[BigNumber, BigNumber, BigNumber] & {
|
|
1785
1785
|
netBaseTokenOut: BigNumber;
|
|
1786
|
-
|
|
1786
|
+
netSyFee: BigNumber;
|
|
1787
1787
|
priceImpact: BigNumber;
|
|
1788
1788
|
}
|
|
1789
1789
|
>;
|
|
@@ -1796,67 +1796,67 @@ export interface RouterStatic extends BaseContract {
|
|
|
1796
1796
|
[BigNumber, BigNumber, BigNumber, BigNumber] & {
|
|
1797
1797
|
netPtOut: BigNumber;
|
|
1798
1798
|
totalPtSwapped: BigNumber;
|
|
1799
|
-
|
|
1799
|
+
netSyFee: BigNumber;
|
|
1800
1800
|
priceImpact: BigNumber;
|
|
1801
1801
|
}
|
|
1802
1802
|
>;
|
|
1803
1803
|
|
|
1804
|
-
|
|
1804
|
+
swapExactYtForSyStatic(
|
|
1805
1805
|
market: string,
|
|
1806
1806
|
exactYtIn: BigNumberish,
|
|
1807
1807
|
overrides?: CallOverrides
|
|
1808
1808
|
): Promise<
|
|
1809
1809
|
[BigNumber, BigNumber, BigNumber] & {
|
|
1810
|
-
|
|
1811
|
-
|
|
1810
|
+
netSyOut: BigNumber;
|
|
1811
|
+
netSyFee: BigNumber;
|
|
1812
1812
|
priceImpact: BigNumber;
|
|
1813
1813
|
}
|
|
1814
1814
|
>;
|
|
1815
1815
|
|
|
1816
|
-
|
|
1816
|
+
swapPtForExactSyStatic(
|
|
1817
1817
|
market: string,
|
|
1818
|
-
|
|
1818
|
+
exactSyOut: BigNumberish,
|
|
1819
1819
|
overrides?: CallOverrides
|
|
1820
1820
|
): Promise<
|
|
1821
1821
|
[BigNumber, BigNumber, BigNumber] & {
|
|
1822
1822
|
netPtIn: BigNumber;
|
|
1823
|
-
|
|
1823
|
+
netSyFee: BigNumber;
|
|
1824
1824
|
priceImpact: BigNumber;
|
|
1825
1825
|
}
|
|
1826
1826
|
>;
|
|
1827
1827
|
|
|
1828
|
-
|
|
1828
|
+
swapSyForExactPtStatic(
|
|
1829
1829
|
market: string,
|
|
1830
1830
|
exactPtOut: BigNumberish,
|
|
1831
1831
|
overrides?: CallOverrides
|
|
1832
1832
|
): Promise<
|
|
1833
1833
|
[BigNumber, BigNumber, BigNumber] & {
|
|
1834
|
-
|
|
1835
|
-
|
|
1834
|
+
netSyIn: BigNumber;
|
|
1835
|
+
netSyFee: BigNumber;
|
|
1836
1836
|
priceImpact: BigNumber;
|
|
1837
1837
|
}
|
|
1838
1838
|
>;
|
|
1839
1839
|
|
|
1840
|
-
|
|
1840
|
+
swapSyForExactYtStatic(
|
|
1841
1841
|
market: string,
|
|
1842
1842
|
exactYtOut: BigNumberish,
|
|
1843
1843
|
overrides?: CallOverrides
|
|
1844
1844
|
): Promise<
|
|
1845
1845
|
[BigNumber, BigNumber, BigNumber] & {
|
|
1846
|
-
|
|
1847
|
-
|
|
1846
|
+
netSyIn: BigNumber;
|
|
1847
|
+
netSyFee: BigNumber;
|
|
1848
1848
|
priceImpact: BigNumber;
|
|
1849
1849
|
}
|
|
1850
1850
|
>;
|
|
1851
1851
|
|
|
1852
|
-
|
|
1852
|
+
swapYtForExactSyStatic(
|
|
1853
1853
|
market: string,
|
|
1854
|
-
|
|
1854
|
+
exactSyOut: BigNumberish,
|
|
1855
1855
|
overrides?: CallOverrides
|
|
1856
1856
|
): Promise<
|
|
1857
1857
|
[BigNumber, BigNumber, BigNumber] & {
|
|
1858
1858
|
netYtIn: BigNumber;
|
|
1859
|
-
|
|
1859
|
+
netSyFee: BigNumber;
|
|
1860
1860
|
priceImpact: BigNumber;
|
|
1861
1861
|
}
|
|
1862
1862
|
>;
|
|
@@ -1913,9 +1913,9 @@ export interface RouterStatic extends BaseContract {
|
|
|
1913
1913
|
|
|
1914
1914
|
MIN_LOCK_TIME(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1915
1915
|
|
|
1916
|
-
|
|
1916
|
+
addLiquidityDualSyAndPtStatic(
|
|
1917
1917
|
market: string,
|
|
1918
|
-
|
|
1918
|
+
netSyDesired: BigNumberish,
|
|
1919
1919
|
netPtDesired: BigNumberish,
|
|
1920
1920
|
overrides?: CallOverrides
|
|
1921
1921
|
): Promise<BigNumber>;
|
|
@@ -1941,9 +1941,9 @@ export interface RouterStatic extends BaseContract {
|
|
|
1941
1941
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1942
1942
|
): Promise<BigNumber>;
|
|
1943
1943
|
|
|
1944
|
-
|
|
1944
|
+
addLiquiditySingleSyStatic(
|
|
1945
1945
|
market: string,
|
|
1946
|
-
|
|
1946
|
+
netSyIn: BigNumberish,
|
|
1947
1947
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1948
1948
|
): Promise<BigNumber>;
|
|
1949
1949
|
|
|
@@ -2022,8 +2022,8 @@ export interface RouterStatic extends BaseContract {
|
|
|
2022
2022
|
overrides?: CallOverrides
|
|
2023
2023
|
): Promise<BigNumber>;
|
|
2024
2024
|
|
|
2025
|
-
|
|
2026
|
-
|
|
2025
|
+
getUserSYInfo(
|
|
2026
|
+
sy: string,
|
|
2027
2027
|
user: string,
|
|
2028
2028
|
overrides?: CallOverrides
|
|
2029
2029
|
): Promise<BigNumber>;
|
|
@@ -2051,9 +2051,9 @@ export interface RouterStatic extends BaseContract {
|
|
|
2051
2051
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2052
2052
|
): Promise<BigNumber>;
|
|
2053
2053
|
|
|
2054
|
-
|
|
2054
|
+
mintPYFromSyStatic(
|
|
2055
2055
|
YT: string,
|
|
2056
|
-
|
|
2056
|
+
amountSyToMint: BigNumberish,
|
|
2057
2057
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2058
2058
|
): Promise<BigNumber>;
|
|
2059
2059
|
|
|
@@ -2075,13 +2075,13 @@ export interface RouterStatic extends BaseContract {
|
|
|
2075
2075
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2076
2076
|
): Promise<BigNumber>;
|
|
2077
2077
|
|
|
2078
|
-
|
|
2078
|
+
redeemPYToSyStatic(
|
|
2079
2079
|
YT: string,
|
|
2080
2080
|
amountPYToRedeem: BigNumberish,
|
|
2081
2081
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2082
2082
|
): Promise<BigNumber>;
|
|
2083
2083
|
|
|
2084
|
-
|
|
2084
|
+
removeLiquidityDualSyAndPtStatic(
|
|
2085
2085
|
market: string,
|
|
2086
2086
|
netLpToRemove: BigNumberish,
|
|
2087
2087
|
overrides?: CallOverrides
|
|
@@ -2107,7 +2107,7 @@ export interface RouterStatic extends BaseContract {
|
|
|
2107
2107
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2108
2108
|
): Promise<BigNumber>;
|
|
2109
2109
|
|
|
2110
|
-
|
|
2110
|
+
removeLiquiditySingleSyStatic(
|
|
2111
2111
|
market: string,
|
|
2112
2112
|
netLpToRemove: BigNumberish,
|
|
2113
2113
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -2134,7 +2134,7 @@ export interface RouterStatic extends BaseContract {
|
|
|
2134
2134
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2135
2135
|
): Promise<BigNumber>;
|
|
2136
2136
|
|
|
2137
|
-
|
|
2137
|
+
swapExactPtForSyStatic(
|
|
2138
2138
|
market: string,
|
|
2139
2139
|
exactPtIn: BigNumberish,
|
|
2140
2140
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -2146,15 +2146,15 @@ export interface RouterStatic extends BaseContract {
|
|
|
2146
2146
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2147
2147
|
): Promise<BigNumber>;
|
|
2148
2148
|
|
|
2149
|
-
|
|
2149
|
+
swapExactSyForPtStatic(
|
|
2150
2150
|
market: string,
|
|
2151
|
-
|
|
2151
|
+
exactSyIn: BigNumberish,
|
|
2152
2152
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2153
2153
|
): Promise<BigNumber>;
|
|
2154
2154
|
|
|
2155
|
-
|
|
2155
|
+
swapExactSyForYtStatic(
|
|
2156
2156
|
market: string,
|
|
2157
|
-
|
|
2157
|
+
exactSyIn: BigNumberish,
|
|
2158
2158
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2159
2159
|
): Promise<BigNumber>;
|
|
2160
2160
|
|
|
@@ -2171,33 +2171,33 @@ export interface RouterStatic extends BaseContract {
|
|
|
2171
2171
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2172
2172
|
): Promise<BigNumber>;
|
|
2173
2173
|
|
|
2174
|
-
|
|
2174
|
+
swapExactYtForSyStatic(
|
|
2175
2175
|
market: string,
|
|
2176
2176
|
exactYtIn: BigNumberish,
|
|
2177
2177
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2178
2178
|
): Promise<BigNumber>;
|
|
2179
2179
|
|
|
2180
|
-
|
|
2180
|
+
swapPtForExactSyStatic(
|
|
2181
2181
|
market: string,
|
|
2182
|
-
|
|
2182
|
+
exactSyOut: BigNumberish,
|
|
2183
2183
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2184
2184
|
): Promise<BigNumber>;
|
|
2185
2185
|
|
|
2186
|
-
|
|
2186
|
+
swapSyForExactPtStatic(
|
|
2187
2187
|
market: string,
|
|
2188
2188
|
exactPtOut: BigNumberish,
|
|
2189
2189
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2190
2190
|
): Promise<BigNumber>;
|
|
2191
2191
|
|
|
2192
|
-
|
|
2192
|
+
swapSyForExactYtStatic(
|
|
2193
2193
|
market: string,
|
|
2194
2194
|
exactYtOut: BigNumberish,
|
|
2195
2195
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2196
2196
|
): Promise<BigNumber>;
|
|
2197
2197
|
|
|
2198
|
-
|
|
2198
|
+
swapYtForExactSyStatic(
|
|
2199
2199
|
market: string,
|
|
2200
|
-
|
|
2200
|
+
exactSyOut: BigNumberish,
|
|
2201
2201
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2202
2202
|
): Promise<BigNumber>;
|
|
2203
2203
|
|
|
@@ -2225,9 +2225,9 @@ export interface RouterStatic extends BaseContract {
|
|
|
2225
2225
|
|
|
2226
2226
|
MIN_LOCK_TIME(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
2227
2227
|
|
|
2228
|
-
|
|
2228
|
+
addLiquidityDualSyAndPtStatic(
|
|
2229
2229
|
market: string,
|
|
2230
|
-
|
|
2230
|
+
netSyDesired: BigNumberish,
|
|
2231
2231
|
netPtDesired: BigNumberish,
|
|
2232
2232
|
overrides?: CallOverrides
|
|
2233
2233
|
): Promise<PopulatedTransaction>;
|
|
@@ -2253,9 +2253,9 @@ export interface RouterStatic extends BaseContract {
|
|
|
2253
2253
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2254
2254
|
): Promise<PopulatedTransaction>;
|
|
2255
2255
|
|
|
2256
|
-
|
|
2256
|
+
addLiquiditySingleSyStatic(
|
|
2257
2257
|
market: string,
|
|
2258
|
-
|
|
2258
|
+
netSyIn: BigNumberish,
|
|
2259
2259
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2260
2260
|
): Promise<PopulatedTransaction>;
|
|
2261
2261
|
|
|
@@ -2336,8 +2336,8 @@ export interface RouterStatic extends BaseContract {
|
|
|
2336
2336
|
overrides?: CallOverrides
|
|
2337
2337
|
): Promise<PopulatedTransaction>;
|
|
2338
2338
|
|
|
2339
|
-
|
|
2340
|
-
|
|
2339
|
+
getUserSYInfo(
|
|
2340
|
+
sy: string,
|
|
2341
2341
|
user: string,
|
|
2342
2342
|
overrides?: CallOverrides
|
|
2343
2343
|
): Promise<PopulatedTransaction>;
|
|
@@ -2365,9 +2365,9 @@ export interface RouterStatic extends BaseContract {
|
|
|
2365
2365
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2366
2366
|
): Promise<PopulatedTransaction>;
|
|
2367
2367
|
|
|
2368
|
-
|
|
2368
|
+
mintPYFromSyStatic(
|
|
2369
2369
|
YT: string,
|
|
2370
|
-
|
|
2370
|
+
amountSyToMint: BigNumberish,
|
|
2371
2371
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2372
2372
|
): Promise<PopulatedTransaction>;
|
|
2373
2373
|
|
|
@@ -2389,13 +2389,13 @@ export interface RouterStatic extends BaseContract {
|
|
|
2389
2389
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2390
2390
|
): Promise<PopulatedTransaction>;
|
|
2391
2391
|
|
|
2392
|
-
|
|
2392
|
+
redeemPYToSyStatic(
|
|
2393
2393
|
YT: string,
|
|
2394
2394
|
amountPYToRedeem: BigNumberish,
|
|
2395
2395
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2396
2396
|
): Promise<PopulatedTransaction>;
|
|
2397
2397
|
|
|
2398
|
-
|
|
2398
|
+
removeLiquidityDualSyAndPtStatic(
|
|
2399
2399
|
market: string,
|
|
2400
2400
|
netLpToRemove: BigNumberish,
|
|
2401
2401
|
overrides?: CallOverrides
|
|
@@ -2421,7 +2421,7 @@ export interface RouterStatic extends BaseContract {
|
|
|
2421
2421
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2422
2422
|
): Promise<PopulatedTransaction>;
|
|
2423
2423
|
|
|
2424
|
-
|
|
2424
|
+
removeLiquiditySingleSyStatic(
|
|
2425
2425
|
market: string,
|
|
2426
2426
|
netLpToRemove: BigNumberish,
|
|
2427
2427
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -2448,7 +2448,7 @@ export interface RouterStatic extends BaseContract {
|
|
|
2448
2448
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2449
2449
|
): Promise<PopulatedTransaction>;
|
|
2450
2450
|
|
|
2451
|
-
|
|
2451
|
+
swapExactPtForSyStatic(
|
|
2452
2452
|
market: string,
|
|
2453
2453
|
exactPtIn: BigNumberish,
|
|
2454
2454
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -2460,15 +2460,15 @@ export interface RouterStatic extends BaseContract {
|
|
|
2460
2460
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2461
2461
|
): Promise<PopulatedTransaction>;
|
|
2462
2462
|
|
|
2463
|
-
|
|
2463
|
+
swapExactSyForPtStatic(
|
|
2464
2464
|
market: string,
|
|
2465
|
-
|
|
2465
|
+
exactSyIn: BigNumberish,
|
|
2466
2466
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2467
2467
|
): Promise<PopulatedTransaction>;
|
|
2468
2468
|
|
|
2469
|
-
|
|
2469
|
+
swapExactSyForYtStatic(
|
|
2470
2470
|
market: string,
|
|
2471
|
-
|
|
2471
|
+
exactSyIn: BigNumberish,
|
|
2472
2472
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2473
2473
|
): Promise<PopulatedTransaction>;
|
|
2474
2474
|
|
|
@@ -2485,33 +2485,33 @@ export interface RouterStatic extends BaseContract {
|
|
|
2485
2485
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2486
2486
|
): Promise<PopulatedTransaction>;
|
|
2487
2487
|
|
|
2488
|
-
|
|
2488
|
+
swapExactYtForSyStatic(
|
|
2489
2489
|
market: string,
|
|
2490
2490
|
exactYtIn: BigNumberish,
|
|
2491
2491
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2492
2492
|
): Promise<PopulatedTransaction>;
|
|
2493
2493
|
|
|
2494
|
-
|
|
2494
|
+
swapPtForExactSyStatic(
|
|
2495
2495
|
market: string,
|
|
2496
|
-
|
|
2496
|
+
exactSyOut: BigNumberish,
|
|
2497
2497
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2498
2498
|
): Promise<PopulatedTransaction>;
|
|
2499
2499
|
|
|
2500
|
-
|
|
2500
|
+
swapSyForExactPtStatic(
|
|
2501
2501
|
market: string,
|
|
2502
2502
|
exactPtOut: BigNumberish,
|
|
2503
2503
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2504
2504
|
): Promise<PopulatedTransaction>;
|
|
2505
2505
|
|
|
2506
|
-
|
|
2506
|
+
swapSyForExactYtStatic(
|
|
2507
2507
|
market: string,
|
|
2508
2508
|
exactYtOut: BigNumberish,
|
|
2509
2509
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2510
2510
|
): Promise<PopulatedTransaction>;
|
|
2511
2511
|
|
|
2512
|
-
|
|
2512
|
+
swapYtForExactSyStatic(
|
|
2513
2513
|
market: string,
|
|
2514
|
-
|
|
2514
|
+
exactSyOut: BigNumberish,
|
|
2515
2515
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2516
2516
|
): Promise<PopulatedTransaction>;
|
|
2517
2517
|
|