I am invoking the buyTicket function of contract from account "0x14723A09ACff6D2A60DcdF7aA4AFf308FDDC160C" in remix IDE with 20 ethers which is clear from log but confused what is "from" and "topic" addresses in Remix ide as per log below any idea please ? Thanks
event Deposit(address _from, uint _amount);
function buyTicket() public payable returns (bool success) {
if (numRegistrants >= quota) { return false; } // see footnote
registrantsPaid[msg.sender] = msg.value;
numRegistrants++;
emit Deposit(msg.sender, msg.value);
return true;
}
Remix Ide Log
[
{
"*from*": "0x692a70d2e424a56d2c6c27aa97d1a86395877b3a",
"***topic***": "0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c",
"event": "Deposit",
"args": {
"0": "0x14723A09ACff6D2A60DcdF7aA4AFf308FDDC160C",
"1": "20",
"_from": "0x14723A09ACff6D2A60DcdF7aA4AFf308FDDC160C",
"_amount": "20",
"length": 2
}
}
]