← SovereignSwap
Testnet Pending

On-Chain Architecture

Smart Contracts

Five auditable contracts on Base — token, staking, presale, team vesting, and revenue router. Written in Solidity 0.8.24, tested with Foundry.

5

Contracts

75/75

Tests

Pass

Test Result

Base

Network


Deploy Status

Awaiting testnet deployment

Deploy script dry-run passes. Pending deployer wallet ETH on Base Sepolia. Mainnet deploy follows after testnet verification.

NetworkBase Sepolia (testnet) (chain 84532)
Deployer0xcD709302Acf119F7
ToolFoundry forge script
SourcePublished at deploy

Contract Details

SovaiToken

SovaiToken.sol

ERC-20 + EIP-2612 permit. Fixed 100M supply, no mint authority after deploy.

5 tests ✓
  • ·100,000,000 SOVAI fixed supply
  • ·EIP-2612 gasless approvals (permit)
  • ·Ownable — renounced after initial distribution
  • ·No inflation, no admin mint
Address: not yet deployedPending

SovaiStaking

SovaiStaking.sol

Time-locked staking with multiplier tiers. USDC reward distribution from protocol revenue.

10 tests ✓
  • ·4 lock tiers: 30/90/180/365 days
  • ·Multipliers: 1.0×–2.0× (bps-based)
  • ·USDC distributions from protocol revenue via RevenueRouter
  • ·GPU oracle bonus: up to +0.5× for verified nodes
  • ·40M SOVAI rewards pool (40% of supply)
Address: not yet deployedPending

SovaiPresale

SovaiPresale.sol

Public presale at $0.0005/SOVAI. USDC payment, 30-day claim cliff.

24 tests ✓
  • ·Price: $0.0005 USDC per SOVAI
  • ·Hard cap: $7,500 USDC (15M tokens)
  • ·Min: $10 · Max: $1,000 per wallet
  • ·30-day claim cliff after presale closes
  • ·Owner can open/close/withdraw
Address: not yet deployedPending

SovaiVesting

SovaiVesting.sol

Team allocation vesting. 12-month cliff + 36-month linear release. Revocable.

22 tests ✓
  • ·20M SOVAI team allocation (20% of supply)
  • ·12-month cliff — zero claimable before
  • ·36-month linear vesting from cliff end
  • ·Multi-beneficiary with independent schedules
  • ·Owner can revoke unvested portion
Address: not yet deployedPending

RevenueRouter

RevenueRouter.sol

Routes bridged USDC from Across Protocol directly to staker rewards. Permissionless distribute().

14 tests ✓
  • ·Receives USDC bridged from Solana via Across (~5s)
  • ·Permissionless distribute() — anyone triggers when balance ≥ 1 USDC
  • ·Owner distributeAmount() for partial distributions
  • ·Wired as trusted depositor on SovaiStaking
  • ·Closes the loop: swap fees → staker yield
Address: not yet deployedPending

Distribution at Deploy

SovaiStaking40,000,00040%GPU node rewards, 4-year distribution
SovaiPresale15,000,00015%Presale + public sale allocation
SovaiVesting20,000,00020%Team — 12mo cliff + 36mo linear
Deployer (DAO)25,000,00025%Ecosystem 15% + liquidity 10%

Security Notes

ReentrancyGuardAll state-changing external functions protected
SafeERC20All token transfers use OpenZeppelin SafeERC20
Custom errorsGas-efficient reverts with typed error selectors
No proxy / upgradeableImmutable logic — no admin upgrade path
Formal test suite75 Foundry tests covering happy path + edge cases
Audit statusNot yet audited — testnet only until audit complete

built by grueme · Powered by SovereignAI