Package net.osslabz.evm.abi.definition
Class SolidityType.StaticArrayType
java.lang.Object
net.osslabz.evm.abi.definition.SolidityType
net.osslabz.evm.abi.definition.SolidityType.ArrayType
net.osslabz.evm.abi.definition.SolidityType.StaticArrayType
- Enclosing class:
- SolidityType
-
Nested Class Summary
Nested classes/interfaces inherited from class net.osslabz.evm.abi.definition.SolidityType
SolidityType.AddressType, SolidityType.ArrayType, SolidityType.BoolType, SolidityType.Bytes32Type, SolidityType.BytesType, SolidityType.DynamicArrayType, SolidityType.FunctionType, SolidityType.IntType, SolidityType.NumericType, SolidityType.StaticArrayType, SolidityType.StringType, SolidityType.TupleType, SolidityType.UnsignedIntType -
Field Summary
Fields inherited from class net.osslabz.evm.abi.definition.SolidityType
name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObject[]decode(byte[] encoded, int offset) byte[]encodeList(List l) The canonical type name (used for the method signature creation) E.g.intbooleanMethods inherited from class net.osslabz.evm.abi.definition.SolidityType.ArrayType
decodeTuple, encode, encodeTuple, getElementType, getTypeMethods inherited from class net.osslabz.evm.abi.definition.SolidityType
decode, getName, toString
-
Constructor Details
-
StaticArrayType
-
-
Method Details
-
getCanonicalName
Description copied from class:SolidityTypeThe canonical type name (used for the method signature creation) E.g. 'int' - canonical 'int256'- Overrides:
getCanonicalNamein classSolidityType
-
encodeList
- Specified by:
encodeListin classSolidityType.ArrayType
-
decode
- Specified by:
decodein classSolidityType
-
getFixedSize
public int getFixedSize()- Overrides:
getFixedSizein classSolidityType- Returns:
- fixed size in bytes. For the dynamic types returns IntType.getFixedSize() which is effectively the int offset to dynamic data
-
isDynamicType
public boolean isDynamicType()- Overrides:
isDynamicTypein classSolidityType
-