Skip to content
Verified contractPartial

ScalarEvent

Address0x3748baa24b424fb0ee4d197dfdff664d4050b167
Balance

0 ETH

 

Transactions

5

 

Compiler

solc 0.4.15

 

Same code

18 more contracts

 

Details

Compiler
solc 0.4.15+commit.8b45bddb
Language
solidity
Optimization
Yes, 200 runs
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
6,733,302
Creation transaction
0x556f86fbd3…dc84c3ae03

Read14

  • outcome() → (int256)
  • LONG() → (uint8)
  • getOutcomeTokenDistribution(address) → (uint256[])
  • OUTCOME_RANGE() → (uint24)
  • oracle() → (address)
  • getOutcomeCount() → (uint8)
  • outcomeTokens(uint256) → (address)
  • lowerBound() → (int256)
  • SHORT() → (uint8)
  • upperBound() → (int256)
  • collateralToken() → (address)
  • isOutcomeSet() → (bool)
  • getEventHash() → (bytes32)
  • getOutcomeTokens() → (address[])

Write4

  • setOutcome()
  • buyAllOutcomes(uint256)
  • sellAllOutcomes(uint256)
  • redeemWinnings() → (uint256)

Events5

  • OutcomeTokenCreation(address,uint8)
  • OutcomeTokenSetIssuance(address,uint256)
  • OutcomeTokenSetRevocation(address,uint256)
  • OutcomeAssignment(int256)
  • WinningsRedemption(address,uint256)

ABI as JSON

[
  {
    "name": "setOutcome",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "payable": false,
    "constant": false
  },
  {
    "name": "outcome",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "int256"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "name": "buyAllOutcomes",
    "type": "function",
    "inputs": [
      {
        "name": "collateralTokenCount",
        "type": "uint256"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false
  },
  {
    "name": "LONG",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint8"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "name": "getOutcomeTokenDistribution",
    "type": "function",
    "inputs": [
      {
        "name": "owner",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "outcomeTokenDistribution",
        "type": "uint256[]"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "name": "OUTCOME_RANGE",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint24"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "name": "sellAllOutcomes",
    "type": "function",
    "inputs": [
      {
        "name": "outcomeTokenCount",
        "type": "uint256"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false
  },
  {
    "name": "oracle",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "name": "getOutcomeCount",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint8"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "name": "outcomeTokens",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "name": "lowerBound",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "int256"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "name": "SHORT",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint8"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "name": "redeemWinnings",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "winnings",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": false
  },
  {
    "name": "upperBound",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "int256"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "name": "collateralToken",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "name": "isOutcomeSet",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bool"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "name": "getEventHash",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bytes32"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "name": "getOutcomeTokens",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address[]"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "type": "constructor",
    "inputs": [
      {
        "name": "_collateralToken",
        "type": "address"
      },
      {
        "name": "_oracle",
        "type": "address"
      },
      {
        "name": "_lowerBound",
        "type": "int256"
      },
      {
        "name": "_upperBound",
        "type": "int256"
      }
    ],
    "payable": false
  },
  {
    "name": "OutcomeTokenCreation",
    "type": "event",
    "inputs": [
      {
        "name": "outcomeToken",
        "type": "address",
        "indexed": false
      },
      {
        "name": "index",
        "type": "uint8",
        "indexed": false
      }
    ],
    "anonymous": false
  },
  {
    "name": "OutcomeTokenSetIssuance",
    "type": "event",
    "inputs": [
      {
        "name": "buyer",
        "type": "address",
        "indexed": true
      },
      {
        "name": "collateralTokenCount",
        "type": "uint256",
        "indexed": false
      }
    ],
    "anonymous": false
  },
  {
    "name": "OutcomeTokenSetRevocation",
    "type": "event",
    "inputs": [
      {
        "name": "seller",
        "type": "address",
        "indexed": true
      },
      {
        "name": "outcomeTokenCount",
        "type": "uint256",
        "indexed": false
      }
    ],
    "anonymous": false
  },
  {
    "name": "OutcomeAssignment",
    "type": "event",
    "inputs": [
      {
        "name": "outcome",
        "type": "int256",
        "indexed": false
      }
    ],
    "anonymous": false
  },
  {
    "name": "WinningsRedemption",
    "type": "event",
    "inputs": [
      {
        "name": "receiver",
        "type": "address",
        "indexed": true
      },
      {
        "name": "winnings",
        "type": "uint256",
        "indexed": false
      }
    ],
    "anonymous": false
  }
]

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.