Alert when a contract's paused() returns true
Not every contract emits a Paused event, and an event is easy to miss if it came before you started watching. SmartAlert calls paused() on the contract every minute, 5 minutes, 15 minutes or hour and alerts when the answer becomes true.
The rule
This is how the rule looks in the new-alert form. You enter the contract address when you create it.
Rule
from contract events- Watch
- The answer of the contract's
paused()function - Fire when
paused()=true- Severity
- Critical
- No data
- Report as "no data"
- Plan
- Pro and above
Where it would have fired
Every rule can be checked on history before you turn it on: you see where it would have fired over the last days.
Where the alert goes
Telegram on every plan; Slack, Discord and webhook on paid plans. A new project gets Pro limits for 14 days, no card needed.
- TelegramFree
- SlackPro
- DiscordPro
- WebhookPro
Works on: Ethereum, BNB Chain, Base, Arbitrum. · Free plan: up to 3 rules.
Turn it on
- 1
Open the contract and create a "Contract state" rule on the
paused()function. - 2
Press "Check function" to see the current answer, set the condition "equals true" and how often to call.
- 3
Choose a channel.
Why it matters
A pause stops deposits, withdrawals and liquidations. You need to know before your users do, even when the pause was set without an event.
Related recipes
Alert when a contract is paused or unpaused
Get notified when Paused or Unpaused fires on a Pausable contract.
Alert when contract ownership is transferred
Get a Telegram, Slack or Discord alert the moment OwnershipTransferred fires on your Ethereum, BNB Chain, Base or Arbitrum contract.
Try it on your own contract
Paste a contract address, pick the recipe, choose where alerts go. The first 14 days have Pro limits.