@pendle/core-v2 2.8.0-mainnet → 2.8.2-mainnet
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/UniV2/PendleUniV2Base.sol/PendleCamelotV1Base.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/UniV2/PendleUniV2Base.sol/PendleCamelotV1Base.json +63 -0
- package/build/artifacts/contracts/interfaces/ICamelotPair.sol/ICamelotPair.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ICamelotPair.sol/ICamelotPair.json +716 -0
- package/build/artifacts/contracts/interfaces/ICamelotRouter.sol/ICamelotRouter.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ICamelotRouter.sol/ICamelotRouter.json +647 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol +31 -10
- package/contracts/offchain-helpers/PendleMulticallV1.sol +61 -0
- package/deployments/1-markets/BALANCER-LP-AURA-STAFI-RETH-WETH-JUNE-27-2024.json +5 -5
- package/deployments/1-offchain-helper.json +1 -1
- package/deployments/42161-core.json +3 -3
- package/deployments/42161-offchain-helper.json +1 -1
- package/package.json +1 -1
- package/typechain-types/ICamelotPair.ts +972 -0
- package/typechain-types/ICamelotRouter.ts +955 -0
- package/typechain-types/PendleCamelotV1Base.ts +120 -0
- package/typechain-types/factories/ICamelotPair__factory.ts +728 -0
- package/typechain-types/factories/ICamelotRouter__factory.ts +662 -0
- package/typechain-types/factories/PendleCamelotV1Base__factory.ts +78 -0
- package/typechain-types/hardhat.d.ts +27 -99
- package/typechain-types/index.ts +6 -22
- package/contracts/offchain-helpers/PendleMulticall.sol +0 -26
- /package/deployments/1-markets/{BALANCER-LP-AURA-ANKRETH-WETH-MARCH-28-2024.json → deprecated/BALANCER-LP-AURA-ANKRETH-WETH-MARCH-28-2024.json} +0 -0
- /package/deployments/1-markets/{BALANCER-LP-AURA-RETH-WETH-28DEC.json → deprecated/BALANCER-LP-AURA-RETH-WETH-28DEC.json} +0 -0
- /package/deployments/1-markets/{BALANCER-LP-AURA-WSTETH-WETH-JUN272024.json → deprecated/BALANCER-LP-AURA-WSTETH-WETH-JUN272024.json} +0 -0
- /package/deployments/1-markets/{FRAXUSDC-CURVELP-MARCH30.json → deprecated/FRAXUSDC-CURVELP-MARCH30.json} +0 -0
- /package/deployments/1-markets/{LOOKS-STAKING-MARCH30.json → deprecated/LOOKS-STAKING-MARCH30.json} +0 -0
- /package/deployments/1-markets/{STETH-MARCH30.json → deprecated/STETH-MARCH30.json} +0 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type {
|
|
8
|
+
PendleCamelotV1Base,
|
|
9
|
+
PendleCamelotV1BaseInterface,
|
|
10
|
+
} from "../PendleCamelotV1Base";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
inputs: [],
|
|
15
|
+
name: "pair",
|
|
16
|
+
outputs: [
|
|
17
|
+
{
|
|
18
|
+
internalType: "address",
|
|
19
|
+
name: "",
|
|
20
|
+
type: "address",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
stateMutability: "view",
|
|
24
|
+
type: "function",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
inputs: [],
|
|
28
|
+
name: "router",
|
|
29
|
+
outputs: [
|
|
30
|
+
{
|
|
31
|
+
internalType: "address",
|
|
32
|
+
name: "",
|
|
33
|
+
type: "address",
|
|
34
|
+
},
|
|
35
|
+
],
|
|
36
|
+
stateMutability: "view",
|
|
37
|
+
type: "function",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
inputs: [],
|
|
41
|
+
name: "tokenA",
|
|
42
|
+
outputs: [
|
|
43
|
+
{
|
|
44
|
+
internalType: "address",
|
|
45
|
+
name: "",
|
|
46
|
+
type: "address",
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
stateMutability: "view",
|
|
50
|
+
type: "function",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
inputs: [],
|
|
54
|
+
name: "tokenB",
|
|
55
|
+
outputs: [
|
|
56
|
+
{
|
|
57
|
+
internalType: "address",
|
|
58
|
+
name: "",
|
|
59
|
+
type: "address",
|
|
60
|
+
},
|
|
61
|
+
],
|
|
62
|
+
stateMutability: "view",
|
|
63
|
+
type: "function",
|
|
64
|
+
},
|
|
65
|
+
];
|
|
66
|
+
|
|
67
|
+
export class PendleCamelotV1Base__factory {
|
|
68
|
+
static readonly abi = _abi;
|
|
69
|
+
static createInterface(): PendleCamelotV1BaseInterface {
|
|
70
|
+
return new utils.Interface(_abi) as PendleCamelotV1BaseInterface;
|
|
71
|
+
}
|
|
72
|
+
static connect(
|
|
73
|
+
address: string,
|
|
74
|
+
signerOrProvider: Signer | Provider
|
|
75
|
+
): PendleCamelotV1Base {
|
|
76
|
+
return new Contract(address, _abi, signerOrProvider) as PendleCamelotV1Base;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -12,18 +12,6 @@ import * as Contracts from ".";
|
|
|
12
12
|
|
|
13
13
|
declare module "hardhat/types/runtime" {
|
|
14
14
|
interface HardhatEthersHelpers extends HardhatEthersHelpersBase {
|
|
15
|
-
getContractFactory(
|
|
16
|
-
name: "AggregatorInterface",
|
|
17
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
18
|
-
): Promise<Contracts.AggregatorInterface__factory>;
|
|
19
|
-
getContractFactory(
|
|
20
|
-
name: "AggregatorV2V3Interface",
|
|
21
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
22
|
-
): Promise<Contracts.AggregatorV2V3Interface__factory>;
|
|
23
|
-
getContractFactory(
|
|
24
|
-
name: "AggregatorV3Interface",
|
|
25
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
26
|
-
): Promise<Contracts.AggregatorV3Interface__factory>;
|
|
27
15
|
getContractFactory(
|
|
28
16
|
name: "AccessControlUpgradeable",
|
|
29
17
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -164,10 +152,6 @@ declare module "hardhat/types/runtime" {
|
|
|
164
152
|
name: "MetaStablePreview",
|
|
165
153
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
166
154
|
): Promise<Contracts.MetaStablePreview__factory>;
|
|
167
|
-
getContractFactory(
|
|
168
|
-
name: "PendleAuraBalancerStableLPSY",
|
|
169
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
170
|
-
): Promise<Contracts.PendleAuraBalancerStableLPSY__factory>;
|
|
171
155
|
getContractFactory(
|
|
172
156
|
name: "PendleAuraBalancerStableLPSYV2",
|
|
173
157
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -176,18 +160,10 @@ declare module "hardhat/types/runtime" {
|
|
|
176
160
|
name: "StablePreviewBase",
|
|
177
161
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
178
162
|
): Promise<Contracts.StablePreviewBase__factory>;
|
|
179
|
-
getContractFactory(
|
|
180
|
-
name: "PendleAuraWethAnkrethSY",
|
|
181
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
182
|
-
): Promise<Contracts.PendleAuraWethAnkrethSY__factory>;
|
|
183
163
|
getContractFactory(
|
|
184
164
|
name: "PendleAuraWethAnkrethSYV2",
|
|
185
165
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
186
166
|
): Promise<Contracts.PendleAuraWethAnkrethSYV2__factory>;
|
|
187
|
-
getContractFactory(
|
|
188
|
-
name: "PendleAuraWethRethSY",
|
|
189
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
190
|
-
): Promise<Contracts.PendleAuraWethRethSY__factory>;
|
|
191
167
|
getContractFactory(
|
|
192
168
|
name: "PendleAuraWethRocketEthSYV2",
|
|
193
169
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -196,10 +172,6 @@ declare module "hardhat/types/runtime" {
|
|
|
196
172
|
name: "PendleAuraWethStafiEthSY",
|
|
197
173
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
198
174
|
): Promise<Contracts.PendleAuraWethStafiEthSY__factory>;
|
|
199
|
-
getContractFactory(
|
|
200
|
-
name: "PendleAuraWethWstethSY",
|
|
201
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
202
|
-
): Promise<Contracts.PendleAuraWethWstethSY__factory>;
|
|
203
175
|
getContractFactory(
|
|
204
176
|
name: "PendleAuraWethWstethSYV2",
|
|
205
177
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -252,6 +224,10 @@ declare module "hardhat/types/runtime" {
|
|
|
252
224
|
name: "PendleWstEthSY",
|
|
253
225
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
254
226
|
): Promise<Contracts.PendleWstEthSY__factory>;
|
|
227
|
+
getContractFactory(
|
|
228
|
+
name: "PendleCamelotV1Base",
|
|
229
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
230
|
+
): Promise<Contracts.PendleCamelotV1Base__factory>;
|
|
255
231
|
getContractFactory(
|
|
256
232
|
name: "SYBase",
|
|
257
233
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -388,6 +364,14 @@ declare module "hardhat/types/runtime" {
|
|
|
388
364
|
name: "IBenQiInterestRateModel",
|
|
389
365
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
390
366
|
): Promise<Contracts.IBenQiInterestRateModel__factory>;
|
|
367
|
+
getContractFactory(
|
|
368
|
+
name: "ICamelotPair",
|
|
369
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
370
|
+
): Promise<Contracts.ICamelotPair__factory>;
|
|
371
|
+
getContractFactory(
|
|
372
|
+
name: "ICamelotRouter",
|
|
373
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
374
|
+
): Promise<Contracts.ICamelotRouter__factory>;
|
|
391
375
|
getContractFactory(
|
|
392
376
|
name: "IDiamondCut",
|
|
393
377
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -528,10 +512,6 @@ declare module "hardhat/types/runtime" {
|
|
|
528
512
|
name: "IPPrincipalToken",
|
|
529
513
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
530
514
|
): Promise<Contracts.IPPrincipalToken__factory>;
|
|
531
|
-
getContractFactory(
|
|
532
|
-
name: "IPPtOracle",
|
|
533
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
534
|
-
): Promise<Contracts.IPPtOracle__factory>;
|
|
535
515
|
getContractFactory(
|
|
536
516
|
name: "IPRouterHelper",
|
|
537
517
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -680,18 +660,6 @@ declare module "hardhat/types/runtime" {
|
|
|
680
660
|
name: "Multicall2",
|
|
681
661
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
682
662
|
): Promise<Contracts.Multicall2__factory>;
|
|
683
|
-
getContractFactory(
|
|
684
|
-
name: "PendlePtOracle",
|
|
685
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
686
|
-
): Promise<Contracts.PendlePtOracle__factory>;
|
|
687
|
-
getContractFactory(
|
|
688
|
-
name: "PendlePtGlpOracle",
|
|
689
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
690
|
-
): Promise<Contracts.PendlePtGlpOracle__factory>;
|
|
691
|
-
getContractFactory(
|
|
692
|
-
name: "PendlePtUsdChainlinkOracle",
|
|
693
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
694
|
-
): Promise<Contracts.PendlePtUsdChainlinkOracle__factory>;
|
|
695
663
|
getContractFactory(
|
|
696
664
|
name: "PendleMulticall",
|
|
697
665
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -809,21 +777,6 @@ declare module "hardhat/types/runtime" {
|
|
|
809
777
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
810
778
|
): Promise<Contracts.PendleSwapEthereum__factory>;
|
|
811
779
|
|
|
812
|
-
getContractAt(
|
|
813
|
-
name: "AggregatorInterface",
|
|
814
|
-
address: string,
|
|
815
|
-
signer?: ethers.Signer
|
|
816
|
-
): Promise<Contracts.AggregatorInterface>;
|
|
817
|
-
getContractAt(
|
|
818
|
-
name: "AggregatorV2V3Interface",
|
|
819
|
-
address: string,
|
|
820
|
-
signer?: ethers.Signer
|
|
821
|
-
): Promise<Contracts.AggregatorV2V3Interface>;
|
|
822
|
-
getContractAt(
|
|
823
|
-
name: "AggregatorV3Interface",
|
|
824
|
-
address: string,
|
|
825
|
-
signer?: ethers.Signer
|
|
826
|
-
): Promise<Contracts.AggregatorV3Interface>;
|
|
827
780
|
getContractAt(
|
|
828
781
|
name: "AccessControlUpgradeable",
|
|
829
782
|
address: string,
|
|
@@ -999,11 +952,6 @@ declare module "hardhat/types/runtime" {
|
|
|
999
952
|
address: string,
|
|
1000
953
|
signer?: ethers.Signer
|
|
1001
954
|
): Promise<Contracts.MetaStablePreview>;
|
|
1002
|
-
getContractAt(
|
|
1003
|
-
name: "PendleAuraBalancerStableLPSY",
|
|
1004
|
-
address: string,
|
|
1005
|
-
signer?: ethers.Signer
|
|
1006
|
-
): Promise<Contracts.PendleAuraBalancerStableLPSY>;
|
|
1007
955
|
getContractAt(
|
|
1008
956
|
name: "PendleAuraBalancerStableLPSYV2",
|
|
1009
957
|
address: string,
|
|
@@ -1014,21 +962,11 @@ declare module "hardhat/types/runtime" {
|
|
|
1014
962
|
address: string,
|
|
1015
963
|
signer?: ethers.Signer
|
|
1016
964
|
): Promise<Contracts.StablePreviewBase>;
|
|
1017
|
-
getContractAt(
|
|
1018
|
-
name: "PendleAuraWethAnkrethSY",
|
|
1019
|
-
address: string,
|
|
1020
|
-
signer?: ethers.Signer
|
|
1021
|
-
): Promise<Contracts.PendleAuraWethAnkrethSY>;
|
|
1022
965
|
getContractAt(
|
|
1023
966
|
name: "PendleAuraWethAnkrethSYV2",
|
|
1024
967
|
address: string,
|
|
1025
968
|
signer?: ethers.Signer
|
|
1026
969
|
): Promise<Contracts.PendleAuraWethAnkrethSYV2>;
|
|
1027
|
-
getContractAt(
|
|
1028
|
-
name: "PendleAuraWethRethSY",
|
|
1029
|
-
address: string,
|
|
1030
|
-
signer?: ethers.Signer
|
|
1031
|
-
): Promise<Contracts.PendleAuraWethRethSY>;
|
|
1032
970
|
getContractAt(
|
|
1033
971
|
name: "PendleAuraWethRocketEthSYV2",
|
|
1034
972
|
address: string,
|
|
@@ -1039,11 +977,6 @@ declare module "hardhat/types/runtime" {
|
|
|
1039
977
|
address: string,
|
|
1040
978
|
signer?: ethers.Signer
|
|
1041
979
|
): Promise<Contracts.PendleAuraWethStafiEthSY>;
|
|
1042
|
-
getContractAt(
|
|
1043
|
-
name: "PendleAuraWethWstethSY",
|
|
1044
|
-
address: string,
|
|
1045
|
-
signer?: ethers.Signer
|
|
1046
|
-
): Promise<Contracts.PendleAuraWethWstethSY>;
|
|
1047
980
|
getContractAt(
|
|
1048
981
|
name: "PendleAuraWethWstethSYV2",
|
|
1049
982
|
address: string,
|
|
@@ -1109,6 +1042,11 @@ declare module "hardhat/types/runtime" {
|
|
|
1109
1042
|
address: string,
|
|
1110
1043
|
signer?: ethers.Signer
|
|
1111
1044
|
): Promise<Contracts.PendleWstEthSY>;
|
|
1045
|
+
getContractAt(
|
|
1046
|
+
name: "PendleCamelotV1Base",
|
|
1047
|
+
address: string,
|
|
1048
|
+
signer?: ethers.Signer
|
|
1049
|
+
): Promise<Contracts.PendleCamelotV1Base>;
|
|
1112
1050
|
getContractAt(
|
|
1113
1051
|
name: "SYBase",
|
|
1114
1052
|
address: string,
|
|
@@ -1279,6 +1217,16 @@ declare module "hardhat/types/runtime" {
|
|
|
1279
1217
|
address: string,
|
|
1280
1218
|
signer?: ethers.Signer
|
|
1281
1219
|
): Promise<Contracts.IBenQiInterestRateModel>;
|
|
1220
|
+
getContractAt(
|
|
1221
|
+
name: "ICamelotPair",
|
|
1222
|
+
address: string,
|
|
1223
|
+
signer?: ethers.Signer
|
|
1224
|
+
): Promise<Contracts.ICamelotPair>;
|
|
1225
|
+
getContractAt(
|
|
1226
|
+
name: "ICamelotRouter",
|
|
1227
|
+
address: string,
|
|
1228
|
+
signer?: ethers.Signer
|
|
1229
|
+
): Promise<Contracts.ICamelotRouter>;
|
|
1282
1230
|
getContractAt(
|
|
1283
1231
|
name: "IDiamondCut",
|
|
1284
1232
|
address: string,
|
|
@@ -1454,11 +1402,6 @@ declare module "hardhat/types/runtime" {
|
|
|
1454
1402
|
address: string,
|
|
1455
1403
|
signer?: ethers.Signer
|
|
1456
1404
|
): Promise<Contracts.IPPrincipalToken>;
|
|
1457
|
-
getContractAt(
|
|
1458
|
-
name: "IPPtOracle",
|
|
1459
|
-
address: string,
|
|
1460
|
-
signer?: ethers.Signer
|
|
1461
|
-
): Promise<Contracts.IPPtOracle>;
|
|
1462
1405
|
getContractAt(
|
|
1463
1406
|
name: "IPRouterHelper",
|
|
1464
1407
|
address: string,
|
|
@@ -1644,21 +1587,6 @@ declare module "hardhat/types/runtime" {
|
|
|
1644
1587
|
address: string,
|
|
1645
1588
|
signer?: ethers.Signer
|
|
1646
1589
|
): Promise<Contracts.Multicall2>;
|
|
1647
|
-
getContractAt(
|
|
1648
|
-
name: "PendlePtOracle",
|
|
1649
|
-
address: string,
|
|
1650
|
-
signer?: ethers.Signer
|
|
1651
|
-
): Promise<Contracts.PendlePtOracle>;
|
|
1652
|
-
getContractAt(
|
|
1653
|
-
name: "PendlePtGlpOracle",
|
|
1654
|
-
address: string,
|
|
1655
|
-
signer?: ethers.Signer
|
|
1656
|
-
): Promise<Contracts.PendlePtGlpOracle>;
|
|
1657
|
-
getContractAt(
|
|
1658
|
-
name: "PendlePtUsdChainlinkOracle",
|
|
1659
|
-
address: string,
|
|
1660
|
-
signer?: ethers.Signer
|
|
1661
|
-
): Promise<Contracts.PendlePtUsdChainlinkOracle>;
|
|
1662
1590
|
getContractAt(
|
|
1663
1591
|
name: "PendleMulticall",
|
|
1664
1592
|
address: string,
|
package/typechain-types/index.ts
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
/* Autogenerated file. Do not edit manually. */
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
export type { AggregatorInterface } from "./AggregatorInterface";
|
|
5
|
-
export type { AggregatorV2V3Interface } from "./AggregatorV2V3Interface";
|
|
6
|
-
export type { AggregatorV3Interface } from "./AggregatorV3Interface";
|
|
7
4
|
export type { AccessControlUpgradeable } from "./AccessControlUpgradeable";
|
|
8
5
|
export type { IAccessControlUpgradeable } from "./IAccessControlUpgradeable";
|
|
9
6
|
export type { Initializable } from "./Initializable";
|
|
@@ -39,15 +36,11 @@ export type { RewardManagerAbstract } from "./RewardManagerAbstract";
|
|
|
39
36
|
export type { SAPE } from "./SAPE";
|
|
40
37
|
export type { MetaStableMath } from "./MetaStableMath";
|
|
41
38
|
export type { MetaStablePreview } from "./MetaStablePreview";
|
|
42
|
-
export type { PendleAuraBalancerStableLPSY } from "./PendleAuraBalancerStableLPSY";
|
|
43
39
|
export type { PendleAuraBalancerStableLPSYV2 } from "./PendleAuraBalancerStableLPSYV2";
|
|
44
40
|
export type { StablePreviewBase } from "./StablePreviewBase";
|
|
45
|
-
export type { PendleAuraWethAnkrethSY } from "./PendleAuraWethAnkrethSY";
|
|
46
41
|
export type { PendleAuraWethAnkrethSYV2 } from "./PendleAuraWethAnkrethSYV2";
|
|
47
|
-
export type { PendleAuraWethRethSY } from "./PendleAuraWethRethSY";
|
|
48
42
|
export type { PendleAuraWethRocketEthSYV2 } from "./PendleAuraWethRocketEthSYV2";
|
|
49
43
|
export type { PendleAuraWethStafiEthSY } from "./PendleAuraWethStafiEthSY";
|
|
50
|
-
export type { PendleAuraWethWstethSY } from "./PendleAuraWethWstethSY";
|
|
51
44
|
export type { PendleAuraWethWstethSYV2 } from "./PendleAuraWethWstethSYV2";
|
|
52
45
|
export type { PendleQiTokenHelper } from "./PendleQiTokenHelper";
|
|
53
46
|
export type { PendleQiTokenSY } from "./PendleQiTokenSY";
|
|
@@ -61,6 +54,7 @@ export type { PendleLooksStakingSY } from "./PendleLooksStakingSY";
|
|
|
61
54
|
export type { PendleSfrxEthSY } from "./PendleSfrxEthSY";
|
|
62
55
|
export type { PendleStargateLPSY } from "./PendleStargateLPSY";
|
|
63
56
|
export type { PendleWstEthSY } from "./PendleWstEthSY";
|
|
57
|
+
export type { PendleCamelotV1Base } from "./PendleCamelotV1Base";
|
|
64
58
|
export type { SYBase } from "./SYBase";
|
|
65
59
|
export type { SYBaseWithRewards } from "./SYBaseWithRewards";
|
|
66
60
|
export type { InterestManagerYT } from "./InterestManagerYT";
|
|
@@ -95,6 +89,8 @@ export type { IAddressProvider } from "./IAddressProvider";
|
|
|
95
89
|
export type { IApeStaking } from "./IApeStaking";
|
|
96
90
|
export type { IBenQiComptroller } from "./IBenQiComptroller";
|
|
97
91
|
export type { IBenQiInterestRateModel } from "./IBenQiInterestRateModel";
|
|
92
|
+
export type { ICamelotPair } from "./ICamelotPair";
|
|
93
|
+
export type { ICamelotRouter } from "./ICamelotRouter";
|
|
98
94
|
export type { IDiamondCut } from "./IDiamondCut";
|
|
99
95
|
export type { IDiamondLoupe } from "./IDiamondLoupe";
|
|
100
96
|
export type { IERC4626 } from "./IERC4626";
|
|
@@ -130,7 +126,6 @@ export type { IPMiniDiamond } from "./IPMiniDiamond";
|
|
|
130
126
|
export type { IPMsgReceiverApp } from "./IPMsgReceiverApp";
|
|
131
127
|
export type { IPMsgSendEndpoint } from "./IPMsgSendEndpoint";
|
|
132
128
|
export type { IPPrincipalToken } from "./IPPrincipalToken";
|
|
133
|
-
export type { IPPtOracle } from "./IPPtOracle";
|
|
134
129
|
export type { IPRouterHelper } from "./IPRouterHelper";
|
|
135
130
|
export type { IPRouterStatic } from "./IPRouterStatic";
|
|
136
131
|
export type { IPVeToken } from "./IPVeToken";
|
|
@@ -168,9 +163,6 @@ export type { BaseSplitCodeFactoryContract } from "./BaseSplitCodeFactoryContrac
|
|
|
168
163
|
export type { Broadcaster } from "./Broadcaster";
|
|
169
164
|
export type { BulkSellerOffchain } from "./BulkSellerOffchain";
|
|
170
165
|
export type { Multicall2 } from "./Multicall2";
|
|
171
|
-
export type { PendlePtOracle } from "./PendlePtOracle";
|
|
172
|
-
export type { PendlePtGlpOracle } from "./PendlePtGlpOracle";
|
|
173
|
-
export type { PendlePtUsdChainlinkOracle } from "./PendlePtUsdChainlinkOracle";
|
|
174
166
|
export type { PendleMulticall } from "./PendleMulticall";
|
|
175
167
|
export type { ActionInfoStatic } from "./ActionInfoStatic";
|
|
176
168
|
export type { ActionMarketAuxStatic } from "./ActionMarketAuxStatic";
|
|
@@ -198,9 +190,6 @@ export type { IExecutorHelperEthereum1 } from "./IExecutorHelperEthereum1";
|
|
|
198
190
|
export type { PendleSwapArbitrum } from "./PendleSwapArbitrum";
|
|
199
191
|
export type { PendleSwapEthereum } from "./PendleSwapEthereum";
|
|
200
192
|
|
|
201
|
-
export { AggregatorInterface__factory } from "./factories/AggregatorInterface__factory";
|
|
202
|
-
export { AggregatorV2V3Interface__factory } from "./factories/AggregatorV2V3Interface__factory";
|
|
203
|
-
export { AggregatorV3Interface__factory } from "./factories/AggregatorV3Interface__factory";
|
|
204
193
|
export { AccessControlUpgradeable__factory } from "./factories/AccessControlUpgradeable__factory";
|
|
205
194
|
export { IAccessControlUpgradeable__factory } from "./factories/IAccessControlUpgradeable__factory";
|
|
206
195
|
export { Initializable__factory } from "./factories/Initializable__factory";
|
|
@@ -236,15 +225,11 @@ export { RewardManagerAbstract__factory } from "./factories/RewardManagerAbstrac
|
|
|
236
225
|
export { SAPE__factory } from "./factories/SAPE__factory";
|
|
237
226
|
export { MetaStableMath__factory } from "./factories/MetaStableMath__factory";
|
|
238
227
|
export { MetaStablePreview__factory } from "./factories/MetaStablePreview__factory";
|
|
239
|
-
export { PendleAuraBalancerStableLPSY__factory } from "./factories/PendleAuraBalancerStableLPSY__factory";
|
|
240
228
|
export { PendleAuraBalancerStableLPSYV2__factory } from "./factories/PendleAuraBalancerStableLPSYV2__factory";
|
|
241
229
|
export { StablePreviewBase__factory } from "./factories/StablePreviewBase__factory";
|
|
242
|
-
export { PendleAuraWethAnkrethSY__factory } from "./factories/PendleAuraWethAnkrethSY__factory";
|
|
243
230
|
export { PendleAuraWethAnkrethSYV2__factory } from "./factories/PendleAuraWethAnkrethSYV2__factory";
|
|
244
|
-
export { PendleAuraWethRethSY__factory } from "./factories/PendleAuraWethRethSY__factory";
|
|
245
231
|
export { PendleAuraWethRocketEthSYV2__factory } from "./factories/PendleAuraWethRocketEthSYV2__factory";
|
|
246
232
|
export { PendleAuraWethStafiEthSY__factory } from "./factories/PendleAuraWethStafiEthSY__factory";
|
|
247
|
-
export { PendleAuraWethWstethSY__factory } from "./factories/PendleAuraWethWstethSY__factory";
|
|
248
233
|
export { PendleAuraWethWstethSYV2__factory } from "./factories/PendleAuraWethWstethSYV2__factory";
|
|
249
234
|
export { PendleQiTokenHelper__factory } from "./factories/PendleQiTokenHelper__factory";
|
|
250
235
|
export { PendleQiTokenSY__factory } from "./factories/PendleQiTokenSY__factory";
|
|
@@ -258,6 +243,7 @@ export { PendleLooksStakingSY__factory } from "./factories/PendleLooksStakingSY_
|
|
|
258
243
|
export { PendleSfrxEthSY__factory } from "./factories/PendleSfrxEthSY__factory";
|
|
259
244
|
export { PendleStargateLPSY__factory } from "./factories/PendleStargateLPSY__factory";
|
|
260
245
|
export { PendleWstEthSY__factory } from "./factories/PendleWstEthSY__factory";
|
|
246
|
+
export { PendleCamelotV1Base__factory } from "./factories/PendleCamelotV1Base__factory";
|
|
261
247
|
export { SYBase__factory } from "./factories/SYBase__factory";
|
|
262
248
|
export { SYBaseWithRewards__factory } from "./factories/SYBaseWithRewards__factory";
|
|
263
249
|
export { InterestManagerYT__factory } from "./factories/InterestManagerYT__factory";
|
|
@@ -292,6 +278,8 @@ export { IAddressProvider__factory } from "./factories/IAddressProvider__factory
|
|
|
292
278
|
export { IApeStaking__factory } from "./factories/IApeStaking__factory";
|
|
293
279
|
export { IBenQiComptroller__factory } from "./factories/IBenQiComptroller__factory";
|
|
294
280
|
export { IBenQiInterestRateModel__factory } from "./factories/IBenQiInterestRateModel__factory";
|
|
281
|
+
export { ICamelotPair__factory } from "./factories/ICamelotPair__factory";
|
|
282
|
+
export { ICamelotRouter__factory } from "./factories/ICamelotRouter__factory";
|
|
295
283
|
export { IDiamondCut__factory } from "./factories/IDiamondCut__factory";
|
|
296
284
|
export { IDiamondLoupe__factory } from "./factories/IDiamondLoupe__factory";
|
|
297
285
|
export { IERC4626__factory } from "./factories/IERC4626__factory";
|
|
@@ -327,7 +315,6 @@ export { IPMiniDiamond__factory } from "./factories/IPMiniDiamond__factory";
|
|
|
327
315
|
export { IPMsgReceiverApp__factory } from "./factories/IPMsgReceiverApp__factory";
|
|
328
316
|
export { IPMsgSendEndpoint__factory } from "./factories/IPMsgSendEndpoint__factory";
|
|
329
317
|
export { IPPrincipalToken__factory } from "./factories/IPPrincipalToken__factory";
|
|
330
|
-
export { IPPtOracle__factory } from "./factories/IPPtOracle__factory";
|
|
331
318
|
export { IPRouterHelper__factory } from "./factories/IPRouterHelper__factory";
|
|
332
319
|
export { IPRouterStatic__factory } from "./factories/IPRouterStatic__factory";
|
|
333
320
|
export { IPVeToken__factory } from "./factories/IPVeToken__factory";
|
|
@@ -365,9 +352,6 @@ export { BaseSplitCodeFactoryContract__factory } from "./factories/BaseSplitCode
|
|
|
365
352
|
export { Broadcaster__factory } from "./factories/Broadcaster__factory";
|
|
366
353
|
export { BulkSellerOffchain__factory } from "./factories/BulkSellerOffchain__factory";
|
|
367
354
|
export { Multicall2__factory } from "./factories/Multicall2__factory";
|
|
368
|
-
export { PendlePtOracle__factory } from "./factories/PendlePtOracle__factory";
|
|
369
|
-
export { PendlePtGlpOracle__factory } from "./factories/PendlePtGlpOracle__factory";
|
|
370
|
-
export { PendlePtUsdChainlinkOracle__factory } from "./factories/PendlePtUsdChainlinkOracle__factory";
|
|
371
355
|
export { PendleMulticall__factory } from "./factories/PendleMulticall__factory";
|
|
372
356
|
export { ActionInfoStatic__factory } from "./factories/ActionInfoStatic__factory";
|
|
373
357
|
export { ActionMarketAuxStatic__factory } from "./factories/ActionMarketAuxStatic__factory";
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// SPDX-License-Identifier: MIT
|
|
2
|
-
pragma solidity 0.8.17;
|
|
3
|
-
|
|
4
|
-
/// @title PendleMulticall - A more gas-efficient version of Multicall3 (~700 gas saved for each call)
|
|
5
|
-
/// @author UncleGrandpa925 <longvh@pendle.finance>
|
|
6
|
-
contract PendleMulticall {
|
|
7
|
-
error MulticallFailed(uint256 index);
|
|
8
|
-
|
|
9
|
-
struct Call {
|
|
10
|
-
address target;
|
|
11
|
-
bytes callData;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
function aggregate(Call[] calldata calls) external payable {
|
|
15
|
-
uint256 length = calls.length;
|
|
16
|
-
Call calldata call;
|
|
17
|
-
for (uint256 i = 0; i < length; ) {
|
|
18
|
-
call = calls[i];
|
|
19
|
-
(bool success, ) = call.target.call(call.callData);
|
|
20
|
-
if (!success) revert MulticallFailed(i);
|
|
21
|
-
unchecked {
|
|
22
|
-
++i;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/deployments/1-markets/{LOOKS-STAKING-MARCH30.json → deprecated/LOOKS-STAKING-MARCH30.json}
RENAMED
|
File without changes
|
|
File without changes
|