4. Platform-Specific Locking
Platforms registering on PATH Protocol must stake PATH tokens with a special lock schedule:
5 years with monthly linear unlock during the period.
Platform Lock Schedule
Platform Lock Schedule:
├─> Year 0-5: Linear unlock per month during 5-year period (60 months = ~1.667% per month)
└─> Year 5+: Fully unlockedLock Details
Lock Period: 5 years (1,825 days = 60 months = 157,680,000 seconds)
Unlock Mode: Linear monthly unlock during the 5-year period
Total Duration: 5 years (1,825 days = 157,680,000 seconds)
Unlock Rate: ~1.6667% per month (100% ÷ 60 months)
Reward Multiplier: 1.0x (platforms have other benefits like fee earnings)
Monthly Unlock Calculation
// Calculate unlockable amount for platform stake
// Linear unlock happens DURING the 5-year lock period
fn calculate_platform_unlockable(
schedule: &PlatformLockSchedule,
staked_amount: u64,
current_time: i64,
) -> Result<u64> {
let elapsed = current_time - schedule.lock_start_time;
// Past full unlock (after 5 years)
if elapsed >= schedule.lock_duration {
return Ok(staked_amount);
}
// Linear unlock during the 5-year period
// Calculate percentage: (elapsed / lock_duration) × 100%
let unlock_percentage_bps = (elapsed as u128 * 10000u128)
.checked_div(schedule.lock_duration as u128)
.ok_or(ErrorCode::MathOverflow)?;
let unlock_percentage_bps = unlock_percentage_bps.min(10000);
// Calculate unlockable amount
let unlockable = (staked_amount as u128 * unlock_percentage_bps)
.checked_div(10000u128)
.ok_or(ErrorCode::MathOverflow)?;
Ok(unlockable as u64)
}Platform Lock Benefits
Platform Registration: Required to register as a platform
Fee Earnings: Earn 0.1% of trading volume from markets created
Governance Weight: Higher voting power (1.5x for platform stakes)
Platform Recognition: Badge/status for long-term commitment
Priority Display: Platforms with locked stakes get priority in listings
Platform Unlock Timeline
5-Year Period (Linear Unlock During Lock):
Last updated

