Skip to content

Commit

Permalink
add scroll chain
Browse files Browse the repository at this point in the history
  • Loading branch information
kalax committed Aug 9, 2024
1 parent 68c79b5 commit 09d73da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/kalax/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ async function staking(api) {
})
let p = (sqrtPriceX96 / 2 ** 96) ** 2
let rate = p * 10**12
let usdtNum = poolTvl/10**18 * rate
api.add(usdt,usdtNum*10**6)
let usdtNum = poolTvl/10**18 * rate * 10**6
api.add(usdt,usdtNum)
}
}

Expand Down

0 comments on commit 09d73da

Please sign in to comment.