Event Emit

Introduction

Triggers whenever a specific event is emitted in one of your contracts.

Example

Letโ€™s get notified every time when a spender is granted rights to withdraw tokens from an owner.
  • First of all, we need to add some ERC20 Smart Contract to Project. You can see here how to [Add new contract] into Project.
  • Click on Alerting in the navigation โ€”> New Alert โ€”> Event Emit โ€”> Contract โ€”> Select Contract โ€”> Find ERC20 Smart Contract and Choose it โ€”> Choose Approval event โ€”> Next โ€”> Choose Alert Destination โ€”> Save.
  • Thatโ€™s it! Youโ€™ll get a notification whenever the allowance of a spender for an owner is set by a call to approve.
  • When Alert was created if we want to add a description, alert level, more alert destinations, or change the name, we can do that. You can see how in Edit Alert.
Last modified 1mo ago
Copy link