EthereumContractEvent - ARitz-Cracker/arc-web3 GitHub Wiki

EthereumContractEvent is an object with the following properties:

  • (String) name: The name of the event. e.g. "Transfer"
  • (String) selector: The full name of the event e.g. "Transfer(address,address,uint256)"
  • (Object) returnValues: Contains the values decoded from data and topics. The properties will be the name of the arguments specified by the ABI.
    • Note: If an event argument is a string, array, or bytes, and it's marked as indexed, then a hash of that data will be returned.
  • (Boolean) removed: when the log was removed, due to a chain reorganization. false if it's a valid log.
  • (Number) logIndex: The log index position in the block.
  • (Number) transactionIndex: The transaction's block index from where this log was created from.
  • (TransactionHash) transactionHash: Hash of the transaction this log was created from.
  • (String) blockHash: Hash of the block where this log was in.
  • (Number) blockNumber: The block number where this log was in.
  • (AddressString) address: Address from which this log originated.
  • (String) data: Raw non-indexed data passed to the event. If you want something more useful, check out EthereumContractEvent
  • (Array) topics: Raw indexed data passed to the event.