Documentation ¶
Index ¶
- Constants
- func NewQuerier(keeper Keeper) sdk.Querier
- type Keeper
- func (k Keeper) GetProfile(ctx sdk.Context, owner sdk.AccAddress) types.Profile
- func (k Keeper) GetProfileIterator(ctx sdk.Context) sdk.Iterator
- func (k Keeper) IsNamePresent(ctx sdk.Context, owner sdk.AccAddress) bool
- func (k Keeper) SetProfile(ctx sdk.Context, owner sdk.AccAddress, new types.Profile)
- type TokenKeeper
Constants ¶
View Source
const ( QueryPublic = "public" QueryPrivate = "private" )
query endpoints supported by the profile Querier
Variables ¶
This section is empty.
Functions ¶
func NewQuerier ¶
NewQuerier creates a new querier for profile clients.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper maintains the link to data storage and exposes getter/setter methods for the various parts of the state machine
func (Keeper) GetProfile ¶
Gets the entire Profile metadata struct for an owner
func (Keeper) GetProfileIterator ¶
Get an iterator over all names in which the keys are the names and the values are the Profile
func (Keeper) IsNamePresent ¶
Check if the name is present in the store or not
func (Keeper) SetProfile ¶
Sets the entire Profile metadata struct for a name
type TokenKeeper ¶ added in v0.5.0
Click to show internal directories.
Click to hide internal directories.