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

Public Member Functions

 testBytes32Length ()
 
 testBytesLength ()
 
 testBytesReturn ()
 
 testStringReturn ()
 
 testUndefinedMethod ()
 

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 12 of file SmartContractBytesTest.php.

Member Function Documentation

◆ testBytes32Length()

testBytes32Length ( )

function b2(bytes32 b) public pure returns (uint) { return b.length; }

Exceptions

Definition at line 21 of file SmartContractBytesTest.php.

◆ testBytesLength()

testBytesLength ( )

function b1(bytes b) public pure returns (uint) { return b.length; }

Exceptions

Definition at line 34 of file SmartContractBytesTest.php.

◆ testBytesReturn()

testBytesReturn ( )

function b3(bytes a) public pure returns (bytes) { return a; }

Exceptions

Definition at line 48 of file SmartContractBytesTest.php.

◆ testStringReturn()

testStringReturn ( )

function b3(string b) public pure returns (string) { return b; }

Exceptions

Definition at line 62 of file SmartContractBytesTest.php.

◆ testUndefinedMethod()

testUndefinedMethod ( )

Test undefined Method

Exceptions

Definition at line 77 of file SmartContractBytesTest.php.


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