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
Click to show internal directories.
Click to hide internal directories.