@pendle/core-v2 4.5.0-beta-1 → 4.5.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/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
- package/contracts/router/PendleRouterV4.sol +2 -0
- package/deployments/1-core.json +1 -1
- 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/package.json +1 -1
- package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +0 -45
- package/typechain-types/index.ts +0 -10
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"type": "receive"
|
|
29
29
|
}
|
|
30
30
|
],
|
|
31
|
-
"bytecode": "
|
|
32
|
-
"deployedBytecode": "
|
|
31
|
+
"bytecode": "0x608060405234801561001057600080fd5b5060405161025138038061025183398101604081905261002f916100e9565b7ff168c5b0cb4aca9a68f931815c18a144c61ad01d6dd7ca15bd6741672a0ab80080546001600160a01b039384166001600160a01b03199182161790915563523edfc160e11b6000527ff168c5b0cb4aca9a68f931815c18a144c61ad01d6dd7ca15bd6741672a0ab8026020527f64dcb2031b93f2b828088d68228a52c10b3bf4eb531ee3da663820f1b8fd2a6d805492909316911617905561011c565b80516001600160a01b03811681146100e457600080fd5b919050565b600080604083850312156100fc57600080fd5b610105836100cd565b9150610113602084016100cd565b90509250929050565b6101268061012b6000396000f3fe608060405236600a57005b60106012565b005b601e601a6020565b60cd565b565b600080356001600160e01b03191681527ff168c5b0cb4aca9a68f931815c18a144c61ad01d6dd7ca15bd6741672a0ab80260205260408120547ff168c5b0cb4aca9a68f931815c18a144c61ad01d6dd7ca15bd6741672a0ab800906001600160a01b03168060c75760405162461bcd60e51b815260206004820152601060248201526f24a72b20a624a22fa9a2a622a1aa27a960811b604482015260640160405180910390fd5b92915050565b3660008037600080366000845af43d6000803e80801560eb573d6000f35b3d6000fdfea26469706673582212208cb4298b7bdc703254a89cee859873bad7a039538a6cac09b3bd68277d4d5ecb64736f6c63430008170033",
|
|
32
|
+
"deployedBytecode": "0x608060405236600a57005b60106012565b005b601e601a6020565b60cd565b565b600080356001600160e01b03191681527ff168c5b0cb4aca9a68f931815c18a144c61ad01d6dd7ca15bd6741672a0ab80260205260408120547ff168c5b0cb4aca9a68f931815c18a144c61ad01d6dd7ca15bd6741672a0ab800906001600160a01b03168060c75760405162461bcd60e51b815260206004820152601060248201526f24a72b20a624a22fa9a2a622a1aa27a960811b604482015260640160405180910390fd5b92915050565b3660008037600080366000845af43d6000803e80801560eb573d6000f35b3d6000fdfea26469706673582212208cb4298b7bdc703254a89cee859873bad7a039538a6cac09b3bd68277d4d5ecb64736f6c63430008170033",
|
|
33
33
|
"linkReferences": {},
|
|
34
34
|
"deployedLinkReferences": {}
|
|
35
35
|
}
|
package/deployments/1-core.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"PENDLE": "0x808507121b80c02388fad14726482e061b8da827",
|
|
21
21
|
"yieldContractFactory": "0x70ee0A6DB4F5a2Dc4d9c0b57bE97B9987e75BAFD",
|
|
22
22
|
"marketFactory": "0x27b1dAcd74688aF24a64BD3C9C1B143118740784",
|
|
23
|
-
"router": "
|
|
23
|
+
"router": "0x888888888889758F76e7103c6CbF23ABbF58F946",
|
|
24
24
|
"routerStatic": "0x263833d47eA3fA4a30f269323aba6a107f9eB14C",
|
|
25
25
|
"pendleSwap": "0x1e8b6Ac39f8A33f46a6Eb2D1aCD1047B99180AD1",
|
|
26
26
|
"routerHelper": "0x462206b11d185ef6F64B41D344325401C37EC335",
|
package/deployments/10-core.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"PENDLE": "0xBC7B1Ff1c6989f006a1185318eD4E7b5796e66E1",
|
|
20
20
|
"yieldContractFactory": "0xf5a7De2D276dbda3EEf1b62A9E718EFf4d29dDC8",
|
|
21
21
|
"marketFactory": "0x17F100fB4bE2707675c6439468d38249DD993d58",
|
|
22
|
-
"router": "
|
|
22
|
+
"router": "0x888888888889758F76e7103c6CbF23ABbF58F946",
|
|
23
23
|
"routerStatic": "0x704478Dd72FD7F9B83d1F1e0fc18C14B54F034d0",
|
|
24
24
|
"pendleSwap": "0x9B9f96786B1051F5c72c517e7DEB189CF66E704F",
|
|
25
25
|
"routerHelper": "0x462206b11d185ef6F64B41D344325401C37EC335",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"PENDLE": "0x0c880f6761F1af8d9Aa9C466984b80DAb9a8c9e8",
|
|
20
20
|
"yieldContractFactory": "0x28dE02Ac3c3F5ef427e55c321F73fDc7F192e8E4",
|
|
21
21
|
"marketFactory": "0xf5a7De2D276dbda3EEf1b62A9E718EFf4d29dDC8",
|
|
22
|
-
"router": "
|
|
22
|
+
"router": "0x888888888889758F76e7103c6CbF23ABbF58F946",
|
|
23
23
|
"routerStatic": "0xAdB09F65bd90d19e3148D9ccb693F3161C6DB3E8",
|
|
24
24
|
"pendleSwap": "0x63a45E0B2686F7be77Bb85735c35704D1046459a",
|
|
25
25
|
"routerHelper": "0x462206b11d185ef6F64B41D344325401C37EC335",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"baseCodeSplitter": "0x3d622b0ac50552d6283C7efE6EAdfc98aD0f6cB7",
|
|
18
18
|
"PENDLE": "0xd27B18915e7acc8FD6Ac75DB6766a80f8D2f5729",
|
|
19
|
-
"router": "
|
|
19
|
+
"router": "0x888888888889758F76e7103c6CbF23ABbF58F946",
|
|
20
20
|
"routerStatic": "0xCAd502Bb55d1A3F79952F969BFF3f011CF30a94a",
|
|
21
21
|
"pendleSwap": "0x30d1dBD3CC0bD3217fA048596a7cd6932D205438",
|
|
22
22
|
"ptAndLpOracle": "0xADC3285cFC28c21b59A1C2d177eEb9ED323178dC",
|
package/deployments/56-core.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"PENDLE": "0xb3Ed0A426155B79B898849803E3B36552f7ED507",
|
|
20
20
|
"yieldContractFactory": "0xa2530b4cfBF271e2B409A05C2CE520e4cB5fCc88",
|
|
21
21
|
"marketFactory": "0x2bEa6BfD8fbFF45aA2a893EB3B6d85D10EFcC70E",
|
|
22
|
-
"router": "
|
|
22
|
+
"router": "0x888888888889758F76e7103c6CbF23ABbF58F946",
|
|
23
23
|
"routerStatic": "0x2700ADB035F82a11899ce1D3f1BF8451c296eABb",
|
|
24
24
|
"pendleSwap": "0x439B4d66255eFf74e621FBacb00D7162b588Ff4b",
|
|
25
25
|
"routerHelper": "0x09D65812dCD0f276e052583d41885cA5C7Dd0086",
|
package/package.json
CHANGED
|
@@ -36,7 +36,7 @@ const _abi = [
|
|
|
36
36
|
];
|
|
37
37
|
|
|
38
38
|
const _bytecode =
|
|
39
|
-
"
|
|
39
|
+
"0x608060405234801561001057600080fd5b5060405161025138038061025183398101604081905261002f916100e9565b7ff168c5b0cb4aca9a68f931815c18a144c61ad01d6dd7ca15bd6741672a0ab80080546001600160a01b039384166001600160a01b03199182161790915563523edfc160e11b6000527ff168c5b0cb4aca9a68f931815c18a144c61ad01d6dd7ca15bd6741672a0ab8026020527f64dcb2031b93f2b828088d68228a52c10b3bf4eb531ee3da663820f1b8fd2a6d805492909316911617905561011c565b80516001600160a01b03811681146100e457600080fd5b919050565b600080604083850312156100fc57600080fd5b610105836100cd565b9150610113602084016100cd565b90509250929050565b6101268061012b6000396000f3fe608060405236600a57005b60106012565b005b601e601a6020565b60cd565b565b600080356001600160e01b03191681527ff168c5b0cb4aca9a68f931815c18a144c61ad01d6dd7ca15bd6741672a0ab80260205260408120547ff168c5b0cb4aca9a68f931815c18a144c61ad01d6dd7ca15bd6741672a0ab800906001600160a01b03168060c75760405162461bcd60e51b815260206004820152601060248201526f24a72b20a624a22fa9a2a622a1aa27a960811b604482015260640160405180910390fd5b92915050565b3660008037600080366000845af43d6000803e80801560eb573d6000f35b3d6000fdfea26469706673582212208cb4298b7bdc703254a89cee859873bad7a039538a6cac09b3bd68277d4d5ecb64736f6c63430008170033";
|
|
40
40
|
|
|
41
41
|
type PendleRouterV4ConstructorParams =
|
|
42
42
|
| [signer?: Signer]
|
|
@@ -864,14 +864,6 @@ declare module "hardhat/types/runtime" {
|
|
|
864
864
|
name: "IDaiLikePermit",
|
|
865
865
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
866
866
|
): Promise<Contracts.IDaiLikePermit__factory>;
|
|
867
|
-
getContractFactory(
|
|
868
|
-
name: "IDiamondCut",
|
|
869
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
870
|
-
): Promise<Contracts.IDiamondCut__factory>;
|
|
871
|
-
getContractFactory(
|
|
872
|
-
name: "IDiamondLoupe",
|
|
873
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
874
|
-
): Promise<Contracts.IDiamondLoupe__factory>;
|
|
875
867
|
getContractFactory(
|
|
876
868
|
name: "IERC4626",
|
|
877
869
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -1468,18 +1460,6 @@ declare module "hardhat/types/runtime" {
|
|
|
1468
1460
|
name: "ActionSwapYTV3",
|
|
1469
1461
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
1470
1462
|
): Promise<Contracts.ActionSwapYTV3__factory>;
|
|
1471
|
-
getContractFactory(
|
|
1472
|
-
name: "PendleRouterHelper",
|
|
1473
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
1474
|
-
): Promise<Contracts.PendleRouterHelper__factory>;
|
|
1475
|
-
getContractFactory(
|
|
1476
|
-
name: "RouterV2InterfaceForRouterHelper",
|
|
1477
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
1478
|
-
): Promise<Contracts.RouterV2InterfaceForRouterHelper__factory>;
|
|
1479
|
-
getContractFactory(
|
|
1480
|
-
name: "PendleRouterV3",
|
|
1481
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
1482
|
-
): Promise<Contracts.PendleRouterV3__factory>;
|
|
1483
1463
|
getContractFactory(
|
|
1484
1464
|
name: "PendleRouterV4",
|
|
1485
1465
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -2590,16 +2570,6 @@ declare module "hardhat/types/runtime" {
|
|
|
2590
2570
|
address: string,
|
|
2591
2571
|
signer?: ethers.Signer
|
|
2592
2572
|
): Promise<Contracts.IDaiLikePermit>;
|
|
2593
|
-
getContractAt(
|
|
2594
|
-
name: "IDiamondCut",
|
|
2595
|
-
address: string,
|
|
2596
|
-
signer?: ethers.Signer
|
|
2597
|
-
): Promise<Contracts.IDiamondCut>;
|
|
2598
|
-
getContractAt(
|
|
2599
|
-
name: "IDiamondLoupe",
|
|
2600
|
-
address: string,
|
|
2601
|
-
signer?: ethers.Signer
|
|
2602
|
-
): Promise<Contracts.IDiamondLoupe>;
|
|
2603
2573
|
getContractAt(
|
|
2604
2574
|
name: "IERC4626",
|
|
2605
2575
|
address: string,
|
|
@@ -3345,21 +3315,6 @@ declare module "hardhat/types/runtime" {
|
|
|
3345
3315
|
address: string,
|
|
3346
3316
|
signer?: ethers.Signer
|
|
3347
3317
|
): Promise<Contracts.ActionSwapYTV3>;
|
|
3348
|
-
getContractAt(
|
|
3349
|
-
name: "PendleRouterHelper",
|
|
3350
|
-
address: string,
|
|
3351
|
-
signer?: ethers.Signer
|
|
3352
|
-
): Promise<Contracts.PendleRouterHelper>;
|
|
3353
|
-
getContractAt(
|
|
3354
|
-
name: "RouterV2InterfaceForRouterHelper",
|
|
3355
|
-
address: string,
|
|
3356
|
-
signer?: ethers.Signer
|
|
3357
|
-
): Promise<Contracts.RouterV2InterfaceForRouterHelper>;
|
|
3358
|
-
getContractAt(
|
|
3359
|
-
name: "PendleRouterV3",
|
|
3360
|
-
address: string,
|
|
3361
|
-
signer?: ethers.Signer
|
|
3362
|
-
): Promise<Contracts.PendleRouterV3>;
|
|
3363
3318
|
getContractAt(
|
|
3364
3319
|
name: "PendleRouterV4",
|
|
3365
3320
|
address: string,
|
package/typechain-types/index.ts
CHANGED
|
@@ -213,8 +213,6 @@ export type { IApeStaking } from "./IApeStaking";
|
|
|
213
213
|
export type { IBenQiComptroller } from "./IBenQiComptroller";
|
|
214
214
|
export type { IBenQiInterestRateModel } from "./IBenQiInterestRateModel";
|
|
215
215
|
export type { IDaiLikePermit } from "./IDaiLikePermit";
|
|
216
|
-
export type { IDiamondCut } from "./IDiamondCut";
|
|
217
|
-
export type { IDiamondLoupe } from "./IDiamondLoupe";
|
|
218
216
|
export type { IERC4626 } from "./IERC4626";
|
|
219
217
|
export type { ILayerZeroEndpoint } from "./ILayerZeroEndpoint";
|
|
220
218
|
export type { ILayerZeroReceiver } from "./ILayerZeroReceiver";
|
|
@@ -364,9 +362,6 @@ export type { ActionMiscV3 } from "./ActionMiscV3";
|
|
|
364
362
|
export type { ActionStorageV4 } from "./ActionStorageV4";
|
|
365
363
|
export type { ActionSwapPTV3 } from "./ActionSwapPTV3";
|
|
366
364
|
export type { ActionSwapYTV3 } from "./ActionSwapYTV3";
|
|
367
|
-
export type { PendleRouterHelper } from "./PendleRouterHelper";
|
|
368
|
-
export type { RouterV2InterfaceForRouterHelper } from "./RouterV2InterfaceForRouterHelper";
|
|
369
|
-
export type { PendleRouterV3 } from "./PendleRouterV3";
|
|
370
365
|
export type { PendleRouterV4 } from "./PendleRouterV4";
|
|
371
366
|
export type { IPSwapAggregator } from "./IPSwapAggregator";
|
|
372
367
|
export type { IAggregationExecutor } from "./IAggregationExecutor";
|
|
@@ -591,8 +586,6 @@ export { IApeStaking__factory } from "./factories/IApeStaking__factory";
|
|
|
591
586
|
export { IBenQiComptroller__factory } from "./factories/IBenQiComptroller__factory";
|
|
592
587
|
export { IBenQiInterestRateModel__factory } from "./factories/IBenQiInterestRateModel__factory";
|
|
593
588
|
export { IDaiLikePermit__factory } from "./factories/IDaiLikePermit__factory";
|
|
594
|
-
export { IDiamondCut__factory } from "./factories/IDiamondCut__factory";
|
|
595
|
-
export { IDiamondLoupe__factory } from "./factories/IDiamondLoupe__factory";
|
|
596
589
|
export { IERC4626__factory } from "./factories/IERC4626__factory";
|
|
597
590
|
export { ILayerZeroEndpoint__factory } from "./factories/ILayerZeroEndpoint__factory";
|
|
598
591
|
export { ILayerZeroReceiver__factory } from "./factories/ILayerZeroReceiver__factory";
|
|
@@ -742,9 +735,6 @@ export { ActionMiscV3__factory } from "./factories/ActionMiscV3__factory";
|
|
|
742
735
|
export { ActionStorageV4__factory } from "./factories/ActionStorageV4__factory";
|
|
743
736
|
export { ActionSwapPTV3__factory } from "./factories/ActionSwapPTV3__factory";
|
|
744
737
|
export { ActionSwapYTV3__factory } from "./factories/ActionSwapYTV3__factory";
|
|
745
|
-
export { PendleRouterHelper__factory } from "./factories/PendleRouterHelper__factory";
|
|
746
|
-
export { RouterV2InterfaceForRouterHelper__factory } from "./factories/RouterV2InterfaceForRouterHelper__factory";
|
|
747
|
-
export { PendleRouterV3__factory } from "./factories/PendleRouterV3__factory";
|
|
748
738
|
export { PendleRouterV4__factory } from "./factories/PendleRouterV4__factory";
|
|
749
739
|
export { IPSwapAggregator__factory } from "./factories/IPSwapAggregator__factory";
|
|
750
740
|
export { IAggregationExecutor__factory } from "./factories/IAggregationExecutor__factory";
|