package
0.0.0-20250202032812-d3f78af0a21c
Repository: https://github.com/wcgcyx/teler.git
Documentation: pkg.go.dev
# Functions
GetAccountStorageKey gets the storage key for a given address and version.
Creates layerlog for the genesis block.
MarshalAccountValue implements the mus.Marshaller interface.
MarshalAddress implements the mus.Marshaller interface.
MarshalBytes implements the mus.Marshaller interface.
MarshalHash implements the mus.Marshaller interface.
MarshalLayerLog implements the mus.Marshaller interface.
MarshalStorage implements the mus.Marshaller interface.
MarshalUint256 implements the mus.Marshaller interface.
SizeAccountValue implements the mus.Sizer interface.
SizeAddress implements the mus.Sizer interface.
SizeBytes implements the mus.Sizer interface.
SizeHash implements the mus.Sizer interface.
SizeLayerLog implements the mus.Sizer interface.
SizeStorage implements the mus.Sizer interface.
SizeUint256 implements the mus.Sizer interface.
SplitAccountStorageKey splits the storage key to get the address and version.
UnmarshalAccountValue implements the mus.Unmarshaller interface.
UnmarshalAddress implements the mus.Unmarshaller interface.
UnmarshalBytes implements the mus.Unmarshaller interface.
UnmarshalHash implements the mus.Unmarshaller interface.
UnmarshalLayerLog implements the mus.Unmarshaller interface.
UnmarshalStorage implements the mus.Unmarshaller interface.
UnmarshalUint256 implements the mus.Unmarshaller interface.
# Structs
AccountValue is used to represent the state of an account.
LayerLog is used to represent the state existed in a state layer.