Skip to content

Conversation

@MarkChen1213866
Copy link
Contributor

Overview

We have new product volo-vault launch, and we add the previous fee from volo liquid staking.

Features

  • Add Volo Vault fees adapter for Sui chain
  • Fetch fees and revenue data from Navi Protocol API
  • Support daily fees, revenue and protocol revenue tracking
  • Automatic token mapping for future token additions
  • Start date: 2025-08-10

@llamabutler
Copy link

The volo-vsui adapter exports:

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

🦙 Running VOLO-VSUI adapter 🦙
---------------------------------------------------
SyntaxError: Unexpected token ':'
    at compileSourceTextModule (node:internal/modules/esm/utils:346:16)
    at ModuleLoader.importSyncForRequire (node:internal/modules/esm/loader:316:18)
    at loadESMFromCJS (node:internal/modules/cjs/loader:1371:24)
    at Module._compile (node:internal/modules/cjs/loader:1511:5)
    at Module._extensions..js (node:internal/modules/cjs/loader:1613:10)
    at Object.require.extensions.<computed> [as .js] (/home/runner/work/dimension-adapters/dimension-adapters/node_modules/ts-node/src/index.ts:1608:43)
    at Module.load (node:internal/modules/cjs/loader:1275:32)
    at Function.Module._load (node:internal/modules/cjs/loader:1096:12)
    at Module.require (node:internal/modules/cjs/loader:1298:19)
    at require (node:internal/modules/helpers:182:18)

@g1nt0ki g1nt0ki self-assigned this Sep 4, 2025
@llamabutler
Copy link

The volo-vsui adapter exports:

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

🦙 Running VOLO-VSUI adapter 🦙
---------------------------------------------------
SyntaxError: Unexpected token ':'
    at compileSourceTextModule (node:internal/modules/esm/utils:346:16)
    at ModuleLoader.importSyncForRequire (node:internal/modules/esm/loader:316:18)
    at loadESMFromCJS (node:internal/modules/cjs/loader:1371:24)
    at Module._compile (node:internal/modules/cjs/loader:1511:5)
    at Module._extensions..js (node:internal/modules/cjs/loader:1613:10)
    at Object.require.extensions.<computed> [as .js] (/home/runner/work/dimension-adapters/dimension-adapters/node_modules/ts-node/src/index.ts:1608:43)
    at Module.load (node:internal/modules/cjs/loader:1275:32)
    at Function.Module._load (node:internal/modules/cjs/loader:1096:12)
    at Module.require (node:internal/modules/cjs/loader:1298:19)
    at require (node:internal/modules/helpers:182:18)

@MarkChen1213866
Copy link
Contributor Author

Hi! I submitted a PR some time ago and all issues have been fixed. Could you help move it forward? Thanks!

(base) ctrl@MacBook-Pro-6 dimension-adapters % yarn test fees volo-vsui
yarn run v1.22.21
warning ../../../package.json: No license field
$ ts-node --transpile-only cli/testAdapter.ts fees volo-vsui
🦙 Running VOLO-VSUI adapter 🦙

Start Date: Sun, 07 Sep 2025 00:32:22 GMT
End Date: Mon, 08 Sep 2025 00:32:22 GMT

SUI 👇
Backfill start time: 10/8/2025
Daily fees: 43.28 k
Daily revenue: 43.28 k
Daily protocol revenue: 43.28 k
End timestamp: 1757291541 (2025-09-08T00:32:21.000Z)

✨ Done in 3.17s.
(base) ctrl@MacBook-Pro-6 dimension-adapters %

@llamabutler
Copy link

The volo-vsui adapter exports:

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

🦙 Running VOLO-VSUI adapter 🦙
---------------------------------------------------
Start Date:	Mon, 08 Sep 2025 00:00:00 GMT
End Date:	Tue, 09 Sep 2025 00:00:00 GMT
---------------------------------------------------

[Error: Request failed with status code 403] {
  url: 'https://open-api.naviprotocol.io/api/volo/volo-vaults?type=fees&timestamp=2025-09-08',
  method: 'GET',
  axiosError: 'Forbidden',
  chain: 'sui'
}

Copy link
Member

@g1nt0ki g1nt0ki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the PR, I have some questions

what kind of fees does the protocol charge? also, fees = revenue here, so lps get nothing?

@g1nt0ki
Copy link
Member

g1nt0ki commented Sep 9, 2025

and the daily fees & revenue is 42k
but USDC with 3M tvl and 15% apr would be around 1.2k per day of fees and 20% fee on that is 240$ doesnt match what the api is returning
image

@llamabutler
Copy link

The volo-vsui adapter exports:

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

🦙 Running VOLO-VSUI adapter 🦙
---------------------------------------------------
Start Date:	Tue, 14 Oct 2025 00:00:00 GMT
End Date:	Wed, 15 Oct 2025 00:00:00 GMT
---------------------------------------------------

[Error: Request failed with status code 403] {
  url: 'https://open-api.naviprotocol.io/api/volo/volo-vaults?type=fees&timestamp=2025-10-14',
  method: 'GET',
  axiosError: 'Forbidden',
  chain: 'sui'
}

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.

3 participants