Inheritance diagram for EthBytes:
Collaboration diagram for EthBytes:Public Member Functions | |
| validate ($val, array $params) | |
| validateLength ($val) | |
| hexVal () | |
| encodedHexVal () | |
| rlpVal () | |
| 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 | cretateFromRLP ($hexVal) |
| 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') |
Additional Inherited Members | |
Protected Attributes inherited from EthD | |
| $value | |
| $abi | |
Complex Array or byte data.
Some Complex types base on EthBytes.
Definition at line 14 of file EthBytes.php.
|
static |
| $hexVal |
| Exception |
Definition at line 70 of file EthBytes.php.
References Rlp\decode().
Here is the call graph for this function:| encodedHexVal | ( | ) |
Definition at line 90 of file EthBytes.php.
References EthBytes\rlpVal().
Here is the call graph for this function:
|
static |
| hexVal | ( | ) |
Return hex value.
Definition at line 82 of file EthBytes.php.
References EthD\$value.
| rlpVal | ( | ) |
Return hex value.
Definition at line 101 of file EthBytes.php.
References Rlp\encode().
Referenced by EthBytes\encodedHexVal().
Here is the call graph for this function:
Here is the caller graph for this function:| val | ( | ) |
Return un-prefixed bin value.
Subclasses may return other types.
Definition at line 114 of file EthBytes.php.
References EthereumStatic\removeHexPrefix().
Here is the call graph for this function:| validateLength | ( | $val | ) |
Implement validation.
| string | $val | Hexadecimal "0x"prefixed byte value. |
| InvalidArgumentException |
Definition at line 54 of file EthBytes.php.