ETH Price: $2,687.69 (-1.82%)
Gas: 0.66 Gwei

Contract

0x015A06a433353f8db634dF4eDdF0C109882A15AB
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
Set Tile201726502024-06-26 1:42:4762 days ago1719366167IN
PixelMap
0 ETH0.000121253.1664075
Set Tile201726412024-06-26 1:40:5962 days ago1719366059IN
PixelMap
0 ETH0.000120492.93219391
Set Tile200462312024-06-08 9:31:1179 days ago1717839071IN
PixelMap
0 ETH0.000295737.23053027
Set Tile200461532024-06-08 9:15:3579 days ago1717838135IN
PixelMap
0 ETH0.000263826.45040575
Set Tile200461442024-06-08 9:13:4779 days ago1717838027IN
PixelMap
0 ETH0.000244785.98484456
Set Tile194324762024-03-14 9:51:59165 days ago1710409919IN
PixelMap
0 ETH0.0029942746.70229994
Set Tile175172662023-06-20 0:11:35434 days ago1687219895IN
PixelMap
0 ETH0.0006655815.11355076
Set Tile175172652023-06-20 0:11:23434 days ago1687219883IN
PixelMap
0 ETH0.0006800615.36290853
Set Tile175172642023-06-20 0:11:11434 days ago1687219871IN
PixelMap
0 ETH0.0006680115.13157177
Set Tile175172642023-06-20 0:11:11434 days ago1687219871IN
PixelMap
0 ETH0.0006665615.13157177
Set Tile175172632023-06-20 0:10:59434 days ago1687219859IN
PixelMap
0 ETH0.0006498514.7202716
Set Tile175172622023-06-20 0:10:47434 days ago1687219847IN
PixelMap
0 ETH0.0006481614.64214828
Set Tile175172622023-06-20 0:10:47434 days ago1687219847IN
PixelMap
0 ETH0.000646414.64214828
Set Tile175172612023-06-20 0:10:35434 days ago1687219835IN
PixelMap
0 ETH0.0006415414.56378685
Set Tile175172602023-06-20 0:10:23434 days ago1687219823IN
PixelMap
0 ETH0.00062614.18010756
Set Tile175172602023-06-20 0:10:23434 days ago1687219823IN
PixelMap
0 ETH0.00062614.18010756
Set Tile175172592023-06-20 0:10:11434 days ago1687219811IN
PixelMap
0 ETH0.0005925613.38622568
Set Tile175172592023-06-20 0:10:11434 days ago1687219811IN
PixelMap
0 ETH0.0005888713.38622568
Set Tile175172582023-06-20 0:09:59434 days ago1687219799IN
PixelMap
0 ETH0.0005699413.74519961
Set Tile175172572023-06-20 0:09:47434 days ago1687219787IN
PixelMap
0 ETH0.0006187613.97803911
Set Tile175172572023-06-20 0:09:47434 days ago1687219787IN
PixelMap
0 ETH0.0006170813.97803911
Set Tile175172562023-06-20 0:09:35434 days ago1687219775IN
PixelMap
0 ETH0.0006135313.92776332
Set Tile175172552023-06-20 0:09:23434 days ago1687219763IN
PixelMap
0 ETH0.0005869313.29498023
Set Tile175172542023-06-20 0:09:11434 days ago1687219751IN
PixelMap
0 ETH0.0005797113.13138842
Set Tile175133222023-06-19 10:52:59434 days ago1687171979IN
PixelMap
0 ETH0.0033555838.84134478
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
201726782024-06-26 1:48:2362 days ago1719366503
PixelMap
0.2 ETH
201726782024-06-26 1:48:2362 days ago1719366503
PixelMap
0.2 ETH
200462872024-06-08 9:42:2379 days ago1717839743
PixelMap
0.4 ETH
200462872024-06-08 9:42:2379 days ago1717839743
PixelMap
0.4 ETH
169541502023-04-01 11:58:11513 days ago1680350291
PixelMap
0.7 ETH
169541502023-04-01 11:58:11513 days ago1680350291
PixelMap
0.7 ETH
169541462023-04-01 11:57:23513 days ago1680350243
PixelMap
0.7 ETH
169541462023-04-01 11:57:23513 days ago1680350243
PixelMap
0.7 ETH
162998062022-12-30 19:55:35605 days ago1672430135
PixelMap
0.9 ETH
162998062022-12-30 19:55:35605 days ago1672430135
PixelMap
0.9 ETH
162997772022-12-30 19:49:47605 days ago1672429787
PixelMap
0.9 ETH
162997772022-12-30 19:49:47605 days ago1672429787
PixelMap
0.9 ETH
162455002022-12-23 6:03:35613 days ago1671775415
PixelMap
1.5 ETH
162455002022-12-23 6:03:35613 days ago1671775415
PixelMap
1.5 ETH
162454892022-12-23 6:01:23613 days ago1671775283
PixelMap
1.5 ETH
162454892022-12-23 6:01:23613 days ago1671775283
PixelMap
1.5 ETH
162454772022-12-23 5:58:59613 days ago1671775139
PixelMap
1.5 ETH
162454772022-12-23 5:58:59613 days ago1671775139
PixelMap
1.5 ETH
157641012022-10-16 23:57:35680 days ago1665964655
PixelMap
2 ETH
157641012022-10-16 23:57:35680 days ago1665964655
PixelMap
2 ETH
157639562022-10-16 23:28:35680 days ago1665962915
PixelMap
2 ETH
157639562022-10-16 23:28:35680 days ago1665962915
PixelMap
2 ETH
151084422022-07-09 12:49:51779 days ago1657370991
PixelMap
2 ETH
151084422022-07-09 12:49:51779 days ago1657370991
PixelMap
2 ETH
151084372022-07-09 12:48:52779 days ago1657370932
PixelMap
2 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PixelMap

