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.
20 lines
440 B
20 lines
440 B
6 years ago
|
pragma solidity ^0.4.24;
|
||
|
|
||
|
contract Acknowledger {
|
||
|
event AcknowledgeFoo(uint256 a);
|
||
|
event AcknowledgeBarSingle(uint256 a);
|
||
|
event AcknowledgeBarDouble(uint256 a, uint256 b);
|
||
|
|
||
|
function foo(uint256 a) public {
|
||
|
emit AcknowledgeFoo(a);
|
||
|
}
|
||
|
|
||
|
function bar(uint256 a) public {
|
||
|
emit AcknowledgeBarSingle(a);
|
||
|
}
|
||
|
|
||
|
function bar(uint256 a, uint256 b) public {
|
||
|
emit AcknowledgeBarDouble(a, b);
|
||
|
}
|
||
|
}
|