Module native_token

Module native_token 

Source

Structs§

Gema

Constants§

CARATS_PER_GEMA
There are 10^9 carats in one GEMA

Functions§

carats_to_gema
Approximately convert fractional native tokens (carats) into native tokens (GEMA)
gema_to_carats
Approximately convert native tokens (GEMA) into fractional native tokens (carats)