Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalID ¶
func MarshalID(coord *common.Coordinate, index uint16) uint64
MarshalID returns the packed id
func UnmarshalID ¶
func UnmarshalID(id uint64) (*common.Coordinate, uint16)
UnmarshalID returns the block height, the transaction index in the block, the output index in the transaction
Types ¶
type Base ¶
type Base struct { Coord_ *common.Coordinate Index_ uint16 Type_ Type }
Base is the parts of event functions that are not changed by derived one
Click to show internal directories.
Click to hide internal directories.