Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountKeeper ¶
type BankKeeper ¶
type BankKeeper interface { SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins }
type DepositKeeper ¶
type DepositKeeper interface { AddDeposit(ctx sdk.Context, address sdk.AccAddress, coins sdk.Coins) error SubtractDeposit(ctx sdk.Context, address sdk.AccAddress, coins sdk.Coins) error SendCoinsFromDepositToAccount(ctx sdk.Context, fromAddr, toAddr sdk.AccAddress, coins sdk.Coins) error SendCoinsFromDepositToModule(ctx sdk.Context, fromAddr sdk.AccAddress, toModule string, coins sdk.Coins) error }
type NodeKeeper ¶
type OracleKeeper ¶
type PlanKeeper ¶
type ProviderKeeper ¶
type ProviderKeeper interface {
}type SessionKeeper ¶
type SessionKeeper interface { DeleteSession(ctx sdk.Context, id uint64) DeleteSessionForAccount(ctx sdk.Context, addr sdk.AccAddress, id uint64) DeleteSessionForAllocation(ctx sdk.Context, subscriptionID uint64, addr sdk.AccAddress, sessionID uint64) DeleteSessionForNode(ctx sdk.Context, addr base.NodeAddress, id uint64) DeleteSessionForPlanByNode(ctx sdk.Context, planID uint64, addr base.NodeAddress, sessionID uint64) DeleteSessionForSubscription(ctx sdk.Context, subscriptionID, sessionID uint64) GetInactiveAt(ctx sdk.Context) time.Time GetSessionCount(ctx sdk.Context) uint64 GetSession(ctx sdk.Context, id uint64) (sessiontypes.Session, bool) SetSessionCount(ctx sdk.Context, count uint64) SetSession(ctx sdk.Context, session sessiontypes.Session) SetSessionForAccount(ctx sdk.Context, addr sdk.AccAddress, id uint64) SetSessionForAllocation(ctx sdk.Context, subscriptionID uint64, addr sdk.AccAddress, sessionID uint64) SetSessionForInactiveAt(ctx sdk.Context, at time.Time, id uint64) SetSessionForNode(ctx sdk.Context, addr base.NodeAddress, id uint64) SetSessionForPlanByNode(ctx sdk.Context, planID uint64, addr base.NodeAddress, sessionID uint64) SetSessionForSubscription(ctx sdk.Context, subscriptionID, sessionID uint64) SubscriptionInactivePendingPreHook(ctx sdk.Context, id uint64) error }
Click to show internal directories.
Click to hide internal directories.