Opium Network
  • Opium Documentation
  • Introduction to Opium
    • What is Opium
    • FAQs
  • Restrictions
    • Restrictions
  • Security and Audits
    • Disclaimer
    • Audits
    • Bounty program
  • Governance
    • Decentralized setup
    • Governance flow
      • Proposal creating
      • Process of voting – technical description
    • $Opium governance token
  • For users
    • Opium.Finance
    • opium.exchange
  • FOR DEVELOPERS
    • Deployment Addresses
      • Opium Protocol v2
      • Opium Protocol v1
    • High-level overview
    • Opium Protocol V2
      • Core
      • Registry
      • SyntheticAggregator
      • OracleAggregator
      • OpiumProxyFactory
      • OpiumPositionToken
    • Opium Protocol V1
      • Core
      • Registry
      • TokenMinter
      • TokenSpender
      • SyntheticAggregator
      • OracleAggregator
      • Helpers
      • Interfaces
      • Common Errors
        • OracleAggregator Errors
        • Core Errors
      • oID - Oracle recipe
      • sID - Derivative recipe
      • EIP-2547: Composable Multiclass Token
    • Tutorials
      • OracleId examples
      • SyntheticId examples
      • End-to-end tutorial
    • Opium API
      • Subgraph V2
      • Subgraph V1
    • SDK
      • Opium V2 SDK
      • Opium Finance Pools SDK
      • Swap Rate SDK/API
  • Complex description
    • Glossary
    • Opium derivatives
    • Oracle and derivative recipes
    • Oracle and derivative registers
    • Opium margin
    • Opium swaps (TMtm)
    • Opium order books
Powered by GitBook
On this page

Was this helpful?

  1. FOR DEVELOPERS
  2. Opium Protocol V1
  3. Common Errors

OracleAggregator Errors

ERROR_ORACLE_AGGREGATOR_DATA_DOESNT_EXIST

The exception is triggered when the OracleAggregator getData function is called and the requested data for a given oracleId and timestamp has not yet been cached.

ERROR_ORACLE_AGGREGATOR_DATA_ALREADY_EXIST

The exception is triggered when an OracleId tries to push data twice with the same timestamp to the OracleAggregator - which would result in overriding the previously cached result.

ERROR_ORACLE_AGGREGATOR_NOT_ENOUGH_ETHER

deprecated

ERROR_ORACLE_AGGREGATOR_QUERY_WAS_ALREADY_MADE

deprecated

PreviousCommon ErrorsNextCore Errors

Last updated 3 years ago

Was this helpful?