v0150

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleName = "relationships"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GenesisState

type GenesisState = v0150relationships.GenesisState

func Migrate

func Migrate(oldGenState v0130relationships.GenesisState) GenesisState

Migrate accepts exported genesis state from v0.13.0 and migrates it to v0.15.0 genesis state.

type Relationship

type Relationship = v0150relationships.Relationship

func ConvertRelationships

func ConvertRelationships(oldRelationshipsMap map[string][]v0130relationships.Relationship) []Relationship

func FindRelationshipsForUser

func FindRelationshipsForUser(state GenesisState, user string) []Relationship

type UserBlock

type UserBlock = v0150relationships.UserBlock

func ConvertUserBlocks

func ConvertUserBlocks(oldUserBlocks []v0130relationships.UserBlock) []UserBlock

Jump to

Keyboard shortcuts

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