mirror of
https://github.com/Instadapp/InstaContract.git
synced 2024-07-29 22:47:45 +00:00
proxy test with events.
This commit is contained in:
parent
c4fb754c38
commit
223999c84f
|
@ -3,8 +3,11 @@ 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);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user