* Bump required compiler version to 0.5.2. * Fix shadowed variable warning in ERC20Migrator. * Rename Counter to Counters. * Add dummy state variable to SafeERC20Helper. * Update changelog entry. * Fix CountersImpl name. * Improve changelog entry.
20 lines
439 B
Solidity
20 lines
439 B
Solidity
pragma solidity ^0.5.2;
|
|
|
|
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);
|
|
}
|
|
}
|