3

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?

2
  • I mean to watch an event in another contract
    – Louis
    Dec 13, 2018 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. Dec 13, 2018 at 9:56

1 Answer 1

5

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.