Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCodec ¶
RegisterCodec registers the account types and interface
Types ¶
type ModuleAccount ¶
type ModuleAccount struct { *authtypes.BaseAccount Name string `json:"name" yaml:"name"` // name of the module Permissions []string `json:"permissions" yaml:"permissions"` // permissions of module account }
ModuleAccount defines an account for modules that holds coins on a pool
func (*ModuleAccount) UnmarshalJSON ¶
func (ma *ModuleAccount) UnmarshalJSON(bz []byte) error
UnmarshalJSON unmarshals raw JSON bytes into a ModuleAccount.
Click to show internal directories.
Click to hide internal directories.