Documentation ¶
Index ¶
Constants ¶
View Source
const ModuleName string = "account"
ModuleName is the name of this module.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attribute ¶
type Attribute struct { // The attribute name. Name string `json:"name"` // The attribute value. Value []byte `json:"value"` // The attribute value type. Type string `json:"type"` // The attribute address (used only for genesis import/export) Address string `json:"address,omitempty"` // The block height this attr was added in. Height int64 `json:"height,omitempty"` }
Attribute is a typed key-value pair we can store under an account.
type GenesisState ¶
type GenesisState struct {
Attributes []Attribute `json:"attributes"`
}
GenesisState is the module state at genesis.
Click to show internal directories.
Click to hide internal directories.