github.com/hyperledger/burrow@v0.34.5-0.20220512172541-77f09336001d/execution/solidity/event_emitter.sol (about)

     1  pragma solidity ^0.5;
     2  
     3  contract EventEmitter {
     4      // indexed puts it in topic
     5      event ManyTypes(
     6          bytes32 indexed direction,
     7          bool trueism,
     8          string german ,
     9          int64 indexed newDepth,
    10          int bignum,
    11          string indexed hash);
    12  
    13      event ManyTypes2(
    14          bytes32 indexed direction,
    15          bool trueism,
    16          string german ,
    17          int128 indexed newDepth,
    18          int8 bignum,
    19          string indexed hash);
    20  
    21      function EmitOne() public {
    22          emit ManyTypes("Downsie!", true, "Donaudampfschifffahrtselektrizitätenhauptbetriebswerkbauunterbeamtengesellschaft", 102, 42, "hash");
    23      }
    24  
    25      function EmitTwo() public {
    26          emit ManyTypes2("Downsie!", true, "Donaudampfschifffahrtselektrizitätenhauptbetriebswerkbauunterbeamtengesellschaft", 102, 42, "hash");
    27      }
    28  }