Smart contracts
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: 0x282DA32f5c45c625A2D129b62e2C3f8bE733BD6A
ROGUE Bankroll smart contract: 0x51DB4eD2b69b598Fade1aCB5289C7426604AB2fd
NFTROGUEPayer smart contract: 0x978ac9EB90cE69A1880AD7284527Aa8Ad2302f85
NFTRewarder smart contract: 0x6ed91824BCa568f7543C54333a1a3998e8cA4b32
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.
Last updated
Was this helpful?