Abstract Testnet

Contract

0x487C44911853d915A0385FF71cb23C17A02FdFd2

Overview

ETH Balance

0.00045 ETH

Token Holdings

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Paint Pixels58674682025-02-06 10:12:478 hrs ago1738836767IN
0x487C4491...7A02FdFd2
0.00009 ETH0.000033950.025
Paint Pixels58315942025-02-05 19:04:0623 hrs ago1738782246IN
0x487C4491...7A02FdFd2
0.00009 ETH0.000003360.025
Paint Pixels58287802025-02-05 18:14:2424 hrs ago1738779264IN
0x487C4491...7A02FdFd2
0.00009 ETH0.000002230.025
Paint Pixels58287702025-02-05 18:14:1224 hrs ago1738779252IN
0x487C4491...7A02FdFd2
0.00009 ETH0.000002230.025
Paint Pixels58286622025-02-05 18:12:0524 hrs ago1738779125IN
0x487C4491...7A02FdFd2
0.00009 ETH0.00000330.025
Paint Pixels58286222025-02-05 18:11:1424 hrs ago1738779074IN
0x487C4491...7A02FdFd2
0 ETH0.000002820.025
Withdraw Fees58282132025-02-05 18:03:2824 hrs ago1738778608IN
0x487C4491...7A02FdFd2
0 ETH0.000002180.025
Paint Pixels58279892025-02-05 17:59:1724 hrs ago1738778357IN
0x487C4491...7A02FdFd2
0.00009 ETH0.000003850.025
Paint Pixels58279212025-02-05 17:57:5824 hrs ago1738778278IN
0x487C4491...7A02FdFd2
0 ETH0.000002110.025
Paint Pixels58278702025-02-05 17:57:0224 hrs ago1738778222IN
0x487C4491...7A02FdFd2
0 ETH0.000003160.025
Paint Pixels58273982025-02-05 17:47:4824 hrs ago1738777668IN
0x487C4491...7A02FdFd2
0 ETH0.000002120.025
Paint Pixels58273772025-02-05 17:47:2624 hrs ago1738777646IN
0x487C4491...7A02FdFd2
0 ETH0.000003990.025
Paint Pixels58272912025-02-05 17:45:4324 hrs ago1738777543IN
0x487C4491...7A02FdFd2
0.00009 ETH0.000002410.025
Paint Pixels58272652025-02-05 17:45:0824 hrs ago1738777508IN
0x487C4491...7A02FdFd2
0.00009 ETH0.000002320.025
Paint Pixels58272442025-02-05 17:44:4324 hrs ago1738777483IN
0x487C4491...7A02FdFd2
0.00009 ETH0.000002230.025
Paint Pixels58272152025-02-05 17:44:0925 hrs ago1738777449IN
0x487C4491...7A02FdFd2
0.00009 ETH0.000005260.025
Paint Pixels58040502025-02-05 9:35:1733 hrs ago1738748117IN
0x487C4491...7A02FdFd2
0.00009 ETH0.00000230.025
Paint Pixels58040232025-02-05 9:34:5033 hrs ago1738748090IN
0x487C4491...7A02FdFd2
0 ETH0.000002120.025
Paint Pixels58036332025-02-05 9:27:1633 hrs ago1738747636IN
0x487C4491...7A02FdFd2
0 ETH0.000003680.025
Paint Pixels58035432025-02-05 9:25:4233 hrs ago1738747542IN
0x487C4491...7A02FdFd2
0.00009 ETH0.000002230.025
Paint Pixels58033402025-02-05 9:21:5233 hrs ago1738747312IN
0x487C4491...7A02FdFd2
0.00009 ETH0.000004740.025
Paint Pixels58019692025-02-05 8:55:5733 hrs ago1738745757IN
0x487C4491...7A02FdFd2
0.00009 ETH0.000004240.025
Paint Pixels57178092025-02-04 0:27:122 days ago1738628832IN
0x487C4491...7A02FdFd2
0.00003 ETH0.000002230.025
Paint Pixels57178032025-02-04 0:27:032 days ago1738628823IN
0x487C4491...7A02FdFd2
0.00009 ETH0.000002890.025

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
58674682025-02-06 10:12:478 hrs ago1738836767
0x487C4491...7A02FdFd2
0 ETH
58674682025-02-06 10:12:478 hrs ago1738836767
0x487C4491...7A02FdFd2
0 ETH
58674682025-02-06 10:12:478 hrs ago1738836767
0x487C4491...7A02FdFd2
0 ETH
58674682025-02-06 10:12:478 hrs ago1738836767
0x487C4491...7A02FdFd2
0 ETH
58674682025-02-06 10:12:478 hrs ago1738836767
0x487C4491...7A02FdFd2
0.00009 ETH
58315942025-02-05 19:04:0623 hrs ago1738782246
0x487C4491...7A02FdFd2
0 ETH
58315942025-02-05 19:04:0623 hrs ago1738782246
0x487C4491...7A02FdFd2
0 ETH
58315942025-02-05 19:04:0623 hrs ago1738782246
0x487C4491...7A02FdFd2
0 ETH
58315942025-02-05 19:04:0623 hrs ago1738782246
0x487C4491...7A02FdFd2
0 ETH
58315942025-02-05 19:04:0623 hrs ago1738782246
0x487C4491...7A02FdFd2
0.00009 ETH
58287802025-02-05 18:14:2424 hrs ago1738779264
0x487C4491...7A02FdFd2
0 ETH
58287802025-02-05 18:14:2424 hrs ago1738779264
0x487C4491...7A02FdFd2
0 ETH
58287802025-02-05 18:14:2424 hrs ago1738779264
0x487C4491...7A02FdFd2
0 ETH
58287802025-02-05 18:14:2424 hrs ago1738779264
0x487C4491...7A02FdFd2
0 ETH
58287802025-02-05 18:14:2424 hrs ago1738779264
0x487C4491...7A02FdFd2
0.00009 ETH
58287702025-02-05 18:14:1224 hrs ago1738779252
0x487C4491...7A02FdFd2
0 ETH
58287702025-02-05 18:14:1224 hrs ago1738779252
0x487C4491...7A02FdFd2
0 ETH
58287702025-02-05 18:14:1224 hrs ago1738779252
0x487C4491...7A02FdFd2
0 ETH
58287702025-02-05 18:14:1224 hrs ago1738779252
0x487C4491...7A02FdFd2
0 ETH
58287702025-02-05 18:14:1224 hrs ago1738779252
0x487C4491...7A02FdFd2
0.00009 ETH
58286622025-02-05 18:12:0524 hrs ago1738779125
0x487C4491...7A02FdFd2
0 ETH
58286622025-02-05 18:12:0524 hrs ago1738779125
0x487C4491...7A02FdFd2
0 ETH
58286622025-02-05 18:12:0524 hrs ago1738779125
0x487C4491...7A02FdFd2
0 ETH
58286622025-02-05 18:12:0524 hrs ago1738779125
0x487C4491...7A02FdFd2
0 ETH
58286622025-02-05 18:12:0524 hrs ago1738779125
0x487C4491...7A02FdFd2
0.00009 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PixelPainting

