mirror of
https://github.com/alexgo-io/DefiLlama-Adapters.git
synced 2026-01-12 22:43:12 +08:00
fix: Correct price scaling from 10e18 to 1e18(10e17) in Gravita Protocol (#16834)
This commit is contained in:
@@ -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 = (
|
||||
|
||||
Reference in New Issue
Block a user