Class ScalarDefinition
-
- All Implemented Interfaces:
@Serializable() public final class ScalarDefinition implements IGenericDefinition
Definition of a scalar in a Wrap ABI. A scalar is a primitive data type that represents a single value.
-
-
Constructor Summary
Constructors Constructor Description ScalarDefinition(String type, Integer kind, String name, Boolean required)
-
Method Summary
-
-
Method Detail
-
getType
String getType()
Type of the scalar. Must be one of "UInt", "UInt8", "UInt16", "UInt32", "Int", "Int8", "Int16", "Int32", "String", "Boolean", "Bytes", "BigInt", "BigNumber", or "JSON".
-
getRequired
Boolean getRequired()
Boolean indicating whether the scalar is required or not.
-
-
-
-