oracle

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthOracle        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOracle          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupOracle = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type Feed

type Feed struct {
	FeedName         string                                               `protobuf:"bytes,1,opt,name=feed_name,json=feedName,proto3" json:"feed_name,omitempty" yaml:"feed_name"`
	Description      string                                               `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	AggregateFunc    string                                               `protobuf:"bytes,3,opt,name=aggregate_func,json=aggregateFunc,proto3" json:"aggregate_func,omitempty" yaml:"aggregate_func"`
	ValueJsonPath    string                                               `protobuf:"bytes,4,opt,name=value_json_path,json=valueJsonPath,proto3" json:"value_json_path,omitempty" yaml:"value_json_path"`
	LatestHistory    uint64                                               `protobuf:"varint,5,opt,name=latest_history,json=latestHistory,proto3" json:"latest_history,omitempty" yaml:"latest_history"`
	RequestContextID github_com_tendermint_tendermint_libs_bytes.HexBytes `` /* 199-byte string literal not displayed */
	Creator          github_com_bianjieai_irita_sdk_go_types.AccAddress   `` /* 127-byte string literal not displayed */
}

Feed defines the feed standard

func (*Feed) Descriptor

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

func (*Feed) GetAggregateFunc

func (m *Feed) GetAggregateFunc() string

func (*Feed) GetDescription

func (m *Feed) GetDescription() string

func (*Feed) GetFeedName

func (m *Feed) GetFeedName() string

func (*Feed) GetLatestHistory

func (m *Feed) GetLatestHistory() uint64

func (*Feed) GetRequestContextID

func (*Feed) GetValueJsonPath

func (m *Feed) GetValueJsonPath() string

func (*Feed) Marshal

func (m *Feed) Marshal() (dAtA []byte, err error)

func (*Feed) MarshalTo

func (m *Feed) MarshalTo(dAtA []byte) (int, error)

func (*Feed) MarshalToSizedBuffer

func (m *Feed) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Feed) ProtoMessage

func (*Feed) ProtoMessage()

func (*Feed) Reset

func (m *Feed) Reset()

func (*Feed) Size

func (m *Feed) Size() (n int)

func (*Feed) String

func (m *Feed) String() string

func (*Feed) Unmarshal

func (m *Feed) Unmarshal(dAtA []byte) error

func (*Feed) XXX_DiscardUnknown

func (m *Feed) XXX_DiscardUnknown()

func (*Feed) XXX_Marshal

func (m *Feed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Feed) XXX_Merge

func (m *Feed) XXX_Merge(src proto.Message)

func (*Feed) XXX_Size

func (m *Feed) XXX_Size() int

func (*Feed) XXX_Unmarshal

func (m *Feed) XXX_Unmarshal(b []byte) error

type FeedValue

type FeedValue struct {
	Data      string    `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Timestamp time.Time `protobuf:"bytes,6,opt,name=timestamp,proto3,stdtime" json:"timestamp"`
}

FeedValue defines the feed result standard

func (*FeedValue) Descriptor

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

func (*FeedValue) GetData

func (m *FeedValue) GetData() string

func (*FeedValue) GetTimestamp

func (m *FeedValue) GetTimestamp() time.Time

func (*FeedValue) Marshal

func (m *FeedValue) Marshal() (dAtA []byte, err error)

func (*FeedValue) MarshalTo

func (m *FeedValue) MarshalTo(dAtA []byte) (int, error)

func (*FeedValue) MarshalToSizedBuffer

func (m *FeedValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FeedValue) ProtoMessage

func (*FeedValue) ProtoMessage()

func (*FeedValue) Reset

func (m *FeedValue) Reset()

func (*FeedValue) Size

func (m *FeedValue) Size() (n int)

func (*FeedValue) String

func (m *FeedValue) String() string

func (*FeedValue) Unmarshal

func (m *FeedValue) Unmarshal(dAtA []byte) error

func (*FeedValue) XXX_DiscardUnknown

func (m *FeedValue) XXX_DiscardUnknown()

func (*FeedValue) XXX_Marshal

