precompiles

package
v0.0.0-...-7828990 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: LGPL-2.1 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallPrecompile

func CallPrecompile(p *program.Program, f *filler.Filler)

CallPrecompile randomly calls one of the available precompiles.

func CallRandomizer

func CallRandomizer(p *program.Program, f *filler.Filler, c CallObj)

CallRandomizer calls an address either with the CALL, CALLCODE or STATICCALL opcode.

Types

type CallObj

type CallObj struct {
	Gas       *big.Int
	Address   common.Address
	Value     *big.Int
	InOffset  uint32
	InSize    uint32
	OutOffset uint32
	OutSize   uint32
}

CallObj encompasses everything needed to make a call.

Jump to

Keyboard shortcuts

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