Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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
type OracleClient ¶
type OracleClient struct { }
func NewClient ¶
func NewClient() OracleClient
func (OracleClient) HandleTxMsg ¶
func (oracle OracleClient) HandleTxMsg(v types.Msg) (MsgDocInfo, bool)
Click to show internal directories.
Click to hide internal directories.