Holesky Testnet

Contract

0x831222f2764C5Cb61E8F502c7DC67fd8FD944B1E

Overview

ETH Balance

0 ETH

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Attempt28390802024-11-29 17:24:129 days ago1732901052IN
0x831222f2...8FD944B1E
0 ETH0.0000010.04682831

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Contract

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, Unlicense license
/**
 *Submitted for verification at Etherscan.io on 2024-11-29
*/

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

contract Contract {
    event Winner(address);

    function attempt() external {
        require(msg.sender != tx.origin, "msg.sender is equal to tx.origin");
        emit Winner(msg.sender);
    }
}

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"}],"name":"Winner","type":"event"},{"inputs":[],"name":"attempt","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506101f1806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063732b7a8d14610030575b600080fd5b61003861003a565b005b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156100a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100a09061012f565b60405180910390fd5b7f745c90b656b4aafe296c8ca35aeacfe56cb96c90e1d320e5da643fff1051b6c0336040516100d89190610114565b60405180910390a1565b6100eb81610160565b82525050565b60006100fe60208361014f565b915061010982610192565b602082019050919050565b600060208201905061012960008301846100e2565b92915050565b60006020820190508181036000830152610148816100f1565b9050919050565b600082825260208201905092915050565b600061016b82610172565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b7f6d73672e73656e64657220697320657175616c20746f2074782e6f726967696e60008201525056fea2646970667358221220bc4299cd1cf299662ab30d148b1b29b2043e9e3f3ed8e887c79c09bf297a71cc64736f6c63430008040033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063732b7a8d14610030575b600080fd5b61003861003a565b005b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156100a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100a09061012f565b60405180910390fd5b7f745c90b656b4aafe296c8ca35aeacfe56cb96c90e1d320e5da643fff1051b6c0336040516100d89190610114565b60405180910390a1565b6100eb81610160565b82525050565b60006100fe60208361014f565b915061010982610192565b602082019050919050565b600060208201905061012960008301846100e2565b92915050565b60006020820190508181036000830152610148816100f1565b9050919050565b600082825260208201905092915050565b600061016b82610172565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b7f6d73672e73656e64657220697320657175616c20746f2074782e6f726967696e60008201525056fea2646970667358221220bc4299cd1cf299662ab30d148b1b29b2043e9e3f3ed8e887c79c09bf297a71cc64736f6c63430008040033

Deployed Bytecode Sourcemap

65:207:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;120:149;;;:::i;:::-;;;181:9;167:23;;:10;:23;;;;159:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;243:18;250:10;243:18;;;;;;:::i;:::-;;;;;;;;120:149::o;7:118:1:-;94:24;112:5;94:24;:::i;:::-;89:3;82:37;72:53;;:::o;131:366::-;273:3;294:67;358:2;353:3;294:67;:::i;:::-;287:74;;370:93;459:3;370:93;:::i;:::-;488:2;483:3;479:12;472:19;;277:220;;;:::o;503:222::-;596:4;634:2;623:9;619:18;611:26;;647:71;715:1;704:9;700:17;691:6;647:71;:::i;:::-;601:124;;;;:::o;731:419::-;897:4;935:2;924:9;920:18;912:26;;984:9;978:4;974:20;970:1;959:9;955:17;948:47;1012:131;1138:4;1012:131;:::i;:::-;1004:139;;902:248;;;:::o;1156:169::-;1240:11;1274:6;1269:3;1262:19;1314:4;1309:3;1305:14;1290:29;;1252:73;;;;:::o;1331:96::-;1368:7;1397:24;1415:5;1397:24;:::i;:::-;1386:35;;1376:51;;;:::o;1433:126::-;1470:7;1510:42;1503:5;1499:54;1488:65;;1478:81;;;:::o;1565:182::-;1705:34;1701:1;1693:6;1689:14;1682:58;1671:76;:::o

Swarm Source

ipfs://bc4299cd1cf299662ab30d148b1b29b2043e9e3f3ed8e887c79c09bf297a71cc

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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