Skip to content

Implement un-staking wait period #23

Open

Description

@meshackyaro

Description

This issue aims to address the implementation of Implement un-staking wait period.

The core objective is to: Require jurors to wait 7 days before un-staking their USDC collateral.

By completing this feature, we will ensure that the TrustFlow protocol maintains its high standards for security, usability, and decentralized logic. This issue requires careful attention to the Smart Contracts architecture and adherence to the existing project conventions.

When picking up this issue, please ensure you document any new dependencies or architectural decisions made during development.

Component

Smart Contracts

Difficulty

🔴 Hard

Tasks

  • Review Soroban architecture and soroban-cli usage
  • Implement Rust logic for: Implement un-staking wait period
  • Write comprehensive unit tests in Rust
  • Ensure proper event emission for indexing
  • Run cargo fmt and cargo clippy
  • Verify soroban contract build successfully compiles to WASM without bloating size

Acceptance Criteria

  • Feature accurately implements the objective: Require jurors to wait 7 days before un-staking their USDC collateral.
  • Any PR that introduces Rust errors is automatically blocked
  • CI pipeline runs in under 3 minutes per PR
  • Code is properly reviewed and approved by codeowners

Estimated Time

1-3 days

Activity

  1. added
    enhancement
    on Jun 22, 2026
  2. added
    GrantFox OSS
    Maybe Rewarded
    Official Campaign
    on Jun 22, 2026
  3. Biokes commented on Jun 29, 2026

    @Biokes
    Contributor

    Good day maintainer,
    I will like yo work on this issue,
    With years of experience in software engineering, Getting this issue fixed without regression is assured.

  4. grantfox-oss commented on Jun 29, 2026

    @grantfox-oss

    🦊 GrantFox — @Biokes has been assigned to this issue as part of the Official Campaign campaign!

    Next steps:

    1. Open a Pull Request referencing this issue (e.g., Closes #23)
    2. Your PR will be reviewed by the trustflow-protocol maintainers

    Good luck! Track your progress on GrantFox.

  5. added
    priority: low
    difficulty: hard
    on Jul 20, 2026
  6. added
    Official Campaign | FWC26
    on Jul 22, 2026
  7. ranjeet150 commented on Sep 15, 2026

    @ranjeet150

    Hello team,

    I can tackle Implement un-staking wait period. Proposed implementation roadmap:

    • Analysis: Inspect current behavior and edge cases in trustflow-protocol/trustflow-contract
    • Core Implementation: Structure Soroban contract handlers for Implement un-staking wait period following project idioms and storage invariants.
    • Quality Assurance: Ensure contract compiles cleanly and passes all cargo tests without warnings.

    Looking forward to contributing—please assign whenever convenient!

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

    GrantFox OSSMaybe RewardedOfficial CampaignOfficial Campaign | FWC26difficulty: hardenhancementpriority: low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions