PerseusPERSEUS
SPECIFICATION • ARCHITECTURE 01

THE PROTOCOL

CONTINUOUS STREAM LIQUIDITY AND STAKING MECHANICS ON ELYSIUM.

01

PHILOSOPHY & ETHOS

Perseus is built on one idea: capital should keep moving. Idle deposits should earn every block, and nothing should stand between you and your principal. Perseus turns that idea into autonomous, non-custodial staking infrastructure engineered specifically for Elysium.

Traditional staking systems rely on rigid lockup epochs, punitive slashing schedules, and gas-intensive multi-stage interactions. Perseus replaces friction with continuous flow: USDC deposited into the smart contract instantly enters an algorithmic reward stream calculated on every single block with zero custody surrender.

02

MATHEMATICAL ACCOUNTING MODEL

Perseus implements constant-time O(1) Synthetix-standard reward distribution. Regardless of whether there are 10 stakers or 100,000 stakers, every deposit, withdrawal, and claim executes with minimal computation and deterministic gas.

Accumulated Reward Per Token Equation
r(t) = r(t₀) + [ (t - t₀) × R × 10¹⁸ ] / S
Where R is the protocol reward rate per second, S is the total staked USDC supply in the contract, and (t - t₀) is the elapsed duration since the last checkpoint.
User Claimable Reward Calculation
E(u) = E_stored(u) + [ s(u) × ( r(t) - r_paid(u) ) ] / 10¹⁸
Where s(u) represents user balance, and r_paid(u) represents the reward per token checkpoint already settled.
03

LIFECYCLE OF STAKED CAPITAL

Deposit (Stake USDC)User deposits USDC into KAWAStaking.sol via standard ERC-20 approval. Account checkpoint is immediately captured on-chain.
Continuous StreamPerseus yield accrues continuously every second without requiring manual re-staking or lock-in penalties.
Claim (Harvest Rewards)Accrued Perseus rewards are transferred directly to the user wallet while the staked USDC principal remains active.
Exit (Unstake USDC)Users can withdraw their staked USDC principal at any time with zero lockup penalty and instant settlement.
04

SECURITY INVARIANTS & AUDIT

GUARD
ReentrancyGuard

All state-modifying deposit, withdrawal, and claim functions enforce OpenZeppelin nonReentrant execution.

TRANSFER SAFETY
OpenZeppelin SafeERC20

Strict boolean verification handles non-standard ERC-20 return behaviors safely.

NETWORK
Elysium

Staking contracts are deployed on the Elysium network.