# Packages
No description provided by the author
Package compiler wraps the Solidity and Vyper compiler executables (solc; vyper).
No description provided by the author
Package hexutil implements hex encoding with 0x prefix.
Package json implements encoding and decoding of JSON as defined in RFC 7159.
Package math provides integer math utilities.
Package mclock is a wrapper for a monotonic clock source.
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
AbsolutePath returns datadir + filename, or filename if it is absolute.
No description provided by the author
No description provided by the author
BigToAddress returns Address with byte values of b.
BigToHash sets byte representation of b to hash.
Bytes2Hex returns the hexadecimal encoding of d.
BytesToAddress returns Address with value b.
No description provided by the author
No description provided by the author
BytesToHash sets b to hash.
No description provided by the author
No description provided by the author
BytesToAddress returns Address with value b.
No description provided by the author
No description provided by the author
No description provided by the author
CopyBytes returns an exact copy of the provided bytes.
No description provided by the author
FileExist checks if a file exists at filePath.
No description provided by the author
No description provided by the author
FromHex returns the bytes represented by the hexadecimal string s.
No description provided by the author
Hex2Bytes returns the bytes represented by the hexadecimal string str.
HexID converts a hex string to a NodeID.
HexToAddress returns Address with byte values of s.
HexToHash sets byte representation of s to hash.
HexToNodeAddress returns NodeAddress with byte values of s.
No description provided by the author
No description provided by the author
IsHexAddress verifies whether a string can represent a valid hex-encoded Ethereum address or not.
LeftPadBytes zero-pads slice to the left up to length l.
LoadJSON reads the given file and unmarshals its content.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewMixedcaseAddress constructor (mainly for testing).
NewMixedcaseAddressFromString is mainly meant for unit-testing.
No description provided by the author
PrintDepricationWarning prinst the given string in a box using fmt.Println.
Report gives off a warning requesting the user to submit an issue to the github tracker.
RightPadBytes zero-pads slice to the right up to length l.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ToHex returns the hex representation of b, prefixed with '0x'.
ToHexArray creates a array of hex-string based on []byte.
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
AddressLength is the expected length of the address.
Lengths of hashes and addresses in bytes.
No description provided by the author
Lengths of hashes and addresses in bytes.
HashLength is the expected length of the hash.
No description provided by the author
No description provided by the author
Lengths of hashes and addresses in bytes.
# Variables
Common big integers often used.
Common big integers often used.
Common big integers often used.
Common big integers often used.
Common big integers often used.
Common big integers often used.
Common big integers often used.
Common big integers often used.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
the meter for the protocol of pbft.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
the meter for the protocol of eth.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
AtomicBool is a wrapper around uint32 for usage as a boolean value with atomic access.
business error, Gas will not be returned back to caller.
MixedcaseAddress retains the original string, which may or may not be correctly checksummed.
No description provided by the author
# Type aliases
Address represents the 20 byte address of an Ethereum account.
No description provided by the author
Hash represents the 32 byte Keccak256 hash of arbitrary data.
No description provided by the author
PrettyAge is a pretty printed version of a time.Duration value that rounds the values up to a single most significant unit, days/weeks/years included.
PrettyDuration is a pretty printed version of a time.Duration value that cuts the unnecessary precision off from the formatted textual representation.
StorageSize is a wrapper around a float value that supports user friendly formatting.
UnprefixedAddress allows marshaling an Address without 0x prefix.
UnprefixedHash allows marshaling a Hash without 0x prefix.
No description provided by the author