@pendle/core-v2 5.2.1-beta-1 → 5.2.2
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/Lombard/PendleLBTCBaseSY.sol/PendleLBTCBaseSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Lombard/PendleLBTCBaseSY.sol/PendleLBTCBaseSY.json +1111 -0
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.json +0 -196
- package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
- 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 +78 -196
- package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.json +0 -196
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.json +0 -196
- package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.json +0 -196
- package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.json +0 -196
- package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.json +0 -196
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +16 -1188
- 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/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 +0 -196
- package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.json +122 -0
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.json +91 -0
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.json +262 -0
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.json +96 -0
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.json +13 -0
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +0 -196
- package/build/artifacts/contracts/interfaces/Lombard/ILBTCMinterBase.sol/ILBTCMinterBase.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Lombard/ILBTCMinterBase.sol/ILBTCMinterBase.json +63 -0
- package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.json +2 -2
- 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 +2 -198
- 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/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/{PendleLpOracleLib.sol → PtYtLpOracle/PendleLpOracleLib.sol}/PendleLpOracleLib.json +3 -3
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/{PendlePYLpOracle.sol → PtYtLpOracle/PendlePYLpOracle.sol}/PendlePYLpOracle.json +3 -3
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/{PendlePYOracleLib.sol → PtYtLpOracle/PendlePYOracleLib.sol}/PendlePYOracleLib.json +3 -3
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.json +226 -0
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.json +343 -0
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.json +257 -0
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringLpGlpOracle.sol/BoringLpGlpOracle.json +3 -3
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringLpSeller.sol/BoringLpSeller.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +3 -3
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +3 -3
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringPtSeller.sol/BoringPtSeller.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/{PendleBoringOneracle.sol → internal/PendleBoringOneracle.sol}/PendleBoringOneracle.json +3 -3
- package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/{PendleBoringSolvBTCOneracle.sol → internal/PendleBoringSolvBTCOneracle.sol}/PendleBoringSolvBTCOneracle.json +3 -3
- package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/{PendleRedStoneRateOracleAdapter.sol → internal/PendleRedStoneRateOracleAdapter.sol}/PendleRedStoneRateOracleAdapter.json +3 -3
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/{PendleSparkLinearDiscountOracle.sol → internal/PendleSparkLinearDiscountOracle.sol}/PTExpiry.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/{PendleSparkLinearDiscountOracle.sol → internal/PendleSparkLinearDiscountOracle.sol}/PendleSparkLinearDiscountOracle.json +3 -3
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -198
- package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +80 -198
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -198
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -198
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -198
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -198
- 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/Lombard/PendleLBTCBaseSY.sol +121 -0
- package/contracts/interfaces/IPActionAddRemoveLiqV3.sol +6 -6
- package/contracts/interfaces/IPActionMiscV3.sol +8 -2
- package/contracts/interfaces/IPActionSwapPTV3.sol +4 -4
- package/contracts/interfaces/IPActionSwapYTV3.sol +4 -4
- package/contracts/interfaces/IPAllActionTypeV3.sol +0 -4
- package/contracts/interfaces/IPAllActionV3.sol +1 -3
- package/contracts/interfaces/IPAllEventsV3.sol +1 -44
- package/contracts/interfaces/IPChainlinkOracle.sol +11 -0
- package/contracts/interfaces/IPChainlinkOracleFactory.sol +22 -0
- package/contracts/interfaces/IPChainlinkOracleWithQuote.sol +8 -0
- package/contracts/interfaces/IPLimitRouter.sol +22 -12
- package/contracts/interfaces/IPPYLpOracle.sol +3 -4
- package/contracts/interfaces/Lombard/ILBTCMinterBase.sol +12 -0
- package/contracts/oracles/{PendlePYLpOracle.sol → PtYtLpOracle/PendlePYLpOracle.sol} +2 -2
- package/contracts/oracles/{PendlePYOracleLib.sol → PtYtLpOracle/PendlePYOracleLib.sol} +2 -2
- package/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol +134 -0
- package/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol +121 -0
- package/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol +50 -0
- package/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringLpGlpOracle.sol +3 -3
- package/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringLpSeller.sol +1 -1
- package/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringPYUsdChainlinkAssetOracle.sol +3 -3
- package/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringPYUsdChainlinkSYOracle.sol +3 -3
- package/contracts/oracles/{samples → PtYtLpOracle/samples}/BoringPtSeller.sol +1 -1
- package/contracts/oracles/{PendleBoringOneracle.sol → internal/PendleBoringOneracle.sol} +2 -2
- package/contracts/oracles/{PendleBoringSolvBTCOneracle.sol → internal/PendleBoringSolvBTCOneracle.sol} +2 -2
- package/contracts/oracles/{PendleRedStoneRateOracleAdapter.sol → internal/PendleRedStoneRateOracleAdapter.sol} +3 -3
- package/contracts/router/ActionAddRemoveLiqV3.sol +9 -9
- package/contracts/router/ActionMiscV3.sol +17 -3
- package/contracts/router/ActionSwapPTV3.sol +4 -4
- package/contracts/router/ActionSwapYTV3.sol +4 -4
- package/contracts/router/base/ActionBase.sol +12 -35
- package/contracts/router/base/ActionDelegateBase.sol +1 -1
- package/deployments/1-core.json +1 -1
- package/deployments/1-markets/MORPHO-PWBTC-JUN2025.json +14 -0
- package/deployments/8453-markets/CBETH-BASE-DEC2025.json +14 -0
- package/deployments/8453-markets/LBTC-BASE-MAY2025.json +14 -0
- package/package.json +1 -1
- package/typechain-types/ActionAddRemoveLiqV3.ts +0 -148
- package/typechain-types/ActionMiscV3.ts +44 -148
- package/typechain-types/ActionSimple.ts +0 -148
- package/typechain-types/ActionStorageStatic.ts +0 -148
- package/typechain-types/ActionStorageV4.ts +0 -148
- package/typechain-types/ActionSwapPTV3.ts +0 -148
- package/typechain-types/ActionSwapYTV3.ts +0 -148
- package/typechain-types/ILBTCMinterBase.ts +159 -0
- package/typechain-types/IPActionAddRemoveLiqV3.ts +0 -148
- package/typechain-types/IPActionMiscV3.ts +44 -148
- package/typechain-types/IPActionSimple.ts +0 -148
- package/typechain-types/IPActionStorageStatic.ts +0 -148
- package/typechain-types/IPActionStorageV4.ts +0 -148
- package/typechain-types/IPActionSwapPTV3.ts +0 -148
- package/typechain-types/IPActionSwapYTV3.ts +0 -148
- package/typechain-types/IPAllActionV3.ts +20 -390
- package/typechain-types/IPAllEventsV3.ts +0 -148
- package/typechain-types/IPLimitRouter.ts +36 -0
- package/typechain-types/IPPYLpOracle.ts +21 -0
- package/typechain-types/IPRouterStatic.ts +0 -148
- package/typechain-types/PendleLBTCBaseSY.ts +1470 -0
- package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -197
- package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -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 +79 -197
- package/typechain-types/factories/ActionSimple__factory.ts +1 -197
- package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -197
- package/typechain-types/factories/ActionStorageV4__factory.ts +1 -197
- package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -197
- package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -197
- package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
- package/typechain-types/factories/BoringLpGlpOracle__factory.ts +1 -1
- package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +1 -1
- package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +1 -1
- package/typechain-types/factories/ILBTCMinterBase__factory.ts +78 -0
- package/typechain-types/factories/IPActionAddRemoveLiqV3__factory.ts +0 -196
- package/typechain-types/factories/IPActionMiscV3__factory.ts +78 -196
- package/typechain-types/factories/IPActionSimple__factory.ts +0 -196
- package/typechain-types/factories/IPActionStorageStatic__factory.ts +0 -196
- package/typechain-types/factories/IPActionStorageV4__factory.ts +0 -196
- package/typechain-types/factories/IPActionSwapPTV3__factory.ts +0 -196
- package/typechain-types/factories/IPActionSwapYTV3__factory.ts +0 -196
- package/typechain-types/factories/IPAllActionV3__factory.ts +16 -1188
- package/typechain-types/factories/IPAllEventsV3__factory.ts +0 -196
- package/typechain-types/factories/IPLimitRouter__factory.ts +96 -0
- package/typechain-types/factories/IPPYLpOracle__factory.ts +13 -0
- package/typechain-types/factories/IPRouterStatic__factory.ts +0 -196
- package/typechain-types/factories/LimitBackendHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleBoringOneracle__factory.ts +1 -1
- package/typechain-types/factories/PendleBoringSolvBTCOneracle__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +1 -49
- package/typechain-types/factories/PendleChainlinkOracle__factory.ts +1 -49
- package/typechain-types/factories/PendleLBTCBaseSY__factory.ts +1164 -0
- package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
- package/typechain-types/factories/PendlePYLpOracle__factory.ts +1 -1
- package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleRedStoneRateOracleAdapter__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/PendleSparkLinearDiscountOracle__factory.ts +1 -1
- package/typechain-types/factories/Reflector__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +180 -27
- package/typechain-types/index.ts +18 -8
- package/build/artifacts/contracts/interfaces/IPActionSwapLimitV3.sol/IPActionSwapLimitV3.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPActionSwapLimitV3.sol/IPActionSwapLimitV3.json +0 -2638
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapLimitV3Events.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapLimitV3Events.json +0 -207
- package/build/artifacts/contracts/oracles/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +0 -4
- package/build/artifacts/contracts/router/ActionSwapLimitV3.sol/ActionSwapLimitV3.dbg.json +0 -4
- package/build/artifacts/contracts/router/ActionSwapLimitV3.sol/ActionSwapLimitV3.json +0 -2638
- package/contracts/interfaces/IPActionSwapLimitV3.sol +0 -42
- package/contracts/router/ActionSwapLimitV3.sol +0 -126
- /package/contracts/oracles/{PendleLpOracleLib.sol → PtYtLpOracle/PendleLpOracleLib.sol} +0 -0
- /package/contracts/oracles/{PendleSparkLinearDiscountOracle.sol → internal/PendleSparkLinearDiscountOracle.sol} +0 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type {
|
|
8
|
+
ILBTCMinterBase,
|
|
9
|
+
ILBTCMinterBaseInterface,
|
|
10
|
+
} from "../ILBTCMinterBase";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
inputs: [],
|
|
15
|
+
name: "relativeFee",
|
|
16
|
+
outputs: [
|
|
17
|
+
{
|
|
18
|
+
internalType: "uint16",
|
|
19
|
+
name: "",
|
|
20
|
+
type: "uint16",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
stateMutability: "view",
|
|
24
|
+
type: "function",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
inputs: [],
|
|
28
|
+
name: "remainingStake",
|
|
29
|
+
outputs: [
|
|
30
|
+
{
|
|
31
|
+
internalType: "uint256",
|
|
32
|
+
name: "",
|
|
33
|
+
type: "uint256",
|
|
34
|
+
},
|
|
35
|
+
],
|
|
36
|
+
stateMutability: "view",
|
|
37
|
+
type: "function",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
inputs: [],
|
|
41
|
+
name: "stakeLimit",
|
|
42
|
+
outputs: [
|
|
43
|
+
{
|
|
44
|
+
internalType: "uint256",
|
|
45
|
+
name: "",
|
|
46
|
+
type: "uint256",
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
stateMutability: "view",
|
|
50
|
+
type: "function",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
inputs: [
|
|
54
|
+
{
|
|
55
|
+
internalType: "uint256",
|
|
56
|
+
name: "amount",
|
|
57
|
+
type: "uint256",
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
name: "swapCBBTCToLBTC",
|
|
61
|
+
outputs: [],
|
|
62
|
+
stateMutability: "nonpayable",
|
|
63
|
+
type: "function",
|
|
64
|
+
},
|
|
65
|
+
];
|
|
66
|
+
|
|
67
|
+
export class ILBTCMinterBase__factory {
|
|
68
|
+
static readonly abi = _abi;
|
|
69
|
+
static createInterface(): ILBTCMinterBaseInterface {
|
|
70
|
+
return new utils.Interface(_abi) as ILBTCMinterBaseInterface;
|
|
71
|
+
}
|
|
72
|
+
static connect(
|
|
73
|
+
address: string,
|
|
74
|
+
signerOrProvider: Signer | Provider
|
|
75
|
+
): ILBTCMinterBase {
|
|
76
|
+
return new Contract(address, _abi, signerOrProvider) as ILBTCMinterBase;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -1178,202 +1178,6 @@ const _abi = [
|
|
|
1178
1178
|
name: "SelectorToFacetSet",
|
|
1179
1179
|
type: "event",
|
|
1180
1180
|
},
|
|
1181
|
-
{
|
|
1182
|
-
anonymous: false,
|
|
1183
|
-
inputs: [
|
|
1184
|
-
{
|
|
1185
|
-
indexed: true,
|
|
1186
|
-
internalType: "address",
|
|
1187
|
-
name: "caller",
|
|
1188
|
-
type: "address",
|
|
1189
|
-
},
|
|
1190
|
-
{
|
|
1191
|
-
indexed: true,
|
|
1192
|
-
internalType: "address",
|
|
1193
|
-
name: "market",
|
|
1194
|
-
type: "address",
|
|
1195
|
-
},
|
|
1196
|
-
{
|
|
1197
|
-
indexed: true,
|
|
1198
|
-
internalType: "address",
|
|
1199
|
-
name: "receiver",
|
|
1200
|
-
type: "address",
|
|
1201
|
-
},
|
|
1202
|
-
{
|
|
1203
|
-
indexed: false,
|
|
1204
|
-
internalType: "uint256",
|
|
1205
|
-
name: "maxPtIn",
|
|
1206
|
-
type: "uint256",
|
|
1207
|
-
},
|
|
1208
|
-
{
|
|
1209
|
-
indexed: false,
|
|
1210
|
-
internalType: "uint256",
|
|
1211
|
-
name: "netSyOut",
|
|
1212
|
-
type: "uint256",
|
|
1213
|
-
},
|
|
1214
|
-
{
|
|
1215
|
-
indexed: false,
|
|
1216
|
-
internalType: "uint256",
|
|
1217
|
-
name: "netPtReturned",
|
|
1218
|
-
type: "uint256",
|
|
1219
|
-
},
|
|
1220
|
-
],
|
|
1221
|
-
name: "SwapMaxPtForSyLimitOnly",
|
|
1222
|
-
type: "event",
|
|
1223
|
-
},
|
|
1224
|
-
{
|
|
1225
|
-
anonymous: false,
|
|
1226
|
-
inputs: [
|
|
1227
|
-
{
|
|
1228
|
-
indexed: true,
|
|
1229
|
-
internalType: "address",
|
|
1230
|
-
name: "caller",
|
|
1231
|
-
type: "address",
|
|
1232
|
-
},
|
|
1233
|
-
{
|
|
1234
|
-
indexed: true,
|
|
1235
|
-
internalType: "address",
|
|
1236
|
-
name: "market",
|
|
1237
|
-
type: "address",
|
|
1238
|
-
},
|
|
1239
|
-
{
|
|
1240
|
-
indexed: true,
|
|
1241
|
-
internalType: "address",
|
|
1242
|
-
name: "token",
|
|
1243
|
-
type: "address",
|
|
1244
|
-
},
|
|
1245
|
-
{
|
|
1246
|
-
indexed: false,
|
|
1247
|
-
internalType: "address",
|
|
1248
|
-
name: "receiver",
|
|
1249
|
-
type: "address",
|
|
1250
|
-
},
|
|
1251
|
-
{
|
|
1252
|
-
indexed: false,
|
|
1253
|
-
internalType: "uint256",
|
|
1254
|
-
name: "maxPtIn",
|
|
1255
|
-
type: "uint256",
|
|
1256
|
-
},
|
|
1257
|
-
{
|
|
1258
|
-
indexed: false,
|
|
1259
|
-
internalType: "uint256",
|
|
1260
|
-
name: "netTokenOut",
|
|
1261
|
-
type: "uint256",
|
|
1262
|
-
},
|
|
1263
|
-
{
|
|
1264
|
-
indexed: false,
|
|
1265
|
-
internalType: "uint256",
|
|
1266
|
-
name: "netSyInterm",
|
|
1267
|
-
type: "uint256",
|
|
1268
|
-
},
|
|
1269
|
-
{
|
|
1270
|
-
indexed: false,
|
|
1271
|
-
internalType: "uint256",
|
|
1272
|
-
name: "netPtReturned",
|
|
1273
|
-
type: "uint256",
|
|
1274
|
-
},
|
|
1275
|
-
],
|
|
1276
|
-
name: "SwapMaxPtForTokenLimitOnly",
|
|
1277
|
-
type: "event",
|
|
1278
|
-
},
|
|
1279
|
-
{
|
|
1280
|
-
anonymous: false,
|
|
1281
|
-
inputs: [
|
|
1282
|
-
{
|
|
1283
|
-
indexed: true,
|
|
1284
|
-
internalType: "address",
|
|
1285
|
-
name: "caller",
|
|
1286
|
-
type: "address",
|
|
1287
|
-
},
|
|
1288
|
-
{
|
|
1289
|
-
indexed: true,
|
|
1290
|
-
internalType: "address",
|
|
1291
|
-
name: "market",
|
|
1292
|
-
type: "address",
|
|
1293
|
-
},
|
|
1294
|
-
{
|
|
1295
|
-
indexed: true,
|
|
1296
|
-
internalType: "address",
|
|
1297
|
-
name: "receiver",
|
|
1298
|
-
type: "address",
|
|
1299
|
-
},
|
|
1300
|
-
{
|
|
1301
|
-
indexed: false,
|
|
1302
|
-
internalType: "uint256",
|
|
1303
|
-
name: "maxSyIn",
|
|
1304
|
-
type: "uint256",
|
|
1305
|
-
},
|
|
1306
|
-
{
|
|
1307
|
-
indexed: false,
|
|
1308
|
-
internalType: "uint256",
|
|
1309
|
-
name: "netYtOut",
|
|
1310
|
-
type: "uint256",
|
|
1311
|
-
},
|
|
1312
|
-
{
|
|
1313
|
-
indexed: false,
|
|
1314
|
-
internalType: "uint256",
|
|
1315
|
-
name: "netSyReturned",
|
|
1316
|
-
type: "uint256",
|
|
1317
|
-
},
|
|
1318
|
-
],
|
|
1319
|
-
name: "SwapMaxSyForYtLimitOnly",
|
|
1320
|
-
type: "event",
|
|
1321
|
-
},
|
|
1322
|
-
{
|
|
1323
|
-
anonymous: false,
|
|
1324
|
-
inputs: [
|
|
1325
|
-
{
|
|
1326
|
-
indexed: true,
|
|
1327
|
-
internalType: "address",
|
|
1328
|
-
name: "caller",
|
|
1329
|
-
type: "address",
|
|
1330
|
-
},
|
|
1331
|
-
{
|
|
1332
|
-
indexed: true,
|
|
1333
|
-
internalType: "address",
|
|
1334
|
-
name: "market",
|
|
1335
|
-
type: "address",
|
|
1336
|
-
},
|
|
1337
|
-
{
|
|
1338
|
-
indexed: true,
|
|
1339
|
-
internalType: "address",
|
|
1340
|
-
name: "token",
|
|
1341
|
-
type: "address",
|
|
1342
|
-
},
|
|
1343
|
-
{
|
|
1344
|
-
indexed: false,
|
|
1345
|
-
internalType: "address",
|
|
1346
|
-
name: "receiver",
|
|
1347
|
-
type: "address",
|
|
1348
|
-
},
|
|
1349
|
-
{
|
|
1350
|
-
indexed: false,
|
|
1351
|
-
internalType: "uint256",
|
|
1352
|
-
name: "maxTokenIn",
|
|
1353
|
-
type: "uint256",
|
|
1354
|
-
},
|
|
1355
|
-
{
|
|
1356
|
-
indexed: false,
|
|
1357
|
-
internalType: "uint256",
|
|
1358
|
-
name: "netYtOut",
|
|
1359
|
-
type: "uint256",
|
|
1360
|
-
},
|
|
1361
|
-
{
|
|
1362
|
-
indexed: false,
|
|
1363
|
-
internalType: "uint256",
|
|
1364
|
-
name: "netSyInterm",
|
|
1365
|
-
type: "uint256",
|
|
1366
|
-
},
|
|
1367
|
-
{
|
|
1368
|
-
indexed: false,
|
|
1369
|
-
internalType: "uint256",
|
|
1370
|
-
name: "netSyReturned",
|
|
1371
|
-
type: "uint256",
|
|
1372
|
-
},
|
|
1373
|
-
],
|
|
1374
|
-
name: "SwapMaxTokenForYtLimitOnly",
|
|
1375
|
-
type: "event",
|
|
1376
|
-
},
|
|
1377
1181
|
{
|
|
1378
1182
|
anonymous: false,
|
|
1379
1183
|
inputs: [
|
|
@@ -1178,202 +1178,6 @@ const _abi = [
|
|
|
1178
1178
|
name: "SelectorToFacetSet",
|
|
1179
1179
|
type: "event",
|
|
1180
1180
|
},
|
|
1181
|
-
{
|
|
1182
|
-
anonymous: false,
|
|
1183
|
-
inputs: [
|
|
1184
|
-
{
|
|
1185
|
-
indexed: true,
|
|
1186
|
-
internalType: "address",
|
|
1187
|
-
name: "caller",
|
|
1188
|
-
type: "address",
|
|
1189
|
-
},
|
|
1190
|
-
{
|
|
1191
|
-
indexed: true,
|
|
1192
|
-
internalType: "address",
|
|
1193
|
-
name: "market",
|
|
1194
|
-
type: "address",
|
|
1195
|
-
},
|
|
1196
|
-
{
|
|
1197
|
-
indexed: true,
|
|
1198
|
-
internalType: "address",
|
|
1199
|
-
name: "receiver",
|
|
1200
|
-
type: "address",
|
|
1201
|
-
},
|
|
1202
|
-
{
|
|
1203
|
-
indexed: false,
|
|
1204
|
-
internalType: "uint256",
|
|
1205
|
-
name: "maxPtIn",
|
|
1206
|
-
type: "uint256",
|
|
1207
|
-
},
|
|
1208
|
-
{
|
|
1209
|
-
indexed: false,
|
|
1210
|
-
internalType: "uint256",
|
|
1211
|
-
name: "netSyOut",
|
|
1212
|
-
type: "uint256",
|
|
1213
|
-
},
|
|
1214
|
-
{
|
|
1215
|
-
indexed: false,
|
|
1216
|
-
internalType: "uint256",
|
|
1217
|
-
name: "netPtReturned",
|
|
1218
|
-
type: "uint256",
|
|
1219
|
-
},
|
|
1220
|
-
],
|
|
1221
|
-
name: "SwapMaxPtForSyLimitOnly",
|
|
1222
|
-
type: "event",
|
|
1223
|
-
},
|
|
1224
|
-
{
|
|
1225
|
-
anonymous: false,
|
|
1226
|
-
inputs: [
|
|
1227
|
-
{
|
|
1228
|
-
indexed: true,
|
|
1229
|
-
internalType: "address",
|
|
1230
|
-
name: "caller",
|
|
1231
|
-
type: "address",
|
|
1232
|
-
},
|
|
1233
|
-
{
|
|
1234
|
-
indexed: true,
|
|
1235
|
-
internalType: "address",
|
|
1236
|
-
name: "market",
|
|
1237
|
-
type: "address",
|
|
1238
|
-
},
|
|
1239
|
-
{
|
|
1240
|
-
indexed: true,
|
|
1241
|
-
internalType: "address",
|
|
1242
|
-
name: "token",
|
|
1243
|
-
type: "address",
|
|
1244
|
-
},
|
|
1245
|
-
{
|
|
1246
|
-
indexed: false,
|
|
1247
|
-
internalType: "address",
|
|
1248
|
-
name: "receiver",
|
|
1249
|
-
type: "address",
|
|
1250
|
-
},
|
|
1251
|
-
{
|
|
1252
|
-
indexed: false,
|
|
1253
|
-
internalType: "uint256",
|
|
1254
|
-
name: "maxPtIn",
|
|
1255
|
-
type: "uint256",
|
|
1256
|
-
},
|
|
1257
|
-
{
|
|
1258
|
-
indexed: false,
|
|
1259
|
-
internalType: "uint256",
|
|
1260
|
-
name: "netTokenOut",
|
|
1261
|
-
type: "uint256",
|
|
1262
|
-
},
|
|
1263
|
-
{
|
|
1264
|
-
indexed: false,
|
|
1265
|
-
internalType: "uint256",
|
|
1266
|
-
name: "netSyInterm",
|
|
1267
|
-
type: "uint256",
|
|
1268
|
-
},
|
|
1269
|
-
{
|
|
1270
|
-
indexed: false,
|
|
1271
|
-
internalType: "uint256",
|
|
1272
|
-
name: "netPtReturned",
|
|
1273
|
-
type: "uint256",
|
|
1274
|
-
},
|
|
1275
|
-
],
|
|
1276
|
-
name: "SwapMaxPtForTokenLimitOnly",
|
|
1277
|
-
type: "event",
|
|
1278
|
-
},
|
|
1279
|
-
{
|
|
1280
|
-
anonymous: false,
|
|
1281
|
-
inputs: [
|
|
1282
|
-
{
|
|
1283
|
-
indexed: true,
|
|
1284
|
-
internalType: "address",
|
|
1285
|
-
name: "caller",
|
|
1286
|
-
type: "address",
|
|
1287
|
-
},
|
|
1288
|
-
{
|
|
1289
|
-
indexed: true,
|
|
1290
|
-
internalType: "address",
|
|
1291
|
-
name: "market",
|
|
1292
|
-
type: "address",
|
|
1293
|
-
},
|
|
1294
|
-
{
|
|
1295
|
-
indexed: true,
|
|
1296
|
-
internalType: "address",
|
|
1297
|
-
name: "receiver",
|
|
1298
|
-
type: "address",
|
|
1299
|
-
},
|
|
1300
|
-
{
|
|
1301
|
-
indexed: false,
|
|
1302
|
-
internalType: "uint256",
|
|
1303
|
-
name: "maxSyIn",
|
|
1304
|
-
type: "uint256",
|
|
1305
|
-
},
|
|
1306
|
-
{
|
|
1307
|
-
indexed: false,
|
|
1308
|
-
internalType: "uint256",
|
|
1309
|
-
name: "netYtOut",
|
|
1310
|
-
type: "uint256",
|
|
1311
|
-
},
|
|
1312
|
-
{
|
|
1313
|
-
indexed: false,
|
|
1314
|
-
internalType: "uint256",
|
|
1315
|
-
name: "netSyReturned",
|
|
1316
|
-
type: "uint256",
|
|
1317
|
-
},
|
|
1318
|
-
],
|
|
1319
|
-
name: "SwapMaxSyForYtLimitOnly",
|
|
1320
|
-
type: "event",
|
|
1321
|
-
},
|
|
1322
|
-
{
|
|
1323
|
-
anonymous: false,
|
|
1324
|
-
inputs: [
|
|
1325
|
-
{
|
|
1326
|
-
indexed: true,
|
|
1327
|
-
internalType: "address",
|
|
1328
|
-
name: "caller",
|
|
1329
|
-
type: "address",
|
|
1330
|
-
},
|
|
1331
|
-
{
|
|
1332
|
-
indexed: true,
|
|
1333
|
-
internalType: "address",
|
|
1334
|
-
name: "market",
|
|
1335
|
-
type: "address",
|
|
1336
|
-
},
|
|
1337
|
-
{
|
|
1338
|
-
indexed: true,
|
|
1339
|
-
internalType: "address",
|
|
1340
|
-
name: "token",
|
|
1341
|
-
type: "address",
|
|
1342
|
-
},
|
|
1343
|
-
{
|
|
1344
|
-
indexed: false,
|
|
1345
|
-
internalType: "address",
|
|
1346
|
-
name: "receiver",
|
|
1347
|
-
type: "address",
|
|
1348
|
-
},
|
|
1349
|
-
{
|
|
1350
|
-
indexed: false,
|
|
1351
|
-
internalType: "uint256",
|
|
1352
|
-
name: "maxTokenIn",
|
|
1353
|
-
type: "uint256",
|
|
1354
|
-
},
|
|
1355
|
-
{
|
|
1356
|
-
indexed: false,
|
|
1357
|
-
internalType: "uint256",
|
|
1358
|
-
name: "netYtOut",
|
|
1359
|
-
type: "uint256",
|
|
1360
|
-
},
|
|
1361
|
-
{
|
|
1362
|
-
indexed: false,
|
|
1363
|
-
internalType: "uint256",
|
|
1364
|
-
name: "netSyInterm",
|
|
1365
|
-
type: "uint256",
|
|
1366
|
-
},
|
|
1367
|
-
{
|
|
1368
|
-
indexed: false,
|
|
1369
|
-
internalType: "uint256",
|
|
1370
|
-
name: "netSyReturned",
|
|
1371
|
-
type: "uint256",
|
|
1372
|
-
},
|
|
1373
|
-
],
|
|
1374
|
-
name: "SwapMaxTokenForYtLimitOnly",
|
|
1375
|
-
type: "event",
|
|
1376
|
-
},
|
|
1377
1181
|
{
|
|
1378
1182
|
anonymous: false,
|
|
1379
1183
|
inputs: [
|
|
@@ -3056,6 +2860,84 @@ const _abi = [
|
|
|
3056
2860
|
stateMutability: "payable",
|
|
3057
2861
|
type: "function",
|
|
3058
2862
|
},
|
|
2863
|
+
{
|
|
2864
|
+
inputs: [
|
|
2865
|
+
{
|
|
2866
|
+
internalType: "address",
|
|
2867
|
+
name: "receiver",
|
|
2868
|
+
type: "address",
|
|
2869
|
+
},
|
|
2870
|
+
{
|
|
2871
|
+
internalType: "uint256",
|
|
2872
|
+
name: "minTokenOut",
|
|
2873
|
+
type: "uint256",
|
|
2874
|
+
},
|
|
2875
|
+
{
|
|
2876
|
+
components: [
|
|
2877
|
+
{
|
|
2878
|
+
internalType: "address",
|
|
2879
|
+
name: "tokenIn",
|
|
2880
|
+
type: "address",
|
|
2881
|
+
},
|
|
2882
|
+
{
|
|
2883
|
+
internalType: "uint256",
|
|
2884
|
+
name: "netTokenIn",
|
|
2885
|
+
type: "uint256",
|
|
2886
|
+
},
|
|
2887
|
+
{
|
|
2888
|
+
internalType: "address",
|
|
2889
|
+
name: "tokenMintSy",
|
|
2890
|
+
type: "address",
|
|
2891
|
+
},
|
|
2892
|
+
{
|
|
2893
|
+
internalType: "address",
|
|
2894
|
+
name: "pendleSwap",
|
|
2895
|
+
type: "address",
|
|
2896
|
+
},
|
|
2897
|
+
{
|
|
2898
|
+
components: [
|
|
2899
|
+
{
|
|
2900
|
+
internalType: "enum SwapType",
|
|
2901
|
+
name: "swapType",
|
|
2902
|
+
type: "uint8",
|
|
2903
|
+
},
|
|
2904
|
+
{
|
|
2905
|
+
internalType: "address",
|
|
2906
|
+
name: "extRouter",
|
|
2907
|
+
type: "address",
|
|
2908
|
+
},
|
|
2909
|
+
{
|
|
2910
|
+
internalType: "bytes",
|
|
2911
|
+
name: "extCalldata",
|
|
2912
|
+
type: "bytes",
|
|
2913
|
+
},
|
|
2914
|
+
{
|
|
2915
|
+
internalType: "bool",
|
|
2916
|
+
name: "needScale",
|
|
2917
|
+
type: "bool",
|
|
2918
|
+
},
|
|
2919
|
+
],
|
|
2920
|
+
internalType: "struct SwapData",
|
|
2921
|
+
name: "swapData",
|
|
2922
|
+
type: "tuple",
|
|
2923
|
+
},
|
|
2924
|
+
],
|
|
2925
|
+
internalType: "struct TokenInput",
|
|
2926
|
+
name: "inp",
|
|
2927
|
+
type: "tuple",
|
|
2928
|
+
},
|
|
2929
|
+
],
|
|
2930
|
+
name: "swapTokenToToken",
|
|
2931
|
+
outputs: [
|
|
2932
|
+
{
|
|
2933
|
+
internalType: "uint256",
|
|
2934
|
+
name: "netTokenOut",
|
|
2935
|
+
type: "uint256",
|
|
2936
|
+
},
|
|
2937
|
+
],
|
|
2938
|
+
stateMutability: "payable",
|
|
2939
|
+
type: "function",
|
|
2940
|
+
},
|
|
3059
2941
|
{
|
|
3060
2942
|
inputs: [
|
|
3061
2943
|
{
|