add maxPrice for pre-launch markets

This commit is contained in:
lowkeynicc
2024-03-25 16:16:58 -04:00
parent 6d633419c1
commit 0d5100c6d6
2 changed files with 3 additions and 0 deletions

View File

@@ -69,6 +69,7 @@ type SerializableOraclePriceData = {
hasSufficientNumberOfDataPoints: boolean;
twap?: string;
twapConfidence?: string;
maxPrice?: string;
};
const getSerializableOraclePriceData = (
@@ -82,6 +83,7 @@ const getSerializableOraclePriceData = (
oraclePriceData.hasSufficientNumberOfDataPoints,
twap: oraclePriceData.twap?.toString?.(),
twapConfidence: oraclePriceData.twapConfidence?.toString?.(),
maxPrice: oraclePriceData.maxPrice?.toString?.(),
};
};