Looking at ChainLink ABI (using this tool) I see
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "from",
"type": "address"
},
{
"indexed": true,
"name": "to",
"type": "address"
},
{
"indexed": false,
"name": "value",
"type": "uint256"
},
{
"indexed": false,
"name": "data",
"type": "bytes" <----- HERE
}
],
"name": "Transfer",
"type": "event"
}
a fourth field "data" that results in signature Transfer(address,address,uint256,bytes) which translates to Keccak-256 hash of 0xe19260aff97b920c7df27010903aeb9c8d2be5d310a2c67824cf3f15396e4c16 which is different from 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef that I expect to look for.
At the same time Etherscan show the correct function hash. What I am doing wrong here? I am parsing the ABI and generating signatures for each event and this works fine for other ERC20 tokens from top 10.
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef" => array:4 [
"anonymous" => false
"inputs" => array:3 [
0 => array:3 [
"indexed" => true
"name" => "from"
"type" => "address"
]
1 => array:3 [
"indexed" => true
"name" => "to"
"type" => "address"
]
2 => array:3 [
"indexed" => false
"name" => "value"
"type" => "uint256"
]
]
"name" => "Transfer"
"type" => "event"
]