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 aParamsOfEncodeInternalMessagerecord class. -
Method Summary
Modifier and TypeMethodDescriptionabi()Returns the value of theabirecord component.address()Returns the value of theaddressrecord component.bounce()Returns the value of thebouncerecord component.callSet()Returns the value of thecallSetrecord component.Returns the value of thedeploySetrecord component.Returns the value of theenableIhrrecord 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 thesrcAddressrecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord 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 aParamsOfEncodeInternalMessagerecord class.- Parameters:
abi- the value for theabirecord componentaddress- the value for theaddressrecord componentsrcAddress- the value for thesrcAddressrecord componentdeploySet- the value for thedeploySetrecord componentcallSet- the value for thecallSetrecord componentvalue- the value for thevaluerecord componentbounce- the value for thebouncerecord componentenableIhr- the value for theenableIhrrecord 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 theabirecord component.- Returns:
- the value of the
abirecord component
-
address
Returns the value of theaddressrecord component.- Returns:
- the value of the
addressrecord component
-
srcAddress
Returns the value of thesrcAddressrecord component.- Returns:
- the value of the
srcAddressrecord component
-
deploySet
Returns the value of thedeploySetrecord component.- Returns:
- the value of the
deploySetrecord component
-
callSet
Returns the value of thecallSetrecord component.- Returns:
- the value of the
callSetrecord component
-
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-
bounce
Returns the value of thebouncerecord component.- Returns:
- the value of the
bouncerecord component
-
enableIhr
Returns the value of theenableIhrrecord component.- Returns:
- the value of the
enableIhrrecord component
-