DECAURA

“DCA Beyond the Calendar”

OriginsShipped August 29, 2026#general#defi
Repo
DECAURA banner

About

## The problem it solves

## The problem it solves

Traditional Dollar-Cost Averaging (DCA) follows a fixed schedule: buy a predetermined amount at a predetermined time. This creates two problems—**capital reserved for future purchases may remain idle**, while scheduled purchases can still occur during periods of high volatility, poor liquidity, excessive slippage, or unfavorable execution conditions.

**DCAURA** turns DCA into a **yield-aware, adaptive capital-allocation system**.

Instead of blindly executing every scheduled purchase, DCAURA continuously evaluates **market conditions, execution costs, available liquidity, yield opportunity, DCA urgency, and accumulated DCA drift** to determine whether to:

  • **FULL BUY** when execution conditions are favorable
  • **PARTIAL BUY** when only part of the allocation is economically justified
  • **RECOVERY BUY** to responsibly recover from previous delays
  • **WAIT** when waiting is more efficient
  • **SAFETY HOLD** when hard market-safety conditions are violated

When DCAURA waits, eligible reserved capital can remain productive through an **ERC-4626-compatible yield mechanism**, rather than unnecessarily sitting idle. Only the capital required for an eligible execution is withdrawn, while missed allocations are tracked as **DCA drift** and can be recovered within predefined limits.

The system is deliberately **bounded**: it does not attempt to predict or freely time the market. The off-chain decision engine recommends an action, while **on-chain smart-contract guardrails retain final authority over the user's capital**, enforcing execution limits, liquidity constraints, market safety, authorization, replay protection, and DCA objectives.

**In short, DCAURA makes recurring investment more capital-efficient, adaptive, explainable, and safer—without turning DCA into an unrestricted trading strategy.**

## Challenges we ran into

Building DCAURA required coordinating an adaptive decision engine with strict on-chain financial constraints.

The biggest challenge was ensuring that the off-chain EVS engine could recommend adaptive DCA actions without gaining unrestricted control over user funds. We solved this by separating **decision-making from enforcement**: the backend calculates recommendations, while the `DCAObligationManager` independently validates authorization, nonce, tranche limits, available capital, DCA drift, market safety, and execution constraints.

A major technical hurdle occurred during **Uniswap v4 integration**. Our initial implementation interpreted the signed `BalanceDelta` values incorrectly. The real `PoolManager` uses specific signed delta conventions for tokens owed to and received from the pool, which differed from our mock implementation. We identified the mismatch through real PoolManager integration testing, corrected the hook's accounting logic, and verified the atomic execution flow.

We also had to resolve the conflict between **DCA deadlines and unsafe market conditions**. Rather than forcing an execution simply because a deadline was reached, we implemented a Safety Hold mechanism: if market validation fails because of excessive slippage, TWAP deviation, or stale data, the transaction reverts and capital remains protected.

Finally, we needed to demonstrate the system reliably without falsely presenting simulated infrastructure as production infrastructure. We introduced explicit **DEMO, SIMULATED, LOCAL, and ON-CHAIN** states so judges can clearly distinguish what is implemented from what is still a prototype or roadmap feature.

Screenshots

DECAURA screenshot 1DECAURA screenshot 2DECAURA screenshot 3DECAURA screenshot 4DECAURA screenshot 5

Team

From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.