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 | |||
---|---|---|---|---|---|---|
790302 | 5 days ago | Contract Creation | 0 SOPH |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x00508a42...8096915e6 The constructor portion of the code might be different and could alter the actual behaviour of the contract
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 juancito123() public { number = 123; } 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":"increment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"juancito123","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"}]
Deployed Bytecode
0x0000008003000039000000400030043f0000000100200190000000170000c13d00000060021002700000001202200197000000040020008c000000400000413d000000000301043b000000e003300270000000140030009c0000001f0000213d000000170030009c0000002f0000613d000000180030009c000000400000c13d0000000001000416000000000001004b000000400000c13d000000000100041a000000800010043f0000001b01000041000000430001042e0000000001000416000000000001004b000000400000c13d0000002001000039000001000010044300000120000004430000001301000041000000430001042e000000150030009c000000390000613d000000160030009c000000400000c13d0000000001000416000000000001004b000000400000c13d000000000100041a000000010110003a000000360000c13d0000001901000041000000000010043f0000001101000039000000040010043f0000001a010000410000004400010430000000240020008c000000400000413d0000000002000416000000000002004b000000400000c13d0000000401100370000000000101043b000000000010041b0000000001000019000000430001042e0000000001000416000000000001004b000000400000c13d0000007b01000039000000000010041b0000000001000019000000430001042e000000000100001900000044000104300000004200000432000000430001042e000000440001043000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff000000020000000000000000000000000000004000000100000000000000000000000000000000000000000000000000000000000000000000000000cb8087cb00000000000000000000000000000000000000000000000000000000cb8087cc00000000000000000000000000000000000000000000000000000000d09de08a000000000000000000000000000000000000000000000000000000003fb5c1cb000000000000000000000000000000000000000000000000000000008381f58a4e487b7100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002400000000000000000000000000000000000000000000000000000000000000200000008000000000000000001032c18d908ed992c5c773ddf74e9ad945404f099d69176f4825835486eb3ef2
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.