Skip to content

Commit 0feaf62

Browse files
authored
Merge pull request #31 from SpringRole/event-attest
added event in attest
2 parents b000e5f + f04365e commit 0feaf62

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

contracts/Attestation.sol

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ pragma solidity ^0.4.19;
22

33
contract Attestation {
44

5+
event Attest(string _entity1,string _entity2,string _type,string _data);
6+
57
function write(string _entity1,string _entity2,string _type,string _data) public returns (bool) {
8+
Attest(_entity1,_entity2,_type,_data);
69
return true;
710
}
811
}

0 commit comments

Comments
 (0)