Whitelisted Callers

Introduction

Triggers whenever an address that is not whitelisted calls one of your contracts.

Example

Letโ€™s get notified every time when someone who isn't on the whitelist calls our smart contract.
  • First of all, we need to add Smart Contract to Project. You can see here how to [Add new contract] into Project.
    โ€‹
  • Click on Alerting in the navigation โ€”> New Alert โ€”> Whitelisted Callers โ€”> Contract โ€”> Select Contract โ€”> Find Smart Contract and Choose it โ€”> Paste address and click on Add button โ€”> Next โ€”> Choose Alert Destination โ€”> Save.
  • Thatโ€™s it! Youโ€™ll get a notification whenever someone who has not whitelisted calls one of your contracts.
  • 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