Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BankKeeper ¶
type BankKeeper struct {
Bank
}
func NewBankKeeper ¶
func NewBankKeeper() BankKeeper
type KVStore ¶
type KVStore struct { Store // contains filtered or unexported fields }
func NewKVStore ¶
func NewKVStore() KVStore
type MockContext ¶
type MockContext struct {
Context
}
func NewMockContext ¶
func NewMockContext() MockContext
type Store ¶
type Store interface { // Get returns nil iff key doesn't exist. Panics on nil key. Get(key []byte) []byte // Has checks if a key exists. Panics on nil key. Has(key []byte) bool // Set sets the key. Panics on nil key or value. Set(key, value []byte) // Delete deletes the key. Panics on nil key. Delete(key []byte) }
Click to show internal directories.
Click to hide internal directories.