Documentation
¶
Index ¶
- Constants
- Variables
- func BytesDataToEVMIntHash(data []byte) *evmInt256.Int
- func EVMIntToHashBytes(i *evmInt256.Int) [HashLength]byte
- func GetDataFrom(src []byte, offset uint64, size uint64) []byte
- func HashBytesToEVMInt(hash [HashLength]byte) (*evmInt256.Int, error)
- func LeftPaddingSlice(src []byte, toSize int) []byte
- func RightPaddingSlice(src []byte, toSize int) []byte
Constants ¶
View Source
const ( HashLength = 32 MaxClosureDepth = 1024 )
Variables ¶
View Source
var ( BlankHash = make([]byte, HashLength, HashLength) ZeroHash = hashes.Keccak256(nil) )
Functions ¶
func BytesDataToEVMIntHash ¶
func EVMIntToHashBytes ¶
func EVMIntToHashBytes(i *evmInt256.Int) [HashLength]byte
func HashBytesToEVMInt ¶
func HashBytesToEVMInt(hash [HashLength]byte) (*evmInt256.Int, error)
func LeftPaddingSlice ¶
func RightPaddingSlice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.