Balance:0.1 Ether ($32.15) | Buy more

Last 100 sent transactions

HashToAmountTime

Last 100 received transactions

HashFromAmountTime
0x7422bcb6...0xe6C78EE469E1d170548066032eaD941D64C70a9C0.1 Ether ($32.15)2016-04-22 08:03:08 (a year ago)
0x80ae4073...0xe6C78EE469E1d170548066032eaD941D64C70a9C0 Ether ($0.00)2016-04-22 08:02:01 (a year ago)
 0x6873d4...0xe6C78EE469E1d170548066032eaD941D64C70a9C0 Ether ($0.00)2016-04-22 08:02:01 (a year ago)

Last 100 mined blocks

NumberDifficultyTimeReward

Last 100 mined uncles

Block NumberUncle NumberReward

Verified contract source code available!

How does it work?
  • Contract name: CasinoKonga
  • Compiler version: v0.2.1-2016-02-13-a14185a
  • Optimization used: Yes
  • Source:
    contract CasinoKonga {
    
      uint public constant MIN_VALUE = 100 finney;
      uint private fee = 0;
      address private owner;
    
      // entry structure, storing the address & wager
      struct Gamble {
        address addr;
        uint wager;
      }
    
      // our actual queued bets, index of current & total distributed
      Gamble[] public gambles;
      uint public gambleIndex = 0;
    
      // construtor, no additional requirements
      function CasinoKonga() {
          owner = msg.sender;
      }
    
      function newEntry(uint amount, address user) internal {
        // queue the current entry for a coin flip
        uint entryIndex = gambles.length;
        gambles.length += 1;
        gambles[entryIndex].addr = user;
        gambles[entryIndex].wager = amount;
    }
    
      function() {
        // we only accept values above min value
        if ((msg.value < MIN_VALUE)) {
          throw;
        }
    
        newEntry(msg.value, msg.sender);
    
        // Fee of 2% is re-bet into the game
        fee += msg.value/50;
        if(fee>MIN_VALUE){
          newEntry(MIN_VALUE, owner);
          fee -= MIN_VALUE;
        }
    
    
        // If next person in line can be paid x2 flip coin
        if (gambles[gambleIndex].wager * 2 < this.balance) {
          var toss = uint(sha3(msg.gas)) + uint(sha3(block.timestamp));
          if (toss % 2 == 0){
             gambles[gambleIndex].addr.send(gambles[gambleIndex].wager * 2);
          }
          gambleIndex += 1;
        }
      }
    }
  • ABI:
    [
      {
        "constant": true,
        "inputs": [],
        "name": "gambleIndex",
        "outputs": [
          {
            "name": "",
            "type": "uint256"
          }
        ],
        "type": "function"
      },
      {
        "constant": true,
        "inputs": [],
        "name": "MIN_VALUE",
        "outputs": [
          {
            "name": "",
            "type": "uint256"
          }
        ],
        "type": "function"
      },
      {
        "constant": true,
        "inputs": [
          {
            "name": "",
            "type": "uint256"
          }
        ],
        "name": "gambles",
        "outputs": [
          {
            "name": "addr",
            "type": "address"
          },
          {
            "name": "wager",
            "type": "uint256"
          }
        ],
        "type": "function"
      },
      {
        "inputs": [],
        "type": "constructor"
      }
    ]
  • Contract creation bytecode:
    0x6060604052600080805560035560018054600160a060020a031916331790556103748061002c6000396000f3606060405236156100355760e060020a6000350463774ca7f2811461004f578063992c15fc14610058578063c1e77c4a14610067575b6100c9600067016345785d8a00003410156100cb57610002565b61029660035481565b61029667016345785d8a000081565b6102a860043560028054829081101561000257506000819052026000805160206103548339815191528101547f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acf9190910154600160a060020a03919091169082565b005b61013f34335b60028054600181018083559091818380158290116102ce5760008390526102ce90830260008051602061035483398151915290810190838502015b8082111561035057805473ffffffffffffffffffffffffffffffffffffffff19168155600060019190910190815561010c565b6000805460323404019081905567016345785d8a000090111561018d5760015461017b9067016345785d8a000090600160a060020a03166100d1565b6000805467016345785d89ffff190190555b6003546002805430600160a060020a031631929081101561000257600082905281027f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acf0154021015610293576040805142815290519081900360200190205a6040805191825251908190036020019020019050600281066000141561028957600354600280549091908110156100025760008281529102600080516020610354833981519152019050600354905460028054600160a060020a039290921692600092811015610002578183520260008051602061035483398151915201815060010154604051600291909102906000818181858888f150505050505b6003805460010190555b50565b60408051918252519081900360200190f35b6040518083600160a060020a031681526020018281526020019250505060405180910390f35b50505050816002600050828154811015610002576000829052810260008051602061035483398151915201805473ffffffffffffffffffffffffffffffffffffffff1916929092179091558054849190839081101561000257027f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acf0155505050565b509056405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace
