session

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/sentinel-official/hub/x/session/types ALIASGEN: github.com/sentinel-official/hub/x/session/keeper ALIASGEN: github.com/sentinel-official/hub/x/session/querier

Index

Constants

View Source
const (
	AttributeKeyCount               = types.AttributeKeyCount
	AttributeKeyID                  = types.AttributeKeyID
	AttributeKeySubscription        = types.AttributeKeySubscription
	AttributeKeyAddress             = types.AttributeKeyAddress
	ModuleName                      = types.ModuleName
	QuerierRoute                    = types.QuerierRoute
	DefaultInactiveDuration         = types.DefaultInactiveDuration
	DefaultProofVerificationEnabled = types.DefaultProofVerificationEnabled
	QuerySession                    = types.QuerySession
	QuerySessions                   = types.QuerySessions
	QuerySessionsForSubscription    = types.QuerySessionsForSubscription
	QuerySessionsForNode            = types.QuerySessionsForNode
	QuerySessionsForAddress         = types.QuerySessionsForAddress
	QueryActiveSession              = types.QueryActiveSession
)

Variables

View Source
var (
	// functions aliases
	RegisterCodec                         = types.RegisterCodec
	NewGenesisState                       = types.NewGenesisState
	DefaultGenesisState                   = types.DefaultGenesisState
	GetChannelKeyPrefix                   = types.GetChannelKeyPrefix
	ChannelKey                            = types.ChannelKey
	SessionKey                            = types.SessionKey
	GetSessionForSubscriptionKeyPrefix    = types.GetSessionForSubscriptionKeyPrefix
	SessionForSubscriptionKey             = types.SessionForSubscriptionKey
	GetSessionForNodeKeyPrefix            = types.GetSessionForNodeKeyPrefix
	SessionForNodeKey                     = types.SessionForNodeKey
	GetSessionForAddressKeyPrefix         = types.GetSessionForAddressKeyPrefix
	SessionForAddressKey                  = types.SessionForAddressKey
	GetActiveSessionForAddressKeyPrefix   = types.GetActiveSessionForAddressKeyPrefix
	ActiveSessionForAddressKey            = types.ActiveSessionForAddressKey
	GetActiveSessionAtKeyPrefix           = types.GetActiveSessionAtKeyPrefix
	ActiveSessionAtKey                    = types.ActiveSessionAtKey
	IDFromSessionForSubscriptionKey       = types.IDFromSessionForSubscriptionKey
	IDFromSessionForNodeKey               = types.IDFromSessionForNodeKey
	IDFromSessionForAddressKey            = types.IDFromSessionForAddressKey
	IDFromActiveSessionAtKey              = types.IDFromActiveSessionAtKey
	NewMsgUpsert                          = types.NewMsgUpsert
	NewParams                             = types.NewParams
	DefaultParams                         = types.DefaultParams
	ParamsKeyTable                        = types.ParamsKeyTable
	NewQuerySessionParams                 = types.NewQuerySessionParams
	NewQuerySessionsParams                = types.NewQuerySessionsParams
	NewQuerySessionsForSubscriptionParams = types.NewQuerySessionsForSubscriptionParams
	NewQuerySessionsForNodeParams         = types.NewQuerySessionsForNodeParams
	NewQuerySessionsForAddressParams      = types.NewQuerySessionsForAddressParams
	NewQueryActiveSessionParams           = types.NewQueryActiveSessionParams
	NewKeeper                             = keeper.NewKeeper
	Querier                               = querier.Querier

	// variable aliases
	ModuleCdc                        = types.ModuleCdc
	ErrorMarshal                     = types.ErrorMarshal
	ErrorUnmarshal                   = types.ErrorUnmarshal
	ErrorUnknownMsgType              = types.ErrorUnknownMsgType
	ErrorUnknownQueryType            = types.ErrorUnknownQueryType
	ErrorInvalidField                = types.ErrorInvalidField
	ErrorSubscriptionDoesNotExit     = types.ErrorSubscriptionDoesNotExit
	ErrorInvalidSubscriptionStatus   = types.ErrorInvalidSubscriptionStatus
	ErrorUnauthorized                = types.ErrorUnauthorized
	ErrorQuotaDoesNotExist           = types.ErrorQuotaDoesNotExist
	ErrorInvalidChannel              = types.ErrorInvalidChannel
	ErrorFailedToVerifyProof         = types.ErrorFailedToVerifyProof
	EventTypeSetCount                = types.EventTypeSetCount
	EventTypeSetActive               = types.EventTypeSetActive
	EventTypeUpdate                  = types.EventTypeUpdate
	ParamsSubspace                   = types.ParamsSubspace
	RouterKey                        = types.RouterKey
	StoreKey                         = types.StoreKey
	EventModuleName                  = types.EventModuleName
	CountKey                         = types.CountKey
	ChannelKeyPrefix                 = types.ChannelKeyPrefix
	SessionKeyPrefix                 = types.SessionKeyPrefix
	SessionForSubscriptionKeyPrefix  = types.SessionForSubscriptionKeyPrefix
	SessionForNodeKeyPrefix          = types.SessionForNodeKeyPrefix
	SessionForAddressKeyPrefix       = types.SessionForAddressKeyPrefix
	ActiveSessionAtKeyPrefix         = types.ActiveSessionAtKeyPrefix
	ActiveSessionForAddressKeyPrefix = types.ActiveSessionForAddressKeyPrefix
	KeyInactiveDuration              = types.KeyInactiveDuration
	KeyProofVerificationEnabled      = types.KeyProofVerificationEnabled
)

Functions

func EndBlock

func EndBlock(ctx sdk.Context, k keeper.Keeper) []abci.ValidatorUpdate

func ExportGenesis

func ExportGenesis(ctx sdk.Context, k keeper.Keeper) types.GenesisState

func HandleUpsert

func HandleUpsert(ctx sdk.Context, k keeper.Keeper, msg types.MsgUpsert) (*sdk.Result, error)

func InitGenesis

func InitGenesis(ctx sdk.Context, k keeper.Keeper, state types.GenesisState)

func ValidateGenesis

func ValidateGenesis(state types.GenesisState) error

Types

type GenesisState

type GenesisState = types.GenesisState

type Keeper

type Keeper = keeper.Keeper

type MsgUpsert

type MsgUpsert = types.MsgUpsert

type Params

type Params = types.Params

type Proof added in v0.5.0

type Proof = types.Proof

type QueryActiveSessionParams added in v0.5.0

type QueryActiveSessionParams = types.QueryActiveSessionParams

type QuerySessionParams

type QuerySessionParams = types.QuerySessionParams

type QuerySessionsForAddressParams

type QuerySessionsForAddressParams = types.QuerySessionsForAddressParams

type QuerySessionsForNodeParams

type QuerySessionsForNodeParams = types.QuerySessionsForNodeParams

type QuerySessionsForSubscriptionParams

type QuerySessionsForSubscriptionParams = types.QuerySessionsForSubscriptionParams

type QuerySessionsParams

type QuerySessionsParams = types.QuerySessionsParams

type Session

type Session = types.Session

type Sessions

type Sessions = types.Sessions

Directories

Path Synopsis
client
cli

Jump to

Keyboard shortcuts

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