1

I made a solidity contract but I want to get the event in another contract, is it possible to watch the event in that way?

  • I mean to watch an event in another contract – Louis Dec 13 '18 at 9:22
  • No. At the end of the function which emits the event, return the event values. Then, in any other function which calls this function, you can get these values. – goodvibration Dec 13 '18 at 9:56
3

No, events can be emitted by smart contract under Ethereum, but they are not readable by them. They are write-only.

Not the answer you're looking for? Browse other questions tagged or ask your own question.