plan

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2020 License: Apache-2.0 Imports: 6 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/plan/types ALIASGEN: github.com/sentinel-official/hub/x/plan/keeper ALIASGEN: github.com/sentinel-official/hub/x/plan/querier

Index

Constants

View Source
const (
	Codespace             = types.Codespace
	EventTypeSetCount     = types.EventTypeSetCount
	EventTypeSet          = types.EventTypeSet
	EventTypeSetStatus    = types.EventTypeSetStatus
	EventTypeAddNode      = types.EventTypeAddNode
	EventTypeRemoveNode   = types.EventTypeRemoveNode
	AttributeKeyAddress   = types.AttributeKeyAddress
	AttributeKeyID        = types.AttributeKeyID
	AttributeKeyCount     = types.AttributeKeyCount
	AttributeKeyStatus    = types.AttributeKeyStatus
	ModuleName            = types.ModuleName
	QuerierRoute          = types.QuerierRoute
	QueryPlan             = types.QueryPlan
	QueryPlans            = types.QueryPlans
	QueryPlansForProvider = types.QueryPlansForProvider
	QueryNodesForPlan     = types.QueryNodesForPlan
)

Variables

View Source
var (
	// functions aliases
	RegisterCodec                  = types.RegisterCodec
	ErrorMarshal                   = types.ErrorMarshal
	ErrorUnmarshal                 = types.ErrorUnmarshal
	ErrorUnknownMsgType            = types.ErrorUnknownMsgType
	ErrorUnknownQueryType          = types.ErrorUnknownQueryType
	ErrorInvalidField              = types.ErrorInvalidField
	ErrorProviderDoesNotExist      = types.ErrorProviderDoesNotExist
	ErrorPlanDoesNotExist          = types.ErrorPlanDoesNotExist
	ErrorNodeDoesNotExist          = types.ErrorNodeDoesNotExist
	ErrorUnauthorized              = types.ErrorUnauthorized
	NewGenesisState                = types.NewGenesisState
	DefaultGenesisState            = types.DefaultGenesisState
	PlanKey                        = types.PlanKey
	GetPlanForProviderKeyPrefix    = types.GetPlanForProviderKeyPrefix
	PlanForProviderKey             = types.PlanForProviderKey
	GetNodeForPlanKeyPrefix        = types.GetNodeForPlanKeyPrefix
	NodeForPlanKey                 = types.NodeForPlanKey
	NewMsgAdd                      = types.NewMsgAdd
	NewMsgSetStatus                = types.NewMsgSetStatus
	NewMsgAddNode                  = types.NewMsgAddNode
	NewMsgRemoveNode               = types.NewMsgRemoveNode
	NewQueryPlanParams             = types.NewQueryPlanParams
	NewQueryPlansParams            = types.NewQueryPlansParams
	NewQueryPlansForProviderParams = types.NewQueryPlansForProviderParams
	NewQueryNodesForPlanParams     = types.NewQueryNodesForPlanParams
	NewKeeper                      = keeper.NewKeeper
	Querier                        = querier.Querier

	// variable aliases
	ModuleCdc                = types.ModuleCdc
	RouterKey                = types.RouterKey
	StoreKey                 = types.StoreKey
	EventModuleName          = types.EventModuleName
	CountKey                 = types.CountKey
	PlanKeyPrefix            = types.PlanKeyPrefix
	PlanForProviderKeyPrefix = types.PlanForProviderKeyPrefix
	NodeForPlanKeyPrefix     = types.NodeForPlanKeyPrefix
)

Functions

func ExportGenesis

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

func HandleAdd

func HandleAdd(ctx sdk.Context, k keeper.Keeper, msg types.MsgAdd) sdk.Result

func HandleAddNode

func HandleAddNode(ctx sdk.Context, k keeper.Keeper, msg types.MsgAddNode) sdk.Result

func HandleRemoveNode

func HandleRemoveNode(ctx sdk.Context, k keeper.Keeper, msg types.MsgRemoveNode) sdk.Result

func HandleSetStatus

func HandleSetStatus(ctx sdk.Context, k keeper.Keeper, msg types.MsgSetStatus) sdk.Result

func InitGenesis

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

func ValidateGenesis

func ValidateGenesis(state types.GenesisState) error

Types

type GenesisPlan

type GenesisPlan = types.GenesisPlan

type GenesisPlans

type GenesisPlans = types.GenesisPlans

type GenesisState

type GenesisState = types.GenesisState

type Keeper

type Keeper = keeper.Keeper

type MsgAdd

type MsgAdd = types.MsgAdd

type MsgAddNode

type MsgAddNode = types.MsgAddNode

type MsgRemoveNode

type MsgRemoveNode = types.MsgRemoveNode

type MsgSetStatus

type MsgSetStatus = types.MsgSetStatus

type Plan

type Plan = types.Plan

type Plans

type Plans = types.Plans

type QueryNodesForPlanParams

type QueryNodesForPlanParams = types.QueryNodesForPlanParams

type QueryPlanParams

type QueryPlanParams = types.QueryPlanParams

type QueryPlansForProviderParams

type QueryPlansForProviderParams = types.QueryPlansForProviderParams

type QueryPlansParams

type QueryPlansParams = types.QueryPlansParams

Directories

Path Synopsis
client
cli

Jump to

Keyboard shortcuts

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