Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
NewHandler returns a handler for "market" type messages
Types ¶
type AuditKeeper ¶
type DeploymentKeeper ¶
type DeploymentKeeper interface { GetGroup(ctx sdk.Context, id dtypes.GroupID) (dtypes.Group, bool) OnBidClosed(ctx sdk.Context, id dtypes.GroupID) error OnLeaseClosed(ctx sdk.Context, id dtypes.GroupID) (dtypes.Group, error) }
DeploymentKeeper Interface includes deployment methods
type EscrowKeeper ¶
type EscrowKeeper interface { AccountCreate(ctx sdk.Context, id etypes.AccountID, owner, depositor sdk.AccAddress, deposit sdk.Coin) error AccountDeposit(ctx sdk.Context, id etypes.AccountID, depositor sdk.AccAddress, amount sdk.Coin) error AccountClose(ctx sdk.Context, id etypes.AccountID) error PaymentCreate(ctx sdk.Context, id etypes.AccountID, pid string, owner sdk.AccAddress, rate sdk.DecCoin) error PaymentWithdraw(ctx sdk.Context, id etypes.AccountID, pid string) error PaymentClose(ctx sdk.Context, id etypes.AccountID, pid string) error }
type Keepers ¶
type Keepers struct { Escrow EscrowKeeper Market keeper.IKeeper Deployment DeploymentKeeper Provider ProviderKeeper Audit AuditKeeper Bank bankkeeper.Keeper }
Keepers include all modules keepers
Click to show internal directories.
Click to hide internal directories.