oracle

package
v0.0.0-...-f148bc3 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	HandleTxMsg(v types.Msg) (MsgDocInfo, bool)
}

func NewClient

func NewClient() Client

type DocMsgCreateFeed

type DocMsgCreateFeed struct {
	FeedName          string       `bson:"feed_name" yaml:"feed_name"`
	LatestHistory     int64        `bson:"latest_history" yaml:"latest_history"`
	Description       string       `bson:"description"`
	Creator           string       `bson:"creator"`
	ServiceName       string       `bson:"service_name" yaml:"service_name"`
	Providers         []string     `bson:"providers"`
	Input             string       `bson:"input"`
	Timeout           int64        `bson:"timeout"`
	ServiceFeeCap     []types.Coin `bson:"service_fee_cap" yaml:"service_fee_cap"`
	RepeatedFrequency int64        `bson:"repeated_frequency" yaml:"repeated_frequency"`
	AggregateFunc     string       `bson:"aggregate_func" yaml:"aggregate_func"`
	ValueJsonPath     string       `bson:"value_json_path" yaml:"value_json_path"`
	ResponseThreshold uint32       `bson:"response_threshold" yaml:"response_threshold"`
}

func (*DocMsgCreateFeed) BuildMsg

func (m *DocMsgCreateFeed) BuildMsg(v interface{})

func (*DocMsgCreateFeed) GetType

func (m *DocMsgCreateFeed) GetType() string

func (*DocMsgCreateFeed) HandleTxMsg

func (m *DocMsgCreateFeed) HandleTxMsg(v SdkMsg) MsgDocInfo

type DocMsgEditFeed

type DocMsgEditFeed struct {
	FeedName          string        `bson:"feed_name" yaml:"feed_name"`
	LatestHistory     int64         `bson:"latest_history" yaml:"latest_history"`
	Description       string        `bson:"description"`
	Creator           string        `bson:"creator"`
	Providers         []string      `bson:"providers"`
	Timeout           int64         `bson:"timeout"`
	ServiceFeeCap     []models.Coin `bson:"service_fee_cap" yaml:"service_fee_cap"`
	RepeatedFrequency int64         `bson:"repeated_frequency" yaml:"repeated_frequency"`
	ResponseThreshold uint32        `bson:"response_threshold" yaml:"response_threshold"`
}

func (*DocMsgEditFeed) BuildMsg

func (m *DocMsgEditFeed) BuildMsg(v interface{})

func (*DocMsgEditFeed) GetType

func (m *DocMsgEditFeed) GetType() string

func (*DocMsgEditFeed) HandleTxMsg

func (m *DocMsgEditFeed) HandleTxMsg(v SdkMsg) MsgDocInfo

type DocMsgPauseFeed

type DocMsgPauseFeed struct {
	FeedName string `bson:"feed_name" yaml:"feed_name"`
	Creator  string `bson:"creator"`
}

func (*DocMsgPauseFeed) BuildMsg

func (m *DocMsgPauseFeed) BuildMsg(v interface{})

func (*DocMsgPauseFeed) GetType

func (m *DocMsgPauseFeed) GetType() string

func (*DocMsgPauseFeed) HandleTxMsg

func (m *DocMsgPauseFeed) HandleTxMsg(v SdkMsg) MsgDocInfo

type DocMsgStartFeed

type DocMsgStartFeed struct {
	FeedName string `bson:"feed_name" yaml:"feed_name"`
	Creator  string `bson:"creator"`
}

func (*DocMsgStartFeed) BuildMsg

func (m *DocMsgStartFeed) BuildMsg(v interface{})

func (*DocMsgStartFeed) GetType

func (m *DocMsgStartFeed) GetType() string

func (*DocMsgStartFeed) HandleTxMsg

func (m *DocMsgStartFeed) HandleTxMsg(v SdkMsg) MsgDocInfo

Jump to

Keyboard shortcuts

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