I got this event signature:
event Event(address indexed from, address indexed to, string text);
Which I call inside this method:
function emitEvent(address to, string calldata text) external {
emit Event(msg.sender, to, text);
}
Once I call the function EmitEvent, the data field in logs appears to be split in three different pieces:
Topics are correct: the event signature and the from and to addresses.
However, the data field is divided in 3 instead of just one string (I sent the "Hello world" text as you can see). Where does the previous data information come from? The number 32 and 11?
Thank you!