Modefi
  • Introduction
  • Oracle Solutions Suite
    • Decentralized Aggregated Oracle
    • On-Demand Oracle
      • On-Demand Oracle - Technical Manual v0.1
        • The On-Demand Oracle System
        • Types of Users
          • Data Request Creators
            • Requesting Data
            • Setting Times
            • Cancelling Data Requests
            • Disputing Results
          • Validators
            • Account Management
            • Staking (and Unstaking)
            • Providing/Endorsing Data
            • Disputing Results
            • Receiving Payment
          • ODO Custodian
        • Algorithms
          • Computing Request Costs
          • Depositing and Withdrawing Coins
          • Staking to Endorse Data
          • User and Staking Slot Tiers
          • Timing/Lateness
          • Bumping
          • Withdrawing
          • Endorsing
          • Payment
          • Slashing
          • Reputation
          • Staking Bonuses
          • Disputes and Resolutions
          • Coin Credits
          • Account Transfer
      • On-Demand Oracle - High-Level Overview
    • Oracle Marketplace
  • Defi Dashboard
    • What is the Modefi DeFi Dashboard?
  • Token
    • Tokenomics
      • Token Distribution
      • Token Stats
      • Token Emission Schedule
    • Token Sale
    • Token Utility
  • General Information
    • History of Oracle Based Hacks / Exploits
      • Synthetix $1 Billion Exploit
      • Trader Exploits bZx Oracle for $330,000 Profit
      • $100 M Liquidated on Compound Following Oracle Exploit
  • Blockchain Basics
    • What is a Smart Contract?
    • What is an Oracle?
  • FAQ
    • Staking on Fantom
    • Staking on Binance Smart Chain
  • How-to's
  • Smart Contract Addresses
  • Links and Socials
  • Media Kit
  • Disclaimer
  • Terms and Conditions
  • Privacy Policy
Powered by GitBook
On this page
  • The Problem
  • The Modefi Solution
  • How it works
  1. Oracle Solutions Suite
  2. On-Demand Oracle

On-Demand Oracle - High-Level Overview

PreviousAccount TransferNextOracle Marketplace

Last updated 1 year ago

Leveraging Modefi’s by design decentralized model, the platform introduces the ability for developers and end users to obtain one-time and uncommon data requests to meet the demands of their custom smart contracts that are reliant on outside data sources that may not have API’s.

The Problem

Finding a Oracle data provider is proven to be difficult for small one-off or uncommon data requirements. Typically most trusted Oracles stick with the common data outputs. E.g. The price of a popular cryptocurrency. This currently works for a large portion of data requirements on-chain, but with adoption of smart contracts in other sectors like insurance, gambling, or voting, the need for all types of data on-chain will grow exponentially.

The Modefi Solution

At Modefi we understand the importance of off-chain data requests regardless if the requirements are ongoing or one-off tasks.

The On-Demand data oracle comprises a P2P network built around smart contracts and EOA’s. It’s designed to be easy to use and integrate by end users, developers and data validators.

Data reporters (validators) may be subject to Governance, and other means of social verification. Prior to being eligible to report data, the validator bonds collateral (if required by client) and will be rewarded upon successful consensus of the data they provide. Providing incorrect or manipulated data will result in the validator being disqualified from future requests and at risk of losing their stake.

With the use of Modefi’s P2P On-Demand data oracle it opens up the possibility for small data requests ranging from a friendly wager on who will win the next presidential campaign, or a multi-million dollar decentralized E-Sports betting platform needing the results for tomorrows championship tournament.

What can this data be used for?

  • E-Sports

  • Sporting Events

  • Elections

  • Voting

  • Weather conditions in a location at a specific time

  • Prediction Markets

  • P2P wagers

  • Insurance Payouts

How it works

Bob and Alice decide to create a friendly wager smart contract to bet on who will win the next Presidential Election. The smart contract allows both parties to submit their pick and deposit the wager amount. The wager smart contract is programmed to only accept the winning result from a custom oracle contract deployed on the Modefi network.

The oracle contract is deployed automatically after Bob and Alice fill out all the relative information on the Modefi oracle dApp.

This information includes but is not limited to

  • Brief description of the data requested

  • Where the result data should be sourced from

  • List of potential outcomes

  • Event timer

  • Required number of validators for consensus

  • Required value of collateral bonded by validator

  • Minimum reputation

  • Validator Incentive

Once the oracle contract is deployed and the required timer has expired, eligible validators can begin submitting their results. After the minimum number of validators have submitted data, the contract will reach consensus and the results will be available on-chain for the wager contract to react accordingly. The wager contract will then allow the winner to withdraw their funds.

P2P Oracle Network