Public Member Functions | |
__construct (array $topics, EthD $payload, EthQ $priority, EthQ $ttl, EthD $from=null, EthD $to=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 | |
$topics | |
$payload | |
$priority | |
$ttl | |
$from | |
$to | |
Generated by scripts/generate-complex-datatypes.php based on resources/ethjs-schema.json.
Definition at line 18 of file SHHPost.php.
__construct | ( | array | $topics, |
EthD | $payload, | ||
EthQ | $priority, | ||
EthQ | $ttl, | ||
EthD | $from = null , |
||
EthD | $to = null |
||
) |
Definition at line 58 of file SHHPost.php.
References SHHPost\$from, SHHPost\$payload, SHHPost\$priority, SHHPost\$to, SHHPost\$topics, and SHHPost\$ttl.
|
static |
Returns a name => type array.
Definition at line 70 of file SHHPost.php.
toArray | ( | ) |
Returns array with values.
Implements EthDataTypeInterface.
Definition at line 84 of file SHHPost.php.
References Ethereum\valueArray().
$from |
$payload |
Value for 'payload'.
Definition at line 28 of file SHHPost.php.
Referenced by SHHPost\__construct().
$priority |
Value for 'priority'.
Definition at line 33 of file SHHPost.php.
Referenced by SHHPost\__construct().
$to |
$topics |
$ttl |