Help us shape the future of Go! Take the 2026 Go Developer Survey

impl

package
v0.51.1 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: AGPL-3.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddressBytesArrayValueToEVMAddress

func AddressBytesArrayValueToEVMAddress(
	context interpreter.ContainerMutationContext,
	addressBytesValue *interpreter.ArrayValue,
) (
	result types.Address,
	err error,
)

func EVMAddressToAddressBytesArrayValue

func EVMAddressToAddressBytesArrayValue(
	context interpreter.ArrayCreationContext,
	address types.Address,
) *interpreter.ArrayValue

func EVMBytes4ToBytesArrayValue added in v0.38.0

func EVMBytes4ToBytesArrayValue(
	context interpreter.ArrayCreationContext,
	bytes [4]byte,
) *interpreter.ArrayValue

func EVMBytes32ToBytesArrayValue added in v0.38.0

func EVMBytes32ToBytesArrayValue(
	context interpreter.ArrayCreationContext,
	bytes [32]byte,
) *interpreter.ArrayValue

func EVMBytesToBytesArrayValue added in v0.38.0

func EVMBytesToBytesArrayValue(
	context interpreter.ArrayCreationContext,
	bytes []byte,
) *interpreter.ArrayValue

func NewEVMBytes added in v0.38.0

func NewEVMBytes(
	context memberAccessibleArrayCreationContext,
	location common.AddressLocation,
	bytes []byte,
) *interpreter.CompositeValue

func NewEVMBytes4 added in v0.38.0

func NewEVMBytes4(
	context memberAccessibleArrayCreationContext,
	location common.AddressLocation,
	bytes [4]byte,
) *interpreter.CompositeValue

func NewEVMBytes32 added in v0.38.0

func NewEVMBytes32(
	context memberAccessibleArrayCreationContext,
	location common.AddressLocation,
	bytes [32]byte,
) *interpreter.CompositeValue

func NewEVMSpecialTypeIDs added in v0.38.0

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 NewResultDecodedValue added in v0.47.0

func NewResultDecodedValue(
	handler types.ContractHandler,
	gauge common.MemoryGauge,
	context interpreter.InvocationContext,
	location common.AddressLocation,
	evmSpecialTypeIDs *evmSpecialTypeIDs,
	resultTypes *interpreter.ArrayValue,
	result *types.ResultSummary,
) *interpreter.CompositeValue

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