Arbswap
  • πŸ”­Overview
  • 🦌What is Arbswap
  • β˜‘οΈRoadmap
  • πŸͺ™Tokenomics
  • GETTING STARTED
    • πŸ’ΌWallet Connect
    • πŸŒ‘How to Get Arbitrum Nova
    • πŸ›°οΈBridging to Arbitrum
  • PRODUCTS
    • 🌊Our AMM
      • ⛓️How to Swap
    • 🀿Liquidity
      • πŸ’¦Liquidity Models
      • βž•Add Liquidity
      • βž–Remove Liquidity
    • πŸ₯¬Farms
    • 🀽Single Staking Pools
      • xARBS
      • xARBS Pools
    • πŸš€Launchpad
    • 🎲Prediction
      • πŸͺ™How it works
    • 🎨Brand Assets
  • CONTRACTS
    • 🀝Smart Contracts
    • πŸ‘“Audits
Powered by GitBook
On this page
  • How is the payout calculated?
  • How does prediction source for price feed?
  • Contracts
  1. PRODUCTS
  2. Prediction

How it works

PreviousPredictionNextBrand Assets

Last updated 2 years ago

How is the payout calculated?

  • Payout multipliers are locked once the timer ends - the point at which 'next' round becomes the new 'live' one.

  • Prize pool = Pool UP + Pool DOWN

  • Payout multiplier for UP Pool = Prize pool Γ· Pool UP

  • Payout multiplier for DOWN Pool = Prize pool Γ· Pool DOWN

For example, if there’s 15 ETH in the DOWN side of a round, and the overall prize pool is 150 ETH, the DOWN payout ratio will be (150/15)=10x.

  • Payout Amount = Payout multiplier Γ— Position Γ— (1 - Treasury Fee)

In the above case, if the round ends on a DOWN result, if you committed 2 ETH to a DOWN position, you’d get a payout of (2*10) Γ— (1-0.03) = 19.4 ETH. Your profit would be 17.4 ETH (19.4 - 2).

Fees to Arbswap: 3% of each round's total prize pool will go to Arbswap treasury.

How does prediction source for price feed?

To provide better experiences on Predictions, Arbswap calls Binance API to provide price feed on ARBUSDT price.

  • Binance API endpoint:

  • Used for the Lock price and End price of each prediction market round. This updates in intervals of 1 min.

  • Our prediction contract uses a self-deployed Oracle price feed to set the prices used to dictate whether a user has won or not.

Contracts

ARB Prediction contract:

Price feed Oracle:

🎲
πŸͺ™
https://binance-docs.github.io/apidocs/spot/en/#kline-candlestick-data
0x28A3D6d7e00e72A597dFEA8c63f2eC727a2910BF
0x7a8F5A10bA5bfc189E5ed43FaB3ff6c50346e2Da
0xa2fc84417d605fc78bc77ba0c7cd071590360409
0x894072172fcb875a147118bfe0e835443d29b1a8