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.4.0 genesis state for the profile module
type Pictures ¶
type Pictures struct { Profile *string `json:"profile,omitempty"` Cover *string `json:"cover,omitempty"` }
Pictures is a struct for Profile Pictures
type Profile ¶
type Profile struct { Moniker string `json:"moniker"` Name *string `json:"name,omitempty"` Surname *string `json:"surname,omitempty"` Bio *string `json:"bio,omitempty"` Pictures *Pictures `json:"pictures,omitempty"` Creator sdk.AccAddress `json:"creator,omitempty" ` }
Profile is a struct for a Profile
Click to show internal directories.
Click to hide internal directories.