Module java4ever.binding
Package tech.deplant.java4ever.binding
Record Class Abi.ParamsOfEncodeMessage
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Abi.ParamsOfEncodeMessage
- Record Components:
abi
- Contract ABI.address
- Must be specified in case of non-deploy message. Target address the message will be sent to.deploySet
- Must be specified in case of deploy message. Deploy parameters.callSet
- Must be specified in case of non-deploy message. In case of deploy message it is optional and contains parameters of the functions that will to be called upon deploy transaction. Function call parameters.signer
- Signing parameters.processingTryIndex
- Used in message processing with retries (if contract's ABI includes "expire" header). Encoder uses the provided try index to calculate message expiration time. The 1st message expiration time is specified in Client config. Expiration timeouts will grow with every retry. Retry grow factor is set in Client config: invalid input: '<'.....add config parameter with default value here> Default value is 0. Processing try index.
- All Implemented Interfaces:
Abi.MessageSource
- Enclosing class:
Abi
public static record Abi.ParamsOfEncodeMessage(Abi.ABI abi, String address, Abi.DeploySet deploySet, Abi.CallSet callSet, Abi.Signer signer, Integer processingTryIndex)
extends Record
implements Abi.MessageSource
-
Nested Class Summary
Nested classes/interfaces inherited from interface tech.deplant.java4ever.binding.Abi.MessageSource
Abi.MessageSource.Encoded
-
Constructor Summary
ConstructorsConstructorDescriptionParamsOfEncodeMessage
(Abi.ABI abi, String address, Abi.DeploySet deploySet, Abi.CallSet callSet, Abi.Signer signer, Integer processingTryIndex) Creates an instance of aParamsOfEncodeMessage
record class. -
Method Summary
Modifier and TypeMethodDescriptionabi()
Returns the value of theabi
record component.address()
Returns the value of theaddress
record component.callSet()
Returns the value of thecallSet
record component.Returns the value of thedeploySet
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of theprocessingTryIndex
record component.signer()
Returns the value of thesigner
record component.final String
toString()
Returns a string representation of this record class.type()
-
Constructor Details
-
ParamsOfEncodeMessage
public ParamsOfEncodeMessage(Abi.ABI abi, String address, Abi.DeploySet deploySet, Abi.CallSet callSet, Abi.Signer signer, Integer processingTryIndex) Creates an instance of aParamsOfEncodeMessage
record class.- Parameters:
abi
- the value for theabi
record componentaddress
- the value for theaddress
record componentdeploySet
- the value for thedeploySet
record componentcallSet
- the value for thecallSet
record componentsigner
- the value for thesigner
record componentprocessingTryIndex
- the value for theprocessingTryIndex
record component
-
-
Method Details
-
type
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
abi
Returns the value of theabi
record component.- Returns:
- the value of the
abi
record component
-
address
Returns the value of theaddress
record component.- Returns:
- the value of the
address
record component
-
deploySet
Returns the value of thedeploySet
record component.- Returns:
- the value of the
deploySet
record component
-
callSet
Returns the value of thecallSet
record component.- Returns:
- the value of the
callSet
record component
-
signer
Returns the value of thesigner
record component.- Returns:
- the value of the
signer
record component
-
processingTryIndex
Returns the value of theprocessingTryIndex
record component.- Returns:
- the value of the
processingTryIndex
record component
-