Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class ContractFunctionResult.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<ContractFunctionResult,ContractFunctionResult.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<ContractFunctionResult,ContractFunctionResult.Builder>
com.hedera.hashgraph.sdk.proto.ContractFunctionResult.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,ContractFunctionResultOrBuilder,Cloneable
- Enclosing class:
ContractFunctionResult
public static final class ContractFunctionResult.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<ContractFunctionResult,ContractFunctionResult.Builder>
implements ContractFunctionResultOrBuilder
* A contract function result.<br/> The result returned by a call to a smart contract function. This is part of the response to a ContractCallLocal query, and is in the record for a ContractCall. The ContractCreateInstance transaction record also carries a function result, which is the results of the call to the constructor.Protobuf type
proto.ContractFunctionResult-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllContractNonces(Iterable<? extends ContractNonceInfo> values) * A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call.addAllCreatedContractIDs(Iterable<? extends ContractID> values) Deprecated.addAllLogInfo(Iterable<? extends ContractLoginfo> values) * Any Log events produced by this contract call.addContractNonces(int index, ContractNonceInfo value) * A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call.addContractNonces(int index, ContractNonceInfo.Builder builderForValue) * A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call.* A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call.addContractNonces(ContractNonceInfo.Builder builderForValue) * A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call.addCreatedContractIDs(int index, ContractID value) Deprecated.addCreatedContractIDs(int index, ContractID.Builder builderForValue) Deprecated.addCreatedContractIDs(ContractID value) Deprecated.addCreatedContractIDs(ContractID.Builder builderForValue) Deprecated.addLogInfo(int index, ContractLoginfo value) * Any Log events produced by this contract call.addLogInfo(int index, ContractLoginfo.Builder builderForValue) * Any Log events produced by this contract call.addLogInfo(ContractLoginfo value) * Any Log events produced by this contract call.addLogInfo(ContractLoginfo.Builder builderForValue) * Any Log events produced by this contract call.* An amount, in tinybar, sent by this function call.<br/> This SHALL be zero(0) if the function called is not `payable`.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.* A bloom filter produced by this contract call.<br/> Ethereum uses this bloom filter to search for call results in the Ethereum block history.* Result data from the function call.* A contract identifier.<br/> This identifies the smart contract that defines the function called.* A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call.Deprecated.* Any error message produced by the contract call.* A created contract address.<br/> If the function created a new contract (e.g.* The smart contract function to call, and the parameters to pass to that function.<br/> These SHALL be presented in EVM bytecode function call format.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.clearGas()* The amount of gas available for this call, sometimes referred to as the gasLimit.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.* A quantity of "gas" used.<br/> This represents the resource units expended to execute this contract call, and correlates to transaction costs.* Any Log events produced by this contract call.* The account that was the "sender" for this contract call.<br/> If this is not set it SHALL be read from the accountId in the transactionId for the contract call.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.* A nonce value for the "signer account".<br/> If the contract call updated the signer nonce for the signer account (i.e.long* An amount, in tinybar, sent by this function call.<br/> This SHALL be zero(0) if the function called is not `payable`.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.com.google.protobuf.ByteStringgetBloom()* A bloom filter produced by this contract call.<br/> Ethereum uses this bloom filter to search for call results in the Ethereum block history.com.google.protobuf.ByteString* Result data from the function call.* A contract identifier.<br/> This identifies the smart contract that defines the function called.getContractNonces(int index) * A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call.int* A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call.* A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call.getCreatedContractIDs(int index) Deprecated.intDeprecated.Deprecated.* Any error message produced by the contract call.com.google.protobuf.ByteString* Any error message produced by the contract call.com.google.protobuf.BytesValue* A created contract address.<br/> If the function created a new contract (e.g.com.google.protobuf.ByteString* The smart contract function to call, and the parameters to pass to that function.<br/> These SHALL be presented in EVM bytecode function call format.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.longgetGas()* The amount of gas available for this call, sometimes referred to as the gasLimit.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.long* A quantity of "gas" used.<br/> This represents the resource units expended to execute this contract call, and correlates to transaction costs.getLogInfo(int index) * Any Log events produced by this contract call.int* Any Log events produced by this contract call.* Any Log events produced by this contract call.* The account that was the "sender" for this contract call.<br/> If this is not set it SHALL be read from the accountId in the transactionId for the contract call.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.com.google.protobuf.Int64Value* A nonce value for the "signer account".<br/> If the contract call updated the signer nonce for the signer account (i.e.boolean* A contract identifier.<br/> This identifies the smart contract that defines the function called.boolean* A created contract address.<br/> If the function created a new contract (e.g.boolean* The account that was the "sender" for this contract call.<br/> If this is not set it SHALL be read from the accountId in the transactionId for the contract call.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.boolean* A nonce value for the "signer account".<br/> If the contract call updated the signer nonce for the signer account (i.e.mergeContractID(ContractID value) * A contract identifier.<br/> This identifies the smart contract that defines the function called.mergeEvmAddress(com.google.protobuf.BytesValue value) * A created contract address.<br/> If the function created a new contract (e.g.mergeSenderId(AccountID value) * The account that was the "sender" for this contract call.<br/> If this is not set it SHALL be read from the accountId in the transactionId for the contract call.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.mergeSignerNonce(com.google.protobuf.Int64Value value) * A nonce value for the "signer account".<br/> If the contract call updated the signer nonce for the signer account (i.e.removeContractNonces(int index) * A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call.removeCreatedContractIDs(int index) Deprecated.removeLogInfo(int index) * Any Log events produced by this contract call.setAmount(long value) * An amount, in tinybar, sent by this function call.<br/> This SHALL be zero(0) if the function called is not `payable`.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.setBloom(com.google.protobuf.ByteString value) * A bloom filter produced by this contract call.<br/> Ethereum uses this bloom filter to search for call results in the Ethereum block history.setContractCallResult(com.google.protobuf.ByteString value) * Result data from the function call.setContractID(ContractID value) * A contract identifier.<br/> This identifies the smart contract that defines the function called.setContractID(ContractID.Builder builderForValue) * A contract identifier.<br/> This identifies the smart contract that defines the function called.setContractNonces(int index, ContractNonceInfo value) * A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call.setContractNonces(int index, ContractNonceInfo.Builder builderForValue) * A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call.setCreatedContractIDs(int index, ContractID value) Deprecated.setCreatedContractIDs(int index, ContractID.Builder builderForValue) Deprecated.setErrorMessage(String value) * Any error message produced by the contract call.setErrorMessageBytes(com.google.protobuf.ByteString value) * Any error message produced by the contract call.setEvmAddress(com.google.protobuf.BytesValue value) * A created contract address.<br/> If the function created a new contract (e.g.setEvmAddress(com.google.protobuf.BytesValue.Builder builderForValue) * A created contract address.<br/> If the function created a new contract (e.g.setFunctionParameters(com.google.protobuf.ByteString value) * The smart contract function to call, and the parameters to pass to that function.<br/> These SHALL be presented in EVM bytecode function call format.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.setGas(long value) * The amount of gas available for this call, sometimes referred to as the gasLimit.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.setGasUsed(long value) * A quantity of "gas" used.<br/> This represents the resource units expended to execute this contract call, and correlates to transaction costs.setLogInfo(int index, ContractLoginfo value) * Any Log events produced by this contract call.setLogInfo(int index, ContractLoginfo.Builder builderForValue) * Any Log events produced by this contract call.setSenderId(AccountID value) * The account that was the "sender" for this contract call.<br/> If this is not set it SHALL be read from the accountId in the transactionId for the contract call.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.setSenderId(AccountID.Builder builderForValue) * The account that was the "sender" for this contract call.<br/> If this is not set it SHALL be read from the accountId in the transactionId for the contract call.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.setSignerNonce(com.google.protobuf.Int64Value value) * A nonce value for the "signer account".<br/> If the contract call updated the signer nonce for the signer account (i.e.setSignerNonce(com.google.protobuf.Int64Value.Builder builderForValue) * A nonce value for the "signer account".<br/> If the contract call updated the signer nonce for the signer account (i.e.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasContractID
public boolean hasContractID()* A contract identifier.<br/> This identifies the smart contract that defines the function called.
.proto.ContractID contractID = 1;- Specified by:
hasContractIDin interfaceContractFunctionResultOrBuilder- Returns:
- Whether the contractID field is set.
-
getContractID
* A contract identifier.<br/> This identifies the smart contract that defines the function called.
.proto.ContractID contractID = 1;- Specified by:
getContractIDin interfaceContractFunctionResultOrBuilder- Returns:
- The contractID.
-
setContractID
* A contract identifier.<br/> This identifies the smart contract that defines the function called.
.proto.ContractID contractID = 1; -
setContractID
* A contract identifier.<br/> This identifies the smart contract that defines the function called.
.proto.ContractID contractID = 1; -
mergeContractID
* A contract identifier.<br/> This identifies the smart contract that defines the function called.
.proto.ContractID contractID = 1; -
clearContractID
* A contract identifier.<br/> This identifies the smart contract that defines the function called.
.proto.ContractID contractID = 1; -
getContractCallResult
public com.google.protobuf.ByteString getContractCallResult()* Result data from the function call. <p> This SHALL be encoded in RLP bytecode format.
bytes contractCallResult = 2;- Specified by:
getContractCallResultin interfaceContractFunctionResultOrBuilder- Returns:
- The contractCallResult.
-
setContractCallResult
* Result data from the function call. <p> This SHALL be encoded in RLP bytecode format.
bytes contractCallResult = 2;- Parameters:
value- The contractCallResult to set.- Returns:
- This builder for chaining.
-
clearContractCallResult
* Result data from the function call. <p> This SHALL be encoded in RLP bytecode format.
bytes contractCallResult = 2;- Returns:
- This builder for chaining.
-
getErrorMessage
* Any error message produced by the contract call. <p> This SHALL be unset if the contract call succeeded.
string errorMessage = 3;- Specified by:
getErrorMessagein interfaceContractFunctionResultOrBuilder- Returns:
- The errorMessage.
-
getErrorMessageBytes
public com.google.protobuf.ByteString getErrorMessageBytes()* Any error message produced by the contract call. <p> This SHALL be unset if the contract call succeeded.
string errorMessage = 3;- Specified by:
getErrorMessageBytesin interfaceContractFunctionResultOrBuilder- Returns:
- The bytes for errorMessage.
-
setErrorMessage
* Any error message produced by the contract call. <p> This SHALL be unset if the contract call succeeded.
string errorMessage = 3;- Parameters:
value- The errorMessage to set.- Returns:
- This builder for chaining.
-
clearErrorMessage
* Any error message produced by the contract call. <p> This SHALL be unset if the contract call succeeded.
string errorMessage = 3;- Returns:
- This builder for chaining.
-
setErrorMessageBytes
* Any error message produced by the contract call. <p> This SHALL be unset if the contract call succeeded.
string errorMessage = 3;- Parameters:
value- The bytes for errorMessage to set.- Returns:
- This builder for chaining.
-
getBloom
public com.google.protobuf.ByteString getBloom()* A bloom filter produced by this contract call.<br/> Ethereum uses this bloom filter to search for call results in the Ethereum block history. High false positive rates make the bloom filters quite limited value.
bytes bloom = 4;- Specified by:
getBloomin interfaceContractFunctionResultOrBuilder- Returns:
- The bloom.
-
setBloom
* A bloom filter produced by this contract call.<br/> Ethereum uses this bloom filter to search for call results in the Ethereum block history. High false positive rates make the bloom filters quite limited value.
bytes bloom = 4;- Parameters:
value- The bloom to set.- Returns:
- This builder for chaining.
-
clearBloom
* A bloom filter produced by this contract call.<br/> Ethereum uses this bloom filter to search for call results in the Ethereum block history. High false positive rates make the bloom filters quite limited value.
bytes bloom = 4;- Returns:
- This builder for chaining.
-
getGasUsed
public long getGasUsed()* A quantity of "gas" used.<br/> This represents the resource units expended to execute this contract call, and correlates to transaction costs.
uint64 gasUsed = 5;- Specified by:
getGasUsedin interfaceContractFunctionResultOrBuilder- Returns:
- The gasUsed.
-
setGasUsed
* A quantity of "gas" used.<br/> This represents the resource units expended to execute this contract call, and correlates to transaction costs.
uint64 gasUsed = 5;- Parameters:
value- The gasUsed to set.- Returns:
- This builder for chaining.
-
clearGasUsed
* A quantity of "gas" used.<br/> This represents the resource units expended to execute this contract call, and correlates to transaction costs.
uint64 gasUsed = 5;- Returns:
- This builder for chaining.
-
getLogInfoList
* Any Log events produced by this contract call.
repeated .proto.ContractLoginfo logInfo = 6;- Specified by:
getLogInfoListin interfaceContractFunctionResultOrBuilder
-
getLogInfoCount
public int getLogInfoCount()* Any Log events produced by this contract call.
repeated .proto.ContractLoginfo logInfo = 6;- Specified by:
getLogInfoCountin interfaceContractFunctionResultOrBuilder
-
getLogInfo
* Any Log events produced by this contract call.
repeated .proto.ContractLoginfo logInfo = 6;- Specified by:
getLogInfoin interfaceContractFunctionResultOrBuilder
-
setLogInfo
* Any Log events produced by this contract call.
repeated .proto.ContractLoginfo logInfo = 6; -
setLogInfo
public ContractFunctionResult.Builder setLogInfo(int index, ContractLoginfo.Builder builderForValue) * Any Log events produced by this contract call.
repeated .proto.ContractLoginfo logInfo = 6; -
addLogInfo
* Any Log events produced by this contract call.
repeated .proto.ContractLoginfo logInfo = 6; -
addLogInfo
* Any Log events produced by this contract call.
repeated .proto.ContractLoginfo logInfo = 6; -
addLogInfo
* Any Log events produced by this contract call.
repeated .proto.ContractLoginfo logInfo = 6; -
addLogInfo
public ContractFunctionResult.Builder addLogInfo(int index, ContractLoginfo.Builder builderForValue) * Any Log events produced by this contract call.
repeated .proto.ContractLoginfo logInfo = 6; -
addAllLogInfo
* Any Log events produced by this contract call.
repeated .proto.ContractLoginfo logInfo = 6; -
clearLogInfo
* Any Log events produced by this contract call.
repeated .proto.ContractLoginfo logInfo = 6; -
removeLogInfo
* Any Log events produced by this contract call.
repeated .proto.ContractLoginfo logInfo = 6; -
getCreatedContractIDsList
Deprecated.* Replaced by values in transaction records to support `CREATE2` calls.<br/> <p> The list of smart contracts that were created by the function call.<br/> 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.<br/> This is needed for contracts created with CREATE2, which removes the trivial relationship between a new contract's Identifier and its Solidity address.
repeated .proto.ContractID createdContractIDs = 7 [deprecated = true];- Specified by:
getCreatedContractIDsListin interfaceContractFunctionResultOrBuilder
-
getCreatedContractIDsCount
Deprecated.* Replaced by values in transaction records to support `CREATE2` calls.<br/> <p> The list of smart contracts that were created by the function call.<br/> 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.<br/> This is needed for contracts created with CREATE2, which removes the trivial relationship between a new contract's Identifier and its Solidity address.
repeated .proto.ContractID createdContractIDs = 7 [deprecated = true];- Specified by:
getCreatedContractIDsCountin interfaceContractFunctionResultOrBuilder
-
getCreatedContractIDs
Deprecated.* Replaced by values in transaction records to support `CREATE2` calls.<br/> <p> The list of smart contracts that were created by the function call.<br/> 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.<br/> This is needed for contracts created with CREATE2, which removes the trivial relationship between a new contract's Identifier and its Solidity address.
repeated .proto.ContractID createdContractIDs = 7 [deprecated = true];- Specified by:
getCreatedContractIDsin interfaceContractFunctionResultOrBuilder
-
setCreatedContractIDs
@Deprecated public ContractFunctionResult.Builder setCreatedContractIDs(int index, ContractID value) Deprecated.* Replaced by values in transaction records to support `CREATE2` calls.<br/> <p> The list of smart contracts that were created by the function call.<br/> 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.<br/> This is needed for contracts created with CREATE2, which removes the trivial relationship between a new contract's Identifier and its Solidity address.
repeated .proto.ContractID createdContractIDs = 7 [deprecated = true]; -
setCreatedContractIDs
@Deprecated public ContractFunctionResult.Builder setCreatedContractIDs(int index, ContractID.Builder builderForValue) Deprecated.* Replaced by values in transaction records to support `CREATE2` calls.<br/> <p> The list of smart contracts that were created by the function call.<br/> 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.<br/> This is needed for contracts created with CREATE2, which removes the trivial relationship between a new contract's Identifier and its Solidity address.
repeated .proto.ContractID createdContractIDs = 7 [deprecated = true]; -
addCreatedContractIDs
Deprecated.* Replaced by values in transaction records to support `CREATE2` calls.<br/> <p> The list of smart contracts that were created by the function call.<br/> 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.<br/> This is needed for contracts created with CREATE2, which removes the trivial relationship between a new contract's Identifier and its Solidity address.
repeated .proto.ContractID createdContractIDs = 7 [deprecated = true]; -
addCreatedContractIDs
@Deprecated public ContractFunctionResult.Builder addCreatedContractIDs(int index, ContractID value) Deprecated.* Replaced by values in transaction records to support `CREATE2` calls.<br/> <p> The list of smart contracts that were created by the function call.<br/> 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.<br/> This is needed for contracts created with CREATE2, which removes the trivial relationship between a new contract's Identifier and its Solidity address.
repeated .proto.ContractID createdContractIDs = 7 [deprecated = true]; -
addCreatedContractIDs
@Deprecated public ContractFunctionResult.Builder addCreatedContractIDs(ContractID.Builder builderForValue) Deprecated.* Replaced by values in transaction records to support `CREATE2` calls.<br/> <p> The list of smart contracts that were created by the function call.<br/> 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.<br/> This is needed for contracts created with CREATE2, which removes the trivial relationship between a new contract's Identifier and its Solidity address.
repeated .proto.ContractID createdContractIDs = 7 [deprecated = true]; -
addCreatedContractIDs
@Deprecated public ContractFunctionResult.Builder addCreatedContractIDs(int index, ContractID.Builder builderForValue) Deprecated.* Replaced by values in transaction records to support `CREATE2` calls.<br/> <p> The list of smart contracts that were created by the function call.<br/> 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.<br/> This is needed for contracts created with CREATE2, which removes the trivial relationship between a new contract's Identifier and its Solidity address.
repeated .proto.ContractID createdContractIDs = 7 [deprecated = true]; -
addAllCreatedContractIDs
@Deprecated public ContractFunctionResult.Builder addAllCreatedContractIDs(Iterable<? extends ContractID> values) Deprecated.* Replaced by values in transaction records to support `CREATE2` calls.<br/> <p> The list of smart contracts that were created by the function call.<br/> 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.<br/> This is needed for contracts created with CREATE2, which removes the trivial relationship between a new contract's Identifier and its Solidity address.
repeated .proto.ContractID createdContractIDs = 7 [deprecated = true]; -
clearCreatedContractIDs
Deprecated.* Replaced by values in transaction records to support `CREATE2` calls.<br/> <p> The list of smart contracts that were created by the function call.<br/> 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.<br/> This is needed for contracts created with CREATE2, which removes the trivial relationship between a new contract's Identifier and its Solidity address.
repeated .proto.ContractID createdContractIDs = 7 [deprecated = true]; -
removeCreatedContractIDs
Deprecated.* Replaced by values in transaction records to support `CREATE2` calls.<br/> <p> The list of smart contracts that were created by the function call.<br/> 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.<br/> This is needed for contracts created with CREATE2, which removes the trivial relationship between a new contract's Identifier and its Solidity address.
repeated .proto.ContractID createdContractIDs = 7 [deprecated = true]; -
hasEvmAddress
public boolean hasEvmAddress()* A created contract address.<br/> If the function created a new contract (e.g. `CREATE2`), this is the primary 20-byte EVM address for that contract. <p> Every contract SHALL have a "base" EVM address that is determined by its `shard.realm.num` contract ID.<br/> This address is constructed 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> <p> Contracts created via `CREATE2` SHALL have an _additional_, primary, address that is derived from the <a href="https://eips.ethereum.org/EIPS/eip-1014"><tt>EIP-1014</tt></a> specification. This additional address SHALL NOT be directly related to the `shard.realm.num` contract ID.<br/> It should be emphasized that Contracts created via a `CREATE2` call can also be referenced via the same "base" EVM address as described above.
.google.protobuf.BytesValue evm_address = 9;- Specified by:
hasEvmAddressin interfaceContractFunctionResultOrBuilder- Returns:
- Whether the evmAddress field is set.
-
getEvmAddress
public com.google.protobuf.BytesValue getEvmAddress()* A created contract address.<br/> If the function created a new contract (e.g. `CREATE2`), this is the primary 20-byte EVM address for that contract. <p> Every contract SHALL have a "base" EVM address that is determined by its `shard.realm.num` contract ID.<br/> This address is constructed 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> <p> Contracts created via `CREATE2` SHALL have an _additional_, primary, address that is derived from the <a href="https://eips.ethereum.org/EIPS/eip-1014"><tt>EIP-1014</tt></a> specification. This additional address SHALL NOT be directly related to the `shard.realm.num` contract ID.<br/> It should be emphasized that Contracts created via a `CREATE2` call can also be referenced via the same "base" EVM address as described above.
.google.protobuf.BytesValue evm_address = 9;- Specified by:
getEvmAddressin interfaceContractFunctionResultOrBuilder- Returns:
- The evmAddress.
-
setEvmAddress
* A created contract address.<br/> If the function created a new contract (e.g. `CREATE2`), this is the primary 20-byte EVM address for that contract. <p> Every contract SHALL have a "base" EVM address that is determined by its `shard.realm.num` contract ID.<br/> This address is constructed 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> <p> Contracts created via `CREATE2` SHALL have an _additional_, primary, address that is derived from the <a href="https://eips.ethereum.org/EIPS/eip-1014"><tt>EIP-1014</tt></a> specification. This additional address SHALL NOT be directly related to the `shard.realm.num` contract ID.<br/> It should be emphasized that Contracts created via a `CREATE2` call can also be referenced via the same "base" EVM address as described above.
.google.protobuf.BytesValue evm_address = 9; -
setEvmAddress
public ContractFunctionResult.Builder setEvmAddress(com.google.protobuf.BytesValue.Builder builderForValue) * A created contract address.<br/> If the function created a new contract (e.g. `CREATE2`), this is the primary 20-byte EVM address for that contract. <p> Every contract SHALL have a "base" EVM address that is determined by its `shard.realm.num` contract ID.<br/> This address is constructed 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> <p> Contracts created via `CREATE2` SHALL have an _additional_, primary, address that is derived from the <a href="https://eips.ethereum.org/EIPS/eip-1014"><tt>EIP-1014</tt></a> specification. This additional address SHALL NOT be directly related to the `shard.realm.num` contract ID.<br/> It should be emphasized that Contracts created via a `CREATE2` call can also be referenced via the same "base" EVM address as described above.
.google.protobuf.BytesValue evm_address = 9; -
mergeEvmAddress
* A created contract address.<br/> If the function created a new contract (e.g. `CREATE2`), this is the primary 20-byte EVM address for that contract. <p> Every contract SHALL have a "base" EVM address that is determined by its `shard.realm.num` contract ID.<br/> This address is constructed 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> <p> Contracts created via `CREATE2` SHALL have an _additional_, primary, address that is derived from the <a href="https://eips.ethereum.org/EIPS/eip-1014"><tt>EIP-1014</tt></a> specification. This additional address SHALL NOT be directly related to the `shard.realm.num` contract ID.<br/> It should be emphasized that Contracts created via a `CREATE2` call can also be referenced via the same "base" EVM address as described above.
.google.protobuf.BytesValue evm_address = 9; -
clearEvmAddress
* A created contract address.<br/> If the function created a new contract (e.g. `CREATE2`), this is the primary 20-byte EVM address for that contract. <p> Every contract SHALL have a "base" EVM address that is determined by its `shard.realm.num` contract ID.<br/> This address is constructed 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> <p> Contracts created via `CREATE2` SHALL have an _additional_, primary, address that is derived from the <a href="https://eips.ethereum.org/EIPS/eip-1014"><tt>EIP-1014</tt></a> specification. This additional address SHALL NOT be directly related to the `shard.realm.num` contract ID.<br/> It should be emphasized that Contracts created via a `CREATE2` call can also be referenced via the same "base" EVM address as described above.
.google.protobuf.BytesValue evm_address = 9; -
getGas
public long getGas()* The amount of gas available for this call, sometimes referred to as the gasLimit.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.
int64 gas = 10;- Specified by:
getGasin interfaceContractFunctionResultOrBuilder- Returns:
- The gas.
-
setGas
* The amount of gas available for this call, sometimes referred to as the gasLimit.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.
int64 gas = 10;- Parameters:
value- The gas to set.- Returns:
- This builder for chaining.
-
clearGas
* The amount of gas available for this call, sometimes referred to as the gasLimit.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.
int64 gas = 10;- Returns:
- This builder for chaining.
-
getAmount
public long getAmount()* An amount, in tinybar, sent by this function call.<br/> This SHALL be zero(0) if the function called is not `payable`.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.
int64 amount = 11;- Specified by:
getAmountin interfaceContractFunctionResultOrBuilder- Returns:
- The amount.
-
setAmount
* An amount, in tinybar, sent by this function call.<br/> This SHALL be zero(0) if the function called is not `payable`.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.
int64 amount = 11;- Parameters:
value- The amount to set.- Returns:
- This builder for chaining.
-
clearAmount
* An amount, in tinybar, sent by this function call.<br/> This SHALL be zero(0) if the function called is not `payable`.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.
int64 amount = 11;- Returns:
- This builder for chaining.
-
getFunctionParameters
public com.google.protobuf.ByteString getFunctionParameters()* The smart contract function to call, and the parameters to pass to that function.<br/> These SHALL be presented in EVM bytecode function call format.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.
bytes functionParameters = 12;- Specified by:
getFunctionParametersin interfaceContractFunctionResultOrBuilder- Returns:
- The functionParameters.
-
setFunctionParameters
* The smart contract function to call, and the parameters to pass to that function.<br/> These SHALL be presented in EVM bytecode function call format.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.
bytes functionParameters = 12;- Parameters:
value- The functionParameters to set.- Returns:
- This builder for chaining.
-
clearFunctionParameters
* The smart contract function to call, and the parameters to pass to that function.<br/> These SHALL be presented in EVM bytecode function call format.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.
bytes functionParameters = 12;- Returns:
- This builder for chaining.
-
hasSenderId
public boolean hasSenderId()* The account that was the "sender" for this contract call.<br/> If this is not set it SHALL be read from the accountId in the transactionId for the contract call.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.
.proto.AccountID sender_id = 13;- Specified by:
hasSenderIdin interfaceContractFunctionResultOrBuilder- Returns:
- Whether the senderId field is set.
-
getSenderId
* The account that was the "sender" for this contract call.<br/> If this is not set it SHALL be read from the accountId in the transactionId for the contract call.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.
.proto.AccountID sender_id = 13;- Specified by:
getSenderIdin interfaceContractFunctionResultOrBuilder- Returns:
- The senderId.
-
setSenderId
* The account that was the "sender" for this contract call.<br/> If this is not set it SHALL be read from the accountId in the transactionId for the contract call.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.
.proto.AccountID sender_id = 13; -
setSenderId
* The account that was the "sender" for this contract call.<br/> If this is not set it SHALL be read from the accountId in the transactionId for the contract call.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.
.proto.AccountID sender_id = 13; -
mergeSenderId
* The account that was the "sender" for this contract call.<br/> If this is not set it SHALL be read from the accountId in the transactionId for the contract call.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.
.proto.AccountID sender_id = 13; -
clearSenderId
* The account that was the "sender" for this contract call.<br/> If this is not set it SHALL be read from the accountId in the transactionId for the contract call.<br/> This field SHALL NOT be populated when the associated `TransactionBody` in the block stream is a `ContractCreateTransactionBody` or a `ContractCallTransactionBody`.
.proto.AccountID sender_id = 13; -
getContractNoncesList
* A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call. These nonce values SHALL be the value after the contract call is completed.
repeated .proto.ContractNonceInfo contract_nonces = 14;- Specified by:
getContractNoncesListin interfaceContractFunctionResultOrBuilder
-
getContractNoncesCount
public int getContractNoncesCount()* A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call. These nonce values SHALL be the value after the contract call is completed.
repeated .proto.ContractNonceInfo contract_nonces = 14;- Specified by:
getContractNoncesCountin interfaceContractFunctionResultOrBuilder
-
getContractNonces
* A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call. These nonce values SHALL be the value after the contract call is completed.
repeated .proto.ContractNonceInfo contract_nonces = 14;- Specified by:
getContractNoncesin interfaceContractFunctionResultOrBuilder
-
setContractNonces
* A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call. These nonce values SHALL be the value after the contract call is completed.
repeated .proto.ContractNonceInfo contract_nonces = 14; -
setContractNonces
public ContractFunctionResult.Builder setContractNonces(int index, ContractNonceInfo.Builder builderForValue) * A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call. These nonce values SHALL be the value after the contract call is completed.
repeated .proto.ContractNonceInfo contract_nonces = 14; -
addContractNonces
* A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call. These nonce values SHALL be the value after the contract call is completed.
repeated .proto.ContractNonceInfo contract_nonces = 14; -
addContractNonces
* A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call. These nonce values SHALL be the value after the contract call is completed.
repeated .proto.ContractNonceInfo contract_nonces = 14; -
addContractNonces
* A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call. These nonce values SHALL be the value after the contract call is completed.
repeated .proto.ContractNonceInfo contract_nonces = 14; -
addContractNonces
public ContractFunctionResult.Builder addContractNonces(int index, ContractNonceInfo.Builder builderForValue) * A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call. These nonce values SHALL be the value after the contract call is completed.
repeated .proto.ContractNonceInfo contract_nonces = 14; -
addAllContractNonces
public ContractFunctionResult.Builder addAllContractNonces(Iterable<? extends ContractNonceInfo> values) * A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call. These nonce values SHALL be the value after the contract call is completed.
repeated .proto.ContractNonceInfo contract_nonces = 14; -
clearContractNonces
* A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call. These nonce values SHALL be the value after the contract call is completed.
repeated .proto.ContractNonceInfo contract_nonces = 14; -
removeContractNonces
* A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call. These nonce values SHALL be the value after the contract call is completed.
repeated .proto.ContractNonceInfo contract_nonces = 14; -
hasSignerNonce
public boolean hasSignerNonce()* A nonce value for the "signer account".<br/> If the contract call updated the signer nonce for the signer account (i.e. by creating another contract), this field SHALL contain the updated value.<br/> If the signer account nonce was not updated, this field SHALL be `null`.
.google.protobuf.Int64Value signer_nonce = 15;- Specified by:
hasSignerNoncein interfaceContractFunctionResultOrBuilder- Returns:
- Whether the signerNonce field is set.
-
getSignerNonce
public com.google.protobuf.Int64Value getSignerNonce()* A nonce value for the "signer account".<br/> If the contract call updated the signer nonce for the signer account (i.e. by creating another contract), this field SHALL contain the updated value.<br/> If the signer account nonce was not updated, this field SHALL be `null`.
.google.protobuf.Int64Value signer_nonce = 15;- Specified by:
getSignerNoncein interfaceContractFunctionResultOrBuilder- Returns:
- The signerNonce.
-
setSignerNonce
* A nonce value for the "signer account".<br/> If the contract call updated the signer nonce for the signer account (i.e. by creating another contract), this field SHALL contain the updated value.<br/> If the signer account nonce was not updated, this field SHALL be `null`.
.google.protobuf.Int64Value signer_nonce = 15; -
setSignerNonce
public ContractFunctionResult.Builder setSignerNonce(com.google.protobuf.Int64Value.Builder builderForValue) * A nonce value for the "signer account".<br/> If the contract call updated the signer nonce for the signer account (i.e. by creating another contract), this field SHALL contain the updated value.<br/> If the signer account nonce was not updated, this field SHALL be `null`.
.google.protobuf.Int64Value signer_nonce = 15; -
mergeSignerNonce
* A nonce value for the "signer account".<br/> If the contract call updated the signer nonce for the signer account (i.e. by creating another contract), this field SHALL contain the updated value.<br/> If the signer account nonce was not updated, this field SHALL be `null`.
.google.protobuf.Int64Value signer_nonce = 15; -
clearSignerNonce
* A nonce value for the "signer account".<br/> If the contract call updated the signer nonce for the signer account (i.e. by creating another contract), this field SHALL contain the updated value.<br/> If the signer account nonce was not updated, this field SHALL be `null`.
.google.protobuf.Int64Value signer_nonce = 15;
-