Versions in this module Expand all Collapse all v0 v0.7.2 Apr 16, 2020 v0.7.1 Apr 9, 2020 Changes in this version + func GenRawStorageItem(value []byte) []byte + func GetValueFromRawStorageItem(raw []byte) ([]byte, error) + type BookkeeperState struct + CurrBookkeeper []keypair.PublicKey + NextBookkeeper []keypair.PublicKey + func (this *BookkeeperState) Deserialization(source *common.ZeroCopySource) error + func (this *BookkeeperState) Serialization(sink *common.ZeroCopySink) + func (v *BookkeeperState) ToArray() []byte + type StateBase struct + StateVersion byte + func (this *StateBase) Deserialization(source *common.ZeroCopySource) error + func (this *StateBase) Serialization(sink *common.ZeroCopySink) + type StateValue interface + Deserialize func(r io.Reader) error + Serialize func(w io.Writer) error + type StorageItem struct + Value []byte + func (storageItem *StorageItem) ToArray() []byte + func (this *StorageItem) Deserialization(source *common.ZeroCopySource) error + func (this *StorageItem) Serialization(sink *common.ZeroCopySink) + type StorageKey struct + ContractAddress common.Address + Key []byte + func (this *StorageKey) Deserialization(source *common.ZeroCopySource) error + func (this *StorageKey) Serialization(sink *common.ZeroCopySink) + func (this *StorageKey) ToArray() []byte + type ValidatorState struct + PublicKey keypair.PublicKey + func (this *ValidatorState) Deserialization(source *common.ZeroCopySource) error + func (this *ValidatorState) Serialization(sink *common.ZeroCopySink) + type VoteState struct + Count common.Fixed64 + PublicKeys []keypair.PublicKey + func (this *VoteState) Deserialization(source *common.ZeroCopySource) error + func (this *VoteState) Serialization(sink *common.ZeroCopySink)