proto

package
v2.6.0-beta0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JobType_name = map[int32]string{
		0: "JOB_TYPE_UNSPECIFIED",
		1: "JOB_TYPE_FLUX_MONITOR",
		2: "JOB_TYPE_OCR",
		3: "JOB_TYPE_OCR2",
	}
	JobType_value = map[string]int32{
		"JOB_TYPE_UNSPECIFIED":  0,
		"JOB_TYPE_FLUX_MONITOR": 1,
		"JOB_TYPE_OCR":          2,
		"JOB_TYPE_OCR2":         3,
	}
)

Enum value maps for JobType.

View Source
var (
	ChainType_name = map[int32]string{
		0: "CHAIN_TYPE_UNSPECIFIED",
		1: "CHAIN_TYPE_EVM",
		2: "CHAIN_TYPE_SOLANA",
	}
	ChainType_value = map[string]int32{
		"CHAIN_TYPE_UNSPECIFIED": 0,
		"CHAIN_TYPE_EVM":         1,
		"CHAIN_TYPE_SOLANA":      2,
	}
)

Enum value maps for ChainType.

View Source
var FeedsManager_ServiceDesc = wsrpc.ServiceDesc{
	ServiceName: "cfm.FeedsManager",
	HandlerType: (*FeedsManagerServer)(nil),
	Methods: []wsrpc.MethodDesc{
		{
			MethodName: "ApprovedJob",
			Handler:    _FeedsManager_ApprovedJob_Handler,
		},
		{
			MethodName: "Healthcheck",
			Handler:    _FeedsManager_Healthcheck_Handler,
		},
		{
			MethodName: "UpdateNode",
			Handler:    _FeedsManager_UpdateNode_Handler,
		},
		{
			MethodName: "RejectedJob",
			Handler:    _FeedsManager_RejectedJob_Handler,
		},
		{
			MethodName: "CancelledJob",
			Handler:    _FeedsManager_CancelledJob_Handler,
		},
	},
}

FeedsManager_ServiceDesc is the wsrpc.ServiceDesc for FeedsManager service. It's only intended for direct use with wsrpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_pkg_noderpc_proto_feeds_manager_proto protoreflect.FileDescriptor
View Source
var NodeService_ServiceDesc = wsrpc.ServiceDesc{
	ServiceName: "cfm.NodeService",
	HandlerType: (*NodeServiceServer)(nil),
	Methods: []wsrpc.MethodDesc{
		{
			MethodName: "ProposeJob",
			Handler:    _NodeService_ProposeJob_Handler,
		},
		{
			MethodName: "DeleteJob",
			Handler:    _NodeService_DeleteJob_Handler,
		},
		{
			MethodName: "RevokeJob",
			Handler:    _NodeService_RevokeJob_Handler,
		},
	},
}

NodeService_ServiceDesc is the wsrpc.ServiceDesc for NodeService service. It's only intended for direct use with wsrpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterFeedsManagerServer

func RegisterFeedsManagerServer(s wsrpc.ServiceRegistrar, srv FeedsManagerServer)

func RegisterNodeServiceServer

func RegisterNodeServiceServer(s wsrpc.ServiceRegistrar, srv NodeServiceServer)

Types

type Account

