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
  1. Oracle Solutions Suite
  2. On-Demand Oracle
  3. On-Demand Oracle - Technical Manual v0.1
  4. Algorithms

Staking to Endorse Data

Endorsement is a two-step process that begins with staking. Once collateral is staked the staked user is eligible to endorse data, provided the dataset is open (not in the pre-data staking period immediately before the dataset opens). Staking reserves a spot for a limited amount of time, so there’s no need for the staked user to worry about someone else taking their spot before they’ve had the opportunity to endorse data.

It is not, strictly-speaking, necessary to have a two-step process for endorsing the data because the staking and endorsement transactions could be wrapped in a single transaction. The reason for not using this simpler model was that there are two downsides. The first downside is this complicates the system a bit, either requiring wiring the functionality through other contracts, adding an additional inter-contract dependency (which makes changing this harder and often requires the use of additional storage), or introducing a new contract to bridge the dependency gap. In any case, it was a little more costly to deploy and run than the two-stage process. The other problem, which was of more concern, was that there are more chances for people to make mistakes when racing to enter the data. The endorsement model helps greatly with this problem, but for the user providing the actual data, racing against all other users in the system is more likely to lead to mistakes and slashes. By reserving a spot, there is less pressure to submit as soon as possible, pressure which could cause people to potentially skip double and triple-checking their data is correct, which is what increases the likelihood of being slashed.

PreviousDepositing and Withdrawing CoinsNextUser and Staking Slot Tiers

Last updated 1 year ago