Skip to content

0xrmvdao/fees-server

 
 

Repository files navigation

Fees and Revenue

Guide

There is a guide for how to add a fee adapter listed here.

Cloning

Clone this repo with git clone --recursive. If you have already cloned it use git submodule update --init

Backend Data Table

PK (S) SK (N) [chain]
df#protocol#[id] [unixTimestamp] {[version]:[volume]}
dr#protocol#[id] [unixTimestamp] {[version]:[volume]}

df = daily fees dr = daily revenue

PK types (#protocol, #chain)

Protocol ids

Taken from protocols/data matching category or protocols/chains

Adding a new adapter

To add a new adapter

  • write adapter to src/adaptors, helpful to reference existing ones
  • add adapter path to src/adaptors/index, and utils/adaptors
  • test using npm run test-fees uniswap with protocol id

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.8%
  • JavaScript 0.2%