Skip to content
Verified contractPartial

TriviaChain

Address0xae30b3f4d698df85a116adaac4149fd2ae5a6705
Balance

0 ETH

 

Transactions

1

 

Compiler

solc 0.5.0

 

Same code

2 more contracts

 

Details

Compiler
solc 0.5.0+commit.1d4f565a
Language
solidity
Optimization
No
License
Not stated
Match
Partialcreation code: no, runtime code: yes
Verified on Sourcify
Created in block
7,972,751
Creation transaction
0x6317422abe…a473435b21
Main copy (most transactions)
0x367febc6…9fa9214d

Read8

  • get_answer_hash() → (string)
  • getSha256(string) → (bytes32)
  • get_enddate() → (uint256)
  • owner() → (address)
  • get_startdate() → (uint256)
  • enddate() → (uint256)
  • startdate() → (uint256)
  • get_Id() → (int256)

Write1

  • sendEtherToWinner(address,uint256)

ABI as JSON

[
  {
    "name": "get_answer_hash",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "string"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "getSha256",
    "type": "function",
    "inputs": [
      {
        "name": "input",
        "type": "string"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bytes32"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "pure"
  },
  {
    "name": "get_enddate",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "owner",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "get_startdate",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "sendEtherToWinner",
    "type": "function",
    "inputs": [
      {
        "name": "recipient",
        "type": "address"
      },
      {
        "name": "amount",
        "type": "uint256"
      }
    ],
    "outputs": [],
    "payable": true,
    "constant": false,
    "stateMutability": "payable"
  },
  {
    "name": "enddate",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "startdate",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "get_Id",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "int256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "pure"
  },
  {
    "type": "constructor",
    "inputs": [],
    "payable": false,
    "stateMutability": "nonpayable"
  },
  {
    "type": "fallback",
    "payable": true,
    "stateMutability": "payable"
  }
]

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.