Compiler Version
v0.8.24+commit.e11b9ed9

ZkSolc Version
v1.5.7

Optimization Enabled:
Yes with Mode 3

Other Settings:
paris EvmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 1 : PixelPainting.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

contract PixelPainting {
    address public constant FEE_RECIPIENT = 0x5255eF6956a77143D3F18978555c6cdCd4F2aA0A;
    uint256 public constant FIXED_FEE_PER_PIXEL = 30000000000000; // 0.00003 ETH per pixel
    
    event PixelsPainted(
        address indexed user,
        bytes32 pixelsHash,
        uint256 timestamp,
        bytes32 transactionId
    );

    function paintPixels(bytes32 pixelsHash, uint256 numPixels) external payable {
        // If sender is fee recipient, no payment required
        if (msg.sender != FEE_RECIPIENT) {
            require(msg.value == FIXED_FEE_PER_PIXEL * numPixels, "Must send exactly 0.00003 ETH per pixel");
        }
        
        bytes32 transactionId = keccak256(
            abi.encodePacked(
                msg.sender,
                pixelsHash,
                block.timestamp,
                block.number
            )
        );

        emit PixelsPainted(
            msg.sender,
            pixelsHash,
            block.timestamp,
            transactionId
        );
    }

    function withdrawFees() external {
        require(msg.sender == FEE_RECIPIENT, "Only fee recipient can withdraw");
        uint256 balance = address(this).balance;
        require(balance > 0, "No fees to withdraw");
        
        (bool success, ) = payable(FEE_RECIPIENT).call{value: balance}("");
        require(success, "Withdrawal failed");
    }
}

