How It Works

How It Works

The Tasmil system — vaults, strategies, rebalance engine, AI agents, and fees

TL;DR

Tasmil runs on four cron jobs: pool discovery (every 20 min), position sync (every 5 min), rebalance (every 10 min), and harvest (every 4 hours). Each serves one job in the yield pipeline. Together they handle everything from pool selection to reward distribution.

The 4 Cron Jobs

JobFrequencyWhat It Does
Pool DiscoveryEvery 20 minScans Blend + Soroswap pools, computes APY and risk scores, updates the pool database
Position SyncEvery 5 minReads on-chain balances for every vault, updates position rows, tracks HWM
RebalanceEvery 10 minComputes target weights, detects drift >5%, deploys/withdraws as needed
HarvestEvery 4 hoursClaims BLND emissions from Blend lending positions, re-deploys into vault

These jobs run server-side (backend NestJS). They never run in your browser. You don't need the app open for the engine to work.

The Pipeline

Deposit -> pool discovery finds opportunities -> rebalance engine computes weights -> position sync confirms on-chain state -> harvest claims extras.

Each step is documented in detail: Vaults & Presets - Strategies - Rebalance Engine - AI Agents - Fees & Yield.

On this page