github.com/cosmos/cosmos-sdk@v0.50.10/x/auth/types/keys.go (about)

     1  package types
     2  
     3  import (
     4  	"cosmossdk.io/collections"
     5  )
     6  
     7  const (
     8  	// module name
     9  	ModuleName = "auth"
    10  
    11  	// StoreKey is string representation of the store key for auth
    12  	StoreKey = "acc"
    13  
    14  	// FeeCollectorName the root string for the fee collector account address
    15  	FeeCollectorName = "fee_collector"
    16  )
    17  
    18  var (
    19  	// ParamsKey is the prefix for params key
    20  	ParamsKey = collections.NewPrefix(0)
    21  
    22  	// AddressStoreKeyPrefix prefix for account-by-address store
    23  	AddressStoreKeyPrefix = collections.NewPrefix(1)
    24  
    25  	// GlobalAccountNumberKey identifies the prefix where the monotonically increasing
    26  	// account number is stored.
    27  	GlobalAccountNumberKey = collections.NewPrefix(2)
    28  
    29  	// AccountNumberStoreKeyPrefix prefix for account-by-id store
    30  	AccountNumberStoreKeyPrefix = collections.NewPrefix("accountNumber")
    31  )