staking
OfficialAudit DeFi staking and reward mechanisms.
AuthorPurpleAILAB
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides comprehensive knowledge and patterns for auditing Decentralized Finance (DeFi) staking and reward distribution mechanisms, identifying critical vulnerabilities.
Core Features & Use Cases
- Pattern Library: Offers code examples and explanations for common staking patterns like reward-per-token accumulators, lock periods, and boosted staking.
- Vulnerability Identification: Highlights common pitfalls such as precision loss, reentrancy, lock bypass, and dilution attacks.
- Audit Checklist: Provides a structured checklist to ensure thorough review of staking contracts.
- Use Case: An auditor can use this Skill to quickly reference best practices and known vulnerabilities when reviewing a new staking contract, ensuring all critical aspects are covered.
Quick Start
Use the staking skill to identify potential precision loss vulnerabilities in reward calculations.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: staking Download link: https://github.com/PurpleAILAB/Vigilo/archive/main.zip#staking Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.