Skip to content

adoracles/ado-contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ADO Contracts

A medianizer price oracle for the Alliance of Decentralized Oracles pertaining to EIP 2362. This is unaudited code for demo purposes only.

This repository provides and example of how smart contracts can easily use ADO compliant oracles to aggregate off-chain data and use in their contracts.

Contracts:

  • ADOMedianizer - Pulls data from the specified ADO compliant oracles based on the standardized ADO data Id's. The ADOMedianizer includes(is) EIP2362Interface.

  • EIP2362Interface - is the standardized ADO oracle interface (EIP-2362).

  • SampleOracle - is a test centralized oracle contract that is compliant with the EIP-2362 and used for testing ADOMedianizer.

More information on EIP2362 can be found at: https://github.com/adoracles/EIPs/blob/erc-2362/EIPS/eip-2362.md

Disclaimer

This is unaudited code for demo purposes only.

Contributors

This repository is maintained by the Alliance of Decentralized Oracles.