24 $this->abi = $abiItem;
25 $this->inputs = $abiItem->inputs;
26 $this->name = $abiItem->name;
27 $this->anonymous = $abiItem->anonymous;
41 $indexedValues = array_slice($filterChange->topics, 1);
43 foreach ($this->inputs as $i => $param) {
44 if ($param->indexed) {
45 $values[$param->name] = $indexedValues[$i]->convertByAbi($param->type);
48 $abiDecode[] = $param;
53 if (count($abiDecode)) {
54 $decoded = Abi::decode($abiDecode, self::removeHexPrefix($filterChange->data->hexVal()));
55 foreach ($abiDecode as $i => $param) {
56 $values[$param->name] = $decoded[$i];
61 foreach ($this->inputs as $i => $param) {
62 $return[$param->name] = $values[$param->name];
72 $sign = $this->name .
'(';
73 foreach ($this->inputs as $i => $item) {
75 if ($i < count($this->inputs) - 1) {
87 return $this->sha3($this->getSignature());
94 return 'on' . ucfirst($this->name);
decode(FilterChange $filterChange)