Linked Questions

1
vote
1answer
1k views

What is the function event? [duplicate]

can some please explain what is event in solidium...what we can do with event in our contract...it will be nice if you kindly explain with some code....u can use the following code to explain with ...
36
votes
3answers
9k views

Where do contract event logs get stored in the Ethereum architecture?

Background on Events: https://github.com/ethereum/wiki/wiki/Solidity-Features Events allow the convenient usage of the EVM logging facilities. Events are inheritable members of contracts. When they ...
30
votes
1answer
10k views

What are event topics?

I know that indexed arguments index the values for those arguments so that filtering will be faster. But what are topics? And what are they used for? I know that signature of an event is a topic. ...
9
votes
2answers
3k views

How to implement events in solidity

I have an error whenever I add the event line for EVM logging and to notify anyone listening that this transfer took place. function sendCoin(address receiver, uint amount) returns (bool sufficient) {...
2
votes
4answers
3k views

Getting notified after receiving tokens

Is there any way to get a notification(PN, Email etc.) when one receives ETH or tokens issued on ethereum?
1
vote
1answer
858 views

How do I get the transaction hash and boolean return value? [duplicate]

I'm making a simple time-lock contract in Solidity. In my funds withdraw function I have: function withdraw_funds() public returns (bool) { if (getAccounts[msg.sender].amount > 0) { ...
1
vote
1answer
422 views

Understanding what events are doing in Solidity

CONTEXT OF THE QUESTION: The references at the end of this post gave me the following understanding of events: Whenever a transaction takes place that is meant to alter information in the ...
1
vote
1answer
549 views

Web Server Listen For When ERC20 Token Transferred

Is it possible to have a web server listen or know when a transfer has been made on a particular ERC20 Token Contract? From what I researched, we are not able to make a HTTP request inside the ...
0
votes
1answer
445 views

Function of emitting event [duplicate]

I've recently started with Solidity and like to know about the emit event as I wasn't sure of why it is being used in the program. contract MyToken { string public name; string public symbol;...
0
votes
1answer
33 views

How event in ethereum actually works?

I'm currently working with Ethereum and smart contracts. I see that a contract can define events and emit them. Each event defines no target, so I assume it will be broadcast. But I wonder how to ...