ETH Price: $2,629.74 (+6.55%)

Contract

0x45f59310ADD88E6d23ca58A0Fa7A55BEE6d2a611
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Write196466042024-04-13 12:18:59184 days ago1713010739IN
0x45f59310...EE6d2a611
0 ETH0.0002463310.31787584
Write195879562024-04-05 7:08:11192 days ago1712300891IN
0x45f59310...EE6d2a611
0 ETH0.0003363614.08866099
Write195261492024-03-27 14:09:35201 days ago1711548575IN
0x45f59310...EE6d2a611
0 ETH0.0013771657.65322089
Write140287622022-01-18 9:41:161000 days ago1642498876IN
0x45f59310...EE6d2a611
0 ETH0.0019711382.51929963
Write132373252021-09-16 14:32:351124 days ago1631802755IN
0x45f59310...EE6d2a611
0 ETH0.0022746395.22463987
Write124368922021-05-15 4:45:271248 days ago1621053927IN
0x45f59310...EE6d2a611
0 ETH0.0021020588
Write122649512021-04-18 15:43:531275 days ago1618760633IN
0x45f59310...EE6d2a611
0 ETH0.00291421122.00000145
0x60806040122648442021-04-18 15:19:321275 days ago1618759172IN
 Create: EventWriter
0 ETH0.01430159121

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

Contract Source Code Verified (Exact Match)

Contract Name:
EventWriter

Compiler Version
v0.8.3+commit.8d00100c

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license
/**
 *Submitted for verification at Etherscan.io on 2021-04-18
*/

// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.3;

/// @title Write data to Ethereum event log
/// @author Eknir
/// @notice You can use this contract to write 512 bits (64 bytes) of data to Ethereum, which is persisted in the Ethereum eventLog
/// The Ethereum address of the caller, as well as the timestamp is persisted in the Ethereum transaction log
contract EventWriter {

  event Written(bytes32[2] storedData);

  /// @notice write writes 512 bits of data to Ethereum, where it is persisted in the storage of this contract
  /// @dev data is array of bytes 32 with a lenght of 2, totalling 512 bits (64 bytes), which can represent anything (e.g. a sha3-512 hash).
  /// The result can be read by observing the event log, taking note of the caller and the timestamp.
  /// @param data to write to Ethereum event log
  function write(bytes32[2] calldata data) public {
    emit Written(data);
  }
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32[2]","name":"storedData","type":"bytes32[2]"}],"name":"Written","type":"event"},{"inputs":[{"internalType":"bytes32[2]","name":"data","type":"bytes32[2]"}],"name":"write","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5061012c806100206000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80639cef4ea114602d575b600080fd5b60436004803603810190603f9190609a565b6045565b005b7f4f97b36cff831f68ea317a3f2205989d9d8a581ef3220b8a88988ec8df65e62d816040516072919060ce565b60405180910390a150565b600081905082602060020282011115609457600080fd5b92915050565b60006040828403121560ab57600080fd5b600060b784828501607d565b91505092915050565b60ca6040838360e7565b5050565b600060408201905060e1600083018460c0565b92915050565b8281833760008383015250505056fea264697066735822122054753e0afaa31da2ae8fbd824cd622f642c303a97f43ccce7f1d30103ca8af4964736f6c63430008030033

Deployed Bytecode

0x6080604052348015600f57600080fd5b506004361060285760003560e01c80639cef4ea114602d575b600080fd5b60436004803603810190603f9190609a565b6045565b005b7f4f97b36cff831f68ea317a3f2205989d9d8a581ef3220b8a88988ec8df65e62d816040516072919060ce565b60405180910390a150565b600081905082602060020282011115609457600080fd5b92915050565b60006040828403121560ab57600080fd5b600060b784828501607d565b91505092915050565b60ca6040838360e7565b5050565b600060408201905060e1600083018460c0565b92915050565b8281833760008383015250505056fea264697066735822122054753e0afaa31da2ae8fbd824cd622f642c303a97f43ccce7f1d30103ca8af4964736f6c63430008030033

Deployed Bytecode Sourcemap

372:560:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;850:79;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;910:13;918:4;910:13;;;;;;:::i;:::-;;;;;;;;850:79;:::o;25:182:1:-;;127:6;115:18;;180:3;172:4;166;162:15;152:8;148:30;145:39;142:2;;;197:1;194;187:12;142:2;105:102;;;;:::o;213:312::-;;346:2;334:9;325:7;321:23;317:32;314:2;;;362:1;359;352:12;314:2;405:1;430:78;500:7;491:6;480:9;476:22;430:78;:::i;:::-;420:88;;376:142;304:221;;;;:::o;563:170::-;686:41;722:4;717:3;710:5;686:41;:::i;:::-;676:57;;:::o;739:318::-;;918:2;907:9;903:18;895:26;;931:119;1047:1;1036:9;1032:17;1023:6;931:119;:::i;:::-;885:172;;;;:::o;1063:154::-;1147:6;1142:3;1137;1124:30;1209:1;1200:6;1195:3;1191:16;1184:27;1114:103;;;:::o

Swarm Source

ipfs://54753e0afaa31da2ae8fbd824cd622f642c303a97f43ccce7f1d30103ca8af49

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
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.