@pendle/core-v2 4.4.6 → 4.5.0-beta-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20WithSupplyCapSY.sol/PendleERC20WithSupplyCapSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20WithSupplyCapSY.sol/PendleERC20WithSupplyCapSY.json +1073 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Tensorplex/PendleStTAOSY.sol/PendleStTAOSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Tensorplex/PendleStTAOSY.sol/PendleStTAOSY.json +2 -2
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.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 +4 -0
- package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.json +149 -0
- 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/IPAllActionV3.sol/IPAllActionV3.json +134 -72
- package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -28
- 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/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -124
- package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +3 -51
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -50
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +4 -0
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +149 -0
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -76
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -92
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +4 -0
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +35 -0
- package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +4 -0
- package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.json +10 -0
- package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
- package/contracts/core/StandardizedYield/implementations/PendleERC20WithSupplyCapSY.sol +55 -0
- package/contracts/core/StandardizedYield/implementations/Tensorplex/PendleStTAOSY.sol +1 -1
- package/contracts/interfaces/IPActionStorageStatic.sol +1 -0
- package/contracts/interfaces/IPActionStorageV4.sol +25 -0
- package/contracts/interfaces/IPAllActionV3.sol +2 -2
- package/contracts/interfaces/IPMiniDiamond.sol +1 -0
- package/contracts/limit/LimitRouterBase.sol +48 -25
- package/contracts/router/ActionAddRemoveLiqV3.sol +12 -12
- package/contracts/router/ActionCallbackV3.sol +14 -13
- package/contracts/router/ActionMiscV3.sol +1 -3
- package/contracts/router/ActionStorageV4.sol +64 -0
- package/contracts/router/ActionSwapYTV3.sol +3 -3
- package/contracts/router/PendleRouterV4.sol +23 -0
- package/contracts/router/RouterStorage.sol +19 -0
- package/contracts/router/base/ActionBase.sol +5 -7
- package/contracts/router/base/MarketApproxLib.sol +18 -16
- package/deployments/1-core.json +1 -1
- package/deployments/1-markets/ENA-AUG2024.json +13 -0
- package/deployments/1-markets/EZETH-DEC2024.json +11 -0
- package/deployments/1-markets/SUSDE-JUL2024.json +13 -0
- package/deployments/1-markets/WEETH-DEC2024.json +13 -0
- package/deployments/10-core.json +1 -1
- package/deployments/42161-core.json +1 -1
- package/deployments/5000-core.json +1 -1
- package/deployments/56-core.json +1 -1
- package/deployments/56-markets/EZETH-BSC-SEP2024.json +13 -0
- package/package.json +1 -1
- package/typechain-types/ActionCallbackV3.ts +5 -5
- package/typechain-types/ActionStorageV4.ts +293 -0
- package/typechain-types/IPActionStorageV4.ts +293 -0
- package/typechain-types/IPAllActionV3.ts +208 -109
- package/typechain-types/PendleERC20WithSupplyCapSY.ts +1332 -0
- package/typechain-types/PendleRouterV4.ts +57 -0
- package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -123
- package/typechain-types/factories/ActionCallbackV3__factory.ts +2 -50
- 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 -27
- package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMiscV3__factory.ts +1 -49
- package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageV4__factory.ts +202 -0
- package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -75
- package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -91
- package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
- package/typechain-types/factories/IPActionStorageV4__factory.ts +164 -0
- package/typechain-types/factories/IPAllActionV3__factory.ts +134 -72
- package/typechain-types/factories/PendleERC20WithSupplyCapSY__factory.ts +1157 -0
- package/typechain-types/factories/PendleLimitRouter__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 +96 -0
- package/typechain-types/factories/PendleStTAOSY__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +31 -58
- package/typechain-types/index.ts +8 -14
- package/build/artifacts/contracts/interfaces/IDiamondCut.sol/IDiamondCut.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IDiamondCut.sol/IDiamondCut.json +0 -93
- package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.json +0 -87
- package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +0 -4
- package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.json +0 -1002
- package/build/artifacts/contracts/router/PendleRouterHelper.sol/RouterV2InterfaceForRouterHelper.dbg.json +0 -4
- package/build/artifacts/contracts/router/PendleRouterHelper.sol/RouterV2InterfaceForRouterHelper.json +0 -466
- package/build/artifacts/contracts/router/PendleRouterV3.sol/PendleRouterV3.dbg.json +0 -4
- package/build/artifacts/contracts/router/PendleRouterV3.sol/PendleRouterV3.json +0 -179
- package/contracts/interfaces/IDiamondCut.sol +0 -32
- package/contracts/interfaces/IDiamondLoupe.sol +0 -38
- package/contracts/router/PendleRouterHelper.sol +0 -305
- package/contracts/router/PendleRouterV3.sol +0 -235
|
@@ -463,6 +463,25 @@
|
|
|
463
463
|
"name": "MintSyFromToken",
|
|
464
464
|
"type": "event"
|
|
465
465
|
},
|
|
466
|
+
{
|
|
467
|
+
"anonymous": false,
|
|
468
|
+
"inputs": [
|
|
469
|
+
{
|
|
470
|
+
"indexed": true,
|
|
471
|
+
"internalType": "address",
|
|
472
|
+
"name": "previousOwner",
|
|
473
|
+
"type": "address"
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"indexed": true,
|
|
477
|
+
"internalType": "address",
|
|
478
|
+
"name": "newOwner",
|
|
479
|
+
"type": "address"
|
|
480
|
+
}
|
|
481
|
+
],
|
|
482
|
+
"name": "OwnershipTransferred",
|
|
483
|
+
"type": "event"
|
|
484
|
+
},
|
|
466
485
|
{
|
|
467
486
|
"anonymous": false,
|
|
468
487
|
"inputs": [
|
|
@@ -813,6 +832,25 @@
|
|
|
813
832
|
"name": "RemoveLiquiditySingleToken",
|
|
814
833
|
"type": "event"
|
|
815
834
|
},
|
|
835
|
+
{
|
|
836
|
+
"anonymous": false,
|
|
837
|
+
"inputs": [
|
|
838
|
+
{
|
|
839
|
+
"indexed": true,
|
|
840
|
+
"internalType": "bytes4",
|
|
841
|
+
"name": "selector",
|
|
842
|
+
"type": "bytes4"
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
"indexed": true,
|
|
846
|
+
"internalType": "address",
|
|
847
|
+
"name": "facet",
|
|
848
|
+
"type": "address"
|
|
849
|
+
}
|
|
850
|
+
],
|
|
851
|
+
"name": "SelectorToFacetSet",
|
|
852
|
+
"type": "event"
|
|
853
|
+
},
|
|
816
854
|
{
|
|
817
855
|
"anonymous": false,
|
|
818
856
|
"inputs": [
|
|
@@ -2171,80 +2209,11 @@
|
|
|
2171
2209
|
"stateMutability": "nonpayable",
|
|
2172
2210
|
"type": "function"
|
|
2173
2211
|
},
|
|
2174
|
-
{
|
|
2175
|
-
"inputs": [
|
|
2176
|
-
{
|
|
2177
|
-
"internalType": "bytes4",
|
|
2178
|
-
"name": "_functionSelector",
|
|
2179
|
-
"type": "bytes4"
|
|
2180
|
-
}
|
|
2181
|
-
],
|
|
2182
|
-
"name": "facetAddress",
|
|
2183
|
-
"outputs": [
|
|
2184
|
-
{
|
|
2185
|
-
"internalType": "address",
|
|
2186
|
-
"name": "facetAddress_",
|
|
2187
|
-
"type": "address"
|
|
2188
|
-
}
|
|
2189
|
-
],
|
|
2190
|
-
"stateMutability": "view",
|
|
2191
|
-
"type": "function"
|
|
2192
|
-
},
|
|
2193
|
-
{
|
|
2194
|
-
"inputs": [],
|
|
2195
|
-
"name": "facetAddresses",
|
|
2196
|
-
"outputs": [
|
|
2197
|
-
{
|
|
2198
|
-
"internalType": "address[]",
|
|
2199
|
-
"name": "facetAddresses_",
|
|
2200
|
-
"type": "address[]"
|
|
2201
|
-
}
|
|
2202
|
-
],
|
|
2203
|
-
"stateMutability": "view",
|
|
2204
|
-
"type": "function"
|
|
2205
|
-
},
|
|
2206
|
-
{
|
|
2207
|
-
"inputs": [
|
|
2208
|
-
{
|
|
2209
|
-
"internalType": "address",
|
|
2210
|
-
"name": "_facet",
|
|
2211
|
-
"type": "address"
|
|
2212
|
-
}
|
|
2213
|
-
],
|
|
2214
|
-
"name": "facetFunctionSelectors",
|
|
2215
|
-
"outputs": [
|
|
2216
|
-
{
|
|
2217
|
-
"internalType": "bytes4[]",
|
|
2218
|
-
"name": "facetFunctionSelectors_",
|
|
2219
|
-
"type": "bytes4[]"
|
|
2220
|
-
}
|
|
2221
|
-
],
|
|
2222
|
-
"stateMutability": "view",
|
|
2223
|
-
"type": "function"
|
|
2224
|
-
},
|
|
2225
2212
|
{
|
|
2226
2213
|
"inputs": [],
|
|
2227
|
-
"name": "
|
|
2228
|
-
"outputs": [
|
|
2229
|
-
|
|
2230
|
-
"components": [
|
|
2231
|
-
{
|
|
2232
|
-
"internalType": "address",
|
|
2233
|
-
"name": "facetAddress",
|
|
2234
|
-
"type": "address"
|
|
2235
|
-
},
|
|
2236
|
-
{
|
|
2237
|
-
"internalType": "bytes4[]",
|
|
2238
|
-
"name": "functionSelectors",
|
|
2239
|
-
"type": "bytes4[]"
|
|
2240
|
-
}
|
|
2241
|
-
],
|
|
2242
|
-
"internalType": "struct IDiamondLoupe.Facet[]",
|
|
2243
|
-
"name": "facets_",
|
|
2244
|
-
"type": "tuple[]"
|
|
2245
|
-
}
|
|
2246
|
-
],
|
|
2247
|
-
"stateMutability": "view",
|
|
2214
|
+
"name": "claimOwnership",
|
|
2215
|
+
"outputs": [],
|
|
2216
|
+
"stateMutability": "nonpayable",
|
|
2248
2217
|
"type": "function"
|
|
2249
2218
|
},
|
|
2250
2219
|
{
|
|
@@ -2529,6 +2498,32 @@
|
|
|
2529
2498
|
"stateMutability": "payable",
|
|
2530
2499
|
"type": "function"
|
|
2531
2500
|
},
|
|
2501
|
+
{
|
|
2502
|
+
"inputs": [],
|
|
2503
|
+
"name": "owner",
|
|
2504
|
+
"outputs": [
|
|
2505
|
+
{
|
|
2506
|
+
"internalType": "address",
|
|
2507
|
+
"name": "",
|
|
2508
|
+
"type": "address"
|
|
2509
|
+
}
|
|
2510
|
+
],
|
|
2511
|
+
"stateMutability": "view",
|
|
2512
|
+
"type": "function"
|
|
2513
|
+
},
|
|
2514
|
+
{
|
|
2515
|
+
"inputs": [],
|
|
2516
|
+
"name": "pendingOwner",
|
|
2517
|
+
"outputs": [
|
|
2518
|
+
{
|
|
2519
|
+
"internalType": "address",
|
|
2520
|
+
"name": "",
|
|
2521
|
+
"type": "address"
|
|
2522
|
+
}
|
|
2523
|
+
],
|
|
2524
|
+
"stateMutability": "view",
|
|
2525
|
+
"type": "function"
|
|
2526
|
+
},
|
|
2532
2527
|
{
|
|
2533
2528
|
"inputs": [
|
|
2534
2529
|
{
|
|
@@ -3677,6 +3672,50 @@
|
|
|
3677
3672
|
"stateMutability": "nonpayable",
|
|
3678
3673
|
"type": "function"
|
|
3679
3674
|
},
|
|
3675
|
+
{
|
|
3676
|
+
"inputs": [
|
|
3677
|
+
{
|
|
3678
|
+
"internalType": "bytes4",
|
|
3679
|
+
"name": "selector",
|
|
3680
|
+
"type": "bytes4"
|
|
3681
|
+
}
|
|
3682
|
+
],
|
|
3683
|
+
"name": "selectorToFacet",
|
|
3684
|
+
"outputs": [
|
|
3685
|
+
{
|
|
3686
|
+
"internalType": "address",
|
|
3687
|
+
"name": "",
|
|
3688
|
+
"type": "address"
|
|
3689
|
+
}
|
|
3690
|
+
],
|
|
3691
|
+
"stateMutability": "view",
|
|
3692
|
+
"type": "function"
|
|
3693
|
+
},
|
|
3694
|
+
{
|
|
3695
|
+
"inputs": [
|
|
3696
|
+
{
|
|
3697
|
+
"components": [
|
|
3698
|
+
{
|
|
3699
|
+
"internalType": "address",
|
|
3700
|
+
"name": "facet",
|
|
3701
|
+
"type": "address"
|
|
3702
|
+
},
|
|
3703
|
+
{
|
|
3704
|
+
"internalType": "bytes4[]",
|
|
3705
|
+
"name": "selectors",
|
|
3706
|
+
"type": "bytes4[]"
|
|
3707
|
+
}
|
|
3708
|
+
],
|
|
3709
|
+
"internalType": "struct IPActionStorageV4.SelectorsToFacet[]",
|
|
3710
|
+
"name": "arr",
|
|
3711
|
+
"type": "tuple[]"
|
|
3712
|
+
}
|
|
3713
|
+
],
|
|
3714
|
+
"name": "setSelectorToFacets",
|
|
3715
|
+
"outputs": [],
|
|
3716
|
+
"stateMutability": "nonpayable",
|
|
3717
|
+
"type": "function"
|
|
3718
|
+
},
|
|
3680
3719
|
{
|
|
3681
3720
|
"inputs": [
|
|
3682
3721
|
{
|
|
@@ -6206,6 +6245,29 @@
|
|
|
6206
6245
|
],
|
|
6207
6246
|
"stateMutability": "payable",
|
|
6208
6247
|
"type": "function"
|
|
6248
|
+
},
|
|
6249
|
+
{
|
|
6250
|
+
"inputs": [
|
|
6251
|
+
{
|
|
6252
|
+
"internalType": "address",
|
|
6253
|
+
"name": "newOwner",
|
|
6254
|
+
"type": "address"
|
|
6255
|
+
},
|
|
6256
|
+
{
|
|
6257
|
+
"internalType": "bool",
|
|
6258
|
+
"name": "direct",
|
|
6259
|
+
"type": "bool"
|
|
6260
|
+
},
|
|
6261
|
+
{
|
|
6262
|
+
"internalType": "bool",
|
|
6263
|
+
"name": "renounce",
|
|
6264
|
+
"type": "bool"
|
|
6265
|
+
}
|
|
6266
|
+
],
|
|
6267
|
+
"name": "transferOwnership",
|
|
6268
|
+
"outputs": [],
|
|
6269
|
+
"stateMutability": "nonpayable",
|
|
6270
|
+
"type": "function"
|
|
6209
6271
|
}
|
|
6210
6272
|
],
|
|
6211
6273
|
"bytecode": "0x",
|