Sponsored Link:   WELL – WORKING HEALTHCARE U.S. PLATFORM - RAISED $3M IN PRE-ICO – JOIN NOW WITH 40% BONUS
Contract Overview
ETH Balance: 2.34705493 Ether
ETH USD Value: $2,013.37 (@ $857.83/ETH)
No Of Transactions: 3145 txns
  Latest 25 txns from a total Of 3145 transactions View All

TxHash Age From To Value [TxFee]
0xb95c16f19a64d21aebb771abda07c86727d702e0e0493c69f1426558ab4574f78 hrs 49 mins ago0x4d9a2307733aa5be00a1ac3b133151351b73d6a1  IN   0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490.08 Ether0.000218396
0xc1a381403c5348aa49e92f0cbe3cd1e0ae3e54b49ac96f9f78e0c65c14b4bd791 day 6 hrs ago0x9c54d6c9662020692d862356639e971ee8e31601  IN   0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490 Ether0.000020557
0xa88b12721366f1c0a4b6b2cebe67cdcb56aaab6ac8b37643c2c219d6f45c410e1 day 7 hrs ago0x7ba09a0449102f7f2e6398132fde0ce35d1bc985  IN   0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490 Ether0.000081972
0xf0256c32be27cbce62b3d50efb2271bc1e021df9f41e400a3c67ee91eb1ece082 days 8 hrs ago0x6c5f03ff766370db99c1cb65f04a2713f65e4f2a  IN   0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490 Ether0.000020493
0xe59969edfd1cd4d87f828a488d1c294d890871553542fba8c5481b2f5246a9262 days 21 hrs ago0x35c049ea298e0b5e3d5b25c3fd749f43ee3523ce  IN   0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490.02 Ether0.000154248
0x1cc8f7fc96a64f76b7bf479af9dcfe74c9d568fb35cd42aa192a7ba4f96dc1036 days 22 hrs ago0xd7abd9d82fa7b9d25ae2f0bad3a2c9809dc9c422  IN   0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490 Ether0.000040986
0x892be9966682d04a54773c628b22a79bb647c4ac066e2f8108ff5c6fa32738127 days 10 hrs ago0xaa97fca4429b6872572f08a1fa0f4129808a4e5d  IN   0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490.000025 Ether0.000067495
0x331a40fd1936d8a5bab1abdff963b212ed38466c66935629794ff5276b267cea8 days 7 mins ago0x8849f16be5ba7d08978dba3c06aad4eae712b22c  IN   0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490.005 Ether0.00008207
0xa226bbb7985d5fea98294caa015ac8e5475824d779bf8d4f54ddb69becd928728 days 7 mins ago0x8849f16be5ba7d08978dba3c06aad4eae712b22c  IN   0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490.01 Ether0.000109248
0x9abaaf4aff01e8e39deb463df8b44296aaeaf3db8b7d3525ad43bdde47783bf18 days 14 mins ago0x8849f16be5ba7d08978dba3c06aad4eae712b22c  IN   0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490.01 Ether0.000109248
0x8afa5db08dec8e175792f3112a39bedbc2e673aa09d0fe736abe785cf7f2dd0f8 days 10 hrs ago0x4da2e85d64bece663ccab06e89b970b6b077f22f  IN   0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490 Ether0.000020493
0xb1d65e48910d8e7e045bf70a2cf8c051d2c23c58e9b788f045f788b7f25dc99f8 days 10 hrs ago0x8849f16be5ba7d08978dba3c06aad4eae712b22c  IN   0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490.08 Ether0.000139248
0x80616c2c942cdf503cc857204aada10450f60863c2835a5c03cbb4eec097d3de8 days 11 hrs ago0x5372260584003e8ae3a24e9df09fa96037a04c2b  IN   0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490.005 Ether0.00016499
0x7aa2ef5a71735ca7d0386224c9af2f4032801be36cec1694f43ef4585f1405f98 days 11 hrs ago0x5372260584003e8ae3a24e9df09fa96037a04c2b  IN   0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490.005 Ether0.00019489
0xb228275af36ca006fc6313bd7d6882c83b25d9fb8ff6d6119bf3e950ec0130668 days 11 hrs ago0x5372260584003e8ae3a24e9df09fa96037a04c2b  IN   0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490.005 Ether0.00016499
0x4ec0a6036010ee426a80fbf3a2ab3138b81e0ff2d1aaf982eb4fd7de145034ea8 days 11 hrs ago0x5372260584003e8ae3a24e9df09fa96037a04c2b  IN   0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490.005 Ether0.000082495
0x006b438badb40659f2f83bc966890657d876ea3af0f43c8b1162a5a7c3e888a58 days 11 hrs ago0x5372260584003e8ae3a24e9df09fa96037a04c2b  IN   0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490.01 Ether0.000109248
0xb6505094644266df6725c95e3ddfe88b20b7b1e2a11623c55ab4048d0483103c8 days 11 hrs ago0x5372260584003e8ae3a24e9df09fa96037a04c2b  IN   0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490.00505 Ether0.000109248
0x47774337e138ebe82592444092e7258676d2812bba8ae86d217bcb4b96b7b4838 days 11 hrs ago0x5372260584003e8ae3a24e9df09fa96037a04c2b  IN   0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490 Ether0.000082495
0xb513d17d354c7c3132264cf87646922e0cc84b5280d03ce3454fb8337ec986e59 days 3 hrs ago0x79e5dda6466be0637567b3aeed4aae7d445a1c45  IN   0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490 Ether0.000020493
0xa634233d7a61eaffe4cfab0589dfd4ad6f224e28cddaa08d7f8efdf497a745a39 days 5 hrs ago0x1697734ae70c62b78a2d7ec18c666d794df79f69  IN   0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490.01 Ether0.000124248
0x0c832c8ee6a9a2e7065bc4a21729115d59dd2149dce58ebc84fab5bc1a85383d9 days 21 hrs ago0xe8df0e648585ea0f9bcb82b2f6e00fd61cb5515d  IN   0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490 Ether0.000020493
0x2459673ce246c0fb13f9184818538b59da2d7e8c49e8b937c8f0083337ad8ecf9 days 21 hrs ago0xc233ecba15742eaf2ea962c5531077914fd1d4f6  IN   0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490 Ether0.000020493
0x43c6e31dadc4e93097fb42105842f87f53b0d35b28892728290a1e205035ae0210 days 4 hrs ago0x18abdc62ba2500dd80a99d19f5ccebcf0e191e8f  IN   0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490.01 Ether0.000218496
0x43d5aacb380bd2b7825f63dfdf2d5e8a03ce6630c5eb2cafe136b69d55fec07d10 days 4 hrs ago0x18abdc62ba2500dd80a99d19f5ccebcf0e191e8f  IN   0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490.005 Ether0.00025404
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
  Latest 25 Internal Txns, Click here to View More View All
