Overview
ETH Balance
0.0226 ETH
Eth Value
$73.92 (@ $3,270.86/ETH)More Info
Private Name Tags
ContractCreator
Latest 11 from a total of 11 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Deposit To | 18431739 | 462 days ago | IN | 0.0008 ETH | 0.00190408 | ||||
Deposit To | 18431709 | 462 days ago | IN | 0.0008 ETH | 0.00164669 | ||||
Deposit To | 18425548 | 463 days ago | IN | 0.0008 ETH | 0.00035492 | ||||
Deposit To | 18420372 | 464 days ago | IN | 0.009 ETH | 0.00110866 | ||||
Deposit To | 18420074 | 464 days ago | IN | 0.002 ETH | 0.00066213 | ||||
Deposit To | 18419651 | 464 days ago | IN | 0.005 ETH | 0.00054292 | ||||
Deposit To | 18412273 | 465 days ago | IN | 0.001 ETH | 0.00024855 | ||||
Deposit To | 18409998 | 465 days ago | IN | 0.0008 ETH | 0.00036187 | ||||
Deposit To | 18391113 | 468 days ago | IN | 0.0008 ETH | 0.00036421 | ||||
Deposit To | 18388873 | 468 days ago | IN | 0.0008 ETH | 0.00040635 | ||||
Deposit To | 18388750 | 468 days ago | IN | 0.0008 ETH | 0.00049518 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
18383851 | 469 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
RelationGasStorer
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.19; contract RelationGasStorer { mapping(address => uint256) public deposits; address public owner; event Deposit(address from, address to, uint256 amount); event Withdraw(address to, uint256 amount); modifier onlyOwner() { require(msg.sender == owner, "Caller is not the owner"); _; } constructor (address _owner) { owner = _owner; } function depositTo(address to) external payable { deposits[to] += msg.value; emit Deposit(msg.sender, to, msg.value); } function withdraw(address to, uint256 amount) external onlyOwner { payable(to).transfer(amount); emit Withdraw(to, amount); } }
{ "optimizer": { "enabled": true, "runs": 1000 }, "viaIR": true, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"depositTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"deposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60803461007457601f61031538819003918201601f19168301916001600160401b038311848410176100795780849260209460405283398101031261007457516001600160a01b0381169081900361007457600180546001600160a01b03191691909117905560405161028590816100908239f35b600080fd5b634e487b7160e01b600052604160045260246000fdfe60806040818152600436101561001457600080fd5b600091823560e01c9081638da5cb5b1461020f57508063b760faf914610170578063f3fef3a3146100865763fc7e286d1461004e57600080fd5b3461008257602036600319011261008257806020926001600160a01b03610073610234565b16815280845220549051908152f35b5080fd5b503461008257806003193601126100825761009f610234565b90602435916001600160a01b039081600154163303610113571683838282821561010a575b839283928392f115610100577f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243649282519182526020820152a180f35b81513d85823e3d90fd5b506108fc6100c4565b606483517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f43616c6c6572206973206e6f7420746865206f776e65720000000000000000006044820152fd5b506020366003190112610082576001600160a01b0361018d610234565b1690818352826020528083208054903482018092116101e257917f5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f6293916060935580519133835260208301523490820152a180f35b6024857f4e487b710000000000000000000000000000000000000000000000000000000081526011600452fd5b8390346100825781600319360112610082576020906001600160a01b03600154168152f35b600435906001600160a01b038216820361024a57565b600080fdfea2646970667358221220aab0c2549e2382742749c12caf6c32498414102a891f405a2bfabde50db0e3d264736f6c63430008130033000000000000000000000000e0acd74826c6fb419a543404e3b3375a2d99d0a8
Deployed Bytecode
0x60806040818152600436101561001457600080fd5b600091823560e01c9081638da5cb5b1461020f57508063b760faf914610170578063f3fef3a3146100865763fc7e286d1461004e57600080fd5b3461008257602036600319011261008257806020926001600160a01b03610073610234565b16815280845220549051908152f35b5080fd5b503461008257806003193601126100825761009f610234565b90602435916001600160a01b039081600154163303610113571683838282821561010a575b839283928392f115610100577f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243649282519182526020820152a180f35b81513d85823e3d90fd5b506108fc6100c4565b606483517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f43616c6c6572206973206e6f7420746865206f776e65720000000000000000006044820152fd5b506020366003190112610082576001600160a01b0361018d610234565b1690818352826020528083208054903482018092116101e257917f5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f6293916060935580519133835260208301523490820152a180f35b6024857f4e487b710000000000000000000000000000000000000000000000000000000081526011600452fd5b8390346100825781600319360112610082576020906001600160a01b03600154168152f35b600435906001600160a01b038216820361024a57565b600080fdfea2646970667358221220aab0c2549e2382742749c12caf6c32498414102a891f405a2bfabde50db0e3d264736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000e0acd74826c6fb419a543404e3b3375a2d99d0a8
-----Decoded View---------------
Arg [0] : _owner (address): 0xe0aCd74826c6fb419a543404E3B3375A2D99d0a8
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000e0acd74826c6fb419a543404e3b3375a2d99d0a8
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.