Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface ContractLoginfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
ContractLoginfo,ContractLoginfo.Builder
@Generated
public interface ContractLoginfoOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringgetBloom()* A bloom filter.<br/> This filter applies to this log entry and indexes the contract log data in the full data of the Ethereum block.<br/> EIP-7668 proposes to remove bloom filters as they are quite low value in practice and separate indexing services are more effective.* A contract identifier.<br/> This refers to the contract that generated this log entry.com.google.protobuf.ByteStringgetData()* Event data for this log entry.<br/> This is binary data consisting of an arbitrary number of 256 bit (32 byte) words.com.google.protobuf.ByteStringgetTopic(int index) * A list of the "topics" in this log entry.<br/> The EVM permits up to 4 topics, each of which is 32 bytes (one EVM word).int* A list of the "topics" in this log entry.<br/> The EVM permits up to 4 topics, each of which is 32 bytes (one EVM word).List<com.google.protobuf.ByteString> * A list of the "topics" in this log entry.<br/> The EVM permits up to 4 topics, each of which is 32 bytes (one EVM word).boolean* A contract identifier.<br/> This refers to the contract that generated this log entry.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasContractID
boolean hasContractID()* A contract identifier.<br/> This refers to the contract that generated this log entry.
.proto.ContractID contractID = 1;- Returns:
- Whether the contractID field is set.
-
getContractID
ContractID getContractID()* A contract identifier.<br/> This refers to the contract that generated this log entry.
.proto.ContractID contractID = 1;- Returns:
- The contractID.
-
getBloom
com.google.protobuf.ByteString getBloom()* A bloom filter.<br/> This filter applies to this log entry and indexes the contract log data in the full data of the Ethereum block.<br/> EIP-7668 proposes to remove bloom filters as they are quite low value in practice and separate indexing services are more effective.
bytes bloom = 2;- Returns:
- The bloom.
-
getTopicList
List<com.google.protobuf.ByteString> getTopicList()* A list of the "topics" in this log entry.<br/> The EVM permits up to 4 topics, each of which is 32 bytes (one EVM word). <p> The first "topic" is special, and MUST contain the keccak256 hash of the event signature, if the event is not anonymous.
repeated bytes topic = 3;- Returns:
- A list containing the topic.
-
getTopicCount
int getTopicCount()* A list of the "topics" in this log entry.<br/> The EVM permits up to 4 topics, each of which is 32 bytes (one EVM word). <p> The first "topic" is special, and MUST contain the keccak256 hash of the event signature, if the event is not anonymous.
repeated bytes topic = 3;- Returns:
- The count of topic.
-
getTopic
com.google.protobuf.ByteString getTopic(int index) * A list of the "topics" in this log entry.<br/> The EVM permits up to 4 topics, each of which is 32 bytes (one EVM word). <p> The first "topic" is special, and MUST contain the keccak256 hash of the event signature, if the event is not anonymous.
repeated bytes topic = 3;- Parameters:
index- The index of the element to return.- Returns:
- The topic at the given index.
-
getData
com.google.protobuf.ByteString getData()* Event data for this log entry.<br/> This is binary data consisting of an arbitrary number of 256 bit (32 byte) words. The content of that data is determined by the smart contract code.<br/>
bytes data = 4;- Returns:
- The data.
-