impl

package
v0.38.0-preview.0.0.8 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: AGPL-3.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddressBytesArrayValueToEVMAddress

func AddressBytesArrayValueToEVMAddress(
	inter *interpreter.Interpreter,
	locationRange interpreter.LocationRange,
	addressBytesValue *interpreter.ArrayValue,
) (
	result types.Address,
	err error,
)

func EVMAddressToAddressBytesArrayValue

func EVMAddressToAddressBytesArrayValue(
	inter *interpreter.Interpreter,
	address types.Address,
) *interpreter.ArrayValue

func EVMBytes32ToBytesArrayValue

func EVMBytes32ToBytesArrayValue(
	inter *interpreter.Interpreter,
	bytes [32]byte,
) *interpreter.ArrayValue

func EVMBytes4ToBytesArrayValue

func EVMBytes4ToBytesArrayValue(
	inter *interpreter.Interpreter,
	bytes [4]byte,
) *interpreter.ArrayValue

func EVMBytesToBytesArrayValue

func EVMBytesToBytesArrayValue(
	inter *interpreter.Interpreter,
	bytes []byte,
) *interpreter.ArrayValue

func NewEVMAddress

func NewEVMAddress(
	inter *interpreter.Interpreter,
	locationRange interpreter.LocationRange,
	location common.AddressLocation,
	address types.Address,
) *interpreter.CompositeValue

func NewEVMBlockValue

func NewEVMBlockValue(
	handler types.ContractHandler,
	gauge common.MemoryGauge,
	inter *interpreter.Interpreter,
	locationRange interpreter.LocationRange,
	block *types.Block,
) *interpreter.CompositeValue

func NewEVMBytes

func NewEVMBytes(
	inter *interpreter.Interpreter,
	locationRange interpreter.LocationRange,
	location common.AddressLocation,
	bytes []byte,
) *interpreter.CompositeValue

func NewEVMBytes32

func NewEVMBytes32(
	inter *interpreter.Interpreter,
	locationRange interpreter.LocationRange,
	location common.AddressLocation,
	bytes [32]byte,
) *interpreter.CompositeValue

func NewEVMBytes4

func NewEVMBytes4(
	inter *interpreter.Interpreter,
	locationRange interpreter.LocationRange,
	location common.AddressLocation,
	bytes [4]byte,
) *interpreter.CompositeValue

func NewEVMSpecialTypeIDs

func NewEVMSpecialTypeIDs(
	gauge common.MemoryGauge,
	location common.AddressLocation,
) evmSpecialTypeIDs

func NewInternalEVMContractValue

func NewInternalEVMContractValue(
	gauge common.MemoryGauge,
	handler types.ContractHandler,
	contractAddress flow.Address,
) *interpreter.SimpleCompositeValue

func ResultSummaryFromEVMResultValue

func ResultSummaryFromEVMResultValue(val cadence.Value) (*types.ResultSummary, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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