A reactive data-store for web3 and smart contracts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

12 lines
244 B

pragma solidity >=0.5.0 <0.6.0;
contract TestContract {
uint public storedData = 0;
event LogStoredData(uint data);
function setData(uint _value) public {
storedData = _value;
emit LogStoredData(_value);
}
}