Decimals
Decimals returns the number of decimal places for GNS token.
Returns:
- decimals: number of decimal places
Command
gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/gnoswap/gns.Decimals()"
Result
Package gns implements the GNS governance and utility token for GnoSwap.
GNS is a GRC20-compliant token with a deflationary emission schedule. The emission follows a 12-year schedule with halving every 2 years:
Token Economics:
Key Functions:
The emission state tracks accumulated and remaining amounts per halving year, ensuring precise token distribution according to the schedule.
Decimals returns the number of decimal places for GNS token.
Returns:
gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/gnoswap/gns.Decimals()"