ETH Price: $2,893.19 (-1.02%)
 

Overview

ETH Balance

Scroll LogoScroll LogoScroll Logo0 ETH

ETH Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Get61241372024-05-30 13:16:02606 days ago1717074962IN
0xc2E2AF2c...3703c5939
0 ETH0.000012630.35634085
Get61170072024-05-30 7:19:32606 days ago1717053572IN
0xc2E2AF2c...3703c5939
0 ETH0.00001790.35541659
Get60909702024-05-29 9:35:35607 days ago1716975335IN
0xc2E2AF2c...3703c5939
0 ETH0.000010790.32808781
Get60847492024-05-29 4:24:32607 days ago1716956672IN
0xc2E2AF2c...3703c5939
0 ETH0.000010840.35020023
Get60632842024-05-28 10:31:14608 days ago1716892274IN
0xc2E2AF2c...3703c5939
0 ETH0.000013410.36421764
Get60486722024-05-27 22:20:38608 days ago1716848438IN
0xc2E2AF2c...3703c5939
0 ETH0.000012470.38339759
Get60225062024-05-27 0:31:59609 days ago1716769919IN
0xc2E2AF2c...3703c5939
0 ETH0.000009690.35753801
Get59995712024-05-26 5:25:14610 days ago1716701114IN
0xc2E2AF2c...3703c5939
0 ETH0.000005950.2
Get59995712024-05-26 5:25:14610 days ago1716701114IN
0xc2E2AF2c...3703c5939
0 ETH0.000005950.2
Get59995682024-05-26 5:25:05610 days ago1716701105IN
0xc2E2AF2c...3703c5939
0 ETH0.00000980.37876497
Get59925042024-05-25 23:31:53610 days ago1716679913IN
0xc2E2AF2c...3703c5939
0 ETH0.000009170.34881771
Get59812532024-05-25 14:09:07611 days ago1716646147IN
0xc2E2AF2c...3703c5939
0 ETH0.000018170.38481972
Get59728152024-05-25 7:07:07611 days ago1716620827IN
0xc2E2AF2c...3703c5939
0 ETH0.000005830.206
Get59645362024-05-25 0:13:07611 days ago1716595987IN
0xc2E2AF2c...3703c5939
0 ETH0.000007610.206

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 0x8274849A...35D99B72d
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
RandomBoolean

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at scrollscan.com on 2024-03-09
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract RandomBoolean {
    bool public luck;

    function get() public {
        luck = ((uint(keccak256(abi.encodePacked(block.timestamp))) % 2) == 1);
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"name":"get","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"luck","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

0x608060405234801561000f575f80fd5b506101ca8061001d5f395ff3fe608060405234801561000f575f80fd5b5060043610610034575f3560e01c80635d1c3171146100385780636d4ce63c14610056575b5f80fd5b610040610060565b60405161004d91906100db565b60405180910390f35b61005e610070565b005b5f8054906101000a900460ff1681565b6001600242604051602001610085919061011d565b604051602081830303815290604052805190602001205f1c6100a79190610164565b145f806101000a81548160ff021916908315150217905550565b5f8115159050919050565b6100d5816100c1565b82525050565b5f6020820190506100ee5f8301846100cc565b92915050565b5f819050919050565b5f819050919050565b610117610112826100f4565b6100fd565b82525050565b5f6101288284610106565b60208201915081905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61016e826100f4565b9150610179836100f4565b92508261018957610188610137565b5b82820690509291505056fea26469706673582212204ee99434b80d995514653681e764b2a573ea44c4cdcd7709de6e2c1ec8e140a264736f6c63430008180033

Deployed Bytecode

0x608060405234801561000f575f80fd5b5060043610610034575f3560e01c80635d1c3171146100385780636d4ce63c14610056575b5f80fd5b610040610060565b60405161004d91906100db565b60405180910390f35b61005e610070565b005b5f8054906101000a900460ff1681565b6001600242604051602001610085919061011d565b604051602081830303815290604052805190602001205f1c6100a79190610164565b145f806101000a81548160ff021916908315150217905550565b5f8115159050919050565b6100d5816100c1565b82525050565b5f6020820190506100ee5f8301846100cc565b92915050565b5f819050919050565b5f819050919050565b610117610112826100f4565b6100fd565b82525050565b5f6101288284610106565b60208201915081905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61016e826100f4565b9150610179836100f4565b92508261018957610188610137565b5b82820690509291505056fea26469706673582212204ee99434b80d995514653681e764b2a573ea44c4cdcd7709de6e2c1ec8e140a264736f6c63430008180033

Deployed Bytecode Sourcemap

60:169:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90:16;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;115:111;;;:::i;:::-;;90:16;;;;;;;;;;;;:::o;115:111::-;216:1;210;189:15;172:33;;;;;;;;:::i;:::-;;;;;;;;;;;;;162:44;;;;;;157:50;;:54;;;;:::i;:::-;156:61;148:4;;:70;;;;;;;;;;;;;;;;;;115:111::o;7:90:1:-;41:7;84:5;77:13;70:21;59:32;;7:90;;;:::o;103:109::-;184:21;199:5;184:21;:::i;:::-;179:3;172:34;103:109;;:::o;218:210::-;305:4;343:2;332:9;328:18;320:26;;356:65;418:1;407:9;403:17;394:6;356:65;:::i;:::-;218:210;;;;:::o;434:77::-;471:7;500:5;489:16;;434:77;;;:::o;517:79::-;556:7;585:5;574:16;;517:79;;;:::o;602:157::-;707:45;727:24;745:5;727:24;:::i;:::-;707:45;:::i;:::-;702:3;695:58;602:157;;:::o;765:256::-;877:3;892:75;963:3;954:6;892:75;:::i;:::-;992:2;987:3;983:12;976:19;;1012:3;1005:10;;765:256;;;;:::o;1027:180::-;1075:77;1072:1;1065:88;1172:4;1169:1;1162:15;1196:4;1193:1;1186:15;1213:176;1245:1;1262:20;1280:1;1262:20;:::i;:::-;1257:25;;1296:20;1314:1;1296:20;:::i;:::-;1291:25;;1335:1;1325:35;;1340:18;;:::i;:::-;1325:35;1381:1;1378;1374:9;1369:14;;1213:176;;;;:::o

Swarm Source

ipfs://4ee99434b80d995514653681e764b2a573ea44c4cdcd7709de6e2c1ec8e140a2

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.