fix: Correct price scaling from 10e18 to 1e18(10e17) in Gravita Protocol (#16834)

This commit is contained in:
Saurabh
2025-10-27 20:51:25 +05:30
committed by GitHub
parent 201f781768
commit d7389e229c

View File

@@ -57,7 +57,7 @@ const positions = async () => {
const prices = {}
for (const c of collAddresses) {
const info = await getTokenInfo(`ethereum:${c}`)
prices[c] = BigNumber(info.price).times(10e18).toFixed()
prices[c] = BigNumber(info.price).times(10e17).toFixed()
}
const vesselCounts = (