@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
|
@@ -1171,6 +1171,202 @@
|
|
|
1171
1171
|
"name": "SelectorToFacetSet",
|
|
1172
1172
|
"type": "event"
|
|
1173
1173
|
},
|
|
1174
|
+
{
|
|
1175
|
+
"anonymous": false,
|
|
1176
|
+
"inputs": [
|
|
1177
|
+
{
|
|
1178
|
+
"indexed": true,
|
|
1179
|
+
"internalType": "address",
|
|
1180
|
+
"name": "caller",
|
|
1181
|
+
"type": "address"
|
|
1182
|
+
},
|
|
1183
|
+
{
|
|
1184
|
+
"indexed": true,
|
|
1185
|
+
"internalType": "address",
|
|
1186
|
+
"name": "market",
|
|
1187
|
+
"type": "address"
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
"indexed": true,
|
|
1191
|
+
"internalType": "address",
|
|
1192
|
+
"name": "receiver",
|
|
1193
|
+
"type": "address"
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
"indexed": false,
|
|
1197
|
+
"internalType": "uint256",
|
|
1198
|
+
"name": "maxPtIn",
|
|
1199
|
+
"type": "uint256"
|
|
1200
|
+
},
|
|
1201
|
+
{
|
|
1202
|
+
"indexed": false,
|
|
1203
|
+
"internalType": "uint256",
|
|
1204
|
+
"name": "netSyOut",
|
|
1205
|
+
"type": "uint256"
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
"indexed": false,
|
|
1209
|
+
"internalType": "uint256",
|
|
1210
|
+
"name": "netPtReturned",
|
|
1211
|
+
"type": "uint256"
|
|
1212
|
+
}
|
|
1213
|
+
],
|
|
1214
|
+
"name": "SwapMaxPtForSyLimitOnly",
|
|
1215
|
+
"type": "event"
|
|
1216
|
+
},
|
|
1217
|
+
{
|
|
1218
|
+
"anonymous": false,
|
|
1219
|
+
"inputs": [
|
|
1220
|
+
{
|
|
1221
|
+
"indexed": true,
|
|
1222
|
+
"internalType": "address",
|
|
1223
|
+
"name": "caller",
|
|
1224
|
+
"type": "address"
|
|
1225
|
+
},
|
|
1226
|
+
{
|
|
1227
|
+
"indexed": true,
|
|
1228
|
+
"internalType": "address",
|
|
1229
|
+
"name": "market",
|
|
1230
|
+
"type": "address"
|
|
1231
|
+
},
|
|
1232
|
+
{
|
|
1233
|
+
"indexed": true,
|
|
1234
|
+
"internalType": "address",
|
|
1235
|
+
"name": "token",
|
|
1236
|
+
"type": "address"
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
"indexed": false,
|
|
1240
|
+
"internalType": "address",
|
|
1241
|
+
"name": "receiver",
|
|
1242
|
+
"type": "address"
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
"indexed": false,
|
|
1246
|
+
"internalType": "uint256",
|
|
1247
|
+
"name": "maxPtIn",
|
|
1248
|
+
"type": "uint256"
|
|
1249
|
+
},
|
|
1250
|
+
{
|
|
1251
|
+
"indexed": false,
|
|
1252
|
+
"internalType": "uint256",
|
|
1253
|
+
"name": "netTokenOut",
|
|
1254
|
+
"type": "uint256"
|
|
1255
|
+
},
|
|
1256
|
+
{
|
|
1257
|
+
"indexed": false,
|
|
1258
|
+
"internalType": "uint256",
|
|
1259
|
+
"name": "netSyInterm",
|
|
1260
|
+
"type": "uint256"
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
"indexed": false,
|
|
1264
|
+
"internalType": "uint256",
|
|
1265
|
+
"name": "netPtReturned",
|
|
1266
|
+
"type": "uint256"
|
|
1267
|
+
}
|
|
1268
|
+
],
|
|
1269
|
+
"name": "SwapMaxPtForTokenLimitOnly",
|
|
1270
|
+
"type": "event"
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
"anonymous": false,
|
|
1274
|
+
"inputs": [
|
|
1275
|
+
{
|
|
1276
|
+
"indexed": true,
|
|
1277
|
+
"internalType": "address",
|
|
1278
|
+
"name": "caller",
|
|
1279
|
+
"type": "address"
|
|
1280
|
+
},
|
|
1281
|
+
{
|
|
1282
|
+
"indexed": true,
|
|
1283
|
+
"internalType": "address",
|
|
1284
|
+
"name": "market",
|
|
1285
|
+
"type": "address"
|
|
1286
|
+
},
|
|
1287
|
+
{
|
|
1288
|
+
"indexed": true,
|
|
1289
|
+
"internalType": "address",
|
|
1290
|
+
"name": "receiver",
|
|
1291
|
+
"type": "address"
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
"indexed": false,
|
|
1295
|
+
"internalType": "uint256",
|
|
1296
|
+
"name": "maxSyIn",
|
|
1297
|
+
"type": "uint256"
|
|
1298
|
+
},
|
|
1299
|
+
{
|
|
1300
|
+
"indexed": false,
|
|
1301
|
+
"internalType": "uint256",
|
|
1302
|
+
"name": "netYtOut",
|
|
1303
|
+
"type": "uint256"
|
|
1304
|
+
},
|
|
1305
|
+
{
|
|
1306
|
+
"indexed": false,
|
|
1307
|
+
"internalType": "uint256",
|
|
1308
|
+
"name": "netSyReturned",
|
|
1309
|
+
"type": "uint256"
|
|
1310
|
+
}
|
|
1311
|
+
],
|
|
1312
|
+
"name": "SwapMaxSyForYtLimitOnly",
|
|
1313
|
+
"type": "event"
|
|
1314
|
+
},
|
|
1315
|
+
{
|
|
1316
|
+
"anonymous": false,
|
|
1317
|
+
"inputs": [
|
|
1318
|
+
{
|
|
1319
|
+
"indexed": true,
|
|
1320
|
+
"internalType": "address",
|
|
1321
|
+
"name": "caller",
|
|
1322
|
+
"type": "address"
|
|
1323
|
+
},
|
|
1324
|
+
{
|
|
1325
|
+
"indexed": true,
|
|
1326
|
+
"internalType": "address",
|
|
1327
|
+
"name": "market",
|
|
1328
|
+
"type": "address"
|
|
1329
|
+
},
|
|
1330
|
+
{
|
|
1331
|
+
"indexed": true,
|
|
1332
|
+
"internalType": "address",
|
|
1333
|
+
"name": "token",
|
|
1334
|
+
"type": "address"
|
|
1335
|
+
},
|
|
1336
|
+
{
|
|
1337
|
+
"indexed": false,
|
|
1338
|
+
"internalType": "address",
|
|
1339
|
+
"name": "receiver",
|
|
1340
|
+
"type": "address"
|
|
1341
|
+
},
|
|
1342
|
+
{
|
|
1343
|
+
"indexed": false,
|
|
1344
|
+
"internalType": "uint256",
|
|
1345
|
+
"name": "maxTokenIn",
|
|
1346
|
+
"type": "uint256"
|
|
1347
|
+
},
|
|
1348
|
+
{
|
|
1349
|
+
"indexed": false,
|
|
1350
|
+
"internalType": "uint256",
|
|
1351
|
+
"name": "netYtOut",
|
|
1352
|
+
"type": "uint256"
|
|
1353
|
+
},
|
|
1354
|
+
{
|
|
1355
|
+
"indexed": false,
|
|
1356
|
+
"internalType": "uint256",
|
|
1357
|
+
"name": "netSyInterm",
|
|
1358
|
+
"type": "uint256"
|
|
1359
|
+
},
|
|
1360
|
+
{
|
|
1361
|
+
"indexed": false,
|
|
1362
|
+
"internalType": "uint256",
|
|
1363
|
+
"name": "netSyReturned",
|
|
1364
|
+
"type": "uint256"
|
|
1365
|
+
}
|
|
1366
|
+
],
|
|
1367
|
+
"name": "SwapMaxTokenForYtLimitOnly",
|
|
1368
|
+
"type": "event"
|
|
1369
|
+
},
|
|
1174
1370
|
{
|
|
1175
1371
|
"anonymous": false,
|
|
1176
1372
|
"inputs": [
|
|
@@ -7837,71 +8033,1047 @@
|
|
|
7837
8033
|
"name": "receiver",
|
|
7838
8034
|
"type": "address"
|
|
7839
8035
|
},
|
|
8036
|
+
{
|
|
8037
|
+
"internalType": "address",
|
|
8038
|
+
"name": "market",
|
|
8039
|
+
"type": "address"
|
|
8040
|
+
},
|
|
7840
8041
|
{
|
|
7841
8042
|
"internalType": "uint256",
|
|
7842
|
-
"name": "
|
|
8043
|
+
"name": "maxPtIn",
|
|
8044
|
+
"type": "uint256"
|
|
8045
|
+
},
|
|
8046
|
+
{
|
|
8047
|
+
"internalType": "uint256",
|
|
8048
|
+
"name": "minSyPtRate",
|
|
7843
8049
|
"type": "uint256"
|
|
7844
8050
|
},
|
|
7845
8051
|
{
|
|
7846
8052
|
"components": [
|
|
7847
8053
|
{
|
|
7848
8054
|
"internalType": "address",
|
|
7849
|
-
"name": "
|
|
8055
|
+
"name": "limitRouter",
|
|
7850
8056
|
"type": "address"
|
|
7851
8057
|
},
|
|
7852
8058
|
{
|
|
7853
8059
|
"internalType": "uint256",
|
|
7854
|
-
"name": "
|
|
8060
|
+
"name": "epsSkipMarket",
|
|
7855
8061
|
"type": "uint256"
|
|
7856
8062
|
},
|
|
7857
|
-
{
|
|
7858
|
-
"internalType": "address",
|
|
7859
|
-
"name": "tokenMintSy",
|
|
7860
|
-
"type": "address"
|
|
7861
|
-
},
|
|
7862
|
-
{
|
|
7863
|
-
"internalType": "address",
|
|
7864
|
-
"name": "pendleSwap",
|
|
7865
|
-
"type": "address"
|
|
7866
|
-
},
|
|
7867
8063
|
{
|
|
7868
8064
|
"components": [
|
|
7869
8065
|
{
|
|
7870
|
-
"
|
|
7871
|
-
|
|
7872
|
-
|
|
7873
|
-
|
|
7874
|
-
|
|
7875
|
-
|
|
7876
|
-
|
|
7877
|
-
|
|
7878
|
-
|
|
7879
|
-
|
|
7880
|
-
|
|
7881
|
-
|
|
7882
|
-
|
|
7883
|
-
|
|
7884
|
-
|
|
7885
|
-
|
|
7886
|
-
|
|
7887
|
-
|
|
7888
|
-
|
|
7889
|
-
|
|
7890
|
-
|
|
7891
|
-
|
|
7892
|
-
|
|
7893
|
-
|
|
7894
|
-
|
|
7895
|
-
|
|
7896
|
-
|
|
7897
|
-
|
|
7898
|
-
|
|
7899
|
-
|
|
7900
|
-
|
|
7901
|
-
|
|
7902
|
-
|
|
7903
|
-
|
|
7904
|
-
|
|
8066
|
+
"components": [
|
|
8067
|
+
{
|
|
8068
|
+
"internalType": "uint256",
|
|
8069
|
+
"name": "salt",
|
|
8070
|
+
"type": "uint256"
|
|
8071
|
+
},
|
|
8072
|
+
{
|
|
8073
|
+
"internalType": "uint256",
|
|
8074
|
+
"name": "expiry",
|
|
8075
|
+
"type": "uint256"
|
|
8076
|
+
},
|
|
8077
|
+
{
|
|
8078
|
+
"internalType": "uint256",
|
|
8079
|
+
"name": "nonce",
|
|
8080
|
+
"type": "uint256"
|
|
8081
|
+
},
|
|
8082
|
+
{
|
|
8083
|
+
"internalType": "enum IPLimitOrderType.OrderType",
|
|
8084
|
+
"name": "orderType",
|
|
8085
|
+
"type": "uint8"
|
|
8086
|
+
},
|
|
8087
|
+
{
|
|
8088
|
+
"internalType": "address",
|
|
8089
|
+
"name": "token",
|
|
8090
|
+
"type": "address"
|
|
8091
|
+
},
|
|
8092
|
+
{
|
|
8093
|
+
"internalType": "address",
|
|
8094
|
+
"name": "YT",
|
|
8095
|
+
"type": "address"
|
|
8096
|
+
},
|
|
8097
|
+
{
|
|
8098
|
+
"internalType": "address",
|
|
8099
|
+
"name": "maker",
|
|
8100
|
+
"type": "address"
|
|
8101
|
+
},
|
|
8102
|
+
{
|
|
8103
|
+
"internalType": "address",
|
|
8104
|
+
"name": "receiver",
|
|
8105
|
+
"type": "address"
|
|
8106
|
+
},
|
|
8107
|
+
{
|
|
8108
|
+
"internalType": "uint256",
|
|
8109
|
+
"name": "makingAmount",
|
|
8110
|
+
"type": "uint256"
|
|
8111
|
+
},
|
|
8112
|
+
{
|
|
8113
|
+
"internalType": "uint256",
|
|
8114
|
+
"name": "lnImpliedRate",
|
|
8115
|
+
"type": "uint256"
|
|
8116
|
+
},
|
|
8117
|
+
{
|
|
8118
|
+
"internalType": "uint256",
|
|
8119
|
+
"name": "failSafeRate",
|
|
8120
|
+
"type": "uint256"
|
|
8121
|
+
},
|
|
8122
|
+
{
|
|
8123
|
+
"internalType": "bytes",
|
|
8124
|
+
"name": "permit",
|
|
8125
|
+
"type": "bytes"
|
|
8126
|
+
}
|
|
8127
|
+
],
|
|
8128
|
+
"internalType": "struct Order",
|
|
8129
|
+
"name": "order",
|
|
8130
|
+
"type": "tuple"
|
|
8131
|
+
},
|
|
8132
|
+
{
|
|
8133
|
+
"internalType": "bytes",
|
|
8134
|
+
"name": "signature",
|
|
8135
|
+
"type": "bytes"
|
|
8136
|
+
},
|
|
8137
|
+
{
|
|
8138
|
+
"internalType": "uint256",
|
|
8139
|
+
"name": "makingAmount",
|
|
8140
|
+
"type": "uint256"
|
|
8141
|
+
}
|
|
8142
|
+
],
|
|
8143
|
+
"internalType": "struct FillOrderParams[]",
|
|
8144
|
+
"name": "normalFills",
|
|
8145
|
+
"type": "tuple[]"
|
|
8146
|
+
},
|
|
8147
|
+
{
|
|
8148
|
+
"components": [
|
|
8149
|
+
{
|
|
8150
|
+
"components": [
|
|
8151
|
+
{
|
|
8152
|
+
"internalType": "uint256",
|
|
8153
|
+
"name": "salt",
|
|
8154
|
+
"type": "uint256"
|
|
8155
|
+
},
|
|
8156
|
+
{
|
|
8157
|
+
"internalType": "uint256",
|
|
8158
|
+
"name": "expiry",
|
|
8159
|
+
"type": "uint256"
|
|
8160
|
+
},
|
|
8161
|
+
{
|
|
8162
|
+
"internalType": "uint256",
|
|
8163
|
+
"name": "nonce",
|
|
8164
|
+
"type": "uint256"
|
|
8165
|
+
},
|
|
8166
|
+
{
|
|
8167
|
+
"internalType": "enum IPLimitOrderType.OrderType",
|
|
8168
|
+
"name": "orderType",
|
|
8169
|
+
"type": "uint8"
|
|
8170
|
+
},
|
|
8171
|
+
{
|
|
8172
|
+
"internalType": "address",
|
|
8173
|
+
"name": "token",
|
|
8174
|
+
"type": "address"
|
|
8175
|
+
},
|
|
8176
|
+
{
|
|
8177
|
+
"internalType": "address",
|
|
8178
|
+
"name": "YT",
|
|
8179
|
+
"type": "address"
|
|
8180
|
+
},
|
|
8181
|
+
{
|
|
8182
|
+
"internalType": "address",
|
|
8183
|
+
"name": "maker",
|
|
8184
|
+
"type": "address"
|
|
8185
|
+
},
|
|
8186
|
+
{
|
|
8187
|
+
"internalType": "address",
|
|
8188
|
+
"name": "receiver",
|
|
8189
|
+
"type": "address"
|
|
8190
|
+
},
|
|
8191
|
+
{
|
|
8192
|
+
"internalType": "uint256",
|
|
8193
|
+
"name": "makingAmount",
|
|
8194
|
+
"type": "uint256"
|
|
8195
|
+
},
|
|
8196
|
+
{
|
|
8197
|
+
"internalType": "uint256",
|
|
8198
|
+
"name": "lnImpliedRate",
|
|
8199
|
+
"type": "uint256"
|
|
8200
|
+
},
|
|
8201
|
+
{
|
|
8202
|
+
"internalType": "uint256",
|
|
8203
|
+
"name": "failSafeRate",
|
|
8204
|
+
"type": "uint256"
|
|
8205
|
+
},
|
|
8206
|
+
{
|
|
8207
|
+
"internalType": "bytes",
|
|
8208
|
+
"name": "permit",
|
|
8209
|
+
"type": "bytes"
|
|
8210
|
+
}
|
|
8211
|
+
],
|
|
8212
|
+
"internalType": "struct Order",
|
|
8213
|
+
"name": "order",
|
|
8214
|
+
"type": "tuple"
|
|
8215
|
+
},
|
|
8216
|
+
{
|
|
8217
|
+
"internalType": "bytes",
|
|
8218
|
+
"name": "signature",
|
|
8219
|
+
"type": "bytes"
|
|
8220
|
+
},
|
|
8221
|
+
{
|
|
8222
|
+
"internalType": "uint256",
|
|
8223
|
+
"name": "makingAmount",
|
|
8224
|
+
"type": "uint256"
|
|
8225
|
+
}
|
|
8226
|
+
],
|
|
8227
|
+
"internalType": "struct FillOrderParams[]",
|
|
8228
|
+
"name": "flashFills",
|
|
8229
|
+
"type": "tuple[]"
|
|
8230
|
+
},
|
|
8231
|
+
{
|
|
8232
|
+
"internalType": "bytes",
|
|
8233
|
+
"name": "optData",
|
|
8234
|
+
"type": "bytes"
|
|
8235
|
+
}
|
|
8236
|
+
],
|
|
8237
|
+
"internalType": "struct LimitOrderData",
|
|
8238
|
+
"name": "limit",
|
|
8239
|
+
"type": "tuple"
|
|
8240
|
+
}
|
|
8241
|
+
],
|
|
8242
|
+
"name": "swapMaxPtForSyLimitOnly",
|
|
8243
|
+
"outputs": [
|
|
8244
|
+
{
|
|
8245
|
+
"internalType": "uint256",
|
|
8246
|
+
"name": "netSyOut",
|
|
8247
|
+
"type": "uint256"
|
|
8248
|
+
},
|
|
8249
|
+
{
|
|
8250
|
+
"internalType": "uint256",
|
|
8251
|
+
"name": "netPtReturned",
|
|
8252
|
+
"type": "uint256"
|
|
8253
|
+
},
|
|
8254
|
+
{
|
|
8255
|
+
"internalType": "uint256",
|
|
8256
|
+
"name": "netSyFee",
|
|
8257
|
+
"type": "uint256"
|
|
8258
|
+
}
|
|
8259
|
+
],
|
|
8260
|
+
"stateMutability": "nonpayable",
|
|
8261
|
+
"type": "function"
|
|
8262
|
+
},
|
|
8263
|
+
{
|
|
8264
|
+
"inputs": [
|
|
8265
|
+
{
|
|
8266
|
+
"internalType": "address",
|
|
8267
|
+
"name": "receiver",
|
|
8268
|
+
"type": "address"
|
|
8269
|
+
},
|
|
8270
|
+
{
|
|
8271
|
+
"internalType": "address",
|
|
8272
|
+
"name": "market",
|
|
8273
|
+
"type": "address"
|
|
8274
|
+
},
|
|
8275
|
+
{
|
|
8276
|
+
"internalType": "uint256",
|
|
8277
|
+
"name": "maxPtIn",
|
|
8278
|
+
"type": "uint256"
|
|
8279
|
+
},
|
|
8280
|
+
{
|
|
8281
|
+
"internalType": "uint256",
|
|
8282
|
+
"name": "minTokenPtRate",
|
|
8283
|
+
"type": "uint256"
|
|
8284
|
+
},
|
|
8285
|
+
{
|
|
8286
|
+
"components": [
|
|
8287
|
+
{
|
|
8288
|
+
"internalType": "address",
|
|
8289
|
+
"name": "tokenOut",
|
|
8290
|
+
"type": "address"
|
|
8291
|
+
},
|
|
8292
|
+
{
|
|
8293
|
+
"internalType": "uint256",
|
|
8294
|
+
"name": "minTokenOut",
|
|
8295
|
+
"type": "uint256"
|
|
8296
|
+
},
|
|
8297
|
+
{
|
|
8298
|
+
"internalType": "address",
|
|
8299
|
+
"name": "tokenRedeemSy",
|
|
8300
|
+
"type": "address"
|
|
8301
|
+
},
|
|
8302
|
+
{
|
|
8303
|
+
"internalType": "address",
|
|
8304
|
+
"name": "pendleSwap",
|
|
8305
|
+
"type": "address"
|
|
8306
|
+
},
|
|
8307
|
+
{
|
|
8308
|
+
"components": [
|
|
8309
|
+
{
|
|
8310
|
+
"internalType": "enum SwapType",
|
|
8311
|
+
"name": "swapType",
|
|
8312
|
+
"type": "uint8"
|
|
8313
|
+
},
|
|
8314
|
+
{
|
|
8315
|
+
"internalType": "address",
|
|
8316
|
+
"name": "extRouter",
|
|
8317
|
+
"type": "address"
|
|
8318
|
+
},
|
|
8319
|
+
{
|
|
8320
|
+
"internalType": "bytes",
|
|
8321
|
+
"name": "extCalldata",
|
|
8322
|
+
"type": "bytes"
|
|
8323
|
+
},
|
|
8324
|
+
{
|
|
8325
|
+
"internalType": "bool",
|
|
8326
|
+
"name": "needScale",
|
|
8327
|
+
"type": "bool"
|
|
8328
|
+
}
|
|
8329
|
+
],
|
|
8330
|
+
"internalType": "struct SwapData",
|
|
8331
|
+
"name": "swapData",
|
|
8332
|
+
"type": "tuple"
|
|
8333
|
+
}
|
|
8334
|
+
],
|
|
8335
|
+
"internalType": "struct TokenOutput",
|
|
8336
|
+
"name": "output",
|
|
8337
|
+
"type": "tuple"
|
|
8338
|
+
},
|
|
8339
|
+
{
|
|
8340
|
+
"components": [
|
|
8341
|
+
{
|
|
8342
|
+
"internalType": "address",
|
|
8343
|
+
"name": "limitRouter",
|
|
8344
|
+
"type": "address"
|
|
8345
|
+
},
|
|
8346
|
+
{
|
|
8347
|
+
"internalType": "uint256",
|
|
8348
|
+
"name": "epsSkipMarket",
|
|
8349
|
+
"type": "uint256"
|
|
8350
|
+
},
|
|
8351
|
+
{
|
|
8352
|
+
"components": [
|
|
8353
|
+
{
|
|
8354
|
+
"components": [
|
|
8355
|
+
{
|
|
8356
|
+
"internalType": "uint256",
|
|
8357
|
+
"name": "salt",
|
|
8358
|
+
"type": "uint256"
|
|
8359
|
+
},
|
|
8360
|
+
{
|
|
8361
|
+
"internalType": "uint256",
|
|
8362
|
+
"name": "expiry",
|
|
8363
|
+
"type": "uint256"
|
|
8364
|
+
},
|
|
8365
|
+
{
|
|
8366
|
+
"internalType": "uint256",
|
|
8367
|
+
"name": "nonce",
|
|
8368
|
+
"type": "uint256"
|
|
8369
|
+
},
|
|
8370
|
+
{
|
|
8371
|
+
"internalType": "enum IPLimitOrderType.OrderType",
|
|
8372
|
+
"name": "orderType",
|
|
8373
|
+
"type": "uint8"
|
|
8374
|
+
},
|
|
8375
|
+
{
|
|
8376
|
+
"internalType": "address",
|
|
8377
|
+
"name": "token",
|
|
8378
|
+
"type": "address"
|
|
8379
|
+
},
|
|
8380
|
+
{
|
|
8381
|
+
"internalType": "address",
|
|
8382
|
+
"name": "YT",
|
|
8383
|
+
"type": "address"
|
|
8384
|
+
},
|
|
8385
|
+
{
|
|
8386
|
+
"internalType": "address",
|
|
8387
|
+
"name": "maker",
|
|
8388
|
+
"type": "address"
|
|
8389
|
+
},
|
|
8390
|
+
{
|
|
8391
|
+
"internalType": "address",
|
|
8392
|
+
"name": "receiver",
|
|
8393
|
+
"type": "address"
|
|
8394
|
+
},
|
|
8395
|
+
{
|
|
8396
|
+
"internalType": "uint256",
|
|
8397
|
+
"name": "makingAmount",
|
|
8398
|
+
"type": "uint256"
|
|
8399
|
+
},
|
|
8400
|
+
{
|
|
8401
|
+
"internalType": "uint256",
|
|
8402
|
+
"name": "lnImpliedRate",
|
|
8403
|
+
"type": "uint256"
|
|
8404
|
+
},
|
|
8405
|
+
{
|
|
8406
|
+
"internalType": "uint256",
|
|
8407
|
+
"name": "failSafeRate",
|
|
8408
|
+
"type": "uint256"
|
|
8409
|
+
},
|
|
8410
|
+
{
|
|
8411
|
+
"internalType": "bytes",
|
|
8412
|
+
"name": "permit",
|
|
8413
|
+
"type": "bytes"
|
|
8414
|
+
}
|
|
8415
|
+
],
|
|
8416
|
+
"internalType": "struct Order",
|
|
8417
|
+
"name": "order",
|
|
8418
|
+
"type": "tuple"
|
|
8419
|
+
},
|
|
8420
|
+
{
|
|
8421
|
+
"internalType": "bytes",
|
|
8422
|
+
"name": "signature",
|
|
8423
|
+
"type": "bytes"
|
|
8424
|
+
},
|
|
8425
|
+
{
|
|
8426
|
+
"internalType": "uint256",
|
|
8427
|
+
"name": "makingAmount",
|
|
8428
|
+
"type": "uint256"
|
|
8429
|
+
}
|
|
8430
|
+
],
|
|
8431
|
+
"internalType": "struct FillOrderParams[]",
|
|
8432
|
+
"name": "normalFills",
|
|
8433
|
+
"type": "tuple[]"
|
|
8434
|
+
},
|
|
8435
|
+
{
|
|
8436
|
+
"components": [
|
|
8437
|
+
{
|
|
8438
|
+
"components": [
|
|
8439
|
+
{
|
|
8440
|
+
"internalType": "uint256",
|
|
8441
|
+
"name": "salt",
|
|
8442
|
+
"type": "uint256"
|
|
8443
|
+
},
|
|
8444
|
+
{
|
|
8445
|
+
"internalType": "uint256",
|
|
8446
|
+
"name": "expiry",
|
|
8447
|
+
"type": "uint256"
|
|
8448
|
+
},
|
|
8449
|
+
{
|
|
8450
|
+
"internalType": "uint256",
|
|
8451
|
+
"name": "nonce",
|
|
8452
|
+
"type": "uint256"
|
|
8453
|
+
},
|
|
8454
|
+
{
|
|
8455
|
+
"internalType": "enum IPLimitOrderType.OrderType",
|
|
8456
|
+
"name": "orderType",
|
|
8457
|
+
"type": "uint8"
|
|
8458
|
+
},
|
|
8459
|
+
{
|
|
8460
|
+
"internalType": "address",
|
|
8461
|
+
"name": "token",
|
|
8462
|
+
"type": "address"
|
|
8463
|
+
},
|
|
8464
|
+
{
|
|
8465
|
+
"internalType": "address",
|
|
8466
|
+
"name": "YT",
|
|
8467
|
+
"type": "address"
|
|
8468
|
+
},
|
|
8469
|
+
{
|
|
8470
|
+
"internalType": "address",
|
|
8471
|
+
"name": "maker",
|
|
8472
|
+
"type": "address"
|
|
8473
|
+
},
|
|
8474
|
+
{
|
|
8475
|
+
"internalType": "address",
|
|
8476
|
+
"name": "receiver",
|
|
8477
|
+
"type": "address"
|
|
8478
|
+
},
|
|
8479
|
+
{
|
|
8480
|
+
"internalType": "uint256",
|
|
8481
|
+
"name": "makingAmount",
|
|
8482
|
+
"type": "uint256"
|
|
8483
|
+
},
|
|
8484
|
+
{
|
|
8485
|
+
"internalType": "uint256",
|
|
8486
|
+
"name": "lnImpliedRate",
|
|
8487
|
+
"type": "uint256"
|
|
8488
|
+
},
|
|
8489
|
+
{
|
|
8490
|
+
"internalType": "uint256",
|
|
8491
|
+
"name": "failSafeRate",
|
|
8492
|
+
"type": "uint256"
|
|
8493
|
+
},
|
|
8494
|
+
{
|
|
8495
|
+
"internalType": "bytes",
|
|
8496
|
+
"name": "permit",
|
|
8497
|
+
"type": "bytes"
|
|
8498
|
+
}
|
|
8499
|
+
],
|
|
8500
|
+
"internalType": "struct Order",
|
|
8501
|
+
"name": "order",
|
|
8502
|
+
"type": "tuple"
|
|
8503
|
+
},
|
|
8504
|
+
{
|
|
8505
|
+
"internalType": "bytes",
|
|
8506
|
+
"name": "signature",
|
|
8507
|
+
"type": "bytes"
|
|
8508
|
+
},
|
|
8509
|
+
{
|
|
8510
|
+
"internalType": "uint256",
|
|
8511
|
+
"name": "makingAmount",
|
|
8512
|
+
"type": "uint256"
|
|
8513
|
+
}
|
|
8514
|
+
],
|
|
8515
|
+
"internalType": "struct FillOrderParams[]",
|
|
8516
|
+
"name": "flashFills",
|
|
8517
|
+
"type": "tuple[]"
|
|
8518
|
+
},
|
|
8519
|
+
{
|
|
8520
|
+
"internalType": "bytes",
|
|
8521
|
+
"name": "optData",
|
|
8522
|
+
"type": "bytes"
|
|
8523
|
+
}
|
|
8524
|
+
],
|
|
8525
|
+
"internalType": "struct LimitOrderData",
|
|
8526
|
+
"name": "limit",
|
|
8527
|
+
"type": "tuple"
|
|
8528
|
+
}
|
|
8529
|
+
],
|
|
8530
|
+
"name": "swapMaxPtForTokenLimitOnly",
|
|
8531
|
+
"outputs": [
|
|
8532
|
+
{
|
|
8533
|
+
"internalType": "uint256",
|
|
8534
|
+
"name": "netTokenOut",
|
|
8535
|
+
"type": "uint256"
|
|
8536
|
+
},
|
|
8537
|
+
{
|
|
8538
|
+
"internalType": "uint256",
|
|
8539
|
+
"name": "netPtReturned",
|
|
8540
|
+
"type": "uint256"
|
|
8541
|
+
},
|
|
8542
|
+
{
|
|
8543
|
+
"internalType": "uint256",
|
|
8544
|
+
"name": "netSyFee",
|
|
8545
|
+
"type": "uint256"
|
|
8546
|
+
},
|
|
8547
|
+
{
|
|
8548
|
+
"internalType": "uint256",
|
|
8549
|
+
"name": "netSyInterm",
|
|
8550
|
+
"type": "uint256"
|
|
8551
|
+
}
|
|
8552
|
+
],
|
|
8553
|
+
"stateMutability": "nonpayable",
|
|
8554
|
+
"type": "function"
|
|
8555
|
+
},
|
|
8556
|
+
{
|
|
8557
|
+
"inputs": [
|
|
8558
|
+
{
|
|
8559
|
+
"internalType": "address",
|
|
8560
|
+
"name": "receiver",
|
|
8561
|
+
"type": "address"
|
|
8562
|
+
},
|
|
8563
|
+
{
|
|
8564
|
+
"internalType": "address",
|
|
8565
|
+
"name": "market",
|
|
8566
|
+
"type": "address"
|
|
8567
|
+
},
|
|
8568
|
+
{
|
|
8569
|
+
"internalType": "uint256",
|
|
8570
|
+
"name": "maxSyIn",
|
|
8571
|
+
"type": "uint256"
|
|
8572
|
+
},
|
|
8573
|
+
{
|
|
8574
|
+
"internalType": "uint256",
|
|
8575
|
+
"name": "minYtSyRate",
|
|
8576
|
+
"type": "uint256"
|
|
8577
|
+
},
|
|
8578
|
+
{
|
|
8579
|
+
"components": [
|
|
8580
|
+
{
|
|
8581
|
+
"internalType": "address",
|
|
8582
|
+
"name": "limitRouter",
|
|
8583
|
+
"type": "address"
|
|
8584
|
+
},
|
|
8585
|
+
{
|
|
8586
|
+
"internalType": "uint256",
|
|
8587
|
+
"name": "epsSkipMarket",
|
|
8588
|
+
"type": "uint256"
|
|
8589
|
+
},
|
|
8590
|
+
{
|
|
8591
|
+
"components": [
|
|
8592
|
+
{
|
|
8593
|
+
"components": [
|
|
8594
|
+
{
|
|
8595
|
+
"internalType": "uint256",
|
|
8596
|
+
"name": "salt",
|
|
8597
|
+
"type": "uint256"
|
|
8598
|
+
},
|
|
8599
|
+
{
|
|
8600
|
+
"internalType": "uint256",
|
|
8601
|
+
"name": "expiry",
|
|
8602
|
+
"type": "uint256"
|
|
8603
|
+
},
|
|
8604
|
+
{
|
|
8605
|
+
"internalType": "uint256",
|
|
8606
|
+
"name": "nonce",
|
|
8607
|
+
"type": "uint256"
|
|
8608
|
+
},
|
|
8609
|
+
{
|
|
8610
|
+
"internalType": "enum IPLimitOrderType.OrderType",
|
|
8611
|
+
"name": "orderType",
|
|
8612
|
+
"type": "uint8"
|
|
8613
|
+
},
|
|
8614
|
+
{
|
|
8615
|
+
"internalType": "address",
|
|
8616
|
+
"name": "token",
|
|
8617
|
+
"type": "address"
|
|
8618
|
+
},
|
|
8619
|
+
{
|
|
8620
|
+
"internalType": "address",
|
|
8621
|
+
"name": "YT",
|
|
8622
|
+
"type": "address"
|
|
8623
|
+
},
|
|
8624
|
+
{
|
|
8625
|
+
"internalType": "address",
|
|
8626
|
+
"name": "maker",
|
|
8627
|
+
"type": "address"
|
|
8628
|
+
},
|
|
8629
|
+
{
|
|
8630
|
+
"internalType": "address",
|
|
8631
|
+
"name": "receiver",
|
|
8632
|
+
"type": "address"
|
|
8633
|
+
},
|
|
8634
|
+
{
|
|
8635
|
+
"internalType": "uint256",
|
|
8636
|
+
"name": "makingAmount",
|
|
8637
|
+
"type": "uint256"
|
|
8638
|
+
},
|
|
8639
|
+
{
|
|
8640
|
+
"internalType": "uint256",
|
|
8641
|
+
"name": "lnImpliedRate",
|
|
8642
|
+
"type": "uint256"
|
|
8643
|
+
},
|
|
8644
|
+
{
|
|
8645
|
+
"internalType": "uint256",
|
|
8646
|
+
"name": "failSafeRate",
|
|
8647
|
+
"type": "uint256"
|
|
8648
|
+
},
|
|
8649
|
+
{
|
|
8650
|
+
"internalType": "bytes",
|
|
8651
|
+
"name": "permit",
|
|
8652
|
+
"type": "bytes"
|
|
8653
|
+
}
|
|
8654
|
+
],
|
|
8655
|
+
"internalType": "struct Order",
|
|
8656
|
+
"name": "order",
|
|
8657
|
+
"type": "tuple"
|
|
8658
|
+
},
|
|
8659
|
+
{
|
|
8660
|
+
"internalType": "bytes",
|
|
8661
|
+
"name": "signature",
|
|
8662
|
+
"type": "bytes"
|
|
8663
|
+
},
|
|
8664
|
+
{
|
|
8665
|
+
"internalType": "uint256",
|
|
8666
|
+
"name": "makingAmount",
|
|
8667
|
+
"type": "uint256"
|
|
8668
|
+
}
|
|
8669
|
+
],
|
|
8670
|
+
"internalType": "struct FillOrderParams[]",
|
|
8671
|
+
"name": "normalFills",
|
|
8672
|
+
"type": "tuple[]"
|
|
8673
|
+
},
|
|
8674
|
+
{
|
|
8675
|
+
"components": [
|
|
8676
|
+
{
|
|
8677
|
+
"components": [
|
|
8678
|
+
{
|
|
8679
|
+
"internalType": "uint256",
|
|
8680
|
+
"name": "salt",
|
|
8681
|
+
"type": "uint256"
|
|
8682
|
+
},
|
|
8683
|
+
{
|
|
8684
|
+
"internalType": "uint256",
|
|
8685
|
+
"name": "expiry",
|
|
8686
|
+
"type": "uint256"
|
|
8687
|
+
},
|
|
8688
|
+
{
|
|
8689
|
+
"internalType": "uint256",
|
|
8690
|
+
"name": "nonce",
|
|
8691
|
+
"type": "uint256"
|
|
8692
|
+
},
|
|
8693
|
+
{
|
|
8694
|
+
"internalType": "enum IPLimitOrderType.OrderType",
|
|
8695
|
+
"name": "orderType",
|
|
8696
|
+
"type": "uint8"
|
|
8697
|
+
},
|
|
8698
|
+
{
|
|
8699
|
+
"internalType": "address",
|
|
8700
|
+
"name": "token",
|
|
8701
|
+
"type": "address"
|
|
8702
|
+
},
|
|
8703
|
+
{
|
|
8704
|
+
"internalType": "address",
|
|
8705
|
+
"name": "YT",
|
|
8706
|
+
"type": "address"
|
|
8707
|
+
},
|
|
8708
|
+
{
|
|
8709
|
+
"internalType": "address",
|
|
8710
|
+
"name": "maker",
|
|
8711
|
+
"type": "address"
|
|
8712
|
+
},
|
|
8713
|
+
{
|
|
8714
|
+
"internalType": "address",
|
|
8715
|
+
"name": "receiver",
|
|
8716
|
+
"type": "address"
|
|
8717
|
+
},
|
|
8718
|
+
{
|
|
8719
|
+
"internalType": "uint256",
|
|
8720
|
+
"name": "makingAmount",
|
|
8721
|
+
"type": "uint256"
|
|
8722
|
+
},
|
|
8723
|
+
{
|
|
8724
|
+
"internalType": "uint256",
|
|
8725
|
+
"name": "lnImpliedRate",
|
|
8726
|
+
"type": "uint256"
|
|
8727
|
+
},
|
|
8728
|
+
{
|
|
8729
|
+
"internalType": "uint256",
|
|
8730
|
+
"name": "failSafeRate",
|
|
8731
|
+
"type": "uint256"
|
|
8732
|
+
},
|
|
8733
|
+
{
|
|
8734
|
+
"internalType": "bytes",
|
|
8735
|
+
"name": "permit",
|
|
8736
|
+
"type": "bytes"
|
|
8737
|
+
}
|
|
8738
|
+
],
|
|
8739
|
+
"internalType": "struct Order",
|
|
8740
|
+
"name": "order",
|
|
8741
|
+
"type": "tuple"
|
|
8742
|
+
},
|
|
8743
|
+
{
|
|
8744
|
+
"internalType": "bytes",
|
|
8745
|
+
"name": "signature",
|
|
8746
|
+
"type": "bytes"
|
|
8747
|
+
},
|
|
8748
|
+
{
|
|
8749
|
+
"internalType": "uint256",
|
|
8750
|
+
"name": "makingAmount",
|
|
8751
|
+
"type": "uint256"
|
|
8752
|
+
}
|
|
8753
|
+
],
|
|
8754
|
+
"internalType": "struct FillOrderParams[]",
|
|
8755
|
+
"name": "flashFills",
|
|
8756
|
+
"type": "tuple[]"
|
|
8757
|
+
},
|
|
8758
|
+
{
|
|
8759
|
+
"internalType": "bytes",
|
|
8760
|
+
"name": "optData",
|
|
8761
|
+
"type": "bytes"
|
|
8762
|
+
}
|
|
8763
|
+
],
|
|
8764
|
+
"internalType": "struct LimitOrderData",
|
|
8765
|
+
"name": "limit",
|
|
8766
|
+
"type": "tuple"
|
|
8767
|
+
}
|
|
8768
|
+
],
|
|
8769
|
+
"name": "swapMaxSyForYtLimitOnly",
|
|
8770
|
+
"outputs": [
|
|
8771
|
+
{
|
|
8772
|
+
"internalType": "uint256",
|
|
8773
|
+
"name": "netYtOut",
|
|
8774
|
+
"type": "uint256"
|
|
8775
|
+
},
|
|
8776
|
+
{
|
|
8777
|
+
"internalType": "uint256",
|
|
8778
|
+
"name": "netSyReturned",
|
|
8779
|
+
"type": "uint256"
|
|
8780
|
+
},
|
|
8781
|
+
{
|
|
8782
|
+
"internalType": "uint256",
|
|
8783
|
+
"name": "netSyFee",
|
|
8784
|
+
"type": "uint256"
|
|
8785
|
+
}
|
|
8786
|
+
],
|
|
8787
|
+
"stateMutability": "nonpayable",
|
|
8788
|
+
"type": "function"
|
|
8789
|
+
},
|
|
8790
|
+
{
|
|
8791
|
+
"inputs": [
|
|
8792
|
+
{
|
|
8793
|
+
"internalType": "address",
|
|
8794
|
+
"name": "receiver",
|
|
8795
|
+
"type": "address"
|
|
8796
|
+
},
|
|
8797
|
+
{
|
|
8798
|
+
"internalType": "address",
|
|
8799
|
+
"name": "market",
|
|
8800
|
+
"type": "address"
|
|
8801
|
+
},
|
|
8802
|
+
{
|
|
8803
|
+
"internalType": "uint256",
|
|
8804
|
+
"name": "minSyInterm",
|
|
8805
|
+
"type": "uint256"
|
|
8806
|
+
},
|
|
8807
|
+
{
|
|
8808
|
+
"internalType": "uint256",
|
|
8809
|
+
"name": "minYtSyRate",
|
|
8810
|
+
"type": "uint256"
|
|
8811
|
+
},
|
|
8812
|
+
{
|
|
8813
|
+
"components": [
|
|
8814
|
+
{
|
|
8815
|
+
"internalType": "address",
|
|
8816
|
+
"name": "tokenIn",
|
|
8817
|
+
"type": "address"
|
|
8818
|
+
},
|
|
8819
|
+
{
|
|
8820
|
+
"internalType": "uint256",
|
|
8821
|
+
"name": "netTokenIn",
|
|
8822
|
+
"type": "uint256"
|
|
8823
|
+
},
|
|
8824
|
+
{
|
|
8825
|
+
"internalType": "address",
|
|
8826
|
+
"name": "tokenMintSy",
|
|
8827
|
+
"type": "address"
|
|
8828
|
+
},
|
|
8829
|
+
{
|
|
8830
|
+
"internalType": "address",
|
|
8831
|
+
"name": "pendleSwap",
|
|
8832
|
+
"type": "address"
|
|
8833
|
+
},
|
|
8834
|
+
{
|
|
8835
|
+
"components": [
|
|
8836
|
+
{
|
|
8837
|
+
"internalType": "enum SwapType",
|
|
8838
|
+
"name": "swapType",
|
|
8839
|
+
"type": "uint8"
|
|
8840
|
+
},
|
|
8841
|
+
{
|
|
8842
|
+
"internalType": "address",
|
|
8843
|
+
"name": "extRouter",
|
|
8844
|
+
"type": "address"
|
|
8845
|
+
},
|
|
8846
|
+
{
|
|
8847
|
+
"internalType": "bytes",
|
|
8848
|
+
"name": "extCalldata",
|
|
8849
|
+
"type": "bytes"
|
|
8850
|
+
},
|
|
8851
|
+
{
|
|
8852
|
+
"internalType": "bool",
|
|
8853
|
+
"name": "needScale",
|
|
8854
|
+
"type": "bool"
|
|
8855
|
+
}
|
|
8856
|
+
],
|
|
8857
|
+
"internalType": "struct SwapData",
|
|
8858
|
+
"name": "swapData",
|
|
8859
|
+
"type": "tuple"
|
|
8860
|
+
}
|
|
8861
|
+
],
|
|
8862
|
+
"internalType": "struct TokenInput",
|
|
8863
|
+
"name": "input",
|
|
8864
|
+
"type": "tuple"
|
|
8865
|
+
},
|
|
8866
|
+
{
|
|
8867
|
+
"components": [
|
|
8868
|
+
{
|
|
8869
|
+
"internalType": "address",
|
|
8870
|
+
"name": "limitRouter",
|
|
8871
|
+
"type": "address"
|
|
8872
|
+
},
|
|
8873
|
+
{
|
|
8874
|
+
"internalType": "uint256",
|
|
8875
|
+
"name": "epsSkipMarket",
|
|
8876
|
+
"type": "uint256"
|
|
8877
|
+
},
|
|
8878
|
+
{
|
|
8879
|
+
"components": [
|
|
8880
|
+
{
|
|
8881
|
+
"components": [
|
|
8882
|
+
{
|
|
8883
|
+
"internalType": "uint256",
|
|
8884
|
+
"name": "salt",
|
|
8885
|
+
"type": "uint256"
|
|
8886
|
+
},
|
|
8887
|
+
{
|
|
8888
|
+
"internalType": "uint256",
|
|
8889
|
+
"name": "expiry",
|
|
8890
|
+
"type": "uint256"
|
|
8891
|
+
},
|
|
8892
|
+
{
|
|
8893
|
+
"internalType": "uint256",
|
|
8894
|
+
"name": "nonce",
|
|
8895
|
+
"type": "uint256"
|
|
8896
|
+
},
|
|
8897
|
+
{
|
|
8898
|
+
"internalType": "enum IPLimitOrderType.OrderType",
|
|
8899
|
+
"name": "orderType",
|
|
8900
|
+
"type": "uint8"
|
|
8901
|
+
},
|
|
8902
|
+
{
|
|
8903
|
+
"internalType": "address",
|
|
8904
|
+
"name": "token",
|
|
8905
|
+
"type": "address"
|
|
8906
|
+
},
|
|
8907
|
+
{
|
|
8908
|
+
"internalType": "address",
|
|
8909
|
+
"name": "YT",
|
|
8910
|
+
"type": "address"
|
|
8911
|
+
},
|
|
8912
|
+
{
|
|
8913
|
+
"internalType": "address",
|
|
8914
|
+
"name": "maker",
|
|
8915
|
+
"type": "address"
|
|
8916
|
+
},
|
|
8917
|
+
{
|
|
8918
|
+
"internalType": "address",
|
|
8919
|
+
"name": "receiver",
|
|
8920
|
+
"type": "address"
|
|
8921
|
+
},
|
|
8922
|
+
{
|
|
8923
|
+
"internalType": "uint256",
|
|
8924
|
+
"name": "makingAmount",
|
|
8925
|
+
"type": "uint256"
|
|
8926
|
+
},
|
|
8927
|
+
{
|
|
8928
|
+
"internalType": "uint256",
|
|
8929
|
+
"name": "lnImpliedRate",
|
|
8930
|
+
"type": "uint256"
|
|
8931
|
+
},
|
|
8932
|
+
{
|
|
8933
|
+
"internalType": "uint256",
|
|
8934
|
+
"name": "failSafeRate",
|
|
8935
|
+
"type": "uint256"
|
|
8936
|
+
},
|
|
8937
|
+
{
|
|
8938
|
+
"internalType": "bytes",
|
|
8939
|
+
"name": "permit",
|
|
8940
|
+
"type": "bytes"
|
|
8941
|
+
}
|
|
8942
|
+
],
|
|
8943
|
+
"internalType": "struct Order",
|
|
8944
|
+
"name": "order",
|
|
8945
|
+
"type": "tuple"
|
|
8946
|
+
},
|
|
8947
|
+
{
|
|
8948
|
+
"internalType": "bytes",
|
|
8949
|
+
"name": "signature",
|
|
8950
|
+
"type": "bytes"
|
|
8951
|
+
},
|
|
8952
|
+
{
|
|
8953
|
+
"internalType": "uint256",
|
|
8954
|
+
"name": "makingAmount",
|
|
8955
|
+
"type": "uint256"
|
|
8956
|
+
}
|
|
8957
|
+
],
|
|
8958
|
+
"internalType": "struct FillOrderParams[]",
|
|
8959
|
+
"name": "normalFills",
|
|
8960
|
+
"type": "tuple[]"
|
|
8961
|
+
},
|
|
8962
|
+
{
|
|
8963
|
+
"components": [
|
|
8964
|
+
{
|
|
8965
|
+
"components": [
|
|
8966
|
+
{
|
|
8967
|
+
"internalType": "uint256",
|
|
8968
|
+
"name": "salt",
|
|
8969
|
+
"type": "uint256"
|
|
8970
|
+
},
|
|
8971
|
+
{
|
|
8972
|
+
"internalType": "uint256",
|
|
8973
|
+
"name": "expiry",
|
|
8974
|
+
"type": "uint256"
|
|
8975
|
+
},
|
|
8976
|
+
{
|
|
8977
|
+
"internalType": "uint256",
|
|
8978
|
+
"name": "nonce",
|
|
8979
|
+
"type": "uint256"
|
|
8980
|
+
},
|
|
8981
|
+
{
|
|
8982
|
+
"internalType": "enum IPLimitOrderType.OrderType",
|
|
8983
|
+
"name": "orderType",
|
|
8984
|
+
"type": "uint8"
|
|
8985
|
+
},
|
|
8986
|
+
{
|
|
8987
|
+
"internalType": "address",
|
|
8988
|
+
"name": "token",
|
|
8989
|
+
"type": "address"
|
|
8990
|
+
},
|
|
8991
|
+
{
|
|
8992
|
+
"internalType": "address",
|
|
8993
|
+
"name": "YT",
|
|
8994
|
+
"type": "address"
|
|
8995
|
+
},
|
|
8996
|
+
{
|
|
8997
|
+
"internalType": "address",
|
|
8998
|
+
"name": "maker",
|
|
8999
|
+
"type": "address"
|
|
9000
|
+
},
|
|
9001
|
+
{
|
|
9002
|
+
"internalType": "address",
|
|
9003
|
+
"name": "receiver",
|
|
9004
|
+
"type": "address"
|
|
9005
|
+
},
|
|
9006
|
+
{
|
|
9007
|
+
"internalType": "uint256",
|
|
9008
|
+
"name": "makingAmount",
|
|
9009
|
+
"type": "uint256"
|
|
9010
|
+
},
|
|
9011
|
+
{
|
|
9012
|
+
"internalType": "uint256",
|
|
9013
|
+
"name": "lnImpliedRate",
|
|
9014
|
+
"type": "uint256"
|
|
9015
|
+
},
|
|
9016
|
+
{
|
|
9017
|
+
"internalType": "uint256",
|
|
9018
|
+
"name": "failSafeRate",
|
|
9019
|
+
"type": "uint256"
|
|
9020
|
+
},
|
|
9021
|
+
{
|
|
9022
|
+
"internalType": "bytes",
|
|
9023
|
+
"name": "permit",
|
|
9024
|
+
"type": "bytes"
|
|
9025
|
+
}
|
|
9026
|
+
],
|
|
9027
|
+
"internalType": "struct Order",
|
|
9028
|
+
"name": "order",
|
|
9029
|
+
"type": "tuple"
|
|
9030
|
+
},
|
|
9031
|
+
{
|
|
9032
|
+
"internalType": "bytes",
|
|
9033
|
+
"name": "signature",
|
|
9034
|
+
"type": "bytes"
|
|
9035
|
+
},
|
|
9036
|
+
{
|
|
9037
|
+
"internalType": "uint256",
|
|
9038
|
+
"name": "makingAmount",
|
|
9039
|
+
"type": "uint256"
|
|
9040
|
+
}
|
|
9041
|
+
],
|
|
9042
|
+
"internalType": "struct FillOrderParams[]",
|
|
9043
|
+
"name": "flashFills",
|
|
9044
|
+
"type": "tuple[]"
|
|
9045
|
+
},
|
|
9046
|
+
{
|
|
9047
|
+
"internalType": "bytes",
|
|
9048
|
+
"name": "optData",
|
|
9049
|
+
"type": "bytes"
|
|
9050
|
+
}
|
|
9051
|
+
],
|
|
9052
|
+
"internalType": "struct LimitOrderData",
|
|
9053
|
+
"name": "limit",
|
|
9054
|
+
"type": "tuple"
|
|
9055
|
+
}
|
|
9056
|
+
],
|
|
9057
|
+
"name": "swapMaxTokenForYtLimitOnly",
|
|
9058
|
+
"outputs": [
|
|
9059
|
+
{
|
|
9060
|
+
"internalType": "uint256",
|
|
9061
|
+
"name": "netYtOut",
|
|
9062
|
+
"type": "uint256"
|
|
9063
|
+
},
|
|
9064
|
+
{
|
|
9065
|
+
"internalType": "uint256",
|
|
9066
|
+
"name": "netSyReturned",
|
|
9067
|
+
"type": "uint256"
|
|
9068
|
+
},
|
|
9069
|
+
{
|
|
9070
|
+
"internalType": "uint256",
|
|
9071
|
+
"name": "netSyFee",
|
|
9072
|
+
"type": "uint256"
|
|
9073
|
+
},
|
|
9074
|
+
{
|
|
9075
|
+
"internalType": "uint256",
|
|
9076
|
+
"name": "netSyInterm",
|
|
7905
9077
|
"type": "uint256"
|
|
7906
9078
|
}
|
|
7907
9079
|
],
|