Skip to main content

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 the VaultRegistry for new vault deployments:

Building a Notification System

Combine event monitoring with external services:
  1. Listen for Deposit/Withdraw events across all active vaults
  2. Process events to calculate metrics (AUM changes, share price movements)
  3. Alert via Telegram, Discord, or email when thresholds are crossed
  4. Store event data for historical analytics and track record computation