type Account struct {
	ChainType ChainType `protobuf:"varint,1,opt,name=chain_type,json=chainType,proto3,enum=cfm.ChainType" json:"chain_type,omitempty"`
	ChainId   string    `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Address   string    `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

An account on a specific blockchain

func (*Account) Descriptor deprecated

func (*Account) Descriptor() ([]byte, []int)

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetAddress

func (x *Account) GetAddress() string

func (*Account) GetChainId

func (x *Account) GetChainId() string

func (*Account) GetChainType

func (x *Account) GetChainType() ChainType

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

func (x *Account) ProtoReflect() protoreflect.Message

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

type ApprovedJobRequest

type ApprovedJobRequest struct {
	Uuid    string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Version int64  `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*ApprovedJobRequest) Descriptor deprecated

func (*ApprovedJobRequest) Descriptor() ([]byte, []int)

Deprecated: Use ApprovedJobRequest.ProtoReflect.Descriptor instead.

func (*ApprovedJobRequest) GetUuid

func (x *ApprovedJobRequest) GetUuid() string

func (*ApprovedJobRequest) GetVersion

func (x *ApprovedJobRequest) GetVersion() int64

func (*ApprovedJobRequest) ProtoMessage

func (*ApprovedJobRequest) ProtoMessage()

func (*ApprovedJobRequest) ProtoReflect

func (x *ApprovedJobRequest) ProtoReflect() protoreflect.Message

func (*ApprovedJobRequest) Reset

func (x *ApprovedJobRequest) Reset()

func (*ApprovedJobRequest) String

func (x *ApprovedJobRequest) String() string

type ApprovedJobResponse

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

func (*ApprovedJobResponse) Descriptor deprecated

func (*ApprovedJobResponse) Descriptor() ([]byte, []int)

Deprecated: Use ApprovedJobResponse.ProtoReflect.Descriptor instead.

func (*ApprovedJobResponse) ProtoMessage

func (*ApprovedJobResponse) ProtoMessage()

func (*ApprovedJobResponse) ProtoReflect

func (x *ApprovedJobResponse) ProtoReflect() protoreflect.Message

func (*ApprovedJobResponse) Reset

func (x *ApprovedJobResponse) Reset()

func (*ApprovedJobResponse) String

func (x *ApprovedJobResponse) String() string

type CancelledJobRequest

type CancelledJobRequest struct {
	Uuid    string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Version int64  `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*CancelledJobRequest) Descriptor deprecated

func (*CancelledJobRequest) Descriptor() ([]byte, []int)

Deprecated: Use CancelledJobRequest.ProtoReflect.Descriptor instead.

func (*CancelledJobRequest) GetUuid

func (x *CancelledJobRequest) GetUuid() string

func (*CancelledJobRequest) GetVersion

func (x *CancelledJobRequest) GetVersion() int64

func (*CancelledJobRequest) ProtoMessage

func (*CancelledJobRequest) ProtoMessage()

func (*CancelledJobRequest) ProtoReflect

func (x *CancelledJobRequest) ProtoReflect() protoreflect.Message

func (*CancelledJobRequest) Reset

func (x *CancelledJobRequest) Reset()

func (*CancelledJobRequest) String

func (x *CancelledJobRequest) String() string

type CancelledJobResponse

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

func (*CancelledJobResponse) Descriptor deprecated

func (*CancelledJobResponse) Descriptor() ([]byte, []int)

Deprecated: Use CancelledJobResponse.ProtoReflect.Descriptor instead.

func (*CancelledJobResponse) ProtoMessage

func (*CancelledJobResponse) ProtoMessage()

func (*CancelledJobResponse) ProtoReflect

func (x *CancelledJobResponse) ProtoReflect() protoreflect.Message

func (*CancelledJobResponse) Reset

func (x *CancelledJobResponse) Reset()

func (*CancelledJobResponse) String

func (x *CancelledJobResponse) String() string

type Chain

type Chain struct {
	Id   string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type ChainType `protobuf:"varint,2,opt,name=type,proto3,enum=cfm.ChainType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*Chain) Descriptor deprecated

func (*Chain) Descriptor() ([]byte, []int)

Deprecated: Use Chain.ProtoReflect.Descriptor instead.

func (*Chain) GetId

func (x *Chain) GetId() string

func (*Chain) GetType

func (x *Chain) GetType() ChainType

func (*Chain) ProtoMessage

func (*Chain) ProtoMessage()

func (*Chain) ProtoReflect

func (x *Chain) ProtoReflect() protoreflect.Message

func (*Chain) Reset

func (x *Chain) Reset()

func (*Chain) String

func (x *Chain) String() string

type ChainConfig

type ChainConfig struct {
	Chain             *Chain             `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
	AccountAddress    string             `protobuf:"bytes,2,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
	AdminAddress      string             `protobuf:"bytes,3,opt,name=admin_address,json=adminAddress,proto3" json:"admin_address,omitempty"`
	FluxMonitorConfig *FluxMonitorConfig `protobuf:"bytes,4,opt,name=flux_monitor_config,json=fluxMonitorConfig,proto3" json:"flux_monitor_config,omitempty"`
	Ocr1Config        *OCR1Config        `protobuf:"bytes,5,opt,name=ocr1_config,json=ocr1Config,proto3" json:"ocr1_config,omitempty"`
	Ocr2Config        *OCR2Config        `protobuf:"bytes,6,opt,name=ocr2_config,json=ocr2Config,proto3" json:"ocr2_config,omitempty"`
	// contains filtered or unexported fields
}

func (*ChainConfig) Descriptor deprecated

func (*ChainConfig) Descriptor() ([]byte, []int)

Deprecated: Use ChainConfig.ProtoReflect.Descriptor instead.

func (*ChainConfig) GetAccountAddress

func (x *ChainConfig) GetAccountAddress() string

func (*ChainConfig) GetAdminAddress

func (x *ChainConfig) GetAdminAddress() string

func (*ChainConfig) GetChain

func (x *ChainConfig) GetChain() *Chain

func (*ChainConfig) GetFluxMonitorConfig

func (x *ChainConfig) GetFluxMonitorConfig() *FluxMonitorConfig

func (*ChainConfig) GetOcr1Config

func (x *ChainConfig) GetOcr1Config() *OCR1Config

func (*ChainConfig) GetOcr2Config

func (x *ChainConfig) GetOcr2Config() *OCR2Config

func (*ChainConfig) ProtoMessage

func (*ChainConfig) ProtoMessage()

func (*ChainConfig) ProtoReflect

func (x *ChainConfig) ProtoReflect() protoreflect.Message

func (*ChainConfig) Reset

func (x *ChainConfig) Reset()

func (*ChainConfig) String

func (x *ChainConfig) String() string

type ChainType

type ChainType int32
const (
	ChainType_CHAIN_TYPE_UNSPECIFIED ChainType = 0
	ChainType_CHAIN_TYPE_EVM         ChainType = 1
	ChainType_CHAIN_TYPE_SOLANA      ChainType = 2
)

func (ChainType) Descriptor

func (ChainType) Descriptor() protoreflect.EnumDescriptor

func (ChainType) Enum

func (x ChainType) Enum() *ChainType

func (ChainType) EnumDescriptor deprecated

func (ChainType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ChainType.Descriptor instead.

func (ChainType) Number

func (x ChainType) Number() protoreflect.EnumNumber

func (ChainType) String

func (x ChainType) String() string

func (ChainType) Type

type DeleteJobRequest

type DeleteJobRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteJobRequest) Descriptor deprecated

func (*DeleteJobRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteJobRequest.ProtoReflect.Descriptor instead.

func (*DeleteJobRequest) GetId

func (x *DeleteJobRequest) GetId() string

func (*DeleteJobRequest) ProtoMessage

func (*DeleteJobRequest) ProtoMessage()

func (*DeleteJobRequest) ProtoReflect

func (x *DeleteJobRequest) ProtoReflect() protoreflect.Message

func (*DeleteJobRequest) Reset

func (x *DeleteJobRequest) Reset()

func (*DeleteJobRequest) String

func (x *DeleteJobRequest) String() string

type DeleteJobResponse

type DeleteJobResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteJobResponse) Descriptor deprecated

func (*DeleteJobResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteJobResponse.ProtoReflect.Descriptor instead.

func (*DeleteJobResponse) GetId

func (x *DeleteJobResponse) GetId() string

func (*DeleteJobResponse) ProtoMessage

func (*DeleteJobResponse) ProtoMessage()

func (*DeleteJobResponse) ProtoReflect

func (x *DeleteJobResponse) ProtoReflect() protoreflect.Message

func (*DeleteJobResponse) Reset

func (x *DeleteJobResponse) Reset()

func (*DeleteJobResponse) String

func (x *DeleteJobResponse) String() string

type FeedsManagerClient

type FeedsManagerClient interface {
	ApprovedJob(ctx context.Context, in *ApprovedJobRequest) (*ApprovedJobResponse, error)
	Healthcheck(ctx context.Context, in *HealthcheckRequest) (*HealthcheckResponse, error)
	UpdateNode(ctx context.Context, in *UpdateNodeRequest) (*UpdateNodeResponse, error)
	RejectedJob(ctx context.Context, in *RejectedJobRequest) (*RejectedJobResponse, error)
	CancelledJob(ctx context.Context, in *CancelledJobRequest) (*CancelledJobResponse, error)
}

FeedsManagerClient is the client API for FeedsManager service.

func NewFeedsManagerClient

func NewFeedsManagerClient(cc wsrpc.ClientInterface) FeedsManagerClient

type FeedsManagerServer

FeedsManagerServer is the server API for FeedsManager service.

type FluxMonitorConfig

type FluxMonitorConfig struct {
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

The config for Flux Monitor on a specific chain

func (*FluxMonitorConfig) Descriptor deprecated

func (*FluxMonitorConfig) Descriptor() ([]byte, []int)

Deprecated: Use FluxMonitorConfig.ProtoReflect.Descriptor instead.

func (*FluxMonitorConfig) GetEnabled

func (x *FluxMonitorConfig) GetEnabled() bool

func (*FluxMonitorConfig) ProtoMessage

func (*FluxMonitorConfig) ProtoMessage()

func (*FluxMonitorConfig) ProtoReflect

func (x *FluxMonitorConfig) ProtoReflect() protoreflect.Message

func (*FluxMonitorConfig) Reset

func (x *FluxMonitorConfig) Reset()

func (*FluxMonitorConfig) String

func (x *FluxMonitorConfig) String() string

type HealthcheckRequest

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

func (*HealthcheckRequest) Descriptor deprecated

func (*HealthcheckRequest) Descriptor() ([]byte, []int)

Deprecated: Use HealthcheckRequest.ProtoReflect.Descriptor instead.

func (*HealthcheckRequest) ProtoMessage

func (*HealthcheckRequest) ProtoMessage()

func (*HealthcheckRequest) ProtoReflect

func (x *HealthcheckRequest) ProtoReflect() protoreflect.Message

func (*HealthcheckRequest) Reset

func (x *HealthcheckRequest) Reset()

func (*HealthcheckRequest) String

func (x *HealthcheckRequest) String() string

type HealthcheckResponse

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

func (*HealthcheckResponse) Descriptor deprecated

func (*HealthcheckResponse) Descriptor() ([]byte, []int)

Deprecated: Use HealthcheckResponse.ProtoReflect.Descriptor instead.

func (*HealthcheckResponse) ProtoMessage

func (*HealthcheckResponse) ProtoMessage()

func (*HealthcheckResponse) ProtoReflect

func (x *HealthcheckResponse) ProtoReflect() protoreflect.Message

func (*HealthcheckResponse) Reset

func (x *HealthcheckResponse) Reset()

func (*HealthcheckResponse) String

func (x *HealthcheckResponse) String() string

type JobType

type JobType int32

Defines the allowed job types

const (
	JobType_JOB_TYPE_UNSPECIFIED  JobType = 0
	JobType_JOB_TYPE_FLUX_MONITOR JobType = 1
	JobType_JOB_TYPE_OCR          JobType = 2
	JobType_JOB_TYPE_OCR2         JobType = 3
)

func (JobType) Descriptor

func (JobType) Descriptor() protoreflect.EnumDescriptor

func (JobType) Enum

func (x JobType) Enum() *JobType

func (JobType) EnumDescriptor deprecated

func (JobType) EnumDescriptor() ([]byte, []int)

Deprecated: Use JobType.Descriptor instead.

func (JobType) Number

func (x JobType) Number() protoreflect.EnumNumber

func (JobType) String

func (x JobType) String() string

func (JobType) Type

func (JobType) Type() protoreflect.EnumType

type NodeServiceClient

type NodeServiceClient interface {
	ProposeJob(ctx context.Context, in *ProposeJobRequest) (*ProposeJobResponse, error)
	DeleteJob(ctx context.Context, in *DeleteJobRequest) (*DeleteJobResponse, error)
	RevokeJob(ctx context.Context, in *RevokeJobRequest) (*RevokeJobResponse, error)
}

NodeServiceClient is the client API for NodeService service.

func NewNodeServiceClient

func NewNodeServiceClient(cc wsrpc.ClientInterface) NodeServiceClient

type NodeServiceServer

NodeServiceServer is the server API for NodeService service.

type OCR1Config

type OCR1Config struct {
	Enabled      bool                     `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	IsBootstrap  bool                     `protobuf:"varint,2,opt,name=is_bootstrap,json=isBootstrap,proto3" json:"is_bootstrap,omitempty"`
	P2PKeyBundle *OCR1Config_P2PKeyBundle `protobuf:"bytes,3,opt,name=p2p_key_bundle,json=p2pKeyBundle,proto3" json:"p2p_key_bundle,omitempty"`
	OcrKeyBundle *OCR1Config_OCRKeyBundle `protobuf:"bytes,4,opt,name=ocr_key_bundle,json=ocrKeyBundle,proto3" json:"ocr_key_bundle,omitempty"`
	Multiaddr    string                   `protobuf:"bytes,5,opt,name=multiaddr,proto3" json:"multiaddr,omitempty"`
	// contains filtered or unexported fields
}

The config for OCR1 on a specific chain

func (*OCR1Config) Descriptor deprecated

func (*OCR1Config) Descriptor() ([]byte, []int)

Deprecated: Use OCR1Config.ProtoReflect.Descriptor instead.

func (*OCR1Config) GetEnabled

func (x *OCR1Config) GetEnabled() bool

func (*OCR1Config) GetIsBootstrap

func (x *OCR1Config) GetIsBootstrap() bool

func (*OCR1Config) GetMultiaddr

func (x *OCR1Config) GetMultiaddr() string

func (*OCR1Config) GetOcrKeyBundle

func (x *OCR1Config) GetOcrKeyBundle() *OCR1Config_OCRKeyBundle

func (*OCR1Config) GetP2PKeyBundle

func (x *OCR1Config) GetP2PKeyBundle() *OCR1Config_P2PKeyBundle

func (*OCR1Config) ProtoMessage

func (*OCR1Config) ProtoMessage()

func (*OCR1Config) ProtoReflect

func (x *OCR1Config) ProtoReflect() protoreflect.Message

func (*OCR1Config) Reset

func (x *OCR1Config) Reset()

func (*OCR1Config) String

func (x *OCR1Config) String() string

type OCR1Config_OCRKeyBundle

type OCR1Config_OCRKeyBundle struct {
	BundleId              string `protobuf:"bytes,1,opt,name=bundle_id,json=bundleId,proto3" json:"bundle_id,omitempty"`
	ConfigPublicKey       string `protobuf:"bytes,2,opt,name=config_public_key,json=configPublicKey,proto3" json:"config_public_key,omitempty"`
	OffchainPublicKey     string `protobuf:"bytes,3,opt,name=offchain_public_key,json=offchainPublicKey,proto3" json:"offchain_public_key,omitempty"`
	OnchainSigningAddress string `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*OCR1Config_OCRKeyBundle) Descriptor deprecated

func (*OCR1Config_OCRKeyBundle) Descriptor() ([]byte, []int)

Deprecated: Use OCR1Config_OCRKeyBundle.ProtoReflect.Descriptor instead.

func (*OCR1Config_OCRKeyBundle) GetBundleId

func (x *OCR1Config_OCRKeyBundle) GetBundleId() string

func (*OCR1Config_OCRKeyBundle) GetConfigPublicKey

func (x *OCR1Config_OCRKeyBundle) GetConfigPublicKey() string

func (*OCR1Config_OCRKeyBundle) GetOffchainPublicKey

func (x *OCR1Config_OCRKeyBundle) GetOffchainPublicKey() string

func (*OCR1Config_OCRKeyBundle) GetOnchainSigningAddress

func (x *OCR1Config_OCRKeyBundle) GetOnchainSigningAddress() string

func (*OCR1Config_OCRKeyBundle) ProtoMessage

func (*OCR1Config_OCRKeyBundle) ProtoMessage()

func (*OCR1Config_OCRKeyBundle) ProtoReflect

func (x *OCR1Config_OCRKeyBundle) ProtoReflect() protoreflect.Message

func (*OCR1Config_OCRKeyBundle) Reset

func (x *OCR1Config_OCRKeyBundle) Reset()

func (*OCR1Config_OCRKeyBundle) String

func (x *OCR1Config_OCRKeyBundle) String() string

type OCR1Config_P2PKeyBundle

type OCR1Config_P2PKeyBundle struct {
	PeerId    string `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
	PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// contains filtered or unexported fields
}

func (*OCR1Config_P2PKeyBundle) Descriptor deprecated

func (*OCR1Config_P2PKeyBundle) Descriptor() ([]byte, []int)

Deprecated: Use OCR1Config_P2PKeyBundle.ProtoReflect.Descriptor instead.

func (*OCR1Config_P2PKeyBundle) GetPeerId

func (x *OCR1Config_P2PKeyBundle) GetPeerId() string

func (*OCR1Config_P2PKeyBundle) GetPublicKey

func (x *OCR1Config_P2PKeyBundle) GetPublicKey() string

func (*OCR1Config_P2PKeyBundle) ProtoMessage

func (*OCR1Config_P2PKeyBundle) ProtoMessage()

func (*OCR1Config_P2PKeyBundle) ProtoReflect

func (x *OCR1Config_P2PKeyBundle) ProtoReflect() protoreflect.Message

func (*OCR1Config_P2PKeyBundle) Reset

func (x *OCR1Config_P2PKeyBundle) Reset()

func (*OCR1Config_P2PKeyBundle) String

func (x *OCR1Config_P2PKeyBundle) String() string

type OCR2Config

type OCR2Config struct {
	Enabled          bool                     `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	IsBootstrap      bool                     `protobuf:"varint,2,opt,name=is_bootstrap,json=isBootstrap,proto3" json:"is_bootstrap,omitempty"`
	P2PKeyBundle     *OCR2Config_P2PKeyBundle `protobuf:"bytes,3,opt,name=p2p_key_bundle,json=p2pKeyBundle,proto3" json:"p2p_key_bundle,omitempty"`
	OcrKeyBundle     *OCR2Config_OCRKeyBundle `protobuf:"bytes,4,opt,name=ocr_key_bundle,json=ocrKeyBundle,proto3" json:"ocr_key_bundle,omitempty"`
	Multiaddr        string                   `protobuf:"bytes,5,opt,name=multiaddr,proto3" json:"multiaddr,omitempty"`
	Plugins          *OCR2Config_Plugins      `protobuf:"bytes,6,opt,name=plugins,proto3" json:"plugins,omitempty"`
	ForwarderAddress *string                  `protobuf:"bytes,7,opt,name=forwarder_address,json=forwarderAddress,proto3,oneof" json:"forwarder_address,omitempty"`
	// contains filtered or unexported fields
}

The config for OCR2 on a specific chain

func (*OCR2Config) Descriptor deprecated

func (*OCR2Config) Descriptor() ([]byte, []int)

Deprecated: Use OCR2Config.ProtoReflect.Descriptor instead.

func (*OCR2Config) GetEnabled

func (x *OCR2Config) GetEnabled() bool

func (*OCR2Config) GetForwarderAddress added in v2.6.0

func (x *OCR2Config) GetForwarderAddress() string

func (*OCR2Config) GetIsBootstrap

func (x *OCR2Config) GetIsBootstrap() bool

func (*OCR2Config) GetMultiaddr

func (x *OCR2Config) GetMultiaddr() string

func (*OCR2Config) GetOcrKeyBundle

func (x *OCR2Config) GetOcrKeyBundle() *OCR2Config_OCRKeyBundle

func (*OCR2Config) GetP2PKeyBundle

func (x *OCR2Config) GetP2PKeyBundle() *OCR2Config_P2PKeyBundle

func (*OCR2Config) GetPlugins

func (x *OCR2Config) GetPlugins() *OCR2Config_Plugins

func (*OCR2Config) ProtoMessage

func (*OCR2Config) ProtoMessage()

func (*OCR2Config) ProtoReflect

func (x *OCR2Config) ProtoReflect() protoreflect.Message

func (*OCR2Config) Reset

func (x *OCR2Config) Reset()

func (*OCR2Config) String

func (x *OCR2Config) String() string

type OCR2Config_OCRKeyBundle

type OCR2Config_OCRKeyBundle struct {
	BundleId              string `protobuf:"bytes,1,opt,name=bundle_id,json=bundleId,proto3" json:"bundle_id,omitempty"`
	ConfigPublicKey       string `protobuf:"bytes,2,opt,name=config_public_key,json=configPublicKey,proto3" json:"config_public_key,omitempty"`
	OffchainPublicKey     string `protobuf:"bytes,3,opt,name=offchain_public_key,json=offchainPublicKey,proto3" json:"offchain_public_key,omitempty"`
	OnchainSigningAddress string `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*OCR2Config_OCRKeyBundle) Descriptor deprecated

func (*OCR2Config_OCRKeyBundle) Descriptor() ([]byte, []int)

Deprecated: Use OCR2Config_OCRKeyBundle.ProtoReflect.Descriptor instead.

func (*OCR2Config_OCRKeyBundle) GetBundleId

func (x *OCR2Config_OCRKeyBundle) GetBundleId() string

func (*OCR2Config_OCRKeyBundle) GetConfigPublicKey

func (x *OCR2Config_OCRKeyBundle) GetConfigPublicKey() string

func (*OCR2Config_OCRKeyBundle) GetOffchainPublicKey

func (x *OCR2Config_OCRKeyBundle) GetOffchainPublicKey() string

func (*OCR2Config_OCRKeyBundle) GetOnchainSigningAddress

func (x *OCR2Config_OCRKeyBundle) GetOnchainSigningAddress() string

func (*OCR2Config_OCRKeyBundle) ProtoMessage

func (*OCR2Config_OCRKeyBundle) ProtoMessage()

func (*OCR2Config_OCRKeyBundle) ProtoReflect

func (x *OCR2Config_OCRKeyBundle) ProtoReflect() protoreflect.Message

func (*OCR2Config_OCRKeyBundle) Reset

func (x *OCR2Config_OCRKeyBundle) Reset()

func (*OCR2Config_OCRKeyBundle) String

func (x *OCR2Config_OCRKeyBundle) String() string

type OCR2Config_P2PKeyBundle

type OCR2Config_P2PKeyBundle struct {
	PeerId    string `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
	PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// contains filtered or unexported fields
}

func (*OCR2Config_P2PKeyBundle) Descriptor deprecated

func (*OCR2Config_P2PKeyBundle) Descriptor() ([]byte, []int)

Deprecated: Use OCR2Config_P2PKeyBundle.ProtoReflect.Descriptor instead.

func (*OCR2Config_P2PKeyBundle) GetPeerId

func (x *OCR2Config_P2PKeyBundle) GetPeerId() string

func (*OCR2Config_P2PKeyBundle) GetPublicKey

func (x *OCR2Config_P2PKeyBundle) GetPublicKey() string

func (*OCR2Config_P2PKeyBundle) ProtoMessage

func (*OCR2Config_P2PKeyBundle) ProtoMessage()

func (*OCR2Config_P2PKeyBundle) ProtoReflect

func (x *OCR2Config_P2PKeyBundle) ProtoReflect() protoreflect.Message

func (*OCR2Config_P2PKeyBundle) Reset

func (x *OCR2Config_P2PKeyBundle) Reset()

func (*OCR2Config_P2PKeyBundle) String

func (x *OCR2Config_P2PKeyBundle) String() string

type OCR2Config_Plugins

type OCR2Config_Plugins struct {
	Commit  bool `protobuf:"varint,1,opt,name=commit,proto3" json:"commit,omitempty"`
	Execute bool `protobuf:"varint,2,opt,name=execute,proto3" json:"execute,omitempty"`
	Median  bool `protobuf:"varint,3,opt,name=median,proto3" json:"median,omitempty"`
	Mercury bool `protobuf:"varint,4,opt,name=mercury,proto3" json:"mercury,omitempty"`
	// contains filtered or unexported fields
}

func (*OCR2Config_Plugins) Descriptor deprecated

func (*OCR2Config_Plugins) Descriptor() ([]byte, []int)

Deprecated: Use OCR2Config_Plugins.ProtoReflect.Descriptor instead.

func (*OCR2Config_Plugins) GetCommit

func (x *OCR2Config_Plugins) GetCommit() bool

func (*OCR2Config_Plugins) GetExecute

func (x *OCR2Config_Plugins) GetExecute() bool

func (*OCR2Config_Plugins) GetMedian

func (x *OCR2Config_Plugins) GetMedian() bool

func (*OCR2Config_Plugins) GetMercury

func (x *OCR2Config_Plugins) GetMercury() bool

func (*OCR2Config_Plugins) ProtoMessage

func (*OCR2Config_Plugins) ProtoMessage()

func (*OCR2Config_Plugins) ProtoReflect

func (x *OCR2Config_Plugins) ProtoReflect() protoreflect.Message

func (*OCR2Config_Plugins) Reset

func (x *OCR2Config_Plugins) Reset()

func (*OCR2Config_Plugins) String

func (x *OCR2Config_Plugins) String() string

type ProposeJobRequest

type ProposeJobRequest struct {
	Id         string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Spec       string   `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
	Multiaddrs []string `protobuf:"bytes,3,rep,name=multiaddrs,proto3" json:"multiaddrs,omitempty"`
	Version    int64    `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*ProposeJobRequest) Descriptor deprecated

func (*ProposeJobRequest) Descriptor() ([]byte, []int)

Deprecated: Use ProposeJobRequest.ProtoReflect.Descriptor instead.

func (*ProposeJobRequest) GetId

func (x *ProposeJobRequest) GetId() string

func (*ProposeJobRequest) GetMultiaddrs

func (x *ProposeJobRequest) GetMultiaddrs() []string

func (*ProposeJobRequest) GetSpec

func (x *ProposeJobRequest) GetSpec() string

func (*ProposeJobRequest) GetVersion

func (x *ProposeJobRequest) GetVersion() int64

func (*ProposeJobRequest) ProtoMessage

func (*ProposeJobRequest) ProtoMessage()

func (*ProposeJobRequest) ProtoReflect

func (x *ProposeJobRequest) ProtoReflect() protoreflect.Message

func (*ProposeJobRequest) Reset

func (x *ProposeJobRequest) Reset()

func (*ProposeJobRequest) String

func (x *ProposeJobRequest) String() string

type ProposeJobResponse

type ProposeJobResponse struct {
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ProposeJobResponse) Descriptor deprecated

func (*ProposeJobResponse) Descriptor() ([]byte, []int)

Deprecated: Use ProposeJobResponse.ProtoReflect.Descriptor instead.

func (*ProposeJobResponse) GetId

func (x *ProposeJobResponse) GetId() string

func (*ProposeJobResponse) ProtoMessage

func (*ProposeJobResponse) ProtoMessage()

func (*ProposeJobResponse) ProtoReflect

func (x *ProposeJobResponse) ProtoReflect() protoreflect.Message

func (*ProposeJobResponse) Reset

func (x *ProposeJobResponse) Reset()

func (*ProposeJobResponse) String

func (x *ProposeJobResponse) String() string

type RejectedJobRequest

type RejectedJobRequest struct {
	Uuid    string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Version int64  `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*RejectedJobRequest) Descriptor deprecated

func (*RejectedJobRequest) Descriptor() ([]byte, []int)

Deprecated: Use RejectedJobRequest.ProtoReflect.Descriptor instead.

func (*RejectedJobRequest) GetUuid

func (x *RejectedJobRequest) GetUuid() string

func (*RejectedJobRequest) GetVersion

func (x *RejectedJobRequest) GetVersion() int64

func (*RejectedJobRequest) ProtoMessage

func (*RejectedJobRequest) ProtoMessage()

func (*RejectedJobRequest) ProtoReflect

func (x *RejectedJobRequest) ProtoReflect() protoreflect.Message

func (*RejectedJobRequest) Reset

func (x *RejectedJobRequest) Reset()

func (*RejectedJobRequest) String

func (x *RejectedJobRequest) String() string

type RejectedJobResponse

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

func (*RejectedJobResponse) Descriptor deprecated

func (*RejectedJobResponse) Descriptor() ([]byte, []int)

Deprecated: Use RejectedJobResponse.ProtoReflect.Descriptor instead.

func (*RejectedJobResponse) ProtoMessage

func (*RejectedJobResponse) ProtoMessage()

func (*RejectedJobResponse) ProtoReflect

func (x *RejectedJobResponse) ProtoReflect() protoreflect.Message

func (*RejectedJobResponse) Reset

func (x *RejectedJobResponse) Reset()

func (*RejectedJobResponse) String

func (x *RejectedJobResponse) String() string

type RevokeJobRequest

type RevokeJobRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeJobRequest) Descriptor deprecated

