Skip to content

Audit LiquidStaking Contract Reward Distribution Math #577

Description

@Ceejaytech25

📋 Issue #577: Audit LiquidStaking Contract Reward Distribution Math

💡 Description & Objective

This issue tracking item focuses on addressing Audit LiquidStaking Contract Reward Distribution Math within the liquid-staking component scope. Contributors should follow the detailed guidelines below to implement, document, and test the solution correctly.


🛠️ Step-by-Step Implementation Guide

To solve this issue, please proceed as follows:

  • Verify reward distributions decimal precision underflow/overflow.
  • Ensure formatting rules are respected before pushing.

🧪 Local Validation

Validate your changes locally by running:

cargo test --manifest-path contracts/Cargo.toml

🤝 Contribution Guidelines

🌿 1. Branch Naming Rules

Create a new branch from main using the following exact format:

feature/issue-577-audit-liquidstaking-contract-reward

💬 2. Commit Message Standard

Use Conventional Commits format when creating commits. Your final commit (or PR squash commit) must include:

feat(liquid-staking): audit liquidstaking contract reward distribution math (closes #577)

Example: feat(liquid-staking): audit liquidstaking contract reward distribution math closes #577

🚀 3. Pull Request Details

  • Ensure all tests pass locally.
  • Do not commit local SQLite files or lock files.
  • Submit your branch for peer review.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions