Source Code
Overview
SOPH Balance
0 SOPH
More Info
ContractCreator
Multichain Info
N/A
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
52546 | 68 days ago | Contract Creation | 0 SOPH |
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Source Code Verified (Exact Match)
Contract Name:
Counter
Compiler Version
v0.8.26+commit.8a97fa7a
ZkSolc Version
v1.5.3
Optimization Enabled:
Yes with 200 runs
Other Settings:
cancun EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.13; contract Counter { uint256 public number; function setNumber(uint256 newNumber) public { number = newNumber; } function increment() public { number++; } function increment2() public { number++; } }
{ "viaIR": false, "remappings": [ "forge-std/=lib/forge-std/src/" ], "evmVersion": "cancun", "outputSelection": { "*": { "*": [ "abi" ] } }, "optimizer": { "enabled": true, "mode": "3", "fallback_to_optimizing_for_size": false, "disable_system_request_memoization": true }, "metadata": {}, "libraries": {}, "detectMissingLibraries": false, "enableEraVMExtensions": false, "forceEVMLA": false }
[{"inputs":[],"name":"increment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"increment2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"number","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
9c4d535b00000000000000000000000000000000000000000000000000000000000000000100001b1dc9c058f48e0255bca1d0195bf4ca98272158ad8dc4751c26db597e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x0000008003000039000000400030043f0000000100200190000000180000c13d000000000201001900000060022002700000001002200197000000040020008c0000003a0000413d000000000301043b000000e003300270000000120030009c000000200000213d000000150030009c000000300000613d000000160030009c0000003a0000c13d0000000001000416000000000001004b0000003a0000c13d000000000100041a000000800010043f00000019010000410000003d0001042e0000000001000416000000000001004b0000003a0000c13d00000020010000390000010000100443000001200000044300000011010000410000003d0001042e000000130030009c000000240000613d000000140030009c0000003a0000c13d0000000001000416000000000001004b0000003a0000c13d000000000100041a000000010110003a000000370000c13d0000001701000041000000000010043f0000001101000039000000040010043f00000018010000410000003e00010430000000240020008c0000003a0000413d0000000002000416000000000002004b0000003a0000c13d0000000401100370000000000101043b000000000010041b00000000010000190000003d0001042e00000000010000190000003e000104300000003c000004320000003d0001042e0000003e00010430000000000000000000000000000000000000000000000000000000000000000000000000ffffffff000000020000000000000000000000000000004000000100000000000000000000000000000000000000000000000000000000000000000000000000ab57b12700000000000000000000000000000000000000000000000000000000ab57b12800000000000000000000000000000000000000000000000000000000d09de08a000000000000000000000000000000000000000000000000000000003fb5c1cb000000000000000000000000000000000000000000000000000000008381f58a4e487b710000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000240000000000000000000000000000000000000000000000000000000000000020000000800000000000000000dbeda6cd5dd17aeb5a02059edeffe9ea1caef01178ad14cf5742826722cb5916
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.