Skip to content

[CRITICAL] PULSE token has no supply cap — unbounded inflation via rewards and referrals #164

Description

@grantfox-oss

Summary

pulse_token/src/lib.rs mint (lines ~88–114) accepts any amount with no supply ceiling. total_supply can grow without bound. Every user action — claim, register_referral, reward, reward_bonus — mints fresh PULSE with no aggregate cap enforced.

Impact

  • Infinite inflation: there is no MAX_SUPPLY; protocol inflation is unbounded by design.
  • Economic dilution: early rewards lose value as supply is diluted by later minting.
  • Governance bypass: any trusted minter can trigger unbounded issuance.

Fix

  • Add a MAX_SUPPLY constant and check total_supply + amount <= MAX_SUPPLY in mint.
  • Emit a SupplyCapEnforced event on initialization for transparency.
  • Document the cap and the minting authority model.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSThird CampaignCampaign: Third CampaigncriticalCritical severity - funds at risktokenPULSE token contract

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions