oraclefactory

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OracleFactory_NewOracle_FullMethodName = "/loop.OracleFactory/NewOracle"
)

Variables

View Source
var File_oraclefactory_proto protoreflect.FileDescriptor
View Source
var OracleFactory_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "loop.OracleFactory",
	HandlerType: (*OracleFactoryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "NewOracle",
			Handler:    _OracleFactory_NewOracle_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "oraclefactory.proto",
}

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

Functions

func RegisterOracleFactoryServer

func RegisterOracleFactoryServer(s grpc.ServiceRegistrar, srv OracleFactoryServer)

Types

type LocalConfig

type LocalConfig struct {
	BlockchainTimeout                  *durationpb.Duration `protobuf:"bytes,1,opt,name=blockchain_timeout,json=blockchainTimeout,proto3" json:"blockchain_timeout,omitempty"`
	ContractConfigConfirmations        uint32               `` /* 145-byte string literal not displayed */
	SkipContractConfigConfirmations    bool                 `` /* 159-byte string literal not displayed */
	ContractConfigTrackerPollInterval  *durationpb.Duration `` /* 166-byte string literal not displayed */
	ContractTransmitterTransmitTimeout *durationpb.Duration `` /* 167-byte string literal not displayed */
	DatabaseTimeout                    *durationpb.Duration `protobuf:"bytes,6,opt,name=database_timeout,json=databaseTimeout,proto3" json:"database_timeout,omitempty"`
	MinOcr2MaxDurationQuery            *durationpb.Duration `` /* 136-byte string literal not displayed */
	DevelopmentMode                    string               `protobuf:"bytes,8,opt,name=development_mode,json=developmentMode,proto3" json:"development_mode,omitempty"`
	// contains filtered or unexported fields
}

func (*LocalConfig) Descriptor deprecated

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

Deprecated: Use LocalConfig.ProtoReflect.Descriptor instead.

func (*LocalConfig) GetBlockchainTimeout

func (x *LocalConfig) GetBlockchainTimeout() *durationpb.Duration

func (*LocalConfig) GetContractConfigConfirmations

func (x *LocalConfig) GetContractConfigConfirmations() uint32

func (*LocalConfig) GetContractConfigTrackerPollInterval

func (x *LocalConfig) GetContractConfigTrackerPollInterval() *durationpb.Duration

func (*LocalConfig) GetContractTransmitterTransmitTimeout

func (x *LocalConfig) GetContractTransmitterTransmitTimeout() *durationpb.Duration

func (*LocalConfig) GetDatabaseTimeout

func (x *LocalConfig) GetDatabaseTimeout() *durationpb.Duration

func (*LocalConfig) GetDevelopmentMode

func (x *LocalConfig) GetDevelopmentMode() string

func (*LocalConfig) GetMinOcr2MaxDurationQuery

func (x *LocalConfig) GetMinOcr2MaxDurationQuery() *durationpb.Duration

func (*LocalConfig) GetSkipContractConfigConfirmations

func (x *LocalConfig) GetSkipContractConfigConfirmations() bool

func (*LocalConfig) ProtoMessage

func (*LocalConfig) ProtoMessage()

func (*LocalConfig) ProtoReflect

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

func (*LocalConfig) Reset

func (x *LocalConfig) Reset()

func (*LocalConfig) String

func (x *LocalConfig) String() string

type NewOracleReply

type NewOracleReply struct {
	OracleId uint32 `protobuf:"varint,1,opt,name=oracle_id,json=oracleId,proto3" json:"oracle_id,omitempty"`
	// contains filtered or unexported fields
}

func (*NewOracleReply) Descriptor deprecated

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

Deprecated: Use NewOracleReply.ProtoReflect.Descriptor instead.

func (*NewOracleReply) GetOracleId

func (x *NewOracleReply) GetOracleId() uint32

func (*NewOracleReply) ProtoMessage

func (*NewOracleReply) ProtoMessage()

func (*NewOracleReply) ProtoReflect

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

func (*NewOracleReply) Reset

func (x *NewOracleReply) Reset()

func (*NewOracleReply) String

func (x *NewOracleReply) String() string

type NewOracleRequest

type NewOracleRequest struct {
	LocalConfig                     *LocalConfig `protobuf:"bytes,1,opt,name=local_config,json=localConfig,proto3" json:"local_config,omitempty"`
	ReportingPluginFactoryServiceId uint32       `` /* 161-byte string literal not displayed */
	ContractConfigTrackerId         uint32       `` /* 135-byte string literal not displayed */
	ContractTransmitterId           uint32       `` /* 127-byte string literal not displayed */
	OffchainConfigDigesterId        uint32       `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*NewOracleRequest) Descriptor deprecated

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

Deprecated: Use NewOracleRequest.ProtoReflect.Descriptor instead.

func (*NewOracleRequest) GetContractConfigTrackerId

func (x *NewOracleRequest) GetContractConfigTrackerId() uint32

func (*NewOracleRequest) GetContractTransmitterId

func (x *NewOracleRequest) GetContractTransmitterId() uint32

func (*NewOracleRequest) GetLocalConfig

func (x *NewOracleRequest) GetLocalConfig() *LocalConfig

func (*NewOracleRequest) GetOffchainConfigDigesterId

func (x *NewOracleRequest) GetOffchainConfigDigesterId() uint32

func (*NewOracleRequest) GetReportingPluginFactoryServiceId

func (x *NewOracleRequest) GetReportingPluginFactoryServiceId() uint32

func (*NewOracleRequest) ProtoMessage

func (*NewOracleRequest) ProtoMessage()

func (*NewOracleRequest) ProtoReflect

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

func (*NewOracleRequest) Reset

func (x *NewOracleRequest) Reset()

func (*NewOracleRequest) String

func (x *NewOracleRequest) String() string

type OracleFactoryClient

type OracleFactoryClient interface {
	NewOracle(ctx context.Context, in *NewOracleRequest, opts ...grpc.CallOption) (*NewOracleReply, error)
}

OracleFactoryClient is the client API for OracleFactory service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type OracleFactoryServer

type OracleFactoryServer interface {
	NewOracle(context.Context, *NewOracleRequest) (*NewOracleReply, error)
	// contains filtered or unexported methods
}

OracleFactoryServer is the server API for OracleFactory service. All implementations must embed UnimplementedOracleFactoryServer for forward compatibility

type UnimplementedOracleFactoryServer

type UnimplementedOracleFactoryServer struct {
}

UnimplementedOracleFactoryServer must be embedded to have forward compatible implementations.

func (UnimplementedOracleFactoryServer) NewOracle

type UnsafeOracleFactoryServer

type UnsafeOracleFactoryServer interface {
	// contains filtered or unexported methods
}

UnsafeOracleFactoryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OracleFactoryServer will result in compilation errors.

Jump to

Keyboard shortcuts

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