share-allocation-fairness

Community

Spot fairness gaps in Sui share allocation.

AuthorPlamenTSV
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Analyzes fairness of share allocation mechanisms in Sui protocols, identifying potential timing, ordering, and configuration gaps that could allow late entrants to dilute or capture rewards.

Core Features & Use Cases

  • Classify allocation mechanisms (pro-rata, time-weighted, queue-based, epoch-based) in Sui programs using Coin<ShareToken> and Balance<ShareToken>.
  • Model late-entry attacks, time-weighting risks via clock timestamps, and PTB (partial transaction bootstrap) composition across deposits, distributions, and withdrawals.
  • Produce concrete attack sequences, risk assessments, and mitigation recommendations suitable for security audits and design reviews.

Quick Start

Run the analysis against a Sui protocol's allocation logic to generate a detailed findings report.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: share-allocation-fairness
Download link: https://github.com/PlamenTSV/plamen/archive/main.zip#share-allocation-fairness

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.