cairovm

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VirtualMachine

type VirtualMachine struct {
	// contains filtered or unexported fields
}

func New

func New(stateManager *statedb.Manager) *VirtualMachine

func (*VirtualMachine) Call

func (s *VirtualMachine) Call(
	ctx context.Context,
	state state.State,
	calldata []*felt.Felt,
	callerAddr,
	contractAddr,
	selector,
	sequencer *felt.Felt,
) ([]*felt.Felt, error)

func (*VirtualMachine) Close

func (s *VirtualMachine) Close()

func (*VirtualMachine) Run

func (s *VirtualMachine) Run(dataDir string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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