mapper

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultParamspace = "identities"
View Source
const ModuleName = "identities"
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,
	identityPrototype,
	registerCodec,
)
View Source
var StoreKeyPrefix = []byte{0x12}

Functions

func NewIdentities

func NewIdentities(mapper helpers.Mapper, context sdkTypes.Context) mappers.InterIdentities

func NewIdentity

func NewIdentity(identityID types.ID, provisionedAddressList []sdkTypes.AccAddress, unprovisionedAddressList []sdkTypes.AccAddress, immutables types.Immutables, mutables types.Mutables) mappables.InterIdentity

func NewIdentityID

func NewIdentityID(classificationID types.ID, hashID types.ID) types.ID

Types

This section is empty.

Jump to

Keyboard shortcuts

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