Versions in this module Expand all Collapse all v0 v0.0.1 Jun 7, 2021 Changes in this version + const ModuleName + func NewModuleAddress(name string) sdk.AccAddress + func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) + func ValidateGenAccounts(genAccounts GenesisAccounts) error + func ValidatePermissions(permissions ...string) error + type Account interface + GetAccountNumber func() uint64 + GetAddress func() sdk.AccAddress + GetCoins func() sdk.Coins + SetCoins func(sdk.Coins) error + type BaseAccount struct + AccountNumber uint64 + Address sdk.AccAddress + Coins sdk.Coins + PubKey cryptotypes.PubKey + Sequence uint64 + func NewBaseAccount(address sdk.AccAddress, coins sdk.Coins, pk cryptotypes.PubKey, ...) *BaseAccount + func NewBaseAccountWithAddress(addr sdk.AccAddress) BaseAccount + func (acc *BaseAccount) GetAccountNumber() uint64 + func (acc *BaseAccount) GetCoins() sdk.Coins + func (acc *BaseAccount) SetCoins(coins sdk.Coins) error + func (acc *BaseAccount) UnmarshalJSON(bz []byte) error + func (acc BaseAccount) GetAddress() sdk.AccAddress + func (acc BaseAccount) MarshalJSON() ([]byte, error) + func (acc BaseAccount) Validate() error + type BaseVestingAccount struct + DelegatedFree sdk.Coins + DelegatedVesting sdk.Coins + EndTime int64 + OriginalVesting sdk.Coins + func NewBaseVestingAccount(baseAccount *BaseAccount, ...) *BaseVestingAccount + func (bva *BaseVestingAccount) UnmarshalJSON(bz []byte) error + func (bva BaseVestingAccount) MarshalJSON() ([]byte, error) + func (bva BaseVestingAccount) Validate() error + type ContinuousVestingAccount struct + StartTime int64 + func NewContinuousVestingAccountRaw(bva *BaseVestingAccount, startTime int64) *ContinuousVestingAccount + func (cva *ContinuousVestingAccount) UnmarshalJSON(bz []byte) error + func (cva ContinuousVestingAccount) MarshalJSON() ([]byte, error) + func (cva ContinuousVestingAccount) Validate() error + type DelayedVestingAccount struct + func NewDelayedVestingAccountRaw(bva *BaseVestingAccount) *DelayedVestingAccount + func (dva *DelayedVestingAccount) UnmarshalJSON(bz []byte) error + func (dva DelayedVestingAccount) MarshalJSON() ([]byte, error) + func (dva DelayedVestingAccount) Validate() error + type GenesisAccount interface + Validate func() error + type GenesisAccounts []GenesisAccount + func SanitizeGenesisAccounts(genAccounts GenesisAccounts) GenesisAccounts + type GenesisState struct + Accounts GenesisAccounts + Params v034auth.Params + func Migrate(authGenState v036auth.GenesisState, ...) GenesisState + func NewGenesisState(params v034auth.Params, accounts GenesisAccounts) GenesisState + type ModuleAccount struct + Name string + Permissions []string + func NewModuleAccount(baseAccount *BaseAccount, name string, permissions ...string) *ModuleAccount + func (ma *ModuleAccount) UnmarshalJSON(bz []byte) error + func (ma ModuleAccount) MarshalJSON() ([]byte, error) + func (ma ModuleAccount) Validate() error