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 = "maintainers"
View Source
const ModuleName = "maintainers"
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,
	maintainerPrototype,
	registerCodec,
)
View Source
var StoreKeyPrefix = []byte{0x13}

Functions

func NewMaintainer

func NewMaintainer(ID types.ID, maintainedTraits types.Mutables, addMaintainer bool, removeMaintainer bool, mutateMaintainer bool) mappables.Maintainer

func NewMaintainerID

func NewMaintainerID(classificationID types.ID, identityID types.ID) types.ID

func NewMaintainers

func NewMaintainers(mapper helpers.Mapper, context sdkTypes.Context) mappers.Maintainers

Types

This section is empty.

Jump to

Keyboard shortcuts

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