AbstractEventFilter
in package
AbstractYes
Table of Contents
Properties
- $buffer : array<string|int, mixed>
- $filterParams : array<string|int, mixed>
- $fromBlock : null|int|BlockParam
- $rpc : AbstractRPC
- $rpcFilter : RPCFilter|null
- $target : Address
- $toBlock : null|int|BlockParam
Methods
- eventClassName() : string
- installFilter() : void
- isDone() : bool
- setFromBlock() : static
- setToBlock() : static
- assertType() : void
- parseFetchNext() : AbstractEvent|null
- validateParams() : void
- validatorTypes() : array<string|int, mixed>
Properties
$buffer
protected
array<string|int, mixed>
$buffer
= []
$filterParams
protected
array<string|int, mixed>
$filterParams
= []
$fromBlock
protected
null|int|BlockParam
$fromBlock
= null
$rpc
protected
AbstractRPC
$rpc
$rpcFilter
protected
RPCFilter|null
$rpcFilter
= null
$target
protected
Address
$target
$toBlock
protected
null|int|BlockParam
$toBlock
= null
Methods
eventClassName()
public
abstract static eventClassName() : string
Return values
stringinstallFilter()
public
installFilter() : void
Tags
isDone()
public
isDone() : bool
Return values
boolsetFromBlock()
public
setFromBlock(null|int|BlockParam $fromBlock) : static
Parameters
- $fromBlock : null|int|BlockParam
Tags
Return values
staticsetToBlock()
public
setToBlock(null|int|BlockParam $toBlock) : static
Parameters
- $toBlock : null|int|BlockParam
Tags
Return values
staticassertType()
protected
assertType(mixed $instance, string $wantType, string $index) : void
Parameters
- $instance : mixed
- $wantType : string
- $index : string
Tags
parseFetchNext()
protected
parseFetchNext() : AbstractEvent|null
Tags
Return values
AbstractEvent|nullvalidateParams()
protected
validateParams() : void
Tags
validatorTypes()
protected
abstract static validatorTypes() : array<string|int, mixed>