ETH Price: $3,481.54 (-1.52%)
Gas: 3 Gwei

Contract

0x473FD55C7c782b8f1719c208C052BAE03d818cC8
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer With Me...173725902023-05-30 15:20:35419 days ago1685460035IN
0x473FD55C...03d818cC8
0.0000001 ETH0.0031284758.64394253
Transfer With Me...173725752023-05-30 15:17:35419 days ago1685459855IN
0x473FD55C...03d818cC8
0.00000001 ETH0.0019189959.3802763
Transfer With Me...173725722023-05-30 15:16:59419 days ago1685459819IN
0x473FD55C...03d818cC8
0 ETH0.0013484559.42670572
0x60806040173725592023-05-30 15:14:23419 days ago1685459663IN
 Create: EtherTransfer
0 ETH0.0117933263.49474946

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
173725902023-05-30 15:20:35419 days ago1685460035
0x473FD55C...03d818cC8
0.0000001 ETH
173725752023-05-30 15:17:35419 days ago1685459855
0x473FD55C...03d818cC8
0.00000001 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
EtherTransfer

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Unlicense license
/**
 *Submitted for verification at Etherscan.io on 2023-05-30
*/

// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.19;

contract EtherTransfer {
    event TransferWithMessage(address indexed from, address indexed to, uint256 amount, string message);

    function transferWithMessage(address payable recipient, string calldata message) external payable {
        require(msg.value > 0, "Invalid amount"); // Make sure the transferred amount is greater than zero

        (bool success, ) = recipient.call{value: msg.value}(""); // Low-level call to send Ether

        require(success, "Transfer failed"); // Check if the transfer was successful

        emit TransferWithMessage(msg.sender, recipient, msg.value, message);
    }
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"string","name":"message","type":"string"}],"name":"TransferWithMessage","type":"event"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"string","name":"message","type":"string"}],"name":"transferWithMessage","outputs":[],"stateMutability":"payable","type":"function"}]

608060405234801561001057600080fd5b50610265806100206000396000f3fe60806040526004361061001e5760003560e01c8063bcf0118814610023575b600080fd5b610036610031366004610168565b610038565b005b6000341161007e5760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b60448201526064015b60405180910390fd5b6000836001600160a01b03163460405160006040518083038185875af1925050503d80600081146100cb576040519150601f19603f3d011682016040523d82523d6000602084013e6100d0565b606091505b50509050806101135760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b6044820152606401610075565b836001600160a01b0316336001600160a01b03167f821c9da5458864f538621d9327653314fa4ac0d7f4938998d3a948ccc2710bd434868660405161015a939291906101f9565b60405180910390a350505050565b60008060006040848603121561017d57600080fd5b83356001600160a01b038116811461019457600080fd5b9250602084013567ffffffffffffffff808211156101b157600080fd5b818601915086601f8301126101c557600080fd5b8135818111156101d457600080fd5b8760208285010111156101e657600080fd5b6020830194508093505050509250925092565b83815260406020820152816040820152818360608301376000818301606090810191909152601f909201601f191601019291505056fea26469706673582212207dfb3d51c7557fd346415536766cbb4eb7d0fb2c2c756058f1d95f94e514a9a864736f6c63430008130033

Deployed Bytecode

0x60806040526004361061001e5760003560e01c8063bcf0118814610023575b600080fd5b610036610031366004610168565b610038565b005b6000341161007e5760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b60448201526064015b60405180910390fd5b6000836001600160a01b03163460405160006040518083038185875af1925050503d80600081146100cb576040519150601f19603f3d011682016040523d82523d6000602084013e6100d0565b606091505b50509050806101135760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b6044820152606401610075565b836001600160a01b0316336001600160a01b03167f821c9da5458864f538621d9327653314fa4ac0d7f4938998d3a948ccc2710bd434868660405161015a939291906101f9565b60405180910390a350505050565b60008060006040848603121561017d57600080fd5b83356001600160a01b038116811461019457600080fd5b9250602084013567ffffffffffffffff808211156101b157600080fd5b818601915086601f8301126101c557600080fd5b8135818111156101d457600080fd5b8760208285010111156101e657600080fd5b6020830194508093505050509250925092565b83815260406020820152816040820152818360608301376000818301606090810191909152601f909201601f191601019291505056fea26469706673582212207dfb3d51c7557fd346415536766cbb4eb7d0fb2c2c756058f1d95f94e514a9a864736f6c63430008130033

Deployed Bytecode Sourcemap

67:623:0:-:0;;;;;;;;;;;;;;;;;;;;;205:482;;;;;;:::i;:::-;;:::i;:::-;;;334:1;322:9;:13;314:40;;;;-1:-1:-1;;;314:40:0;;995:2:1;314:40:0;;;977:21:1;1034:2;1014:18;;;1007:30;-1:-1:-1;;;1053:18:1;;;1046:44;1107:18;;314:40:0;;;;;;;;;425:12;443:9;-1:-1:-1;;;;;443:14:0;465:9;443:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;424:55;;;532:7;524:35;;;;-1:-1:-1;;;524:35:0;;1548:2:1;524:35:0;;;1530:21:1;1587:2;1567:18;;;1560:30;-1:-1:-1;;;1606:18:1;;;1599:45;1661:18;;524:35:0;1346:339:1;524:35:0;649:9;-1:-1:-1;;;;;617:62:0;637:10;-1:-1:-1;;;;;617:62:0;;660:9;671:7;;617:62;;;;;;;;:::i;:::-;;;;;;;;303:384;205:482;;;:::o;14:774:1:-;102:6;110;118;171:2;159:9;150:7;146:23;142:32;139:52;;;187:1;184;177:12;139:52;213:23;;-1:-1:-1;;;;;265:31:1;;255:42;;245:70;;311:1;308;301:12;245:70;334:5;-1:-1:-1;390:2:1;375:18;;362:32;413:18;443:14;;;440:34;;;470:1;467;460:12;440:34;508:6;497:9;493:22;483:32;;553:7;546:4;542:2;538:13;534:27;524:55;;575:1;572;565:12;524:55;615:2;602:16;641:2;633:6;630:14;627:34;;;657:1;654;647:12;627:34;702:7;697:2;688:6;684:2;680:15;676:24;673:37;670:57;;;723:1;720;713:12;670:57;754:2;750;746:11;736:21;;776:6;766:16;;;;;14:774;;;;;:::o;1690:461::-;1877:6;1866:9;1859:25;1920:2;1915;1904:9;1900:18;1893:30;1959:6;1954:2;1943:9;1939:18;1932:34;2016:6;2008;2003:2;1992:9;1988:18;1975:48;2072:1;2043:22;;;2067:2;2039:31;;;2032:42;;;;2135:2;2114:15;;;-1:-1:-1;;2110:29:1;2095:45;2091:54;;1690:461;-1:-1:-1;;1690:461:1:o

Swarm Source

ipfs://7dfb3d51c7557fd346415536766cbb4eb7d0fb2c2c756058f1d95f94e514a9a8

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  ]
[ 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.