evmutil

package
v1.6.0-alpha.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddressToIndexedTopic added in v1.3.0

func AddressToIndexedTopic(addr common.Address) (ret common.Hash)

func CheckGasPrice added in v1.0.3

func CheckGasPrice(gasPrice *big.Int, gasFeePolicy *gas.FeePolicy) error

func ERC721TokenIDToIndexedTopic added in v1.3.0

func ERC721TokenIDToIndexedTopic(tokenID *big.Int) (ret common.Hash)

func GetSender

func GetSender(tx *types.Transaction) (common.Address, error)

func MustGetSender

func MustGetSender(tx *types.Transaction) common.Address

func MustGetSenderIfTxSigned added in v1.0.3

func MustGetSenderIfTxSigned(tx *types.Transaction) common.Address

func PackUint256 added in v1.3.0

func PackUint256(uint256 *big.Int) []byte

func Signer

func Signer(chainID *big.Int) types.Signer

Types

This section is empty.

Jump to

Keyboard shortcuts

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