bytecode

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyCode

func VerifyCode(contractName, solcVersion string, solcCode, eth string) (rv bool)

VerifyCode returns true if the compiled code in 'cmp' is a match with the code pulled back from Ethereum in 'eth'. The solcVersion is the version of the compiler used to build the code. You must use the same compiler flags too. The cmp bytecode comes from 'runtimeBytecode' in the JSON compiled binary.

Types

This section is empty.

Jump to

Keyboard shortcuts

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