Documentation ¶
Index ¶
- func GetAccounts(height int64, addresses []string) []types.Account
- func GetGenesisAccounts(appState map[string]json.RawMessage, cdc codec.Codec) ([]types.Account, error)
- func GetGenesisVestingAccounts(appState map[string]json.RawMessage, cdc codec.Codec) ([]exported.VestingAccount, error)
- type Module
- func (m *Module) HandleGenesis(_ *tmtypes.GenesisDoc, appState map[string]json.RawMessage) error
- func (m *Module) HandleMsg(_ int, msg sdk.Msg, tx *juno.Tx) error
- func (m *Module) HandleMsgExec(index int, _ *authz.MsgExec, _ int, executedMsg sdk.Msg, tx *juno.Tx) error
- func (m *Module) Name() string
- func (m *Module) RefreshAccounts(height int64, addresses []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAccounts ¶
GetAccounts returns the account data for the given addresses
func GetGenesisAccounts ¶
func GetGenesisAccounts(appState map[string]json.RawMessage, cdc codec.Codec) ([]types.Account, error)
GetGenesisAccounts parses the given appState and returns the genesis accounts
func GetGenesisVestingAccounts ¶
func GetGenesisVestingAccounts(appState map[string]json.RawMessage, cdc codec.Codec) ([]exported.VestingAccount, error)
GetGenesisVestingAccounts parses the given appState and returns the genesis vesting accounts
Types ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
Module represents the x/auth module
func NewModule ¶
func NewModule(messagesParser messages.MessageAddressesParser, cdc codec.Codec, db *database.Db) *Module
NewModule builds a new Module instance
func (*Module) HandleGenesis ¶
func (m *Module) HandleGenesis(_ *tmtypes.GenesisDoc, appState map[string]json.RawMessage) error
HandleGenesis implements modules.GenesisModule
Click to show internal directories.
Click to hide internal directories.