program

package
v0.0.0-...-825896e Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: GPL-3.0 Imports: 2 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallF

func CallF(p *program.Program, i uint16)

CallF implements CALLF (0xb0) - call a function

func CreateAndCall

func CreateAndCall(p *program.Program, code []byte, isCreate2 bool, callOp vm.OpCode)

CreateAndCall calls create/create2 with the given bytecode and then checks if the returnvalue is non-zero. If so, it calls into the newly created contract with all available gas

func RJump

func RJump(p *program.Program, relOffset uint16)

RJump implements RJUMP (0x5c) - relative jump

func RJumpI

func RJumpI(p *program.Program, relOffset uint16, condition interface{})

RJumpI implements RJUMPI (0x5d) - conditional relative jump

func RJumpV

func RJumpV(p *program.Program, relOffsets []uint16)

RJumpV implements RJUMPV (0x5e) - relative jump via jump table

func RetF

func RetF(p *program.Program)

RetF implements RETF (0xb1) - return from a function

Types

This section is empty.

Jump to

Keyboard shortcuts

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