Ether Binder
Set of utilities for interacting with Ethereum and it's smart contracts with PHP, with generating ABI bindings and Ethereum-related types
Loading...
Searching...
No Matches
M8B\EtherBinder\Common\ValidatorWithdrawal Class Reference

Static Public Member Functions

static fromRPCArr (array $rpcArr)
 

Public Attributes

Address $address
 
OOGmp $amount
 
OOGmp $validatorIndex
 
OOGmp $index
 

Detailed Description

ValidatorWithdrawal represents a withdrawal event from a validator, including the amount and related indexes.

Author
DubbaThony

Member Function Documentation

◆ fromRPCArr()

static M8B\EtherBinder\Common\ValidatorWithdrawal::fromRPCArr ( array $rpcArr)
static

Constructs a ValidatorWithdrawal object from an array received through RPC.

Parameters
array$rpcArrThe array containing withdrawal data.
Returns
static The ValidatorWithdrawal object.
Exceptions
BadAddressChecksumException
InvalidHexException
InvalidHexLengthException
EthBinderLogicException

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