ParentTxHash Block Age From To Value
0xc1a381403c5348aa49e92f0cbe3cd1e0ae3e54b49ac96f9f78e0c65c14b4bd7951263621 day 6 hrs ago0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490x9c54d6c9662020692d862356639e971ee8e316010.14925 Ether
0xa88b12721366f1c0a4b6b2cebe67cdcb56aaab6ac8b37643c2c219d6f45c410e51260821 day 7 hrs ago0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490x7ba09a0449102f7f2e6398132fde0ce35d1bc9850.02985 Ether
0xf0256c32be27cbce62b3d50efb2271bc1e021df9f41e400a3c67ee91eb1ece0851200172 days 8 hrs ago0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490x6c5f03ff766370db99c1cb65f04a2713f65e4f2a0.00995 Ether
0x1cc8f7fc96a64f76b7bf479af9dcfe74c9d568fb35cd42aa192a7ba4f96dc10350926116 days 22 hrs ago0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490xd7abd9d82fa7b9d25ae2f0bad3a2c9809dc9c4220.04975 Ether
0x8afa5db08dec8e175792f3112a39bedbc2e673aa09d0fe736abe785cf7f2dd0f50838788 days 10 hrs ago0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490x4da2e85d64bece663ccab06e89b970b6b077f22f0.0398 Ether
0xb513d17d354c7c3132264cf87646922e0cc84b5280d03ce3454fb8337ec986e550797129 days 3 hrs ago0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490x79e5dda6466be0637567b3aeed4aae7d445a1c450.0199 Ether
0x0c832c8ee6a9a2e7065bc4a21729115d59dd2149dce58ebc84fab5bc1a85383d50752519 days 21 hrs ago0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490xe8df0e648585ea0f9bcb82b2f6e00fd61cb5515d0.0398 Ether
0x2459673ce246c0fb13f9184818538b59da2d7e8c49e8b937c8f0083337ad8ecf50752309 days 21 hrs ago0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490xc233ecba15742eaf2ea962c5531077914fd1d4f60.0796 Ether
0xed651e81305a7e9fed81ad9974258c27300f40844bef9de235c8235c16c0b111506176812 days 3 hrs ago0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490xfe24b8020d5a64c486ba8ae8f94a5e94990db1fd0.0796 Ether
0x0c9b8bacad5ef88576af991213e7df8e69e502b1a9bdcb9f9acab4700756079a506010412 days 9 hrs ago0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490xf2ab31b0c7e3a6e93f211e58b337653658cbca9f0.06415 Ether
0xbea7164aba1fc9534c0ab1704b96d0301f550615989a6b1883de169338c0d1e9504384315 days 3 hrs ago0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490x522273122b20212fe255875a4737b6f50cc720060.02985 Ether
0x7877a99b03713dd3acd93805b61432f8150858534f24119fdad0ffdf295c3364502495018 days 7 hrs ago0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490x3eb542cc20e9b91310e69c07d301d6fc9c7cabf40.00995 Ether
0xb315d40da1bde79571601251e0a23915e5532d93e20751a2c41549c4141c38e4501851519 days 9 hrs ago0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490xaa97fca4429b6872572f08a1fa0f4129808a4e5d0.064675 Ether
0xd7ede22d1a7a75c195e3ffedc55b93e393b60042d87247110bf8bf336683e041501004620 days 20 hrs ago0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490x49aad95cc1cb1ec051e7e102aa71a8fc918dbdd30.0199 Ether
0xf2515c723bd4d23dafafa4abae6a890c5820a7560987a93cbecf5d76e17e94f4500322522 days 7 mins ago0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490x79e5dda6466be0637567b3aeed4aae7d445a1c450.0398 Ether
0x64b3fda62ca4bb6f23e5e7f24e593535e72701cbccdc0761b7c65aec31ea9e17500155622 days 6 hrs ago0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490x2d5fcbbc76ccf812973d8f0d461536bd4bd6d3460.00995 Ether
0xaf8b0f894ddaca841ffd3069673c0dd6c2c690aa8a9e571bffff77beb420cc53500137622 days 7 hrs ago0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490x66af230f0c50408da55c667545b0576dd1ef0a720.0199 Ether
0xd7290a130235302ce986b37cd16b2860e98f1925874747817e1a9a712d13189c498256725 days 11 hrs ago0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490xa6976261a916a7faf30ed52125337308f251ab4c0.0199 Ether
0x631def905bec797a5613e6a30be41d7a6cbe9353775a567b33653fa7d3381363497788326 days 6 hrs ago0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490x2b5dddeec220bb5af3b8e7a1de1320f60003e55d0.0199 Ether
0x9e018658da2aeb90d4e57e695a20b027fdf4949c9b1b3afc9dab28a9e3381bfe497296427 days 2 hrs ago0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490x88b8601e1679abde44332f0e3eff32396fcdaa2d0.021575 Ether
0xcf3b9a5e0f0bd5ee158f077f0269e8e20fca2ca69548870cecc42844cac8ba7f496397828 days 14 hrs ago0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490x740ef5b5aa6a8226fe6836139eec5f1a4a919b4a0.0199 Ether
0x38ac9001b0d748ab161f659bda82c7f8c55b64d235c5bbaba34e57668ec38d91493882832 days 21 hrs ago0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490xf745f479a7da0b538ee5bbc35d719c7c481e1b7e0.0398 Ether
0x38451663234525d0d23677ef00fb673e107e21f0c35c1897e89a9584a198d08c493516733 days 12 hrs ago0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490xb44cf3588c29bc4393fe53ad6be9a2f84d8e90340.0398 Ether
0xae6484eb544fca9dc63a315ddba394ecf855db3f7075205b03428ef7e789b3c3493357933 days 19 hrs ago0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490x04b63d21b07e96ed7ac590b8bad19c3344d17efa0.014925 Ether
0xa6e6082e6c7ab4e74bd3fabfb4947a4400f13626422c4a00c64767972061a025493278833 days 22 hrs ago0xc3c94e2d9a33ab18d5578bd63dfdaa3e0ea74a490xdc73bcd7be13488ccfd0aceadabe8c3a27f711261.4328 Ether
[ Download CSV Export  ] 
Warning: The compiled contract might be susceptible to ZeroFunctionSelector (very low-severity) Solidity compiler bugs.

Contract Source Code Verified
Contract Name: PyramidGame
Compiler Version: v0.4.17+commit.bdeb9e52
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts
pragma solidity ^0.4.17;

contract PyramidGame
{
    /////////////////////////////////////////////
    // Game parameters
    uint256 private constant BOTTOM_LAYER_BET_AMOUNT = 0.005 ether;
    uint256 private adminFeeDivisor; // e.g. 100 means a 1% fee, 200 means a 0.5% fee
    
    /////////////////////////////////////////////
    // Game owner
    address private administrator;
    
    /////////////////////////////////////////////
    // Pyramid grid data
    //
    // The uint32 is the coordinates.
    // It consists of two uint16's:
    // The x is the most significant 2 bytes (16 bits)
    // The y is the least significant 2 bytes (16 bits)
    // x = coordinates >> 16
    // y = coordinates & 0xFFFF
    // coordinates = (x << 16) | y
    // x is a 16-bit unsigned integer
    // y is a 16-bit unsigned integer
    mapping(uint32 => address) public coordinatesToAddresses;
    uint32[] public allBlockCoordinates;
    
    // In the user interface, the rows of blocks will be
    // progressively shifted more to the right, as y increases
    // 
    // For example, these blocks in the contract's coordinate system:
    //         ______
    //      2 |__A__|______
    // /|\  1 |__B__|__D__|______
    //  |   0 |__C__|__E__|__F__|
    //  y        0     1     2
    // 
    //        x -->
    // 
    // 
    // Become these blocks in the user interface:
    //    __        ______
    //    /|     __|__A__|___
    //   /    __|__B__|__D__|___
    //  y    |__C__|__E__|__F__|
    // 
    //   x -->
    // 
    // 
    
    /////////////////////////////////////////////
    // Address properties
    mapping(address => uint256) public addressesToTotalWeiPlaced;
    mapping(address => uint256) public addressBalances;
    
    ////////////////////////////////////////////
    // Game Constructor
    function PyramidGame() public
    {
        administrator = msg.sender;
        adminFeeDivisor = 200; // Default fee is 0.5%
        
        // The administrator gets a few free chat messages :-)
        addressesToChatMessagesLeft[administrator] += 5;
        
        // Set the first block in the middle of the bottom row
        coordinatesToAddresses[uint32(1 << 15) << 16] = msg.sender;
        allBlockCoordinates.push(uint32(1 << 15) << 16);
    }
    
    ////////////////////////////////////////////
    // Pyramid grid reading functions
    function getBetAmountAtLayer(uint16 y) public pure returns (uint256)
    {
        // The minimum bet doubles every time you go up 1 layer
        return BOTTOM_LAYER_BET_AMOUNT * (uint256(1) << y);
    }
    
    function isThereABlockAtCoordinates(uint16 x, uint16 y) public view returns (bool)
    {
        return coordinatesToAddresses[(uint32(x) << 16) | uint16(y)] != 0;
    }
    
    function getTotalAmountOfBlocks() public view returns (uint256)
    {
        return allBlockCoordinates.length;
    }
    
    ////////////////////////////////////////////
    // Pyramid grid writing functions
    function placeBlock(uint16 x, uint16 y) external payable
    {
        // You may only place a block on an empty spot
        require(!isThereABlockAtCoordinates(x, y));
        
        // Add the transaction amount to the person's balance
        addressBalances[msg.sender] += msg.value;
        
        // Calculate the required bet amount at the specified layer
        uint256 betAmount = getBetAmountAtLayer(y);

        // If the block is at the lowest layer...
        if (y == 0)
        {
            // There must be a block to the left or to the right of it
            require(isThereABlockAtCoordinates(x-1, y) ||
                    isThereABlockAtCoordinates(x+1, y));
        }
        
        // If the block is NOT at the lowest layer...
        else
        {
            // There must be two existing blocks below it:
            require(isThereABlockAtCoordinates(x  , y-1) &&
                    isThereABlockAtCoordinates(x+1, y-1));
        }
        
        // Subtract the bet amount from the person's balance
        addressBalances[msg.sender] -= betAmount;
        
        // Place the block
        coordinatesToAddresses[(uint32(x) << 16) | y] = msg.sender;
        allBlockCoordinates.push((uint32(x) << 16) | y);
        
        // If the block is at the lowest layer...
        if (y == 0)
        {
            // The bet goes to the administrator
            addressBalances[administrator] += betAmount;
        }
        
        // If the block is NOT at the lowest layer...
        else
        {
            // Calculate the administrator fee
            uint256 adminFee = betAmount / adminFeeDivisor;
            
            // Calculate the bet amount minus the admin fee
            uint256 betAmountMinusAdminFee = betAmount - adminFee;
            
            // Add the money to the balances of the people below
            addressBalances[coordinatesToAddresses[(uint32(x  ) << 16) | (y-1)]] += betAmountMinusAdminFee / 2;
            addressBalances[coordinatesToAddresses[(uint32(x+1) << 16) | (y-1)]] += betAmountMinusAdminFee / 2;
            
            // Give the admin fee to the admin
            addressBalances[administrator] += adminFee;
        }
        
        // The new sender's balance must not have underflowed
        // (this verifies that the sender has enough balance to place the block)
        require(addressBalances[msg.sender] < (1 << 255));
        
        // Give the sender their chat message rights
        addressesToChatMessagesLeft[msg.sender] += uint32(1) << y;
        
        // Register the sender's total bets placed
        addressesToTotalWeiPlaced[msg.sender] += betAmount;
    }
    
    ////////////////////////////////////////////
    // Withdrawing balance
    function withdrawBalance(uint256 amountToWithdraw) external
    {
        require(amountToWithdraw != 0);
        
        // The user must have enough balance to withdraw
        require(addressBalances[msg.sender] >= amountToWithdraw);
        
        // Subtract the withdrawn amount from the user's balance
        addressBalances[msg.sender] -= amountToWithdraw;
        
        // Transfer the amount to the user's address
        // If the transfer() call fails an exception will be thrown,
        // and therefore the user's balance will be automatically restored
        msg.sender.transfer(amountToWithdraw);
    }
    
    /////////////////////////////////////////////
    // Chatbox data
    struct ChatMessage
    {
        address person;
        string message;
    }
    mapping(bytes32 => address) public usernamesToAddresses;
    mapping(address => bytes32) public addressesToUsernames;
    mapping(address => uint32) public addressesToChatMessagesLeft;
    ChatMessage[] public chatMessages;
    mapping(uint256 => bool) public censoredChatMessages;
    
    /////////////////////////////////////////////
    // Chatbox functions
    function registerUsername(bytes32 username) external
    {
        // The username must not already be token
        require(usernamesToAddresses[username] == 0);
        
        // The address must not already have a username
        require(addressesToUsernames[msg.sender] == 0);
        
        // Register the new username & address combination
        usernamesToAddresses[username] = msg.sender;
        addressesToUsernames[msg.sender] = username;
    }
    
    function sendChatMessage(string message) external
    {
        // The sender must have at least 1 chat message allowance
        require(addressesToChatMessagesLeft[msg.sender] >= 1);
        
        // Deduct 1 chat message allowence from the sender
        addressesToChatMessagesLeft[msg.sender]--;
        
        // Add the chat message
        chatMessages.push(ChatMessage(msg.sender, message));
    }
    
    function getTotalAmountOfChatMessages() public view returns (uint256)
    {
        return chatMessages.length;
    }
    
    function getChatMessageAtIndex(uint256 index) public view returns (address, bytes32, string)
    {
        address person = chatMessages[index].person;
        bytes32 username = addressesToUsernames[person];
        return (person, username, chatMessages[index].message);
    }
    
    // In case of chat messages with extremely rude or inappropriate
    // content, the administrator can censor a chat message.
    function censorChatMessage(uint256 chatMessageIndex) public
    {
        require(msg.sender == administrator);
        censoredChatMessages[chatMessageIndex] = true;
    }
    
    /////////////////////////////////////////////
    // Game ownership functions
    function transferOwnership(address newAdministrator) external
    {
        require(msg.sender == administrator);
        administrator = newAdministrator;
    }
    
    function setFeeDivisor(uint256 newFeeDivisor) external
    {
        require(msg.sender == administrator);
        require(newFeeDivisor >= 20); // The fee may never exceed 5%
        adminFeeDivisor = newFeeDivisor;
    }
}

    Contract ABI  
[{"constant":true,"inputs":[{"name":"","type":"uint32"}],"name":"coordinatesToAddresses","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"y","type":"uint16"}],"name":"getBetAmountAtLayer","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[{"name":"newFeeDivisor","type":"uint256"}],"name":"setFeeDivisor","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"addressesToTotalWeiPlaced","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"x","type":"uint16"},{"name":"y","type":"uint16"}],"name":"isThereABlockAtCoordinates","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getTotalAmountOfBlocks","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"chatMessageIndex","type":"uint256"}],"name":"censorChatMessage","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"addressesToChatMessagesLeft","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"username","type":"bytes32"}],"name":"registerUsername","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"addressBalances","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"index","type":"uint256"}],"name":"getChatMessageAtIndex","outputs":[{"name":"","type":"address"},{"name":"","type":"bytes32"},{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"addressesToUsernames","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"message","type":"string"}],"name":"sendChatMessage","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getTotalAmountOfChatMessages","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"chatMessages","outputs":[{"name":"person","type":"address"},{"name":"message","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"amountToWithdraw","type":"uint256"}],"name":"withdrawBalance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"x","type":"uint16"},{"name":"y","type":"uint16"}],"name":"placeBlock","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"allBlockCoordinates","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"censoredChatMessages","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newAdministrator","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"bytes32"}],"name":"usernamesToAddresses","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"}]

  Contract Creation Code Switch To Opcodes View
