Skip to content
Verified contractPartial

Bet

Address0xa13225ec00a1134f2bda5c84b002e18a4fe47480
Balance

0 ETH

 

Transactions

3

 

Compiler

solc 0.5.10

 

Same code

15 more contracts

 

Details

Compiler
solc 0.5.10+commit.5a6ea5b1
Language
solidity
Optimization
No
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
8,765,406
Creation transaction
0xa239497862…d5f3025d90
Main copy (most transactions)
0x8f7f501f…a02e2e4e

Read18

  • seeWinnerPrize(address) → (uint256)
  • totalBetTokensInExaEsByChoice(uint256) → (uint256)
  • getNumberOfChoiceBettors(uint256) → (uint256)
  • minimumBetInExaEs() → (uint256)
  • bettorHasClaimed(address) → (bool)
  • isDrawPossible() → (bool)
  • bettorBetAmountInExaEsByChoice(address,uint256) → (uint256)
  • subCategory() → (uint8)
  • description() → (string)
  • totalPrize() → (uint256)
  • betBalanceInExaEs() → (uint256)
  • endTimestamp() → (uint256)
  • pauseTimestamp() → (uint256)
  • creationTimestamp() → (uint256)
  • prizePercentPerThousand() → (uint256)
  • endedBy() → (address)
  • category() → (uint8)
  • finalResult() → (uint8)

Write3

  • withdrawPrize()
  • enterBet(uint8,uint256)
  • endBet(uint8)

ABI as JSON

[
  {
    "name": "seeWinnerPrize",
    "type": "function",
    "inputs": [
      {
        "name": "_bettorAddress",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "totalBetTokensInExaEsByChoice",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "getNumberOfChoiceBettors",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "minimumBetInExaEs",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "withdrawPrize",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "bettorHasClaimed",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "isDrawPossible",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bool"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "bettorBetAmountInExaEsByChoice",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "address"
      },
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "subCategory",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint8"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "description",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "string"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "totalPrize",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "betBalanceInExaEs",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "endTimestamp",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "pauseTimestamp",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "creationTimestamp",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "enterBet",
    "type": "function",
    "inputs": [
      {
        "name": "_choice",
        "type": "uint8"
      },
      {
        "name": "_betTokensInExaEs",
        "type": "uint256"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "prizePercentPerThousand",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "endedBy",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "endBet",
    "type": "function",
    "inputs": [
      {
        "name": "_choice",
        "type": "uint8"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "category",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint8"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "finalResult",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint8"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "type": "constructor",
    "inputs": [
      {
        "name": "_description",
        "type": "string"
      },
      {
        "name": "_category",
        "type": "uint8"
      },
      {
        "name": "_subCategory",
        "type": "uint8"
      },
      {
        "name": "_minimumBetInExaEs",
        "type": "uint256"
      },
      {
        "name": "_prizePercentPerThousand",
        "type": "uint256"
      },
      {
        "name": "_isDrawPossible",
        "type": "bool"
      },
      {
        "name": "_pauseTimestamp",
        "type": "uint256"
      }
    ],
    "payable": false,
    "stateMutability": "nonpayable"
  }
]

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.