Documentation ¶
Index ¶
Constants ¶
View Source
const (
ModuleName = "profile"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenesisState ¶
type GenesisState struct {
Profiles []Profile `json:"profiles"`
}
GenesisState contains the data of a v0.6.0 genesis state for the profile module
type Pictures ¶
type Pictures struct { Profile *string `json:"profile,omitempty" yaml:"profile,omitempty"` Cover *string `json:"cover,omitempty" yaml:"cover,omitempty"` }
Pictures is a struct for Profile Pictures
type Profile ¶
type Profile struct { Moniker string `json:"moniker" yaml:"moniker"` Name *string `json:"name,omitempty" yaml:"name,omitempty"` Surname *string `json:"surname,omitempty" yaml:"surname,omitempty"` Bio *string `json:"bio,omitempty" yaml:"bio,omitempty"` Pictures *Pictures `json:"pictures,omitempty" yaml:"pictures,omitempty"` Creator sdk.AccAddress `json:"creator" yaml:"creator"` }
Profile is a struct for a Profile
Click to show internal directories.
Click to hide internal directories.