LogoLogo
UMA HomeProjectsVoter DappOO Dapp
  • Welcome to UMA
  • What's New!
  • FAQs
  • Developers
    • Optimistic Oracle v2
      • Quick Start
      • Deposit Box
      • Event-Based Prediction Market
      • Insurance Claim Arbitration
    • Optimistic Oracle v3
      • Quick start
      • Data Asserter
      • Escalation Managers
      • Sandboxed Oracle Environment
    • oSnap
      • oSnap Quick Start
      • oSnap Deployment Tutorial
      • Snapshot Proposal + Transaction Tutorial
      • oSnap Proposal Verification
      • oSnap Configuration Parameters
      • Migrate to oSnap Safe App
      • Monitoring Bot Setup
    • Setting Custom Bond and Liveness Parameters
  • Protocol Overview
    • How does UMA's Oracle work?
    • Example Projects
    • DVM 2.0
    • DVM 2.0 FAQ
  • Community
    • Governance
      • The UMIP Process
      • DAO Proposals
  • Using UMA
    • Voting Walkthrough
      • Voter Guide
      • Voting Gas Rebates
    • Proposing Oracle Data
    • Disputing Oracle Data
    • Resolving Disputes
  • Verification Guide
    • Verification System
    • Polymarket
    • Across
    • oSnap
    • Y2K
    • Index
  • Resources
    • Network Information
      • New Network Requests
    • Audit & Bug Bounty Programs
    • Approved Price Identifiers
    • Approved Collateral Types
    • Subgraphs
      • Mainnet Voting Entities
      • Queries
    • Voting with a 2-Key Contract
    • Unsupported Contracts
    • Additional Resources
    • Glossary
    • Links
    • UMA TVS Methodology
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
Export as PDF
  1. Verification Guide

Index

PreviousY2KNextNetwork Information

Last updated 1 year ago

Was this helpful?

Index uses UMA's optimistic oracle to bring rebalance methodology onchain. The methodology determines whether a re-weighting proposal is valid and also specifies auction parameter values related to rebalancing execution.

is an example assertion for Index:

proposalHash:624170ec238408ef83180e50a7be13836a80ffb01c3e9090e32b7dfda37b5662,rules:"I assert that this transaction proposal is valid according to the rules stored on IPFS under hash: QmaQmtteNydU2c6H9MJoKwVaspAsgMYJ44YE9mkNNuJmGL"

The IPFS hash can be appended to . So for the example above, https://ipfs.io/ipfs/QmdHftq7GK552HHVoLdU41DTzxSyFhhPnPoEEuySKM7nWK can be used to view the methodology.

Index has provided a reference query to make verifying assertions easier.

The first step is to clone the repo by running:

git clone https://github.com/IndexCoop/dseth-methodology-reference.git

After cloning, create a .env file with the following variables:

MAINNET_RPC_URL="https://eth-mainnet.g.alchemy.com/v2/{INFURA_URL}"
RATED_API_URL="https://api.rated.network/v0"
RATED_API_ACCESS_TOKEN="{RATED_API_TOKEN}"
MOCK_RATED_API="false"

You can sign up for a Rated API key here: https://www.rated.network/signUp. Once you receive the API key, input it as the RATED_API_ACCESS_TOKEN.

Run the following command once the .env variables are set:

yarn calculate-auction-rebalance-params

Check the input data of the assertion transaction and compare it against the script output. is the assertion transaction for the example above.

Here
https://ipfs.io/ipfs/
https://github.com/IndexCoop/dseth-methodology-reference
Here