targets

package
v2.12.1-starknet-20240806 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 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 core.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 (*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