Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAccountGas ¶
func GetAccountGas(ak SizerAccountKeeper, acc Account) (sdk.Gas, bool)
func TryAddGetAccountGas ¶
Types ¶
type Account ¶
Account is an interface used to store coins at a given address within state. It presumes a notion of sequence numbers for replay protection, a notion of account numbers for replay protection for previously pruned accounts, and a pubkey for authentication purposes.
Many complex conditions can be used in the concrete struct which implements Account.
func GetAccountAndGas ¶
func GetAccountAndGas(ctx *sdk.Context, keeper AccountKeeper, addr sdk.AccAddress) (Account, sdk.Gas)
type AccountKeeper ¶
type AccountKeeper interface {
GetAccount(ctx sdk.Context, addr sdk.AccAddress) Account
}
type GenesisAccount ¶
GenesisAccount defines a genesis account that embeds an Account with validation capabilities.
type GenesisAccounts ¶
type GenesisAccounts []GenesisAccount
GenesisAccounts defines a slice of GenesisAccount objects
type SizerAccountKeeper ¶
Click to show internal directories.
Click to hide internal directories.