2

I am using Ganache and wanted to understand where can we see the events in the Ganache UI. I tried checking the events in the transaction and logs tab but I did not find it. Here is one sample code.

pragma solidity ^0.4.0;

contract Ballot {

    event isEOAOrNot(bool val);

    function isContract(address addr) returns (bool) {
       uint size;
       assembly { size := extcodesize(addr) }
       bool val = size > 0;
       isEOAOrNot(val);
       return val;
    }
}

Please let me know where can I see the events in the UI.

4

It is not currently possible, but is on the roadmap.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.