Skip to main content
A smart transaction is a transaction your Smart Account checks before it executes. A policy is the rule set used for that check. This is the core safety idea behind Earn: automation receives only the route the policy describes.

What A Policy Checks

Earn policies are program-interaction policies. That means they restrict which program can be called, which accounts must appear, and which instruction data is allowed. For Earn, those checks include:
  • The action must target the Earn vault
  • The token mint must be USDC
  • The route must use approved Kamino lending markets
  • The instruction shape must match the allowed Kamino deposit, withdraw, or setup action
  • The delegated signer must be one of the approved policy signers
The current route policy is bounded by Kamino market and USDC liquidity mint. It should not be described as a perfect per-reserve whitelist.

The Policies Earn Uses

PolicyWhat it allowsWhat it does not allow
Earn route policySame-mint Kamino withdraw and deposit actions from the Earn vaultArbitrary token transfers, arbitrary programs, or cross-mint swaps
Earn setup policyAccount setup needed for approved Kamino marketsMoving user funds outside the approved Earn path
Autodeposit policyMoving eligible USDC surplus from your wallet token account into the Earn vaultMoving below your floor, changing the mint, or sending funds elsewhere

What This Protects

The policy signer can submit an approved Earn action, but the Squads Smart Account program enforces the policy on-chain. If the transaction does not match the rule set, it fails. That protects against the most important failure mode: an automation key cannot become a general wallet key just because it is useful for Earn.

What Still Requires You

You still approve setup, manual deposits, manual withdrawals, and revocation or cleanup actions. Policies reduce the need for you to sign every optimization, but they do not remove your ownership of the account.
Policies restrict what can be executed. They do not guarantee future yield or remove market, protocol, or USDC risk.