presaleClaims
Function Type: internal
The presaleClaims
function enforces participation rules for presale stakers by validating eligibility conditions before allowing staking or unstaking operations.
Parameters
Parameter | Type | Description |
---|---|---|
_isStaking | bool | true = Stake, false = Unstake |
_user | address | User address |
Workflow
- Public Staking Status: Verifies
allowPublicStaking.flag
is disabled (presale staking is only valid when public staking is not active) - Presale Participant Verification: Confirms the user is registered as a presale participant
- Token Limit Enforcement: Ensures the user has not exceeded the 2 Staking maximum allocation