Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account interface { GetAddress() sdk.Address SetAddress(sdk.Address) error // errors if already set. GetPubKey() crypto.PublicKey // can return nil. SetPubKey(crypto.PublicKey) error GetCoins() sdk.Coins SetCoins(sdk.Coins) error // Calculates the amount of coins that can be sent to other accounts given // the current time. SpendableCoins(blockTime time.Time) sdk.Coins // Ensure that account implements stringer String() string }
Account is an interface used to store coins at a given address within state. Many complex conditions can be used in the concrete struct which implements Account.
Click to show internal directories.
Click to hide internal directories.