targets

package
v2.11.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitializeWrite

func InitializeWrite(registry commontypes.CapabilitiesRegistry, legacyEVMChains legacyevm.LegacyChainContainer, lggr logger.Logger) error

Types

type EvmConfig

type EvmConfig struct {
	ChainID uint
	Address string
	Params  []any
	ABI     string
}

type EvmWrite

type EvmWrite struct {
	capabilities.CapabilityInfo
	// contains filtered or unexported fields
}

func NewEvmWrite

func NewEvmWrite(chain legacyevm.Chain, lggr logger.Logger) *EvmWrite

func (*EvmWrite) Execute

func (cap *EvmWrite) Execute(ctx context.Context, callback chan<- capabilities.CapabilityResponse, request capabilities.CapabilityRequest) error

func (*EvmWrite) RegisterToWorkflow

func (cap *EvmWrite) RegisterToWorkflow(ctx context.Context, request capabilities.RegisterToWorkflowRequest) error

func (*EvmWrite) UnregisterFromWorkflow

func (cap *EvmWrite) UnregisterFromWorkflow(ctx context.Context, request capabilities.UnregisterFromWorkflowRequest) error

Jump to

Keyboard shortcuts

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