func (*RevokeJobRequest) Descriptor() ([]byte, []int)

Deprecated: Use RevokeJobRequest.ProtoReflect.Descriptor instead.

func (*RevokeJobRequest) GetId

func (x *RevokeJobRequest) GetId() string

func (*RevokeJobRequest) ProtoMessage

func (*RevokeJobRequest) ProtoMessage()

func (*RevokeJobRequest) ProtoReflect

func (x *RevokeJobRequest) ProtoReflect() protoreflect.Message

func (*RevokeJobRequest) Reset

func (x *RevokeJobRequest) Reset()

func (*RevokeJobRequest) String

func (x *RevokeJobRequest) String() string

type RevokeJobResponse

type RevokeJobResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeJobResponse) Descriptor deprecated

func (*RevokeJobResponse) Descriptor() ([]byte, []int)

Deprecated: Use RevokeJobResponse.ProtoReflect.Descriptor instead.

func (*RevokeJobResponse) GetId

func (x *RevokeJobResponse) GetId() string

func (*RevokeJobResponse) ProtoMessage

func (*RevokeJobResponse) ProtoMessage()

func (*RevokeJobResponse) ProtoReflect

func (x *RevokeJobResponse) ProtoReflect() protoreflect.Message

func (*RevokeJobResponse) Reset

