Welcome to StaFiHub
  • StaFiHub Introduction
    • Tokenomics
  • Chain
    • Getting started
      • Introduction
      • Install
      • Join The Mainnet
      • Join The Public Testnet
      • Validator FAQ
    • Concepts
      • General Concepts
      • rToken Concepts
      • Genesis Parameters
    • Cli Client
      • Introduction
      • Bank
      • Debug
      • Keys
      • Gov
      • Ledger
      • rBank
      • Relayers
      • rVote
      • Staking
    • gRPC, REST, and Tendermint Endpoints
    • Resources
      • StaFiHub Validator Program
  • rToken
    • Integrate rToken
      • Integrating with Interchain Accounts
      • Integrating with Multisig Accounts
      • Integrate into rToken App
    • Delegation Algorithm
    • Liquidity Grant Program
    • rATOM Migration
  • User
    • Join Public Testnet
      • Testing Guide
    • User Guide
      • rToken Dapp Guide
      • Get FIS Token on StaFiHub
      • Claim Airdropped FIS Token
      • How to get a StaFiHub Address
      • rPool Guide For MintDrop Programs
      • rATOM V1 Migration
      • StaFiHub rBridge Guide
      • IBC Transfer With Keplr Wallet
      • Swap ICS20 FIS to ERC20 FIS
    • FAQ
Powered by GitBook
On this page
  1. Chain
  2. Concepts

General Concepts

Denom and Metadata

Assets in the Cosmos SDK are represented via a Coins type that consists of an amount and a denom, where the amount can be any arbitrarily large or small value, module bank keeps track of metadata per denom in order to help clients, wallet providers, and explorers improve their UX and remove the requirement for making any assumptions on the unit of denomination.

To avoid upgrading the chain when adding a new rToken, module sudo provider an interface to add a new denom and its metadata, this action can only be operated by the admin account which is initialized in the genesis file.

PreviousConceptsNextrToken Concepts

Last updated 3 years ago