watcher-ts/packages/solidity-mapper/test/contracts/TestEvents.sol
Ashwin Phatak a7ec3d8da8
Add APGL license and copyright notices (#212)
* Add license & copyright declarations for add-watcher.

* Add copyright declarations for cache.

* Add copyright declarations for erc20-watcher.

* Add copyright declarations for ipld-eth-client.

* Add copyright declarations for tracing-client.

* Add copyright declarations for uni-watcher.

* Add copyright declarations for solidity-mapper.

* Add copyright declarations for uni-info-watcher.

* Add copyright declarations for util.

* Add copyright declarations for lighthouse-watcher.

* Change license identifier in .sol files.

Co-authored-by: prathamesh0 <prathamesh.musale0@gmail.com>
2021-08-12 15:28:13 +05:30

12 lines
326 B
Solidity

// SPDX-License-Identifier: AGPL-3.0
pragma solidity ^0.7.0;
contract TestEvents {
event Event1(address address1, string string1, string strin2);
// Function to emit event.
function emitEvent(string calldata string1, string calldata string2) external {
emit Event1(msg.sender, string1, string2);
}
}