Source Code
Overview
ETH Balance
ETH Value
$0.00Latest 1 from a total of 1 transactions
| Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Record | 9131818 | 504 days ago | IN | 0 ETH | 0.00000148 |
Cross-Chain Transactions
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xd8Eae841...d8e653737 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
OddOrEven
Compiler Version
v0.8.24+commit.e11b9ed9
Contract Source Code (Solidity)
/**
*Submitted for verification at scrollscan.com on 2024-03-09
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract OddOrEven {
uint256 private recentBlockRecord;
function record() public {
recentBlockRecord = block.number % 2;
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"name":"record","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
0x608060405234801561000f575f80fd5b5060d98061001c5f395ff3fe6080604052348015600e575f80fd5b50600436106026575f3560e01c8063266cf10914602a575b5f80fd5b60306032565b005b600243603d9190607a565b5f81905550565b5f819050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6082826044565b9150608b836044565b9250826098576097604d565b5b82820690509291505056fea264697066735822122043e5f3567dd679674b5b7bf87db968b31163801695b6558e522163c998a8062664736f6c63430008180033
Deployed Bytecode
0x6080604052348015600e575f80fd5b50600436106026575f3560e01c8063266cf10914602a575b5f80fd5b60306032565b005b600243603d9190607a565b5f81905550565b5f819050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6082826044565b9150608b836044565b9250826098576097604d565b5b82820690509291505056fea264697066735822122043e5f3567dd679674b5b7bf87db968b31163801695b6558e522163c998a8062664736f6c63430008180033
Deployed Bytecode Sourcemap
60:151:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;128:80;;;:::i;:::-;;;199:1;184:12;:16;;;;:::i;:::-;164:17;:36;;;;128:80::o;7:77:1:-;44:7;73:5;62:16;;7:77;;;:::o;90:180::-;138:77;135:1;128:88;235:4;232:1;225:15;259:4;256:1;249:15;276:176;308:1;325:20;343:1;325:20;:::i;:::-;320:25;;359:20;377:1;359:20;:::i;:::-;354:25;;398:1;388:35;;403:18;;:::i;:::-;388:35;444:1;441;437:9;432:14;;276:176;;;;:::o
Swarm Source
ipfs://43e5f3567dd679674b5b7bf87db968b31163801695b6558e522163c998a80626
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
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.