Created
February 12, 2022 02:06
-
-
Save lwhile/3403b290844b7d3b350032ada419a5ce to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // SPDX-License-Identifier: GPL-3.0 | |
| pragma solidity ^0.8.0; | |
| contract TestContract { | |
| event TestEvt(uint256 val); | |
| event cstrEvt(address addr); | |
| constructor() { | |
| emit cstrEvt(address(uint160(uint256(keccak256("test"))))); | |
| } | |
| function mixin(bytes calldata raw) public returns (bool) { | |
| emit TestEvt(address(this).balance); | |
| return true; | |
| } | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment