DeFi Llama
  • List your project
    • DefiLlama and our methodology
    • How to list a DeFi project
    • How to add a new Blockchain
    • How to write an SDK adapter
    • Functions we've written so you don't have to
      • Staking and Pool2
      • Fork helpers
      • General EVM contract calls
    • What to include as TVL?
    • How to update a project
    • How to write dimensions adapters
    • Emissions dashboard
      • Protocol Files
      • Emission Sections
      • Testing
    • Oracles TVS
  • analysts
    • Data Definitions
    • Custom columns
  • Chainlist
    • How to change Ethereum's RPC
    • Add a new RPC endpoint
  • FAQs
    • Frequently Asked Questions
  • Coin Prices API
  • Pricing
Powered by GitBook
On this page

Was this helpful?

  1. List your project
  2. Emissions dashboard

Protocol Files

Continuing with the Liquity example...

PreviousEmissions dashboardNextEmission Sections

Last updated 2 years ago

Was this helpful?

Protocol files each export a Protocol object (line 55) which contains these properties:

  • Each distinct section of token allocation, function | function[], required:

    These sections can take on whatever keys are required. These keys will be used to label the chart on our UI, so please make them readable and nice to look at. The value for each chart section key will usually either be a manual....() or manual....()[] (more info ). For example, the Liquity adapter has:

    • Stability Pool rewards

    • Uniswap LPs

    • Endowment

    • Team and advisors

    • Service providers

    • Investors.

  • notes, string[], optional:

    Anything you think DefiLlama users should know about the emissions data. Maybe you made an assumption somewhere, or have excluded certain allocations because they were impossible to quantify.

  • token, string, required:

    The token address, preferably on the chain it was first deployed.

  • sources, string[], required:

    Links to wherever you got the data. Official protocol docs are preferred, but discord servers etc can also be used if needed.

  • ProtocolIds, string[], required:

    Please leave this as an empty array ([]) and the DefiLlama team will complete this for you.

on the next page