executor

package
v1.0.0-preupgrade Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContractConfig

type ContractConfig struct{}

type Executor

type Executor struct {
	Address             contracts.RawInstanceAddress
	MaxCCVsPerMessage   int64
	CCVAllowlistEnabled bool
	AllowedCCVs         []contracts.RawInstanceAddress
}

func ParseExecutor

func ParseExecutor(createdEvent *apiv2.CreatedEvent) (*Executor, error)

type Server

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

func NewServer

func NewServer(
	_ context.Context,
	logger zerolog.Logger,
	activeContractStore store.ActiveContractStoreInterface,
	config config.ExecutorAPIConfig,
) (*Server, error)

func (*Server) FilterContracts

func (s *Server) FilterContracts(addresses []contracts.InstanceAddress) []contracts.InstanceAddress

FilterContracts returns the sub-set of contracts that are tracked by the Executor API Server

func (*Server) PostExecutorSend

func (s *Server) PostExecutorSend(c *gin.Context, address string)

Jump to

Keyboard shortcuts

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