Documentation ¶
Index ¶
- func NewQuerier(k Keeper) sdk.Querier
- type Keeper
- func (k Keeper) Create(ctx sdk.Context, msg *types.MsgCreate) (*processpb.Process, error)
- func (k Keeper) Delete(ctx sdk.Context, msg *types.MsgDelete) error
- func (k Keeper) Exists(ctx sdk.Context, hash hash.Hash) (bool, error)
- func (k Keeper) Get(ctx sdk.Context, hash hash.Hash) (*processpb.Process, error)
- func (k *Keeper) Import(ctx sdk.Context, processes []*process.Process) error
- func (k Keeper) List(ctx sdk.Context) ([]*processpb.Process, error)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewQuerier ¶
NewQuerier creates a new querier for instance clients.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper of the process store
func NewKeeper ¶
func NewKeeper(cdc *codec.Codec, key sdk.StoreKey, instanceKeeper types.InstanceKeeper, ownershipKeeper types.OwnershipKeeper, bankKeeper types.BankKeeper) Keeper
NewKeeper creates a process keeper
func (Keeper) Exists ¶ added in v0.21.0
Exists returns true if a specific set of data exists in the database, false otherwise
Click to show internal directories.
Click to hide internal directories.