Skip to content

Relate events to event sender #270

Closed
@guardiande

Description

I have several instances of the same contract living on the blockchain. I want to pick up events by the event method provided by the wrapper classes. Those methods deliver event objects which have no relation to the underlying Log instance and thereby don't allow me to determine which instance sent the event.

Log contains the needed information (address) but not the event.

public class Log {
    private boolean removed;
    private String logIndex;
    private String transactionIndex;
    private String transactionHash;
    private String blockHash;
    private String blockNumber;
    private String address;
    private String data;
    private String type;
    private List<String> topics;
...
}

And since the event does not include the log index I cannot safely navigate from the event to the log instance.

Please provide the requested information or provide a way to derive the event directly from the log instance.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions