ETH Price: $2,426.60 (-2.53%)

Contract

0x45F7399D7D4075990bD68aCaa11C8eD824E72e29
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
82901832019-08-05 10:43:061917 days ago1565001786  Contract Creation0 ETH
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x5fCC2401...6D04Fc228
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
StorageUnit

Compiler Version
v0.5.10+commit.5a6ea5b1

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license
/**
 *Submitted for verification at Etherscan.io on 2019-08-03
*/

contract StorageUnit {
    address private owner;
    mapping(bytes32 => bytes32) private store;

    constructor() public {
        owner = msg.sender;
    }

    function write(bytes32 _key, bytes32 _value) external {
        /* solium-disable-next-line */
        require(msg.sender == owner);
        store[_key] = _value;
    }

    function read(bytes32 _key) external view returns (bytes32) {
        return store[_key];
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[{"name":"_key","type":"bytes32"}],"name":"read","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_key","type":"bytes32"},{"name":"_value","type":"bytes32"}],"name":"write","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"}]

Deployed Bytecode

0x6080604052348015600f57600080fd5b506004361060325760003560e01c806361da1439146037578063e2e52ec1146063575b600080fd5b605160048036036020811015604b57600080fd5b50356085565b60408051918252519081900360200190f35b608360048036036040811015607757600080fd5b50803590602001356097565b005b60009081526001602052604090205490565b6000546001600160a01b0316331460ad57600080fd5b6000918252600160205260409091205556fea265627a7a723058200b58fb1458dee2154be81bbf2943459260ea5899282500cd3a343c4ea70e47f264736f6c634300050a0032

Deployed Bytecode Sourcemap

0:452:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;0:452:0;;;;;;;;;;;;;;;;;;;;;;;;352:97;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;352:97:0;;:::i;:::-;;;;;;;;;;;;;;;;172:172;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;172:172:0;;;;;;;:::i;:::-;;352:97;403:7;430:11;;;:5;:11;;;;;;;352:97::o;172:172::-;299:5;;-1:-1:-1;;;;;299:5:0;285:10;:19;277:28;;;;;;316:11;;;;:5;:11;;;;;;:20;172:172::o

Swarm Source

bzzr://0b58fb1458dee2154be81bbf2943459260ea5899282500cd3a343c4ea70e47f2

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.