Documentation ¶
Index ¶
- Constants
- func NewQuerier(keeper Keeper) sdk.Querier
- type Keeper
- func (k Keeper) DeleteWhois(ctx sdk.Context, hayt string)
- func (k Keeper) GetNamesIterator(ctx sdk.Context) sdk.Iterator
- func (k Keeper) GetOwner(ctx sdk.Context, hayt string) sdk.AccAddress
- func (k Keeper) GetPrice(ctx sdk.Context, hayt string) sdk.Coins
- func (k Keeper) GetWhois(ctx sdk.Context, hayt string) types.Whois
- func (k Keeper) HasOwner(ctx sdk.Context, hayt string) bool
- func (k Keeper) IsNamePresent(ctx sdk.Context, hayt string) bool
- func (k Keeper) ResolveName(ctx sdk.Context, hayt string) string
- func (k Keeper) SetHayt(ctx sdk.Context, hayt string, value string)
- func (k Keeper) SetOwner(ctx sdk.Context, hayt string, owner sdk.AccAddress)
- func (k Keeper) SetPrice(ctx sdk.Context, hayt string, price sdk.Coins)
- func (k Keeper) SetWhois(ctx sdk.Context, hayt string, whois types.Whois)
Constants ¶
View Source
const ( QueryResolve = "resolve" QueryWhois = "whois" QueryNames = "names" )
query endpoints supported by the haytservice Querier
Variables ¶
This section is empty.
Functions ¶
func NewQuerier ¶
NewQuerier is the module level router for state queries
Types ¶
type Keeper ¶
Keeper maintains the link to storage and exposes getter/setter methods for the various parts of the state machine
func (Keeper) DeleteWhois ¶
Deletes the entire Whois metadata struct for a name
func (Keeper) GetNamesIterator ¶
Get an iterator over all hayts in which the keys are the hayts and the values are the whois
func (Keeper) IsNamePresent ¶
Check if the name is present in the store or not
func (Keeper) ResolveName ¶
ResolveName - returns the string that the hayt resolves to
Click to show internal directories.
Click to hide internal directories.