Skip to content

Backend: Implement Yield Accrual Audit Ledger & Daily Balance Snapshot #1130

Description

@ONEONUORA

📌 Target Component

backend/src/yield_calculator.rs

📝 Description

Daily accrued yield is computed dynamically on read without persisting daily historical snapshot records in PostgreSQL.

📋 Implementation Requirements

  1. Create database table daily_yield_snapshots.
  2. Run daily cron taking balance and yield snapshot for every active inheritance plan.

🎯 Testnet Goal

Accurate historical accounting ledger for testnet users.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions