Created
December 22, 2017 14:42
-
-
Save blueplanet/e909a83825f9fd03925cafcaa3ef0006 to your computer and use it in GitHub Desktop.
コントラクトの Event を監視してみる ref: https://qiita.com/blueplanet/items/460f562235019a1bb07d
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.4.17; | |
contract MyToken { | |
event Deposit( | |
address indexed _from, | |
bytes32 indexed _id | |
); | |
function deposit(bytes32 _id) public { | |
// deposit pproc | |
// log | |
Deposit(msg.sender, _id); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment