Skip to content

Instantly share code, notes, and snippets.

@AyDeveloper
Last active August 16, 2022 17:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AyDeveloper/e5d2e3778054276288e97fab9a2e38ad to your computer and use it in GitHub Desktop.
Save AyDeveloper/e5d2e3778054276288e97fab9a2e38ad to your computer and use it in GitHub Desktop.
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