func (x *RevokeJobResponse) Reset()

func (*RevokeJobResponse) String

func (x *RevokeJobResponse) String() string

type UpdateNodeRequest

type UpdateNodeRequest struct {
	JobTypes           []JobType      `protobuf:"varint,1,rep,packed,name=job_types,json=jobTypes,proto3,enum=cfm.JobType" json:"job_types,omitempty"`
	ChainId            int64          `protobuf:"varint,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // To be removed when all nodes are upgraded to 1.2
	AccountAddresses   []string       `protobuf:"bytes,3,rep,name=account_addresses,json=accountAddresses,proto3" json:"account_addresses,omitempty"`
	IsBootstrapPeer    bool           `protobuf:"varint,4,opt,name=is_bootstrap_peer,json=isBootstrapPeer,proto3" json:"is_bootstrap_peer,omitempty"`
	BootstrapMultiaddr string         `protobuf:"bytes,5,opt,name=bootstrap_multiaddr,json=bootstrapMultiaddr,proto3" json:"bootstrap_multiaddr,omitempty"`
	Version            string         `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
	ChainIds           []int64        `protobuf:"varint,7,rep,packed,name=chain_ids,json=chainIds,proto3" json:"chain_ids,omitempty"`
	Accounts           []*Account     `protobuf:"bytes,8,rep,name=accounts,proto3" json:"accounts,omitempty"`
	Chains             []*Chain       `protobuf:"bytes,9,rep,name=chains,proto3" json:"chains,omitempty"`
	ChainConfigs       []*ChainConfig `protobuf:"bytes,10,rep,name=chain_configs,json=chainConfigs,proto3" json:"chain_configs,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateNodeRequest) Descriptor deprecated

func (*UpdateNodeRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateNodeRequest.ProtoReflect.Descriptor instead.

func (*UpdateNodeRequest) GetAccountAddresses

func (x *UpdateNodeRequest) GetAccountAddresses() []string

func (*UpdateNodeRequest) GetAccounts

func (x *UpdateNodeRequest) GetAccounts() []*Account

func (*UpdateNodeRequest) GetBootstrapMultiaddr

func (x *UpdateNodeRequest) GetBootstrapMultiaddr() string

func (*UpdateNodeRequest) GetChainConfigs

func (x *UpdateNodeRequest) GetChainConfigs() []*ChainConfig

func (*UpdateNodeRequest) GetChainId

func (x *UpdateNodeRequest) GetChainId() int64

func (*UpdateNodeRequest) GetChainIds

func (x *UpdateNodeRequest) GetChainIds() []int64

func (*UpdateNodeRequest) GetChains

func (x *UpdateNodeRequest) GetChains() []*Chain

func (*UpdateNodeRequest) GetIsBootstrapPeer

func (x *UpdateNodeRequest) GetIsBootstrapPeer() bool

func (*UpdateNodeRequest) GetJobTypes

func (x *UpdateNodeRequest) GetJobTypes() []JobType

func (*UpdateNodeRequest) GetVersion

func (x *UpdateNodeRequest) GetVersion() string

func (*UpdateNodeRequest) ProtoMessage

func (*UpdateNodeRequest) ProtoMessage()

func (*UpdateNodeRequest) ProtoReflect

func (x *UpdateNodeRequest) ProtoReflect() protoreflect.Message

func (*UpdateNodeRequest) Reset

func (x *UpdateNodeRequest) Reset()

func (*UpdateNodeRequest) String

func (x *UpdateNodeRequest) String() string

type UpdateNodeResponse

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

func (*UpdateNodeResponse) Descriptor deprecated

func (*UpdateNodeResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateNodeResponse.ProtoReflect.Descriptor instead.

func (*UpdateNodeResponse) ProtoMessage

func (*UpdateNodeResponse) ProtoMessage()

func (*UpdateNodeResponse) ProtoReflect

func (x *UpdateNodeResponse) ProtoReflect() protoreflect.Message

func (*UpdateNodeResponse) Reset

func (x *UpdateNodeResponse) Reset()

func (*UpdateNodeResponse) String

func (x *UpdateNodeResponse) String() string

Jump to

Keyboard shortcuts

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