|
|
@ -20,10 +20,15 @@ class UserDefinedType(Type): |
|
|
|
super().__init__() |
|
|
|
super().__init__() |
|
|
|
self._type = t |
|
|
|
self._type = t |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@property |
|
|
|
|
|
|
|
def is_dynamic(self) -> bool: |
|
|
|
|
|
|
|
raise NotImplemented |
|
|
|
|
|
|
|
|
|
|
|
@property |
|
|
|
@property |
|
|
|
def type(self) -> Union["Contract", "Enum", "Structure"]: |
|
|
|
def type(self) -> Union["Contract", "Enum", "Structure"]: |
|
|
|
return self._type |
|
|
|
return self._type |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@property |
|
|
|
@property |
|
|
|
def storage_size(self) -> Tuple[int, bool]: |
|
|
|
def storage_size(self) -> Tuple[int, bool]: |
|
|
|
from slither.core.declarations.structure import Structure |
|
|
|
from slither.core.declarations.structure import Structure |
|
|
|