mapper

package
Version: v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultParamspace = "metas"
View Source
const ModuleName = "metas"
View Source
const ModuleRoute = constants.ProjectRoute + "/" + ModuleName
View Source
const QueryRoute = ModuleRoute
View Source
const TransactionRoute = ModuleRoute

Variables

View Source
var Mapper = base.NewMapper(
	ModuleName,
	parameters.Prototype,
	generateKey,
	metaPrototype,
	registerCodec,
)
View Source
var StoreKeyPrefix = []byte{0x13}

Functions

func NewMeta

func NewMeta(data types.Data) mappables.Meta

func NewMetaID

func NewMetaID(hashID types.ID) types.ID

func NewMetas

func NewMetas(mapper helpers.Mapper, context sdkTypes.Context) mappers.Metas

Types

This section is empty.

Jump to

Keyboard shortcuts

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