Public Member Functions | |
validateLength ($val) | |
val () | |
Public Member Functions inherited from EthD | |
const const | __construct ($val, array $params=[]) |
convertByAbi ($abiType) | |
validate ($val, array $params) | |
validateHexString ($val) | |
convertTo ($type) | |
toArray () | |
hexVal () | |
encodedHexVal () | |
val () | |
Public Member Functions inherited from EthDataType | |
getProperty (string $property='value', bool $returnHexVal=false) | |
setValue ($val, array $params=[]) | |
getClassName () | |
Static Public Member Functions | |
static | getDataLengthType () |
Static Public Member Functions inherited from EthD | |
static | getPrimitiveTypes () |
static | isPrimitive () |
static | typeMap (string $type) |
static | reverseTypeMap ($class_name) |
static | getSchemaType () |
static | getTypeArray () |
Static Public Member Functions inherited from EthDataType | |
const static | getClassByAbi (string $abiType) |
static | getDataLengthType () |
static | isPrimitive () |
static | getTypeClass (string $type, bool $typed_constructor=false) |
static | getAllTypeClasses () |
Static Public Member Functions inherited from EthereumStatic | |
static | getMethodSignature ($input) |
static | phpKeccak256 ($string) |
static | sha3 ($string) |
static | isValidFunction ($input) |
static | getDefinition () |
static | isValidHexQuantity ($str) |
static | isValidHexData ($str) |
static | isValidAddress ($address, $throw=false) |
static | hasHexPrefix ($str) |
static | removeHexPrefix ($str) |
static | ensureHexPrefix ($str) |
static | convertCurrency (float $amount, string $from='wei', string $to='ether') |
Protected Member Functions | |
getDataStrLength () | |
Additional Inherited Members | |
Protected Attributes inherited from EthD | |
$value | |
$abi | |
Byte data, length 32.
Represents 64 hex characters, 256 bits. Eg. TX hash.
Definition at line 12 of file EthD32.php.
|
static |
|
protected |
Returns the length in chars according to ABI length.
Definition at line 53 of file EthD32.php.
Referenced by EthD32\val().
val | ( | ) |
Return un-prefixed hex value.
Subclasses may return other types.
Definition at line 66 of file EthD32.php.
References EthD32\getDataStrLength().
validateLength | ( | $val | ) |
Implement validation.
string | $val | Hexadecimal "0x"prefixed byte value. |
Definition at line 26 of file EthD32.php.