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

Public Member Functions

 __construct ($abiItem)
 
 decode (FilterChange $filterChange)
 
 getSignature ()
 
 getTopic ()
 
 getHandler ()
 
 getAbi ()
 
 getName ()
 

Protected Attributes

 $name
 
 $anonymous
 
 $inputs
 
 $abi
 

Additional Inherited Members

- 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')
 

Detailed Description

Definition at line 14 of file Event.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $abiItem)

Definition at line 22 of file Event.php.

Member Function Documentation

◆ decode()

decode ( FilterChange  $filterChange)
Parameters
\Ethereum\DataType\FilterChange$filterChange
Returns
array
Exceptions

Definition at line 35 of file Event.php.

◆ getAbi()

getAbi ( )
Returns
object

Definition at line 100 of file Event.php.

References $abi.

◆ getHandler()

getHandler ( )
Returns
string

Definition at line 93 of file Event.php.

◆ getName()

getName ( )

Definition at line 104 of file Event.php.

◆ getSignature()

getSignature ( )
Returns
string

Definition at line 71 of file Event.php.

◆ getTopic()

getTopic ( )
Returns
string

Definition at line 86 of file Event.php.

Member Data Documentation

◆ $abi

$abi
protected

Definition at line 20 of file Event.php.

◆ $anonymous

$anonymous
protected

Definition at line 18 of file Event.php.

◆ $inputs

$inputs
protected

Definition at line 19 of file Event.php.

◆ $name

$name
protected

Definition at line 17 of file Event.php.


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