ForeverMoney SN98 Docs


OVERVIEW

What is ForeverMoney

Getting Started

Alphanomics


FOR LPs

Why Deposit

Vault Types

Risks and Protections


FOR MINERS

Mining Overview

Registration Guide

Strategy Implementation

Scoring Deep Dive


ARCHITECTURE

System Design

API Reference

Async jobs. Dual-mode rounds. Two databases.


Architecture Overview

SN98 runs on four subsystems:

  1. Miners — propose LP strategies via the rebalance protocol
  2. Validators — run jobs, score miners, rank strategies
  3. Executor — converts winning strategies into on-chain LP operations (multisig)
  4. Vaults — hold and deploy liquidity on Aerodrome Slipstream

Jobs-Based Architecture

A Job represents a liquidity management task for a specific vault and trading pair. Multiple jobs run concurrently using asyncio.


Dual-Mode Rounds

Evaluation Mode

All miners compete in forward simulations from current blockchain state. Scored on expected performance. Winner gets selected for live.

Live Mode

Previous evaluation winner executes real positions on-chain. Requires 7+ days participation. Higher weight in combined score (0.3 EMA vs 0.1).


Database Design

Jobs Database (Read/Write)

Stores validator state: jobs, rounds, predictions, miner scores, participation history, live executions. Uses Tortoise ORM (async).

Pool Events Database (Read-Only)

Historical on-chain events for backtesting: swaps, mints, burns, fee collections. Sourced from subgraph indexer.


Execution Pipeline

Currently: multisig-controlled executor bot reads winning strategy, converts to V3 NFT LP operations, executes on Base L2. Future: fully automated execution.