Documentation ¶
Index ¶
Constants ¶
View Source
const ( PRIVLEN = 32 PUBLEN = 33 STATEADDRLEN = 35 EVMADDRLEN = 20 PREFIXLEN = 3 PREFIX = "a68b06" GAS_LIMIT = 1 << 31 FAMILY_NAME = "seth" FAMILY_VERSION = "1.0" ENCODING = "application/protobuf" BLOCK_INFO_PREFIX = "00b10c" BLOCK_INFO_NAMESPACE = BLOCK_INFO_PREFIX + "00" CONFIG_ADDRESS = BLOCK_INFO_PREFIX + "0100000000000000000000000000000000000000000000000000000000000000" )
Lengths are in bytes
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EvmAddr ¶
type EvmAddr [EVMADDRLEN]byte
func GlobalPermissionsAddress ¶
func GlobalPermissionsAddress() *EvmAddr
func NewEvmAddrFromBytes ¶
func NewEvmAddrFromString ¶
func PrivToEvmAddr ¶
func PubToEvmAddr ¶
func (*EvmAddr) ToStateAddr ¶
type StateAddr ¶
type StateAddr string
func NewBlockInfoAddr ¶
func NewStateAddrFromBytes ¶
func NewStateAddrFromString ¶
Click to show internal directories.
Click to hide internal directories.