[][src]Crate orml_oracle

Structs

DefaultCombineData

Sort by value and returns median timestamped value. Returns prev_value if not enough valid values.

GenesisConfig

Genesis config for the module, allow to build genesis storage.

IsUpdated

True if Self::values(key) is up to date, otherwise the value is stale

Members

The current members of the collective. This is stored sorted (just by value).

Module
Nonces
RawValues

Raw values for each oracle operators

SessionKeys

Session key for oracle operators

TimestampedValue
Values

Combined value, may not be up to date

Enums

Call

Dispatchable calls.

Error
RawEvent

Events for this module.

ValidityError

Constants

ORACLE

Traits

CombineData

Combine data provided by operators

DataProvider
DataProviderExtended
OnNewData
OnRedundantCall
Trait

Type Definitions

AuthorityId

An oracle identifier using sr25519 as its crypto.

AuthorityPair

An oracle keypair using sr25519 as its crypto.

AuthoritySignature

An oracle signature using sr25519 as its crypto.

Event

RawEvent specialized for the configuration Trait

TimestampedValueOf