programs

package
v0.29.6 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Programs

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

TODO(patrick): rm after https://github.com/onflow/flow-emulator/pull/229 is merged and integrated.

func NewEmptyPrograms

func NewEmptyPrograms() *Programs

func (*Programs) ChildPrograms

func (p *Programs) ChildPrograms() *Programs

func (*Programs) Cleanup

func (p *Programs) Cleanup(invalidator derived.TransactionInvalidator)

func (*Programs) GetForTestingOnly

func (p *Programs) GetForTestingOnly(location common.AddressLocation) (*derived.Program, *state.State, bool)

func (*Programs) GetProgram

func (p *Programs) GetProgram(location common.AddressLocation) (*derived.Program, *state.State, bool)

func (*Programs) NextTxIndexForTestingOnly

func (p *Programs) NextTxIndexForTestingOnly() uint32

func (*Programs) SetProgram

func (p *Programs) SetProgram(location common.AddressLocation, program *derived.Program, state *state.State)

Jump to

Keyboard shortcuts

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