Documentation ¶
Index ¶
- Constants
- func NewQuerier(keeper Keeper) sdk.Querier
- type Index
- type Keeper
- func (k Keeper) GetOwner(ctx sdk.Context, name string) sdk.AccAddress
- func (k Keeper) GetPDV(ctx sdk.Context, address string) types.PDV
- func (k Keeper) GetPDVsIterator(ctx sdk.Context) sdk.Iterator
- func (k Keeper) IsHashPresent(ctx sdk.Context, address string) bool
- func (k Keeper) SetPDV(ctx sdk.Context, address string, pdv types.PDV)
- type TokenKeeper
Constants ¶
View Source
const ( QueryOwner = "owner" QueryShow = "show" QueryList = "list" QueryCerberusAddr = "cerberus-addr" )
query endpoints supported by the pdv Querier
Variables ¶
This section is empty.
Functions ¶
func NewQuerier ¶
NewQuerier creates a new querier for pdv clients.
Types ¶
type Index ¶ added in v0.3.0
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) GetPDVsIterator ¶
Get an iterator over all PDVs in which the keys are the address and the values are the PDV
func (Keeper) IsHashPresent ¶
Check if the address is present in the store or not
type TokenKeeper ¶
Click to show internal directories.
Click to hide internal directories.