decoder

package
v0.0.0-...-1fc73c6 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2025 License: Apache-2.0 Imports: 17 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

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

func (*OutputDecoder) HandleInput

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

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

func (*OutputDecoder) ParseBytesToInput

func (o *OutputDecoder) ParseBytesToInput(data []byte) (model.ConvertedInput, error)

func (*OutputDecoder) RetrieveDestination

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