Ethereum PHP
PHP interface to Ethereum JSON-RPC API.
EthB Class Reference
+ Inheritance diagram for EthB:
+ Collaboration diagram for EthB:

Public Member Functions

 validate ($val, array $params)
 
 val ()
 
- Public Member Functions inherited from EthQ
 __construct ($val, array $params=[])
 
 validate ($val, array $params)
 
 hexVal ()
 
 hexValUnpadded ()
 
 getLength ($abi)
 
 isNegative ($abi=false)
 
 isLargeNumber (Math_BigInteger $val)
 
 val ()
 
 encodedHexVal ()
 
 isNotNull ()
 
 getAbi ()
 
- 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 ()
 

Additional Inherited Members

- Static Public Member Functions inherited from EthQ
static getValidLengths ()
 
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')
 
- Public Attributes inherited from EthQ
 $value
 
const HEXPADDING = 64
 
- Protected Member Functions inherited from EthQ
 getAbiFromNumber (Math_BigInteger $number)
 
 validateAbi ($abi)
 
- Static Protected Member Functions inherited from EthQ
static splitAbi ($abi)
 
- Protected Attributes inherited from EthQ
 $abi
 
- Protected Attributes inherited from EthD
 $value
 
 $abi
 

Detailed Description

Boolean data.

Definition at line 10 of file EthB.php.

Member Function Documentation

◆ val()

val ( )

Implement Integer value.

Returns
bool Return a PHP boolean value.

Definition at line 52 of file EthB.php.


The documentation for this class was generated from the following file: