Epochs & Phases
Epoch Overview
An Epoch is a complete game cycle in 5xFaction. Each epoch lasts 7 days and consists of two phases:
Deposit Phase: 2 days β Players can join factions and stake
Lock Phase: 5 days β Strategy is locked, yield is generated
Epoch Timeline
7-Day Cycle Overview
flowchart LR
subgraph DEPOSIT["π₯ DEPOSIT PHASE"]
D1[Day 1]
D2[Day 2]
end
subgraph LOCK["π LOCK PHASE"]
D3[Day 3]
D4[Day 4]
D5[Day 5]
D6[Day 6]
D7[Day 7]
end
DEPOSIT --> LOCK
LOCK --> R[βοΈ Resolution]
R --> DEPOSITDay-by-Day Breakdown
1
Deposit
π’ Open
Join faction, Stake, Withdraw, Adjust
2
Deposit
π’ Open
Join faction, Stake, Withdraw, Adjust
3
Lock
π Locked
Withdraw only
4
Lock
π Locked
Withdraw only
5
Lock
π Locked
Withdraw only
6
Lock
π Locked
Withdraw only
7
Lock
π Locked
Withdraw only β Resolution
Phase Summary
Deposit Phase
2 days (48 hours)
Players join factions, stake USDC, analyze TVL
Lock Phase
5 days (120 hours)
Strategy locked, yield is generated from DeFi
Resolution
End of Day 7
Winner calculated, yield distributed, new epoch starts
Phase Details
Deposit Phase (2 Days / 48 Hours)
Join a faction
β Yes
Deposit USDC
β Yes
Add more stake
β Yes
Withdraw
β Yes
View TVL/Scores
β Yes
During the deposit phase, the game is dynamic:
TVL changes constantly as players deposit
Scores fluctuate based on faction distribution
Strategy can be adjusted until phase ends
Lock Phase (5 Days / 120 Hours)
Join a faction
β No
Deposit USDC
β No
Add more stake
β No
Withdraw
β Yes
View TVL/Scores
β Yes
During the lock phase:
No new deposits or faction changes
Final strategy is locked
Players await results
Yield is actively generated from DeFi lending
Why 5 Days Lock Period?
The extended lock period serves important purposes:
Yield Generation β More time for DeFi protocols to generate meaningful yield
Strategic Commitment β Players must commit to their choice
Reduced Gas Costs β Fewer epoch transitions means lower total gas
Market Stability β Longer cycles reduce speculation and manipulation
Phase Transitions
Epoch End Resolution
When an epoch ends (after 7 days total):
Calculate Final Scores
All faction TVLs are locked
Pentagon scoring formula applied
Determine Winner
Highest score wins
Ties: Lower Clan ID wins (rare edge case)
Distribute Yield
Total yield calculated from DeFi returns (5 days of yield)
Yield goes to winning faction members
Proportional to each member's stake
Trigger Next Epoch
clearCanvas()function calledNew deposit phase begins
Previous TVL positions remain (unless withdrawn)
Timing Mechanics
Time Calculations
Duration Constants
epochDuration
604,800 seconds
7 days total
DEPOSIT_PHASE_DURATION
172,800 seconds
2 days deposit
Lock Phase
432,000 seconds
5 days lock
Strategic Timing
Day 1-2: Deposit Phase
Early (Day 1)
Scout the landscape, watch for big players, minimal commitment
Mid (Day 1-2)
Patterns emerge, counter-strategy forms, key decision window
Late (Day 2)
Last-minute pivots, maximum information, highest risk/reward
Day 3-7: Lock Phase
Day 3-4
Monitor positions, yield starts accumulating
Day 5-6
Final standings become clearer
Day 7
Epoch resolution, prepare for next cycle
Weekly Schedule Example
Last updated
