mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-14 03:55:19 +00:00
9de9de671e
Module reserve represents fractional balances, so it should be hidden to consumers to not have a misleading total balance that doubles the fractional balances. This modifies GetBalance() and SpendableCoin() to always return zero coins when fetching the reserve address balance for fractional amounts. |
||
---|---|---|
.. | ||
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.