Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentKeeper ¶
type DeploymentKeeper interface { GetDeployment(ctx sdk.Context, id dtypes.DeploymentID) (dtypes.Deployment, bool) GetGroups(ctx sdk.Context, id dtypes.DeploymentID) []dtypes.Group CloseDeployment(ctx sdk.Context, deployment dtypes.Deployment) OnCloseGroup(ctx sdk.Context, group dtypes.Group, state dtypes.Group_State) error }
type Hooks ¶
type Hooks interface { OnEscrowAccountClosed(ctx sdk.Context, obj etypes.Account) OnEscrowPaymentClosed(ctx sdk.Context, obj etypes.FractionalPayment) }
func New ¶
func New(dkeeper DeploymentKeeper, mkeeper MarketKeeper) Hooks
type MarketKeeper ¶
type MarketKeeper interface { GetOrder(ctx sdk.Context, id mtypes.OrderID) (mtypes.Order, bool) GetBid(ctx sdk.Context, id mtypes.BidID) (mtypes.Bid, bool) GetLease(ctx sdk.Context, id mtypes.LeaseID) (mtypes.Lease, bool) OnGroupClosed(ctx sdk.Context, id dtypes.GroupID) OnOrderClosed(ctx sdk.Context, order mtypes.Order) OnBidClosed(ctx sdk.Context, bid mtypes.Bid) OnLeaseClosed(ctx sdk.Context, lease mtypes.Lease, state mtypes.Lease_State) }
Click to show internal directories.
Click to hide internal directories.