Prefate | Token Price Feed

INTRODUCTION

Protocol: Prefate

Website: https://www.prefate.xyz

Integration:

  • Uniswap v3
  • DIA Oracle
  • artBTC staking

Use case:

  • Launching decentralized prediction markets around Bitcoin price.
  • Trading YES/NO outcome tokens on Uniswap v3.
  • Earning LP fees by providing liquidity to prediction markets.
  • DAO governance with challenges, disputes, and reputation-weighted decisions.

Blockchain: Goat Network

REQUEST INFORMATION

Assets

The following assets will be included in the Oracle:

Methodology

Select the methodologies that will define the feeds:

  • Pricing methodology:

    • Use VWAP (Volume-Weighted Average Price) from major BTC markets (Binance, Coinbase, Kraken, Bitstamp, etc.) to avoid manipulation.
    • On-chain feed provided by DIA adapter, with optional sanity check against TWAP from the Uniswap WGBTC pool.
    • For governance token (artBTC), the oracle uses staked asset pricing methodology (artBTC pegged 1:1 to BTC with protocol-specific adjustments).
  • Update trigger:

    • Time-based updates: Every 6-hours

DELIVERY INFORMATION

Select if the feed should be delivered on-chain via oracle and if so, which network:

  • Delivery method:

    • On-chain oracle smart contract → Price feeds delivered directly to BitPredict contracts via DIA’s oracle adapter.
    • Data will be available as an on-chain reference (BTC/USD, WGBTC price) that the PredictionMarket contract can call securely.
  • Testnet required:

    • Yes → Delivery on Goat Network testnet for integration and validation.

See delivery options

NOTES

Additional relevant information:

  • BitPredict introduces the first governance-driven prediction market for Bitcoin, using DIA’s reliable oracle feeds.
  • The protocol features a challenge and dispute mechanism with reputation-weighted voting, ensuring market integrity.
  • artBTC staking enhances governance by aligning incentives between traders, LPs, and DAO members.
  • DIA integration provides secure, manipulation-resistant BTC pricing as the foundation for all market resolutions.

Learn more about DIA CDRs here

1 Like

Thank you for requesting a data feed via DIA CDR. Please find the oracle information below:

Contracts

The contracts to fetch data from.

Network Contract Address
GOAT Network Testnet 0xEF094fFF94a7954Ba3e5ED81DbAFE7350E7E9720

Gas Wallets

The gas wallet is used for pushing data to your contracts. To ensure uninterrupted oracle operation, please maintain sufficient funds in the gas wallet. You can monitor the wallets below to ensure they remain adequately funded at all times.

Network Gas Wallet Address
GOAT Network Testnet 0x805298F3796933f98fF3297cbAfbcc953254D872

Oracle Configuration

Settings that dictate how the oracle computes and updates data.

Pricing Methodology VWAPIR
Heartbeat 6h

Asset Feeds

The available assets on the oracles.

Asset Ticker getValue(key) Asset Markets Overview
BTC BTC/USD BTC Markets

To consume price data, you’ll need to invoke the getValue method on the oracle contract which you can access through the DIA Oracle library or the interface.

If you pass BTC/USD as the key, it will return the most recent price of BTC in USD with 8 decimal places (e.g. 9601458065403 is $96,014.58065403) along with the Unix timestamp of the last price update.

See the full example here.