evmtest

package
v0.6.1-alpha.18 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//go:embed Storage.abi
	StorageContractABI string

	StorageContractBytecode = common.FromHex(strings.TrimSpace(storageContractBytecodeHex))
)
View Source
var (
	//go:embed ERC20Basic.abi
	ERC20ContractABI string

	ERC20ContractBytecode = common.FromHex(strings.TrimSpace(erc20ContractBytecodeHex))
	//deployed bytecode and runtime bytecode are different, see: https://ethereum.stackexchange.com/questions/13086/whats-the-difference-between-solcs-bin-bytecode-versus-bin-runtime
	//go:embed ERC20Basic.bin-runtime
	ERC20ContractRuntimeBytecodeHex string
	ERC20ContractRuntimeBytecode    = common.FromHex(strings.TrimSpace(ERC20ContractRuntimeBytecodeHex))
)
View Source
var (
	//go:embed EndlessLoop.abi
	LoopContractABI string

	LoopContractBytecode = common.FromHex(strings.TrimSpace(loopContractBytecodeHex))
)
View Source
var (
	//go:embed ISCTest.abi
	ISCTestContractABI string

	ISCTestContractBytecode = common.FromHex(strings.TrimSpace(iscTestContractBytecodeHex))
)
View Source
var (
	//go:embed Fibonacci.abi
	FibonacciContractABI string

	FibonacciContractByteCode = common.FromHex(strings.TrimSpace(fibonacciContractBytecodeHex))
)
View Source
var (
	//go:embed GasTestMemory.abi
	GasTestMemoryContractABI string

	GasTestMemoryContractBytecode = common.FromHex(strings.TrimSpace(gasTestMemoryContractBytecodeHex))
)
View Source
var (
	//go:embed GasTestStorage.abi
	GasTestStorageContractABI string

	GasTestStorageContractBytecode = common.FromHex(strings.TrimSpace(gasTestStorageContractBytecodeHex))
)
View Source
var (
	//go:embed GasTestExecutionTime.abi
	GasTestExecutionTimeContractABI string

	GasTestExecutionTimeContractBytecode = common.FromHex(strings.TrimSpace(gasTestExecutionTimeContractBytecodeHex))
)

Functions

func InitGoEthLogger

func InitGoEthLogger(t testing.TB)

Types

This section is empty.

Jump to

Keyboard shortcuts

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