v039

package
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL