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

Public Member Functions

 testSimpleContract ()
 
 testSimpleContractUsingAlias ()
 

Additional Inherited Members

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

Detailed Description

EthereumStaticTest

Definition at line 11 of file SmartContractTest.php.

Member Function Documentation

◆ testSimpleContract()

testSimpleContract ( )

The used contract is referenced by its name

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

Truffle builds the json file when running

 truffle compile && truffle migrate

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

Definition at line 25 of file SmartContractTest.php.

◆ testSimpleContractUsingAlias()

testSimpleContractUsingAlias ( )

Definition at line 35 of file SmartContractTest.php.


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