epic-5-dividend

Calculate investor dividends from revenue and share permille.

Updated Apr 26, 2026
One-click install
npx skills add https://github.com/wangzeping114/shareflow --skill epic-5-dividend
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: epic-5-dividend
Source: https://github.com/wangzeping114/shareflow/tree/main/.claude/skills/epic-5-dividend
Command: npx skills add https://github.com/wangzeping114/shareflow --skill epic-5-dividend

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the calculation and distribution of investor dividends based on share permille, enabling transparent and timely payout records.

Core Features & Use Cases

  • Dividend calculation: compute DividendAmount = RevenueAmount * SharePermille / 1000 for every occupied slot.
  • Two triggering modes: scheduled (Quartz) and manual payout triggers.
  • Dividend records: persist per-investor records with status: Calculated, Confirmed, Distributed.

Quick Start

Run the dividend engine to generate records for a given revenue and verify that each record reflects the correct share-permille calculation.

Frequently Asked Questions about epic-5-dividend

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate dividend calculation and distribution for multiple investors?

You can automate dividend distribution by triggering a scheduled or manual payout engine that calculates each investor's share. The system generates per-investor dividend records and applies a fixed formula to ensure transparent payouts.

How does dividend calculation work based on share permille?

Dividend calculation based on share permille uses the formula DividendAmount = RevenueAmount * SharePermille / 1000. This computes the exact payout amount for every investor slot based on their proportional ownership share.

Can I schedule automated dividend payouts instead of triggering them manually?

Yes, you can schedule automated dividend payouts using Quartz scheduling triggers. The system supports both scheduled automation and manual payout triggers to generate and distribute dividend records per investor.

What statuses do automated dividend records go through during distribution?

Automated dividend records transition through three statuses: Calculated, Confirmed, and Distributed. This lifecycle ensures accurate record-keeping from initial computation through final wallet credit integration.

Does the dividend distribution engine integrate with payment events to credit wallets?

Yes, the dividend distribution engine integrates with a payment event to trigger wallet credits. Once records reach the Distributed status, the payment event executes the actual transfer of funds to investor wallets.

What is the best way to track investor dividends for projects with multiple stakeholders?

The best way to track investor dividends is generating per-investor records with status tracking. This record-keeping approach maintains a transparent history of Calculated, Confirmed, and Distributed states for every payout cycle.