Skip to content

Conversation

@crispyfisherman
Copy link
Contributor

Hi, we’re the DoubleUp team. We’d like to update our Fee and Revenue data.

Also, our previous fee data was inaccurate — how can we update the historical data as well?

@llamabutler
Copy link

The pumpup.ts adapter exports:

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

🦙 Running PUMPUP.TS adapter 🦙
---------------------------------------------------
Error: Cannot find module 'decimal.js'
Require stack:
- /home/runner/work/dimension-adapters/dimension-adapters/fees/pumpup.ts
- /home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)
    at Function.Module._resolveFilename.sharedData.moduleResolveFilenameHook.installedValue [as _resolveFilename] (/home/runner/work/dimension-adapters/dimension-adapters/node_modules/@cspotcode/source-map-support/source-map-support.js:811:30)
    at Function.Module._load (node:internal/modules/cjs/loader:1038:27)
    at Module.require (node:internal/modules/cjs/loader:1289:19)
    at require (node:internal/modules/helpers:182:18)
    at Object.<anonymous> (/home/runner/work/dimension-adapters/dimension-adapters/fees/pumpup.ts:4:1)
    at Module._compile (node:internal/modules/cjs/loader:1521:14)
    at Module.m._compile (/home/runner/work/dimension-adapters/dimension-adapters/node_modules/ts-node/src/index.ts:1618:23)
    at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)
    at Object.require.extensions.<computed> [as .ts] (/home/runner/work/dimension-adapters/dimension-adapters/node_modules/ts-node/src/index.ts:1621:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/runner/work/dimension-adapters/dimension-adapters/fees/pumpup.ts',
    '/home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts'
  ]
}

@llamabutler
Copy link

The pumpup.ts adapter exports:

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

🦙 Running PUMPUP.TS adapter 🦙
---------------------------------------------------
Start Date:	Tue, 07 Oct 2025 18:37:20 GMT
End Date:	Wed, 08 Oct 2025 18:37:20 GMT
---------------------------------------------------

SUI 👇
Backfill start time: 2/6/2024
Daily fees: 24.90 k
Daily revenue: 24.90 k
End timestamp: 1759948639 (2025-10-08T18:37:19.000Z)

@treeoflife2 treeoflife2 self-assigned this Oct 9, 2025
@treeoflife2
Copy link
Member

treeoflife2 commented Oct 9, 2025

@crispyfisherman what was exactly wrong, and why shouldn't we keep it onchain? is there any logic offchain?
we will backfill the data from the start once this PR is merged

@crispyfisherman
Copy link
Contributor Author

@crispyfisherman what was exactly wrong, and why shouldn't we keep it onchain? is there any logic offchain? we will backfill the data from the start once this PR is merged

Hi @treeoflife2, our previous data didn’t include all of the tokens we support, so the fee data results were inaccurate

Our fee data is actually fetched directly from on-chain sources by our indexer, without any additional logic. We also display the protocol’s revenue data on our website

Switching to an API is simply to ensure that the data on our site and on DeFiLlama remain as closely aligned as possible

@treeoflife2 treeoflife2 merged commit 394973c into DefiLlama:master Oct 10, 2025
2 checks passed
@treeoflife2
Copy link
Member

@crispyfisherman can you create separate fees adapter for doubleupsports.com as that's prediction market. as we will conver the https://www.doubleup.fun/ to casino instead of prediction market.

@crispyfisherman
Copy link
Contributor Author

crispyfisherman commented Oct 10, 2025

@crispyfisherman can you create separate fees adapter for doubleupsports.com as that's prediction market. as we will conver the https://www.doubleup.fun/ to casino instead of prediction market.

@treeoflife2, thanks for merging the commit!

Sorry, could you clarify what you mean by a separate fees adapter for DoubleUpSports? Do you have an example?

Also, we just noticed that DoubleUp is listed under “Luck Games” on the Sui protocol ranking list, but it still shows as “Prediction Market” on our protocol page

image image

What category does DoubleUp currently belong to? And what’s the difference between the “Casino,” “Luck Games,” and “Gaming” categories?

@treeoflife2
Copy link
Member

Sorry, could you clarify what you mean by a separate fees adapter for DoubleUpSports? Do you have an example?

you have two separate products so i suggest we would need two listing, one for prediction market(sports bets)(https://www.doubleupsports.com/) and another for casino games(https://www.doubleup.fun/)

Also, we just noticed that DoubleUp is listed under “Luck Games” on the Sui protocol ranking list, but it still shows as “Prediction Market” on our protocol page

maybe cache issue, but you will need to create new listing for prediction market, and correct TVLs and separate fee and revenue adapter as both are separate category.

What category does DoubleUp currently belong to? And what’s the difference between the “Casino,” “Luck Games,” and “Gaming” categories?

we don't have any casino category, so doubleup.fun will be listed as luck games, and gaming category for projects like (axie infinity)

@crispyfisherman
Copy link
Contributor Author

@treeoflife2, I see

So our product would be like this way?

image

Under doubleup will have two items

DoubleUp
--- DoubleUp, Luck Games
--- DoubleUp Sports, Prediction Market

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants