Inheritance diagram for SHHMessage:
Collaboration diagram for SHHMessage:Public Member Functions | |
| __construct (EthD $hash=null, EthD $from=null, EthD $to=null, EthQ $expiry=null, EthQ $ttl=null, EthQ $sent=null, array $topics=null, EthD $payload=null, EthQ $workProved=null) | |
| toArray () | |
Public Member Functions inherited from EthDataType | |
| getProperty (string $property='value', bool $returnHexVal=false) | |
| setValue ($val, array $params=[]) | |
| getClassName () | |
Static Public Member Functions | |
| 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 | |
| $hash | |
| $from | |
| $to | |
| $expiry | |
| $ttl | |
| $sent | |
| $topics | |
| $payload | |
| $workProved | |
Ethereum data type SHHMessage.
Generated by scripts/generate-complex-datatypes.php based on resources/ethjs-schema.json.
Definition at line 18 of file SHHMessage.php.
| __construct | ( | EthD | $hash = null, |
| EthD | $from = null, |
||
| EthD | $to = null, |
||
| EthQ | $expiry = null, |
||
| EthQ | $ttl = null, |
||
| EthQ | $sent = null, |
||
| array | $topics = null, |
||
| EthD | $payload = null, |
||
| EthQ | $workProved = null |
||
| ) |
| EthD | $hash | |
| EthD | $from | |
| EthD | $to | |
| EthQ | $expiry | |
| EthQ | $ttl | |
| EthQ | $sent | |
| array | $topics | Array of EthD |
| EthD | $payload | |
| EthQ | $workProved |
Definition at line 76 of file SHHMessage.php.
References SHHMessage\$expiry, SHHMessage\$from, SHHMessage\$hash, SHHMessage\$payload, SHHMessage\$sent, SHHMessage\$to, SHHMessage\$topics, SHHMessage\$ttl, and SHHMessage\$workProved.
|
static |
Returns a name => type array.
Definition at line 91 of file SHHMessage.php.
| toArray | ( | ) |
Returns array with values.
Implements EthDataTypeInterface.
Definition at line 108 of file SHHMessage.php.
References Ethereum\valueArray().
Here is the call graph for this function:| $expiry |
Value for 'expiry'.
Definition at line 38 of file SHHMessage.php.
Referenced by SHHMessage\__construct().
| $from |
Value for 'from'.
Definition at line 28 of file SHHMessage.php.
Referenced by SHHMessage\__construct().
| $hash |
Value for 'hash'.
Definition at line 23 of file SHHMessage.php.
Referenced by SHHMessage\__construct().
| $payload |
Value for 'payload'.
Definition at line 58 of file SHHMessage.php.
Referenced by SHHMessage\__construct().
| $sent |
Value for 'sent'.
Definition at line 48 of file SHHMessage.php.
Referenced by SHHMessage\__construct().
| $to |
Value for 'to'.
Definition at line 33 of file SHHMessage.php.
Referenced by SHHMessage\__construct().
| $topics |
Value for 'topics'.
Definition at line 53 of file SHHMessage.php.
Referenced by SHHMessage\__construct().
| $ttl |
Value for 'ttl'.
Definition at line 43 of file SHHMessage.php.
Referenced by SHHMessage\__construct().
| $workProved |
Value for 'workProved'.
Definition at line 63 of file SHHMessage.php.
Referenced by SHHMessage\__construct().