Compiler Version
v0.4.2+commit.af6afb04

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2016-11-17
*/

pragma solidity ^0.4.2;
contract PixelMap {
    address creator;
    struct Tile {
        address owner;
        string image;
        string url;
        uint price;
    }
    mapping (uint => Tile) public tiles;
    event TileUpdated(uint location);

    // Original Tile Owner
    function PixelMap() {creator = msg.sender;}

    // Get Tile information at X,Y position.
    function getTile(uint location) returns (address, string, string, uint) {
        return (tiles[location].owner,
                tiles[location].image,
                tiles[location].url,
                tiles[location].price);
    }

    // Purchase an unclaimed Tile for 2 Eth.
    function buyTile(uint location) payable {
        if (location > 3969) {throw;}
        uint price = tiles[location].price;
        address owner;

        // Make sure person doesn't already own tile.
        if (tiles[location].owner == msg.sender) {
            throw;
        }

        // If Unowned by the Bank, sell for 2Eth.
        if (tiles[location].owner == 0x0) {
            price = 2000000000000000000;
            owner = creator;
        }
        else {
            owner = tiles[location].owner;
        }
        // If the tile isn't for sale, don't sell it!
        if (price == 0) {
            throw;
        }

        // Pay for Tile.
        if (msg.value != price) {
            throw;
        }
        if (owner.send(price)) {
            tiles[location].owner = msg.sender;
            tiles[location].price = 0; // Set Price to 0.
            TileUpdated(location);
        }
        else {throw;}
    }

    // Set an already owned Tile to whatever you'd like.
    function setTile(uint location, string image, string url, uint price) {
        if (tiles[location].owner != msg.sender) {throw;} // Pixel not owned by you!
        else {
            tiles[location].image = image;
            tiles[location].url = url;
            tiles[location].price = price;
            TileUpdated(location);
        }
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"tiles","outputs":[{"name":"owner","type":"address"},{"name":"image","type":"string"},{"name":"url","type":"string"},{"name":"price","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"location","type":"uint256"}],"name":"buyTile","outputs":[],"payable":true,"type":"function"},{"constant":false,"inputs":[{"name":"location","type":"uint256"},{"name":"image","type":"string"},{"name":"url","type":"string"},{"name":"price","type":"uint256"}],"name":"setTile","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"location","type":"uint256"}],"name":"getTile","outputs":[{"name":"","type":"address"},{"name":"","type":"string"},{"name":"","type":"string"},{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"inputs":[],"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"location","type":"uint256"}],"name":"TileUpdated","type":"event"}]

606060405260008054600160a060020a0319163317905561078c806100246000396000f3606060405260e060020a60003504632fd2e742811461003f578063329ce29e14610079578063678d975814610092578063a97cc11414610149575b610002565b34610002576101f6600435600160208190526000918252604090912080546003820154600160a060020a0391909116928201916002019084565b61031260043560006000610f818311156103f857610002565b346100025760408051602060248035600481810135601f81018590048502860185019096528585526103129581359591946044949293909201918190840183828082843750506040805160209735808a0135601f81018a90048a0283018a019093528282529698976064979196506024919091019450909250829150840183828082843750949650509335935050505060008481526001602052604090205433600160a060020a0390811691161461052e57610002565b3461000257604080516020818101835260008083528351808301855281815260043580835260018085528684208054600382015482840180548b516002610100978316159790970260001901909116869004601f81018b90048b0282018b01909c528b81526103149b969a98998a97600160a060020a03909516969295929092019390918591908301828280156106e85780601f106106bd576101008083540402835291602001916106e8565b60408051600160a060020a038616815260608101839052608060208201818152865460026001821615610100026000190190911604918301829052919283019060a08401908790801561028a5780601f1061025f5761010080835404028352916020019161028a565b820191906000526020600020905b81548152906001019060200180831161026d57829003601f168201915b5050838103825285546002600182161561010002600019019091160480825260209190910190869080156102ff5780601f106102d4576101008083540402835291602001916102ff565b820191906000526020600020905b8154815290600101906020018083116102e257829003601f168201915b5050965050505050505060405180910390f35b005b6040518085600160a060020a0316815260200180602001806020018481526020018381038352868181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f16801561038d5780820380516001836020036101000a031916815260200191505b508381038252858181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f1680156103e65780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390f35b6000838152600160205260409020805460039190910154925033600160a060020a039081169116141561042a57610002565b600083815260016020526040812054600160a060020a03161415610465575050600054671bc16d674ec8000090600160a060020a031661047f565b50600082815260016020526040902054600160a060020a03165b816000141561048d57610002565b34821461049957610002565b604051600160a060020a0382169083156108fc029084906000818181858888f193505050501561003a576000838152600160209081526040808320805473ffffffffffffffffffffffffffffffffffffffff19163317815560030192909255815185815291517fb497d17d9ddaf07c831248da6ed8174689abdc4370285e618e350f29f5aff9a09281900390910190a1505050565b600084815260016020818152604083208651908301805481865294839020909460029481161561010002600019011693909304601f90810183900484019391928801908390106105a157805160ff19168380011785555b506105d19291505b80821115610638576000815560010161058d565b82800160010185558215610585579182015b828111156105855782518260005055916020019190600101906105b3565b50506000848152600160208181526040832085516002918201805481875295849020909594851615610100026000190190941691909104601f908101839004840193919287019083901061063c57805160ff19168380011785555b5061066c92915061058d565b5090565b8280016001018555821561062c579182015b8281111561062c57825182600050559160200191906001019061064e565b5050600084815260016020908152604091829020600301839055815186815291517fb497d17d9ddaf07c831248da6ed8174689abdc4370285e618e350f29f5aff9a09281900390910190a150505050565b820191906000526020600020905b8154815290600101906020018083116106cb57829003601f168201915b5050855460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959850879450925084019050828280156107765780601f1061074b57610100808354040283529160200191610776565b820191906000526020600020905b81548152906001019060200180831161075957829003601f168201915b505050505091509350935093509350919350919356

Deployed Bytecode

0x606060405260e060020a60003504632fd2e742811461003f578063329ce29e14610079578063678d975814610092578063a97cc11414610149575b610002565b34610002576101f6600435600160208190526000918252604090912080546003820154600160a060020a0391909116928201916002019084565b61031260043560006000610f818311156103f857610002565b346100025760408051602060248035600481810135601f81018590048502860185019096528585526103129581359591946044949293909201918190840183828082843750506040805160209735808a0135601f81018a90048a0283018a019093528282529698976064979196506024919091019450909250829150840183828082843750949650509335935050505060008481526001602052604090205433600160a060020a0390811691161461052e57610002565b3461000257604080516020818101835260008083528351808301855281815260043580835260018085528684208054600382015482840180548b516002610100978316159790970260001901909116869004601f81018b90048b0282018b01909c528b81526103149b969a98998a97600160a060020a03909516969295929092019390918591908301828280156106e85780601f106106bd576101008083540402835291602001916106e8565b60408051600160a060020a038616815260608101839052608060208201818152865460026001821615610100026000190190911604918301829052919283019060a08401908790801561028a5780601f1061025f5761010080835404028352916020019161028a565b820191906000526020600020905b81548152906001019060200180831161026d57829003601f168201915b5050838103825285546002600182161561010002600019019091160480825260209190910190869080156102ff5780601f106102d4576101008083540402835291602001916102ff565b820191906000526020600020905b8154815290600101906020018083116102e257829003601f168201915b5050965050505050505060405180910390f35b005b6040518085600160a060020a0316815260200180602001806020018481526020018381038352868181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f16801561038d5780820380516001836020036101000a031916815260200191505b508381038252858181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f1680156103e65780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390f35b6000838152600160205260409020805460039190910154925033600160a060020a039081169116141561042a57610002565b600083815260016020526040812054600160a060020a03161415610465575050600054671bc16d674ec8000090600160a060020a031661047f565b50600082815260016020526040902054600160a060020a03165b816000141561048d57610002565b34821461049957610002565b604051600160a060020a0382169083156108fc029084906000818181858888f193505050501561003a576000838152600160209081526040808320805473ffffffffffffffffffffffffffffffffffffffff19163317815560030192909255815185815291517fb497d17d9ddaf07c831248da6ed8174689abdc4370285e618e350f29f5aff9a09281900390910190a1505050565b600084815260016020818152604083208651908301805481865294839020909460029481161561010002600019011693909304601f90810183900484019391928801908390106105a157805160ff19168380011785555b506105d19291505b80821115610638576000815560010161058d565b82800160010185558215610585579182015b828111156105855782518260005055916020019190600101906105b3565b50506000848152600160208181526040832085516002918201805481875295849020909594851615610100026000190190941691909104601f908101839004840193919287019083901061063c57805160ff19168380011785555b5061066c92915061058d565b5090565b8280016001018555821561062c579182015b8281111561062c57825182600050559160200191906001019061064e565b5050600084815260016020908152604091829020600301839055815186815291517fb497d17d9ddaf07c831248da6ed8174689abdc4370285e618e350f29f5aff9a09281900390910190a150505050565b820191906000526020600020905b8154815290600101906020018083116106cb57829003601f168201915b5050855460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959850879450925084019050828280156107765780601f1061074b57610100808354040283529160200191610776565b820191906000526020600020905b81548152906001019060200180831161075957829003601f168201915b505050505091509350935093509350919350919356

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  ]
[ 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.