How can I create an ERC20 transfer alert with some conditions?

for example transfer amount gather than half balance

1 Like

You could create a custom event called TransferAlert on the contract that emits the current balance and transfer amount every time the transfer function is called. Then you could create a Defender Monitor that monitors for this event and gets triggered when transferAmount > currentBalance / 2