ETH Price: $2,476.49 (-1.77%)

Contract

0x51e6263bEf3970485B1545D4ca181749D9B19875
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x6060604051430992018-02-23 17:05:142381 days ago1519405514IN
 Create: OneInTen
0 ETH0.000316872.1

Advanced mode:
Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
OneInTen

Compiler Version
v0.4.20+commit.3155dd80

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-02-23
*/

pragma solidity ^0.4.20;

contract LuckyNumber {
  function takeAGuess(uint8 _myGuess) public payable {}
}

contract OneInTen {
  function call(address contract_address) public payable {
    LuckyNumber(contract_address).takeAGuess.value(msg.value)(uint8(keccak256(now, address(0xd777c3F176D125962C598E8e1162E52c6C403606)))%10);
  }
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"contract_address","type":"address"}],"name":"call","outputs":[],"payable":true,"stateMutability":"payable","type":"function"}]

6060604052341561000f57600080fd5b61017a8061001e6000396000f3006060604052600436106100405763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663f55332ab8114610045575b600080fd5b61006673ffffffffffffffffffffffffffffffffffffffff60043516610068565b005b8073ffffffffffffffffffffffffffffffffffffffff166352541b6834600a4273d777c3f176d125962c598e8e1162e52c6c40360660405191825273ffffffffffffffffffffffffffffffffffffffff166c0100000000000000000000000002602082015260340160405190819003902060ff168115156100e557fe5b066040517c010000000000000000000000000000000000000000000000000000000063ffffffff851602815260ff90911660048201526024016000604051808303818588803b151561013657600080fd5b6125ee5a03f1151561014757600080fd5b50505050505600a165627a7a72305820cd5deaacef0310b58bb289f119c54a811a04a419f877900c85b4f1a8df3d9cf40029

Deployed Bytecode

0x6060604052600436106100405763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663f55332ab8114610045575b600080fd5b61006673ffffffffffffffffffffffffffffffffffffffff60043516610068565b005b8073ffffffffffffffffffffffffffffffffffffffff166352541b6834600a4273d777c3f176d125962c598e8e1162e52c6c40360660405191825273ffffffffffffffffffffffffffffffffffffffff166c0100000000000000000000000002602082015260340160405190819003902060ff168115156100e557fe5b066040517c010000000000000000000000000000000000000000000000000000000063ffffffff851602815260ff90911660048201526024016000604051808303818588803b151561013657600080fd5b6125ee5a03f1151561014757600080fd5b50505050505600a165627a7a72305820cd5deaacef0310b58bb289f119c54a811a04a419f877900c85b4f1a8df3d9cf40029

Swarm Source

bzzr://cd5deaacef0310b58bb289f119c54a811a04a419f877900c85b4f1a8df3d9cf4

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.