signedoracle

package
v0.76.0-preview.4 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SpecConfiguration

type SpecConfiguration struct {
	Signers []*common.Signer
	Filters []*common.SpecFilter
}

SpecConfiguration is used only by Oracles without a type wrapper at the moment.

func SpecConfigurationFromProto

func SpecConfigurationFromProto(protoConfig *vegapb.DataSourceSpecConfiguration) SpecConfiguration

SpecConfigurationFromProto tries to build the SpecConfiguration object from the given proto object.

func (SpecConfiguration) DeepClone

func (s SpecConfiguration) DeepClone() common.DataSourceType

func (SpecConfiguration) GetFilters

func (s SpecConfiguration) GetFilters() []*common.SpecFilter

func (*SpecConfiguration) IntoProto

IntoProto tries to build the proto object from SpecConfiguration.

func (SpecConfiguration) String

func (s SpecConfiguration) String() string

String returns the content of DataSourceSpecConfiguration as a string.

func (SpecConfiguration) ToDefinitionProto

func (s SpecConfiguration) ToDefinitionProto() (*vegapb.DataSourceDefinition, error)

Jump to

Keyboard shortcuts

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