evmtest

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: Apache-2.0, BSD-2-Clause 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.T)

Types

This section is empty.

Jump to

Keyboard shortcuts

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