Versions in this module Expand all Collapse all v0 v0.43.1 Aug 21, 2021 Changes in this version + const ModuleName + var ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") + func GenesisStateFromGenDoc(genDoc tmtypes.GenesisDoc) (genesisState map[string]json.RawMessage, err error) + func GenesisStateFromGenFile(genFile string) (genesisState map[string]json.RawMessage, genDoc *tmtypes.GenesisDoc, err error) + func SetGenesisStateInAppState(cdc codec.JSONCodec, appState map[string]json.RawMessage, ...) map[string]json.RawMessage + func ValidateGenesis(genesisState *GenesisState, txJSONDecoder sdk.TxDecoder) error + type AccountKeeper interface + IterateAccounts func(ctx sdk.Context, process func(auth.AccountI) (stop bool)) + NewAccount func(sdk.Context, auth.AccountI) auth.AccountI + SetAccount func(sdk.Context, auth.AccountI) + type AppMap map[string]json.RawMessage + type GenesisAccountsIterator interface + IterateGenesisAccounts func(cdc *codec.LegacyAmino, appGenesis map[string]json.RawMessage, ...) + type GenesisBalancesIterator interface + IterateGenesisBalances func(cdc codec.JSONCodec, appGenesis map[string]json.RawMessage, ...) + type GenesisState struct + GenTxs []encoding_json.RawMessage + func DefaultGenesisState() *GenesisState + func GetGenesisStateFromAppState(cdc codec.JSONCodec, appState map[string]json.RawMessage) *GenesisState + func NewGenesisState(genTxs []json.RawMessage) *GenesisState + func NewGenesisStateFromTx(txJSONEncoder sdk.TxEncoder, genTxs []sdk.Tx) *GenesisState + func (*GenesisState) Descriptor() ([]byte, []int) + func (*GenesisState) ProtoMessage() + func (m *GenesisState) GetGenTxs() []encoding_json.RawMessage + func (m *GenesisState) Marshal() (dAtA []byte, err error) + func (m *GenesisState) MarshalTo(dAtA []byte) (int, error) + func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GenesisState) Reset() + func (m *GenesisState) Size() (n int) + func (m *GenesisState) String() string + func (m *GenesisState) Unmarshal(dAtA []byte) error + func (m *GenesisState) XXX_DiscardUnknown() + func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GenesisState) XXX_Merge(src proto.Message) + func (m *GenesisState) XXX_Size() int + func (m *GenesisState) XXX_Unmarshal(b []byte) error + type InitConfig struct + ChainID string + GenTxsDir string + NodeID string + ValPubKey cryptotypes.PubKey + func NewInitConfig(chainID, genTxsDir, nodeID string, valPubKey cryptotypes.PubKey) InitConfig + type MigrationCallback func(AppMap, client.Context) AppMap + type MigrationMap map[string]MigrationCallback + type StakingKeeper interface + ApplyAndReturnValidatorSetUpdates func(sdk.Context) (updates []abci.ValidatorUpdate, err error)