This alert type triggers whenever a specific event is emitted in one of your contracts.
Let’s get notified every time a spender is granted rights to withdraw tokens from an owner.
Add an ERC20 Smart Contract to Project. You can see here how to Add a new contract to your Project.
Go to Alerting in the side navigation —>New Alert—>Event Emit —> Address —> Select Address —> Find the ERC20 Smart Contract —>Choose the contract —> Choose the Approval event —> Next —> Choose an Alert Destination —> Save.
Once done, you'll get a notification whenever a call to approve sets the spender allowance for an owner.
After creating an Alert, you can further customize it by changing its name, writing a description, setting a level, and adding more destinations. You can do this by editing the Alert in a few steps.