Alert on abnormal token minting
An attacker who gets mint rights mints tokens and sells them into pools. SmartAlert watches your ERC-20 minting three ways: minting in 15 minutes worth more than your $ threshold; minting in an hour N times the average hour of last week (5 times by default); totalSupply up by a set percentage over 15 minutes, an hour or a day.
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- Watches
- Minting of your ERC-20 token and its totalSupply
- Fires
- Minting in 15 minutes above the $ threshold; minting in an hour N times last week's norm; totalSupply up X% over the window
- Severity
- Critical
- Speed
- After the network confirms the block
- Networks
- Ethereum, BNB Chain, Base, Arbitrum
- Plan
- $ threshold and norm: Free and above; totalSupply growth: Pro and above
TemplateOffered automatically for ERC-20 tokens
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.
How to enable
- 1
Add the token address.
- 2
Open the "Abnormal token mint" recipe and pick the mode: $ threshold, norm or totalSupply growth. totalSupply needs a
totalSupply()function in the ABI. - 3
Pick a channel.
Why it matters
Tokens do not have to be stolen: they can be printed. Every unauthorized token is sold into pools against real holders, and the sooner the team learns about the mint, the less gets out.
Related recipes
Alert on large ERC-20 transfers
Get an alert when a single token transfer is larger than a limit you set, in tokens, not wei.
Alert when a role is granted or revoked
Watch RoleGranted and RoleRevoked on OpenZeppelin AccessControl contracts.
Alert on new DAO proposals
SmartAlert tells you about every new proposal in your DAO's Governor: what it will do, when voting ends, and a flag on delay changes, role grants, mints and contract upgrades.
Try it on your own contract
Paste a contract address, pick the recipe, choose where alerts go. The first 14 days have Pro limits.