func (m *FeedValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FeedValue) XXX_Merge

func (m *FeedValue) XXX_Merge(src proto.Message)

func (*FeedValue) XXX_Size

func (m *FeedValue) XXX_Size() int

func (*FeedValue) XXX_Unmarshal

func (m *FeedValue) XXX_Unmarshal(b []byte) error

type MsgCreateFeed

type MsgCreateFeed struct {
	FeedName          string                                               `protobuf:"bytes,1,opt,name=feed_name,json=feedName,proto3" json:"feed_name,omitempty" yaml:"feed_name"`
	LatestHistory     uint64                                               `protobuf:"varint,2,opt,name=latest_history,json=latestHistory,proto3" json:"latest_history,omitempty" yaml:"latest_history"`
	Description       string                                               `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Creator           github_com_bianjieai_irita_sdk_go_types.AccAddress   `` /* 127-byte string literal not displayed */
	ServiceName       string                                               `protobuf:"bytes,5,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty" yaml:"service_name"`
	Providers         []github_com_bianjieai_irita_sdk_go_types.AccAddress `` /* 131-byte string literal not displayed */
	Input             string                                               `protobuf:"bytes,7,opt,name=input,proto3" json:"input,omitempty"`
	Timeout           int64                                                `protobuf:"varint,8,opt,name=timeout,proto3" json:"timeout,omitempty"`
	ServiceFeeCap     github_com_bianjieai_irita_sdk_go_types.Coins        `` /* 174-byte string literal not displayed */
	RepeatedFrequency uint64                                               `` /* 140-byte string literal not displayed */
	AggregateFunc     string                                               `protobuf:"bytes,11,opt,name=aggregate_func,json=aggregateFunc,proto3" json:"aggregate_func,omitempty" yaml:"aggregate_func"`
	ValueJsonPath     string                                               `` /* 126-byte string literal not displayed */
	ResponseThreshold uint32                                               `` /* 140-byte string literal not displayed */
}

MsgCreateFeed defines an sdk.Msg type that supports creating a feed

func (*MsgCreateFeed) Descriptor

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

func (*MsgCreateFeed) GetAggregateFunc

func (m *MsgCreateFeed) GetAggregateFunc() string

func (*MsgCreateFeed) GetCreator

func (*MsgCreateFeed) GetDescription

func (m *MsgCreateFeed) GetDescription() string

func (*MsgCreateFeed) GetFeedName

func (m *MsgCreateFeed) GetFeedName() string

func (*MsgCreateFeed) GetInput

func (m *MsgCreateFeed) GetInput() string

func (*MsgCreateFeed) GetLatestHistory

func (m *MsgCreateFeed) GetLatestHistory() uint64

func (*MsgCreateFeed) GetProviders

func (*MsgCreateFeed) GetRepeatedFrequency

func (m *MsgCreateFeed) GetRepeatedFrequency() uint64

func (*MsgCreateFeed) GetResponseThreshold

func (m *MsgCreateFeed) GetResponseThreshold() uint32

func (*MsgCreateFeed) GetServiceFeeCap

func (*MsgCreateFeed) GetServiceName

func (m *MsgCreateFeed) GetServiceName() string

func (*MsgCreateFeed) GetTimeout

func (m *MsgCreateFeed) GetTimeout() int64

func (*MsgCreateFeed) GetValueJsonPath

func (m *MsgCreateFeed) GetValueJsonPath() string

func (*MsgCreateFeed) Marshal

func (m *MsgCreateFeed) Marshal() (dAtA []byte, err error)

func (*MsgCreateFeed) MarshalTo

func (m *MsgCreateFeed) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateFeed) MarshalToSizedBuffer

func (m *MsgCreateFeed) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateFeed) ProtoMessage

func (*MsgCreateFeed) ProtoMessage()

func (*MsgCreateFeed) Reset

func (m *MsgCreateFeed) Reset()

func (*MsgCreateFeed) Size

func (m *MsgCreateFeed) Size() (n int)

func (*MsgCreateFeed) String

func (m *MsgCreateFeed) String() string

func (*MsgCreateFeed) Unmarshal

func (m *MsgCreateFeed) Unmarshal(dAtA []byte) error

func (*MsgCreateFeed) XXX_DiscardUnknown

func (m *MsgCreateFeed) XXX_DiscardUnknown()

func (*MsgCreateFeed) XXX_Marshal

func (m *MsgCreateFeed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateFeed) XXX_Merge

func (m *MsgCreateFeed) XXX_Merge(src proto.Message)

func (*MsgCreateFeed) XXX_Size

func (m *MsgCreateFeed) XXX_Size() int

func (*MsgCreateFeed) XXX_Unmarshal

func (m *MsgCreateFeed) XXX_Unmarshal(b []byte) error

type MsgEditFeed

type MsgEditFeed struct {
	FeedName          string                                               `protobuf:"bytes,1,opt,name=feed_name,json=feedName,proto3" json:"feed_name,omitempty" yaml:"feed_name"`
	Description       string                                               `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	LatestHistory     uint64                                               `protobuf:"varint,3,opt,name=latest_history,json=latestHistory,proto3" json:"latest_history,omitempty" yaml:"latest_history"`
	Providers         []github_com_bianjieai_irita_sdk_go_types.AccAddress `` /* 131-byte string literal not displayed */
	Timeout           int64                                                `protobuf:"varint,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
	ServiceFeeCap     github_com_bianjieai_irita_sdk_go_types.Coins        `` /* 174-byte string literal not displayed */
	RepeatedFrequency uint64                                               `` /* 139-byte string literal not displayed */
	ResponseThreshold uint32                                               `` /* 139-byte string literal not displayed */
	Creator           github_com_bianjieai_irita_sdk_go_types.AccAddress   `` /* 127-byte string literal not displayed */
}

MsgEditFeed defines an sdk.Msg type that supports editing a feed

func (*MsgEditFeed) Descriptor

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

func (*MsgEditFeed) GetCreator

func (*MsgEditFeed) GetDescription

func (m *MsgEditFeed) GetDescription() string

func (*MsgEditFeed) GetFeedName

func (m *MsgEditFeed) GetFeedName() string

func (*MsgEditFeed) GetLatestHistory

func (m *MsgEditFeed) GetLatestHistory() uint64

func (*MsgEditFeed) GetProviders

func (*MsgEditFeed) GetRepeatedFrequency

func (m *MsgEditFeed) GetRepeatedFrequency() uint64

func (*MsgEditFeed) GetResponseThreshold

func (m *MsgEditFeed) GetResponseThreshold() uint32

func (*MsgEditFeed) GetServiceFeeCap

func (*MsgEditFeed) GetTimeout

func (m *MsgEditFeed) GetTimeout() int64

func (*MsgEditFeed) Marshal

func (m *MsgEditFeed) Marshal() (dAtA []byte, err error)

func (*MsgEditFeed) MarshalTo

func (m *MsgEditFeed) MarshalTo(dAtA []byte) (int, error)

func (*MsgEditFeed) MarshalToSizedBuffer

func (m *MsgEditFeed) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgEditFeed) ProtoMessage

func (*MsgEditFeed) ProtoMessage()

func (*MsgEditFeed) Reset

func (m *MsgEditFeed) Reset()

func (*MsgEditFeed) Size

func (m *MsgEditFeed) Size() (n int)

func (*MsgEditFeed) String

func (m *MsgEditFeed) String() string

func (*MsgEditFeed) Unmarshal

func (m *MsgEditFeed) Unmarshal(dAtA []byte) error

func (*MsgEditFeed) XXX_DiscardUnknown

func (m *MsgEditFeed) XXX_DiscardUnknown()

func (*MsgEditFeed) XXX_Marshal

func (m *MsgEditFeed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgEditFeed) XXX_Merge

func (m *MsgEditFeed) XXX_Merge(src proto.Message)

func (*MsgEditFeed) XXX_Size

func (m *MsgEditFeed) XXX_Size() int

func (*MsgEditFeed) XXX_Unmarshal

func (m *MsgEditFeed) XXX_Unmarshal(b []byte) error

type MsgPauseFeed

type MsgPauseFeed struct {
	FeedName string                                             `protobuf:"bytes,1,opt,name=feed_name,json=feedName,proto3" json:"feed_name,omitempty" yaml:"feed_name"`
	Creator  github_com_bianjieai_irita_sdk_go_types.AccAddress `` /* 127-byte string literal not displayed */
}

MsgPauseFeed defines an sdk.Msg type that supports pausing a feed

func (*MsgPauseFeed) Descriptor

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

func (*MsgPauseFeed) GetCreator

func (*MsgPauseFeed) GetFeedName

func (m *MsgPauseFeed) GetFeedName() string

func (*MsgPauseFeed) Marshal

func (m *MsgPauseFeed) Marshal() (dAtA []byte, err error)

func (*MsgPauseFeed) MarshalTo

func (m *MsgPauseFeed) MarshalTo(dAtA []byte) (int, error)

func (*MsgPauseFeed) MarshalToSizedBuffer

func (m *MsgPauseFeed) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgPauseFeed) ProtoMessage

func (*MsgPauseFeed) ProtoMessage()

func (*MsgPauseFeed) Reset

func (m *MsgPauseFeed) Reset()

func (*MsgPauseFeed) Size

func (m *MsgPauseFeed) Size() (n int)

func (*MsgPauseFeed) String

func (m *MsgPauseFeed) String() string

func (*MsgPauseFeed) Unmarshal

func (m *MsgPauseFeed) Unmarshal(dAtA []byte) error

func (*MsgPauseFeed) XXX_DiscardUnknown

func (m *MsgPauseFeed) XXX_DiscardUnknown()

func (*MsgPauseFeed) XXX_Marshal

func (m *MsgPauseFeed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgPauseFeed) XXX_Merge

func (m *MsgPauseFeed) XXX_Merge(src proto.Message)

func (*MsgPauseFeed) XXX_Size

func (m *MsgPauseFeed) XXX_Size() int

func (*MsgPauseFeed) XXX_Unmarshal

func (m *MsgPauseFeed) XXX_Unmarshal(b []byte) error

type MsgStartFeed

type MsgStartFeed struct {
	FeedName string                                             `protobuf:"bytes,1,opt,name=feed_name,json=feedName,proto3" json:"feed_name,omitempty" yaml:"feed_name"`
	Creator  github_com_bianjieai_irita_sdk_go_types.AccAddress `` /* 127-byte string literal not displayed */
}

MsgPauseFeed defines an sdk.Msg type that supports stating a feed

func (*MsgStartFeed) Descriptor

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

func (*MsgStartFeed) GetCreator

func (*MsgStartFeed) GetFeedName

func (m *MsgStartFeed) GetFeedName() string

func (*MsgStartFeed) Marshal

func (m *MsgStartFeed) Marshal() (dAtA []byte, err error)

func (*MsgStartFeed) MarshalTo

func (m *MsgStartFeed) MarshalTo(dAtA []byte) (int, error)

func (*MsgStartFeed) MarshalToSizedBuffer

func (m *MsgStartFeed) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgStartFeed) ProtoMessage

func (*MsgStartFeed) ProtoMessage()

func (*MsgStartFeed) Reset

func (m *MsgStartFeed) Reset()

func (*MsgStartFeed) Size

func (m *MsgStartFeed) Size() (n int)

func (*MsgStartFeed) String

func (m *MsgStartFeed) String() string

func (*MsgStartFeed) Unmarshal

func (m *MsgStartFeed) Unmarshal(dAtA []byte) error

func (*MsgStartFeed) XXX_DiscardUnknown

func (m *MsgStartFeed) XXX_DiscardUnknown()

func (*MsgStartFeed) XXX_Marshal

func (m *MsgStartFeed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgStartFeed) XXX_Merge

func (m *MsgStartFeed) XXX_Merge(src proto.Message)

func (*MsgStartFeed) XXX_Size

func (m *MsgStartFeed) XXX_Size() int

func (*MsgStartFeed) XXX_Unmarshal

func (m *MsgStartFeed) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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