Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account interface { GetAddress() types.AccAddress SetAddress(types.AccAddress) error // errors if already set. GetPubKey() crypto.PubKey // can return nil. SetPubKey(crypto.PubKey) error GetAccountNumber() uint64 SetAccountNumber(uint64) error GetSequence() uint64 SetSequence(uint64) error GetCoins() types.Coins SetCoins(types.Coins) error SetContractType(contractType string) error GetContractType() string // Calculates the amount of coins that can be sent to other accounts given // the current time. SpendableCoins(blockTime time.Time) types.Coins // Ensure that account implements stringer String() string }
Click to show internal directories.
Click to hide internal directories.