Module java4ever.binding
Package tech.deplant.java4ever.binding
Record Class Abi.ParamsOfEncodeInternalMessage
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Abi.ParamsOfEncodeInternalMessage
- Record Components:
abi
- Contract ABI. Can be None if both deploy_set and call_set are None.address
- Target address the message will be sent to. Must be specified in case of non-deploy message.srcAddress
- Source address of the message.deploySet
- Deploy parameters. Must be specified in case of deploy message.callSet
- Function call parameters. Must be specified in case of non-deploy message.In case of deploy message it is optional and contains parametersof the functions that will to be called upon deploy transaction.
value
- Value in nanotokens to be sent with message.bounce
- Flag of bounceable message. Default is true.enableIhr
- Enable Instant Hypercube Routing for the message. Default is false.
- Enclosing class:
Abi
public static record Abi.ParamsOfEncodeInternalMessage(Abi.ABI abi, String address, String srcAddress, Abi.DeploySet deploySet, Abi.CallSet callSet, String value, Boolean bounce, Boolean enableIhr)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionParamsOfEncodeInternalMessage
(Abi.ABI abi, String address, String srcAddress, Abi.DeploySet deploySet, Abi.CallSet callSet, String value, Boolean bounce, Boolean enableIhr) Creates an instance of aParamsOfEncodeInternalMessage
record class. -
Method Summary
Modifier and TypeMethodDescriptionabi()
Returns the value of theabi
record component.address()
Returns the value of theaddress
record component.bounce()
Returns the value of thebounce
record component.callSet()
Returns the value of thecallSet
record component.Returns the value of thedeploySet
record component.Returns the value of theenableIhr
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 thesrcAddress
record component.final String
toString()
Returns a string representation of this record class.value()
Returns the value of thevalue
record component.
-
Constructor Details
-
ParamsOfEncodeInternalMessage
public ParamsOfEncodeInternalMessage(Abi.ABI abi, String address, String srcAddress, Abi.DeploySet deploySet, Abi.CallSet callSet, String value, Boolean bounce, Boolean enableIhr) Creates an instance of aParamsOfEncodeInternalMessage
record class.- Parameters:
abi
- the value for theabi
record componentaddress
- the value for theaddress
record componentsrcAddress
- the value for thesrcAddress
record componentdeploySet
- the value for thedeploySet
record componentcallSet
- the value for thecallSet
record componentvalue
- the value for thevalue
record componentbounce
- the value for thebounce
record componentenableIhr
- the value for theenableIhr
record component
-
-
Method Details
-
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
-
srcAddress
Returns the value of thesrcAddress
record component.- Returns:
- the value of the
srcAddress
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
-
value
Returns the value of thevalue
record component.- Returns:
- the value of the
value
record component
-
bounce
Returns the value of thebounce
record component.- Returns:
- the value of the
bounce
record component
-
enableIhr
Returns the value of theenableIhr
record component.- Returns:
- the value of the
enableIhr
record component
-