#operator #off-chain #data #module #combined #feed #value

no-std orml-oracle

Oracle module that makes off-chain data available on-chain

20 releases (2 stable)

1.1.0 Dec 10, 2024
1.0.0 Aug 1, 2024
0.13.0 Jun 26, 2024
0.8.0 Mar 18, 2024
0.1.1 Jun 5, 2020

#5 in #combined

Download history 30/week @ 2024-09-16 20/week @ 2024-09-23 39/week @ 2024-09-30 20/week @ 2024-10-07 8/week @ 2024-10-14 173/week @ 2024-12-09

173 downloads per month

Apache-2.0 and GPL-3.0-only

115KB
2.5K SLoC

Oracle module

Overview

This module exposes capabilities for oracle operators to feed external offchain data. The raw values can be combined to provide an aggregated value.

The data is valid only if feeded by an authorized operator. This module implements frame_support::traits::InitializeMembers and frame_support::traits::ChangeMembers, to provide a way to manage operators membership. Typically it could be leveraged to pallet_membership in FRAME.


lib.rs:

Oracle

A module to allow oracle operators to feed external data.

Overview

This module exposes capabilities for oracle operators to feed external offchain data. The raw values can be combined to provide an aggregated value.

The data is valid only if feeded by an authorized operator. pallet_membership in FRAME can be used to as source of T::Members.

Dependencies

~21–36MB
~598K SLoC