import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card" export function AlgorithmSection() { return (

The Halflife Algorithm

Conviction Voting uses an exponential decay function (halflife) to manage how support charges up and down for proposals.

How Conviction Grows

When you start supporting a proposal, your support (conviction) doesn't immediately apply. Instead, it charges up over time according to a halflife function.

  • After 2 days (48 hours): conviction reaches 1/2 of potential value
  • After 4 days: conviction reaches 3/4 of potential value
  • After 6 days: conviction reaches 7/8 of potential value
  • The process continues asymptotically toward full value
Key Parameters

Conviction Growth Rate

Determines how quickly support charges up and down (typically 48 hours halflife)

Spending Limit

Maximum proportion of funds that can be requested by any single proposal (e.g., 10%)

Minimum Conviction

Minimum threshold required for small proposals to prevent spam (typically 2.5%)

Effective Stake

Minimum percent of token supply used to calculate thresholds (typically 20%)

) }