package
0.0.0-20250119000602-809120120630
Repository: https://github.com/n42blockchain/n42.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

BigToHash sets byte representation of b to hash.
Bytes2Hex returns the hexadecimal encoding of d.
No description provided by the author
BytesToAddress returns Address with value b.
No description provided by the author
CopyBytes returns an exact copy of the provided bytes.
FromHex returns the bytes represented by the hexadecimal string s.
FromHex returns the bytes represented by the hexadecimal string s.
No description provided by the author
HashDifference returns a new set which is the difference between a and b.
Hex2Bytes returns the bytes represented by the hexadecimal string str.
HexToAddress returns Address with byte values of s.
HexToHash sets byte representation of s to hash.
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.
No description provided by the author
LeftPadBytes zero-pads slice to the left 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
No description provided by the author
RightPadBytes zero-pads slice to the right up to length l.
No description provided by the author
TrimLeftZeroes returns a subslice of s without leading zeroes.
TrimRightZeroes returns a subslice of s without trailing zeroes.

# Constants

Address32Length is the expected length of the Starknet address (in bytes).
No description provided by the author
No description provided by the author
IncarnationLength length of uint64 for contract incarnations.
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
Addresses is a slice of common.Address, implementing sort.Interface.
No description provided by the author
Hashes is a slice of common.Hash, implementing sort.Interface.
No description provided by the author
No description provided by the author
StorageSize is a wrapper around a float value that supports user friendly formatting.