smart-contract/ProxyLogics/sendETH.sol

13 lines
209 B
Solidity
Raw Normal View History

pragma solidity ^0.4.23;
contract ProxyTest {
event ETHSent(uint amt);
function sendETH() public payable {
address(msg.sender).transfer(msg.value);
emit ETHSent(msg.value);
}
}