mapper

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

Functions

func NewSplit

func NewSplit(splitID types.ID, spl sdkTypes.Dec) mappables.Split

func NewSplitID

func NewSplitID(ownerID types.ID, ownableID types.ID) types.ID

func NewSplits

func NewSplits(mapper helpers.Mapper, context sdkTypes.Context) mappers.Splits

Types

This section is empty.

Jump to

Keyboard shortcuts

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