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

Public Member Functions

 eventCallingDataProvider ()
 
 testSimpleContract ($eventName, $eventData, $tx)
 

Additional Inherited Members

- Static Public Member Functions inherited from TestEthClient
static setUpBeforeClass ()
 
- Protected Attributes inherited from TestEthContract
 $data
 
 $contract
 

Detailed Description

The used contract is referenced by its name

"class CallableEvents" ==> ../test_contracts/build/CallableEvents.json

Truffle builds the json file when running

 truffle compile && truffle migrate

The source file is ../test_contracts/contracts/CallableEvents.sol

Definition at line 19 of file CallableEventsTest.php.

Member Function Documentation

◆ eventCallingDataProvider()

eventCallingDataProvider ( )
Returns
array

Definition at line 35 of file CallableEventsTest.php.

◆ testSimpleContract()

testSimpleContract (   $eventName,
  $eventData,
  $tx 
)

eventCallingDataProvider

Parameters
$eventName
$eventData
$tx
Exceptions

Definition at line 68 of file CallableEventsTest.php.


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