expected

package
v0.11.5 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 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 added in v0.4.0

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

type BankKeeper added in v0.8.0

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 added in v0.11.0

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