Source Code
Overview
ETH Balance
ETH Value
$0.00Latest 14 from a total of 14 transactions
| Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Get | 6124137 | 606 days ago | IN | 0 ETH | 0.00001263 | ||||
| Get | 6117007 | 606 days ago | IN | 0 ETH | 0.0000179 | ||||
| Get | 6090970 | 607 days ago | IN | 0 ETH | 0.00001079 | ||||
| Get | 6084749 | 607 days ago | IN | 0 ETH | 0.00001084 | ||||
| Get | 6063284 | 608 days ago | IN | 0 ETH | 0.00001341 | ||||
| Get | 6048672 | 608 days ago | IN | 0 ETH | 0.00001247 | ||||
| Get | 6022506 | 609 days ago | IN | 0 ETH | 0.00000969 | ||||
| Get | 5999571 | 610 days ago | IN | 0 ETH | 0.00000595 | ||||
| Get | 5999571 | 610 days ago | IN | 0 ETH | 0.00000595 | ||||
| Get | 5999568 | 610 days ago | IN | 0 ETH | 0.0000098 | ||||
| Get | 5992504 | 610 days ago | IN | 0 ETH | 0.00000917 | ||||
| Get | 5981253 | 611 days ago | IN | 0 ETH | 0.00001817 | ||||
| Get | 5972815 | 611 days ago | IN | 0 ETH | 0.00000583 | ||||
| Get | 5964536 | 611 days ago | IN | 0 ETH | 0.00000761 |
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
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
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"name":"get","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"luck","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]Contract Creation Code
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
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.