Source Code
Overview
ETH Balance
0 ETH
More Info
ContractCreator
Multichain Info
N/A
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Latest 1 internal transaction
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
4169560 | 5 days ago | Contract Creation | 0 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)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.24; contract Counter { uint256 public number22; function setNumber(uint256 newNumber) public { number22 = newNumber; } function increment() public { number22++; } function decrement() public { number22--; } }
{ "viaIR": false, "codegen": "yul", "remappings": [ "forge-std/=lib/forge-std/src/" ], "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 }
[{"inputs":[],"name":"decrement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"increment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"number22","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNumber","type":"uint256"}],"name":"setNumber","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
9c4d535b00000000000000000000000000000000000000000000000000000000000000000100001f39b2f4f2534dd00a60eff6669c516a409d5832634b5bfecfa236bdb900000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x0000008003000039000000400030043f0000000100200190000000170000c13d00000060021002700000001302200197000000040020008c000000400000413d000000000301043b000000e003300270000000150030009c0000001f0000213d000000180030009c0000002a0000613d000000190030009c000000400000c13d0000000001000416000000000001004b000000400000c13d000000000100041a000000800010043f0000001a01000041000000470001042e0000000001000416000000000001004b000000400000c13d0000002001000039000001000010044300000120000004430000001401000041000000470001042e000000160030009c000000360000613d000000170030009c000000400000c13d0000000001000416000000000001004b000000400000c13d000000000100041a000000010110003a000000300000613d0000003d0000013d0000000001000416000000000001004b000000400000c13d000000000100041a000000000001004b000000420000c13d0000001b01000041000000000010043f0000001101000039000000040010043f0000001c010000410000004800010430000000240020008c000000400000413d0000000002000416000000000002004b000000400000c13d0000000401100370000000000101043b000000000010041b0000000001000019000000470001042e00000000010000190000004800010430000000010110008a000000000010041b0000000001000019000000470001042e0000004600000432000000470001042e000000480001043000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff0000000200000000000000000000000000000040000001000000000000000000000000000000000000000000000000000000000000000000000000003fb5c1ca000000000000000000000000000000000000000000000000000000003fb5c1cb00000000000000000000000000000000000000000000000000000000d09de08a000000000000000000000000000000000000000000000000000000002baeceb7000000000000000000000000000000000000000000000000000000003e2c5f7800000000000000000000000000000000000000200000008000000000000000004e487b710000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000240000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d1e95c3d35e4e3c418a031142bd5ed396d374209f0adf912144f7f332ce650ec
Loading...
Loading
Loading...
Loading
[ 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.