Recipe · Pausable · Ethereum, BNB Chain, Base and Arbitrum

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

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
Try it on your own contract

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.

Channels

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

Turn it on

  1. 1

    Open the contract and create a "Contract state" rule on the paused() function.

  2. 2

    Press "Check function" to see the current answer, set the condition "equals true" and how often to call.

  3. 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.

Try it on your own contract

Paste a contract address, pick the recipe, choose where alerts go. The first 14 days have Pro limits.