@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
|
@@ -467,6 +467,25 @@ const _abi = [
|
|
|
467
467
|
name: "MintSyFromToken",
|
|
468
468
|
type: "event",
|
|
469
469
|
},
|
|
470
|
+
{
|
|
471
|
+
anonymous: false,
|
|
472
|
+
inputs: [
|
|
473
|
+
{
|
|
474
|
+
indexed: true,
|
|
475
|
+
internalType: "address",
|
|
476
|
+
name: "previousOwner",
|
|
477
|
+
type: "address",
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
indexed: true,
|
|
481
|
+
internalType: "address",
|
|
482
|
+
name: "newOwner",
|
|
483
|
+
type: "address",
|
|
484
|
+
},
|
|
485
|
+
],
|
|
486
|
+
name: "OwnershipTransferred",
|
|
487
|
+
type: "event",
|
|
488
|
+
},
|
|
470
489
|
{
|
|
471
490
|
anonymous: false,
|
|
472
491
|
inputs: [
|
|
@@ -817,6 +836,25 @@ const _abi = [
|
|
|
817
836
|
name: "RemoveLiquiditySingleToken",
|
|
818
837
|
type: "event",
|
|
819
838
|
},
|
|
839
|
+
{
|
|
840
|
+
anonymous: false,
|
|
841
|
+
inputs: [
|
|
842
|
+
{
|
|
843
|
+
indexed: true,
|
|
844
|
+
internalType: "bytes4",
|
|
845
|
+
name: "selector",
|
|
846
|
+
type: "bytes4",
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
indexed: true,
|
|
850
|
+
internalType: "address",
|
|
851
|
+
name: "facet",
|
|
852
|
+
type: "address",
|
|
853
|
+
},
|
|
854
|
+
],
|
|
855
|
+
name: "SelectorToFacetSet",
|
|
856
|
+
type: "event",
|
|
857
|
+
},
|
|
820
858
|
{
|
|
821
859
|
anonymous: false,
|
|
822
860
|
inputs: [
|
|
@@ -2175,80 +2213,11 @@ const _abi = [
|
|
|
2175
2213
|
stateMutability: "nonpayable",
|
|
2176
2214
|
type: "function",
|
|
2177
2215
|
},
|
|
2178
|
-
{
|
|
2179
|
-
inputs: [
|
|
2180
|
-
{
|
|
2181
|
-
internalType: "bytes4",
|
|
2182
|
-
name: "_functionSelector",
|
|
2183
|
-
type: "bytes4",
|
|
2184
|
-
},
|
|
2185
|
-
],
|
|
2186
|
-
name: "facetAddress",
|
|
2187
|
-
outputs: [
|
|
2188
|
-
{
|
|
2189
|
-
internalType: "address",
|
|
2190
|
-
name: "facetAddress_",
|
|
2191
|
-
type: "address",
|
|
2192
|
-
},
|
|
2193
|
-
],
|
|
2194
|
-
stateMutability: "view",
|
|
2195
|
-
type: "function",
|
|
2196
|
-
},
|
|
2197
|
-
{
|
|
2198
|
-
inputs: [],
|
|
2199
|
-
name: "facetAddresses",
|
|
2200
|
-
outputs: [
|
|
2201
|
-
{
|
|
2202
|
-
internalType: "address[]",
|
|
2203
|
-
name: "facetAddresses_",
|
|
2204
|
-
type: "address[]",
|
|
2205
|
-
},
|
|
2206
|
-
],
|
|
2207
|
-
stateMutability: "view",
|
|
2208
|
-
type: "function",
|
|
2209
|
-
},
|
|
2210
|
-
{
|
|
2211
|
-
inputs: [
|
|
2212
|
-
{
|
|
2213
|
-
internalType: "address",
|
|
2214
|
-
name: "_facet",
|
|
2215
|
-
type: "address",
|
|
2216
|
-
},
|
|
2217
|
-
],
|
|
2218
|
-
name: "facetFunctionSelectors",
|
|
2219
|
-
outputs: [
|
|
2220
|
-
{
|
|
2221
|
-
internalType: "bytes4[]",
|
|
2222
|
-
name: "facetFunctionSelectors_",
|
|
2223
|
-
type: "bytes4[]",
|
|
2224
|
-
},
|
|
2225
|
-
],
|
|
2226
|
-
stateMutability: "view",
|
|
2227
|
-
type: "function",
|
|
2228
|
-
},
|
|
2229
2216
|
{
|
|
2230
2217
|
inputs: [],
|
|
2231
|
-
name: "
|
|
2232
|
-
outputs: [
|
|
2233
|
-
|
|
2234
|
-
components: [
|
|
2235
|
-
{
|
|
2236
|
-
internalType: "address",
|
|
2237
|
-
name: "facetAddress",
|
|
2238
|
-
type: "address",
|
|
2239
|
-
},
|
|
2240
|
-
{
|
|
2241
|
-
internalType: "bytes4[]",
|
|
2242
|
-
name: "functionSelectors",
|
|
2243
|
-
type: "bytes4[]",
|
|
2244
|
-
},
|
|
2245
|
-
],
|
|
2246
|
-
internalType: "struct IDiamondLoupe.Facet[]",
|
|
2247
|
-
name: "facets_",
|
|
2248
|
-
type: "tuple[]",
|
|
2249
|
-
},
|
|
2250
|
-
],
|
|
2251
|
-
stateMutability: "view",
|
|
2218
|
+
name: "claimOwnership",
|
|
2219
|
+
outputs: [],
|
|
2220
|
+
stateMutability: "nonpayable",
|
|
2252
2221
|
type: "function",
|
|
2253
2222
|
},
|
|
2254
2223
|
{
|
|
@@ -2533,6 +2502,32 @@ const _abi = [
|
|
|
2533
2502
|
stateMutability: "payable",
|
|
2534
2503
|
type: "function",
|
|
2535
2504
|
},
|
|
2505
|
+
{
|
|
2506
|
+
inputs: [],
|
|
2507
|
+
name: "owner",
|
|
2508
|
+
outputs: [
|
|
2509
|
+
{
|
|
2510
|
+
internalType: "address",
|
|
2511
|
+
name: "",
|
|
2512
|
+
type: "address",
|
|
2513
|
+
},
|
|
2514
|
+
],
|
|
2515
|
+
stateMutability: "view",
|
|
2516
|
+
type: "function",
|
|
2517
|
+
},
|
|
2518
|
+
{
|
|
2519
|
+
inputs: [],
|
|
2520
|
+
name: "pendingOwner",
|
|
2521
|
+
outputs: [
|
|
2522
|
+
{
|
|
2523
|
+
internalType: "address",
|
|
2524
|
+
name: "",
|
|
2525
|
+
type: "address",
|
|
2526
|
+
},
|
|
2527
|
+
],
|
|
2528
|
+
stateMutability: "view",
|
|
2529
|
+
type: "function",
|
|
2530
|
+
},
|
|
2536
2531
|
{
|
|
2537
2532
|
inputs: [
|
|
2538
2533
|
{
|
|
@@ -3681,6 +3676,50 @@ const _abi = [
|
|
|
3681
3676
|
stateMutability: "nonpayable",
|
|
3682
3677
|
type: "function",
|
|
3683
3678
|
},
|
|
3679
|
+
{
|
|
3680
|
+
inputs: [
|
|
3681
|
+
{
|
|
3682
|
+
internalType: "bytes4",
|
|
3683
|
+
name: "selector",
|
|
3684
|
+
type: "bytes4",
|
|
3685
|
+
},
|
|
3686
|
+
],
|
|
3687
|
+
name: "selectorToFacet",
|
|
3688
|
+
outputs: [
|
|
3689
|
+
{
|
|
3690
|
+
internalType: "address",
|
|
3691
|
+
name: "",
|
|
3692
|
+
type: "address",
|
|
3693
|
+
},
|
|
3694
|
+
],
|
|
3695
|
+
stateMutability: "view",
|
|
3696
|
+
type: "function",
|
|
3697
|
+
},
|
|
3698
|
+
{
|
|
3699
|
+
inputs: [
|
|
3700
|
+
{
|
|
3701
|
+
components: [
|
|
3702
|
+
{
|
|
3703
|
+
internalType: "address",
|
|
3704
|
+
name: "facet",
|
|
3705
|
+
type: "address",
|
|
3706
|
+
},
|
|
3707
|
+
{
|
|
3708
|
+
internalType: "bytes4[]",
|
|
3709
|
+
name: "selectors",
|
|
3710
|
+
type: "bytes4[]",
|
|
3711
|
+
},
|
|
3712
|
+
],
|
|
3713
|
+
internalType: "struct IPActionStorageV4.SelectorsToFacet[]",
|
|
3714
|
+
name: "arr",
|
|
3715
|
+
type: "tuple[]",
|
|
3716
|
+
},
|
|
3717
|
+
],
|
|
3718
|
+
name: "setSelectorToFacets",
|
|
3719
|
+
outputs: [],
|
|
3720
|
+
stateMutability: "nonpayable",
|
|
3721
|
+
type: "function",
|
|
3722
|
+
},
|
|
3684
3723
|
{
|
|
3685
3724
|
inputs: [
|
|
3686
3725
|
{
|
|
@@ -6211,6 +6250,29 @@ const _abi = [
|
|
|
6211
6250
|
stateMutability: "payable",
|
|
6212
6251
|
type: "function",
|
|
6213
6252
|
},
|
|
6253
|
+
{
|
|
6254
|
+
inputs: [
|
|
6255
|
+
{
|
|
6256
|
+
internalType: "address",
|
|
6257
|
+
name: "newOwner",
|
|
6258
|
+
type: "address",
|
|
6259
|
+
},
|
|
6260
|
+
{
|
|
6261
|
+
internalType: "bool",
|
|
6262
|
+
name: "direct",
|
|
6263
|
+
type: "bool",
|
|
6264
|
+
},
|
|
6265
|
+
{
|
|
6266
|
+
internalType: "bool",
|
|
6267
|
+
name: "renounce",
|
|
6268
|
+
type: "bool",
|
|
6269
|
+
},
|
|
6270
|
+
],
|
|
6271
|
+
name: "transferOwnership",
|
|
6272
|
+
outputs: [],
|
|
6273
|
+
stateMutability: "nonpayable",
|
|
6274
|
+
type: "function",
|
|
6275
|
+
},
|
|
6214
6276
|
];
|
|
6215
6277
|
|
|
6216
6278
|
export class IPAllActionV3__factory {
|