Versions in this module Expand all Collapse all v1 v1.1.0 Jul 15, 2022 Changes in this version + func VerifyEllipticCurveHexSignatureEx(address ethcommon.Address, data []byte, signature string) (bool, error) v1.0.0 Jul 15, 2022 Changes in this version + func CopyBytes(data []byte) []byte + func EcRecover(data []byte, sig []byte) (ethcommon.Address, error) + func EcRecoverEx(data []byte, sig []byte) (ethcommon.Address, error) + func GetERC1271Magic() [4]byte + func Has0xPrefix(str string) bool + func HashTypedData(data apitypes.TypedData) ([]byte, []byte, error) + func HexDecode(s string) ([]byte, error) + func IsErrExecutionReverted(err error) bool + func IsErrNoContractCode(err error) bool + func RecoveryAddress(data []byte, sig []byte) (ethcommon.Address, error) + func RecoveryAddressEx(data []byte, sig []byte) (ethcommon.Address, error) + func RecoveryTypedDataAddressEx(data apitypes.TypedData, signature []byte) (ethcommon.Address, error) + func VerifyERC1271HexSignature(ctx context.Context, client *ethclient.Client, address ethcommon.Address, ...) (bool, error) + func VerifyERC1271Signature(ctx context.Context, client *ethclient.Client, address ethcommon.Address, ...) (bool, error) + func VerifyEllipticCurveSignature(address ethcommon.Address, data []byte, signature []byte) (bool, error) + func VerifyEllipticCurveSignatureEx(address ethcommon.Address, data []byte, signature []byte) (bool, error) + func VerifyHexSignatureEx(ctx context.Context, client *ethclient.Client, address ethcommon.Address, ...) (bool, error) + func VerifySignatureEx(ctx context.Context, client *ethclient.Client, address ethcommon.Address, ...) (bool, error) + func VerifyTypedDataHexSignatureEx(address ethcommon.Address, data apitypes.TypedData, signature string) (bool, error) + func VerifyTypedDataSignatureEx(address ethcommon.Address, data apitypes.TypedData, signature []byte) (bool, error)