6060604052341561000f57600080fd5b60018054600160a060020a03338116600160a060020a0319928316811780855560c86000908155921682526008602090815260408320805463ffffffff8082166005011663ffffffff19909116179055638000000090925260029091527ffc0c227ddee9ec9d8f21c9d782cd306642b69e1b7fd65ca789f0a3f7ddf58e4c805490921617905560038054909181016100a783826100e3565b50600091825260209091206008808304909101805463ffffffff929093066004026101000a91820219909216638000000090910217905561013d565b815481835581811511610117576007016008900481600701600890048360005260206000209182019101610117919061011c565b505050565b61013a91905b808211156101365760008155600101610122565b5090565b90565b610eb88061014c6000396000f3006060604052361561011a5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166303828729811461011f57806303cbcf5714610157578063043531b114610183578063363626ad1461019b57806341e8b94c146101ba578063455f1725146101ee57806350aeddcf146102015780635bcc10721461021757806366e34dc61461024f57806379fc3682146102655780639148018a1461028457806397a432ff14610329578063a7e33a0c14610348578063c2235e7414610366578063c49d9ff814610379578063da76d5cd14610427578063da918f761461043d578063e9ffd6de14610452578063ec1024d114610468578063f2fde38b1461047e578063faae4c171461049d575b600080fd5b341561012a57600080fd5b61013b63ffffffff600435166104b3565b604051600160a060020a03909116815260200160405180910390f35b341561016257600080fd5b61017161ffff600435166104ce565b60405190815260200160405180910390f35b341561018e57600080fd5b6101996004356104e1565b005b34156101a657600080fd5b610171600160a060020a036004351661050f565b34156101c557600080fd5b6101da61ffff60043581169060243516610521565b604051901515815260200160405180910390f35b34156101f957600080fd5b610171610552565b341561020c57600080fd5b610199600435610559565b341561022257600080fd5b610236600160a060020a036004351661058f565b60405163ffffffff909116815260200160405180910390f35b341561025a57600080fd5b6101996004356105a7565b341561027057600080fd5b610171600160a060020a0360043516610632565b341561028f57600080fd5b61029a600435610644565b604051600160a060020a03841681526020810183905260606040820181815290820183818151815260200191508051906020019080838360005b838110156102ec5780820151838201526020016102d4565b50505050905090810190601f1680156103195780820380516001836020036101000a031916815260200191505b5094505050505060405180910390f35b341561033457600080fd5b610171600160a060020a0360043516610760565b341561035357600080fd5b6101996004803560248101910135610772565b341561037157600080fd5b610171610894565b341561038457600080fd5b61038f60043561089a565b604051600160a060020a0383168152604060208201818152835460026000196101006001841615020190911604918301829052906060830190849080156104175780601f106103ec57610100808354040283529160200191610417565b820191906000526020600020905b8154815290600101906020018083116103fa57829003601f168201915b5050935050505060405180910390f35b341561043257600080fd5b6101996004356108cb565b61019961ffff60043581169060243516610948565b341561045d57600080fd5b610236600435610c46565b341561047357600080fd5b6101da600435610c7e565b341561048957600080fd5b610199600160a060020a0360043516610c93565b34156104a857600080fd5b61013b600435610cdd565b600260205260009081526040902054600160a060020a031681565b61ffff1660020a6611c37937e080000290565b60015433600160a060020a039081169116146104fc57600080fd5b601481101561050a57600080fd5b600055565b60046020526000908152604090205481565b6201000061ffff9283160291161763ffffffff16600090815260026020526040902054600160a060020a0316151590565b6003545b90565b60015433600160a060020a0390811691161461057457600080fd5b6000908152600a60205260409020805460ff19166001179055565b60086020526000908152604090205463ffffffff1681565b600081815260066020526040902054600160a060020a0316156105c957600080fd5b600160a060020a033316600090815260076020526040902054156105ec57600080fd5b6000818152600660209081526040808320805473ffffffffffffffffffffffffffffffffffffffff191633600160a060020a031690811790915583526007909152902055565b60056020526000908152604090205481565b60008061064f610cf8565b60008060098681548110151561066157fe5b60009182526020808320600290920290910154600160a060020a03168083526007909152604090912054600980549294509092508391839190899081106106a457fe5b9060005260206000209060020201600101808054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561074a5780601f1061071f5761010080835404028352916020019161074a565b820191906000526020600020905b81548152906001019060200180831161072d57829003601f168201915b5050505050905094509450945050509193909250565b60076020526000908152604090205481565b600160a060020a033316600090815260086020526040902054600163ffffffff90911610156107a057600080fd5b33600160a060020a03166000908152600860205260409020805463ffffffff19811663ffffffff9182166000190190911617905560098054600181016107e68382610d0a565b91600052602060002090600202016000604080519081016040528033600160a060020a0316815260200186868080601f01602080910402602001604051908101604052818152929190602084018383808284375050509290935250919392508391505051815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039190911617815560208201518160010190805161088c929160200190610d3b565b505050505050565b60095490565b60098054829081106108a857fe5b600091825260209091206002909102018054600160a060020a0316915060010182565b8015156108d757600080fd5b600160a060020a033316600090815260056020526040902054819010156108fd57600080fd5b600160a060020a033316600081815260056020526040908190208054849003905582156108fc0290839051600060405180830381858888f19350505050151561094557600080fd5b50565b60008060006109578585610521565b1561096157600080fd5b600160a060020a0333166000908152600560205260409020805434019055610988846104ce565b925061ffff841615156109c5576109a26001860385610521565b806109b557506109b58560010185610521565b15156109c057600080fd5b6109f4565b6109d28560018603610521565b80156109e957506109e98560010160018603610521565b15156109f457600080fd5b33600160a060020a031660008181526005602090815260408083208054889003905563ffffffff61ffff898116908b1662010000021716835260029091529020805473ffffffffffffffffffffffffffffffffffffffff191690911790556003805460018101610a648382610db9565b91600052602060002090600891828204019190066004028661ffff1660108961ffff1663ffffffff169060020a0217909190916101000a81548163ffffffff021916908363ffffffff160217905550508361ffff1660001415610ae657600154600160a060020a03166000908152600560205260409020805484019055610bad565b60005483811515610af357fe5b0491505080820360028163ffffffff600019870161ffff90811690891662010000021716600090815260026020818152604080842054600160a060020a03168452600590915290912080549390920490920190558163ffffffff600019870161ffff90811660018a81019290921662010000021791909116600090815260026020908152604080832054600160a060020a039081168452600590925280832080549690950490950190935590549091168152208054830190555b600160a060020a0333166000908152600560205260409020547f80000000000000000000000000000000000000000000000000000000000000009010610bf257600080fd5b505033600160a060020a03166000908152600860209081526040808320805463ffffffff19811661ffff9790971660020a63ffffffff91821601169590951790945560049052919091208054909101905550565b6003805482908110610c5457fe5b9060005260206000209060089182820401919006600402915054906101000a900463ffffffff1681565b600a6020526000908152604090205460ff1681565b60015433600160a060020a03908116911614610cae57600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600660205260009081526040902054600160a060020a031681565b60206040519081016040526000815290565b815481835581811511610d3657600202816002028360005260206000209182019101610d369190610ded565b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610d7c57805160ff1916838001178555610da9565b82800160010185558215610da9579182015b82811115610da9578251825591602001919060010190610d8e565b50610db5929150610e2e565b5090565b815481835581811511610d36576007016008900481600701600890048360005260206000209182019101610d369190610e2e565b61055691905b80821115610db557805473ffffffffffffffffffffffffffffffffffffffff191681556000610e256001830182610e48565b50600201610df3565b61055691905b80821115610db55760008155600101610e34565b50805460018160011615610100020316600290046000825580601f10610e6e5750610945565b601f0160209004906000526020600020908101906109459190610e2e5600a165627a7a723058205e489178c96b9b3e01be40147b005910039149bcdd1130a94b42c7832784c4a50029

   Swarm Source:
bzzr://5e489178c96b9b3e01be40147b005910039149bcdd1130a94b42c7832784c4a5

 

View All
Block Age txn Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "downvote" button for any spammy posts, and the "upvote" for interesting conversations.