github.com/0xPolygon/supernets2-node@v0.0.0-20230711153321-2fe574524eaa/test/contracts/auto/EmitLog2.sol (about) 1 // SPDX-License-Identifier: GPL-3.0 2 3 pragma solidity >=0.7.0 <0.9.0; 4 5 contract EmitLog2 { 6 event Log(); 7 event LogA(uint256 indexed a); 8 event LogABCD(uint256 indexed a, uint256 indexed b, uint256 indexed c, uint256 d); 9 10 function emitLogs() public { 11 assembly { 12 log0(0, 32) 13 } 14 emit Log(); 15 emit LogA(1); 16 emit LogABCD(1, 2, 3, 4); 17 } 18 }