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

no-std orml-oracle

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

16 releases (9 breaking)

new 0.10.0 Apr 17, 2024
0.8.0 Mar 18, 2024
0.6.7 Nov 21, 2023
0.4.0 Feb 14, 2021
0.1.1 Jun 5, 2020

#1668 in Magic Beans

Download history 2/week @ 2024-01-27 100/week @ 2024-02-17 75/week @ 2024-02-24 7/week @ 2024-03-09 134/week @ 2024-03-16 10/week @ 2024-03-23 24/week @ 2024-03-30 203/week @ 2024-04-06

372 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

~19–33MB
~549K SLoC