# Absinthe Docs > Absinthe is a loyalty and points provider for web3 projects, enabling you to create engaging reward systems that drive user retention and growth. ## Docs - [Get Started with Absinthe](/getting-started): What is Absinthe? - [Create Earn Event](/api/create-earn-event): Send **raw event data** to Absinthe, which will then be processed by your custom business rules to generate points for users. - [Get Leaderboard](/api/get-leaderboard): Retrieve the **public leaderboard** for a campaign, using **privacy-safe** user display rules. - [Get User Scores](/api/get-user-score): Retrieve a **single user’s** rank and scores. - [Actions](/adapters/actions): First-Class Citizens - [Config File Reference](/adapters/config-reference): Configuration Guide - [Core Concepts](/adapters/core-concepts): Foundation - [Deploy Prebuilt Adapters on Railway](/adapters/deploy-railway): **Total time: ~20-30 minutes** (assuming you have accounts set up) - [Overview](/adapters/overview): Activity Indexer - [Quickstart 🚀](/adapters/quickstart): Get the demo running end-to-end in minutes. - [Time-Weighted Balances & Engine Flow](/adapters/time-weighted-balances): Core Concept - [1. Overview & Schema](/adapters/tutorials/uniswap-v2-1-overview-and-schema): This adapter indexes Uniswap V2 pool activity. It tracks: - [2. buildProcessor](/adapters/tutorials/uniswap-v2-2-buildprocessor): The `buildProcessor` function configures Subsquid to fetch only the logs we care about. This is crucial for performance - we want to minimize the amount of data we're processing while ensuring we capture all relevant events. - [3. Redis Token Caching](/adapters/tutorials/uniswap-v2-3-redis-token-caching): Before we can decode swap events, we need to know which tokens are in the pool. Uniswap V2 pools have `token0` and `token1` addresses that we need to fetch from the contract. To avoid expensive RPC calls on every swap, we cache these addresses in Redis. - [4. LP Tracking](/adapters/tutorials/uniswap-v2-4-lp-tracking): Track user LP token balances via `Transfer` events. This emits `balanceDelta` events that feed into the time-weighted balance (TWB) calculation system, enabling rewards based on liquidity provision duration. - [5. Swap Tracking](/adapters/tutorials/uniswap-v2-5-swap-tracking): Coming Soon - [6. Best Practices & Tips](/adapters/tutorials/uniswap-v2-6-best-practices): **Why it matters:** Catch misconfigurations early at runtime, before they cause data quality issues. - [Uniswap V2 Adapter Tutorial](/adapters/tutorials/uniswap-v2-tutorial): This tutorial walks through the `uniswap-v2` adapter step-by-step so you can understand how it works and how to build similar adapters. Each section is split into its own page for clarity. - [Learn from Existing Adapters](/adapters/build-your-own/adapter-reference): This guide provides deep walkthroughs of each adapter, explaining how we reasoned about the design decisions and how to modify them for your protocol. - [Deploy Your Adapter on Railway](/adapters/build-your-own/create-config): This guide explains how to encode your adapter configuration and deploy it to Railway. - [Getting Started: Build Your Own Adapter (Clean Fork)](/adapters/build-your-own/getting-started): This guide helps you understand the Absinthe adapter architecture so you can safely modify existing adapters or create new ones for your protocol. - [Build Your Own Adapter](/adapters/build-your-own): **Total time: ~2-4 hours** - [How to Test Your Adapter](/adapters/build-your-own/testing-guide): This guide explains how to test and verify your adapter's correctness using manual CSV verification. - [ERC20 Holdings Adapter](/adapters/build-your-own/adapters/erc20-holdings): **The simplest adapter — perfect starting point** - [Morpho Markets Adapter](/adapters/build-your-own/adapters/morpho-markets): **Lending markets with supply/borrow tracking** - [Morpho Vaults V1 Adapter](/adapters/build-your-own/adapters/morpho-vaults-v1): **Vault positions (MetaMorpho)** - [Morpho Vaults V2 Adapter](/adapters/build-your-own/adapters/morpho-vaults-v2): **Updated vault positions (newer factory)** - [Uniswap V2 Adapter](/adapters/build-your-own/adapters/uniswap-v2): **DEX with two trackables: swaps (actions) and LP positions** - [Uniswap V3 Adapter](/adapters/build-your-own/adapters/uniswap-v3): **DEX with NFT-based LP positions**