Metapool
  • Welcome
  • Getting Started
    • Quickstart
    • Overview
    • Architecture
  • Basics
    • Features
    • How to Implement a Hook
    • Custom Hook Providers
    • Premium Services Powered by Metapool Mechanics
    • Flow Diagrams
    • Flow Details
    • Calculating Reputations with Brevis
    • PoC Tokenomics
    • Tech Stack
    • References
Powered by GitBook
On this page
  • 1. Swap Flow (Before/After Swap Hooks):
  • 2. Liquidity Flow (Add/Remove Liquidity Hooks):
  • 3. Collateral Management:
  1. Basics

Flow Details

1. Swap Flow (Before/After Swap Hooks):

  • Before Swap: User’s reputation is checked, and fees are adjusted based on their reputation.

  • After Swap: Reputation is updated based on the swap volume, liquidity contribution, and other metrics.

2. Liquidity Flow (Add/Remove Liquidity Hooks):

  • Before Liquidity Event: System checks the user’s reputation and adjusts behavior accordingly.

  • After Liquidity Event: User reputation is updated based on liquidity provision or withdrawal.

3. Collateral Management:

  • Inactive Pools: If a pool remains inactive for too long, its collateral is slashed, ensuring only active participants remain.

PreviousFlow DiagramsNextCalculating Reputations with Brevis

Last updated 7 months ago