Documentation ¶
Index ¶
Constants ¶
View Source
const (
VersionSize = 8
)
Variables ¶
View Source
var (
ErrKeyNotFound = errors.New("types not found")
)
Functions ¶
func RegisterAmino ¶
func RegisterAmino(cdc *amino.Codec)
Types ¶
type RWSet ¶
type RWSet struct { Address types.AccAddress Items *RWSetItems }
type RWSetItems ¶
type RWSetMap ¶
type RWSetMap struct {
// contains filtered or unexported fields
}
func NewRWSetMap ¶
func NewRWSetMap() *RWSetMap
func (*RWSetMap) ToItems ¶
func (m *RWSetMap) ToItems() *RWSetItems
type StateManager ¶
type StateManager struct {
// contains filtered or unexported fields
}
func NewStateManager ¶
func NewStateManager(key sdk.StoreKey) *StateManager
type ValueObject ¶
func BytesToValueObject ¶
func BytesToValueObject(b []byte) (*ValueObject, error)
func (ValueObject) Marshal ¶
func (vo ValueObject) Marshal() []byte
func (*ValueObject) Unmarshal ¶
func (vo *ValueObject) Unmarshal(b []byte) error
type Version ¶
func MakeVersion ¶
type VersionedDB ¶
type VersionedDB struct {
// contains filtered or unexported fields
}
func NewVersionedDB ¶
func NewVersionedDB(store types.KVStore) *VersionedDB
func (*VersionedDB) RWSetItems ¶
func (db *VersionedDB) RWSetItems() *RWSetItems
func (*VersionedDB) Set ¶
func (db *VersionedDB) Set(k, v []byte) error
Click to show internal directories.
Click to hide internal directories.