InstaContract/contracts/v2/ProxyTest.sol

13 lines
209 B
Solidity
Raw Normal View History

pragma solidity ^0.4.23;
contract ProxyTest {
2019-03-03 21:19:27 +00:00
event ETHSend(uint amt);
2019-03-03 21:14:22 +00:00
function sendETH() public payable {
address(msg.sender).transfer(msg.value);
2019-03-03 21:19:27 +00:00
emit ETHSend(msg.value);
}
}