Skip to content
This repository has been archived by the owner on Jan 30, 2025. It is now read-only.

112220 Volume Gauge Feature Specification DRAFT

Taariq Lewis edited this page Nov 22, 2020 · 1 revision

Volume Gauges for DEXes

Problem Statement:

We want a way to permissionlessly track and reward ethereum accounts for bringing more volume to any decentralized investment strategy or automated market maker.

Design Requirements:

  • A DexVolume customer will call exchange using the VolumeGauge contract. There is no need for deposit or withdrawals as this contract is simply to track the appropriate volume

  • The VolumeGauge will call the specific Curve Pool which the customer is trading

    • We require the VolumeGauge to be able to know which pool
  • The result should be as if a user directly called the specific Curve Pool directly, but now we are tracking information about the specific trade and where it came from

  • The VolumeGauge will store the information about the volume traded

    • MVP info:
    • Volume traded
    • What addresses trade
    • Timestamp for each trade
    • Anything else?
  • Gas Costs: We want to consume the least gas possible for these transactions as they will consume gas

  • This will be OSS software and so anyone will be able to fork it and use it to collect rewards for their own audience of traders.

Clone this wiki locally