package
0.1.1-rc1
Repository: https://github.com/bianjieai/irita.git
Documentation: pkg.go.dev

# Functions

AccountTypeFromString converts string to AccountType byte, Returns ff if invalid.
DefaultGenesisState gets raw genesis raw message for testing.
GetProfilerKey returns profiler key bytes.
GetProfilersSubspaceKey returns the key for getting all profilers from the store.
GetTrusteeKey returns trustee key bytes.
GetProfilersSubspaceKey returns the key for getting all profilers from the store.
NewGenesisState constructs a GenesisState.
NewGuardian constructs a Guardian.
NewMsgAddProfiler constructs a MsgAddProfiler.
NewMsgAddTrustee constructs a MsgAddTrustee.
NewMsgDeleteProfiler constructs a MsgDeleteProfiler.
NewMsgDeleteTrustee constructs a MsgDeleteTrustee.
RegisterCodec registers concrete types on the codec.

# Constants

guardian module event types.
guardian module event types.
guardian module event types.
guardian module event types.
guardian module event types.
guardian module event types.
guardian module event types.
guardian module event types.
guardian module event types.
account type of genesis.
module name.
account type of ordinary.
QuerierRoute is the querier route for the guardian store.
Query endpoints supported by the guardian querier.
nolint.
RouterKey is the message route for guardian.
StoreKey is the default store key for guardian.
type for MsgAddProfiler.
type for MsgAddTrustee.
type for MsgDeleteProfiler.
type for MsgDeleteTrustee.

# Variables

guardian module sentinel errors.
guardian module sentinel errors.
guardian module sentinel errors.
guardian module sentinel errors.
guardian module sentinel errors.
ModuleCdc defines the module codec.
profiler key.
trustee key.

# Structs

AddGuardian defines the properties of add guardian message.
DeleteGuardian defines the properties of delete guardian message.
GenesisState - all guardian state that must be provided at genesis.
Guardian represents a Guardian.
MsgAddProfiler - struct for add a profiler.
______________________________________________________________________ MsgAddTrustee - struct for add a trustee.
______________________________________________________________________ MsgDeleteProfiler - struct for delete a profiler.
______________________________________________________________________ MsgDeleteTrustee - struct for delete a trustee.

# Type aliases

AccountType represents the type of account.
Profilers is a collection of Guardian.
Trustees is a collection of Guardian.