Abstract Testnet

Contract

0x47E91Aae1212637B5993Dadc6C596cf69d3c3F5a

Overview

ETH Balance

0 ETH

Multichain Info

N/A
Transaction Hash
Method
Block
From
To

There are no matching entries

1 Internal Transaction found.

Latest 1 internal transaction

Parent Transaction Hash Block From To
48073752025-01-21 14:15:3320 days ago1737468933  Contract Creation0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Counter

Compiler Version
v0.8.28+commit.7893614a

ZkSolc Version
v1.5.7

Optimization Enabled:
Yes with Mode 3

Other Settings:
cancun EvmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 1 : Counter.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.28;

contract Counter {
    error NumberAlreadyZero();

    uint256 private number;

    constructor() {
        number = 0;
    }

    function increment() public {
        number += 1;
    }

    function decrement() public {
        if (number == 0) {
            revert NumberAlreadyZero();
        }
        number -= 1;
    }
}

Settings
{
  "viaIR": false,
  "codegen": "yul",
  "remappings": [
    "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
    "@devops/=lib/foundry-devops/src/",
    "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
    "forge-std/=lib/forge-std/src/",
    "foundry-devops/=lib/foundry-devops/",
    "halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/"
  ],
  "evmVersion": "cancun",
  "outputSelection": {
    "*": {
      "*": [
        "abi",
        "metadata"
      ],
      "": [
        "ast"
      ]
    }
  },
  "optimizer": {
    "enabled": true,
    "mode": "3",
    "fallback_to_optimizing_for_size": false,
    "disable_system_request_memoization": true
  },
  "metadata": {},
  "libraries": {},
  "enableEraVMExtensions": false,
  "forceEVMLA": false
}

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"NumberAlreadyZero","type":"error"},{"inputs":[],"name":"decrement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"increment","outputs":[],"stateMutability":"nonpayable","type":"function"}]

9c4d535b0000000000000000000000000000000000000000000000000000000000000000010000172966d7bcdb247ed79b280ba4e12b4de07477b815e35ead13d9d7613100000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x0000008003000039000000400030043f0000000100200190000000160000c13d0000000e001001980000002b0000613d000000000101043b000000e0011002700000000f0010009c0000001f0000613d000000100010009c0000002b0000c13d0000000001000416000000000001004b0000002b0000c13d000000000100041a000000000001004b0000002d0000c13d0000001301000041000000000010043f000000140100004100000033000104300000000001000416000000000001004b0000002b0000c13d000000000000041b0000002001000039000001000010044300000120000004430000000d01000041000000320001042e0000000001000416000000000001004b0000002b0000c13d000000000100041a000000010110003a0000002e0000c13d0000001101000041000000000010043f0000001101000039000000040010043f0000001201000041000000330001043000000000010000190000003300010430000000010110008a000000000010041b0000000001000019000000320001042e0000003100000432000000320001042e0000003300010430000000020000000000000000000000000000004000000100000000000000000000000000000000000000000000000000fffffffc00000000000000000000000000000000000000000000000000000000000000000000000000000000d09de08a000000000000000000000000000000000000000000000000000000002baeceb74e487b7100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002400000000000000000000000029882dc400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cd6d680440bf7134f4aa77acbe132172fd70d4a7d2f89f57a7c6d069cbbf50c

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  ]

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.