Overview
S Balance
0 S
S Value
-More Info
Private Name Tags
ContractCreator
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
DataStorage
Compiler Version
v0.8.23+commit.f704f362
Optimization Enabled:
Yes with 50 runs
Other Settings:
istanbul EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.23; contract DataStorage { mapping(address => bytes) public data; function store(bytes calldata _data) external { data[msg.sender] = _data; } function clearData() external { delete data[msg.sender]; } }
{ "evmVersion": "istanbul", "optimizer": { "enabled": true, "runs": 50 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"name":"clearData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"data","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"store","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b5061043d806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063b374012b14610046578063b90d3d0c1461005b578063b9e7a43914610084575b600080fd5b6100596100543660046101b5565b61008c565b005b61006e610069366004610227565b6100ab565b60405161007b9190610257565b60405180910390f35b610059610145565b3360009081526020819052604090206100a6828483610346565b505050565b600060208190529081526040902080546100c4906102bc565b80601f01602080910402602001604051908101604052809291908181526020018280546100f0906102bc565b801561013d5780601f106101125761010080835404028352916020019161013d565b820191906000526020600020905b81548152906001019060200180831161012057829003601f168201915b505050505081565b33600090815260208190526040812061015d9161015f565b565b50805461016b906102bc565b6000825580601f1061017b575050565b601f016020900490600052602060002090810190610199919061019c565b50565b5b808211156101b1576000815560010161019d565b5090565b600080602083850312156101c857600080fd5b823567ffffffffffffffff808211156101e057600080fd5b818501915085601f8301126101f457600080fd5b81358181111561020357600080fd5b86602082850101111561021557600080fd5b60209290920196919550909350505050565b60006020828403121561023957600080fd5b81356001600160a01b038116811461025057600080fd5b9392505050565b60006020808352835180602085015260005b8181101561028557858101830151858201604001528201610269565b506000604082860101526040601f19601f8301168501019250505092915050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806102d057607f821691505b6020821081036102f057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156100a6576000816000526020600020601f850160051c8101602086101561031f5750805b601f850160051c820191505b8181101561033e5782815560010161032b565b505050505050565b67ffffffffffffffff83111561035e5761035e6102a6565b6103728361036c83546102bc565b836102f6565b6000601f8411600181146103a6576000851561038e5750838201355b600019600387901b1c1916600186901b178355610400565b600083815260209020601f19861690835b828110156103d757868501358255602094850194600190920191016103b7565b50868210156103f45760001960f88860031b161c19848701351681555b505060018560011b0183555b505050505056fea2646970667358221220262925e8d3c8f39e5b9d2e203cee1401071df511b57a0b961386133f652f015064736f6c63430008170033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100415760003560e01c8063b374012b14610046578063b90d3d0c1461005b578063b9e7a43914610084575b600080fd5b6100596100543660046101b5565b61008c565b005b61006e610069366004610227565b6100ab565b60405161007b9190610257565b60405180910390f35b610059610145565b3360009081526020819052604090206100a6828483610346565b505050565b600060208190529081526040902080546100c4906102bc565b80601f01602080910402602001604051908101604052809291908181526020018280546100f0906102bc565b801561013d5780601f106101125761010080835404028352916020019161013d565b820191906000526020600020905b81548152906001019060200180831161012057829003601f168201915b505050505081565b33600090815260208190526040812061015d9161015f565b565b50805461016b906102bc565b6000825580601f1061017b575050565b601f016020900490600052602060002090810190610199919061019c565b50565b5b808211156101b1576000815560010161019d565b5090565b600080602083850312156101c857600080fd5b823567ffffffffffffffff808211156101e057600080fd5b818501915085601f8301126101f457600080fd5b81358181111561020357600080fd5b86602082850101111561021557600080fd5b60209290920196919550909350505050565b60006020828403121561023957600080fd5b81356001600160a01b038116811461025057600080fd5b9392505050565b60006020808352835180602085015260005b8181101561028557858101830151858201604001528201610269565b506000604082860101526040601f19601f8301168501019250505092915050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806102d057607f821691505b6020821081036102f057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156100a6576000816000526020600020601f850160051c8101602086101561031f5750805b601f850160051c820191505b8181101561033e5782815560010161032b565b505050505050565b67ffffffffffffffff83111561035e5761035e6102a6565b6103728361036c83546102bc565b836102f6565b6000601f8411600181146103a6576000851561038e5750838201355b600019600387901b1c1916600186901b178355610400565b600083815260209020601f19861690835b828110156103d757868501358255602094850194600190920191016103b7565b50868210156103f45760001960f88860031b161c19848701351681555b505060018560011b0183555b505050505056fea2646970667358221220262925e8d3c8f39e5b9d2e203cee1401071df511b57a0b961386133f652f015064736f6c63430008170033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ 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.