Documentation ¶
Index ¶
- func NewQuerier(k Keeper) sdk.Querier
- type Keeper
- func (k Keeper) Get(ctx sdk.Context, key []byte, prefix []byte, unmarshal UnmarshalFn) (i interface{}, found bool)
- func (k Keeper) GetAll(ctx sdk.Context, prefix []byte, unmarshal UnmarshalFn) (i []interface{})
- func (k Keeper) GetRegulator(ctx sdk.Context, key []byte) (types.Regulator, bool)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Set(ctx sdk.Context, key []byte, prefix []byte, i interface{})
- func (k Keeper) SetRegulator(ctx sdk.Context, key []byte, reg types.Regulator)
- func (k Keeper) UnmarshalRegulator(value []byte) (interface{}, bool)
- type UnmarshalFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewQuerier ¶
NewQuerier creates a new querier for regulator clients.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper of the issuer store
func (Keeper) Get ¶
func (k Keeper) Get(ctx sdk.Context, key []byte, prefix []byte, unmarshal UnmarshalFn) (i interface{}, found bool)
Get gets an item from the store by bytes
func (Keeper) GetAll ¶
func (k Keeper) GetAll(ctx sdk.Context, prefix []byte, unmarshal UnmarshalFn) (i []interface{})
GetAll values from with a prefix from the store
func (Keeper) GetRegulator ¶
func (Keeper) SetRegulator ¶
func (Keeper) UnmarshalRegulator ¶
type UnmarshalFn ¶
UnmarshalFn is a generic function to unmarshal bytes
Click to show internal directories.
Click to hide internal directories.