@pendle/core-v2 2.13.2-mainnet → 2.13.3-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.
|
@@ -98,12 +98,7 @@ contract PendleCamelotV1VolatileSY is
|
|
|
98
98
|
* @dev See {IStandardizedYield-getRewardTokens}
|
|
99
99
|
*/
|
|
100
100
|
function _getRewardTokens() internal view virtual override returns (address[] memory res) {
|
|
101
|
-
|
|
102
|
-
res = new address[](1 + extraRewardsLen);
|
|
103
|
-
res[0] = GRAIL;
|
|
104
|
-
for (uint256 i = 0; i < extraRewardsLen; i++) {
|
|
105
|
-
res[1 + i] = rewardTokens[i];
|
|
106
|
-
}
|
|
101
|
+
return rewardTokens;
|
|
107
102
|
}
|
|
108
103
|
|
|
109
104
|
/// @notice allows anyone to add new rewardTokens to this SY if a new rewardToken is added to the Nitro pool
|
|
@@ -111,7 +106,6 @@ contract PendleCamelotV1VolatileSY is
|
|
|
111
106
|
address token1 = ICamelotNitroPool(nitroPool).rewardsToken1().token;
|
|
112
107
|
address token2 = ICamelotNitroPool(nitroPool).rewardsToken2().token;
|
|
113
108
|
|
|
114
|
-
|
|
115
109
|
if (token1 != address(0) && !rewardTokens.contains(token1)) rewardTokens.push(token1);
|
|
116
110
|
if (token2 != address(0) && !rewardTokens.contains(token2)) rewardTokens.push(token2);
|
|
117
111
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "SY PENDLE-ETH_Camelot",
|
|
3
|
-
"SY": "
|
|
4
|
-
"YT": "
|
|
5
|
-
"PT": "
|
|
6
|
-
"market": "
|
|
3
|
+
"SY": "0xc79d8a2AA6d769138E599D4DBC30569c9870a6Ee",
|
|
4
|
+
"YT": "0x7588C74473a84d7Fa87Bec375B408e3402f7fdb9",
|
|
5
|
+
"PT": "0xba1F509C6E5f1f6a529Ecc0913b27658a678B4b9",
|
|
6
|
+
"market": "0x24e4Df37ea00C4954d668e3ce19fFdcffDEc2cF6",
|
|
7
7
|
"expiry": 1719446400,
|
|
8
8
|
"scalarRoot": "5388097000000000000",
|
|
9
9
|
"initAnchor": "1485252000000000000"
|
package/package.json
CHANGED