# Smart Contracts

The smart contracts can be viewed here:
https://github.com/truecasino/contracts

# Contracts Description

# 1. TrueCasino.sol

This is the main casino contract. Functionality includes:

  • Providing/removing balance from the casino reserve by liquidity providers
  • Exchanging stablecoins for CHIPs by players
  • Payout distribution for player bets
  • Adding/removing casino games

# 2. TrueRoulette.sol

This is the contract for our flagship product, European Roulette. Functionality includes:

  • Managing player bets
  • Payout calculation for player bets

# 3. TrueCasinoSharesToken.sol

This is a SharesToken for liquidity providers. Currently, anyone can provide liquidity in exchange for 25% profit shares from casino revenue. The remaining 75% is distributed to casino owners.

# 4. TestUSDCToken.sol

Currently, True Casino operates on the Polygon mainnet but uses a Test USDC ERC-20 token for payments.
Users can mint 100 Test USDC tokens in the Wallet dialog once connected.


# Smart Contract Deployment Addresses

All contracts are deployed on the Polygon mainnet:

  • TrueCasino.sol: 0xd0e6Ee39652A658Ca5760044ea6D8B69411ac6EB
  • TrueRoulette.sol: 0x3489e81704F9f8289EfD28433E96698fF645e677
  • TestUSDCToken.sol: 0x40A058A37787Fc7F5427c1Ad79541Aa9254C6e27