expected

package
v12.0.0-rc4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, address sdk.AccAddress) authtypes.AccountI
}

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx sdk.Context, address sdk.AccAddress) sdk.Coins
}

type NodeKeeper

type NodeKeeper interface {
	HasNode(ctx sdk.Context, addr hubtypes.NodeAddress) bool
	SetNodeForPlan(ctx sdk.Context, id uint64, addr hubtypes.NodeAddress)
	DeleteNodeForPlan(ctx sdk.Context, id uint64, addr hubtypes.NodeAddress)
	GetNodesForPlan(ctx sdk.Context, id uint64) nodetypes.Nodes
}

type ProviderKeeper

type ProviderKeeper interface {
	HasProvider(ctx sdk.Context, addr hubtypes.ProvAddress) bool
}

type SubscriptionKeeper

type SubscriptionKeeper interface {
	CreateSubscriptionForPlan(ctx sdk.Context, accAddr sdk.AccAddress, id uint64, denom string) (*subscriptiontypes.PlanSubscription, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL