@pendle/core-v2 5.1.2-beta-2 → 5.2.0-base-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/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/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithoutPermitUpg.sol/SYBaseWithoutPermitUpg.dbg.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 +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleStkGHOSY.sol/PendleStkGHOSY.json +2 -2
- 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/Mantle/PendleCMETHSY.sol/PendleCMETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Silo/PendleSiloWithIncentiveNonBorrowableSY.sol/PendleSiloWithIncentiveNonBorrowableSY.dbg.json +1 -1
- 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 +1311 -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 +1 -1
- package/build/artifacts/contracts/interfaces/Angle/IAngleDistributor.sol/IAngleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.json +0 -196
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.json +78 -196
- package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.json +0 -196
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.json +0 -196
- package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.json +0 -196
- package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.json +0 -196
- package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.json +0 -196
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +16 -1188
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.json +0 -196
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +0 -196
- 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/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -198
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -198
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +80 -198
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -198
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -198
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -198
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -198
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
- package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
- package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +16 -10
- 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 +1 -1
- package/contracts/core/StandardizedYield/implementations/Zerolend/PendleZerolendEBTCSYUpg.sol +88 -0
- package/contracts/core/StandardizedYield/implementations/Zerolend/PendleZerolendLBTCSYUpg.sol +32 -0
- package/contracts/interfaces/IPActionAddRemoveLiqV3.sol +6 -6
- package/contracts/interfaces/IPActionMiscV3.sol +8 -2
- package/contracts/interfaces/IPActionSwapPTV3.sol +4 -4
- package/contracts/interfaces/IPActionSwapYTV3.sol +4 -4
- package/contracts/interfaces/IPAllActionTypeV3.sol +0 -4
- package/contracts/interfaces/IPAllActionV3.sol +1 -3
- package/contracts/interfaces/IPAllEventsV3.sol +1 -44
- package/contracts/router/ActionAddRemoveLiqV3.sol +9 -9
- package/contracts/router/ActionMiscV3.sol +17 -3
- package/contracts/router/ActionSwapPTV3.sol +4 -4
- package/contracts/router/ActionSwapYTV3.sol +4 -4
- package/contracts/router/base/ActionBase.sol +12 -35
- package/contracts/router/base/ActionDelegateBase.sol +1 -1
- package/deployments/1-markets/ZEROLEND-EBTC-MAINNET-MAR2025.json +14 -0
- package/deployments/8453-core.json +40 -0
- package/deployments/8453-offchain-helper.json +6 -0
- package/package.json +1 -1
- package/typechain-types/ActionAddRemoveLiqV3.ts +0 -148
- package/typechain-types/ActionMiscV3.ts +44 -148
- package/typechain-types/ActionSimple.ts +0 -148
- package/typechain-types/ActionStorageStatic.ts +0 -148
- package/typechain-types/ActionStorageV4.ts +0 -148
- package/typechain-types/ActionSwapPTV3.ts +0 -148
- package/typechain-types/ActionSwapYTV3.ts +0 -148
- package/typechain-types/IPActionAddRemoveLiqV3.ts +0 -148
- package/typechain-types/IPActionMiscV3.ts +44 -148
- package/typechain-types/IPActionSimple.ts +0 -148
- package/typechain-types/IPActionStorageStatic.ts +0 -148
- package/typechain-types/IPActionStorageV4.ts +0 -148
- package/typechain-types/IPActionSwapPTV3.ts +0 -148
- package/typechain-types/IPActionSwapYTV3.ts +0 -148
- package/typechain-types/IPAllActionV3.ts +20 -390
- package/typechain-types/IPAllEventsV3.ts +0 -148
- package/typechain-types/IPRouterStatic.ts +0 -148
- package/typechain-types/PendleAaveV3WithRewardsSYUpg.ts +1498 -0
- package/typechain-types/PendleChainlinkOracle.ts +16 -16
- package/typechain-types/PendleChainlinkOracleFactory.ts +112 -33
- package/typechain-types/PendleChainlinkOracleWithQuote.ts +16 -16
- package/typechain-types/PendleZerolendEBTCSYUpg.ts +1712 -0
- package/typechain-types/PendleZerolendLBTCSYUpg.ts +1598 -0
- package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -197
- package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMiscV3__factory.ts +79 -197
- package/typechain-types/factories/ActionSimple__factory.ts +1 -197
- package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -197
- package/typechain-types/factories/ActionStorageV4__factory.ts +1 -197
- package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -197
- package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -197
- package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
- package/typechain-types/factories/IPActionAddRemoveLiqV3__factory.ts +0 -196
- package/typechain-types/factories/IPActionMiscV3__factory.ts +78 -196
- package/typechain-types/factories/IPActionSimple__factory.ts +0 -196
- package/typechain-types/factories/IPActionStorageStatic__factory.ts +0 -196
- package/typechain-types/factories/IPActionStorageV4__factory.ts +0 -196
- package/typechain-types/factories/IPActionSwapPTV3__factory.ts +0 -196
- package/typechain-types/factories/IPActionSwapYTV3__factory.ts +0 -196
- package/typechain-types/factories/IPAllActionV3__factory.ts +16 -1188
- package/typechain-types/factories/IPAllEventsV3__factory.ts +0 -196
- package/typechain-types/factories/IPRouterStatic__factory.ts +0 -196
- package/typechain-types/factories/PendleAaveV3WithRewardsSYUpg__factory.ts +1246 -0
- package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +66 -23
- package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +7 -12
- 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/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendlePoolDeployHelper__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/PendleStkGHOSY__factory.ts +1 -1
- package/typechain-types/factories/PendleZerolendEBTCSYUpg__factory.ts +1368 -0
- package/typechain-types/factories/PendleZerolendLBTCSYUpg__factory.ts +1283 -0
- package/typechain-types/factories/Reflector__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +90 -27
- package/typechain-types/index.ts +18 -6
- 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/IPActionSwapLimitV3.sol/IPActionSwapLimitV3.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPActionSwapLimitV3.sol/IPActionSwapLimitV3.json +0 -2638
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapLimitV3Events.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapLimitV3Events.json +0 -207
- package/build/artifacts/contracts/router/ActionSwapLimitV3.sol/ActionSwapLimitV3.dbg.json +0 -4
- package/build/artifacts/contracts/router/ActionSwapLimitV3.sol/ActionSwapLimitV3.json +0 -2638
- package/contracts/interfaces/IPActionSwapLimitV3.sol +0 -42
- package/contracts/router/ActionSwapLimitV3.sol +0 -126
package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.json
CHANGED
|
@@ -1171,202 +1171,6 @@
|
|
|
1171
1171
|
"name": "SelectorToFacetSet",
|
|
1172
1172
|
"type": "event"
|
|
1173
1173
|
},
|
|
1174
|
-
{
|
|
1175
|
-
"anonymous": false,
|
|
1176
|
-
"inputs": [
|
|
1177
|
-
{
|
|
1178
|
-
"indexed": true,
|
|
1179
|
-
"internalType": "address",
|
|
1180
|
-
"name": "caller",
|
|
1181
|
-
"type": "address"
|
|
1182
|
-
},
|
|
1183
|
-
{
|
|
1184
|
-
"indexed": true,
|
|
1185
|
-
"internalType": "address",
|
|
1186
|
-
"name": "market",
|
|
1187
|
-
"type": "address"
|
|
1188
|
-
},
|
|
1189
|
-
{
|
|
1190
|
-
"indexed": true,
|
|
1191
|
-
"internalType": "address",
|
|
1192
|
-
"name": "receiver",
|
|
1193
|
-
"type": "address"
|
|
1194
|
-
},
|
|
1195
|
-
{
|
|
1196
|
-
"indexed": false,
|
|
1197
|
-
"internalType": "uint256",
|
|
1198
|
-
"name": "maxPtIn",
|
|
1199
|
-
"type": "uint256"
|
|
1200
|
-
},
|
|
1201
|
-
{
|
|
1202
|
-
"indexed": false,
|
|
1203
|
-
"internalType": "uint256",
|
|
1204
|
-
"name": "netSyOut",
|
|
1205
|
-
"type": "uint256"
|
|
1206
|
-
},
|
|
1207
|
-
{
|
|
1208
|
-
"indexed": false,
|
|
1209
|
-
"internalType": "uint256",
|
|
1210
|
-
"name": "netPtReturned",
|
|
1211
|
-
"type": "uint256"
|
|
1212
|
-
}
|
|
1213
|
-
],
|
|
1214
|
-
"name": "SwapMaxPtForSyLimitOnly",
|
|
1215
|
-
"type": "event"
|
|
1216
|
-
},
|
|
1217
|
-
{
|
|
1218
|
-
"anonymous": false,
|
|
1219
|
-
"inputs": [
|
|
1220
|
-
{
|
|
1221
|
-
"indexed": true,
|
|
1222
|
-
"internalType": "address",
|
|
1223
|
-
"name": "caller",
|
|
1224
|
-
"type": "address"
|
|
1225
|
-
},
|
|
1226
|
-
{
|
|
1227
|
-
"indexed": true,
|
|
1228
|
-
"internalType": "address",
|
|
1229
|
-
"name": "market",
|
|
1230
|
-
"type": "address"
|
|
1231
|
-
},
|
|
1232
|
-
{
|
|
1233
|
-
"indexed": true,
|
|
1234
|
-
"internalType": "address",
|
|
1235
|
-
"name": "token",
|
|
1236
|
-
"type": "address"
|
|
1237
|
-
},
|
|
1238
|
-
{
|
|
1239
|
-
"indexed": false,
|
|
1240
|
-
"internalType": "address",
|
|
1241
|
-
"name": "receiver",
|
|
1242
|
-
"type": "address"
|
|
1243
|
-
},
|
|
1244
|
-
{
|
|
1245
|
-
"indexed": false,
|
|
1246
|
-
"internalType": "uint256",
|
|
1247
|
-
"name": "maxPtIn",
|
|
1248
|
-
"type": "uint256"
|
|
1249
|
-
},
|
|
1250
|
-
{
|
|
1251
|
-
"indexed": false,
|
|
1252
|
-
"internalType": "uint256",
|
|
1253
|
-
"name": "netTokenOut",
|
|
1254
|
-
"type": "uint256"
|
|
1255
|
-
},
|
|
1256
|
-
{
|
|
1257
|
-
"indexed": false,
|
|
1258
|
-
"internalType": "uint256",
|
|
1259
|
-
"name": "netSyInterm",
|
|
1260
|
-
"type": "uint256"
|
|
1261
|
-
},
|
|
1262
|
-
{
|
|
1263
|
-
"indexed": false,
|
|
1264
|
-
"internalType": "uint256",
|
|
1265
|
-
"name": "netPtReturned",
|
|
1266
|
-
"type": "uint256"
|
|
1267
|
-
}
|
|
1268
|
-
],
|
|
1269
|
-
"name": "SwapMaxPtForTokenLimitOnly",
|
|
1270
|
-
"type": "event"
|
|
1271
|
-
},
|
|
1272
|
-
{
|
|
1273
|
-
"anonymous": false,
|
|
1274
|
-
"inputs": [
|
|
1275
|
-
{
|
|
1276
|
-
"indexed": true,
|
|
1277
|
-
"internalType": "address",
|
|
1278
|
-
"name": "caller",
|
|
1279
|
-
"type": "address"
|
|
1280
|
-
},
|
|
1281
|
-
{
|
|
1282
|
-
"indexed": true,
|
|
1283
|
-
"internalType": "address",
|
|
1284
|
-
"name": "market",
|
|
1285
|
-
"type": "address"
|
|
1286
|
-
},
|
|
1287
|
-
{
|
|
1288
|
-
"indexed": true,
|
|
1289
|
-
"internalType": "address",
|
|
1290
|
-
"name": "receiver",
|
|
1291
|
-
"type": "address"
|
|
1292
|
-
},
|
|
1293
|
-
{
|
|
1294
|
-
"indexed": false,
|
|
1295
|
-
"internalType": "uint256",
|
|
1296
|
-
"name": "maxSyIn",
|
|
1297
|
-
"type": "uint256"
|
|
1298
|
-
},
|
|
1299
|
-
{
|
|
1300
|
-
"indexed": false,
|
|
1301
|
-
"internalType": "uint256",
|
|
1302
|
-
"name": "netYtOut",
|
|
1303
|
-
"type": "uint256"
|
|
1304
|
-
},
|
|
1305
|
-
{
|
|
1306
|
-
"indexed": false,
|
|
1307
|
-
"internalType": "uint256",
|
|
1308
|
-
"name": "netSyReturned",
|
|
1309
|
-
"type": "uint256"
|
|
1310
|
-
}
|
|
1311
|
-
],
|
|
1312
|
-
"name": "SwapMaxSyForYtLimitOnly",
|
|
1313
|
-
"type": "event"
|
|
1314
|
-
},
|
|
1315
|
-
{
|
|
1316
|
-
"anonymous": false,
|
|
1317
|
-
"inputs": [
|
|
1318
|
-
{
|
|
1319
|
-
"indexed": true,
|
|
1320
|
-
"internalType": "address",
|
|
1321
|
-
"name": "caller",
|
|
1322
|
-
"type": "address"
|
|
1323
|
-
},
|
|
1324
|
-
{
|
|
1325
|
-
"indexed": true,
|
|
1326
|
-
"internalType": "address",
|
|
1327
|
-
"name": "market",
|
|
1328
|
-
"type": "address"
|
|
1329
|
-
},
|
|
1330
|
-
{
|
|
1331
|
-
"indexed": true,
|
|
1332
|
-
"internalType": "address",
|
|
1333
|
-
"name": "token",
|
|
1334
|
-
"type": "address"
|
|
1335
|
-
},
|
|
1336
|
-
{
|
|
1337
|
-
"indexed": false,
|
|
1338
|
-
"internalType": "address",
|
|
1339
|
-
"name": "receiver",
|
|
1340
|
-
"type": "address"
|
|
1341
|
-
},
|
|
1342
|
-
{
|
|
1343
|
-
"indexed": false,
|
|
1344
|
-
"internalType": "uint256",
|
|
1345
|
-
"name": "maxTokenIn",
|
|
1346
|
-
"type": "uint256"
|
|
1347
|
-
},
|
|
1348
|
-
{
|
|
1349
|
-
"indexed": false,
|
|
1350
|
-
"internalType": "uint256",
|
|
1351
|
-
"name": "netYtOut",
|
|
1352
|
-
"type": "uint256"
|
|
1353
|
-
},
|
|
1354
|
-
{
|
|
1355
|
-
"indexed": false,
|
|
1356
|
-
"internalType": "uint256",
|
|
1357
|
-
"name": "netSyInterm",
|
|
1358
|
-
"type": "uint256"
|
|
1359
|
-
},
|
|
1360
|
-
{
|
|
1361
|
-
"indexed": false,
|
|
1362
|
-
"internalType": "uint256",
|
|
1363
|
-
"name": "netSyReturned",
|
|
1364
|
-
"type": "uint256"
|
|
1365
|
-
}
|
|
1366
|
-
],
|
|
1367
|
-
"name": "SwapMaxTokenForYtLimitOnly",
|
|
1368
|
-
"type": "event"
|
|
1369
|
-
},
|
|
1370
1174
|
{
|
|
1371
1175
|
"anonymous": false,
|
|
1372
1176
|
"inputs": [
|
|
@@ -1171,202 +1171,6 @@
|
|
|
1171
1171
|
"name": "SelectorToFacetSet",
|
|
1172
1172
|
"type": "event"
|
|
1173
1173
|
},
|
|
1174
|
-
{
|
|
1175
|
-
"anonymous": false,
|
|
1176
|
-
"inputs": [
|
|
1177
|
-
{
|
|
1178
|
-
"indexed": true,
|
|
1179
|
-
"internalType": "address",
|
|
1180
|
-
"name": "caller",
|
|
1181
|
-
"type": "address"
|
|
1182
|
-
},
|
|
1183
|
-
{
|
|
1184
|
-
"indexed": true,
|
|
1185
|
-
"internalType": "address",
|
|
1186
|
-
"name": "market",
|
|
1187
|
-
"type": "address"
|
|
1188
|
-
},
|
|
1189
|
-
{
|
|
1190
|
-
"indexed": true,
|
|
1191
|
-
"internalType": "address",
|
|
1192
|
-
"name": "receiver",
|
|
1193
|
-
"type": "address"
|
|
1194
|
-
},
|
|
1195
|
-
{
|
|
1196
|
-
"indexed": false,
|
|
1197
|
-
"internalType": "uint256",
|
|
1198
|
-
"name": "maxPtIn",
|
|
1199
|
-
"type": "uint256"
|
|
1200
|
-
},
|
|
1201
|
-
{
|
|
1202
|
-
"indexed": false,
|
|
1203
|
-
"internalType": "uint256",
|
|
1204
|
-
"name": "netSyOut",
|
|
1205
|
-
"type": "uint256"
|
|
1206
|
-
},
|
|
1207
|
-
{
|
|
1208
|
-
"indexed": false,
|
|
1209
|
-
"internalType": "uint256",
|
|
1210
|
-
"name": "netPtReturned",
|
|
1211
|
-
"type": "uint256"
|
|
1212
|
-
}
|
|
1213
|
-
],
|
|
1214
|
-
"name": "SwapMaxPtForSyLimitOnly",
|
|
1215
|
-
"type": "event"
|
|
1216
|
-
},
|
|
1217
|
-
{
|
|
1218
|
-
"anonymous": false,
|
|
1219
|
-
"inputs": [
|
|
1220
|
-
{
|
|
1221
|
-
"indexed": true,
|
|
1222
|
-
"internalType": "address",
|
|
1223
|
-
"name": "caller",
|
|
1224
|
-
"type": "address"
|
|
1225
|
-
},
|
|
1226
|
-
{
|
|
1227
|
-
"indexed": true,
|
|
1228
|
-
"internalType": "address",
|
|
1229
|
-
"name": "market",
|
|
1230
|
-
"type": "address"
|
|
1231
|
-
},
|
|
1232
|
-
{
|
|
1233
|
-
"indexed": true,
|
|
1234
|
-
"internalType": "address",
|
|
1235
|
-
"name": "token",
|
|
1236
|
-
"type": "address"
|
|
1237
|
-
},
|
|
1238
|
-
{
|
|
1239
|
-
"indexed": false,
|
|
1240
|
-
"internalType": "address",
|
|
1241
|
-
"name": "receiver",
|
|
1242
|
-
"type": "address"
|
|
1243
|
-
},
|
|
1244
|
-
{
|
|
1245
|
-
"indexed": false,
|
|
1246
|
-
"internalType": "uint256",
|
|
1247
|
-
"name": "maxPtIn",
|
|
1248
|
-
"type": "uint256"
|
|
1249
|
-
},
|
|
1250
|
-
{
|
|
1251
|
-
"indexed": false,
|
|
1252
|
-
"internalType": "uint256",
|
|
1253
|
-
"name": "netTokenOut",
|
|
1254
|
-
"type": "uint256"
|
|
1255
|
-
},
|
|
1256
|
-
{
|
|
1257
|
-
"indexed": false,
|
|
1258
|
-
"internalType": "uint256",
|
|
1259
|
-
"name": "netSyInterm",
|
|
1260
|
-
"type": "uint256"
|
|
1261
|
-
},
|
|
1262
|
-
{
|
|
1263
|
-
"indexed": false,
|
|
1264
|
-
"internalType": "uint256",
|
|
1265
|
-
"name": "netPtReturned",
|
|
1266
|
-
"type": "uint256"
|
|
1267
|
-
}
|
|
1268
|
-
],
|
|
1269
|
-
"name": "SwapMaxPtForTokenLimitOnly",
|
|
1270
|
-
"type": "event"
|
|
1271
|
-
},
|
|
1272
|
-
{
|
|
1273
|
-
"anonymous": false,
|
|
1274
|
-
"inputs": [
|
|
1275
|
-
{
|
|
1276
|
-
"indexed": true,
|
|
1277
|
-
"internalType": "address",
|
|
1278
|
-
"name": "caller",
|
|
1279
|
-
"type": "address"
|
|
1280
|
-
},
|
|
1281
|
-
{
|
|
1282
|
-
"indexed": true,
|
|
1283
|
-
"internalType": "address",
|
|
1284
|
-
"name": "market",
|
|
1285
|
-
"type": "address"
|
|
1286
|
-
},
|
|
1287
|
-
{
|
|
1288
|
-
"indexed": true,
|
|
1289
|
-
"internalType": "address",
|
|
1290
|
-
"name": "receiver",
|
|
1291
|
-
"type": "address"
|
|
1292
|
-
},
|
|
1293
|
-
{
|
|
1294
|
-
"indexed": false,
|
|
1295
|
-
"internalType": "uint256",
|
|
1296
|
-
"name": "maxSyIn",
|
|
1297
|
-
"type": "uint256"
|
|
1298
|
-
},
|
|
1299
|
-
{
|
|
1300
|
-
"indexed": false,
|
|
1301
|
-
"internalType": "uint256",
|
|
1302
|
-
"name": "netYtOut",
|
|
1303
|
-
"type": "uint256"
|
|
1304
|
-
},
|
|
1305
|
-
{
|
|
1306
|
-
"indexed": false,
|
|
1307
|
-
"internalType": "uint256",
|
|
1308
|
-
"name": "netSyReturned",
|
|
1309
|
-
"type": "uint256"
|
|
1310
|
-
}
|
|
1311
|
-
],
|
|
1312
|
-
"name": "SwapMaxSyForYtLimitOnly",
|
|
1313
|
-
"type": "event"
|
|
1314
|
-
},
|
|
1315
|
-
{
|
|
1316
|
-
"anonymous": false,
|
|
1317
|
-
"inputs": [
|
|
1318
|
-
{
|
|
1319
|
-
"indexed": true,
|
|
1320
|
-
"internalType": "address",
|
|
1321
|
-
"name": "caller",
|
|
1322
|
-
"type": "address"
|
|
1323
|
-
},
|
|
1324
|
-
{
|
|
1325
|
-
"indexed": true,
|
|
1326
|
-
"internalType": "address",
|
|
1327
|
-
"name": "market",
|
|
1328
|
-
"type": "address"
|
|
1329
|
-
},
|
|
1330
|
-
{
|
|
1331
|
-
"indexed": true,
|
|
1332
|
-
"internalType": "address",
|
|
1333
|
-
"name": "token",
|
|
1334
|
-
"type": "address"
|
|
1335
|
-
},
|
|
1336
|
-
{
|
|
1337
|
-
"indexed": false,
|
|
1338
|
-
"internalType": "address",
|
|
1339
|
-
"name": "receiver",
|
|
1340
|
-
"type": "address"
|
|
1341
|
-
},
|
|
1342
|
-
{
|
|
1343
|
-
"indexed": false,
|
|
1344
|
-
"internalType": "uint256",
|
|
1345
|
-
"name": "maxTokenIn",
|
|
1346
|
-
"type": "uint256"
|
|
1347
|
-
},
|
|
1348
|
-
{
|
|
1349
|
-
"indexed": false,
|
|
1350
|
-
"internalType": "uint256",
|
|
1351
|
-
"name": "netYtOut",
|
|
1352
|
-
"type": "uint256"
|
|
1353
|
-
},
|
|
1354
|
-
{
|
|
1355
|
-
"indexed": false,
|
|
1356
|
-
"internalType": "uint256",
|
|
1357
|
-
"name": "netSyInterm",
|
|
1358
|
-
"type": "uint256"
|
|
1359
|
-
},
|
|
1360
|
-
{
|
|
1361
|
-
"indexed": false,
|
|
1362
|
-
"internalType": "uint256",
|
|
1363
|
-
"name": "netSyReturned",
|
|
1364
|
-
"type": "uint256"
|
|
1365
|
-
}
|
|
1366
|
-
],
|
|
1367
|
-
"name": "SwapMaxTokenForYtLimitOnly",
|
|
1368
|
-
"type": "event"
|
|
1369
|
-
},
|
|
1370
1174
|
{
|
|
1371
1175
|
"anonymous": false,
|
|
1372
1176
|
"inputs": [
|
|
@@ -3049,6 +2853,84 @@
|
|
|
3049
2853
|
"stateMutability": "payable",
|
|
3050
2854
|
"type": "function"
|
|
3051
2855
|
},
|
|
2856
|
+
{
|
|
2857
|
+
"inputs": [
|
|
2858
|
+
{
|
|
2859
|
+
"internalType": "address",
|
|
2860
|
+
"name": "receiver",
|
|
2861
|
+
"type": "address"
|
|
2862
|
+
},
|
|
2863
|
+
{
|
|
2864
|
+
"internalType": "uint256",
|
|
2865
|
+
"name": "minTokenOut",
|
|
2866
|
+
"type": "uint256"
|
|
2867
|
+
},
|
|
2868
|
+
{
|
|
2869
|
+
"components": [
|
|
2870
|
+
{
|
|
2871
|
+
"internalType": "address",
|
|
2872
|
+
"name": "tokenIn",
|
|
2873
|
+
"type": "address"
|
|
2874
|
+
},
|
|
2875
|
+
{
|
|
2876
|
+
"internalType": "uint256",
|
|
2877
|
+
"name": "netTokenIn",
|
|
2878
|
+
"type": "uint256"
|
|
2879
|
+
},
|
|
2880
|
+
{
|
|
2881
|
+
"internalType": "address",
|
|
2882
|
+
"name": "tokenMintSy",
|
|
2883
|
+
"type": "address"
|
|
2884
|
+
},
|
|
2885
|
+
{
|
|
2886
|
+
"internalType": "address",
|
|
2887
|
+
"name": "pendleSwap",
|
|
2888
|
+
"type": "address"
|
|
2889
|
+
},
|
|
2890
|
+
{
|
|
2891
|
+
"components": [
|
|
2892
|
+
{
|
|
2893
|
+
"internalType": "enum SwapType",
|
|
2894
|
+
"name": "swapType",
|
|
2895
|
+
"type": "uint8"
|
|
2896
|
+
},
|
|
2897
|
+
{
|
|
2898
|
+
"internalType": "address",
|
|
2899
|
+
"name": "extRouter",
|
|
2900
|
+
"type": "address"
|
|
2901
|
+
},
|
|
2902
|
+
{
|
|
2903
|
+
"internalType": "bytes",
|
|
2904
|
+
"name": "extCalldata",
|
|
2905
|
+
"type": "bytes"
|
|
2906
|
+
},
|
|
2907
|
+
{
|
|
2908
|
+
"internalType": "bool",
|
|
2909
|
+
"name": "needScale",
|
|
2910
|
+
"type": "bool"
|
|
2911
|
+
}
|
|
2912
|
+
],
|
|
2913
|
+
"internalType": "struct SwapData",
|
|
2914
|
+
"name": "swapData",
|
|
2915
|
+
"type": "tuple"
|
|
2916
|
+
}
|
|
2917
|
+
],
|
|
2918
|
+
"internalType": "struct TokenInput",
|
|
2919
|
+
"name": "inp",
|
|
2920
|
+
"type": "tuple"
|
|
2921
|
+
}
|
|
2922
|
+
],
|
|
2923
|
+
"name": "swapTokenToToken",
|
|
2924
|
+
"outputs": [
|
|
2925
|
+
{
|
|
2926
|
+
"internalType": "uint256",
|
|
2927
|
+
"name": "netTokenOut",
|
|
2928
|
+
"type": "uint256"
|
|
2929
|
+
}
|
|
2930
|
+
],
|
|
2931
|
+
"stateMutability": "payable",
|
|
2932
|
+
"type": "function"
|
|
2933
|
+
},
|
|
3052
2934
|
{
|
|
3053
2935
|
"inputs": [
|
|
3054
2936
|
{
|