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"` }
Click to show internal directories.
Click to hide internal directories.