eip6492

package
v0.44.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const EIP_6492_OFFCHAIN_DEPLOY_CODE = "" /* 9366-byte string literal not displayed */
View Source
const EIP_6492_SUFFIX = "0x6492649264926492649264926492649264926492649264926492649264926492"

Variables

View Source
var EIP6492MagicBytes = hexutil.MustDecode(EIP_6492_SUFFIX)

Functions

func DecodeEIP6492Signature added in v0.44.1

func DecodeEIP6492Signature(signature []byte) (common.Address, []byte, []byte, error)

func IsEIP6492Signature added in v0.44.1

func IsEIP6492Signature(signature []byte) bool

func ValidateEIP6492Offchain

func ValidateEIP6492Offchain(
	ctx context.Context,
	provider *ethrpc.Provider,
	signer common.Address,
	hash common.Hash,
	signature []byte,
	block *big.Int,
) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL