Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountKeeper ¶
type BankKeeper ¶
type LeaseKeeper ¶
type LeaseKeeper interface { GetLease(ctx sdk.Context, id uint64) (leasetypes.Lease, bool) IterateLeasesForNodeByProvider(ctx sdk.Context, nodeAddr base.NodeAddress, provAddr base.ProvAddress, fn func(index int, item leasetypes.Lease) (stop bool)) }
type NodeKeeper ¶
type NodeKeeper interface { GetNode(ctx sdk.Context, addr base.NodeAddress) (nodetypes.Node, bool) SetNodeForPlan(ctx sdk.Context, id uint64, addr base.NodeAddress) DeleteNodeForPlan(ctx sdk.Context, id uint64, addr base.NodeAddress) GetNodesForPlan(ctx sdk.Context, id uint64) []nodetypes.Node HasNodeForPlan(ctx sdk.Context, id uint64, addr base.NodeAddress) bool }
type ProviderKeeper ¶
type ProviderKeeper interface {
HasProvider(ctx sdk.Context, addr base.ProvAddress) bool
}
type SessionKeeper ¶
type SubscriptionKeeper ¶
type SubscriptionKeeper interface { HandleMsgStartSession(ctx sdk.Context, msg *subscriptiontypes.MsgStartSessionRequest) (*subscriptiontypes.MsgStartSessionResponse, error) HandleMsgStartSubscription(ctx sdk.Context, msg *subscriptiontypes.MsgStartSubscriptionRequest) (*subscriptiontypes.MsgStartSubscriptionResponse, error) }
Click to show internal directories.
Click to hide internal directories.