Rogue Docs
  • Rogue Protocol
    • Introduction
  • Rogue Trader
    • Rogue Trader pages
      • Home page
      • Connect wallet page
      • Rogue Index page
      • RogueBot page
      • ROGUE bankroll page
      • High Rollers NFTs page
      • My account page
      • Deposit page
      • Withdraw page
    • Self-custodial & trustless
    • No KYC or geo-blocking
  • Rogue Index
    • Overview
    • Zero house edge betting
    • Binary options reimagined
    • How to play
    • Price update mechanism
    • Bet lifecycle
    • Provably-fair price updates
    • Leaderboard
    • Smart contracts
    • Place bets programmatically
  • RogueBots
    • High volatility token trading
    • RogueBot mechanics
    • RogueBot token pricing
    • RogueBot token page
    • RogueBot trading tools
    • RogueBots list
    • RogueBot 7 day lifespan
    • RogueBot smart contracts
    • Trade tokens programatically
  • ROGUE Bankroll
    • Adding liquidity to bankroll
    • Removing liquidity from bankroll
    • Pool token price calculation
    • Bankroll mechanics
    • Bankroll smart contract
    • Why does the house win?
  • ROGUE Token
    • Native gas token
    • Zero-fee betting token
    • Supply & distribution
    • Public token sale
    • ROGUE information
    • ROGUE bridge
    • Buy ROGUE
    • Earn ROGUE
  • Rogue Chain
    • Arbitrum Orbit AnyTrust
    • Instant time-to-finality
    • Ultra-low gas fees
    • Chain information
    • Block explorer
  • Rogue NFTs
    • Revenue sharing NFTs
    • NFT pricing & availability
    • Get ETH on Arbitrum
    • RHRC smart contracts
    • RHRC information
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Rogue Index

Smart contracts

PreviousLeaderboardNextPlace bets programmatically

Last updated 18 days ago

Was this helpful?

The Rogue Index betting game is a non-custodial system of interconnected trustless smart contracts that interact with each other to update the Rogue Index, accept and settle bets, pay out winning bets, manage deposits and withdrawals of liquidity into the house bankroll, mint and burn liquidity pool tokens that represent ownership of the house bankroll balance and send rewards in real-time to our NFT holders based on betting volume. It consists of the following smart contracts:

  • Rogue Index game smart contract:

  • ROGUE Bankroll smart contract:

  • NFTROGUEPayer smart contract:

  • NFTRewarder smart contract:

The above links take you to our block explorer, roguescan.io, where you can view the full source code of each smart contract and read all the data stored in them. If you connect your wallet to roguescan you can also send bet transactions directly to the game smart contract, completely bypassing the need to use the website UI.

You can also use open source software like ethers.js and Rogue Chain's public RPC endpoint to send bet transactions programmatically through your own custom-built betting bot.

0x282DA32f5c45c625A2D129b62e2C3f8bE733BD6A
0x51DB4eD2b69b598Fade1aCB5289C7426604AB2fd
0x978ac9EB90cE69A1880AD7284527Aa8Ad2302f85
0x6ed91824BCa568f7543C54333a1a3998e8cA4b32