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: <.....add config parameter with default value here> Default value is 0. Processing try index.signatureId- Signature ID to be used in data to sign preparing when CapSignatureWithId capability is enabled
- Enclosing class:
Abi
public static record Abi.ParamsOfEncodeMessage(Abi.ABI abi, String address, Abi.DeploySet deploySet, Abi.CallSet callSet, Abi.Signer signer, Integer processingTryIndex, Long signatureId)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionParamsOfEncodeMessage(Abi.ABI abi, String address, Abi.DeploySet deploySet, Abi.CallSet callSet, Abi.Signer signer, Integer processingTryIndex, Long signatureId) Creates an instance of aParamsOfEncodeMessagerecord class. -
Method Summary
Modifier and TypeMethodDescriptionabi()Returns the value of theabirecord component.address()Returns the value of theaddressrecord component.callSet()Returns the value of thecallSetrecord component.Returns the value of thedeploySetrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theprocessingTryIndexrecord component.Returns the value of thesignatureIdrecord component.signer()Returns the value of thesignerrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ParamsOfEncodeMessage
public ParamsOfEncodeMessage(Abi.ABI abi, String address, Abi.DeploySet deploySet, Abi.CallSet callSet, Abi.Signer signer, Integer processingTryIndex, Long signatureId) Creates an instance of aParamsOfEncodeMessagerecord class.- Parameters:
abi- the value for theabirecord componentaddress- the value for theaddressrecord componentdeploySet- the value for thedeploySetrecord componentcallSet- the value for thecallSetrecord componentsigner- the value for thesignerrecord componentprocessingTryIndex- the value for theprocessingTryIndexrecord componentsignatureId- the value for thesignatureIdrecord component
-
-
Method Details
-
toString
-
hashCode
-
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
-
address
-
deploySet
-
callSet
-
signer
-
processingTryIndex
Returns the value of theprocessingTryIndexrecord component.- Returns:
- the value of the
processingTryIndexrecord component
-
signatureId
Returns the value of thesignatureIdrecord component.- Returns:
- the value of the
signatureIdrecord component
-