Package net.osslabz.evm.abi.definition
Class SolidityType.IntType
java.lang.Object
net.osslabz.evm.abi.definition.SolidityType
net.osslabz.evm.abi.definition.SolidityType.NumericType
net.osslabz.evm.abi.definition.SolidityType.IntType
- Direct Known Subclasses:
SolidityType.AddressType,SolidityType.BoolType
- 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 TypeMethodDescriptiondecode(byte[] encoded, int offset) static BigIntegerdecodeInt(byte[] encoded, int offset) byte[]Encodes the value according to specific type rulesstatic byte[]encodeInt(int i) static byte[]encodeInt(BigInteger bigInt) The canonical type name (used for the method signature creation) E.g.Methods inherited from class net.osslabz.evm.abi.definition.SolidityType
decode, getFixedSize, getName, getType, isDynamicType, toString
-
Constructor Details
-
IntType
-
-
Method Details
-
decodeInt
-
encodeInt
public static byte[] encodeInt(int i) -
encodeInt
-
getCanonicalName
Description copied from class:SolidityTypeThe canonical type name (used for the method signature creation) E.g. 'int' - canonical 'int256'- Overrides:
getCanonicalNamein classSolidityType
-
decode
- Specified by:
decodein classSolidityType
-
encode
Description copied from class:SolidityTypeEncodes the value according to specific type rules- Specified by:
encodein classSolidityType
-