Documentation
¶
Index ¶
- func AddPrefixZero(hex []byte, length int) (res []byte)
- func BigIntToHex(i *big.Int) string
- func BytesToHexStr(b []byte) string
- func ConcatCopy(slices ...[]byte) []byte
- func ConcatToArray(slices ...[]byte) [][]byte
- func DecodeSingle(str string, typ string) (res interface{}, err error)
- func EncodeABI(funcSig []byte, inputs ...[]byte) (res []byte)
- func ExtractValue(input interface{}) (output string)
- func FileExists(filename string) bool
- func HexStrToBigInt(hexStr string) (res *big.Int)
- func HexStrToBytes(hexStr string) []byte
- func HexStrToUInt64(hexStr string) (res uint64)
- func HexToAddress(hex string) common.Address
- func IntToBigEndianBytes(input interface{}) []byte
- func IsHexStr(str string) bool
- func PaddingHex(str string) string
- func ToMethodID(funcSig string) []byte
- func UInt64ToHex(i uint64) string
- func Uint64ToBytes(i uint64) (b []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPrefixZero ¶
func BigIntToHex ¶
func BytesToHexStr ¶
func ConcatCopy ¶
func ConcatToArray ¶
func DecodeSingle ¶
func ExtractValue ¶
func ExtractValue(input interface{}) (output string)
func FileExists ¶
func HexStrToBigInt ¶
func HexStrToBytes ¶
func HexStrToUInt64 ¶
func HexToAddress ¶
func IntToBigEndianBytes ¶
func IntToBigEndianBytes(input interface{}) []byte
func PaddingHex ¶
func ToMethodID ¶
func UInt64ToHex ¶
func Uint64ToBytes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.