Smart contracts
Last updated
Was this helpful?
Last updated
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.