@pendle/core-v2 5.2.0-beta-4 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +67 -23
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.json +19 -6
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithoutPermitUpg.sol/SYBaseWithoutPermitUpg.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithoutPermitUpg.sol/{SYBaseUpg.json → SYBaseWithoutPermitUpg.json} +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleAaveV3WithRewardsSYUpg.sol/PendleAaveV3WithRewardsSYUpg.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleAaveV3WithRewardsSYUpg.sol/PendleAaveV3WithRewardsSYUpg.json +1169 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleStkGHOSY.sol/PendleStkGHOSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleStkGHOSY.sol/PendleStkGHOSY.json +1160 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkReceiver.sol/PendleChainlinkReceiver.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkReceiver.sol/PendleChainlinkReceiver.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkRelayer.sol/PendleChainlinkRelayer.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkRelayer.sol/PendleChainlinkRelayer.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Mantle/PendleCMETHSY.sol/PendleCMETHSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Mantle/PendleCMETHSY.sol/PendleCMETHSY.json +1049 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Silo/PendleSiloWithIncentiveNonBorrowableSY.sol/PendleSiloWithIncentiveNonBorrowableSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Silo/PendleSiloWithIncentiveNonBorrowableSY.sol/PendleSiloWithIncentiveNonBorrowableSY.json +1222 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Solv/PendleSolvBTCBBNBaseSYUpg.sol/PendleSolvBTCBBNBaseSYUpg.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Solv/PendleSolvBTCBBNBaseSYUpg.sol/PendleSolvBTCBBNBaseSYUpg.json +1072 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Solv/PendleSolvHelperBase.sol/PendleSolvHelperBase.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Solv/PendleSolvHelperBase.sol/PendleSolvHelperBase.json +115 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zerolend/PendleZerolendEBTCSYUpg.sol/PendleZerolendEBTCSYUpg.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zerolend/PendleZerolendEBTCSYUpg.sol/PendleZerolendEBTCSYUpg.json +1337 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zerolend/PendleZerolendLBTCSYUpg.sol/PendleZerolendLBTCSYUpg.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zerolend/PendleZerolendLBTCSYUpg.sol/PendleZerolendLBTCSYUpg.json +1226 -0
- package/build/artifacts/contracts/interfaces/AaveV3/IAaveStkGHO.sol/IAaveStkGHO.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/AaveV3/IAaveStkGHO.sol/IAaveStkGHO.json +116 -0
- package/build/artifacts/contracts/interfaces/Angle/IAngleDistributor.sol/IAngleDistributor.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Angle/IAngleDistributor.sol/IAngleDistributor.json +39 -0
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.json +66 -0
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
- 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/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +66 -0
- package/build/artifacts/contracts/interfaces/Zerolend/IZerolendPool.sol/IZerolendPool.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Zerolend/IZerolendPool.sol/IZerolendPool.json +37 -0
- package/build/artifacts/contracts/interfaces/Zerolend/IZerolendZ0Token.sol/IZerolendZ0Token.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Zerolend/IZerolendZ0Token.sol/IZerolendZ0Token.json +24 -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/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.json +27 -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 +68 -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 -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/oracles/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/{internal/PendleBoringOneracle.sol → PendleBoringOneracle.sol}/PendleBoringOneracle.json +3 -3
- package/build/artifacts/contracts/oracles/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/{internal/PendleBoringSolvBTCOneracle.sol → PendleBoringSolvBTCOneracle.sol}/PendleBoringSolvBTCOneracle.json +3 -3
- package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/{PtYtLpOracle/PendleLpOracleLib.sol → PendleLpOracleLib.sol}/PendleLpOracleLib.json +3 -3
- package/build/artifacts/contracts/oracles/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/{PtYtLpOracle/PendlePYLpOracle.sol → PendlePYLpOracle.sol}/PendlePYLpOracle.json +3 -3
- package/build/artifacts/contracts/oracles/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/{PtYtLpOracle/PendlePYOracleLib.sol → PendlePYOracleLib.sol}/PendlePYOracleLib.json +3 -3
- package/build/artifacts/contracts/oracles/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/{internal/PendleRedStoneRateOracleAdapter.sol → PendleRedStoneRateOracleAdapter.sol}/PendleRedStoneRateOracleAdapter.json +3 -3
- package/build/artifacts/contracts/oracles/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/{internal/PendleSparkLinearDiscountOracle.sol → PendleSparkLinearDiscountOracle.sol}/PTExpiry.json +1 -1
- package/build/artifacts/contracts/oracles/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/{internal/PendleSparkLinearDiscountOracle.sol → PendleSparkLinearDiscountOracle.sol}/PendleSparkLinearDiscountOracle.json +3 -3
- package/build/artifacts/contracts/oracles/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/{PtYtLpOracle/samples → samples}/BoringLpGlpOracle.sol/BoringLpGlpOracle.json +3 -3
- package/build/artifacts/contracts/oracles/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/{PtYtLpOracle/samples → samples}/BoringLpSeller.sol/BoringLpSeller.json +1 -1
- package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/{PtYtLpOracle/samples → samples}/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +3 -3
- package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/{PtYtLpOracle/samples → samples}/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +3 -3
- package/build/artifacts/contracts/oracles/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/{PtYtLpOracle/samples → samples}/BoringPtSeller.sol/BoringPtSeller.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -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/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.json +65 -0
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.json +82 -0
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +67 -2
- package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +16 -10
- package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +27 -6
- package/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +3 -2
- package/contracts/core/StandardizedYield/SYBaseWithoutPermitUpg.sol +7 -1
- package/contracts/core/StandardizedYield/implementations/AaveV3/{PendleAaveV3WithRewardsSY.sol → PendleAaveV3WithRewardsSYUpg.sol} +27 -45
- package/contracts/core/StandardizedYield/implementations/AaveV3/PendleStkGHOSY.sol +130 -0
- package/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol +1 -2
- package/contracts/core/StandardizedYield/implementations/Mantle/PendleCMETHSY.sol +82 -0
- package/contracts/core/StandardizedYield/implementations/Silo/PendleSiloWithIncentiveNonBorrowableSY.sol +154 -0
- package/contracts/core/StandardizedYield/implementations/Solv/PendleSolvBTCBBNBaseSYUpg.sol +103 -0
- package/contracts/core/StandardizedYield/implementations/Solv/PendleSolvHelperBase.sol +47 -0
- package/contracts/core/StandardizedYield/implementations/Zerolend/PendleZerolendEBTCSYUpg.sol +101 -0
- package/contracts/core/StandardizedYield/implementations/Zerolend/PendleZerolendLBTCSYUpg.sol +32 -0
- package/contracts/interfaces/AaveV3/IAaveStkGHO.sol +17 -0
- package/contracts/interfaces/Angle/IAngleDistributor.sol +12 -0
- package/contracts/interfaces/IPActionMarketCoreStatic.sol +4 -0
- package/contracts/interfaces/Zerolend/IZerolendPool.sol +31 -0
- package/contracts/interfaces/Zerolend/IZerolendZ0Token.sol +6 -0
- package/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol +5 -0
- package/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol +1 -1
- package/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol +1 -1
- package/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol +10 -4
- package/contracts/oracles/{internal/PendleBoringOneracle.sol → PendleBoringOneracle.sol} +2 -2
- package/contracts/oracles/{internal/PendleBoringSolvBTCOneracle.sol → PendleBoringSolvBTCOneracle.sol} +2 -2
- package/contracts/oracles/{PtYtLpOracle/PendlePYLpOracle.sol → PendlePYLpOracle.sol} +2 -2
- package/contracts/oracles/{PtYtLpOracle/PendlePYOracleLib.sol → PendlePYOracleLib.sol} +2 -2
- package/contracts/oracles/{internal/PendleRedStoneRateOracleAdapter.sol → PendleRedStoneRateOracleAdapter.sol} +3 -3
- package/contracts/oracles/{PtYtLpOracle/samples → samples}/BoringLpGlpOracle.sol +3 -3
- package/contracts/oracles/{PtYtLpOracle/samples → samples}/BoringLpSeller.sol +1 -1
- package/contracts/oracles/{PtYtLpOracle/samples → samples}/BoringPYUsdChainlinkAssetOracle.sol +3 -3
- package/contracts/oracles/{PtYtLpOracle/samples → samples}/BoringPYUsdChainlinkSYOracle.sol +3 -3
- package/contracts/oracles/{PtYtLpOracle/samples → samples}/BoringPtSeller.sol +1 -1
- package/contracts/router/swap-aggregator/IPSwapAggregator.sol +5 -1
- package/contracts/router/swap-aggregator/PendleSwap.sol +52 -0
- package/deployments/1-core.json +1 -1
- package/deployments/1-markets/AGETH-MAINNET-JUN2025.json +14 -0
- package/deployments/1-markets/PUFETH-MAINNET-JUN2025.json +14 -0
- package/deployments/1-markets/RSETH-MAINNET-JUN2025.json +14 -0
- package/deployments/1-markets/RSWETH-MAINNET-JUN2025.json +14 -0
- package/deployments/1-markets/STKGHO-MAINNET-APR2025.json +14 -0
- package/deployments/1-markets/SUSDE-MAINNET-MAY2025.json +14 -0
- package/deployments/1-markets/UNIETH-MAINNET-JUN2025.json +14 -0
- package/deployments/1-markets/USD0++-MAINNET-JAN2025.json +14 -0
- package/deployments/1-markets/WEETH-MAINNET-JUN2025.json +14 -0
- package/deployments/1-markets/ZEROLEND-EBTC-MAINNET-MAR2025.json +14 -0
- package/deployments/10-core.json +1 -1
- package/deployments/42161-core.json +1 -1
- package/deployments/42161-markets/DOLOMITE-USDC-ARBITRUM-JUN2025.json +14 -0
- package/deployments/42161-markets/DOLOMITE-WBTC-ARBITRUM-JUN2025.json +14 -0
- package/deployments/42161-markets/RSETH-ARBITRUM-JUN2025.json +14 -0
- package/deployments/42161-markets/SPSILO-ARBITRUM-MAR2025.json +14 -0
- package/deployments/42161-markets/UNIETH-ARBITRUM-JUN2025.json +14 -0
- package/deployments/42161-markets/WEETH-ARBITRUM-JUN2025.json +14 -0
- package/deployments/5000-core.json +1 -1
- package/deployments/5000-markets/CMETH-MANTLE-FEB2025.json +14 -0
- package/deployments/56-core.json +2 -2
- package/deployments/56-markets/VENUS-BNB-BSC-JUN2025.json +14 -0
- package/deployments/8453-core.json +41 -0
- package/deployments/8453-offchain-helper.json +6 -0
- package/package.json +1 -1
- package/typechain-types/ActionMarketCoreStatic.ts +68 -0
- package/typechain-types/ActionSwapLimitV3.ts +1667 -0
- package/typechain-types/IPActionMarketCoreStatic.ts +68 -0
- package/typechain-types/IPActionSwapLimitV3.ts +1667 -0
- package/typechain-types/IPActionSwapLimitV3Events.ts +207 -0
- package/typechain-types/IPChainlinkOracleFactory.ts +6 -9
- package/typechain-types/IPRouterStatic.ts +34 -0
- package/typechain-types/IPSwapAggregator.ts +64 -3
- package/typechain-types/IZerolendPool.ts +111 -0
- package/typechain-types/IZerolendZ0Token.ts +87 -0
- package/typechain-types/PendleAaveV3WithRewardsSYUpg.ts +1498 -0
- package/typechain-types/PendleChainlinkOracle.ts +16 -16
- package/typechain-types/PendleChainlinkOracleFactory.ts +130 -64
- package/typechain-types/PendleChainlinkOracleWithQuote.ts +32 -73
- package/typechain-types/PendleSiloWithIncentiveNonBorrowableSY.ts +1543 -0
- package/typechain-types/PendleSolvBTCBBNBaseSYUpg.ts +1409 -0
- package/typechain-types/PendleSolvHelperBase.ts +220 -0
- package/typechain-types/PendleSwap.ts +64 -3
- package/typechain-types/PendleVotingControllerUpg.ts +135 -43
- package/typechain-types/PendleZerolendEBTCSYUpg.ts +1754 -0
- package/typechain-types/PendleZerolendLBTCSYUpg.ts +1598 -0
- package/typechain-types/VotingControllerStorageUpg.ts +34 -15
- package/typechain-types/factories/ActionAddRemoveLiqV3__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 +67 -1
- package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSimple__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapLimitV3__factory.ts +2691 -0
- package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
- 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/IPActionMarketCoreStatic__factory.ts +66 -0
- package/typechain-types/factories/IPActionSwapLimitV3Events__factory.ts +226 -0
- package/typechain-types/factories/IPActionSwapLimitV3__factory.ts +2653 -0
- package/typechain-types/factories/IPChainlinkOracleFactory__factory.ts +1 -7
- package/typechain-types/factories/IPRouterStatic__factory.ts +66 -0
- package/typechain-types/factories/IPSwapAggregator__factory.ts +65 -0
- package/typechain-types/factories/IZerolendPool__factory.ts +49 -0
- package/typechain-types/factories/IZerolendZ0Token__factory.ts +39 -0
- package/typechain-types/factories/PendleAaveV3WithRewardsSYUpg__factory.ts +1246 -0
- 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 +65 -38
- package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +14 -54
- package/typechain-types/factories/PendleChainlinkOracle__factory.ts +7 -7
- package/typechain-types/factories/PendleChainlinkReceiver__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkRelayer__factory.ts +1 -1
- package/typechain-types/factories/PendleGlpSY__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__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/PendleSiloWithIncentiveNonBorrowableSY__factory.ts +1317 -0
- package/typechain-types/factories/PendleSolvBTCBBNBaseSYUpg__factory.ts +1129 -0
- package/typechain-types/factories/PendleSolvHelperBase__factory.ts +172 -0
- package/typechain-types/factories/PendleSparkLinearDiscountOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleStkGHOSY__factory.ts +1 -1
- package/typechain-types/factories/PendleSwap__factory.ts +66 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +66 -22
- package/typechain-types/factories/PendleZerolendEBTCSYUpg__factory.ts +1394 -0
- package/typechain-types/factories/PendleZerolendLBTCSYUpg__factory.ts +1283 -0
- package/typechain-types/factories/Reflector__factory.ts +1 -1
- package/typechain-types/factories/SDKErrorsDirectory__factory.ts +26 -1
- package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +19 -6
- package/typechain-types/hardhat.d.ts +125 -80
- package/typechain-types/index.ts +30 -18
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithoutPermitUpg.sol/SYBaseUpg.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleAaveV3WithRewardsSY.sol/PendleAaveV3WithRewardsSY.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleAaveV3WithRewardsSY.sol/PendleAaveV3WithRewardsSY.json +0 -1198
- package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.json +0 -122
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.json +0 -97
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.json +0 -262
- package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.json +0 -10
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.json +0 -274
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleBase.sol/PendleChainlinkOracleBase.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleBase.sol/PendleChainlinkOracleBase.json +0 -253
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.json +0 -316
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.json +0 -341
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +0 -4
- package/contracts/interfaces/IPChainlinkOracle.sol +0 -15
- package/contracts/interfaces/IPChainlinkOracleFactory.sol +0 -23
- package/contracts/interfaces/IPChainlinkOracleWithQuote.sol +0 -8
- package/contracts/offchain-helpers/MarketExchangeRateLib.sol +0 -32
- package/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol +0 -40
- package/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleBase.sol +0 -129
- package/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol +0 -117
- package/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol +0 -80
- /package/contracts/oracles/{PtYtLpOracle/PendleLpOracleLib.sol → PendleLpOracleLib.sol} +0 -0
- /package/contracts/oracles/{internal/PendleSparkLinearDiscountOracle.sol → PendleSparkLinearDiscountOracle.sol} +0 -0
|
@@ -0,0 +1,2691 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
+
import type {
|
|
7
|
+
ActionSwapLimitV3,
|
|
8
|
+
ActionSwapLimitV3Interface,
|
|
9
|
+
} from "../ActionSwapLimitV3";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
anonymous: false,
|
|
14
|
+
inputs: [
|
|
15
|
+
{
|
|
16
|
+
indexed: true,
|
|
17
|
+
internalType: "address",
|
|
18
|
+
name: "caller",
|
|
19
|
+
type: "address",
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
indexed: true,
|
|
23
|
+
internalType: "address",
|
|
24
|
+
name: "market",
|
|
25
|
+
type: "address",
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
indexed: true,
|
|
29
|
+
internalType: "address",
|
|
30
|
+
name: "receiver",
|
|
31
|
+
type: "address",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
indexed: false,
|
|
35
|
+
internalType: "uint256",
|
|
36
|
+
name: "netSyUsed",
|
|
37
|
+
type: "uint256",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
indexed: false,
|
|
41
|
+
internalType: "uint256",
|
|
42
|
+
name: "netPtUsed",
|
|
43
|
+
type: "uint256",
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
indexed: false,
|
|
47
|
+
internalType: "uint256",
|
|
48
|
+
name: "netLpOut",
|
|
49
|
+
type: "uint256",
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
name: "AddLiquidityDualSyAndPt",
|
|
53
|
+
type: "event",
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
anonymous: false,
|
|
57
|
+
inputs: [
|
|
58
|
+
{
|
|
59
|
+
indexed: true,
|
|
60
|
+
internalType: "address",
|
|
61
|
+
name: "caller",
|
|
62
|
+
type: "address",
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
indexed: true,
|
|
66
|
+
internalType: "address",
|
|
67
|
+
name: "market",
|
|
68
|
+
type: "address",
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
indexed: true,
|
|
72
|
+
internalType: "address",
|
|
73
|
+
name: "tokenIn",
|
|
74
|
+
type: "address",
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
indexed: false,
|
|
78
|
+
internalType: "address",
|
|
79
|
+
name: "receiver",
|
|
80
|
+
type: "address",
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
indexed: false,
|
|
84
|
+
internalType: "uint256",
|
|
85
|
+
name: "netTokenUsed",
|
|
86
|
+
type: "uint256",
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
indexed: false,
|
|
90
|
+
internalType: "uint256",
|
|
91
|
+
name: "netPtUsed",
|
|
92
|
+
type: "uint256",
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
indexed: false,
|
|
96
|
+
internalType: "uint256",
|
|
97
|
+
name: "netLpOut",
|
|
98
|
+
type: "uint256",
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
indexed: false,
|
|
102
|
+
internalType: "uint256",
|
|
103
|
+
name: "netSyInterm",
|
|
104
|
+
type: "uint256",
|
|
105
|
+
},
|
|
106
|
+
],
|
|
107
|
+
name: "AddLiquidityDualTokenAndPt",
|
|
108
|
+
type: "event",
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
anonymous: false,
|
|
112
|
+
inputs: [
|
|
113
|
+
{
|
|
114
|
+
indexed: true,
|
|
115
|
+
internalType: "address",
|
|
116
|
+
name: "caller",
|
|
117
|
+
type: "address",
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
indexed: true,
|
|
121
|
+
internalType: "address",
|
|
122
|
+
name: "market",
|
|
123
|
+
type: "address",
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
indexed: true,
|
|
127
|
+
internalType: "address",
|
|
128
|
+
name: "receiver",
|
|
129
|
+
type: "address",
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
indexed: false,
|
|
133
|
+
internalType: "uint256",
|
|
134
|
+
name: "netPtIn",
|
|
135
|
+
type: "uint256",
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
indexed: false,
|
|
139
|
+
internalType: "uint256",
|
|
140
|
+
name: "netLpOut",
|
|
141
|
+
type: "uint256",
|
|
142
|
+
},
|
|
143
|
+
],
|
|
144
|
+
name: "AddLiquiditySinglePt",
|
|
145
|
+
type: "event",
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
anonymous: false,
|
|
149
|
+
inputs: [
|
|
150
|
+
{
|
|
151
|
+
indexed: true,
|
|
152
|
+
internalType: "address",
|
|
153
|
+
name: "caller",
|
|
154
|
+
type: "address",
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
indexed: true,
|
|
158
|
+
internalType: "address",
|
|
159
|
+
name: "market",
|
|
160
|
+
type: "address",
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
indexed: true,
|
|
164
|
+
internalType: "address",
|
|
165
|
+
name: "receiver",
|
|
166
|
+
type: "address",
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
indexed: false,
|
|
170
|
+
internalType: "uint256",
|
|
171
|
+
name: "netSyIn",
|
|
172
|
+
type: "uint256",
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
indexed: false,
|
|
176
|
+
internalType: "uint256",
|
|
177
|
+
name: "netLpOut",
|
|
178
|
+
type: "uint256",
|
|
179
|
+
},
|
|
180
|
+
],
|
|
181
|
+
name: "AddLiquiditySingleSy",
|
|
182
|
+
type: "event",
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
anonymous: false,
|
|
186
|
+
inputs: [
|
|
187
|
+
{
|
|
188
|
+
indexed: true,
|
|
189
|
+
internalType: "address",
|
|
190
|
+
name: "caller",
|
|
191
|
+
type: "address",
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
indexed: true,
|
|
195
|
+
internalType: "address",
|
|
196
|
+
name: "market",
|
|
197
|
+
type: "address",
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
indexed: true,
|
|
201
|
+
internalType: "address",
|
|
202
|
+
name: "receiver",
|
|
203
|
+
type: "address",
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
indexed: false,
|
|
207
|
+
internalType: "uint256",
|
|
208
|
+
name: "netSyIn",
|
|
209
|
+
type: "uint256",
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
indexed: false,
|
|
213
|
+
internalType: "uint256",
|
|
214
|
+
name: "netSyMintPy",
|
|
215
|
+
type: "uint256",
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
indexed: false,
|
|
219
|
+
internalType: "uint256",
|
|
220
|
+
name: "netLpOut",
|
|
221
|
+
type: "uint256",
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
indexed: false,
|
|
225
|
+
internalType: "uint256",
|
|
226
|
+
name: "netYtOut",
|
|
227
|
+
type: "uint256",
|
|
228
|
+
},
|
|
229
|
+
],
|
|
230
|
+
name: "AddLiquiditySingleSyKeepYt",
|
|
231
|
+
type: "event",
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
anonymous: false,
|
|
235
|
+
inputs: [
|
|
236
|
+
{
|
|
237
|
+
indexed: true,
|
|
238
|
+
internalType: "address",
|
|
239
|
+
name: "caller",
|
|
240
|
+
type: "address",
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
indexed: true,
|
|
244
|
+
internalType: "address",
|
|
245
|
+
name: "market",
|
|
246
|
+
type: "address",
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
indexed: true,
|
|
250
|
+
internalType: "address",
|
|
251
|
+
name: "token",
|
|
252
|
+
type: "address",
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
indexed: false,
|
|
256
|
+
internalType: "address",
|
|
257
|
+
name: "receiver",
|
|
258
|
+
type: "address",
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
indexed: false,
|
|
262
|
+
internalType: "uint256",
|
|
263
|
+
name: "netTokenIn",
|
|
264
|
+
type: "uint256",
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
indexed: false,
|
|
268
|
+
internalType: "uint256",
|
|
269
|
+
name: "netLpOut",
|
|
270
|
+
type: "uint256",
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
indexed: false,
|
|
274
|
+
internalType: "uint256",
|
|
275
|
+
name: "netSyInterm",
|
|
276
|
+
type: "uint256",
|
|
277
|
+
},
|
|
278
|
+
],
|
|
279
|
+
name: "AddLiquiditySingleToken",
|
|
280
|
+
type: "event",
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
anonymous: false,
|
|
284
|
+
inputs: [
|
|
285
|
+
{
|
|
286
|
+
indexed: true,
|
|
287
|
+
internalType: "address",
|
|
288
|
+
name: "caller",
|
|
289
|
+
type: "address",
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
indexed: true,
|
|
293
|
+
internalType: "address",
|
|
294
|
+
name: "market",
|
|
295
|
+
type: "address",
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
indexed: true,
|
|
299
|
+
internalType: "address",
|
|
300
|
+
name: "token",
|
|
301
|
+
type: "address",
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
indexed: false,
|
|
305
|
+
internalType: "address",
|
|
306
|
+
name: "receiver",
|
|
307
|
+
type: "address",
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
indexed: false,
|
|
311
|
+
internalType: "uint256",
|
|
312
|
+
name: "netTokenIn",
|
|
313
|
+
type: "uint256",
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
indexed: false,
|
|
317
|
+
internalType: "uint256",
|
|
318
|
+
name: "netLpOut",
|
|
319
|
+
type: "uint256",
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
indexed: false,
|
|
323
|
+
internalType: "uint256",
|
|
324
|
+
name: "netYtOut",
|
|
325
|
+
type: "uint256",
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
indexed: false,
|
|
329
|
+
internalType: "uint256",
|
|
330
|
+
name: "netSyMintPy",
|
|
331
|
+
type: "uint256",
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
indexed: false,
|
|
335
|
+
internalType: "uint256",
|
|
336
|
+
name: "netSyInterm",
|
|
337
|
+
type: "uint256",
|
|
338
|
+
},
|
|
339
|
+
],
|
|
340
|
+
name: "AddLiquiditySingleTokenKeepYt",
|
|
341
|
+
type: "event",
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
anonymous: false,
|
|
345
|
+
inputs: [
|
|
346
|
+
{
|
|
347
|
+
indexed: true,
|
|
348
|
+
internalType: "address",
|
|
349
|
+
name: "caller",
|
|
350
|
+
type: "address",
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
indexed: true,
|
|
354
|
+
internalType: "address",
|
|
355
|
+
name: "market",
|
|
356
|
+
type: "address",
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
indexed: true,
|
|
360
|
+
internalType: "address",
|
|
361
|
+
name: "receiver",
|
|
362
|
+
type: "address",
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
indexed: false,
|
|
366
|
+
internalType: "uint256",
|
|
367
|
+
name: "netLpIn",
|
|
368
|
+
type: "uint256",
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
components: [
|
|
372
|
+
{
|
|
373
|
+
internalType: "uint256",
|
|
374
|
+
name: "netPtFromRemove",
|
|
375
|
+
type: "uint256",
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
internalType: "uint256",
|
|
379
|
+
name: "netSyFromRemove",
|
|
380
|
+
type: "uint256",
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
internalType: "uint256",
|
|
384
|
+
name: "netPtRedeem",
|
|
385
|
+
type: "uint256",
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
internalType: "uint256",
|
|
389
|
+
name: "netSyFromRedeem",
|
|
390
|
+
type: "uint256",
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
internalType: "uint256",
|
|
394
|
+
name: "totalSyOut",
|
|
395
|
+
type: "uint256",
|
|
396
|
+
},
|
|
397
|
+
],
|
|
398
|
+
indexed: false,
|
|
399
|
+
internalType: "struct ExitPostExpReturnParams",
|
|
400
|
+
name: "params",
|
|
401
|
+
type: "tuple",
|
|
402
|
+
},
|
|
403
|
+
],
|
|
404
|
+
name: "ExitPostExpToSy",
|
|
405
|
+
type: "event",
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
anonymous: false,
|
|
409
|
+
inputs: [
|
|
410
|
+
{
|
|
411
|
+
indexed: true,
|
|
412
|
+
internalType: "address",
|
|
413
|
+
name: "caller",
|
|
414
|
+
type: "address",
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
indexed: true,
|
|
418
|
+
internalType: "address",
|
|
419
|
+
name: "market",
|
|
420
|
+
type: "address",
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
indexed: true,
|
|
424
|
+
internalType: "address",
|
|
425
|
+
name: "token",
|
|
426
|
+
type: "address",
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
indexed: false,
|
|
430
|
+
internalType: "address",
|
|
431
|
+
name: "receiver",
|
|
432
|
+
type: "address",
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
indexed: false,
|
|
436
|
+
internalType: "uint256",
|
|
437
|
+
name: "netLpIn",
|
|
438
|
+
type: "uint256",
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
indexed: false,
|
|
442
|
+
internalType: "uint256",
|
|
443
|
+
name: "totalTokenOut",
|
|
444
|
+
type: "uint256",
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
components: [
|
|
448
|
+
{
|
|
449
|
+
internalType: "uint256",
|
|
450
|
+
name: "netPtFromRemove",
|
|
451
|
+
type: "uint256",
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
internalType: "uint256",
|
|
455
|
+
name: "netSyFromRemove",
|
|
456
|
+
type: "uint256",
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
internalType: "uint256",
|
|
460
|
+
name: "netPtRedeem",
|
|
461
|
+
type: "uint256",
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
internalType: "uint256",
|
|
465
|
+
name: "netSyFromRedeem",
|
|
466
|
+
type: "uint256",
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
internalType: "uint256",
|
|
470
|
+
name: "totalSyOut",
|
|
471
|
+
type: "uint256",
|
|
472
|
+
},
|
|
473
|
+
],
|
|
474
|
+
indexed: false,
|
|
475
|
+
internalType: "struct ExitPostExpReturnParams",
|
|
476
|
+
name: "params",
|
|
477
|
+
type: "tuple",
|
|
478
|
+
},
|
|
479
|
+
],
|
|
480
|
+
name: "ExitPostExpToToken",
|
|
481
|
+
type: "event",
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
anonymous: false,
|
|
485
|
+
inputs: [
|
|
486
|
+
{
|
|
487
|
+
indexed: true,
|
|
488
|
+
internalType: "address",
|
|
489
|
+
name: "caller",
|
|
490
|
+
type: "address",
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
indexed: true,
|
|
494
|
+
internalType: "address",
|
|
495
|
+
name: "market",
|
|
496
|
+
type: "address",
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
indexed: true,
|
|
500
|
+
internalType: "address",
|
|
501
|
+
name: "receiver",
|
|
502
|
+
type: "address",
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
indexed: false,
|
|
506
|
+
internalType: "uint256",
|
|
507
|
+
name: "netLpIn",
|
|
508
|
+
type: "uint256",
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
components: [
|
|
512
|
+
{
|
|
513
|
+
internalType: "uint256",
|
|
514
|
+
name: "netPtFromRemove",
|
|
515
|
+
type: "uint256",
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
internalType: "uint256",
|
|
519
|
+
name: "netSyFromRemove",
|
|
520
|
+
type: "uint256",
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
internalType: "uint256",
|
|
524
|
+
name: "netPyRedeem",
|
|
525
|
+
type: "uint256",
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
internalType: "uint256",
|
|
529
|
+
name: "netSyFromRedeem",
|
|
530
|
+
type: "uint256",
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
internalType: "uint256",
|
|
534
|
+
name: "netPtSwap",
|
|
535
|
+
type: "uint256",
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
internalType: "uint256",
|
|
539
|
+
name: "netYtSwap",
|
|
540
|
+
type: "uint256",
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
internalType: "uint256",
|
|
544
|
+
name: "netSyFromSwap",
|
|
545
|
+
type: "uint256",
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
internalType: "uint256",
|
|
549
|
+
name: "netSyFee",
|
|
550
|
+
type: "uint256",
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
internalType: "uint256",
|
|
554
|
+
name: "totalSyOut",
|
|
555
|
+
type: "uint256",
|
|
556
|
+
},
|
|
557
|
+
],
|
|
558
|
+
indexed: false,
|
|
559
|
+
internalType: "struct ExitPreExpReturnParams",
|
|
560
|
+
name: "params",
|
|
561
|
+
type: "tuple",
|
|
562
|
+
},
|
|
563
|
+
],
|
|
564
|
+
name: "ExitPreExpToSy",
|
|
565
|
+
type: "event",
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
anonymous: false,
|
|
569
|
+
inputs: [
|
|
570
|
+
{
|
|
571
|
+
indexed: true,
|
|
572
|
+
internalType: "address",
|
|
573
|
+
name: "caller",
|
|
574
|
+
type: "address",
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
indexed: true,
|
|
578
|
+
internalType: "address",
|
|
579
|
+
name: "market",
|
|
580
|
+
type: "address",
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
indexed: true,
|
|
584
|
+
internalType: "address",
|
|
585
|
+
name: "token",
|
|
586
|
+
type: "address",
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
indexed: false,
|
|
590
|
+
internalType: "address",
|
|
591
|
+
name: "receiver",
|
|
592
|
+
type: "address",
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
indexed: false,
|
|
596
|
+
internalType: "uint256",
|
|
597
|
+
name: "netLpIn",
|
|
598
|
+
type: "uint256",
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
indexed: false,
|
|
602
|
+
internalType: "uint256",
|
|
603
|
+
name: "totalTokenOut",
|
|
604
|
+
type: "uint256",
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
components: [
|
|
608
|
+
{
|
|
609
|
+
internalType: "uint256",
|
|
610
|
+
name: "netPtFromRemove",
|
|
611
|
+
type: "uint256",
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
internalType: "uint256",
|
|
615
|
+
name: "netSyFromRemove",
|
|
616
|
+
type: "uint256",
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
internalType: "uint256",
|
|
620
|
+
name: "netPyRedeem",
|
|
621
|
+
type: "uint256",
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
internalType: "uint256",
|
|
625
|
+
name: "netSyFromRedeem",
|
|
626
|
+
type: "uint256",
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
internalType: "uint256",
|
|
630
|
+
name: "netPtSwap",
|
|
631
|
+
type: "uint256",
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
internalType: "uint256",
|
|
635
|
+
name: "netYtSwap",
|
|
636
|
+
type: "uint256",
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
internalType: "uint256",
|
|
640
|
+
name: "netSyFromSwap",
|
|
641
|
+
type: "uint256",
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
internalType: "uint256",
|
|
645
|
+
name: "netSyFee",
|
|
646
|
+
type: "uint256",
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
internalType: "uint256",
|
|
650
|
+
name: "totalSyOut",
|
|
651
|
+
type: "uint256",
|
|
652
|
+
},
|
|
653
|
+
],
|
|
654
|
+
indexed: false,
|
|
655
|
+
internalType: "struct ExitPreExpReturnParams",
|
|
656
|
+
name: "params",
|
|
657
|
+
type: "tuple",
|
|
658
|
+
},
|
|
659
|
+
],
|
|
660
|
+
name: "ExitPreExpToToken",
|
|
661
|
+
type: "event",
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
anonymous: false,
|
|
665
|
+
inputs: [
|
|
666
|
+
{
|
|
667
|
+
indexed: true,
|
|
668
|
+
internalType: "address",
|
|
669
|
+
name: "caller",
|
|
670
|
+
type: "address",
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
indexed: true,
|
|
674
|
+
internalType: "address",
|
|
675
|
+
name: "receiver",
|
|
676
|
+
type: "address",
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
indexed: true,
|
|
680
|
+
internalType: "address",
|
|
681
|
+
name: "YT",
|
|
682
|
+
type: "address",
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
indexed: false,
|
|
686
|
+
internalType: "uint256",
|
|
687
|
+
name: "netSyIn",
|
|
688
|
+
type: "uint256",
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
indexed: false,
|
|
692
|
+
internalType: "uint256",
|
|
693
|
+
name: "netPyOut",
|
|
694
|
+
type: "uint256",
|
|
695
|
+
},
|
|
696
|
+
],
|
|
697
|
+
name: "MintPyFromSy",
|
|
698
|
+
type: "event",
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
anonymous: false,
|
|
702
|
+
inputs: [
|
|
703
|
+
{
|
|
704
|
+
indexed: true,
|
|
705
|
+
internalType: "address",
|
|
706
|
+
name: "caller",
|
|
707
|
+
type: "address",
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
indexed: true,
|
|
711
|
+
internalType: "address",
|
|
712
|
+
name: "tokenIn",
|
|
713
|
+
type: "address",
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
indexed: true,
|
|
717
|
+
internalType: "address",
|
|
718
|
+
name: "YT",
|
|
719
|
+
type: "address",
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
indexed: false,
|
|
723
|
+
internalType: "address",
|
|
724
|
+
name: "receiver",
|
|
725
|
+
type: "address",
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
indexed: false,
|
|
729
|
+
internalType: "uint256",
|
|
730
|
+
name: "netTokenIn",
|
|
731
|
+
type: "uint256",
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
indexed: false,
|
|
735
|
+
internalType: "uint256",
|
|
736
|
+
name: "netPyOut",
|
|
737
|
+
type: "uint256",
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
indexed: false,
|
|
741
|
+
internalType: "uint256",
|
|
742
|
+
name: "netSyInterm",
|
|
743
|
+
type: "uint256",
|
|
744
|
+
},
|
|
745
|
+
],
|
|
746
|
+
name: "MintPyFromToken",
|
|
747
|
+
type: "event",
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
anonymous: false,
|
|
751
|
+
inputs: [
|
|
752
|
+
{
|
|
753
|
+
indexed: true,
|
|
754
|
+
internalType: "address",
|
|
755
|
+
name: "caller",
|
|
756
|
+
type: "address",
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
indexed: true,
|
|
760
|
+
internalType: "address",
|
|
761
|
+
name: "tokenIn",
|
|
762
|
+
type: "address",
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
indexed: true,
|
|
766
|
+
internalType: "address",
|
|
767
|
+
name: "SY",
|
|
768
|
+
type: "address",
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
indexed: false,
|
|
772
|
+
internalType: "address",
|
|
773
|
+
name: "receiver",
|
|
774
|
+
type: "address",
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
indexed: false,
|
|
778
|
+
internalType: "uint256",
|
|
779
|
+
name: "netTokenIn",
|
|
780
|
+
type: "uint256",
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
indexed: false,
|
|
784
|
+
internalType: "uint256",
|
|
785
|
+
name: "netSyOut",
|
|
786
|
+
type: "uint256",
|
|
787
|
+
},
|
|
788
|
+
],
|
|
789
|
+
name: "MintSyFromToken",
|
|
790
|
+
type: "event",
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
anonymous: false,
|
|
794
|
+
inputs: [
|
|
795
|
+
{
|
|
796
|
+
indexed: true,
|
|
797
|
+
internalType: "address",
|
|
798
|
+
name: "previousOwner",
|
|
799
|
+
type: "address",
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
indexed: true,
|
|
803
|
+
internalType: "address",
|
|
804
|
+
name: "newOwner",
|
|
805
|
+
type: "address",
|
|
806
|
+
},
|
|
807
|
+
],
|
|
808
|
+
name: "OwnershipTransferred",
|
|
809
|
+
type: "event",
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
anonymous: false,
|
|
813
|
+
inputs: [
|
|
814
|
+
{
|
|
815
|
+
indexed: true,
|
|
816
|
+
internalType: "address",
|
|
817
|
+
name: "caller",
|
|
818
|
+
type: "address",
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
indexed: true,
|
|
822
|
+
internalType: "address",
|
|
823
|
+
name: "receiver",
|
|
824
|
+
type: "address",
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
indexed: true,
|
|
828
|
+
internalType: "address",
|
|
829
|
+
name: "YT",
|
|
830
|
+
type: "address",
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
indexed: false,
|
|
834
|
+
internalType: "uint256",
|
|
835
|
+
name: "netPyIn",
|
|
836
|
+
type: "uint256",
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
indexed: false,
|
|
840
|
+
internalType: "uint256",
|
|
841
|
+
name: "netSyOut",
|
|
842
|
+
type: "uint256",
|
|
843
|
+
},
|
|
844
|
+
],
|
|
845
|
+
name: "RedeemPyToSy",
|
|
846
|
+
type: "event",
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
anonymous: false,
|
|
850
|
+
inputs: [
|
|
851
|
+
{
|
|
852
|
+
indexed: true,
|
|
853
|
+
internalType: "address",
|
|
854
|
+
name: "caller",
|
|
855
|
+
type: "address",
|
|
856
|
+
},
|
|
857
|
+
{
|
|
858
|
+
indexed: true,
|
|
859
|
+
internalType: "address",
|
|
860
|
+
name: "tokenOut",
|
|
861
|
+
type: "address",
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
indexed: true,
|
|
865
|
+
internalType: "address",
|
|
866
|
+
name: "YT",
|
|
867
|
+
type: "address",
|
|
868
|
+
},
|
|
869
|
+
{
|
|
870
|
+
indexed: false,
|
|
871
|
+
internalType: "address",
|
|
872
|
+
name: "receiver",
|
|
873
|
+
type: "address",
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
indexed: false,
|
|
877
|
+
internalType: "uint256",
|
|
878
|
+
name: "netPyIn",
|
|
879
|
+
type: "uint256",
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
indexed: false,
|
|
883
|
+
internalType: "uint256",
|
|
884
|
+
name: "netTokenOut",
|
|
885
|
+
type: "uint256",
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
indexed: false,
|
|
889
|
+
internalType: "uint256",
|
|
890
|
+
name: "netSyInterm",
|
|
891
|
+
type: "uint256",
|
|
892
|
+
},
|
|
893
|
+
],
|
|
894
|
+
name: "RedeemPyToToken",
|
|
895
|
+
type: "event",
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
anonymous: false,
|
|
899
|
+
inputs: [
|
|
900
|
+
{
|
|
901
|
+
indexed: true,
|
|
902
|
+
internalType: "address",
|
|
903
|
+
name: "caller",
|
|
904
|
+
type: "address",
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
indexed: true,
|
|
908
|
+
internalType: "address",
|
|
909
|
+
name: "tokenOut",
|
|
910
|
+
type: "address",
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
indexed: true,
|
|
914
|
+
internalType: "address",
|
|
915
|
+
name: "SY",
|
|
916
|
+
type: "address",
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
indexed: false,
|
|
920
|
+
internalType: "address",
|
|
921
|
+
name: "receiver",
|
|
922
|
+
type: "address",
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
indexed: false,
|
|
926
|
+
internalType: "uint256",
|
|
927
|
+
name: "netSyIn",
|
|
928
|
+
type: "uint256",
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
indexed: false,
|
|
932
|
+
internalType: "uint256",
|
|
933
|
+
name: "netTokenOut",
|
|
934
|
+
type: "uint256",
|
|
935
|
+
},
|
|
936
|
+
],
|
|
937
|
+
name: "RedeemSyToToken",
|
|
938
|
+
type: "event",
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
anonymous: false,
|
|
942
|
+
inputs: [
|
|
943
|
+
{
|
|
944
|
+
indexed: true,
|
|
945
|
+
internalType: "address",
|
|
946
|
+
name: "caller",
|
|
947
|
+
type: "address",
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
indexed: true,
|
|
951
|
+
internalType: "address",
|
|
952
|
+
name: "market",
|
|
953
|
+
type: "address",
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
indexed: true,
|
|
957
|
+
internalType: "address",
|
|
958
|
+
name: "receiver",
|
|
959
|
+
type: "address",
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
indexed: false,
|
|
963
|
+
internalType: "uint256",
|
|
964
|
+
name: "netLpToRemove",
|
|
965
|
+
type: "uint256",
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
indexed: false,
|
|
969
|
+
internalType: "uint256",
|
|
970
|
+
name: "netPtOut",
|
|
971
|
+
type: "uint256",
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
indexed: false,
|
|
975
|
+
internalType: "uint256",
|
|
976
|
+
name: "netSyOut",
|
|
977
|
+
type: "uint256",
|
|
978
|
+
},
|
|
979
|
+
],
|
|
980
|
+
name: "RemoveLiquidityDualSyAndPt",
|
|
981
|
+
type: "event",
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
anonymous: false,
|
|
985
|
+
inputs: [
|
|
986
|
+
{
|
|
987
|
+
indexed: true,
|
|
988
|
+
internalType: "address",
|
|
989
|
+
name: "caller",
|
|
990
|
+
type: "address",
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
indexed: true,
|
|
994
|
+
internalType: "address",
|
|
995
|
+
name: "market",
|
|
996
|
+
type: "address",
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
indexed: true,
|
|
1000
|
+
internalType: "address",
|
|
1001
|
+
name: "tokenOut",
|
|
1002
|
+
type: "address",
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
indexed: false,
|
|
1006
|
+
internalType: "address",
|
|
1007
|
+
name: "receiver",
|
|
1008
|
+
type: "address",
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
indexed: false,
|
|
1012
|
+
internalType: "uint256",
|
|
1013
|
+
name: "netLpToRemove",
|
|
1014
|
+
type: "uint256",
|
|
1015
|
+
},
|
|
1016
|
+
{
|
|
1017
|
+
indexed: false,
|
|
1018
|
+
internalType: "uint256",
|
|
1019
|
+
name: "netPtOut",
|
|
1020
|
+
type: "uint256",
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
indexed: false,
|
|
1024
|
+
internalType: "uint256",
|
|
1025
|
+
name: "netTokenOut",
|
|
1026
|
+
type: "uint256",
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
indexed: false,
|
|
1030
|
+
internalType: "uint256",
|
|
1031
|
+
name: "netSyInterm",
|
|
1032
|
+
type: "uint256",
|
|
1033
|
+
},
|
|
1034
|
+
],
|
|
1035
|
+
name: "RemoveLiquidityDualTokenAndPt",
|
|
1036
|
+
type: "event",
|
|
1037
|
+
},
|
|
1038
|
+
{
|
|
1039
|
+
anonymous: false,
|
|
1040
|
+
inputs: [
|
|
1041
|
+
{
|
|
1042
|
+
indexed: true,
|
|
1043
|
+
internalType: "address",
|
|
1044
|
+
name: "caller",
|
|
1045
|
+
type: "address",
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
indexed: true,
|
|
1049
|
+
internalType: "address",
|
|
1050
|
+
name: "market",
|
|
1051
|
+
type: "address",
|
|
1052
|
+
},
|
|
1053
|
+
{
|
|
1054
|
+
indexed: true,
|
|
1055
|
+
internalType: "address",
|
|
1056
|
+
name: "receiver",
|
|
1057
|
+
type: "address",
|
|
1058
|
+
},
|
|
1059
|
+
{
|
|
1060
|
+
indexed: false,
|
|
1061
|
+
internalType: "uint256",
|
|
1062
|
+
name: "netLpToRemove",
|
|
1063
|
+
type: "uint256",
|
|
1064
|
+
},
|
|
1065
|
+
{
|
|
1066
|
+
indexed: false,
|
|
1067
|
+
internalType: "uint256",
|
|
1068
|
+
name: "netPtOut",
|
|
1069
|
+
type: "uint256",
|
|
1070
|
+
},
|
|
1071
|
+
],
|
|
1072
|
+
name: "RemoveLiquiditySinglePt",
|
|
1073
|
+
type: "event",
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
anonymous: false,
|
|
1077
|
+
inputs: [
|
|
1078
|
+
{
|
|
1079
|
+
indexed: true,
|
|
1080
|
+
internalType: "address",
|
|
1081
|
+
name: "caller",
|
|
1082
|
+
type: "address",
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
indexed: true,
|
|
1086
|
+
internalType: "address",
|
|
1087
|
+
name: "market",
|
|
1088
|
+
type: "address",
|
|
1089
|
+
},
|
|
1090
|
+
{
|
|
1091
|
+
indexed: true,
|
|
1092
|
+
internalType: "address",
|
|
1093
|
+
name: "receiver",
|
|
1094
|
+
type: "address",
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
indexed: false,
|
|
1098
|
+
internalType: "uint256",
|
|
1099
|
+
name: "netLpToRemove",
|
|
1100
|
+
type: "uint256",
|
|
1101
|
+
},
|
|
1102
|
+
{
|
|
1103
|
+
indexed: false,
|
|
1104
|
+
internalType: "uint256",
|
|
1105
|
+
name: "netSyOut",
|
|
1106
|
+
type: "uint256",
|
|
1107
|
+
},
|
|
1108
|
+
],
|
|
1109
|
+
name: "RemoveLiquiditySingleSy",
|
|
1110
|
+
type: "event",
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
anonymous: false,
|
|
1114
|
+
inputs: [
|
|
1115
|
+
{
|
|
1116
|
+
indexed: true,
|
|
1117
|
+
internalType: "address",
|
|
1118
|
+
name: "caller",
|
|
1119
|
+
type: "address",
|
|
1120
|
+
},
|
|
1121
|
+
{
|
|
1122
|
+
indexed: true,
|
|
1123
|
+
internalType: "address",
|
|
1124
|
+
name: "market",
|
|
1125
|
+
type: "address",
|
|
1126
|
+
},
|
|
1127
|
+
{
|
|
1128
|
+
indexed: true,
|
|
1129
|
+
internalType: "address",
|
|
1130
|
+
name: "token",
|
|
1131
|
+
type: "address",
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
indexed: false,
|
|
1135
|
+
internalType: "address",
|
|
1136
|
+
name: "receiver",
|
|
1137
|
+
type: "address",
|
|
1138
|
+
},
|
|
1139
|
+
{
|
|
1140
|
+
indexed: false,
|
|
1141
|
+
internalType: "uint256",
|
|
1142
|
+
name: "netLpToRemove",
|
|
1143
|
+
type: "uint256",
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
indexed: false,
|
|
1147
|
+
internalType: "uint256",
|
|
1148
|
+
name: "netTokenOut",
|
|
1149
|
+
type: "uint256",
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
indexed: false,
|
|
1153
|
+
internalType: "uint256",
|
|
1154
|
+
name: "netSyInterm",
|
|
1155
|
+
type: "uint256",
|
|
1156
|
+
},
|
|
1157
|
+
],
|
|
1158
|
+
name: "RemoveLiquiditySingleToken",
|
|
1159
|
+
type: "event",
|
|
1160
|
+
},
|
|
1161
|
+
{
|
|
1162
|
+
anonymous: false,
|
|
1163
|
+
inputs: [
|
|
1164
|
+
{
|
|
1165
|
+
indexed: true,
|
|
1166
|
+
internalType: "bytes4",
|
|
1167
|
+
name: "selector",
|
|
1168
|
+
type: "bytes4",
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
indexed: true,
|
|
1172
|
+
internalType: "address",
|
|
1173
|
+
name: "facet",
|
|
1174
|
+
type: "address",
|
|
1175
|
+
},
|
|
1176
|
+
],
|
|
1177
|
+
name: "SelectorToFacetSet",
|
|
1178
|
+
type: "event",
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
anonymous: false,
|
|
1182
|
+
inputs: [
|
|
1183
|
+
{
|
|
1184
|
+
indexed: true,
|
|
1185
|
+
internalType: "address",
|
|
1186
|
+
name: "caller",
|
|
1187
|
+
type: "address",
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
indexed: true,
|
|
1191
|
+
internalType: "address",
|
|
1192
|
+
name: "market",
|
|
1193
|
+
type: "address",
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
indexed: true,
|
|
1197
|
+
internalType: "address",
|
|
1198
|
+
name: "receiver",
|
|
1199
|
+
type: "address",
|
|
1200
|
+
},
|
|
1201
|
+
{
|
|
1202
|
+
indexed: false,
|
|
1203
|
+
internalType: "uint256",
|
|
1204
|
+
name: "maxPtIn",
|
|
1205
|
+
type: "uint256",
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
indexed: false,
|
|
1209
|
+
internalType: "uint256",
|
|
1210
|
+
name: "netSyOut",
|
|
1211
|
+
type: "uint256",
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
indexed: false,
|
|
1215
|
+
internalType: "uint256",
|
|
1216
|
+
name: "netPtReturned",
|
|
1217
|
+
type: "uint256",
|
|
1218
|
+
},
|
|
1219
|
+
],
|
|
1220
|
+
name: "SwapMaxPtForSyLimitOnly",
|
|
1221
|
+
type: "event",
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
anonymous: false,
|
|
1225
|
+
inputs: [
|
|
1226
|
+
{
|
|
1227
|
+
indexed: true,
|
|
1228
|
+
internalType: "address",
|
|
1229
|
+
name: "caller",
|
|
1230
|
+
type: "address",
|
|
1231
|
+
},
|
|
1232
|
+
{
|
|
1233
|
+
indexed: true,
|
|
1234
|
+
internalType: "address",
|
|
1235
|
+
name: "market",
|
|
1236
|
+
type: "address",
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
indexed: true,
|
|
1240
|
+
internalType: "address",
|
|
1241
|
+
name: "token",
|
|
1242
|
+
type: "address",
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
indexed: false,
|
|
1246
|
+
internalType: "address",
|
|
1247
|
+
name: "receiver",
|
|
1248
|
+
type: "address",
|
|
1249
|
+
},
|
|
1250
|
+
{
|
|
1251
|
+
indexed: false,
|
|
1252
|
+
internalType: "uint256",
|
|
1253
|
+
name: "maxPtIn",
|
|
1254
|
+
type: "uint256",
|
|
1255
|
+
},
|
|
1256
|
+
{
|
|
1257
|
+
indexed: false,
|
|
1258
|
+
internalType: "uint256",
|
|
1259
|
+
name: "netTokenOut",
|
|
1260
|
+
type: "uint256",
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
indexed: false,
|
|
1264
|
+
internalType: "uint256",
|
|
1265
|
+
name: "netSyInterm",
|
|
1266
|
+
type: "uint256",
|
|
1267
|
+
},
|
|
1268
|
+
{
|
|
1269
|
+
indexed: false,
|
|
1270
|
+
internalType: "uint256",
|
|
1271
|
+
name: "netPtReturned",
|
|
1272
|
+
type: "uint256",
|
|
1273
|
+
},
|
|
1274
|
+
],
|
|
1275
|
+
name: "SwapMaxPtForTokenLimitOnly",
|
|
1276
|
+
type: "event",
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
anonymous: false,
|
|
1280
|
+
inputs: [
|
|
1281
|
+
{
|
|
1282
|
+
indexed: true,
|
|
1283
|
+
internalType: "address",
|
|
1284
|
+
name: "caller",
|
|
1285
|
+
type: "address",
|
|
1286
|
+
},
|
|
1287
|
+
{
|
|
1288
|
+
indexed: true,
|
|
1289
|
+
internalType: "address",
|
|
1290
|
+
name: "market",
|
|
1291
|
+
type: "address",
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
indexed: true,
|
|
1295
|
+
internalType: "address",
|
|
1296
|
+
name: "receiver",
|
|
1297
|
+
type: "address",
|
|
1298
|
+
},
|
|
1299
|
+
{
|
|
1300
|
+
indexed: false,
|
|
1301
|
+
internalType: "uint256",
|
|
1302
|
+
name: "maxSyIn",
|
|
1303
|
+
type: "uint256",
|
|
1304
|
+
},
|
|
1305
|
+
{
|
|
1306
|
+
indexed: false,
|
|
1307
|
+
internalType: "uint256",
|
|
1308
|
+
name: "netYtOut",
|
|
1309
|
+
type: "uint256",
|
|
1310
|
+
},
|
|
1311
|
+
{
|
|
1312
|
+
indexed: false,
|
|
1313
|
+
internalType: "uint256",
|
|
1314
|
+
name: "netSyReturned",
|
|
1315
|
+
type: "uint256",
|
|
1316
|
+
},
|
|
1317
|
+
],
|
|
1318
|
+
name: "SwapMaxSyForYtLimitOnly",
|
|
1319
|
+
type: "event",
|
|
1320
|
+
},
|
|
1321
|
+
{
|
|
1322
|
+
anonymous: false,
|
|
1323
|
+
inputs: [
|
|
1324
|
+
{
|
|
1325
|
+
indexed: true,
|
|
1326
|
+
internalType: "address",
|
|
1327
|
+
name: "caller",
|
|
1328
|
+
type: "address",
|
|
1329
|
+
},
|
|
1330
|
+
{
|
|
1331
|
+
indexed: true,
|
|
1332
|
+
internalType: "address",
|
|
1333
|
+
name: "market",
|
|
1334
|
+
type: "address",
|
|
1335
|
+
},
|
|
1336
|
+
{
|
|
1337
|
+
indexed: true,
|
|
1338
|
+
internalType: "address",
|
|
1339
|
+
name: "token",
|
|
1340
|
+
type: "address",
|
|
1341
|
+
},
|
|
1342
|
+
{
|
|
1343
|
+
indexed: false,
|
|
1344
|
+
internalType: "address",
|
|
1345
|
+
name: "receiver",
|
|
1346
|
+
type: "address",
|
|
1347
|
+
},
|
|
1348
|
+
{
|
|
1349
|
+
indexed: false,
|
|
1350
|
+
internalType: "uint256",
|
|
1351
|
+
name: "maxTokenIn",
|
|
1352
|
+
type: "uint256",
|
|
1353
|
+
},
|
|
1354
|
+
{
|
|
1355
|
+
indexed: false,
|
|
1356
|
+
internalType: "uint256",
|
|
1357
|
+
name: "netYtOut",
|
|
1358
|
+
type: "uint256",
|
|
1359
|
+
},
|
|
1360
|
+
{
|
|
1361
|
+
indexed: false,
|
|
1362
|
+
internalType: "uint256",
|
|
1363
|
+
name: "netSyInterm",
|
|
1364
|
+
type: "uint256",
|
|
1365
|
+
},
|
|
1366
|
+
{
|
|
1367
|
+
indexed: false,
|
|
1368
|
+
internalType: "uint256",
|
|
1369
|
+
name: "netSyReturned",
|
|
1370
|
+
type: "uint256",
|
|
1371
|
+
},
|
|
1372
|
+
],
|
|
1373
|
+
name: "SwapMaxTokenForYtLimitOnly",
|
|
1374
|
+
type: "event",
|
|
1375
|
+
},
|
|
1376
|
+
{
|
|
1377
|
+
anonymous: false,
|
|
1378
|
+
inputs: [
|
|
1379
|
+
{
|
|
1380
|
+
indexed: true,
|
|
1381
|
+
internalType: "address",
|
|
1382
|
+
name: "caller",
|
|
1383
|
+
type: "address",
|
|
1384
|
+
},
|
|
1385
|
+
{
|
|
1386
|
+
indexed: true,
|
|
1387
|
+
internalType: "address",
|
|
1388
|
+
name: "market",
|
|
1389
|
+
type: "address",
|
|
1390
|
+
},
|
|
1391
|
+
{
|
|
1392
|
+
indexed: true,
|
|
1393
|
+
internalType: "address",
|
|
1394
|
+
name: "receiver",
|
|
1395
|
+
type: "address",
|
|
1396
|
+
},
|
|
1397
|
+
{
|
|
1398
|
+
indexed: false,
|
|
1399
|
+
internalType: "int256",
|
|
1400
|
+
name: "netPtToAccount",
|
|
1401
|
+
type: "int256",
|
|
1402
|
+
},
|
|
1403
|
+
{
|
|
1404
|
+
indexed: false,
|
|
1405
|
+
internalType: "int256",
|
|
1406
|
+
name: "netSyToAccount",
|
|
1407
|
+
type: "int256",
|
|
1408
|
+
},
|
|
1409
|
+
],
|
|
1410
|
+
name: "SwapPtAndSy",
|
|
1411
|
+
type: "event",
|
|
1412
|
+
},
|
|
1413
|
+
{
|
|
1414
|
+
anonymous: false,
|
|
1415
|
+
inputs: [
|
|
1416
|
+
{
|
|
1417
|
+
indexed: true,
|
|
1418
|
+
internalType: "address",
|
|
1419
|
+
name: "caller",
|
|
1420
|
+
type: "address",
|
|
1421
|
+
},
|
|
1422
|
+
{
|
|
1423
|
+
indexed: true,
|
|
1424
|
+
internalType: "address",
|
|
1425
|
+
name: "market",
|
|
1426
|
+
type: "address",
|
|
1427
|
+
},
|
|
1428
|
+
{
|
|
1429
|
+
indexed: true,
|
|
1430
|
+
internalType: "address",
|
|
1431
|
+
name: "token",
|
|
1432
|
+
type: "address",
|
|
1433
|
+
},
|
|
1434
|
+
{
|
|
1435
|
+
indexed: false,
|
|
1436
|
+
internalType: "address",
|
|
1437
|
+
name: "receiver",
|
|
1438
|
+
type: "address",
|
|
1439
|
+
},
|
|
1440
|
+
{
|
|
1441
|
+
indexed: false,
|
|
1442
|
+
internalType: "int256",
|
|
1443
|
+
name: "netPtToAccount",
|
|
1444
|
+
type: "int256",
|
|
1445
|
+
},
|
|
1446
|
+
{
|
|
1447
|
+
indexed: false,
|
|
1448
|
+
internalType: "int256",
|
|
1449
|
+
name: "netTokenToAccount",
|
|
1450
|
+
type: "int256",
|
|
1451
|
+
},
|
|
1452
|
+
{
|
|
1453
|
+
indexed: false,
|
|
1454
|
+
internalType: "uint256",
|
|
1455
|
+
name: "netSyInterm",
|
|
1456
|
+
type: "uint256",
|
|
1457
|
+
},
|
|
1458
|
+
],
|
|
1459
|
+
name: "SwapPtAndToken",
|
|
1460
|
+
type: "event",
|
|
1461
|
+
},
|
|
1462
|
+
{
|
|
1463
|
+
anonymous: false,
|
|
1464
|
+
inputs: [
|
|
1465
|
+
{
|
|
1466
|
+
indexed: true,
|
|
1467
|
+
internalType: "address",
|
|
1468
|
+
name: "caller",
|
|
1469
|
+
type: "address",
|
|
1470
|
+
},
|
|
1471
|
+
{
|
|
1472
|
+
indexed: true,
|
|
1473
|
+
internalType: "address",
|
|
1474
|
+
name: "market",
|
|
1475
|
+
type: "address",
|
|
1476
|
+
},
|
|
1477
|
+
{
|
|
1478
|
+
indexed: true,
|
|
1479
|
+
internalType: "address",
|
|
1480
|
+
name: "receiver",
|
|
1481
|
+
type: "address",
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
indexed: false,
|
|
1485
|
+
internalType: "int256",
|
|
1486
|
+
name: "netPtToAccount",
|
|
1487
|
+
type: "int256",
|
|
1488
|
+
},
|
|
1489
|
+
{
|
|
1490
|
+
indexed: false,
|
|
1491
|
+
internalType: "int256",
|
|
1492
|
+
name: "netYtToAccount",
|
|
1493
|
+
type: "int256",
|
|
1494
|
+
},
|
|
1495
|
+
],
|
|
1496
|
+
name: "SwapPtAndYt",
|
|
1497
|
+
type: "event",
|
|
1498
|
+
},
|
|
1499
|
+
{
|
|
1500
|
+
anonymous: false,
|
|
1501
|
+
inputs: [
|
|
1502
|
+
{
|
|
1503
|
+
indexed: true,
|
|
1504
|
+
internalType: "address",
|
|
1505
|
+
name: "caller",
|
|
1506
|
+
type: "address",
|
|
1507
|
+
},
|
|
1508
|
+
{
|
|
1509
|
+
indexed: true,
|
|
1510
|
+
internalType: "address",
|
|
1511
|
+
name: "market",
|
|
1512
|
+
type: "address",
|
|
1513
|
+
},
|
|
1514
|
+
{
|
|
1515
|
+
indexed: true,
|
|
1516
|
+
internalType: "address",
|
|
1517
|
+
name: "receiver",
|
|
1518
|
+
type: "address",
|
|
1519
|
+
},
|
|
1520
|
+
{
|
|
1521
|
+
indexed: false,
|
|
1522
|
+
internalType: "int256",
|
|
1523
|
+
name: "netYtToAccount",
|
|
1524
|
+
type: "int256",
|
|
1525
|
+
},
|
|
1526
|
+
{
|
|
1527
|
+
indexed: false,
|
|
1528
|
+
internalType: "int256",
|
|
1529
|
+
name: "netSyToAccount",
|
|
1530
|
+
type: "int256",
|
|
1531
|
+
},
|
|
1532
|
+
],
|
|
1533
|
+
name: "SwapYtAndSy",
|
|
1534
|
+
type: "event",
|
|
1535
|
+
},
|
|
1536
|
+
{
|
|
1537
|
+
anonymous: false,
|
|
1538
|
+
inputs: [
|
|
1539
|
+
{
|
|
1540
|
+
indexed: true,
|
|
1541
|
+
internalType: "address",
|
|
1542
|
+
name: "caller",
|
|
1543
|
+
type: "address",
|
|
1544
|
+
},
|
|
1545
|
+
{
|
|
1546
|
+
indexed: true,
|
|
1547
|
+
internalType: "address",
|
|
1548
|
+
name: "market",
|
|
1549
|
+
type: "address",
|
|
1550
|
+
},
|
|
1551
|
+
{
|
|
1552
|
+
indexed: true,
|
|
1553
|
+
internalType: "address",
|
|
1554
|
+
name: "token",
|
|
1555
|
+
type: "address",
|
|
1556
|
+
},
|
|
1557
|
+
{
|
|
1558
|
+
indexed: false,
|
|
1559
|
+
internalType: "address",
|
|
1560
|
+
name: "receiver",
|
|
1561
|
+
type: "address",
|
|
1562
|
+
},
|
|
1563
|
+
{
|
|
1564
|
+
indexed: false,
|
|
1565
|
+
internalType: "int256",
|
|
1566
|
+
name: "netYtToAccount",
|
|
1567
|
+
type: "int256",
|
|
1568
|
+
},
|
|
1569
|
+
{
|
|
1570
|
+
indexed: false,
|
|
1571
|
+
internalType: "int256",
|
|
1572
|
+
name: "netTokenToAccount",
|
|
1573
|
+
type: "int256",
|
|
1574
|
+
},
|
|
1575
|
+
{
|
|
1576
|
+
indexed: false,
|
|
1577
|
+
internalType: "uint256",
|
|
1578
|
+
name: "netSyInterm",
|
|
1579
|
+
type: "uint256",
|
|
1580
|
+
},
|
|
1581
|
+
],
|
|
1582
|
+
name: "SwapYtAndToken",
|
|
1583
|
+
type: "event",
|
|
1584
|
+
},
|
|
1585
|
+
{
|
|
1586
|
+
inputs: [
|
|
1587
|
+
{
|
|
1588
|
+
internalType: "address",
|
|
1589
|
+
name: "receiver",
|
|
1590
|
+
type: "address",
|
|
1591
|
+
},
|
|
1592
|
+
{
|
|
1593
|
+
internalType: "address",
|
|
1594
|
+
name: "market",
|
|
1595
|
+
type: "address",
|
|
1596
|
+
},
|
|
1597
|
+
{
|
|
1598
|
+
internalType: "uint256",
|
|
1599
|
+
name: "maxPtIn",
|
|
1600
|
+
type: "uint256",
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
internalType: "uint256",
|
|
1604
|
+
name: "minSyPtRate",
|
|
1605
|
+
type: "uint256",
|
|
1606
|
+
},
|
|
1607
|
+
{
|
|
1608
|
+
components: [
|
|
1609
|
+
{
|
|
1610
|
+
internalType: "address",
|
|
1611
|
+
name: "limitRouter",
|
|
1612
|
+
type: "address",
|
|
1613
|
+
},
|
|
1614
|
+
{
|
|
1615
|
+
internalType: "uint256",
|
|
1616
|
+
name: "epsSkipMarket",
|
|
1617
|
+
type: "uint256",
|
|
1618
|
+
},
|
|
1619
|
+
{
|
|
1620
|
+
components: [
|
|
1621
|
+
{
|
|
1622
|
+
components: [
|
|
1623
|
+
{
|
|
1624
|
+
internalType: "uint256",
|
|
1625
|
+
name: "salt",
|
|
1626
|
+
type: "uint256",
|
|
1627
|
+
},
|
|
1628
|
+
{
|
|
1629
|
+
internalType: "uint256",
|
|
1630
|
+
name: "expiry",
|
|
1631
|
+
type: "uint256",
|
|
1632
|
+
},
|
|
1633
|
+
{
|
|
1634
|
+
internalType: "uint256",
|
|
1635
|
+
name: "nonce",
|
|
1636
|
+
type: "uint256",
|
|
1637
|
+
},
|
|
1638
|
+
{
|
|
1639
|
+
internalType: "enum IPLimitOrderType.OrderType",
|
|
1640
|
+
name: "orderType",
|
|
1641
|
+
type: "uint8",
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
internalType: "address",
|
|
1645
|
+
name: "token",
|
|
1646
|
+
type: "address",
|
|
1647
|
+
},
|
|
1648
|
+
{
|
|
1649
|
+
internalType: "address",
|
|
1650
|
+
name: "YT",
|
|
1651
|
+
type: "address",
|
|
1652
|
+
},
|
|
1653
|
+
{
|
|
1654
|
+
internalType: "address",
|
|
1655
|
+
name: "maker",
|
|
1656
|
+
type: "address",
|
|
1657
|
+
},
|
|
1658
|
+
{
|
|
1659
|
+
internalType: "address",
|
|
1660
|
+
name: "receiver",
|
|
1661
|
+
type: "address",
|
|
1662
|
+
},
|
|
1663
|
+
{
|
|
1664
|
+
internalType: "uint256",
|
|
1665
|
+
name: "makingAmount",
|
|
1666
|
+
type: "uint256",
|
|
1667
|
+
},
|
|
1668
|
+
{
|
|
1669
|
+
internalType: "uint256",
|
|
1670
|
+
name: "lnImpliedRate",
|
|
1671
|
+
type: "uint256",
|
|
1672
|
+
},
|
|
1673
|
+
{
|
|
1674
|
+
internalType: "uint256",
|
|
1675
|
+
name: "failSafeRate",
|
|
1676
|
+
type: "uint256",
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
internalType: "bytes",
|
|
1680
|
+
name: "permit",
|
|
1681
|
+
type: "bytes",
|
|
1682
|
+
},
|
|
1683
|
+
],
|
|
1684
|
+
internalType: "struct Order",
|
|
1685
|
+
name: "order",
|
|
1686
|
+
type: "tuple",
|
|
1687
|
+
},
|
|
1688
|
+
{
|
|
1689
|
+
internalType: "bytes",
|
|
1690
|
+
name: "signature",
|
|
1691
|
+
type: "bytes",
|
|
1692
|
+
},
|
|
1693
|
+
{
|
|
1694
|
+
internalType: "uint256",
|
|
1695
|
+
name: "makingAmount",
|
|
1696
|
+
type: "uint256",
|
|
1697
|
+
},
|
|
1698
|
+
],
|
|
1699
|
+
internalType: "struct FillOrderParams[]",
|
|
1700
|
+
name: "normalFills",
|
|
1701
|
+
type: "tuple[]",
|
|
1702
|
+
},
|
|
1703
|
+
{
|
|
1704
|
+
components: [
|
|
1705
|
+
{
|
|
1706
|
+
components: [
|
|
1707
|
+
{
|
|
1708
|
+
internalType: "uint256",
|
|
1709
|
+
name: "salt",
|
|
1710
|
+
type: "uint256",
|
|
1711
|
+
},
|
|
1712
|
+
{
|
|
1713
|
+
internalType: "uint256",
|
|
1714
|
+
name: "expiry",
|
|
1715
|
+
type: "uint256",
|
|
1716
|
+
},
|
|
1717
|
+
{
|
|
1718
|
+
internalType: "uint256",
|
|
1719
|
+
name: "nonce",
|
|
1720
|
+
type: "uint256",
|
|
1721
|
+
},
|
|
1722
|
+
{
|
|
1723
|
+
internalType: "enum IPLimitOrderType.OrderType",
|
|
1724
|
+
name: "orderType",
|
|
1725
|
+
type: "uint8",
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
internalType: "address",
|
|
1729
|
+
name: "token",
|
|
1730
|
+
type: "address",
|
|
1731
|
+
},
|
|
1732
|
+
{
|
|
1733
|
+
internalType: "address",
|
|
1734
|
+
name: "YT",
|
|
1735
|
+
type: "address",
|
|
1736
|
+
},
|
|
1737
|
+
{
|
|
1738
|
+
internalType: "address",
|
|
1739
|
+
name: "maker",
|
|
1740
|
+
type: "address",
|
|
1741
|
+
},
|
|
1742
|
+
{
|
|
1743
|
+
internalType: "address",
|
|
1744
|
+
name: "receiver",
|
|
1745
|
+
type: "address",
|
|
1746
|
+
},
|
|
1747
|
+
{
|
|
1748
|
+
internalType: "uint256",
|
|
1749
|
+
name: "makingAmount",
|
|
1750
|
+
type: "uint256",
|
|
1751
|
+
},
|
|
1752
|
+
{
|
|
1753
|
+
internalType: "uint256",
|
|
1754
|
+
name: "lnImpliedRate",
|
|
1755
|
+
type: "uint256",
|
|
1756
|
+
},
|
|
1757
|
+
{
|
|
1758
|
+
internalType: "uint256",
|
|
1759
|
+
name: "failSafeRate",
|
|
1760
|
+
type: "uint256",
|
|
1761
|
+
},
|
|
1762
|
+
{
|
|
1763
|
+
internalType: "bytes",
|
|
1764
|
+
name: "permit",
|
|
1765
|
+
type: "bytes",
|
|
1766
|
+
},
|
|
1767
|
+
],
|
|
1768
|
+
internalType: "struct Order",
|
|
1769
|
+
name: "order",
|
|
1770
|
+
type: "tuple",
|
|
1771
|
+
},
|
|
1772
|
+
{
|
|
1773
|
+
internalType: "bytes",
|
|
1774
|
+
name: "signature",
|
|
1775
|
+
type: "bytes",
|
|
1776
|
+
},
|
|
1777
|
+
{
|
|
1778
|
+
internalType: "uint256",
|
|
1779
|
+
name: "makingAmount",
|
|
1780
|
+
type: "uint256",
|
|
1781
|
+
},
|
|
1782
|
+
],
|
|
1783
|
+
internalType: "struct FillOrderParams[]",
|
|
1784
|
+
name: "flashFills",
|
|
1785
|
+
type: "tuple[]",
|
|
1786
|
+
},
|
|
1787
|
+
{
|
|
1788
|
+
internalType: "bytes",
|
|
1789
|
+
name: "optData",
|
|
1790
|
+
type: "bytes",
|
|
1791
|
+
},
|
|
1792
|
+
],
|
|
1793
|
+
internalType: "struct LimitOrderData",
|
|
1794
|
+
name: "limit",
|
|
1795
|
+
type: "tuple",
|
|
1796
|
+
},
|
|
1797
|
+
],
|
|
1798
|
+
name: "swapMaxPtForSyLimitOnly",
|
|
1799
|
+
outputs: [
|
|
1800
|
+
{
|
|
1801
|
+
internalType: "uint256",
|
|
1802
|
+
name: "netSyOut",
|
|
1803
|
+
type: "uint256",
|
|
1804
|
+
},
|
|
1805
|
+
{
|
|
1806
|
+
internalType: "uint256",
|
|
1807
|
+
name: "netPtReturned",
|
|
1808
|
+
type: "uint256",
|
|
1809
|
+
},
|
|
1810
|
+
{
|
|
1811
|
+
internalType: "uint256",
|
|
1812
|
+
name: "netSyFee",
|
|
1813
|
+
type: "uint256",
|
|
1814
|
+
},
|
|
1815
|
+
],
|
|
1816
|
+
stateMutability: "nonpayable",
|
|
1817
|
+
type: "function",
|
|
1818
|
+
},
|
|
1819
|
+
{
|
|
1820
|
+
inputs: [
|
|
1821
|
+
{
|
|
1822
|
+
internalType: "address",
|
|
1823
|
+
name: "receiver",
|
|
1824
|
+
type: "address",
|
|
1825
|
+
},
|
|
1826
|
+
{
|
|
1827
|
+
internalType: "address",
|
|
1828
|
+
name: "market",
|
|
1829
|
+
type: "address",
|
|
1830
|
+
},
|
|
1831
|
+
{
|
|
1832
|
+
internalType: "uint256",
|
|
1833
|
+
name: "maxPtIn",
|
|
1834
|
+
type: "uint256",
|
|
1835
|
+
},
|
|
1836
|
+
{
|
|
1837
|
+
internalType: "uint256",
|
|
1838
|
+
name: "minTokenPtRate",
|
|
1839
|
+
type: "uint256",
|
|
1840
|
+
},
|
|
1841
|
+
{
|
|
1842
|
+
components: [
|
|
1843
|
+
{
|
|
1844
|
+
internalType: "address",
|
|
1845
|
+
name: "tokenOut",
|
|
1846
|
+
type: "address",
|
|
1847
|
+
},
|
|
1848
|
+
{
|
|
1849
|
+
internalType: "uint256",
|
|
1850
|
+
name: "minTokenOut",
|
|
1851
|
+
type: "uint256",
|
|
1852
|
+
},
|
|
1853
|
+
{
|
|
1854
|
+
internalType: "address",
|
|
1855
|
+
name: "tokenRedeemSy",
|
|
1856
|
+
type: "address",
|
|
1857
|
+
},
|
|
1858
|
+
{
|
|
1859
|
+
internalType: "address",
|
|
1860
|
+
name: "pendleSwap",
|
|
1861
|
+
type: "address",
|
|
1862
|
+
},
|
|
1863
|
+
{
|
|
1864
|
+
components: [
|
|
1865
|
+
{
|
|
1866
|
+
internalType: "enum SwapType",
|
|
1867
|
+
name: "swapType",
|
|
1868
|
+
type: "uint8",
|
|
1869
|
+
},
|
|
1870
|
+
{
|
|
1871
|
+
internalType: "address",
|
|
1872
|
+
name: "extRouter",
|
|
1873
|
+
type: "address",
|
|
1874
|
+
},
|
|
1875
|
+
{
|
|
1876
|
+
internalType: "bytes",
|
|
1877
|
+
name: "extCalldata",
|
|
1878
|
+
type: "bytes",
|
|
1879
|
+
},
|
|
1880
|
+
{
|
|
1881
|
+
internalType: "bool",
|
|
1882
|
+
name: "needScale",
|
|
1883
|
+
type: "bool",
|
|
1884
|
+
},
|
|
1885
|
+
],
|
|
1886
|
+
internalType: "struct SwapData",
|
|
1887
|
+
name: "swapData",
|
|
1888
|
+
type: "tuple",
|
|
1889
|
+
},
|
|
1890
|
+
],
|
|
1891
|
+
internalType: "struct TokenOutput",
|
|
1892
|
+
name: "output",
|
|
1893
|
+
type: "tuple",
|
|
1894
|
+
},
|
|
1895
|
+
{
|
|
1896
|
+
components: [
|
|
1897
|
+
{
|
|
1898
|
+
internalType: "address",
|
|
1899
|
+
name: "limitRouter",
|
|
1900
|
+
type: "address",
|
|
1901
|
+
},
|
|
1902
|
+
{
|
|
1903
|
+
internalType: "uint256",
|
|
1904
|
+
name: "epsSkipMarket",
|
|
1905
|
+
type: "uint256",
|
|
1906
|
+
},
|
|
1907
|
+
{
|
|
1908
|
+
components: [
|
|
1909
|
+
{
|
|
1910
|
+
components: [
|
|
1911
|
+
{
|
|
1912
|
+
internalType: "uint256",
|
|
1913
|
+
name: "salt",
|
|
1914
|
+
type: "uint256",
|
|
1915
|
+
},
|
|
1916
|
+
{
|
|
1917
|
+
internalType: "uint256",
|
|
1918
|
+
name: "expiry",
|
|
1919
|
+
type: "uint256",
|
|
1920
|
+
},
|
|
1921
|
+
{
|
|
1922
|
+
internalType: "uint256",
|
|
1923
|
+
name: "nonce",
|
|
1924
|
+
type: "uint256",
|
|
1925
|
+
},
|
|
1926
|
+
{
|
|
1927
|
+
internalType: "enum IPLimitOrderType.OrderType",
|
|
1928
|
+
name: "orderType",
|
|
1929
|
+
type: "uint8",
|
|
1930
|
+
},
|
|
1931
|
+
{
|
|
1932
|
+
internalType: "address",
|
|
1933
|
+
name: "token",
|
|
1934
|
+
type: "address",
|
|
1935
|
+
},
|
|
1936
|
+
{
|
|
1937
|
+
internalType: "address",
|
|
1938
|
+
name: "YT",
|
|
1939
|
+
type: "address",
|
|
1940
|
+
},
|
|
1941
|
+
{
|
|
1942
|
+
internalType: "address",
|
|
1943
|
+
name: "maker",
|
|
1944
|
+
type: "address",
|
|
1945
|
+
},
|
|
1946
|
+
{
|
|
1947
|
+
internalType: "address",
|
|
1948
|
+
name: "receiver",
|
|
1949
|
+
type: "address",
|
|
1950
|
+
},
|
|
1951
|
+
{
|
|
1952
|
+
internalType: "uint256",
|
|
1953
|
+
name: "makingAmount",
|
|
1954
|
+
type: "uint256",
|
|
1955
|
+
},
|
|
1956
|
+
{
|
|
1957
|
+
internalType: "uint256",
|
|
1958
|
+
name: "lnImpliedRate",
|
|
1959
|
+
type: "uint256",
|
|
1960
|
+
},
|
|
1961
|
+
{
|
|
1962
|
+
internalType: "uint256",
|
|
1963
|
+
name: "failSafeRate",
|
|
1964
|
+
type: "uint256",
|
|
1965
|
+
},
|
|
1966
|
+
{
|
|
1967
|
+
internalType: "bytes",
|
|
1968
|
+
name: "permit",
|
|
1969
|
+
type: "bytes",
|
|
1970
|
+
},
|
|
1971
|
+
],
|
|
1972
|
+
internalType: "struct Order",
|
|
1973
|
+
name: "order",
|
|
1974
|
+
type: "tuple",
|
|
1975
|
+
},
|
|
1976
|
+
{
|
|
1977
|
+
internalType: "bytes",
|
|
1978
|
+
name: "signature",
|
|
1979
|
+
type: "bytes",
|
|
1980
|
+
},
|
|
1981
|
+
{
|
|
1982
|
+
internalType: "uint256",
|
|
1983
|
+
name: "makingAmount",
|
|
1984
|
+
type: "uint256",
|
|
1985
|
+
},
|
|
1986
|
+
],
|
|
1987
|
+
internalType: "struct FillOrderParams[]",
|
|
1988
|
+
name: "normalFills",
|
|
1989
|
+
type: "tuple[]",
|
|
1990
|
+
},
|
|
1991
|
+
{
|
|
1992
|
+
components: [
|
|
1993
|
+
{
|
|
1994
|
+
components: [
|
|
1995
|
+
{
|
|
1996
|
+
internalType: "uint256",
|
|
1997
|
+
name: "salt",
|
|
1998
|
+
type: "uint256",
|
|
1999
|
+
},
|
|
2000
|
+
{
|
|
2001
|
+
internalType: "uint256",
|
|
2002
|
+
name: "expiry",
|
|
2003
|
+
type: "uint256",
|
|
2004
|
+
},
|
|
2005
|
+
{
|
|
2006
|
+
internalType: "uint256",
|
|
2007
|
+
name: "nonce",
|
|
2008
|
+
type: "uint256",
|
|
2009
|
+
},
|
|
2010
|
+
{
|
|
2011
|
+
internalType: "enum IPLimitOrderType.OrderType",
|
|
2012
|
+
name: "orderType",
|
|
2013
|
+
type: "uint8",
|
|
2014
|
+
},
|
|
2015
|
+
{
|
|
2016
|
+
internalType: "address",
|
|
2017
|
+
name: "token",
|
|
2018
|
+
type: "address",
|
|
2019
|
+
},
|
|
2020
|
+
{
|
|
2021
|
+
internalType: "address",
|
|
2022
|
+
name: "YT",
|
|
2023
|
+
type: "address",
|
|
2024
|
+
},
|
|
2025
|
+
{
|
|
2026
|
+
internalType: "address",
|
|
2027
|
+
name: "maker",
|
|
2028
|
+
type: "address",
|
|
2029
|
+
},
|
|
2030
|
+
{
|
|
2031
|
+
internalType: "address",
|
|
2032
|
+
name: "receiver",
|
|
2033
|
+
type: "address",
|
|
2034
|
+
},
|
|
2035
|
+
{
|
|
2036
|
+
internalType: "uint256",
|
|
2037
|
+
name: "makingAmount",
|
|
2038
|
+
type: "uint256",
|
|
2039
|
+
},
|
|
2040
|
+
{
|
|
2041
|
+
internalType: "uint256",
|
|
2042
|
+
name: "lnImpliedRate",
|
|
2043
|
+
type: "uint256",
|
|
2044
|
+
},
|
|
2045
|
+
{
|
|
2046
|
+
internalType: "uint256",
|
|
2047
|
+
name: "failSafeRate",
|
|
2048
|
+
type: "uint256",
|
|
2049
|
+
},
|
|
2050
|
+
{
|
|
2051
|
+
internalType: "bytes",
|
|
2052
|
+
name: "permit",
|
|
2053
|
+
type: "bytes",
|
|
2054
|
+
},
|
|
2055
|
+
],
|
|
2056
|
+
internalType: "struct Order",
|
|
2057
|
+
name: "order",
|
|
2058
|
+
type: "tuple",
|
|
2059
|
+
},
|
|
2060
|
+
{
|
|
2061
|
+
internalType: "bytes",
|
|
2062
|
+
name: "signature",
|
|
2063
|
+
type: "bytes",
|
|
2064
|
+
},
|
|
2065
|
+
{
|
|
2066
|
+
internalType: "uint256",
|
|
2067
|
+
name: "makingAmount",
|
|
2068
|
+
type: "uint256",
|
|
2069
|
+
},
|
|
2070
|
+
],
|
|
2071
|
+
internalType: "struct FillOrderParams[]",
|
|
2072
|
+
name: "flashFills",
|
|
2073
|
+
type: "tuple[]",
|
|
2074
|
+
},
|
|
2075
|
+
{
|
|
2076
|
+
internalType: "bytes",
|
|
2077
|
+
name: "optData",
|
|
2078
|
+
type: "bytes",
|
|
2079
|
+
},
|
|
2080
|
+
],
|
|
2081
|
+
internalType: "struct LimitOrderData",
|
|
2082
|
+
name: "limit",
|
|
2083
|
+
type: "tuple",
|
|
2084
|
+
},
|
|
2085
|
+
],
|
|
2086
|
+
name: "swapMaxPtForTokenLimitOnly",
|
|
2087
|
+
outputs: [
|
|
2088
|
+
{
|
|
2089
|
+
internalType: "uint256",
|
|
2090
|
+
name: "netTokenOut",
|
|
2091
|
+
type: "uint256",
|
|
2092
|
+
},
|
|
2093
|
+
{
|
|
2094
|
+
internalType: "uint256",
|
|
2095
|
+
name: "netPtReturned",
|
|
2096
|
+
type: "uint256",
|
|
2097
|
+
},
|
|
2098
|
+
{
|
|
2099
|
+
internalType: "uint256",
|
|
2100
|
+
name: "netSyFee",
|
|
2101
|
+
type: "uint256",
|
|
2102
|
+
},
|
|
2103
|
+
{
|
|
2104
|
+
internalType: "uint256",
|
|
2105
|
+
name: "netSyInterm",
|
|
2106
|
+
type: "uint256",
|
|
2107
|
+
},
|
|
2108
|
+
],
|
|
2109
|
+
stateMutability: "nonpayable",
|
|
2110
|
+
type: "function",
|
|
2111
|
+
},
|
|
2112
|
+
{
|
|
2113
|
+
inputs: [
|
|
2114
|
+
{
|
|
2115
|
+
internalType: "address",
|
|
2116
|
+
name: "receiver",
|
|
2117
|
+
type: "address",
|
|
2118
|
+
},
|
|
2119
|
+
{
|
|
2120
|
+
internalType: "address",
|
|
2121
|
+
name: "market",
|
|
2122
|
+
type: "address",
|
|
2123
|
+
},
|
|
2124
|
+
{
|
|
2125
|
+
internalType: "uint256",
|
|
2126
|
+
name: "maxSyIn",
|
|
2127
|
+
type: "uint256",
|
|
2128
|
+
},
|
|
2129
|
+
{
|
|
2130
|
+
internalType: "uint256",
|
|
2131
|
+
name: "minYtSyRate",
|
|
2132
|
+
type: "uint256",
|
|
2133
|
+
},
|
|
2134
|
+
{
|
|
2135
|
+
components: [
|
|
2136
|
+
{
|
|
2137
|
+
internalType: "address",
|
|
2138
|
+
name: "limitRouter",
|
|
2139
|
+
type: "address",
|
|
2140
|
+
},
|
|
2141
|
+
{
|
|
2142
|
+
internalType: "uint256",
|
|
2143
|
+
name: "epsSkipMarket",
|
|
2144
|
+
type: "uint256",
|
|
2145
|
+
},
|
|
2146
|
+
{
|
|
2147
|
+
components: [
|
|
2148
|
+
{
|
|
2149
|
+
components: [
|
|
2150
|
+
{
|
|
2151
|
+
internalType: "uint256",
|
|
2152
|
+
name: "salt",
|
|
2153
|
+
type: "uint256",
|
|
2154
|
+
},
|
|
2155
|
+
{
|
|
2156
|
+
internalType: "uint256",
|
|
2157
|
+
name: "expiry",
|
|
2158
|
+
type: "uint256",
|
|
2159
|
+
},
|
|
2160
|
+
{
|
|
2161
|
+
internalType: "uint256",
|
|
2162
|
+
name: "nonce",
|
|
2163
|
+
type: "uint256",
|
|
2164
|
+
},
|
|
2165
|
+
{
|
|
2166
|
+
internalType: "enum IPLimitOrderType.OrderType",
|
|
2167
|
+
name: "orderType",
|
|
2168
|
+
type: "uint8",
|
|
2169
|
+
},
|
|
2170
|
+
{
|
|
2171
|
+
internalType: "address",
|
|
2172
|
+
name: "token",
|
|
2173
|
+
type: "address",
|
|
2174
|
+
},
|
|
2175
|
+
{
|
|
2176
|
+
internalType: "address",
|
|
2177
|
+
name: "YT",
|
|
2178
|
+
type: "address",
|
|
2179
|
+
},
|
|
2180
|
+
{
|
|
2181
|
+
internalType: "address",
|
|
2182
|
+
name: "maker",
|
|
2183
|
+
type: "address",
|
|
2184
|
+
},
|
|
2185
|
+
{
|
|
2186
|
+
internalType: "address",
|
|
2187
|
+
name: "receiver",
|
|
2188
|
+
type: "address",
|
|
2189
|
+
},
|
|
2190
|
+
{
|
|
2191
|
+
internalType: "uint256",
|
|
2192
|
+
name: "makingAmount",
|
|
2193
|
+
type: "uint256",
|
|
2194
|
+
},
|
|
2195
|
+
{
|
|
2196
|
+
internalType: "uint256",
|
|
2197
|
+
name: "lnImpliedRate",
|
|
2198
|
+
type: "uint256",
|
|
2199
|
+
},
|
|
2200
|
+
{
|
|
2201
|
+
internalType: "uint256",
|
|
2202
|
+
name: "failSafeRate",
|
|
2203
|
+
type: "uint256",
|
|
2204
|
+
},
|
|
2205
|
+
{
|
|
2206
|
+
internalType: "bytes",
|
|
2207
|
+
name: "permit",
|
|
2208
|
+
type: "bytes",
|
|
2209
|
+
},
|
|
2210
|
+
],
|
|
2211
|
+
internalType: "struct Order",
|
|
2212
|
+
name: "order",
|
|
2213
|
+
type: "tuple",
|
|
2214
|
+
},
|
|
2215
|
+
{
|
|
2216
|
+
internalType: "bytes",
|
|
2217
|
+
name: "signature",
|
|
2218
|
+
type: "bytes",
|
|
2219
|
+
},
|
|
2220
|
+
{
|
|
2221
|
+
internalType: "uint256",
|
|
2222
|
+
name: "makingAmount",
|
|
2223
|
+
type: "uint256",
|
|
2224
|
+
},
|
|
2225
|
+
],
|
|
2226
|
+
internalType: "struct FillOrderParams[]",
|
|
2227
|
+
name: "normalFills",
|
|
2228
|
+
type: "tuple[]",
|
|
2229
|
+
},
|
|
2230
|
+
{
|
|
2231
|
+
components: [
|
|
2232
|
+
{
|
|
2233
|
+
components: [
|
|
2234
|
+
{
|
|
2235
|
+
internalType: "uint256",
|
|
2236
|
+
name: "salt",
|
|
2237
|
+
type: "uint256",
|
|
2238
|
+
},
|
|
2239
|
+
{
|
|
2240
|
+
internalType: "uint256",
|
|
2241
|
+
name: "expiry",
|
|
2242
|
+
type: "uint256",
|
|
2243
|
+
},
|
|
2244
|
+
{
|
|
2245
|
+
internalType: "uint256",
|
|
2246
|
+
name: "nonce",
|
|
2247
|
+
type: "uint256",
|
|
2248
|
+
},
|
|
2249
|
+
{
|
|
2250
|
+
internalType: "enum IPLimitOrderType.OrderType",
|
|
2251
|
+
name: "orderType",
|
|
2252
|
+
type: "uint8",
|
|
2253
|
+
},
|
|
2254
|
+
{
|
|
2255
|
+
internalType: "address",
|
|
2256
|
+
name: "token",
|
|
2257
|
+
type: "address",
|
|
2258
|
+
},
|
|
2259
|
+
{
|
|
2260
|
+
internalType: "address",
|
|
2261
|
+
name: "YT",
|
|
2262
|
+
type: "address",
|
|
2263
|
+
},
|
|
2264
|
+
{
|
|
2265
|
+
internalType: "address",
|
|
2266
|
+
name: "maker",
|
|
2267
|
+
type: "address",
|
|
2268
|
+
},
|
|
2269
|
+
{
|
|
2270
|
+
internalType: "address",
|
|
2271
|
+
name: "receiver",
|
|
2272
|
+
type: "address",
|
|
2273
|
+
},
|
|
2274
|
+
{
|
|
2275
|
+
internalType: "uint256",
|
|
2276
|
+
name: "makingAmount",
|
|
2277
|
+
type: "uint256",
|
|
2278
|
+
},
|
|
2279
|
+
{
|
|
2280
|
+
internalType: "uint256",
|
|
2281
|
+
name: "lnImpliedRate",
|
|
2282
|
+
type: "uint256",
|
|
2283
|
+
},
|
|
2284
|
+
{
|
|
2285
|
+
internalType: "uint256",
|
|
2286
|
+
name: "failSafeRate",
|
|
2287
|
+
type: "uint256",
|
|
2288
|
+
},
|
|
2289
|
+
{
|
|
2290
|
+
internalType: "bytes",
|
|
2291
|
+
name: "permit",
|
|
2292
|
+
type: "bytes",
|
|
2293
|
+
},
|
|
2294
|
+
],
|
|
2295
|
+
internalType: "struct Order",
|
|
2296
|
+
name: "order",
|
|
2297
|
+
type: "tuple",
|
|
2298
|
+
},
|
|
2299
|
+
{
|
|
2300
|
+
internalType: "bytes",
|
|
2301
|
+
name: "signature",
|
|
2302
|
+
type: "bytes",
|
|
2303
|
+
},
|
|
2304
|
+
{
|
|
2305
|
+
internalType: "uint256",
|
|
2306
|
+
name: "makingAmount",
|
|
2307
|
+
type: "uint256",
|
|
2308
|
+
},
|
|
2309
|
+
],
|
|
2310
|
+
internalType: "struct FillOrderParams[]",
|
|
2311
|
+
name: "flashFills",
|
|
2312
|
+
type: "tuple[]",
|
|
2313
|
+
},
|
|
2314
|
+
{
|
|
2315
|
+
internalType: "bytes",
|
|
2316
|
+
name: "optData",
|
|
2317
|
+
type: "bytes",
|
|
2318
|
+
},
|
|
2319
|
+
],
|
|
2320
|
+
internalType: "struct LimitOrderData",
|
|
2321
|
+
name: "limit",
|
|
2322
|
+
type: "tuple",
|
|
2323
|
+
},
|
|
2324
|
+
],
|
|
2325
|
+
name: "swapMaxSyForYtLimitOnly",
|
|
2326
|
+
outputs: [
|
|
2327
|
+
{
|
|
2328
|
+
internalType: "uint256",
|
|
2329
|
+
name: "netYtOut",
|
|
2330
|
+
type: "uint256",
|
|
2331
|
+
},
|
|
2332
|
+
{
|
|
2333
|
+
internalType: "uint256",
|
|
2334
|
+
name: "netSyReturned",
|
|
2335
|
+
type: "uint256",
|
|
2336
|
+
},
|
|
2337
|
+
{
|
|
2338
|
+
internalType: "uint256",
|
|
2339
|
+
name: "netSyFee",
|
|
2340
|
+
type: "uint256",
|
|
2341
|
+
},
|
|
2342
|
+
],
|
|
2343
|
+
stateMutability: "nonpayable",
|
|
2344
|
+
type: "function",
|
|
2345
|
+
},
|
|
2346
|
+
{
|
|
2347
|
+
inputs: [
|
|
2348
|
+
{
|
|
2349
|
+
internalType: "address",
|
|
2350
|
+
name: "receiver",
|
|
2351
|
+
type: "address",
|
|
2352
|
+
},
|
|
2353
|
+
{
|
|
2354
|
+
internalType: "address",
|
|
2355
|
+
name: "market",
|
|
2356
|
+
type: "address",
|
|
2357
|
+
},
|
|
2358
|
+
{
|
|
2359
|
+
internalType: "uint256",
|
|
2360
|
+
name: "minSyInterm",
|
|
2361
|
+
type: "uint256",
|
|
2362
|
+
},
|
|
2363
|
+
{
|
|
2364
|
+
internalType: "uint256",
|
|
2365
|
+
name: "minYtSyRate",
|
|
2366
|
+
type: "uint256",
|
|
2367
|
+
},
|
|
2368
|
+
{
|
|
2369
|
+
components: [
|
|
2370
|
+
{
|
|
2371
|
+
internalType: "address",
|
|
2372
|
+
name: "tokenIn",
|
|
2373
|
+
type: "address",
|
|
2374
|
+
},
|
|
2375
|
+
{
|
|
2376
|
+
internalType: "uint256",
|
|
2377
|
+
name: "netTokenIn",
|
|
2378
|
+
type: "uint256",
|
|
2379
|
+
},
|
|
2380
|
+
{
|
|
2381
|
+
internalType: "address",
|
|
2382
|
+
name: "tokenMintSy",
|
|
2383
|
+
type: "address",
|
|
2384
|
+
},
|
|
2385
|
+
{
|
|
2386
|
+
internalType: "address",
|
|
2387
|
+
name: "pendleSwap",
|
|
2388
|
+
type: "address",
|
|
2389
|
+
},
|
|
2390
|
+
{
|
|
2391
|
+
components: [
|
|
2392
|
+
{
|
|
2393
|
+
internalType: "enum SwapType",
|
|
2394
|
+
name: "swapType",
|
|
2395
|
+
type: "uint8",
|
|
2396
|
+
},
|
|
2397
|
+
{
|
|
2398
|
+
internalType: "address",
|
|
2399
|
+
name: "extRouter",
|
|
2400
|
+
type: "address",
|
|
2401
|
+
},
|
|
2402
|
+
{
|
|
2403
|
+
internalType: "bytes",
|
|
2404
|
+
name: "extCalldata",
|
|
2405
|
+
type: "bytes",
|
|
2406
|
+
},
|
|
2407
|
+
{
|
|
2408
|
+
internalType: "bool",
|
|
2409
|
+
name: "needScale",
|
|
2410
|
+
type: "bool",
|
|
2411
|
+
},
|
|
2412
|
+
],
|
|
2413
|
+
internalType: "struct SwapData",
|
|
2414
|
+
name: "swapData",
|
|
2415
|
+
type: "tuple",
|
|
2416
|
+
},
|
|
2417
|
+
],
|
|
2418
|
+
internalType: "struct TokenInput",
|
|
2419
|
+
name: "input",
|
|
2420
|
+
type: "tuple",
|
|
2421
|
+
},
|
|
2422
|
+
{
|
|
2423
|
+
components: [
|
|
2424
|
+
{
|
|
2425
|
+
internalType: "address",
|
|
2426
|
+
name: "limitRouter",
|
|
2427
|
+
type: "address",
|
|
2428
|
+
},
|
|
2429
|
+
{
|
|
2430
|
+
internalType: "uint256",
|
|
2431
|
+
name: "epsSkipMarket",
|
|
2432
|
+
type: "uint256",
|
|
2433
|
+
},
|
|
2434
|
+
{
|
|
2435
|
+
components: [
|
|
2436
|
+
{
|
|
2437
|
+
components: [
|
|
2438
|
+
{
|
|
2439
|
+
internalType: "uint256",
|
|
2440
|
+
name: "salt",
|
|
2441
|
+
type: "uint256",
|
|
2442
|
+
},
|
|
2443
|
+
{
|
|
2444
|
+
internalType: "uint256",
|
|
2445
|
+
name: "expiry",
|
|
2446
|
+
type: "uint256",
|
|
2447
|
+
},
|
|
2448
|
+
{
|
|
2449
|
+
internalType: "uint256",
|
|
2450
|
+
name: "nonce",
|
|
2451
|
+
type: "uint256",
|
|
2452
|
+
},
|
|
2453
|
+
{
|
|
2454
|
+
internalType: "enum IPLimitOrderType.OrderType",
|
|
2455
|
+
name: "orderType",
|
|
2456
|
+
type: "uint8",
|
|
2457
|
+
},
|
|
2458
|
+
{
|
|
2459
|
+
internalType: "address",
|
|
2460
|
+
name: "token",
|
|
2461
|
+
type: "address",
|
|
2462
|
+
},
|
|
2463
|
+
{
|
|
2464
|
+
internalType: "address",
|
|
2465
|
+
name: "YT",
|
|
2466
|
+
type: "address",
|
|
2467
|
+
},
|
|
2468
|
+
{
|
|
2469
|
+
internalType: "address",
|
|
2470
|
+
name: "maker",
|
|
2471
|
+
type: "address",
|
|
2472
|
+
},
|
|
2473
|
+
{
|
|
2474
|
+
internalType: "address",
|
|
2475
|
+
name: "receiver",
|
|
2476
|
+
type: "address",
|
|
2477
|
+
},
|
|
2478
|
+
{
|
|
2479
|
+
internalType: "uint256",
|
|
2480
|
+
name: "makingAmount",
|
|
2481
|
+
type: "uint256",
|
|
2482
|
+
},
|
|
2483
|
+
{
|
|
2484
|
+
internalType: "uint256",
|
|
2485
|
+
name: "lnImpliedRate",
|
|
2486
|
+
type: "uint256",
|
|
2487
|
+
},
|
|
2488
|
+
{
|
|
2489
|
+
internalType: "uint256",
|
|
2490
|
+
name: "failSafeRate",
|
|
2491
|
+
type: "uint256",
|
|
2492
|
+
},
|
|
2493
|
+
{
|
|
2494
|
+
internalType: "bytes",
|
|
2495
|
+
name: "permit",
|
|
2496
|
+
type: "bytes",
|
|
2497
|
+
},
|
|
2498
|
+
],
|
|
2499
|
+
internalType: "struct Order",
|
|
2500
|
+
name: "order",
|
|
2501
|
+
type: "tuple",
|
|
2502
|
+
},
|
|
2503
|
+
{
|
|
2504
|
+
internalType: "bytes",
|
|
2505
|
+
name: "signature",
|
|
2506
|
+
type: "bytes",
|
|
2507
|
+
},
|
|
2508
|
+
{
|
|
2509
|
+
internalType: "uint256",
|
|
2510
|
+
name: "makingAmount",
|
|
2511
|
+
type: "uint256",
|
|
2512
|
+
},
|
|
2513
|
+
],
|
|
2514
|
+
internalType: "struct FillOrderParams[]",
|
|
2515
|
+
name: "normalFills",
|
|
2516
|
+
type: "tuple[]",
|
|
2517
|
+
},
|
|
2518
|
+
{
|
|
2519
|
+
components: [
|
|
2520
|
+
{
|
|
2521
|
+
components: [
|
|
2522
|
+
{
|
|
2523
|
+
internalType: "uint256",
|
|
2524
|
+
name: "salt",
|
|
2525
|
+
type: "uint256",
|
|
2526
|
+
},
|
|
2527
|
+
{
|
|
2528
|
+
internalType: "uint256",
|
|
2529
|
+
name: "expiry",
|
|
2530
|
+
type: "uint256",
|
|
2531
|
+
},
|
|
2532
|
+
{
|
|
2533
|
+
internalType: "uint256",
|
|
2534
|
+
name: "nonce",
|
|
2535
|
+
type: "uint256",
|
|
2536
|
+
},
|
|
2537
|
+
{
|
|
2538
|
+
internalType: "enum IPLimitOrderType.OrderType",
|
|
2539
|
+
name: "orderType",
|
|
2540
|
+
type: "uint8",
|
|
2541
|
+
},
|
|
2542
|
+
{
|
|
2543
|
+
internalType: "address",
|
|
2544
|
+
name: "token",
|
|
2545
|
+
type: "address",
|
|
2546
|
+
},
|
|
2547
|
+
{
|
|
2548
|
+
internalType: "address",
|
|
2549
|
+
name: "YT",
|
|
2550
|
+
type: "address",
|
|
2551
|
+
},
|
|
2552
|
+
{
|
|
2553
|
+
internalType: "address",
|
|
2554
|
+
name: "maker",
|
|
2555
|
+
type: "address",
|
|
2556
|
+
},
|
|
2557
|
+
{
|
|
2558
|
+
internalType: "address",
|
|
2559
|
+
name: "receiver",
|
|
2560
|
+
type: "address",
|
|
2561
|
+
},
|
|
2562
|
+
{
|
|
2563
|
+
internalType: "uint256",
|
|
2564
|
+
name: "makingAmount",
|
|
2565
|
+
type: "uint256",
|
|
2566
|
+
},
|
|
2567
|
+
{
|
|
2568
|
+
internalType: "uint256",
|
|
2569
|
+
name: "lnImpliedRate",
|
|
2570
|
+
type: "uint256",
|
|
2571
|
+
},
|
|
2572
|
+
{
|
|
2573
|
+
internalType: "uint256",
|
|
2574
|
+
name: "failSafeRate",
|
|
2575
|
+
type: "uint256",
|
|
2576
|
+
},
|
|
2577
|
+
{
|
|
2578
|
+
internalType: "bytes",
|
|
2579
|
+
name: "permit",
|
|
2580
|
+
type: "bytes",
|
|
2581
|
+
},
|
|
2582
|
+
],
|
|
2583
|
+
internalType: "struct Order",
|
|
2584
|
+
name: "order",
|
|
2585
|
+
type: "tuple",
|
|
2586
|
+
},
|
|
2587
|
+
{
|
|
2588
|
+
internalType: "bytes",
|
|
2589
|
+
name: "signature",
|
|
2590
|
+
type: "bytes",
|
|
2591
|
+
},
|
|
2592
|
+
{
|
|
2593
|
+
internalType: "uint256",
|
|
2594
|
+
name: "makingAmount",
|
|
2595
|
+
type: "uint256",
|
|
2596
|
+
},
|
|
2597
|
+
],
|
|
2598
|
+
internalType: "struct FillOrderParams[]",
|
|
2599
|
+
name: "flashFills",
|
|
2600
|
+
type: "tuple[]",
|
|
2601
|
+
},
|
|
2602
|
+
{
|
|
2603
|
+
internalType: "bytes",
|
|
2604
|
+
name: "optData",
|
|
2605
|
+
type: "bytes",
|
|
2606
|
+
},
|
|
2607
|
+
],
|
|
2608
|
+
internalType: "struct LimitOrderData",
|
|
2609
|
+
name: "limit",
|
|
2610
|
+
type: "tuple",
|
|
2611
|
+
},
|
|
2612
|
+
],
|
|
2613
|
+
name: "swapMaxTokenForYtLimitOnly",
|
|
2614
|
+
outputs: [
|
|
2615
|
+
{
|
|
2616
|
+
internalType: "uint256",
|
|
2617
|
+
name: "netYtOut",
|
|
2618
|
+
type: "uint256",
|
|
2619
|
+
},
|
|
2620
|
+
{
|
|
2621
|
+
internalType: "uint256",
|
|
2622
|
+
name: "netSyReturned",
|
|
2623
|
+
type: "uint256",
|
|
2624
|
+
},
|
|
2625
|
+
{
|
|
2626
|
+
internalType: "uint256",
|
|
2627
|
+
name: "netSyFee",
|
|
2628
|
+
type: "uint256",
|
|
2629
|
+
},
|
|
2630
|
+
{
|
|
2631
|
+
internalType: "uint256",
|
|
2632
|
+
name: "netSyInterm",
|
|
2633
|
+
type: "uint256",
|
|
2634
|
+
},
|
|
2635
|
+
],
|
|
2636
|
+
stateMutability: "payable",
|
|
2637
|
+
type: "function",
|
|
2638
|
+
},
|
|
2639
|
+
];
|
|
2640
|
+
|
|
2641
|
+
const _bytecode =
|
|
2642
|
+
"0x6080806040523461001657612650908161001c8239f35b600080fdfe60406080815260048036101561001457600080fd5b6000803560e01c80636a9f08c114610b515780637f287036146106ee578063ea7fdb351461027c5763fbba1bb21461004b57600080fd5b34610279576100593661104e565b939173ffffffffffffffffffffffffffffffffffffffff9793979591958098169184517f2c8ce6bc0000000000000000000000000000000000000000000000000000000081526060818a81875afa91821561026e576100cb928b929061023c575b5016958261022b575b8287866116a7565b50969198909788156101c1576100ea6100e48b866111df565b8a6114e5565b106101645750879861012361016098997f67bfbfb8e4b23fe67b4d29cfa56323a6ebf5af9107f758facbf57b7494355a59933390611d22565b855192835260208301899052604083018a905290931692339180606081015b0390a451938493846040919493926060820195825260208201520152565b0390f35b60649060208751917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602060248201527f536c697070616765204c4f3a20494e53554646494349454e545f53595f4f55546044820152fd5b6102278288519182917f08c379a0000000000000000000000000000000000000000000000000000000008352820160609060208152601c60208201527f536c697070616765204c4f3a204e4f5f4f524445525f46494c4c45440000000060408201520190565b0390fd5b6102378330338a611509565b6100c3565b61025e915060603d606011610267575b6102568183610cfc565b810190611170565b509050386100ba565b503d61024c565b8651903d90823e3d90fd5b80fd5b5091346106ea5761028c366110d2565b969473ffffffffffffffffffffffffffffffffffffffff98949896939296809916918451967f2c8ce6bc0000000000000000000000000000000000000000000000000000000088526060888281875afa80156106e0578b90889989916106b3575b509080610306921699876106a2575b169a868a8d6116a7565b5098919b90998a1561063c578c6103339161032b8d610325848d6111df565b906114e5565b503390611d22565b60808401610341818661132d565b358481101561063857918b918f846103598996611360565b806105105750505061036c935086612010565b985b60208301358a106104b35761038c6103868c886111df565b8b6114e5565b1061043057508761016098999a6103c37f359e2fb3ce84b69e72e3e431e8c303bf0b58272c70c3a3c0956a740e50021ea5936111be565b169461040c8c8a89519485943398869192608093969594919673ffffffffffffffffffffffffffffffffffffffff60a08501981684526020840152604083015260608201520152565b0390a451948594859094939260609260808301968352602083015260408201520152565b60849060208751917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602360248201527f536c697070616765204c4f3a20494e53554646494349454e545f544f4b454e5f60448201527f4f555400000000000000000000000000000000000000000000000000000000006064820152fd5b60648260208951917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602060248201527f536c6970706167653a20494e53554646494349454e545f544f4b454e5f4f55546044820152fd5b8061051c600392611360565b0361056557505061052e935030612010565b9861054d8a61053e8986016111be565b610547866111be565b90611f51565b6105608a8561055b866111be565b611d22565b61036e565b9192846105839160606105899497019561057e876111be565b612010565b926111be565b16906105a06105998b88016111be565b938761132d565b92823b1561063457916105e593918580948d51968795869485937f2bdb823c0000000000000000000000000000000000000000000000000000000085528c8501611399565b03925af1801561062a57610616575b5050610607610602836111be565b611e0b565b986105608a8561055b866111be565b6106208291610c81565b61027957806105f4565b88513d84823e3d90fd5b8480fd5b8380fd5b610227848a519182917f08c379a0000000000000000000000000000000000000000000000000000000008352820160609060208152601c60208201527f536c697070616765204c4f3a204e4f5f4f524445525f46494c4c45440000000060408201520190565b6106ae8830338e611509565b6102fc565b829a506103069291506106d49060603d606011610267576102568183610cfc565b509a909a9192506102ed565b86513d89823e3d90fd5b8280fd5b5082906106fa366110d2565b9693979190949273ffffffffffffffffffffffffffffffffffffffff809916928551917f2c8ce6bc0000000000000000000000000000000000000000000000000000000083526060838381885afa928315610b47578993610b24575b508a83169060808901610769818b61132d565b3584811015610b2057928a928c928f9561078281611360565b806109315750509160209495916084938c61079c876111be565b6107ac8989013580923390611eb5565b965b0192886107ba856111be565b1661092757506107dd86935b6107d8846107d3836111be565b612296565b6111be565b958d5198899788967f20e8c5650000000000000000000000000000000000000000000000000000000088523090880152166024860152604485015260648401525af197881561026e57976108c0575b507fbd793841bc3c8aacdf8eae1850254c66149fc1f59462eecac609d38a8d0c89c49784939288610863936101609a99989761121b565b9591989099610871836111be565b61040c8c8a8d8a51958695169960203399013590869192608093969594919673ffffffffffffffffffffffffffffffffffffffff60a08501981684526020840152604083015260608201520152565b90959493929196506020813d60201161091f575b816108e160209383610cfc565b8101031261091a5751959394929391929091907fbd793841bc3c8aacdf8eae1850254c66149fc1f59462eecac609d38a8d0c89c461082c565b600080fd5b3d91506108d4565b6107dd90936107c6565b8061093d600392611360565b0361098457509160209495916084938c610956876111be565b6109668989013580923390611eb5565b61097e816109738a6111be565b610547858c016111be565b966107ae565b925092610993909491946111be565b16610ae25760208a01353403610a85575b8c6109b160608c016111be565b16908d6109bd8c6111be565b16610a7e5760208b0135915b6109dc6109d58d6111be565b928d61132d565b92813b15610a7a579060208e93928e610a258f51978896879586947f2bdb823c0000000000000000000000000000000000000000000000000000000086520135908d8501611399565b03925af18015610a7057908d94939291610a53575b506020928b8b936084938c61097e6106028289016111be565b926084918b939c610a65602096610c81565b9c9350915092610a3a565b89513d8d823e3d90fd5b8d80fd5b8b916109c9565b60648460208b51917f08c379a0000000000000000000000000000000000000000000000000000000008352820152600c60248201527f657468206d69736d6174636800000000000000000000000000000000000000006044820152fd5b8c610aec8b6111be565b16610af960608c016111be565b60208c01359081610b0d575b5050506109a4565b610b18923390611509565b8d8080610b05565b8b80fd5b610b3e91935060603d606011610267576102568183610cfc565b5050918b610756565b87513d8b823e3d90fd5b5091346106ea57610b613661104e565b9195929673ffffffffffffffffffffffffffffffffffffffff809816936060875180927f2c8ce6bc00000000000000000000000000000000000000000000000000000000825281885afa918215610c55579288610bf6937f4e2b4edea1113eea3196c6302341ccdceea6ebcf44c9abb2067649a602b2df8b9a9896936101609a989691610c34575b5081610c1f575b8661121b565b95919790988551941693806101428b8b3396846040919493926060820195825260208201520152565b610c2f828d309033908516611509565b610bf0565b610c4d915060603d606011610267576102568183610cfc565b505038610be9565b8751903d90823e3d90fd5b359073ffffffffffffffffffffffffffffffffffffffff8216820361091a57565b67ffffffffffffffff8111610c9557604052565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60a0810190811067ffffffffffffffff821117610c9557604052565b6080810190811067ffffffffffffffff821117610c9557604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff821117610c9557604052565b67ffffffffffffffff8111610c9557601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b81601f8201121561091a57803590610d8e82610d3d565b92610d9c6040519485610cfc565b8284526020838301011161091a57816000926020809301838601378301015290565b9080601f8301121561091a5781359160209167ffffffffffffffff808511610c95578460051b906040805196610df687850189610cfc565b875285808801938601019484861161091a57868101935b868510610e1f57505050505050505090565b843584811161091a578201906060907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08281858b03011261091a578551908382019082821089831117610f84578c8601359089821161091a579086019061018090828d0301811361091a576101e084018381108b821117610f845789528d82013583526080898301358186015260a090878401358287015283013590600482101561091a57610efe610eee610edf610f0e9360c095868b01528701610c60565b9360e094858a01528601610c60565b9261010093848901528501610c60565b9161012092838801528401610c60565b61014090818701526101609184013582870152830135828601528201356101a085015281013589811161091a578d8c91610f49930101610d77565b6101c08301528152858401359287841161091a5784610f6f8b8e80989781980101610d77565b85840152013586820152815201940193610e0d565b602460007f4e487b710000000000000000000000000000000000000000000000000000000081526041600452fd5b91909160a08184031261091a576040519067ffffffffffffffff9060a0830182811184821017610c95576040528294610fea82610c60565b845260208201356020850152604082013583811161091a578161100e918401610dbe565b6040850152606082013583811161091a578161102b918401610dbe565b6060850152608082013592831161091a576080926110499201610d77565b910152565b60a07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc82011261091a5773ffffffffffffffffffffffffffffffffffffffff91600435838116810361091a5792602435908116810361091a579160443591606435916084359067ffffffffffffffff821161091a576110cf91600401610fb2565b90565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc9160c08383011261091a5773ffffffffffffffffffffffffffffffffffffffff92600435848116810361091a5793602435908116810361091a5792604435926064359260843567ffffffffffffffff9182821161091a5760a090828603011261091a576004019260a43591821161091a576110cf91600401610fb2565b9081606091031261091a5780519173ffffffffffffffffffffffffffffffffffffffff92838116810361091a57926020830151818116810361091a57604090930151908116810361091a5790565b3573ffffffffffffffffffffffffffffffffffffffff8116810361091a5790565b919082039182116111ec57565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b938273ffffffffffffffffffffffffffffffffffffffff611241939794971680966116a7565b5094919094938596829680156112ce576103258461125e936111df565b106112705761126e913390611d22565b565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f536c697070616765204c4f3a20494e53554646494349454e545f59545f4f55546044820152fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f536c697070616765204c4f3a204e4f5f4f524445525f46494c4c4544000000006044820152606490fd5b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff818136030182121561091a570190565b6004111561136a57565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b9173ffffffffffffffffffffffffffffffffffffffff80921683526020830152606060408301528235600481101561091a576113d481611360565b60608301526113e560208401610c60565b16608082015260408201357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18336030181121561091a5782016020813591019267ffffffffffffffff821161091a57813603841361091a57606090608060a08501528260e08501528261010095868601376000858486010152013580151580910361091a5760c0830152601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016010190565b818102929181159184041417156111ec57565b81156114b6570490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b90670de0b6b3a7640000918281029281840414901517156111ec576110cf916114ac565b909261126e93604051937f23b872dd00000000000000000000000000000000000000000000000000000000602086015273ffffffffffffffffffffffffffffffffffffffff809216602486015216604484015260648301526064825261156e82610cc4565b6120b7565b60005b8381106115865750506000910152565b8181015183820152602001611576565b60808183031261091a5780519260208201519260408301519260608101519067ffffffffffffffff821161091a570181601f8201121561091a5780516115db81610d3d565b926115e96040519485610cfc565b8184526020828401011161091a576110cf9160208085019101611573565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f60209361164381518092818752878088019101611573565b0116010190565b919082018092116111ec57565b8051156116645760200190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b80518210156116645760209160051b010190565b919390936000936000936080820151805180611caf575b505073ffffffffffffffffffffffffffffffffffffffff82511683976040840190815151611a7e575b5050606083019182518051611719575b50505050670de0b6b3a764000091602061171392015190611499565b04841190565b60a061174073ffffffffffffffffffffffffffffffffffffffff929b9a979596999b611657565b51510151169060606117528651611657565b515101519461176086611360565b519473ffffffffffffffffffffffffffffffffffffffff60808a0151926040519261178a81611360565b60208401528460408401528b6060840152166080820152608081526117ae81610cc4565b6040519586937f6122b17300000000000000000000000000000000000000000000000000000000855260a4850160a06004870152825180915260c4860190602060c48260051b8901019401916000905b82821061192057505050506118846000969486946118758995879560248701527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60448701527ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc9384878303016064880152611607565b91848303016084850152611607565b03925af1928315611914576000926000946118e6575b5060408480518101031261091a576118dd611713936118d7866118d1602095604087670de0b6b3a76400009b01519301519061164a565b9a6111df565b9961164a565b959282946116f7565b9093506119079192503d806000833e6118ff8183610cfc565b810190611596565b939250905091923861189a565b6040513d6000823e3d90fd5b9193946020817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff3c60019496999a9b839403018552885190604080611a65611a55855160608652805160608701528781015160808701528381015160a087015260608101519060c09161199181611360565b8288015260808101519073ffffffffffffffffffffffffffffffffffffffff60e092168289015260a08101519273ffffffffffffffffffffffffffffffffffffffff6101009416848a01528101519173ffffffffffffffffffffffffffffffffffffffff6101209316838a01528101519273ffffffffffffffffffffffffffffffffffffffff6101409416848a01528101519161016092838a01528101519261018093848a01528101516101a08901520151906101c08701526101e0860190611607565b8686015185820388870152611607565b9301519101529701920192018a979695949391926117fe565b611aa693995073ffffffffffffffffffffffffffffffffffffffff9194985082975016612296565b51936080810151604051956000875286602081011067ffffffffffffffff602089011117610c9557602087016040527f6122b17300000000000000000000000000000000000000000000000000000000602088015260c4870160a06024890152815180915260e4880190602060e48260051b8b01019301916000905b8a838310611c2e57505050505090611b8960009273ffffffffffffffffffffffffffffffffffffffff8a1660448a01528560648a01527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdc92838a83030160848b0152611607565b908782030160a48801527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe087611bc3602082019382611607565b03016020880183885af19586156119145760008096600098611bf5575b50611bec9096846111df565b969438806116e7565b9050611bec9750611c239196506020803d8060008386013e611c1981838601610cfc565b8301019101611596565b509790969190611be0565b6020867fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1c82936001959697989903018552875190604080611c9b611a5560608651908087528151818801528882015160808801528482015160a08801528101519060c09161199181611360565b930151910152960192019201909291611b22565b816020918101031261091a576040516020810181811067ffffffffffffffff821117610c9557611ceb92602091604052015180915284846121e9565b38806116be565b3d15611d1d573d90611d0382610d3d565b91611d116040519384610cfc565b82523d6000602084013e565b606090565b8215611e065773ffffffffffffffffffffffffffffffffffffffff9081169081611dbf575050600080809381935af1611d59611cf2565b5015611d6157565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f6574682073656e64206661696c656400000000000000000000000000000000006044820152fd5b9261126e93604051937fa9059cbb00000000000000000000000000000000000000000000000000000000602086015216602484015260448301526044825261156e82610ce0565b505050565b60009073ffffffffffffffffffffffffffffffffffffffff1680611e2f5750504790565b6020602491604051928380927f70a082310000000000000000000000000000000000000000000000000000000082523060048301525afa918215611ea9578092611e7857505090565b9091506020823d602011611ea1575b81611e9460209383610cfc565b8101031261027957505190565b3d9150611e87565b604051903d90823e3d90fd5b90919073ffffffffffffffffffffffffffffffffffffffff1680611f3c575090503403611ede57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f657468206d69736d6174636800000000000000000000000000000000000000006044820152fd5b81611f4657505050565b61126e923091611509565b73ffffffffffffffffffffffffffffffffffffffff9190821680611fbf575016803b1561091a576000906004604051809481937fd0e30db00000000000000000000000000000000000000000000000000000000083525af1801561191457611fb65750565b61126e90610c81565b92915050813b1561091a576000916024839260405194859384927f2e1a7d4d00000000000000000000000000000000000000000000000000000000845260048401525af1801561191457611fb65750565b60a460409160209361203c9673ffffffffffffffffffffffffffffffffffffffff9788958692016111be565b60405197889687957f769f8e5d0000000000000000000000000000000000000000000000000000000087521660048601526024850152166044830152600096879182606485015260016084850152165af1918215611ea9578092611e7857505090565b9081602091031261091a5751801515810361091a5790565b73ffffffffffffffffffffffffffffffffffffffff16604051604081019181831067ffffffffffffffff841117610c9557612134926040526000806020958685527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656487860152868151910182855af161212e611cf2565b9161254e565b8051908282159283156121d1575b5050501561214d5750565b608490604051907f08c379a00000000000000000000000000000000000000000000000000000000082526004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152fd5b6121e1935082018101910161209f565b388281612142565b909192838310156122905760005b60408084019086825180518510156122425784612232849361222d8b84989761222560019b61223998611693565b510151611499565b6114ac565b9351611693565b510152016121f7565b5050505050909160005b606084018051805183101561228757916001918161227c816122328b61222d8a60609a6122256040988992611693565b51015201905061224c565b50505050915050565b92505050565b9073ffffffffffffffffffffffffffffffffffffffff91828116908115612548576040918251809581957fdd62ed3e0000000000000000000000000000000000000000000000000000000083523060048401521691826024830152602096879160449788915afa801561253d57600090612504575b6b7fffffffffffffffffffffff915010612327575b5050505050565b8251906000808784017f095ea7b30000000000000000000000000000000000000000000000000000000094858252846024820152828982015288815261236c81610ce0565b519082875af161237a611cf2565b816124d4575b501561247857916000929183809386519089820193845260248201527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff888201528781526123cd81610ce0565b51925af16123d9611cf2565b81612448575b50156123ec578080612320565b606492917f5361666520417070726f766500000000000000000000000000000000000000009151927f08c379a00000000000000000000000000000000000000000000000000000000084526004840152600c6024840152820152fd5b80518015925085908315612460575b505050386123df565b612470935082018101910161209f565b388481612457565b6064867f5361666520417070726f76650000000000000000000000000000000000000000878751927f08c379a00000000000000000000000000000000000000000000000000000000084526004840152600c6024840152820152fd5b805180159250889083156124ec575b50505038612380565b6124fc935082018101910161209f565b3887816124e3565b508581813d8311612536575b61251a8183610cfc565b8101031261091a576b7fffffffffffffffffffffff905161230b565b503d612510565b84513d6000823e3d90fd5b50505050565b919290156125c95750815115612562575090565b3b1561256b5790565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152fd5b8251909150156125dc5750805190602001fd5b610227906040519182917f08c379a000000000000000000000000000000000000000000000000000000000835260206004840152602483019061160756fea26469706673582212205b8c82e599f0e7ef6de5ee3e879909d91df44ffdea00c8f657035c28550634a064736f6c63430008170033";
|
|
2643
|
+
|
|
2644
|
+
type ActionSwapLimitV3ConstructorParams =
|
|
2645
|
+
| [signer?: Signer]
|
|
2646
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
2647
|
+
|
|
2648
|
+
const isSuperArgs = (
|
|
2649
|
+
xs: ActionSwapLimitV3ConstructorParams
|
|
2650
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
2651
|
+
|
|
2652
|
+
export class ActionSwapLimitV3__factory extends ContractFactory {
|
|
2653
|
+
constructor(...args: ActionSwapLimitV3ConstructorParams) {
|
|
2654
|
+
if (isSuperArgs(args)) {
|
|
2655
|
+
super(...args);
|
|
2656
|
+
} else {
|
|
2657
|
+
super(_abi, _bytecode, args[0]);
|
|
2658
|
+
}
|
|
2659
|
+
this.contractName = "ActionSwapLimitV3";
|
|
2660
|
+
}
|
|
2661
|
+
|
|
2662
|
+
deploy(
|
|
2663
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2664
|
+
): Promise<ActionSwapLimitV3> {
|
|
2665
|
+
return super.deploy(overrides || {}) as Promise<ActionSwapLimitV3>;
|
|
2666
|
+
}
|
|
2667
|
+
getDeployTransaction(
|
|
2668
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2669
|
+
): TransactionRequest {
|
|
2670
|
+
return super.getDeployTransaction(overrides || {});
|
|
2671
|
+
}
|
|
2672
|
+
attach(address: string): ActionSwapLimitV3 {
|
|
2673
|
+
return super.attach(address) as ActionSwapLimitV3;
|
|
2674
|
+
}
|
|
2675
|
+
connect(signer: Signer): ActionSwapLimitV3__factory {
|
|
2676
|
+
return super.connect(signer) as ActionSwapLimitV3__factory;
|
|
2677
|
+
}
|
|
2678
|
+
static readonly contractName: "ActionSwapLimitV3";
|
|
2679
|
+
public readonly contractName: "ActionSwapLimitV3";
|
|
2680
|
+
static readonly bytecode = _bytecode;
|
|
2681
|
+
static readonly abi = _abi;
|
|
2682
|
+
static createInterface(): ActionSwapLimitV3Interface {
|
|
2683
|
+
return new utils.Interface(_abi) as ActionSwapLimitV3Interface;
|
|
2684
|
+
}
|
|
2685
|
+
static connect(
|
|
2686
|
+
address: string,
|
|
2687
|
+
signerOrProvider: Signer | Provider
|
|
2688
|
+
): ActionSwapLimitV3 {
|
|
2689
|
+
return new Contract(address, _abi, signerOrProvider) as ActionSwapLimitV3;
|
|
2690
|
+
}
|
|
2691
|
+
}
|