v0130

package
v0.15.5 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2021 License: Apache-2.0 Imports: 1 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 struct {
	UsersRelationships map[string][]Relationship `json:"users_relationships"`
	UsersBlocks        []UserBlock               `json:"users_blocks"`
}

GenesisState contains the data of a v0.15.0 genesis state for the relationships module

type Relationship

type Relationship struct {
	Recipient sdk.AccAddress `json:"recipient" yaml:"recipient"`
	Subspace  string         `json:"subspace" yaml:"subspace"`
}

type UserBlock

type UserBlock struct {
	Blocker  sdk.AccAddress `json:"blocker" yaml:"blocker"`
	Blocked  sdk.AccAddress `json:"blocked" yaml:"blocked"`
	Reason   string         `json:"reason,omitempty" yaml:"reason,omitempty"`
	Subspace string         `json:"subspace" yaml:"subspace"`
}

Jump to

Keyboard shortcuts

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