Class SolidityType.StaticArrayType

Enclosing class:
SolidityType

public static class SolidityType.StaticArrayType extends SolidityType.ArrayType
  • Constructor Details

    • StaticArrayType

      public StaticArrayType(String name)
  • Method Details

    • getCanonicalName

      public String getCanonicalName()
      Description copied from class: SolidityType
      The canonical type name (used for the method signature creation) E.g. 'int' - canonical 'int256'
      Overrides:
      getCanonicalName in class SolidityType
    • encodeList

      public byte[] encodeList(List l)
      Specified by:
      encodeList in class SolidityType.ArrayType
    • decode

      public Object[] decode(byte[] encoded, int offset)
      Specified by:
      decode in class SolidityType
    • getFixedSize

      public int getFixedSize()
      Overrides:
      getFixedSize in class SolidityType
      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:
      isDynamicType in class SolidityType