Settings
{
  "evmVersion": "paris",
  "optimizer": {
    "enabled": true,
    "mode": "3"
  },
  "outputSelection": {
    "*": {
      "*": [
        "abi",
        "metadata"
      ],
      "": [
        "ast"
      ]
    }
  },
  "detectMissingLibraries": false,
  "forceEVMLA": false,
  "enableEraVMExtensions": false,
  "libraries": {}
}

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"bytes32","name":"pixelsHash","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"transactionId","type":"bytes32"}],"name":"PixelsPainted","type":"event"},{"inputs":[],"name":"FEE_RECIPIENT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FIXED_FEE_PER_PIXEL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"pixelsHash","type":"bytes32"},{"internalType":"uint256","name":"numPixels","type":"uint256"}],"name":"paintPixels","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdrawFees","outputs":[],"stateMutability":"nonpayable","type":"function"}]

9c4d535b000000000000000000000000000000000000000000000000000000000000000001000069d0bd0849dc583e4d2fc47d2d02594c18d30974471238c0dc66572dc600000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x00020000000000020000008003000039000000400030043f0000000100200190000000600000c13d00000060021002700000004502200197000000040020008c000000970000413d000000000301043b000000e003300270000000470030009c000000680000213d0000004a0030009c000000730000613d0000004b0030009c000000970000c13d000000440020008c000000970000413d0000000402100370000000000502043b00000000040004110000004c0040009c000000210000613d0000002401100370000000000201043b0000004e012000d10000004e0310012a000000000032004b000000a40000c13d0000000002000416000000000012004b000000aa0000c13d0000006001400210000000a00010043f000200000005001d000000b40050043f000000550100004100000000001004430000000001000414000000450010009c0000004501008041000000c00110021000000056011001c70000800b02000039010e01090000040f0000000100200190000000990000613d000000000101043b000100000001001d000000d40010043f000000570100004100000000001004430000000001000414000000450010009c0000004501008041000000c00110021000000056011001c70000800b02000039010e01090000040f0000000100200190000000990000613d000000000101043b000000f40010043f0000007401000039000000800010043f0000012001000039000000400010043f0000000001000414000000450010009c0000004501008041000000c00110021000000058011001c70000801002000039010e01090000040f0000000100200190000000970000613d000000000101043b0000000202000029000001200020043f0000000102000029000001400020043f000001600010043f0000000001000414000000450010009c0000004501008041000000c00110021000000059011001c70000800d0200003900000002030000390000005a040000410000000005000411010e01040000040f0000000100200190000000970000613d000000c40000013d0000000001000416000000000001004b000000970000c13d00000020010000390000010000100443000001200000044300000046010000410000010f0001042e000000480030009c000000900000613d000000490030009c000000970000c13d0000000001000416000000000001004b000000970000c13d0000004c01000041000000800010043f0000004d010000410000010f0001042e0000000001000416000000000001004b000000970000c13d00000000010004110000004c0010009c0000009a0000c13d0000005d010000410000000000100443000000000100041000000004001004430000000001000414000000450010009c0000004501008041000000c0011002100000005e011001c70000800a02000039010e01090000040f0000000100200190000000990000613d000000000301043b000000000003004b000000b60000c13d000000400100043d00000044021000390000006603000041000000000032043500000024021000390000001303000039000000f20000013d0000000001000416000000000001004b000000970000c13d0000004e01000041000000800010043f0000004d010000410000010f0001042e00000000010000190000011000010430000000000001042f0000005101000041000000800010043f0000002001000039000000840010043f0000001f01000039000000a40010043f0000005b01000041000000c40010043f0000005c0100004100000110000104300000004f01000041000000000010043f0000001101000039000000040010043f000000500100004100000110000104300000005101000041000000800010043f0000002001000039000000840010043f0000002701000039000000a40010043f0000005201000041000000c40010043f0000005301000041000000e40010043f000000540100004100000110000104300000000001000414000000450010009c0000004501008041000000c0011002100000005f011001c700008009020000390000004c040000410000000005000019010e01040000040f00000060031002700000004503300198000000c60000c13d0000000100200190000000ec0000613d00000000010000190000010f0001042e0000001f0430003900000060044001970000003f044000390000006104400197000000400500043d0000000004450019000000000054004b00000000060000390000000106004039000000620040009c000000fd0000213d0000000100600190000000fd0000c13d000000400040043f0000001f0430018f000000000635043600000063053001980000000003560019000000de0000613d000000000701034f000000007807043c0000000006860436000000000036004b000000da0000c13d000000000004004b000000c20000613d000000000151034f0000000304400210000000000503043300000000054501cf000000000545022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f0000000000130435000000c20000013d000000400100043d00000044021000390000006403000041000000000032043500000024021000390000001103000039000000000032043500000051020000410000000000210435000000040210003900000020030000390000000000320435000000450010009c0000004501008041000000400110021000000065011001c700000110000104300000004f01000041000000000010043f0000004101000039000000040010043f00000050010000410000011000010430000000000001042f00000107002104210000000102000039000000000001042d0000000002000019000000000001042d0000010c002104230000000102000039000000000001042d0000000002000019000000000001042d0000010e000004320000010f0001042e000001100001043000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff000000020000000000000000000000000000004000000100000000000000000000000000000000000000000000000000000000000000000000000000c2d0f03800000000000000000000000000000000000000000000000000000000c2d0f03900000000000000000000000000000000000000000000000000000000ebd0905400000000000000000000000000000000000000000000000000000000476343ee00000000000000000000000000000000000000000000000000000000570ee44c0000000000000000000000005255ef6956a77143d3f18978555c6cdcd4f2aa0a000000000000000000000000000000000000002000000080000000000000000000000000000000000000000000000000000000000000000000001b48eb57e0004e487b7100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002400000000000000000000000008c379a0000000000000000000000000000000000000000000000000000000004d7573742073656e642065786163746c7920302e3030303033204554482070657220706978656c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084000000800000000000000000796b89b91644bc98cd93958e4c9038275d622183e25ac5af08cc6b5d95539132020000020000000000000000000000000000000400000000000000000000000042cbb15ccdc3cad6266b0e7a08c0454b23bf29dc2df74b6f3c209e9336465bd10200000000000000000000000000000000000074000000a000000000000000000200000000000000000000000000000000000060000001200000000000000000f8cc0e0e04d3f7839c9b20b27090f01fda591ebd44d4c0b470a01e0ffcb0464e4f6e6c792066656520726563697069656e742063616e2077697468647261770000000000000000000000000000000000000000640000008000000000000000009cc7f708afc65944829bd487b90b72536b1951864fbfc14e125fc972a6507f390200000200000000000000000000000000000024000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001ffffffe000000000000000000000000000000000000000000000000000000003ffffffe0000000000000000000000000000000000000000000000000ffffffffffffffff00000000000000000000000000000000000000000000000000000000ffffffe05769746864726177616c206661696c656400000000000000000000000000000000000000000000000000000000000000000000640000000000000000000000004e6f206665657320746f207769746864726177000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b9213ce03b6bf563e303505157f045782f6291e427cbd2a99eeaf33706c5f510

Block Transaction 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
[ 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.