@curvefi/api 2.66.9 → 2.66.10
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.
|
@@ -127,7 +127,7 @@ export class StatsPool {
|
|
|
127
127
|
return totalLiquidity.toFixed(8);
|
|
128
128
|
});
|
|
129
129
|
this.volume = () => __awaiter(this, void 0, void 0, function* () {
|
|
130
|
-
if (curve.isLiteChain) {
|
|
130
|
+
if (curve.isLiteChain && curve.chainId !== 146) {
|
|
131
131
|
throw Error('This method is not supported for the lite version');
|
|
132
132
|
}
|
|
133
133
|
const network = curve.constants.NETWORK_NAME;
|
|
@@ -139,7 +139,7 @@ export class StatsPool {
|
|
|
139
139
|
throw Error(`Can't get Volume for ${this.pool.name} (id: ${this.pool.id})`);
|
|
140
140
|
});
|
|
141
141
|
this.baseApy = () => __awaiter(this, void 0, void 0, function* () {
|
|
142
|
-
if (curve.isLiteChain) {
|
|
142
|
+
if (curve.isLiteChain && curve.chainId !== 146) {
|
|
143
143
|
throw Error('baseApy is not supported for the lite version');
|
|
144
144
|
}
|
|
145
145
|
const network = curve.constants.NETWORK_NAME;
|