The wrapped version of PixelMap can be found on this address here.
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 16,586 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Tile | 20172650 | 62 days ago | IN | 0 ETH | 0.00012125 | ||||
Set Tile | 20172641 | 62 days ago | IN | 0 ETH | 0.00012049 | ||||
Set Tile | 20046231 | 79 days ago | IN | 0 ETH | 0.00029573 | ||||
Set Tile | 20046153 | 79 days ago | IN | 0 ETH | 0.00026382 | ||||
Set Tile | 20046144 | 79 days ago | IN | 0 ETH | 0.00024478 | ||||
Set Tile | 19432476 | 165 days ago | IN | 0 ETH | 0.00299427 | ||||
Set Tile | 17517266 | 434 days ago | IN | 0 ETH | 0.00066558 | ||||
Set Tile | 17517265 | 434 days ago | IN | 0 ETH | 0.00068006 | ||||
Set Tile | 17517264 | 434 days ago | IN | 0 ETH | 0.00066801 | ||||
Set Tile | 17517264 | 434 days ago | IN | 0 ETH | 0.00066656 | ||||
Set Tile | 17517263 | 434 days ago | IN | 0 ETH | 0.00064985 | ||||
Set Tile | 17517262 | 434 days ago | IN | 0 ETH | 0.00064816 | ||||
Set Tile | 17517262 | 434 days ago | IN | 0 ETH | 0.0006464 | ||||
Set Tile | 17517261 | 434 days ago | IN | 0 ETH | 0.00064154 | ||||
Set Tile | 17517260 | 434 days ago | IN | 0 ETH | 0.000626 | ||||
Set Tile | 17517260 | 434 days ago | IN | 0 ETH | 0.000626 | ||||
Set Tile | 17517259 | 434 days ago | IN | 0 ETH | 0.00059256 | ||||
Set Tile | 17517259 | 434 days ago | IN | 0 ETH | 0.00058887 | ||||
Set Tile | 17517258 | 434 days ago | IN | 0 ETH | 0.00056994 | ||||
Set Tile | 17517257 | 434 days ago | IN | 0 ETH | 0.00061876 | ||||
Set Tile | 17517257 | 434 days ago | IN | 0 ETH | 0.00061708 | ||||
Set Tile | 17517256 | 434 days ago | IN | 0 ETH | 0.00061353 | ||||
Set Tile | 17517255 | 434 days ago | IN | 0 ETH | 0.00058693 | ||||
Set Tile | 17517254 | 434 days ago | IN | 0 ETH | 0.00057971 | ||||
Set Tile | 17513322 | 434 days ago | IN | 0 ETH | 0.00335558 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
20172678 | 62 days ago | 0.2 ETH | ||||
20172678 | 62 days ago | 0.2 ETH | ||||
20046287 | 79 days ago | 0.4 ETH | ||||
20046287 | 79 days ago | 0.4 ETH | ||||
16954150 | 513 days ago | 0.7 ETH | ||||
16954150 | 513 days ago | 0.7 ETH | ||||
16954146 | 513 days ago | 0.7 ETH | ||||
16954146 | 513 days ago | 0.7 ETH | ||||
16299806 | 605 days ago | 0.9 ETH | ||||
16299806 | 605 days ago | 0.9 ETH | ||||
16299777 | 605 days ago | 0.9 ETH | ||||
16299777 | 605 days ago | 0.9 ETH | ||||
16245500 | 613 days ago | 1.5 ETH | ||||
16245500 | 613 days ago | 1.5 ETH | ||||
16245489 | 613 days ago | 1.5 ETH | ||||
16245489 | 613 days ago | 1.5 ETH | ||||
16245477 | 613 days ago | 1.5 ETH | ||||
16245477 | 613 days ago | 1.5 ETH | ||||
15764101 | 680 days ago | 2 ETH | ||||
15764101 | 680 days ago | 2 ETH | ||||
15763956 | 680 days ago | 2 ETH | ||||
15763956 | 680 days ago | 2 ETH | ||||
15108442 | 779 days ago | 2 ETH | ||||
15108442 | 779 days ago | 2 ETH | ||||
15108437 | 779 days ago | 2 ETH |
Loading...
Loading
Contract Name:
PixelMap
Compiler Version
v0.4.2+commit.af6afb04
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *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
- No Contract Security Audit Submitted- Submit Audit Here
[{"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"}]
Contract Creation Code
606060405260008054600160a060020a0319163317905561078c806100246000396000f3606060405260e060020a60003504632fd2e742811461003f578063329ce29e14610079578063678d975814610092578063a97cc11414610149575b610002565b34610002576101f6600435600160208190526000918252604090912080546003820154600160a060020a0391909116928201916002019084565b61031260043560006000610f818311156103f857610002565b346100025760408051602060248035600481810135601f81018590048502860185019096528585526103129581359591946044949293909201918190840183828082843750506040805160209735808a0135601f81018a90048a0283018a019093528282529698976064979196506024919091019450909250829150840183828082843750949650509335935050505060008481526001602052604090205433600160a060020a0390811691161461052e57610002565b3461000257604080516020818101835260008083528351808301855281815260043580835260018085528684208054600382015482840180548b516002610100978316159790970260001901909116869004601f81018b90048b0282018b01909c528b81526103149b969a98998a97600160a060020a03909516969295929092019390918591908301828280156106e85780601f106106bd576101008083540402835291602001916106e8565b60408051600160a060020a038616815260608101839052608060208201818152865460026001821615610100026000190190911604918301829052919283019060a08401908790801561028a5780601f1061025f5761010080835404028352916020019161028a565b820191906000526020600020905b81548152906001019060200180831161026d57829003601f168201915b5050838103825285546002600182161561010002600019019091160480825260209190910190869080156102ff5780601f106102d4576101008083540402835291602001916102ff565b820191906000526020600020905b8154815290600101906020018083116102e257829003601f168201915b5050965050505050505060405180910390f35b005b6040518085600160a060020a0316815260200180602001806020018481526020018381038352868181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f16801561038d5780820380516001836020036101000a031916815260200191505b508381038252858181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f1680156103e65780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390f35b6000838152600160205260409020805460039190910154925033600160a060020a039081169116141561042a57610002565b600083815260016020526040812054600160a060020a03161415610465575050600054671bc16d674ec8000090600160a060020a031661047f565b50600082815260016020526040902054600160a060020a03165b816000141561048d57610002565b34821461049957610002565b604051600160a060020a0382169083156108fc029084906000818181858888f193505050501561003a576000838152600160209081526040808320805473ffffffffffffffffffffffffffffffffffffffff19163317815560030192909255815185815291517fb497d17d9ddaf07c831248da6ed8174689abdc4370285e618e350f29f5aff9a09281900390910190a1505050565b600084815260016020818152604083208651908301805481865294839020909460029481161561010002600019011693909304601f90810183900484019391928801908390106105a157805160ff19168380011785555b506105d19291505b80821115610638576000815560010161058d565b82800160010185558215610585579182015b828111156105855782518260005055916020019190600101906105b3565b50506000848152600160208181526040832085516002918201805481875295849020909594851615610100026000190190941691909104601f908101839004840193919287019083901061063c57805160ff19168380011785555b5061066c92915061058d565b5090565b8280016001018555821561062c579182015b8281111561062c57825182600050559160200191906001019061064e565b5050600084815260016020908152604091829020600301839055815186815291517fb497d17d9ddaf07c831248da6ed8174689abdc4370285e618e350f29f5aff9a09281900390910190a150505050565b820191906000526020600020905b8154815290600101906020018083116106cb57829003601f168201915b5050855460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959850879450925084019050828280156107765780601f1061074b57610100808354040283529160200191610776565b820191906000526020600020905b81548152906001019060200180831161075957829003601f168201915b505050505091509350935093509350919350919356
Deployed Bytecode
0x606060405260e060020a60003504632fd2e742811461003f578063329ce29e14610079578063678d975814610092578063a97cc11414610149575b610002565b34610002576101f6600435600160208190526000918252604090912080546003820154600160a060020a0391909116928201916002019084565b61031260043560006000610f818311156103f857610002565b346100025760408051602060248035600481810135601f81018590048502860185019096528585526103129581359591946044949293909201918190840183828082843750506040805160209735808a0135601f81018a90048a0283018a019093528282529698976064979196506024919091019450909250829150840183828082843750949650509335935050505060008481526001602052604090205433600160a060020a0390811691161461052e57610002565b3461000257604080516020818101835260008083528351808301855281815260043580835260018085528684208054600382015482840180548b516002610100978316159790970260001901909116869004601f81018b90048b0282018b01909c528b81526103149b969a98998a97600160a060020a03909516969295929092019390918591908301828280156106e85780601f106106bd576101008083540402835291602001916106e8565b60408051600160a060020a038616815260608101839052608060208201818152865460026001821615610100026000190190911604918301829052919283019060a08401908790801561028a5780601f1061025f5761010080835404028352916020019161028a565b820191906000526020600020905b81548152906001019060200180831161026d57829003601f168201915b5050838103825285546002600182161561010002600019019091160480825260209190910190869080156102ff5780601f106102d4576101008083540402835291602001916102ff565b820191906000526020600020905b8154815290600101906020018083116102e257829003601f168201915b5050965050505050505060405180910390f35b005b6040518085600160a060020a0316815260200180602001806020018481526020018381038352868181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f16801561038d5780820380516001836020036101000a031916815260200191505b508381038252858181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f1680156103e65780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390f35b6000838152600160205260409020805460039190910154925033600160a060020a039081169116141561042a57610002565b600083815260016020526040812054600160a060020a03161415610465575050600054671bc16d674ec8000090600160a060020a031661047f565b50600082815260016020526040902054600160a060020a03165b816000141561048d57610002565b34821461049957610002565b604051600160a060020a0382169083156108fc029084906000818181858888f193505050501561003a576000838152600160209081526040808320805473ffffffffffffffffffffffffffffffffffffffff19163317815560030192909255815185815291517fb497d17d9ddaf07c831248da6ed8174689abdc4370285e618e350f29f5aff9a09281900390910190a1505050565b600084815260016020818152604083208651908301805481865294839020909460029481161561010002600019011693909304601f90810183900484019391928801908390106105a157805160ff19168380011785555b506105d19291505b80821115610638576000815560010161058d565b82800160010185558215610585579182015b828111156105855782518260005055916020019190600101906105b3565b50506000848152600160208181526040832085516002918201805481875295849020909594851615610100026000190190941691909104601f908101839004840193919287019083901061063c57805160ff19168380011785555b5061066c92915061058d565b5090565b8280016001018555821561062c579182015b8281111561062c57825182600050559160200191906001019061064e565b5050600084815260016020908152604091829020600301839055815186815291517fb497d17d9ddaf07c831248da6ed8174689abdc4370285e618e350f29f5aff9a09281900390910190a150505050565b820191906000526020600020905b8154815290600101906020018083116106cb57829003601f168201915b5050855460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959850879450925084019050828280156107765780601f1061074b57610100808354040283529160200191610776565b820191906000526020600020905b81548152906001019060200180831161075957829003601f168201915b505050505091509350935093509350919350919356
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
AVAX | 100.00% | $26.55 | 0.35 | $9.29 |
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.