decoder

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 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 OutputDecoder

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

func NewOutputDecoder

func NewOutputDecoder(convenienceService services.ConvenienceService) *OutputDecoder

func (*OutputDecoder) GetAbi

func (o *OutputDecoder) GetAbi(address common.Address) (*abi.ABI, error)

func (*OutputDecoder) GetConvertedInput added in v1.3.0

func (o *OutputDecoder) GetConvertedInput(input model.InputEdge) (model.ConvertedInput, error)

func (*OutputDecoder) HandleInput added in v1.3.0

func (o *OutputDecoder) HandleInput(
	ctx context.Context,
	input model.InputEdge,
	status model.CompletionStatus,
) error

func (*OutputDecoder) HandleOutput deprecated

func (o *OutputDecoder) HandleOutput(
	ctx context.Context,
	destination common.Address,
	payload string,
	inputIndex uint64,
	outputIndex uint64,
) error

Deprecated: HandleOutput is deprecated.

func (*OutputDecoder) HandleOutputV2 added in v1.3.0

func (o *OutputDecoder) HandleOutputV2(
	ctx context.Context,
	processOutputData model.ProcessOutputData,
) error

func (*OutputDecoder) HandleReport added in v1.3.0

func (o *OutputDecoder) HandleReport(
	ctx context.Context,
	index int,
	outputIndex int,
	payload string,
) error

func (*OutputDecoder) RetrieveDestination added in v1.3.0

func (o *OutputDecoder) RetrieveDestination(payload string) (common.Address, error)

Jump to

Keyboard shortcuts

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