java.lang.Object
java.lang.Record
tech.deplant.java4ever.framework.datatype.SolStruct
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontech.deplant.java4ever.binding.Abi.AbiParam[]Returns the value of theabiParamsrecord component.static booleanarrayMatcher(String typeString) Array matcher boolean.final booleanIndicates whether some other object is "equal to" this one.static SolStructFrom abi sol struct.static SolStructFrom java sol struct.static tech.deplant.java4ever.binding.Abi.AbiParamGets param.final inthashCode()Returns a hash code value for this object.static booleanHas param boolean.static ObjectserializeInputTree(tech.deplant.java4ever.binding.Abi.AbiParam param, Object inputValue) Serialize input tree object.static ObjectserializeOutputTree(tech.deplant.java4ever.binding.Abi.AbiParam param, Object outputValue) Serialize output tree object.toABI()To abi object.toJava()To java j.final StringtoString()Returns a string representation of this record class.type()Type abi type.values()Returns the value of thevaluesrecord component.
-
Constructor Details
-
SolStruct
-
-
Method Details
-
hasParam
public static boolean hasParam(tech.deplant.java4ever.binding.Abi.AbiParam[] params, String paramName) Has param boolean.- Parameters:
params- the paramsparamName- the param name- Returns:
- the boolean
-
getParam
public static tech.deplant.java4ever.binding.Abi.AbiParam getParam(tech.deplant.java4ever.binding.Abi.AbiParam[] params, String paramName) Gets param.- Parameters:
params- the paramsparamName- the param name- Returns:
- the param
-
fromJava
-
fromABI
-
arrayMatcher
Array matcher boolean.- Parameters:
typeString- the type string- Returns:
- the boolean
-
serializeInputTree
public static Object serializeInputTree(tech.deplant.java4ever.binding.Abi.AbiParam param, Object inputValue) throws tech.deplant.java4ever.binding.EverSdkException Serialize input tree object.- Parameters:
param- the paraminputValue- the input value- Returns:
- the object
- Throws:
tech.deplant.java4ever.binding.EverSdkException- the ever sdk exception
-
serializeOutputTree
public static Object serializeOutputTree(tech.deplant.java4ever.binding.Abi.AbiParam param, Object outputValue) throws tech.deplant.java4ever.binding.EverSdkException Serialize output tree object.- Parameters:
param- the paramoutputValue- the output value- Returns:
- the object
- Throws:
tech.deplant.java4ever.binding.EverSdkException- the ever sdk exception
-
toJava
-
toABI
-
type
-
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). -
abiParams
public tech.deplant.java4ever.binding.Abi.AbiParam[] abiParams()Returns the value of theabiParamsrecord component.- Returns:
- the value of the
abiParamsrecord component
-
values
-