Contract Event

Methods in Common functions are also available.

Get Event Data

judger.getEventData()

Returns the actual event object from the contract

Returns

Returns object representing the event object.

  • name: The event signature

  • data: An object of decoded event signature from ABI

Example

{
    "name": "Transfer(address,address,uint256)",
    "data": {
        "from": "0x0000000000000000000000000000000000000000",
        "to": "0xb9fa21a62fc96cb2ac635a051061e2e50d964051",
        "value": 45000000000000000000
    }
}

Last updated