@pendle/core-v2 2.26.3 → 2.26.4
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/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethVethSY.sol +7 -7
- package/contracts/interfaces/Balancer/IComposableStable.sol +7 -7
- package/deployments/1-markets/BALANCER-LP-AURA-BBAWETHSWETH-SEP-26-2024.json +6 -6
- package/deployments/1-markets/deprecated/BALANCER-LP-AURA-BBAWETHSWETH-SEP-26-2024-migrated.json +10 -0
- package/deployments/10-core.json +1 -1
- package/package.json +1 -1
package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethVethSY.sol
CHANGED
|
@@ -8,8 +8,8 @@ contract PendleAuraWethVethSY is PendleAuraBalancerStableLPSYV2 {
|
|
|
8
8
|
address internal constant VETH = 0x4Bc3263Eb5bb2Ef7Ad9aB6FB68be80E43b43801F;
|
|
9
9
|
address internal constant WETH = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;
|
|
10
10
|
|
|
11
|
-
uint256 internal constant AURA_PID =
|
|
12
|
-
address internal constant LP =
|
|
11
|
+
uint256 internal constant AURA_PID = 147;
|
|
12
|
+
address internal constant LP = 0xB54E6AADBF1ac1a3EF2A56E358706F0f8E320a03;
|
|
13
13
|
|
|
14
14
|
address internal constant COMPOSABLE_PREVIEW = 0x4239Ddd3c50463383670E86c119220849BFaF64a;
|
|
15
15
|
|
|
@@ -99,19 +99,19 @@ contract PendleAuraWethVethSY is PendleAuraBalancerStableLPSYV2 {
|
|
|
99
99
|
// --------------------------------- POOL CONSTANTS ---------------------------------
|
|
100
100
|
function _getPoolTokenAddresses() internal pure override returns (address[] memory res) {
|
|
101
101
|
res = new address[](3);
|
|
102
|
-
res[0] =
|
|
103
|
-
res[1] =
|
|
102
|
+
res[0] = VETH;
|
|
103
|
+
res[1] = LP;
|
|
104
104
|
res[2] = WETH;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
function _getBPTIndex() internal pure override returns (uint256) {
|
|
108
|
-
return
|
|
108
|
+
return 1;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
function _getRateProviders() internal pure returns (address[] memory res) {
|
|
112
112
|
res = new address[](3);
|
|
113
|
-
res[0] =
|
|
114
|
-
res[1] =
|
|
113
|
+
res[0] = 0x12589A727aeFAc3fbE5025F890f1CB97c269BEc2;
|
|
114
|
+
res[1] = 0x0000000000000000000000000000000000000000;
|
|
115
115
|
res[2] = 0x0000000000000000000000000000000000000000;
|
|
116
116
|
}
|
|
117
117
|
|
|
@@ -10,20 +10,20 @@ interface IComposableStable is IBasePool {
|
|
|
10
10
|
view
|
|
11
11
|
returns (uint256 lastJoinExitAmplification, uint256 lastPostJoinExitInvariant);
|
|
12
12
|
|
|
13
|
-
function getAmplificationParameter()
|
|
14
|
-
external
|
|
15
|
-
view
|
|
16
|
-
returns (uint256 value, bool isUpdating, uint256 precision);
|
|
13
|
+
function getAmplificationParameter() external view returns (uint256 value, bool isUpdating, uint256 precision);
|
|
17
14
|
|
|
18
15
|
function getProtocolFeePercentageCache(uint256 feeType) external view returns (uint256);
|
|
19
16
|
|
|
20
17
|
function isTokenExemptFromYieldProtocolFee(IERC20 token) external view returns (bool);
|
|
21
18
|
|
|
22
|
-
function getTokenRateCache(
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
function getTokenRateCache(IERC20 token)
|
|
20
|
+
external
|
|
21
|
+
view
|
|
22
|
+
returns (uint256 rate, uint256 oldRate, uint256 duration, uint256 expires);
|
|
25
23
|
|
|
26
24
|
function getRateProviders() external view returns (IRateProvider[] memory);
|
|
27
25
|
|
|
28
26
|
function getBptIndex() external view returns (uint256);
|
|
27
|
+
|
|
28
|
+
function getTokenRate(IERC20 token) external view returns (uint256);
|
|
29
29
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "SY swETH-BbAWeth_BalancerLP Aura",
|
|
3
|
-
"SY": "
|
|
4
|
-
"YT": "
|
|
5
|
-
"PT": "
|
|
6
|
-
"market": "
|
|
3
|
+
"SY": "0xcb6Ea7fddFdf2AFc2Bc6Bf715185A33F8E27B96b",
|
|
4
|
+
"YT": "0xb655B156816DD7bA76D99435db845E5E55B2bF49",
|
|
5
|
+
"PT": "0x2CDB89969A8C206624C1173D1da3284B26dcB03d",
|
|
6
|
+
"market": "0xcF756c00A755172bDC073787Ea83817603dA42eF",
|
|
7
7
|
"expiry": 1727308800,
|
|
8
|
-
"scalarRoot": "
|
|
9
|
-
"initAnchor": "
|
|
8
|
+
"scalarRoot": "72904875026000000000",
|
|
9
|
+
"initAnchor": "1034844758000000000"
|
|
10
10
|
}
|
package/deployments/1-markets/deprecated/BALANCER-LP-AURA-BBAWETHSWETH-SEP-26-2024-migrated.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "SY swETH-BbAWeth_BalancerLP Aura",
|
|
3
|
+
"SY": "0xCb611D0BD02a74C491B75d51D6EA5558f1887Da3",
|
|
4
|
+
"YT": "0x9ddc69eB24329365e96Cdca508e37dDf1CD4478d",
|
|
5
|
+
"PT": "0xe82db015E01E93381991d14b5bAA30fE73bb3240",
|
|
6
|
+
"market": "0x8225dD26DdFaaa321E5388e0F4C090Ba16217c21",
|
|
7
|
+
"expiry": 1727308800,
|
|
8
|
+
"scalarRoot": "47978000000000000000",
|
|
9
|
+
"initAnchor": "1074162000000000000"
|
|
10
|
+
}
|
package/deployments/10-core.json
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"ptOracle": "0x4106FC9811a792130502Bb3A5b693894cca7bD8e",
|
|
26
26
|
"externalRewardDistributor": "0x1fBaCedf510dAA79dfD9B41227A7ba192d5D548D",
|
|
27
27
|
"liquiditySeedingHelper": "0xFc7A495389cD3454f5cC0Ecaa55D30E343A1Fc16",
|
|
28
|
-
"receiverEndpoint": "
|
|
28
|
+
"receiverEndpoint": "0xED18de5442297a4Ec1ce59C7c7d9427Adc2A012b",
|
|
29
29
|
"vePendle": "0xd5C47D2383Fddc19596489280C0A33AC42b2bB18",
|
|
30
30
|
"gaugeController": "0x6875e4A945E498FE1B90BbB13CFbAF0b68658C9C"
|
|
31
31
|
}
|