PUSH1 0x60 (`)
PUSH1 0x40 (@)
MSTORE
CALLDATASIZE
ISZERO
PUSH2 0x0035 (5)
JUMPI
PUSH1 0xe0 (à)
PUSH1 0x02 ()
EXP
PUSH1 0x00 ()
CALLDATALOAD
DIV
PUSH4 0x774ca7f2 (wL§ò)
DUP2
EQ
PUSH2 0x004f (O)
JUMPI
DUP1
PUSH4 0x992c15fc (™,ü)
EQ
PUSH2 0x0058 (X)
JUMPI
DUP1
PUSH4 0xc1e77c4a (Áç|J)
EQ
PUSH2 0x0067 (g)
JUMPI
JUMPDEST
PUSH2 0x00c9 (É)
PUSH1 0x00 ()
PUSH8 0x016345785d8a0000 (cEx]Š)
CALLVALUE
LT
ISZERO
PUSH2 0x00cb (Ë)
JUMPI
PUSH2 0x0002 ()
JUMP
JUMPDEST
PUSH2 0x0296 (–)
PUSH1 0x03 ()
SLOAD
DUP2
JUMP
JUMPDEST
PUSH2 0x0296 (–)
PUSH8 0x016345785d8a0000 (cEx]Š)
DUP2
JUMP
JUMPDEST
PUSH2 0x02a8 (¨)
PUSH1 0x04 ()
CALLDATALOAD
PUSH1 0x02 ()
DUP1
SLOAD
DUP3
SWAP1
DUP2
LT
ISZERO
PUSH2 0x0002 ()
JUMPI
POP
PUSH1 0x00 ()
DUP2
SWAP1
MSTORE
MUL
PUSH1 0x00 ()
DUP1
MLOAD
PUSH1 0x20 ( )
PUSH2 0x0354 (T)
DUP4
CODECOPY
DUP2
MLOAD
SWAP2
MSTORE
DUP2
ADD
SLOAD
PUSH32 0x405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acf (@W‡ú¨#àò·cÄ;¨‚‹3!ʁúuÍ:£»ZÏ)
SWAP2
SWAP1
SWAP2
ADD
SLOAD
PUSH1 0x01 ()
PUSH1 0xa0 ( )
PUSH1 0x02 ()
EXP
SUB
SWAP2
SWAP1
SWAP2
AND
SWAP1
DUP3
JUMP
JUMPDEST
STOP
JUMPDEST
PUSH2 0x013f (?)
CALLVALUE
CALLER
JUMPDEST
PUSH1 0x02 ()
DUP1
SLOAD
PUSH1 0x01 ()
DUP2
ADD
DUP1
DUP4
SSTORE
SWAP1
SWAP2
DUP2
DUP4
DUP1
ISZERO
DUP3
SWAP1
GT
PUSH2 0x02ce (Î)
JUMPI
PUSH1 0x00 ()
DUP4
SWAP1
MSTORE
PUSH2 0x02ce (Î)
SWAP1
DUP4
MUL
PUSH1 0x00 ()
DUP1
MLOAD
PUSH1 0x20 ( )
PUSH2 0x0354 (T)
DUP4
CODECOPY
DUP2
MLOAD
SWAP2
MSTORE
SWAP1
DUP2
ADD
SWAP1
DUP4
DUP6
MUL
ADD
JUMPDEST
DUP1
DUP3
GT
ISZERO
PUSH2 0x0350 (P)
JUMPI
DUP1
SLOAD
PUSH20 0xffffffffffffffffffffffffffffffffffffffff (ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ)
NOT
AND
DUP2
SSTORE
PUSH1 0x00 ()
PUSH1 0x01 ()
SWAP2
SWAP1
SWAP2
ADD
SWAP1
DUP2
SSTORE
PUSH2 0x010c ()
JUMP
JUMPDEST
PUSH1 0x00 ()
DUP1
SLOAD
PUSH1 0x32 (2)
CALLVALUE
DIV
ADD
SWAP1
DUP2
SWAP1
SSTORE
PUSH8 0x016345785d8a0000 (cEx]Š)
SWAP1
GT
ISZERO
PUSH2 0x018d ()
JUMPI
PUSH1 0x01 ()
SLOAD
PUSH2 0x017b ({)
SWAP1
PUSH8 0x016345785d8a0000 (cEx]Š)
SWAP1
PUSH1 0x01 ()
PUSH1 0xa0 ( )
PUSH1 0x02 ()
EXP
SUB
AND
PUSH2 0x00d1 (Ñ)
JUMP
JUMPDEST
PUSH1 0x00 ()
DUP1
SLOAD
PUSH8 0x016345785d89ffff (cEx]‰ÿÿ)
NOT
ADD
SWAP1
SS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SWAP1
SWAP3
OR
SWAP1
SWAP2
SSTORE
DUP1
SLOAD
DUP5
SWAP2
SWAP1
DUP4
SWAP1
DUP2
LT
ISZERO
PUSH2 0x0002 ()
JUMPI
MUL
PUSH32 0x405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acf (@W‡ú¨#àò·cÄ;¨‚‹3!ʁúuÍ:£»ZÏ)
ADD
SSTORE
POP
POP
POP
JUMP
JUMPDEST
POP
SWAP1
JUMP
BLOCKHASH
JUMPI
DUP8
Missing opcode 
SLT
Missing opcode 
Missing opcode 
Missing opcode 
CALLCODE
Missing opcode 
PUSH4 0x1cc41b3b (Ä;)
Missing opcode 
DUP3
DUP12
CALLER
Missing opcode 
Missing opcode 
DUP2
GT
GT
Missing opcode 
PUSH22 0xcd3aa3bb5ace (Í:£»ZÎ)

Token balances

TokenBalance

Token transactions

Tx HashBlockTimeFromToAmount
blog comments powered by Disqus