github.com/fibonacci-chain/fbc@v0.0.0-20231124064014-c7636198c1e9/libs/cosmos-sdk/x/supply/internal/keeper/key.go (about)

     1  package keeper
     2  
     3  // Keys for supply store
     4  // Items are stored with the following key: values
     5  //
     6  // - 0x00: Supply
     7  var (
     8  	SupplyKey = []byte{0x00}
     9  )
    10  
    11  // getTokenSupplyKey gets the store key of a supply for a token
    12  func getTokenSupplyKey(denom string) []byte {
    13  	return append(SupplyKey, []byte(denom)...)
    14  }