guardian

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ModuleName      = "guardian"
	Cdc             = txs.Cdc
	RegisterCodec   = txs.RegisterCodec
	NewGenesisState = types.NewGenesisState
	DefaultGenesis  = types.DefaultGenesisState
	ValidateGenesis = types.ValidateGenesis

	MapperName = mapper.MapperName
	GetMapper  = mapper.GetMapper
	NewMapper  = mapper.NewMapper

	NewGuardian = types.NewGuardian
	Genesis     = types.Genesis

	QueryCommands = client.QueryCommands
	TxCommands    = client.TxCommands
)

Functions

func BeginBlocker

func BeginBlocker(ctx context.Context, req abci.RequestBeginBlock)

func ExportGenesis

func ExportGenesis(ctx context.Context) types.GenesisState

func InitGenesis

func InitGenesis(ctx context.Context, data types.GenesisState)

func NewAppModule

func NewAppModule() types.AppModule

Types

type AppModule

type AppModule struct {
	AppModuleBasic
}

app module

func (AppModule) BeginBlock

func (am AppModule) BeginBlock(ctx context.Context, req abci.RequestBeginBlock)

func (AppModule) EndBlock

func (AppModule) ExportGenesis

func (am AppModule) ExportGenesis(ctx context.Context) json.RawMessage

func (AppModule) InitGenesis

func (am AppModule) InitGenesis(ctx context.Context, bapp *baseabci.BaseApp, data json.RawMessage) []abci.ValidatorUpdate

func (AppModule) RegisterInvariants

func (am AppModule) RegisterInvariants(types.InvariantRegistry)

func (AppModule) RegisterQuerier

func (am AppModule) RegisterQuerier(types.QueryRegistry)

type AppModuleBasic

type AppModuleBasic struct{}

app module basics object

func (AppModuleBasic) DefaultGenesis

func (amb AppModuleBasic) DefaultGenesis() json.RawMessage

func (AppModuleBasic) GetMapperAndHooks

func (amb AppModuleBasic) GetMapperAndHooks() types.MapperWithHooks

func (AppModuleBasic) GetQueryCmds

func (amb AppModuleBasic) GetQueryCmds(cdc *amino.Codec) []*cobra.Command

func (AppModuleBasic) GetTxCmds

func (amb AppModuleBasic) GetTxCmds(cdc *amino.Codec) []*cobra.Command

func (AppModuleBasic) Name

func (amb AppModuleBasic) Name() string

func (AppModuleBasic) RegisterCodec

func (amb AppModuleBasic) RegisterCodec(cdc *amino.Codec)

func (AppModuleBasic) ValidateGenesis

func (amb AppModuleBasic) ValidateGenesis(bz json.RawMessage) error

type GenesisState

type GenesisState = types.GenesisState

type Guardian

type Guardian = types.Guardian

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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