Skip to content

Instantly share code, notes, and snippets.

Last active August 16, 2022 17:53
What would you like to do?
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