ETH Price: $2,935.02 (-0.74%)

Contract

0xb0fDE1FfbEE94456603bea78EF7865e59A231661

Overview

ETH Balance

Linea Mainnet LogoLinea Mainnet LogoLinea Mainnet Logo0 ETH

ETH Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To
Increase Counter22606332024-02-14 8:40:42711 days ago1707900042IN
0xb0fDE1Ff...59A231661
0 ETH0.000077771.78403558

Advanced mode:
Parent Transaction Hash Block From To
View All Internal Transactions
Cross-Chain Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xAbc77cf7...52FC574eE
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.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at lineascan.build/ on 2024-02-13
*/

contract Counter {
    uint16 public x = 0;

    function increaseCounter() public{
     x += 1;
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"name":"increaseCounter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"x","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"}]

0x60806040526000805461ffff1916905534801561001b57600080fd5b5060fb8061002a6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c80630c55699c146037578063b49004e914605b575b600080fd5b60005460449061ffff1681565b60405161ffff909116815260200160405180910390f35b60616063565b005b60008054600191908190607a90849061ffff166096565b92506101000a81548161ffff021916908361ffff160217905550565b61ffff81811683821601908082111560be57634e487b7160e01b600052601160045260246000fd5b509291505056fea2646970667358221220666c87ec501268817295a4ca1fc6e3859faf241f38dd688f145135970920009264736f6c63430008120033

Deployed Bytecode

0x6080604052348015600f57600080fd5b506004361060325760003560e01c80630c55699c146037578063b49004e914605b575b600080fd5b60005460449061ffff1681565b60405161ffff909116815260200160405180910390f35b60616063565b005b60008054600191908190607a90849061ffff166096565b92506101000a81548161ffff021916908361ffff160217905550565b61ffff81811683821601908082111560be57634e487b7160e01b600052601160045260246000fd5b509291505056fea2646970667358221220666c87ec501268817295a4ca1fc6e3859faf241f38dd688f145135970920009264736f6c63430008120033

Deployed Bytecode Sourcemap

0:110:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24:19;;;;;;;;;;;;188:6:1;176:19;;;158:38;;146:2;131:18;24:19:0;;;;;;;52:55;;;:::i;:::-;;;93:1;:6;;98:1;;93;;;:6;;98:1;;93:6;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;52:55::o;207:265:1:-;274:6;300:10;;;312;;;296:27;;335:11;;;332:134;;;388:10;383:3;379:20;376:1;369:31;423:4;420:1;413:15;451:4;448:1;441:15;332:134;;207:265;;;;:::o

Swarm Source

ipfs://666c87ec501268817295a4ca1fc6e3859faf241f38dd688f1451359709200092

Block Transaction Gas Used Reward
view all blocks sequenced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.