This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.8.0; | |
contract DepositEther { | |
event Deposit( | |
address indexed _from, | |
uint indexed _id, | |
uint _value | |
); | |
function deposit(uint _id) payable { | |
emit Deposit(msg.sender, _id, msg.value); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment