Source Code
Overview
SOPH Balance
More Info
ContractCreator
Multichain Info
N/A
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
759115 | 10 days ago | Contract Creation | 0 SOPH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Counter
Compiler Version
v0.8.24+commit.e11b9ed9
ZkSolc Version
v1.5.11
Optimization Enabled:
Yes with Mode 3
Other Settings:
paris 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 do_nothing() public {} function increment() public { number++; } }
{ "viaIR": false, "codegen": "yul", "remappings": [ "forge-std/=lib/forge-std/src/", "forge-zksync-std/=lib/forge-zksync-std/src/" ], "evmVersion": "paris", "outputSelection": { "*": { "*": [ "abi" ] } }, "optimizer": { "enabled": true, "mode": "3", "fallback_to_optimizing_for_size": false, "disable_system_request_memoization": true }, "metadata": {}, "libraries": {}, "enableEraVMExtensions": false, "forceEVMLA": false }
Contract ABI
API[{"inputs":[],"name":"do_nothing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"increment","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
9c4d535b00000000000000000000000000000000000000000000000000000000000000000100001d0b52e8375169298d62c492522b3d1c35af36996ad24fe4c73b3060e400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x0000008003000039000000400030043f0000000100200190000000180000c13d00000060021002700000001102200197000000040020008c0000003c0000413d000000000301043b000000e003300270000000130030009c000000200000213d000000160030009c000000300000613d000000170030009c0000003c0000c13d000000240020008c0000003c0000413d0000000002000416000000000002004b0000003c0000c13d0000000401100370000000000101043b0000003e0000013d0000000001000416000000000001004b0000003c0000c13d0000002001000039000001000010044300000120000004430000001201000041000000420001042e000000140030009c000000350000613d000000150030009c0000003c0000c13d0000000001000416000000000001004b0000003c0000c13d000000000100041a000000010110003a0000003e0000c13d0000001801000041000000000010043f0000001101000039000000040010043f000000190100004100000043000104300000000001000416000000000001004b0000003c0000c13d0000000001000019000000420001042e0000000001000416000000000001004b0000003c0000c13d000000000100041a000000800010043f0000001a01000041000000420001042e00000000010000190000004300010430000000000010041b0000000001000019000000420001042e0000004100000432000000420001042e000000430001043000000000000000000000000000000000000000000000000000000000ffffffff0000000200000000000000000000000000000040000001000000000000000000000000000000000000000000000000000000000000000000000000008381f589000000000000000000000000000000000000000000000000000000008381f58a00000000000000000000000000000000000000000000000000000000d09de08a00000000000000000000000000000000000000000000000000000000321f0013000000000000000000000000000000000000000000000000000000003fb5c1cb4e487b7100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002400000000000000000000000000000000000000000000000000000000000000200000008000000000000000000000000000000000000000000000000000000000000000000000000000000000c87461a8042c49b9b3e3e9ad5414cfd8f46d5de11dec27dbd7d7da8b8ce0d8d0
Loading...
Loading
Loading...
Loading
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.