Commit 2cfa31f7 authored by aniket-engg's avatar aniket-engg Committed by yann300

added multiple events to test

parent 1798ee2d
......@@ -2,12 +2,16 @@ pragma solidity >= 0.5.0 < 0.8.0;
contract SimpleStorage {
uint public storedData;
event Stored(uint256 value);
constructor() public {
storedData = 100;
}
function set(uint x) public {
storedData = x;
emit Stored(x);
emit Stored(x+10); // for testing multiple events only
}
function get() public view returns (uint retVal) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment