All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hedera.hashgraph.sdk.proto.ContractFunctionResultOrBuilder Maven / Gradle / Ivy

There is a newer version: 2.44.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: contract_call_local.proto

// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;

public interface ContractFunctionResultOrBuilder extends
    // @@protoc_insertion_point(interface_extends:proto.ContractFunctionResult)
    com.google.protobuf.MessageLiteOrBuilder {

  /**
   * 
   **
   * the smart contract instance whose function was called
   * 
* * .proto.ContractID contractID = 1; * @return Whether the contractID field is set. */ boolean hasContractID(); /** *
   **
   * the smart contract instance whose function was called
   * 
* * .proto.ContractID contractID = 1; * @return The contractID. */ com.hedera.hashgraph.sdk.proto.ContractID getContractID(); /** *
   **
   * the result returned by the function
   * 
* * bytes contractCallResult = 2; * @return The contractCallResult. */ com.google.protobuf.ByteString getContractCallResult(); /** *
   **
   * message In case there was an error during smart contract execution
   * 
* * string errorMessage = 3; * @return The errorMessage. */ java.lang.String getErrorMessage(); /** *
   **
   * message In case there was an error during smart contract execution
   * 
* * string errorMessage = 3; * @return The bytes for errorMessage. */ com.google.protobuf.ByteString getErrorMessageBytes(); /** *
   **
   * bloom filter for record
   * 
* * bytes bloom = 4; * @return The bloom. */ com.google.protobuf.ByteString getBloom(); /** *
   **
   * units of gas used to execute contract
   * 
* * uint64 gasUsed = 5; * @return The gasUsed. */ long getGasUsed(); /** *
   **
   * the log info for events returned by the function
   * 
* * repeated .proto.ContractLoginfo logInfo = 6; */ java.util.List getLogInfoList(); /** *
   **
   * the log info for events returned by the function
   * 
* * repeated .proto.ContractLoginfo logInfo = 6; */ com.hedera.hashgraph.sdk.proto.ContractLoginfo getLogInfo(int index); /** *
   **
   * the log info for events returned by the function
   * 
* * repeated .proto.ContractLoginfo logInfo = 6; */ int getLogInfoCount(); /** *
   **
   * [DEPRECATED] the list of smart contracts that were created by the function call.
   * 
   * The created ids will now _also_ be externalized through internal transaction 
   * records, where each record has its alias field populated with the new contract's 
   * EVM address. (This is needed for contracts created with CREATE2, since 
   * there is no longer a simple relationship between the new contract's 0.0.X id 
   * and its Solidity address.)
   * 
* * repeated .proto.ContractID createdContractIDs = 7 [deprecated = true]; */ @java.lang.Deprecated java.util.List getCreatedContractIDsList(); /** *
   **
   * [DEPRECATED] the list of smart contracts that were created by the function call.
   * 
   * The created ids will now _also_ be externalized through internal transaction 
   * records, where each record has its alias field populated with the new contract's 
   * EVM address. (This is needed for contracts created with CREATE2, since 
   * there is no longer a simple relationship between the new contract's 0.0.X id 
   * and its Solidity address.)
   * 
* * repeated .proto.ContractID createdContractIDs = 7 [deprecated = true]; */ @java.lang.Deprecated com.hedera.hashgraph.sdk.proto.ContractID getCreatedContractIDs(int index); /** *
   **
   * [DEPRECATED] the list of smart contracts that were created by the function call.
   * 
   * The created ids will now _also_ be externalized through internal transaction 
   * records, where each record has its alias field populated with the new contract's 
   * EVM address. (This is needed for contracts created with CREATE2, since 
   * there is no longer a simple relationship between the new contract's 0.0.X id 
   * and its Solidity address.)
   * 
* * repeated .proto.ContractID createdContractIDs = 7 [deprecated = true]; */ @java.lang.Deprecated int getCreatedContractIDsCount(); /** *
   **
   * The new contract's 20-byte EVM address. Only populated after release 0.23, 
   * where each created contract will have its own record. (This is an important 
   * point--the field is not <tt>repeated</tt> because there will be a separate 
   * child record for each created contract.)
   * 
   * Every contract has an EVM address determined by its <tt>shard.realm.num</tt> id.
   * This address is as follows:
   *   <ol>
   *     <li>The first 4 bytes are the big-endian representation of the shard.</li>
   *     <li>The next 8 bytes are the big-endian representation of the realm.</li>
   *     <li>The final 8 bytes are the big-endian representation of the number.</li>
   *   </ol>  
   * 
   * Contracts created via CREATE2 have an <b>additional, primary address</b> that is 
   * derived from the <a href="https://eips.ethereum.org/EIPS/eip-1014">EIP-1014</a> 
   * specification, and does not have a simple relation to a <tt>shard.realm.num</tt> id. 
   * 
   * (Please do note that CREATE2 contracts can also be referenced by the three-part 
   * EVM address described above.)
   * 
* * .google.protobuf.BytesValue evm_address = 9; * @return Whether the evmAddress field is set. */ boolean hasEvmAddress(); /** *
   **
   * The new contract's 20-byte EVM address. Only populated after release 0.23, 
   * where each created contract will have its own record. (This is an important 
   * point--the field is not <tt>repeated</tt> because there will be a separate 
   * child record for each created contract.)
   * 
   * Every contract has an EVM address determined by its <tt>shard.realm.num</tt> id.
   * This address is as follows:
   *   <ol>
   *     <li>The first 4 bytes are the big-endian representation of the shard.</li>
   *     <li>The next 8 bytes are the big-endian representation of the realm.</li>
   *     <li>The final 8 bytes are the big-endian representation of the number.</li>
   *   </ol>  
   * 
   * Contracts created via CREATE2 have an <b>additional, primary address</b> that is 
   * derived from the <a href="https://eips.ethereum.org/EIPS/eip-1014">EIP-1014</a> 
   * specification, and does not have a simple relation to a <tt>shard.realm.num</tt> id. 
   * 
   * (Please do note that CREATE2 contracts can also be referenced by the three-part 
   * EVM address described above.)
   * 
* * .google.protobuf.BytesValue evm_address = 9; * @return The evmAddress. */ com.google.protobuf.BytesValue getEvmAddress(); /** *
   **
   * The amount of gas available for the call, aka the gasLimit. 
   *
   * This field should only be populated when the paired TransactionBody in the record stream is not a
   * ContractCreateTransactionBody or a ContractCallTransactionBody.     
   * 
* * int64 gas = 10; * @return The gas. */ long getGas(); /** *
   **
   * Number of tinybars sent (the function must be payable if this is nonzero).
   *
   * This field should only be populated when the paired TransactionBody in the record stream is not a
   * ContractCreateTransactionBody or a ContractCallTransactionBody.     
   * 
* * int64 amount = 11; * @return The amount. */ long getAmount(); /** *
   **
   * The parameters passed into the contract call.
   *
   * This field should only be populated when the paired TransactionBody in the record stream is not a
   * ContractCreateTransactionBody or a ContractCallTransactionBody.     
   * 
* * bytes functionParameters = 12; * @return The functionParameters. */ com.google.protobuf.ByteString getFunctionParameters(); /** *
   **
   * The account that is the "sender." If not present it is the accountId from the transactionId.
   *
   * This field should only be populated when the paired TransactionBody in the record stream is not a
   * ContractCreateTransactionBody or a ContractCallTransactionBody.     
   * 
* * .proto.AccountID sender_id = 13; * @return Whether the senderId field is set. */ boolean hasSenderId(); /** *
   **
   * The account that is the "sender." If not present it is the accountId from the transactionId.
   *
   * This field should only be populated when the paired TransactionBody in the record stream is not a
   * ContractCreateTransactionBody or a ContractCallTransactionBody.     
   * 
* * .proto.AccountID sender_id = 13; * @return The senderId. */ com.hedera.hashgraph.sdk.proto.AccountID getSenderId(); /** *
   **
   * A list of updated contract account nonces containing the new nonce value for each contract account.
   * This is always empty in a ContractCallLocalResponse#ContractFunctionResult message, since no internal creations can happen in a static EVM call.
   * 
* * repeated .proto.ContractNonceInfo contract_nonces = 14; */ java.util.List getContractNoncesList(); /** *
   **
   * A list of updated contract account nonces containing the new nonce value for each contract account.
   * This is always empty in a ContractCallLocalResponse#ContractFunctionResult message, since no internal creations can happen in a static EVM call.
   * 
* * repeated .proto.ContractNonceInfo contract_nonces = 14; */ com.hedera.hashgraph.sdk.proto.ContractNonceInfo getContractNonces(int index); /** *
   **
   * A list of updated contract account nonces containing the new nonce value for each contract account.
   * This is always empty in a ContractCallLocalResponse#ContractFunctionResult message, since no internal creations can happen in a static EVM call.
   * 
* * repeated .proto.ContractNonceInfo contract_nonces = 14; */ int getContractNoncesCount(); /** *
   **
   * If not null this field specifies what the value of the signer account nonce is post transaction execution.
   * For transactions that don't update the signer nonce, this field should be null.
   * 
* * .google.protobuf.Int64Value signer_nonce = 15; * @return Whether the signerNonce field is set. */ boolean hasSignerNonce(); /** *
   **
   * If not null this field specifies what the value of the signer account nonce is post transaction execution.
   * For transactions that don't update the signer nonce, this field should be null.
   * 
* * .google.protobuf.Int64Value signer_nonce = 15; * @return The signerNonce. */ com.google.protobuf.Int64Value getSignerNonce(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy