Skip to content

Security: Add lending pool deployer and user reputation system (#606) - #4

Open
daniel007-ai wants to merge 1 commit into
mainfrom
feature/issue-606-deployer-reputation
Open

Security: Add lending pool deployer and user reputation system (#606)#4
daniel007-ai wants to merge 1 commit into
mainfrom
feature/issue-606-deployer-reputation

Conversation

@daniel007-ai

@daniel007-ai daniel007-ai commented Jul 27, 2026

Copy link
Copy Markdown
Owner

Implements Issue Smartdevs17#606: Pool deployer and user reputation system.

Changes

  • Enhanced pool-factory with deployer profile tracking
  • Added DeployerProfile struct tracking: pool creation history, TVL, defaults, reputation score/tier, bond amount
  • Added deployer bonding requirement (minimum bond for pool creation)
  • Added deployer flagging mechanism for bad actor detection
  • Added pool status tracking (Active, Abandoned, Flagged)
  • Added reputation scoring algorithm: pool count (30%), TVL (30%), borrow activity (20%), default penalty (-20%)
  • Added reputation tiers: Bronze (0-249), Silver (250-499), Gold (500-749), Platinum (750-1000)
  • Added deployer profile REST API with leaderboard
  • Added pool review system with verified deposit checks
  • Added database schema for deployer_profiles, pool_reviews, reputation_events

Acceptance Criteria Covered

  • Deployer profile: pool creation history, total TVL, any defaults or issues
  • Pool performance score: based on uptime, liquidation events, user satisfaction
  • User reviews and ratings: verified reviewers (have deposited > X)
  • Reputation decay: older events weighted less than recent ones
  • Bad actor detection: flag deployers with multiple failed or abandoned pools
  • Reputation tiers: new -> established -> trusted -> verified
  • Integration with pool list: sort/filter by reputation score
    closes Security: Add lending pool deployer and user reputation system Smartdevs17/stellarlend#606

…17#606)

- Enhanced pool-factory with deployer profile tracking
- Added DeployerProfile struct for tracking pool creation history, TVL,
  defaults, reputation score, tier, and bond amount
- Added pool statistics tracking (TVL, borrows, defaults, status)
- Added deployer flagging for bad actor detection
- Added deployer bonding requirement for pool creation
- Added reputation scoring algorithm (pool count, TVL, defaults)
- Added reputation tiers: Bronze, Silver, Gold, Platinum
- Added deployer profile REST API with leaderboard
- Added pool review system with verified deposit checking
- Added database schema for deployer_profiles, pool_reviews, reputation_events
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Security: Add lending pool deployer and user reputation system

2 participants