Events and Monitoring
Tilt vaults emit standard ERC-4626 events plus custom events for portfolio management. You can monitor these to track vault activity, build notifications, or feed data into analytics systems.ERC-4626 Standard Events
Deposit
Emitted when an investor deposits tiltUSDC and receives shares.Withdraw
Emitted when an investor redeems shares for tiltUSDC.Transfer
Standard ERC-20 transfer event for vault share movements.Monitoring with ethers.js
Querying Historical Events
Monitoring with viem
Vault Discovery Events
Monitor theVaultRegistry for new vault deployments:
Building a Notification System
Combine event monitoring with external services:- Listen for Deposit/Withdraw events across all active vaults
- Process events to calculate metrics (AUM changes, share price movements)
- Alert via Telegram, Discord, or email when thresholds are crossed
- Store event data for historical analytics and track record computation