@pendle/core-v2 5.2.0 → 5.2.1-beta-1
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/core/StandardizedYield/implementations/Ethena/PendleSENASY.sol/PendleSENASY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleSENASY.sol/PendleSENASY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDESY.sol/PendleSUSDESY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDESY.sol/PendleSUSDESY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Gains/PendleGTokenSY.sol/PendleGTokenSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Gains/PendleGTokenSY.sol/PendleGTokenSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Gains/PendleGUSDCSY.sol/PendleGUSDCSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Gains/PendleGUSDCSY.sol/PendleGUSDCSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Gains/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Gains/PendleGdaiSY.sol/PendleGDaiSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultERC20SY.sol/PendleKarakVaultERC20SY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultERC20SY.sol/PendleKarakVaultERC20SY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultEzETHSY.sol/PendleKarakVaultEzETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultEzETHSY.sol/PendleKarakVaultEzETHSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultSUSDESY.sol/PendleKarakVaultSUSDESY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultSUSDESY.sol/PendleKarakVaultSUSDESY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultSYBaseUpg.sol/PendleKarakVaultSYBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultUSDESY.sol/PendleKarakVaultUSDESY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultUSDESY.sol/PendleKarakVaultUSDESY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultWEETHSY.sol/PendleKarakVaultWEETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultWEETHSY.sol/PendleKarakVaultWEETHSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/KelpDAO/PendleAgETHSY.sol/PendleAgETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/KelpDAO/PendleAgETHSY.sol/PendleAgETHSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Mellow/PendleAmphorWstETHVaultSY.sol/PendleAmphorWstETHVaultSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Mellow/PendleAmphorWstETHVaultSY.sol/PendleAmphorWstETHVaultSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Mellow/PendleMellowVaultERC4626SYUpg.sol/PendleMellowVaultERC4626SYUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Mellow/PendleMellowVaultERC4626SYUpg.sol/PendleMellowVaultERC4626SYUpg.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Morpho/PendleMorphoMetaVaultSY.sol/PendleMorphoMetaVaultSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Morpho/PendleMorphoMetaVaultSY.sol/PendleMorphoMetaVaultSY.json +1052 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626NotRedeemableToAssetSY.sol/PendleERC4626NotRedeemableToAssetSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626NotRedeemableToAssetSY.sol/PendleERC4626NotRedeemableToAssetSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol/PendleERC4626SY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol/PendleERC4626SY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SYV2.sol/PendleERC4626SYV2.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SYV2.sol/PendleERC4626SYV2.json +1026 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626UpgSY.sol/PendleERC4626SYUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626UpgSY.sol/PendleERC4626SYUpg.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626UpgSYV2.sol/PendleERC4626SYUpg.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626UpgSYV2.sol/PendleERC4626SYUpg.json +1000 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PirexETH/PendleApxETHSY.sol/PendleApxETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PirexETH/PendleApxETHSY.sol/PendleApxETHSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufStETHSY.sol/PendlePufStETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufStETHSY.sol/PendlePufStETHSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufWETHSY.sol/PendlePufWETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufWETHSY.sol/PendlePufWETHSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Sky/PendleSUSDSSY.sol/PendleSUSDSSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Sky/PendleSUSDSSY.sol/PendleSUSDSSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Syrup/PendleSyrupSY.sol/PendleSyrupSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Syrup/PendleSyrupSY.sol/PendleSyrupSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zerolend/PendleZerolendEBTCSYUpg.sol/PendleZerolendEBTCSYUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zerolend/PendleZerolendEBTCSYUpg.sol/PendleZerolendEBTCSYUpg.json +2 -2
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.json +19 -0
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.json +196 -0
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.json +196 -78
- package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.json +196 -0
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.json +196 -0
- package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.json +196 -0
- package/build/artifacts/contracts/interfaces/IPActionSwapLimitV3.sol/IPActionSwapLimitV3.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPActionSwapLimitV3.sol/IPActionSwapLimitV3.json +2638 -0
- package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.json +196 -0
- package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.json +196 -0
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +1220 -48
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapLimitV3Events.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapLimitV3Events.json +207 -0
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.json +196 -0
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +196 -0
- package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +198 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +198 -2
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +198 -80
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +198 -2
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +198 -2
- package/build/artifacts/contracts/router/ActionSwapLimitV3.sol/ActionSwapLimitV3.dbg.json +4 -0
- package/build/artifacts/contracts/router/ActionSwapLimitV3.sol/ActionSwapLimitV3.json +2638 -0
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +198 -2
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +198 -2
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
- package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
- package/contracts/core/StandardizedYield/implementations/Morpho/PendleMorphoMetaVaultSY.sol +21 -0
- package/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol +0 -1
- package/contracts/core/StandardizedYield/implementations/PendleERC4626SYV2.sol +88 -0
- package/contracts/core/StandardizedYield/implementations/PendleERC4626UpgSYV2.sol +83 -0
- package/contracts/core/StandardizedYield/implementations/Zerolend/PendleZerolendEBTCSYUpg.sol +2 -1
- package/contracts/interfaces/IERC4626.sol +2 -0
- package/contracts/interfaces/IPActionAddRemoveLiqV3.sol +6 -6
- package/contracts/interfaces/IPActionMiscV3.sol +2 -8
- package/contracts/interfaces/IPActionSwapLimitV3.sol +42 -0
- package/contracts/interfaces/IPActionSwapPTV3.sol +4 -4
- package/contracts/interfaces/IPActionSwapYTV3.sol +4 -4
- package/contracts/interfaces/IPAllActionTypeV3.sol +4 -0
- package/contracts/interfaces/IPAllActionV3.sol +3 -1
- package/contracts/interfaces/IPAllEventsV3.sol +44 -1
- package/contracts/router/ActionAddRemoveLiqV3.sol +9 -9
- package/contracts/router/ActionMiscV3.sol +3 -17
- package/contracts/router/ActionSwapLimitV3.sol +126 -0
- package/contracts/router/ActionSwapPTV3.sol +4 -4
- package/contracts/router/ActionSwapYTV3.sol +4 -4
- package/contracts/router/base/ActionBase.sol +35 -12
- package/contracts/router/base/ActionDelegateBase.sol +1 -1
- package/deployments/1-core.json +1 -1
- package/deployments/1-markets/SUSDS-MAINNET-MAR2025-RELAUNCH.json +12 -0
- package/deployments/1-markets/USD0++-MAINNET-JUN2025.json +14 -0
- package/deployments/42161-markets/GUSDC-ARBITRUM-JUN2025.json +14 -0
- package/deployments/42161-markets/MUXLP-ARBITRUM-JUN2025.json +14 -0
- package/package.json +1 -1
- package/typechain-types/ActionAddRemoveLiqV3.ts +148 -0
- package/typechain-types/ActionMiscV3.ts +148 -44
- package/typechain-types/ActionSimple.ts +148 -0
- package/typechain-types/ActionStorageStatic.ts +148 -0
- package/typechain-types/ActionStorageV4.ts +148 -0
- package/typechain-types/ActionSwapPTV3.ts +148 -0
- package/typechain-types/ActionSwapYTV3.ts +148 -0
- package/typechain-types/IERC4626.ts +16 -0
- package/typechain-types/IPActionAddRemoveLiqV3.ts +148 -0
- package/typechain-types/IPActionMiscV3.ts +148 -44
- package/typechain-types/IPActionSimple.ts +148 -0
- package/typechain-types/IPActionStorageStatic.ts +148 -0
- package/typechain-types/IPActionStorageV4.ts +148 -0
- package/typechain-types/IPActionSwapPTV3.ts +148 -0
- package/typechain-types/IPActionSwapYTV3.ts +148 -0
- package/typechain-types/IPAllActionV3.ts +390 -20
- package/typechain-types/IPAllEventsV3.ts +148 -0
- package/typechain-types/IPRouterStatic.ts +148 -0
- package/typechain-types/PendleERC4626SYV2.ts +1281 -0
- package/typechain-types/PendleMorphoMetaVaultSY.ts +1323 -0
- package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +197 -1
- package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMiscV3__factory.ts +197 -79
- package/typechain-types/factories/ActionSimple__factory.ts +197 -1
- package/typechain-types/factories/ActionStorageStatic__factory.ts +197 -1
- package/typechain-types/factories/ActionStorageV4__factory.ts +197 -1
- package/typechain-types/factories/ActionSwapLimitV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTV3__factory.ts +197 -1
- package/typechain-types/factories/ActionSwapYTV3__factory.ts +197 -1
- package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
- package/typechain-types/factories/IERC4626__factory.ts +19 -0
- package/typechain-types/factories/IPActionAddRemoveLiqV3__factory.ts +196 -0
- package/typechain-types/factories/IPActionMiscV3__factory.ts +196 -78
- package/typechain-types/factories/IPActionSimple__factory.ts +196 -0
- package/typechain-types/factories/IPActionStorageStatic__factory.ts +196 -0
- package/typechain-types/factories/IPActionStorageV4__factory.ts +196 -0
- package/typechain-types/factories/IPActionSwapPTV3__factory.ts +196 -0
- package/typechain-types/factories/IPActionSwapYTV3__factory.ts +196 -0
- package/typechain-types/factories/IPAllActionV3__factory.ts +1220 -48
- package/typechain-types/factories/IPAllEventsV3__factory.ts +196 -0
- package/typechain-types/factories/IPRouterStatic__factory.ts +196 -0
- package/typechain-types/factories/PendleAgETHSY__factory.ts +1 -1
- package/typechain-types/factories/PendleAmphorWstETHVaultSY__factory.ts +1 -1
- package/typechain-types/factories/PendleApxETHSY__factory.ts +1 -1
- package/typechain-types/factories/PendleERC4626NotRedeemableToAssetSY__factory.ts +1 -1
- package/typechain-types/factories/PendleERC4626SYUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleERC4626SYV2__factory.ts +1095 -0
- package/typechain-types/factories/PendleERC4626SY__factory.ts +1 -1
- package/typechain-types/factories/PendleGDaiSY__factory.ts +1 -1
- package/typechain-types/factories/PendleGTokenSY__factory.ts +1 -1
- package/typechain-types/factories/PendleGUSDCSY__factory.ts +1 -1
- package/typechain-types/factories/PendleKarakVaultERC20SY__factory.ts +1 -1
- package/typechain-types/factories/PendleKarakVaultEzETHSY__factory.ts +1 -1
- package/typechain-types/factories/PendleKarakVaultSUSDESY__factory.ts +1 -1
- package/typechain-types/factories/PendleKarakVaultUSDESY__factory.ts +1 -1
- package/typechain-types/factories/PendleKarakVaultWEETHSY__factory.ts +1 -1
- package/typechain-types/factories/PendleMellowVaultERC4626SYUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMorphoMetaVaultSY__factory.ts +1125 -0
- package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
- package/typechain-types/factories/PendlePufStETHSY__factory.ts +1 -1
- package/typechain-types/factories/PendlePufWETHSY__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
- package/typechain-types/factories/PendleSENASY__factory.ts +1 -1
- package/typechain-types/factories/PendleSUSDESY__factory.ts +1 -1
- package/typechain-types/factories/PendleSUSDSSY__factory.ts +1 -1
- package/typechain-types/factories/PendleSfrxEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleSyrupSY__factory.ts +1 -1
- package/typechain-types/factories/PendleZerolendEBTCSYUpg__factory.ts +1 -1
- package/typechain-types/factories/Reflector__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +54 -0
- package/typechain-types/index.ts +10 -0
|
@@ -361,7 +361,10 @@ export interface IPAllActionV3Interface extends utils.Interface {
|
|
|
361
361
|
"swapExactYtForPt(address,address,uint256,uint256,(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
362
362
|
"swapExactYtForSy(address,address,uint256,uint256,(address,uint256,((uint256,uint256,uint256,uint8,address,address,address,address,uint256,uint256,uint256,bytes),bytes,uint256)[],((uint256,uint256,uint256,uint8,address,address,address,address,uint256,uint256,uint256,bytes),bytes,uint256)[],bytes))": FunctionFragment;
|
|
363
363
|
"swapExactYtForToken(address,address,uint256,(address,uint256,address,address,(uint8,address,bytes,bool)),(address,uint256,((uint256,uint256,uint256,uint8,address,address,address,address,uint256,uint256,uint256,bytes),bytes,uint256)[],((uint256,uint256,uint256,uint8,address,address,address,address,uint256,uint256,uint256,bytes),bytes,uint256)[],bytes))": FunctionFragment;
|
|
364
|
-
"
|
|
364
|
+
"swapMaxPtForSyLimitOnly(address,address,uint256,uint256,(address,uint256,((uint256,uint256,uint256,uint8,address,address,address,address,uint256,uint256,uint256,bytes),bytes,uint256)[],((uint256,uint256,uint256,uint8,address,address,address,address,uint256,uint256,uint256,bytes),bytes,uint256)[],bytes))": FunctionFragment;
|
|
365
|
+
"swapMaxPtForTokenLimitOnly(address,address,uint256,uint256,(address,uint256,address,address,(uint8,address,bytes,bool)),(address,uint256,((uint256,uint256,uint256,uint8,address,address,address,address,uint256,uint256,uint256,bytes),bytes,uint256)[],((uint256,uint256,uint256,uint8,address,address,address,address,uint256,uint256,uint256,bytes),bytes,uint256)[],bytes))": FunctionFragment;
|
|
366
|
+
"swapMaxSyForYtLimitOnly(address,address,uint256,uint256,(address,uint256,((uint256,uint256,uint256,uint8,address,address,address,address,uint256,uint256,uint256,bytes),bytes,uint256)[],((uint256,uint256,uint256,uint8,address,address,address,address,uint256,uint256,uint256,bytes),bytes,uint256)[],bytes))": FunctionFragment;
|
|
367
|
+
"swapMaxTokenForYtLimitOnly(address,address,uint256,uint256,(address,uint256,address,address,(uint8,address,bytes,bool)),(address,uint256,((uint256,uint256,uint256,uint8,address,address,address,address,uint256,uint256,uint256,bytes),bytes,uint256)[],((uint256,uint256,uint256,uint8,address,address,address,address,uint256,uint256,uint256,bytes),bytes,uint256)[],bytes))": FunctionFragment;
|
|
365
368
|
"swapTokenToTokenViaSy(address,address,(address,uint256,address,address,(uint8,address,bytes,bool)),address,uint256)": FunctionFragment;
|
|
366
369
|
"swapTokensToTokens(address,(address,address,uint256,(uint8,address,bytes,bool))[],uint256[])": FunctionFragment;
|
|
367
370
|
"transferOwnership(address,bool,bool)": FunctionFragment;
|
|
@@ -673,8 +676,34 @@ export interface IPAllActionV3Interface extends utils.Interface {
|
|
|
673
676
|
]
|
|
674
677
|
): string;
|
|
675
678
|
encodeFunctionData(
|
|
676
|
-
functionFragment: "
|
|
677
|
-
values: [string, BigNumberish,
|
|
679
|
+
functionFragment: "swapMaxPtForSyLimitOnly",
|
|
680
|
+
values: [string, string, BigNumberish, BigNumberish, LimitOrderDataStruct]
|
|
681
|
+
): string;
|
|
682
|
+
encodeFunctionData(
|
|
683
|
+
functionFragment: "swapMaxPtForTokenLimitOnly",
|
|
684
|
+
values: [
|
|
685
|
+
string,
|
|
686
|
+
string,
|
|
687
|
+
BigNumberish,
|
|
688
|
+
BigNumberish,
|
|
689
|
+
TokenOutputStruct,
|
|
690
|
+
LimitOrderDataStruct
|
|
691
|
+
]
|
|
692
|
+
): string;
|
|
693
|
+
encodeFunctionData(
|
|
694
|
+
functionFragment: "swapMaxSyForYtLimitOnly",
|
|
695
|
+
values: [string, string, BigNumberish, BigNumberish, LimitOrderDataStruct]
|
|
696
|
+
): string;
|
|
697
|
+
encodeFunctionData(
|
|
698
|
+
functionFragment: "swapMaxTokenForYtLimitOnly",
|
|
699
|
+
values: [
|
|
700
|
+
string,
|
|
701
|
+
string,
|
|
702
|
+
BigNumberish,
|
|
703
|
+
BigNumberish,
|
|
704
|
+
TokenInputStruct,
|
|
705
|
+
LimitOrderDataStruct
|
|
706
|
+
]
|
|
678
707
|
): string;
|
|
679
708
|
encodeFunctionData(
|
|
680
709
|
functionFragment: "swapTokenToTokenViaSy",
|
|
@@ -893,7 +922,19 @@ export interface IPAllActionV3Interface extends utils.Interface {
|
|
|
893
922
|
data: BytesLike
|
|
894
923
|
): Result;
|
|
895
924
|
decodeFunctionResult(
|
|
896
|
-
functionFragment: "
|
|
925
|
+
functionFragment: "swapMaxPtForSyLimitOnly",
|
|
926
|
+
data: BytesLike
|
|
927
|
+
): Result;
|
|
928
|
+
decodeFunctionResult(
|
|
929
|
+
functionFragment: "swapMaxPtForTokenLimitOnly",
|
|
930
|
+
data: BytesLike
|
|
931
|
+
): Result;
|
|
932
|
+
decodeFunctionResult(
|
|
933
|
+
functionFragment: "swapMaxSyForYtLimitOnly",
|
|
934
|
+
data: BytesLike
|
|
935
|
+
): Result;
|
|
936
|
+
decodeFunctionResult(
|
|
937
|
+
functionFragment: "swapMaxTokenForYtLimitOnly",
|
|
897
938
|
data: BytesLike
|
|
898
939
|
): Result;
|
|
899
940
|
decodeFunctionResult(
|
|
@@ -934,6 +975,10 @@ export interface IPAllActionV3Interface extends utils.Interface {
|
|
|
934
975
|
"RemoveLiquiditySingleSy(address,address,address,uint256,uint256)": EventFragment;
|
|
935
976
|
"RemoveLiquiditySingleToken(address,address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
936
977
|
"SelectorToFacetSet(bytes4,address)": EventFragment;
|
|
978
|
+
"SwapMaxPtForSyLimitOnly(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
979
|
+
"SwapMaxPtForTokenLimitOnly(address,address,address,address,uint256,uint256,uint256,uint256)": EventFragment;
|
|
980
|
+
"SwapMaxSyForYtLimitOnly(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
981
|
+
"SwapMaxTokenForYtLimitOnly(address,address,address,address,uint256,uint256,uint256,uint256)": EventFragment;
|
|
937
982
|
"SwapPtAndSy(address,address,address,int256,int256)": EventFragment;
|
|
938
983
|
"SwapPtAndToken(address,address,address,address,int256,int256,uint256)": EventFragment;
|
|
939
984
|
"SwapPtAndYt(address,address,address,int256,int256)": EventFragment;
|
|
@@ -969,6 +1014,10 @@ export interface IPAllActionV3Interface extends utils.Interface {
|
|
|
969
1014
|
getEvent(nameOrSignatureOrTopic: "RemoveLiquiditySingleSy"): EventFragment;
|
|
970
1015
|
getEvent(nameOrSignatureOrTopic: "RemoveLiquiditySingleToken"): EventFragment;
|
|
971
1016
|
getEvent(nameOrSignatureOrTopic: "SelectorToFacetSet"): EventFragment;
|
|
1017
|
+
getEvent(nameOrSignatureOrTopic: "SwapMaxPtForSyLimitOnly"): EventFragment;
|
|
1018
|
+
getEvent(nameOrSignatureOrTopic: "SwapMaxPtForTokenLimitOnly"): EventFragment;
|
|
1019
|
+
getEvent(nameOrSignatureOrTopic: "SwapMaxSyForYtLimitOnly"): EventFragment;
|
|
1020
|
+
getEvent(nameOrSignatureOrTopic: "SwapMaxTokenForYtLimitOnly"): EventFragment;
|
|
972
1021
|
getEvent(nameOrSignatureOrTopic: "SwapPtAndSy"): EventFragment;
|
|
973
1022
|
getEvent(nameOrSignatureOrTopic: "SwapPtAndToken"): EventFragment;
|
|
974
1023
|
getEvent(nameOrSignatureOrTopic: "SwapPtAndYt"): EventFragment;
|
|
@@ -1346,6 +1395,70 @@ export type SelectorToFacetSetEvent = TypedEvent<
|
|
|
1346
1395
|
export type SelectorToFacetSetEventFilter =
|
|
1347
1396
|
TypedEventFilter<SelectorToFacetSetEvent>;
|
|
1348
1397
|
|
|
1398
|
+
export type SwapMaxPtForSyLimitOnlyEvent = TypedEvent<
|
|
1399
|
+
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
1400
|
+
{
|
|
1401
|
+
caller: string;
|
|
1402
|
+
market: string;
|
|
1403
|
+
receiver: string;
|
|
1404
|
+
maxPtIn: BigNumber;
|
|
1405
|
+
netSyOut: BigNumber;
|
|
1406
|
+
netPtReturned: BigNumber;
|
|
1407
|
+
}
|
|
1408
|
+
>;
|
|
1409
|
+
|
|
1410
|
+
export type SwapMaxPtForSyLimitOnlyEventFilter =
|
|
1411
|
+
TypedEventFilter<SwapMaxPtForSyLimitOnlyEvent>;
|
|
1412
|
+
|
|
1413
|
+
export type SwapMaxPtForTokenLimitOnlyEvent = TypedEvent<
|
|
1414
|
+
[string, string, string, string, BigNumber, BigNumber, BigNumber, BigNumber],
|
|
1415
|
+
{
|
|
1416
|
+
caller: string;
|
|
1417
|
+
market: string;
|
|
1418
|
+
token: string;
|
|
1419
|
+
receiver: string;
|
|
1420
|
+
maxPtIn: BigNumber;
|
|
1421
|
+
netTokenOut: BigNumber;
|
|
1422
|
+
netSyInterm: BigNumber;
|
|
1423
|
+
netPtReturned: BigNumber;
|
|
1424
|
+
}
|
|
1425
|
+
>;
|
|
1426
|
+
|
|
1427
|
+
export type SwapMaxPtForTokenLimitOnlyEventFilter =
|
|
1428
|
+
TypedEventFilter<SwapMaxPtForTokenLimitOnlyEvent>;
|
|
1429
|
+
|
|
1430
|
+
export type SwapMaxSyForYtLimitOnlyEvent = TypedEvent<
|
|
1431
|
+
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
1432
|
+
{
|
|
1433
|
+
caller: string;
|
|
1434
|
+
market: string;
|
|
1435
|
+
receiver: string;
|
|
1436
|
+
maxSyIn: BigNumber;
|
|
1437
|
+
netYtOut: BigNumber;
|
|
1438
|
+
netSyReturned: BigNumber;
|
|
1439
|
+
}
|
|
1440
|
+
>;
|
|
1441
|
+
|
|
1442
|
+
export type SwapMaxSyForYtLimitOnlyEventFilter =
|
|
1443
|
+
TypedEventFilter<SwapMaxSyForYtLimitOnlyEvent>;
|
|
1444
|
+
|
|
1445
|
+
export type SwapMaxTokenForYtLimitOnlyEvent = TypedEvent<
|
|
1446
|
+
[string, string, string, string, BigNumber, BigNumber, BigNumber, BigNumber],
|
|
1447
|
+
{
|
|
1448
|
+
caller: string;
|
|
1449
|
+
market: string;
|
|
1450
|
+
token: string;
|
|
1451
|
+
receiver: string;
|
|
1452
|
+
maxTokenIn: BigNumber;
|
|
1453
|
+
netYtOut: BigNumber;
|
|
1454
|
+
netSyInterm: BigNumber;
|
|
1455
|
+
netSyReturned: BigNumber;
|
|
1456
|
+
}
|
|
1457
|
+
>;
|
|
1458
|
+
|
|
1459
|
+
export type SwapMaxTokenForYtLimitOnlyEventFilter =
|
|
1460
|
+
TypedEventFilter<SwapMaxTokenForYtLimitOnlyEvent>;
|
|
1461
|
+
|
|
1349
1462
|
export type SwapPtAndSyEvent = TypedEvent<
|
|
1350
1463
|
[string, string, string, BigNumber, BigNumber],
|
|
1351
1464
|
{
|
|
@@ -1875,10 +1988,41 @@ export interface IPAllActionV3 extends BaseContract {
|
|
|
1875
1988
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1876
1989
|
): Promise<ContractTransaction>;
|
|
1877
1990
|
|
|
1878
|
-
|
|
1991
|
+
swapMaxPtForSyLimitOnly(
|
|
1879
1992
|
receiver: string,
|
|
1880
|
-
|
|
1881
|
-
|
|
1993
|
+
market: string,
|
|
1994
|
+
maxPtIn: BigNumberish,
|
|
1995
|
+
minSyPtRate: BigNumberish,
|
|
1996
|
+
limit: LimitOrderDataStruct,
|
|
1997
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1998
|
+
): Promise<ContractTransaction>;
|
|
1999
|
+
|
|
2000
|
+
swapMaxPtForTokenLimitOnly(
|
|
2001
|
+
receiver: string,
|
|
2002
|
+
market: string,
|
|
2003
|
+
maxPtIn: BigNumberish,
|
|
2004
|
+
minTokenPtRate: BigNumberish,
|
|
2005
|
+
output: TokenOutputStruct,
|
|
2006
|
+
limit: LimitOrderDataStruct,
|
|
2007
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2008
|
+
): Promise<ContractTransaction>;
|
|
2009
|
+
|
|
2010
|
+
swapMaxSyForYtLimitOnly(
|
|
2011
|
+
receiver: string,
|
|
2012
|
+
market: string,
|
|
2013
|
+
maxSyIn: BigNumberish,
|
|
2014
|
+
minYtSyRate: BigNumberish,
|
|
2015
|
+
limit: LimitOrderDataStruct,
|
|
2016
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2017
|
+
): Promise<ContractTransaction>;
|
|
2018
|
+
|
|
2019
|
+
swapMaxTokenForYtLimitOnly(
|
|
2020
|
+
receiver: string,
|
|
2021
|
+
market: string,
|
|
2022
|
+
minSyInterm: BigNumberish,
|
|
2023
|
+
minYtSyRate: BigNumberish,
|
|
2024
|
+
input: TokenInputStruct,
|
|
2025
|
+
limit: LimitOrderDataStruct,
|
|
1882
2026
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
1883
2027
|
): Promise<ContractTransaction>;
|
|
1884
2028
|
|
|
@@ -2338,10 +2482,41 @@ export interface IPAllActionV3 extends BaseContract {
|
|
|
2338
2482
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2339
2483
|
): Promise<ContractTransaction>;
|
|
2340
2484
|
|
|
2341
|
-
|
|
2485
|
+
swapMaxPtForSyLimitOnly(
|
|
2342
2486
|
receiver: string,
|
|
2343
|
-
|
|
2344
|
-
|
|
2487
|
+
market: string,
|
|
2488
|
+
maxPtIn: BigNumberish,
|
|
2489
|
+
minSyPtRate: BigNumberish,
|
|
2490
|
+
limit: LimitOrderDataStruct,
|
|
2491
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2492
|
+
): Promise<ContractTransaction>;
|
|
2493
|
+
|
|
2494
|
+
swapMaxPtForTokenLimitOnly(
|
|
2495
|
+
receiver: string,
|
|
2496
|
+
market: string,
|
|
2497
|
+
maxPtIn: BigNumberish,
|
|
2498
|
+
minTokenPtRate: BigNumberish,
|
|
2499
|
+
output: TokenOutputStruct,
|
|
2500
|
+
limit: LimitOrderDataStruct,
|
|
2501
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2502
|
+
): Promise<ContractTransaction>;
|
|
2503
|
+
|
|
2504
|
+
swapMaxSyForYtLimitOnly(
|
|
2505
|
+
receiver: string,
|
|
2506
|
+
market: string,
|
|
2507
|
+
maxSyIn: BigNumberish,
|
|
2508
|
+
minYtSyRate: BigNumberish,
|
|
2509
|
+
limit: LimitOrderDataStruct,
|
|
2510
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2511
|
+
): Promise<ContractTransaction>;
|
|
2512
|
+
|
|
2513
|
+
swapMaxTokenForYtLimitOnly(
|
|
2514
|
+
receiver: string,
|
|
2515
|
+
market: string,
|
|
2516
|
+
minSyInterm: BigNumberish,
|
|
2517
|
+
minYtSyRate: BigNumberish,
|
|
2518
|
+
input: TokenInputStruct,
|
|
2519
|
+
limit: LimitOrderDataStruct,
|
|
2345
2520
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
2346
2521
|
): Promise<ContractTransaction>;
|
|
2347
2522
|
|
|
@@ -2941,12 +3116,69 @@ export interface IPAllActionV3 extends BaseContract {
|
|
|
2941
3116
|
}
|
|
2942
3117
|
>;
|
|
2943
3118
|
|
|
2944
|
-
|
|
3119
|
+
swapMaxPtForSyLimitOnly(
|
|
2945
3120
|
receiver: string,
|
|
2946
|
-
|
|
2947
|
-
|
|
3121
|
+
market: string,
|
|
3122
|
+
maxPtIn: BigNumberish,
|
|
3123
|
+
minSyPtRate: BigNumberish,
|
|
3124
|
+
limit: LimitOrderDataStruct,
|
|
2948
3125
|
overrides?: CallOverrides
|
|
2949
|
-
): Promise<
|
|
3126
|
+
): Promise<
|
|
3127
|
+
[BigNumber, BigNumber, BigNumber] & {
|
|
3128
|
+
netSyOut: BigNumber;
|
|
3129
|
+
netPtReturned: BigNumber;
|
|
3130
|
+
netSyFee: BigNumber;
|
|
3131
|
+
}
|
|
3132
|
+
>;
|
|
3133
|
+
|
|
3134
|
+
swapMaxPtForTokenLimitOnly(
|
|
3135
|
+
receiver: string,
|
|
3136
|
+
market: string,
|
|
3137
|
+
maxPtIn: BigNumberish,
|
|
3138
|
+
minTokenPtRate: BigNumberish,
|
|
3139
|
+
output: TokenOutputStruct,
|
|
3140
|
+
limit: LimitOrderDataStruct,
|
|
3141
|
+
overrides?: CallOverrides
|
|
3142
|
+
): Promise<
|
|
3143
|
+
[BigNumber, BigNumber, BigNumber, BigNumber] & {
|
|
3144
|
+
netTokenOut: BigNumber;
|
|
3145
|
+
netPtReturned: BigNumber;
|
|
3146
|
+
netSyFee: BigNumber;
|
|
3147
|
+
netSyInterm: BigNumber;
|
|
3148
|
+
}
|
|
3149
|
+
>;
|
|
3150
|
+
|
|
3151
|
+
swapMaxSyForYtLimitOnly(
|
|
3152
|
+
receiver: string,
|
|
3153
|
+
market: string,
|
|
3154
|
+
maxSyIn: BigNumberish,
|
|
3155
|
+
minYtSyRate: BigNumberish,
|
|
3156
|
+
limit: LimitOrderDataStruct,
|
|
3157
|
+
overrides?: CallOverrides
|
|
3158
|
+
): Promise<
|
|
3159
|
+
[BigNumber, BigNumber, BigNumber] & {
|
|
3160
|
+
netYtOut: BigNumber;
|
|
3161
|
+
netSyReturned: BigNumber;
|
|
3162
|
+
netSyFee: BigNumber;
|
|
3163
|
+
}
|
|
3164
|
+
>;
|
|
3165
|
+
|
|
3166
|
+
swapMaxTokenForYtLimitOnly(
|
|
3167
|
+
receiver: string,
|
|
3168
|
+
market: string,
|
|
3169
|
+
minSyInterm: BigNumberish,
|
|
3170
|
+
minYtSyRate: BigNumberish,
|
|
3171
|
+
input: TokenInputStruct,
|
|
3172
|
+
limit: LimitOrderDataStruct,
|
|
3173
|
+
overrides?: CallOverrides
|
|
3174
|
+
): Promise<
|
|
3175
|
+
[BigNumber, BigNumber, BigNumber, BigNumber] & {
|
|
3176
|
+
netYtOut: BigNumber;
|
|
3177
|
+
netSyReturned: BigNumber;
|
|
3178
|
+
netSyFee: BigNumber;
|
|
3179
|
+
netSyInterm: BigNumber;
|
|
3180
|
+
}
|
|
3181
|
+
>;
|
|
2950
3182
|
|
|
2951
3183
|
swapTokenToTokenViaSy(
|
|
2952
3184
|
receiver: string,
|
|
@@ -3382,6 +3614,82 @@ export interface IPAllActionV3 extends BaseContract {
|
|
|
3382
3614
|
facet?: string | null
|
|
3383
3615
|
): SelectorToFacetSetEventFilter;
|
|
3384
3616
|
|
|
3617
|
+
"SwapMaxPtForSyLimitOnly(address,address,address,uint256,uint256,uint256)"(
|
|
3618
|
+
caller?: string | null,
|
|
3619
|
+
market?: string | null,
|
|
3620
|
+
receiver?: string | null,
|
|
3621
|
+
maxPtIn?: null,
|
|
3622
|
+
netSyOut?: null,
|
|
3623
|
+
netPtReturned?: null
|
|
3624
|
+
): SwapMaxPtForSyLimitOnlyEventFilter;
|
|
3625
|
+
SwapMaxPtForSyLimitOnly(
|
|
3626
|
+
caller?: string | null,
|
|
3627
|
+
market?: string | null,
|
|
3628
|
+
receiver?: string | null,
|
|
3629
|
+
maxPtIn?: null,
|
|
3630
|
+
netSyOut?: null,
|
|
3631
|
+
netPtReturned?: null
|
|
3632
|
+
): SwapMaxPtForSyLimitOnlyEventFilter;
|
|
3633
|
+
|
|
3634
|
+
"SwapMaxPtForTokenLimitOnly(address,address,address,address,uint256,uint256,uint256,uint256)"(
|
|
3635
|
+
caller?: string | null,
|
|
3636
|
+
market?: string | null,
|
|
3637
|
+
token?: string | null,
|
|
3638
|
+
receiver?: null,
|
|
3639
|
+
maxPtIn?: null,
|
|
3640
|
+
netTokenOut?: null,
|
|
3641
|
+
netSyInterm?: null,
|
|
3642
|
+
netPtReturned?: null
|
|
3643
|
+
): SwapMaxPtForTokenLimitOnlyEventFilter;
|
|
3644
|
+
SwapMaxPtForTokenLimitOnly(
|
|
3645
|
+
caller?: string | null,
|
|
3646
|
+
market?: string | null,
|
|
3647
|
+
token?: string | null,
|
|
3648
|
+
receiver?: null,
|
|
3649
|
+
maxPtIn?: null,
|
|
3650
|
+
netTokenOut?: null,
|
|
3651
|
+
netSyInterm?: null,
|
|
3652
|
+
netPtReturned?: null
|
|
3653
|
+
): SwapMaxPtForTokenLimitOnlyEventFilter;
|
|
3654
|
+
|
|
3655
|
+
"SwapMaxSyForYtLimitOnly(address,address,address,uint256,uint256,uint256)"(
|
|
3656
|
+
caller?: string | null,
|
|
3657
|
+
market?: string | null,
|
|
3658
|
+
receiver?: string | null,
|
|
3659
|
+
maxSyIn?: null,
|
|
3660
|
+
netYtOut?: null,
|
|
3661
|
+
netSyReturned?: null
|
|
3662
|
+
): SwapMaxSyForYtLimitOnlyEventFilter;
|
|
3663
|
+
SwapMaxSyForYtLimitOnly(
|
|
3664
|
+
caller?: string | null,
|
|
3665
|
+
market?: string | null,
|
|
3666
|
+
receiver?: string | null,
|
|
3667
|
+
maxSyIn?: null,
|
|
3668
|
+
netYtOut?: null,
|
|
3669
|
+
netSyReturned?: null
|
|
3670
|
+
): SwapMaxSyForYtLimitOnlyEventFilter;
|
|
3671
|
+
|
|
3672
|
+
"SwapMaxTokenForYtLimitOnly(address,address,address,address,uint256,uint256,uint256,uint256)"(
|
|
3673
|
+
caller?: string | null,
|
|
3674
|
+
market?: string | null,
|
|
3675
|
+
token?: string | null,
|
|
3676
|
+
receiver?: null,
|
|
3677
|
+
maxTokenIn?: null,
|
|
3678
|
+
netYtOut?: null,
|
|
3679
|
+
netSyInterm?: null,
|
|
3680
|
+
netSyReturned?: null
|
|
3681
|
+
): SwapMaxTokenForYtLimitOnlyEventFilter;
|
|
3682
|
+
SwapMaxTokenForYtLimitOnly(
|
|
3683
|
+
caller?: string | null,
|
|
3684
|
+
market?: string | null,
|
|
3685
|
+
token?: string | null,
|
|
3686
|
+
receiver?: null,
|
|
3687
|
+
maxTokenIn?: null,
|
|
3688
|
+
netYtOut?: null,
|
|
3689
|
+
netSyInterm?: null,
|
|
3690
|
+
netSyReturned?: null
|
|
3691
|
+
): SwapMaxTokenForYtLimitOnlyEventFilter;
|
|
3692
|
+
|
|
3385
3693
|
"SwapPtAndSy(address,address,address,int256,int256)"(
|
|
3386
3694
|
caller?: string | null,
|
|
3387
3695
|
market?: string | null,
|
|
@@ -3899,10 +4207,41 @@ export interface IPAllActionV3 extends BaseContract {
|
|
|
3899
4207
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
3900
4208
|
): Promise<BigNumber>;
|
|
3901
4209
|
|
|
3902
|
-
|
|
4210
|
+
swapMaxPtForSyLimitOnly(
|
|
3903
4211
|
receiver: string,
|
|
3904
|
-
|
|
3905
|
-
|
|
4212
|
+
market: string,
|
|
4213
|
+
maxPtIn: BigNumberish,
|
|
4214
|
+
minSyPtRate: BigNumberish,
|
|
4215
|
+
limit: LimitOrderDataStruct,
|
|
4216
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
4217
|
+
): Promise<BigNumber>;
|
|
4218
|
+
|
|
4219
|
+
swapMaxPtForTokenLimitOnly(
|
|
4220
|
+
receiver: string,
|
|
4221
|
+
market: string,
|
|
4222
|
+
maxPtIn: BigNumberish,
|
|
4223
|
+
minTokenPtRate: BigNumberish,
|
|
4224
|
+
output: TokenOutputStruct,
|
|
4225
|
+
limit: LimitOrderDataStruct,
|
|
4226
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
4227
|
+
): Promise<BigNumber>;
|
|
4228
|
+
|
|
4229
|
+
swapMaxSyForYtLimitOnly(
|
|
4230
|
+
receiver: string,
|
|
4231
|
+
market: string,
|
|
4232
|
+
maxSyIn: BigNumberish,
|
|
4233
|
+
minYtSyRate: BigNumberish,
|
|
4234
|
+
limit: LimitOrderDataStruct,
|
|
4235
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
4236
|
+
): Promise<BigNumber>;
|
|
4237
|
+
|
|
4238
|
+
swapMaxTokenForYtLimitOnly(
|
|
4239
|
+
receiver: string,
|
|
4240
|
+
market: string,
|
|
4241
|
+
minSyInterm: BigNumberish,
|
|
4242
|
+
minYtSyRate: BigNumberish,
|
|
4243
|
+
input: TokenInputStruct,
|
|
4244
|
+
limit: LimitOrderDataStruct,
|
|
3906
4245
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
3907
4246
|
): Promise<BigNumber>;
|
|
3908
4247
|
|
|
@@ -4363,10 +4702,41 @@ export interface IPAllActionV3 extends BaseContract {
|
|
|
4363
4702
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
4364
4703
|
): Promise<PopulatedTransaction>;
|
|
4365
4704
|
|
|
4366
|
-
|
|
4705
|
+
swapMaxPtForSyLimitOnly(
|
|
4367
4706
|
receiver: string,
|
|
4368
|
-
|
|
4369
|
-
|
|
4707
|
+
market: string,
|
|
4708
|
+
maxPtIn: BigNumberish,
|
|
4709
|
+
minSyPtRate: BigNumberish,
|
|
4710
|
+
limit: LimitOrderDataStruct,
|
|
4711
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
4712
|
+
): Promise<PopulatedTransaction>;
|
|
4713
|
+
|
|
4714
|
+
swapMaxPtForTokenLimitOnly(
|
|
4715
|
+
receiver: string,
|
|
4716
|
+
market: string,
|
|
4717
|
+
maxPtIn: BigNumberish,
|
|
4718
|
+
minTokenPtRate: BigNumberish,
|
|
4719
|
+
output: TokenOutputStruct,
|
|
4720
|
+
limit: LimitOrderDataStruct,
|
|
4721
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
4722
|
+
): Promise<PopulatedTransaction>;
|
|
4723
|
+
|
|
4724
|
+
swapMaxSyForYtLimitOnly(
|
|
4725
|
+
receiver: string,
|
|
4726
|
+
market: string,
|
|
4727
|
+
maxSyIn: BigNumberish,
|
|
4728
|
+
minYtSyRate: BigNumberish,
|
|
4729
|
+
limit: LimitOrderDataStruct,
|
|
4730
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
4731
|
+
): Promise<PopulatedTransaction>;
|
|
4732
|
+
|
|
4733
|
+
swapMaxTokenForYtLimitOnly(
|
|
4734
|
+
receiver: string,
|
|
4735
|
+
market: string,
|
|
4736
|
+
minSyInterm: BigNumberish,
|
|
4737
|
+
minYtSyRate: BigNumberish,
|
|
4738
|
+
input: TokenInputStruct,
|
|
4739
|
+
limit: LimitOrderDataStruct,
|
|
4370
4740
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
4371
4741
|
): Promise<PopulatedTransaction>;
|
|
4372
4742
|
|
|
@@ -103,6 +103,10 @@ export interface IPAllEventsV3Interface extends utils.Interface {
|
|
|
103
103
|
"RemoveLiquiditySingleSy(address,address,address,uint256,uint256)": EventFragment;
|
|
104
104
|
"RemoveLiquiditySingleToken(address,address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
105
105
|
"SelectorToFacetSet(bytes4,address)": EventFragment;
|
|
106
|
+
"SwapMaxPtForSyLimitOnly(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
107
|
+
"SwapMaxPtForTokenLimitOnly(address,address,address,address,uint256,uint256,uint256,uint256)": EventFragment;
|
|
108
|
+
"SwapMaxSyForYtLimitOnly(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
109
|
+
"SwapMaxTokenForYtLimitOnly(address,address,address,address,uint256,uint256,uint256,uint256)": EventFragment;
|
|
106
110
|
"SwapPtAndSy(address,address,address,int256,int256)": EventFragment;
|
|
107
111
|
"SwapPtAndToken(address,address,address,address,int256,int256,uint256)": EventFragment;
|
|
108
112
|
"SwapPtAndYt(address,address,address,int256,int256)": EventFragment;
|
|
@@ -138,6 +142,10 @@ export interface IPAllEventsV3Interface extends utils.Interface {
|
|
|
138
142
|
getEvent(nameOrSignatureOrTopic: "RemoveLiquiditySingleSy"): EventFragment;
|
|
139
143
|
getEvent(nameOrSignatureOrTopic: "RemoveLiquiditySingleToken"): EventFragment;
|
|
140
144
|
getEvent(nameOrSignatureOrTopic: "SelectorToFacetSet"): EventFragment;
|
|
145
|
+
getEvent(nameOrSignatureOrTopic: "SwapMaxPtForSyLimitOnly"): EventFragment;
|
|
146
|
+
getEvent(nameOrSignatureOrTopic: "SwapMaxPtForTokenLimitOnly"): EventFragment;
|
|
147
|
+
getEvent(nameOrSignatureOrTopic: "SwapMaxSyForYtLimitOnly"): EventFragment;
|
|
148
|
+
getEvent(nameOrSignatureOrTopic: "SwapMaxTokenForYtLimitOnly"): EventFragment;
|
|
141
149
|
getEvent(nameOrSignatureOrTopic: "SwapPtAndSy"): EventFragment;
|
|
142
150
|
getEvent(nameOrSignatureOrTopic: "SwapPtAndToken"): EventFragment;
|
|
143
151
|
getEvent(nameOrSignatureOrTopic: "SwapPtAndYt"): EventFragment;
|
|
@@ -515,6 +523,70 @@ export type SelectorToFacetSetEvent = TypedEvent<
|
|
|
515
523
|
export type SelectorToFacetSetEventFilter =
|
|
516
524
|
TypedEventFilter<SelectorToFacetSetEvent>;
|
|
517
525
|
|
|
526
|
+
export type SwapMaxPtForSyLimitOnlyEvent = TypedEvent<
|
|
527
|
+
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
528
|
+
{
|
|
529
|
+
caller: string;
|
|
530
|
+
market: string;
|
|
531
|
+
receiver: string;
|
|
532
|
+
maxPtIn: BigNumber;
|
|
533
|
+
netSyOut: BigNumber;
|
|
534
|
+
netPtReturned: BigNumber;
|
|
535
|
+
}
|
|
536
|
+
>;
|
|
537
|
+
|
|
538
|
+
export type SwapMaxPtForSyLimitOnlyEventFilter =
|
|
539
|
+
TypedEventFilter<SwapMaxPtForSyLimitOnlyEvent>;
|
|
540
|
+
|
|
541
|
+
export type SwapMaxPtForTokenLimitOnlyEvent = TypedEvent<
|
|
542
|
+
[string, string, string, string, BigNumber, BigNumber, BigNumber, BigNumber],
|
|
543
|
+
{
|
|
544
|
+
caller: string;
|
|
545
|
+
market: string;
|
|
546
|
+
token: string;
|
|
547
|
+
receiver: string;
|
|
548
|
+
maxPtIn: BigNumber;
|
|
549
|
+
netTokenOut: BigNumber;
|
|
550
|
+
netSyInterm: BigNumber;
|
|
551
|
+
netPtReturned: BigNumber;
|
|
552
|
+
}
|
|
553
|
+
>;
|
|
554
|
+
|
|
555
|
+
export type SwapMaxPtForTokenLimitOnlyEventFilter =
|
|
556
|
+
TypedEventFilter<SwapMaxPtForTokenLimitOnlyEvent>;
|
|
557
|
+
|
|
558
|
+
export type SwapMaxSyForYtLimitOnlyEvent = TypedEvent<
|
|
559
|
+
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
560
|
+
{
|
|
561
|
+
caller: string;
|
|
562
|
+
market: string;
|
|
563
|
+
receiver: string;
|
|
564
|
+
maxSyIn: BigNumber;
|
|
565
|
+
netYtOut: BigNumber;
|
|
566
|
+
netSyReturned: BigNumber;
|
|
567
|
+
}
|
|
568
|
+
>;
|
|
569
|
+
|
|
570
|
+
export type SwapMaxSyForYtLimitOnlyEventFilter =
|
|
571
|
+
TypedEventFilter<SwapMaxSyForYtLimitOnlyEvent>;
|
|
572
|
+
|
|
573
|
+
export type SwapMaxTokenForYtLimitOnlyEvent = TypedEvent<
|
|
574
|
+
[string, string, string, string, BigNumber, BigNumber, BigNumber, BigNumber],
|
|
575
|
+
{
|
|
576
|
+
caller: string;
|
|
577
|
+
market: string;
|
|
578
|
+
token: string;
|
|
579
|
+
receiver: string;
|
|
580
|
+
maxTokenIn: BigNumber;
|
|
581
|
+
netYtOut: BigNumber;
|
|
582
|
+
netSyInterm: BigNumber;
|
|
583
|
+
netSyReturned: BigNumber;
|
|
584
|
+
}
|
|
585
|
+
>;
|
|
586
|
+
|
|
587
|
+
export type SwapMaxTokenForYtLimitOnlyEventFilter =
|
|
588
|
+
TypedEventFilter<SwapMaxTokenForYtLimitOnlyEvent>;
|
|
589
|
+
|
|
518
590
|
export type SwapPtAndSyEvent = TypedEvent<
|
|
519
591
|
[string, string, string, BigNumber, BigNumber],
|
|
520
592
|
{
|
|
@@ -1020,6 +1092,82 @@ export interface IPAllEventsV3 extends BaseContract {
|
|
|
1020
1092
|
facet?: string | null
|
|
1021
1093
|
): SelectorToFacetSetEventFilter;
|
|
1022
1094
|
|
|
1095
|
+
"SwapMaxPtForSyLimitOnly(address,address,address,uint256,uint256,uint256)"(
|
|
1096
|
+
caller?: string | null,
|
|
1097
|
+
market?: string | null,
|
|
1098
|
+
receiver?: string | null,
|
|
1099
|
+
maxPtIn?: null,
|
|
1100
|
+
netSyOut?: null,
|
|
1101
|
+
netPtReturned?: null
|
|
1102
|
+
): SwapMaxPtForSyLimitOnlyEventFilter;
|
|
1103
|
+
SwapMaxPtForSyLimitOnly(
|
|
1104
|
+
caller?: string | null,
|
|
1105
|
+
market?: string | null,
|
|
1106
|
+
receiver?: string | null,
|
|
1107
|
+
maxPtIn?: null,
|
|
1108
|
+
netSyOut?: null,
|
|
1109
|
+
netPtReturned?: null
|
|
1110
|
+
): SwapMaxPtForSyLimitOnlyEventFilter;
|
|
1111
|
+
|
|
1112
|
+
"SwapMaxPtForTokenLimitOnly(address,address,address,address,uint256,uint256,uint256,uint256)"(
|
|
1113
|
+
caller?: string | null,
|
|
1114
|
+
market?: string | null,
|
|
1115
|
+
token?: string | null,
|
|
1116
|
+
receiver?: null,
|
|
1117
|
+
maxPtIn?: null,
|
|
1118
|
+
netTokenOut?: null,
|
|
1119
|
+
netSyInterm?: null,
|
|
1120
|
+
netPtReturned?: null
|
|
1121
|
+
): SwapMaxPtForTokenLimitOnlyEventFilter;
|
|
1122
|
+
SwapMaxPtForTokenLimitOnly(
|
|
1123
|
+
caller?: string | null,
|
|
1124
|
+
market?: string | null,
|
|
1125
|
+
token?: string | null,
|
|
1126
|
+
receiver?: null,
|
|
1127
|
+
maxPtIn?: null,
|
|
1128
|
+
netTokenOut?: null,
|
|
1129
|
+
netSyInterm?: null,
|
|
1130
|
+
netPtReturned?: null
|
|
1131
|
+
): SwapMaxPtForTokenLimitOnlyEventFilter;
|
|
1132
|
+
|
|
1133
|
+
"SwapMaxSyForYtLimitOnly(address,address,address,uint256,uint256,uint256)"(
|
|
1134
|
+
caller?: string | null,
|
|
1135
|
+
market?: string | null,
|
|
1136
|
+
receiver?: string | null,
|
|
1137
|
+
maxSyIn?: null,
|
|
1138
|
+
netYtOut?: null,
|
|
1139
|
+
netSyReturned?: null
|
|
1140
|
+
): SwapMaxSyForYtLimitOnlyEventFilter;
|
|
1141
|
+
SwapMaxSyForYtLimitOnly(
|
|
1142
|
+
caller?: string | null,
|
|
1143
|
+
market?: string | null,
|
|
1144
|
+
receiver?: string | null,
|
|
1145
|
+
maxSyIn?: null,
|
|
1146
|
+
netYtOut?: null,
|
|
1147
|
+
netSyReturned?: null
|
|
1148
|
+
): SwapMaxSyForYtLimitOnlyEventFilter;
|
|
1149
|
+
|
|
1150
|
+
"SwapMaxTokenForYtLimitOnly(address,address,address,address,uint256,uint256,uint256,uint256)"(
|
|
1151
|
+
caller?: string | null,
|
|
1152
|
+
market?: string | null,
|
|
1153
|
+
token?: string | null,
|
|
1154
|
+
receiver?: null,
|
|
1155
|
+
maxTokenIn?: null,
|
|
1156
|
+
netYtOut?: null,
|
|
1157
|
+
netSyInterm?: null,
|
|
1158
|
+
netSyReturned?: null
|
|
1159
|
+
): SwapMaxTokenForYtLimitOnlyEventFilter;
|
|
1160
|
+
SwapMaxTokenForYtLimitOnly(
|
|
1161
|
+
caller?: string | null,
|
|
1162
|
+
market?: string | null,
|
|
1163
|
+
token?: string | null,
|
|
1164
|
+
receiver?: null,
|
|
1165
|
+
maxTokenIn?: null,
|
|
1166
|
+
netYtOut?: null,
|
|
1167
|
+
netSyInterm?: null,
|
|
1168
|
+
netSyReturned?: null
|
|
1169
|
+
): SwapMaxTokenForYtLimitOnlyEventFilter;
|
|
1170
|
+
|
|
1023
1171
|
"SwapPtAndSy(address,address,address,int256,int256)"(
|
|
1024
1172
|
caller?: string | null,
|
|
1025
1173
|
market?: string | null,
|