Skip to content

Conversation

@zajck
Copy link

@zajck zajck commented Dec 2, 2025

Add two metrics to Boson Protocol Adapter:

  • protocol fees: fees taken by the protocol on every successful exchange
  • daily volume: sum of funds deposited into the protocol and value of newly created offers

@llamabutler
Copy link

The boson adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts dexs boson

🦙 Running BOSON adapter 🦙
---------------------------------------------------
Start Date:	Mon, 01 Dec 2025 04:38:13 GMT
End Date:	Tue, 02 Dec 2025 04:38:13 GMT
---------------------------------------------------

Token transfers: Failed to use indexer, falling back to logs polygon Llama Indexer v2 URL/api key is not set
------ ERROR ------
Error: Allium API Key is required[Ignore this error for github bot]
    at _queryAllium (/home/runner/work/dimension-adapters/dimension-adapters/helpers/allium.ts:47:11)
    at /home/runner/work/dimension-adapters/dimension-adapters/helpers/allium.ts:9:71
Allium API Key is required[Ignore this error for github bot]

@treeoflife2 treeoflife2 self-assigned this Dec 2, 2025
@treeoflife2
Copy link
Member

@zajck we don't track farming volume in defillama, volume is only for spot-dex/perp-dex/bridge/prediction market category.
so please remove dex adapter

@llamabutler
Copy link

The boson adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts fees boson

🦙 Running BOSON adapter 🦙
---------------------------------------------------
Start Date:	Wed, 03 Dec 2025 09:04:34 GMT
End Date:	Thu, 04 Dec 2025 09:04:34 GMT
---------------------------------------------------

chain     | Daily fees | Daily revenue | Daily protocol revenue | Start Time
---       | ---        | ---           | ---                    | ---       
polygon   | 0.00       | 0.00          | 0.00                   | 12/10/2022
ethereum  | 0.00       | 0.00          | 0.00                   | 29/9/2023 
base      | 0.00       | 0.00          | 0.00                   | 31/1/2025 
arbitrum  | 0.00       | 0.00          | 0.00                   | 1/4/2025  
optimism  | 0.00       | 0.00          | 0.00                   | 10/3/2025 
Aggregate | 0.00       | 0.00          | 0.00                   |           

@zajck
Copy link
Author

zajck commented Dec 4, 2025

@treeoflife2 I removed the dex adapter.

Just a note - Boson Protocol is miscategorised. It is a RWA protocol and not a farm. We'll soon open a PR in https://github.com/DefiLlama/defillama-server to fix that. I have 2 additional questions:

  1. Are you planning to add support for RWA volume? We believe it gives a useful insight about the protocol activity.
  2. In https://github.com/DefiLlama/defillama-server I see that some projects have dimensions property. Is this something we should update or do you do it once this PR is merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants