mirror of
https://github.com/0glabs/0g-chain.git
synced 2025-04-04 15:55:23 +00:00
Change GetBalance() to return full balances instead of spendable to align behavior with x/bank. Add SpendableCoin() method with support of akava for use in x/evm. |
||
|---|---|---|
| .. | ||
| keeper | ||
| testutil | ||
| types | ||
| genesis_test.go | ||
| genesis.go | ||
| module.go | ||
| README.md | ||
x/precisebank
Abstract
This document specifies the precisebank module of Kava.
The precisebank module is responsible for extending the precision of x/bank,
intended to be used for the x/evm. It serves as a wrapper of x/bank to
increase the precision of KAVA from 6 to 18 decimals, while preserving the
behavior of existing x/bank balances.
This module is used only by x/evm where 18 decimal points are expected.