Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoBids = errors.New("no bids to pick winner from")
Functions ¶
func NewHandler ¶
NewHandler returns a handler for "market" type messages
func NewMsgServerImpl ¶ added in v0.9.1
NewMsgServerImpl returns an implementation of the market MsgServer interface for the provided Keeper.
func OnEndBlock ¶
OnEndBlock transfer funds for active leases and update order states Executed at the end of block
Types ¶
type AuditKeeper ¶ added in v0.9.1
type DeploymentKeeper ¶
type DeploymentKeeper interface { GetGroup(ctx sdk.Context, id dtypes.GroupID) (dtypes.Group, bool) OnLeaseCreated(ctx sdk.Context, id dtypes.GroupID) OnLeaseInsufficientFunds(ctx sdk.Context, id dtypes.GroupID) OnLeaseClosed(ctx sdk.Context, id dtypes.GroupID) }
DeploymentKeeper Interface includes deployment methods
type Keepers ¶
type Keepers struct { Market keeper.Keeper Deployment DeploymentKeeper Provider ProviderKeeper Audit AuditKeeper Bank bankkeeper.Keeper }
Keepers include all modules keepers
Click to show internal directories.
Click to hide internal directories.