Ether Binder
Set of utilities for interacting with Ethereum and it's smart contracts with PHP, with generating ABI bindings and Ethereum-related types
|
Public Member Functions | |
isSignature (string $eventSignature) | |
Static Public Member Functions | |
static | fromRPCArr (array $rpcArr) |
Public Attributes | |
Address | $address |
array | $topics |
string | $data |
int | $blockNumber |
Hash | $transactionHash |
int | $transactionIndex |
Hash | $blockHash |
int | $logIndex |
bool | $removed |
Log represents an Ethereum log entry, emitted by smart contracts.
|
static |
Constructs a Log object from an array received through RPC.
array | $rpcArr | The array containing log data. |
BadAddressChecksumException | |
InvalidHexException | |
InvalidHexLengthException | |
EthBinderLogicException |
M8B\EtherBinder\Common\Log::isSignature | ( | string | $eventSignature | ) |
Checks if the log matches the given event signature.
string | $eventSignature | The event signature to compare. |
EthBinderRuntimeException | when topics array is empty. |
EthBinderLogicException |