Skip to content

[WIP] add fees breakdown for aave, euler, morpho #3730

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

noateden
Copy link
Contributor

No description provided.

@llamabutler
Copy link

The aave adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees aave

🦙 Running AAVE adapter 🦙
---------------------------------------------------
Start Date:	Tue, 15 Jul 2025 11:54:17 GMT
End Date:	Wed, 16 Jul 2025 11:54:17 GMT
---------------------------------------------------

Error: Breakdown adapters are deprecated, migrate it to use simple adapter
    at runAdapter (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:24:32)
    at /home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts:93:17
    at Array.map (<anonymous>)
    at /home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts:92:75
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

@llamabutler
Copy link

The euler adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees euler

🦙 Running EULER adapter 🦙
---------------------------------------------------
Start Date:	Tue, 15 Jul 2025 11:54:19 GMT
End Date:	Wed, 16 Jul 2025 11:54:19 GMT
---------------------------------------------------

[Error: Promise pool failed! 
 PromisePoolError: Llama RPC error! method: call 
- host: https://bsc-dataseed.binance.org error: undefined
- host: https://binance.llamarpc.com error: undefined
- host: https://bsc-dataseed1.bnbchain.org error: undefined
- host: https://bsc-dataseed.bnbchain.org error: undefined
- host: https://1rpc.io/bnb error: undefined
- host: https://bsc-dataseed1.defibit.io error: undefined
- host: https://bsc-rpc.publicnode.com error: undefined] {
  _isCustomError: true,
  chain: 'bsc'
}

@llamabutler
Copy link

The hypurrfi adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees hypurrfi

🦙 Running HYPURRFI adapter 🦙
---------------------------------------------------
Start Date:	Tue, 15 Jul 2025 11:54:43 GMT
End Date:	Wed, 16 Jul 2025 11:54:43 GMT
---------------------------------------------------

HYPERLIQUID 👇
Backfill start time: 20/2/2025
Daily fees: 21.68 k
Daily revenue: 5.07 k
Daily protocol revenue: 5.07 k
Daily supply side revenue: 16.61 k
End timestamp: 1752666882 (2025-07-16T11:54:42.000Z)

@llamabutler
Copy link

The morpho adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees morpho

🦙 Running MORPHO adapter 🦙
---------------------------------------------------
Start Date:	Tue, 15 Jul 2025 11:54:51 GMT
End Date:	Wed, 16 Jul 2025 11:54:51 GMT
---------------------------------------------------

ETHEREUM 👇
Backfill start time: 2/1/2024
Daily fees: 269.25 k
Daily supply side revenue: 269.25 k
Daily revenue: 0
End timestamp: 1752666890 (2025-07-16T11:54:50.000Z)


BASE 👇
Backfill start time: 3/5/2024
Daily fees: 91.81 k
Daily supply side revenue: 91.81 k
Daily revenue: 0
End timestamp: 1752666890 (2025-07-16T11:54:50.000Z)


POLYGON 👇
Backfill start time: 20/1/2025
Daily fees: 8.54 k
Daily supply side revenue: 8.54 k
Daily revenue: 0
End timestamp: 1752666890 (2025-07-16T11:54:50.000Z)


UNICHAIN 👇
Backfill start time: 18/2/2025
Daily fees: 7.06 k
Daily supply side revenue: 7.06 k
Daily revenue: 0
End timestamp: 1752666890 (2025-07-16T11:54:50.000Z)


KATANA 👇
Backfill start time: 1/7/2025
Daily fees: 15
Daily supply side revenue: 15
Daily revenue: 0
End timestamp: 1752666890 (2025-07-16T11:54:50.000Z)


---- AGGREGATE 👇
Backfill start time not defined
End timestamp: 1752666890 (2025-07-16T11:54:50.000Z)
Daily fees: 376.68 k
Daily supply side revenue: 376.68 k
Daily revenue: 0

@noateden noateden changed the title add fees breakdown for aave, euler, morpho [WIP] add fees breakdown for aave, euler, morpho Jul 16, 2025
@noateden noateden self-assigned this Jul 16, 2025
@noateden noateden requested a review from g1nt0ki July 16, 2025 14:30

export interface AaveLendingPoolConfig {
version: 1 | 2 | 3;
lendingPoolProxy: string;
dataProvider: string;

// GHO on aave
seflLoanAssets?: {
Copy link
Member

Choose a reason for hiding this comment

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

better to keep it as an array? what if there are more than one?

Copy link
Member

Choose a reason for hiding this comment

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

should we link each enum item to short label and description?

And maybe let users add their own in their adapter if it is applicable to only their protocol?

Copy link
Member

Choose a reason for hiding this comment

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

we need to move methodology outside the chain and move it to the top level, it is going to be a pain

Copy link
Member

Choose a reason for hiding this comment

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

*at some point in the near future

Copy link
Contributor Author

Choose a reason for hiding this comment

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

should we link each enum item to short label and description?

And maybe let users add their own in their adapter if it is applicable to only their protocol?

hmm, how about we add a field of breakdownMethodology in meta, and use it in the same way of methodology to explain breakdown fields?

yes, we allow users to add their own in their adapter, like I did with GHO stuff

Copy link
Member

Choose a reason for hiding this comment

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

sounds good

@llamabutler
Copy link

The aave adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees aave

🦙 Running AAVE adapter 🦙
---------------------------------------------------
Start Date:	Wed, 16 Jul 2025 15:57:35 GMT
End Date:	Thu, 17 Jul 2025 15:57:35 GMT
---------------------------------------------------

Error: Breakdown adapters are deprecated, migrate it to use simple adapter
    at runAdapter (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:24:32)
    at /home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts:93:17
    at Array.map (<anonymous>)
    at /home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts:92:75
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

@llamabutler
Copy link

The euler adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees euler

🦙 Running EULER adapter 🦙
---------------------------------------------------
Start Date:	Wed, 16 Jul 2025 15:57:37 GMT
End Date:	Thu, 17 Jul 2025 15:57:37 GMT
---------------------------------------------------

[Error: Promise pool failed! 
 PromisePoolError: Llama RPC error! method: call 
- host: https://bsc-dataseed.binance.org error: undefined
- host: https://bsc-dataseed4.ninicoin.io error: undefined
- host: https://bsc-dataseed2.bnbchain.org error: undefined
- host: https://endpoints.omniatech.io/v1/bsc/mainnet/public error: undefined
- host: https://bsc.meowrpc.com error: undefined
- host: https://binance.llamarpc.com error: undefined
- host: https://bsc-pokt.nodies.app error: undefined] {
  _isCustomError: true,
  chain: 'bsc'
}

@llamabutler
Copy link

The hypurrfi adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees hypurrfi

🦙 Running HYPURRFI adapter 🦙
---------------------------------------------------
Start Date:	Wed, 16 Jul 2025 15:58:18 GMT
End Date:	Thu, 17 Jul 2025 15:58:18 GMT
---------------------------------------------------

HYPERLIQUID 👇
Backfill start time: 20/2/2025
Daily fees: 23.33 k
Daily revenue: 4.61 k
Daily protocol revenue: 4.61 k
Daily supply side revenue: 18.73 k
End timestamp: 1752767897 (2025-07-17T15:58:17.000Z)

@llamabutler
Copy link

The morpho adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees morpho

🦙 Running MORPHO adapter 🦙
---------------------------------------------------
Start Date:	Wed, 16 Jul 2025 15:58:29 GMT
End Date:	Thu, 17 Jul 2025 15:58:29 GMT
---------------------------------------------------

ETHEREUM 👇
Backfill start time: 2/1/2024
Daily fees: 286.49 k
Daily supply side revenue: 286.49 k
Daily revenue: 0
End timestamp: 1752767908 (2025-07-17T15:58:28.000Z)


BASE 👇
Backfill start time: 3/5/2024
Daily fees: 94.21 k
Daily supply side revenue: 94.21 k
Daily revenue: 0
End timestamp: 1752767908 (2025-07-17T15:58:28.000Z)


POLYGON 👇
Backfill start time: 20/1/2025
Daily fees: 6.70 k
Daily supply side revenue: 6.70 k
Daily revenue: 0
End timestamp: 1752767908 (2025-07-17T15:58:28.000Z)


UNICHAIN 👇
Backfill start time: 18/2/2025
Daily fees: 7.47 k
Daily supply side revenue: 7.47 k
Daily revenue: 0
End timestamp: 1752767908 (2025-07-17T15:58:28.000Z)


KATANA 👇
Backfill start time: 1/7/2025
Daily fees: 197
Daily supply side revenue: 197
Daily revenue: 0
End timestamp: 1752767908 (2025-07-17T15:58:28.000Z)


---- AGGREGATE 👇
Backfill start time not defined
End timestamp: 1752767908 (2025-07-17T15:58:28.000Z)
Daily fees: 395.06 k
Daily supply side revenue: 395.06 k
Daily revenue: 0

@llamabutler
Copy link

The aave adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees aave

🦙 Running AAVE adapter 🦙
---------------------------------------------------
Start Date:	Sun, 20 Jul 2025 07:37:17 GMT
End Date:	Mon, 21 Jul 2025 07:37:17 GMT
---------------------------------------------------

Error: Breakdown adapters are deprecated, migrate it to use simple adapter
    at runAdapter (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:24:32)
    at /home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts:93:17
    at Array.map (<anonymous>)
    at /home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts:92:75
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

@llamabutler
Copy link

The euler adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees euler

🦙 Running EULER adapter 🦙
---------------------------------------------------
Start Date:	Sun, 20 Jul 2025 07:37:19 GMT
End Date:	Mon, 21 Jul 2025 07:37:19 GMT
---------------------------------------------------

ETHEREUM 👇
Backfill start time: 18/8/2024
Daily fees: 169.00 k
Daily revenue: 3.96 k
Daily supply side revenue: 165.04 k
Daily protocol revenue: 3.75 k
End timestamp: 1753083438 (2025-07-21T07:37:18.000Z)


SONIC 👇
Backfill start time: 31/1/2025
Daily fees: 7.26 k
Daily revenue: 1.11 k
Daily supply side revenue: 6.15 k
Daily protocol revenue: 554
End timestamp: 1753083438 (2025-07-21T07:37:18.000Z)


BASE 👇
Backfill start time: 27/11/2024
Daily fees: 1.71 k
Daily revenue: 32
Daily supply side revenue: 1.67 k
Daily protocol revenue: 31
End timestamp: 1753083438 (2025-07-21T07:37:18.000Z)


SWELLCHAIN 👇
Backfill start time: 20/1/2025
Daily fees: 1.19 k
Daily revenue: 119
Daily supply side revenue: 1.07 k
Daily protocol revenue: 106
End timestamp: 1753083438 (2025-07-21T07:37:18.000Z)


BOB 👇
Backfill start time: 21/1/2025
Daily fees: 441
Daily revenue: 44
Daily supply side revenue: 397
Daily protocol revenue: 22
End timestamp: 1753083438 (2025-07-21T07:37:18.000Z)


BERACHAIN 👇
Backfill start time: 6/2/2025
Daily fees: 9.54 k
Daily revenue: 1.06 k
Daily supply side revenue: 8.49 k
Daily protocol revenue: 484
End timestamp: 1753083438 (2025-07-21T07:37:18.000Z)


BSC 👇
Backfill start time: 4/2/2025
Daily fees: 10.52 k
Daily revenue: 1.86 k
Daily supply side revenue: 8.66 k
Daily protocol revenue: 928
End timestamp: 1753083438 (2025-07-21T07:37:18.000Z)


UNICHAIN 👇
Backfill start time: 11/2/2025
Daily fees: 11.59 k
Daily revenue: 1.16 k
Daily supply side revenue: 10.43 k
Daily protocol revenue: 1.16 k
End timestamp: 1753083438 (2025-07-21T07:37:18.000Z)


ARBITRUM 👇
Backfill start time: 30/1/2025
Daily fees: 5.82 k
Daily revenue: 582
Daily supply side revenue: 5.24 k
Daily protocol revenue: 582
End timestamp: 1753083438 (2025-07-21T07:37:18.000Z)


AVAX 👇
Backfill start time: 4/2/2025
Daily fees: 35.02 k
Daily revenue: 5.36 k
Daily supply side revenue: 29.66 k
Daily protocol revenue: 2.68 k
End timestamp: 1753083438 (2025-07-21T07:37:18.000Z)


---- AGGREGATE 👇
Backfill start time not defined
End timestamp: 1753083438 (2025-07-21T07:37:18.000Z)
Daily fees: 252.09 k
Daily revenue: 15.28 k
Daily supply side revenue: 236.81 k
Daily protocol revenue: 10.30 k

@llamabutler
Copy link

The hypurrfi adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees hypurrfi

🦙 Running HYPURRFI adapter 🦙
---------------------------------------------------
Start Date:	Sun, 20 Jul 2025 07:37:54 GMT
End Date:	Mon, 21 Jul 2025 07:37:54 GMT
---------------------------------------------------

HYPERLIQUID 👇
Backfill start time: 20/2/2025
Daily fees: 17.60 k
Daily revenue: 3.42 k
Daily protocol revenue: 3.42 k
Daily supply side revenue: 14.18 k
End timestamp: 1753083473 (2025-07-21T07:37:53.000Z)

@llamabutler
Copy link

The morpho adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees morpho

🦙 Running MORPHO adapter 🦙
---------------------------------------------------
Start Date:	Sun, 20 Jul 2025 07:38:05 GMT
End Date:	Mon, 21 Jul 2025 07:38:05 GMT
---------------------------------------------------

ETHEREUM 👇
Backfill start time: 2/1/2024
Daily fees: 308.50 k
Daily supply side revenue: 308.50 k
Daily revenue: 0
Daily protocol revenue: 0
End timestamp: 1753083484 (2025-07-21T07:38:04.000Z)


BASE 👇
Backfill start time: 3/5/2024
Daily fees: 104.14 k
Daily supply side revenue: 104.14 k
Daily revenue: 0
Daily protocol revenue: 0
End timestamp: 1753083484 (2025-07-21T07:38:04.000Z)


POLYGON 👇
Backfill start time: 20/1/2025
Daily fees: 0
Daily supply side revenue: 0
Daily revenue: 0
Daily protocol revenue: 0
End timestamp: 1753083484 (2025-07-21T07:38:04.000Z)


UNICHAIN 👇
Backfill start time: 18/2/2025
Daily fees: 5.47 k
Daily supply side revenue: 5.47 k
Daily revenue: 0
Daily protocol revenue: 0
End timestamp: 1753083484 (2025-07-21T07:38:04.000Z)


KATANA 👇
Backfill start time: 1/7/2025
Daily fees: 670
Daily supply side revenue: 670
Daily revenue: 0
Daily protocol revenue: 0
End timestamp: 1753083484 (2025-07-21T07:38:04.000Z)


---- AGGREGATE 👇
Backfill start time not defined
End timestamp: 1753083484 (2025-07-21T07:38:04.000Z)
Daily fees: 418.77 k
Daily supply side revenue: 418.77 k
Daily revenue: 0
Daily protocol revenue: 0

@llamabutler
Copy link

The aave adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees aave

🦙 Running AAVE adapter 🦙
---------------------------------------------------
Start Date:	Sun, 20 Jul 2025 07:52:06 GMT
End Date:	Mon, 21 Jul 2025 07:52:06 GMT
---------------------------------------------------

Error: Breakdown adapters are deprecated, migrate it to use simple adapter
    at runAdapter (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:24:32)
    at /home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts:93:17
    at Array.map (<anonymous>)
    at /home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts:92:75
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

@llamabutler
Copy link

The euler adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees euler

🦙 Running EULER adapter 🦙
---------------------------------------------------
Start Date:	Sun, 20 Jul 2025 07:52:08 GMT
End Date:	Mon, 21 Jul 2025 07:52:08 GMT
---------------------------------------------------

ETHEREUM 👇
Backfill start time: 18/8/2024
Daily fees: 169.07 k
Daily revenue: 3.97 k
Daily supply side revenue: 165.11 k
Daily protocol revenue: 3.76 k
End timestamp: 1753084327 (2025-07-21T07:52:07.000Z)


SONIC 👇
Backfill start time: 31/1/2025
Daily fees: 7.24 k
Daily revenue: 1.10 k
Daily supply side revenue: 6.14 k
Daily protocol revenue: 551
End timestamp: 1753084327 (2025-07-21T07:52:07.000Z)


BASE 👇
Backfill start time: 27/11/2024
Daily fees: 1.71 k
Daily revenue: 33
Daily supply side revenue: 1.68 k
Daily protocol revenue: 31
End timestamp: 1753084327 (2025-07-21T07:52:07.000Z)


SWELLCHAIN 👇
Backfill start time: 20/1/2025
Daily fees: 1.19 k
Daily revenue: 119
Daily supply side revenue: 1.07 k
Daily protocol revenue: 106
End timestamp: 1753084327 (2025-07-21T07:52:07.000Z)


BOB 👇
Backfill start time: 21/1/2025
Daily fees: 440
Daily revenue: 44
Daily supply side revenue: 396
Daily protocol revenue: 22
End timestamp: 1753084327 (2025-07-21T07:52:07.000Z)


BERACHAIN 👇
Backfill start time: 6/2/2025
Daily fees: 9.46 k
Daily revenue: 1.05 k
Daily supply side revenue: 8.41 k
Daily protocol revenue: 480
End timestamp: 1753084327 (2025-07-21T07:52:07.000Z)


BSC 👇
Backfill start time: 4/2/2025
Daily fees: 10.60 k
Daily revenue: 1.87 k
Daily supply side revenue: 8.73 k
Daily protocol revenue: 936
End timestamp: 1753084327 (2025-07-21T07:52:07.000Z)


UNICHAIN 👇
Backfill start time: 11/2/2025
Daily fees: 11.62 k
Daily revenue: 1.16 k
Daily supply side revenue: 10.46 k
Daily protocol revenue: 1.16 k
End timestamp: 1753084327 (2025-07-21T07:52:07.000Z)


ARBITRUM 👇
Backfill start time: 30/1/2025
Daily fees: 5.82 k
Daily revenue: 582
Daily supply side revenue: 5.24 k
Daily protocol revenue: 582
End timestamp: 1753084327 (2025-07-21T07:52:07.000Z)


AVAX 👇
Backfill start time: 4/2/2025
Daily fees: 34.48 k
Daily revenue: 5.26 k
Daily supply side revenue: 29.22 k
Daily protocol revenue: 2.63 k
End timestamp: 1753084327 (2025-07-21T07:52:07.000Z)


---- AGGREGATE 👇
Backfill start time not defined
End timestamp: 1753084327 (2025-07-21T07:52:07.000Z)
Daily fees: 251.65 k
Daily revenue: 15.19 k
Daily supply side revenue: 236.46 k
Daily protocol revenue: 10.26 k

@llamabutler
Copy link

The hypurrfi adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees hypurrfi

🦙 Running HYPURRFI adapter 🦙
---------------------------------------------------
Start Date:	Sun, 20 Jul 2025 07:52:33 GMT
End Date:	Mon, 21 Jul 2025 07:52:33 GMT
---------------------------------------------------

HYPERLIQUID 👇
Backfill start time: 20/2/2025
Daily fees: 17.68 k
Daily revenue: 3.44 k
Daily protocol revenue: 3.44 k
Daily supply side revenue: 14.25 k
End timestamp: 1753084352 (2025-07-21T07:52:32.000Z)

@llamabutler
Copy link

The morpho adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees morpho

🦙 Running MORPHO adapter 🦙
---------------------------------------------------
Start Date:	Sun, 20 Jul 2025 07:52:40 GMT
End Date:	Mon, 21 Jul 2025 07:52:40 GMT
---------------------------------------------------

ETHEREUM 👇
Backfill start time: 2/1/2024
Daily fees: 305.55 k
Daily supply side revenue: 305.55 k
Daily revenue: 0
Daily protocol revenue: 0
End timestamp: 1753084359 (2025-07-21T07:52:39.000Z)


BASE 👇
Backfill start time: 3/5/2024
Daily fees: 104.35 k
Daily supply side revenue: 104.35 k
Daily revenue: 0
Daily protocol revenue: 0
End timestamp: 1753084359 (2025-07-21T07:52:39.000Z)


POLYGON 👇
Backfill start time: 20/1/2025
Daily fees: 8.89 k
Daily supply side revenue: 8.89 k
Daily revenue: 0
Daily protocol revenue: 0
End timestamp: 1753084359 (2025-07-21T07:52:39.000Z)


UNICHAIN 👇
Backfill start time: 18/2/2025
Daily fees: 5.37 k
Daily supply side revenue: 5.37 k
Daily revenue: 0
Daily protocol revenue: 0
End timestamp: 1753084359 (2025-07-21T07:52:39.000Z)


KATANA 👇
Backfill start time: 1/7/2025
Daily fees: 674
Daily supply side revenue: 674
Daily revenue: 0
Daily protocol revenue: 0
End timestamp: 1753084359 (2025-07-21T07:52:39.000Z)


---- AGGREGATE 👇
Backfill start time not defined
End timestamp: 1753084359 (2025-07-21T07:52:39.000Z)
Daily fees: 424.83 k
Daily supply side revenue: 424.83 k
Daily revenue: 0
Daily protocol revenue: 0

@llamabutler
Copy link

The aave adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees aave

🦙 Running AAVE adapter 🦙
---------------------------------------------------
Start Date:	Sun, 20 Jul 2025 09:48:28 GMT
End Date:	Mon, 21 Jul 2025 09:48:28 GMT
---------------------------------------------------

Error: Breakdown adapters are deprecated, migrate it to use simple adapter
    at runAdapter (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:24:32)
    at /home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts:93:17
    at Array.map (<anonymous>)
    at /home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts:92:75
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

@llamabutler
Copy link

The euler adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees euler

🦙 Running EULER adapter 🦙
---------------------------------------------------
Start Date:	Sun, 20 Jul 2025 09:48:29 GMT
End Date:	Mon, 21 Jul 2025 09:48:29 GMT
---------------------------------------------------

[Error: Promise pool failed! 
 PromisePoolError: Llama RPC error! method: call 
- host: https://bsc-dataseed.binance.org error: undefined
- host: https://bsc-dataseed4.defibit.io error: undefined
- host: https://bsc-dataseed4.bnbchain.org error: undefined
- host: https://binance.nodereal.io error: undefined
- host: https://bsc-dataseed2.bnbchain.org error: undefined
- host: https://bsc-dataseed4.ninicoin.io error: undefined
- host: https://bsc-mainnet.rpcfast.com?api_key=xbhWBI1Wkguk8SNMu1bvvLurPGLXmgwYeC4S6g2H7WdwFigZSmPWVZRxrskEQwIf error: undefined] {
  _isCustomError: true,
  chain: 'bsc'
}

@llamabutler
Copy link

The hypurrfi adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees hypurrfi

🦙 Running HYPURRFI adapter 🦙
---------------------------------------------------
Start Date:	Sun, 20 Jul 2025 09:48:59 GMT
End Date:	Mon, 21 Jul 2025 09:48:59 GMT
---------------------------------------------------

HYPERLIQUID 👇
Backfill start time: 20/2/2025
Daily fees: 17.88 k
Daily revenue: 3.48 k
Daily protocol revenue: 3.48 k
Daily supply side revenue: 14.40 k
End timestamp: 1753091338 (2025-07-21T09:48:58.000Z)

@llamabutler
Copy link

The morpho adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees morpho

🦙 Running MORPHO adapter 🦙
---------------------------------------------------
Start Date:	Sun, 20 Jul 2025 09:49:06 GMT
End Date:	Mon, 21 Jul 2025 09:49:06 GMT
---------------------------------------------------

ETHEREUM 👇
Backfill start time: 2/1/2024
Daily fees: 301.86 k
Daily supply side revenue: 301.86 k
Daily revenue: 0
Daily protocol revenue: 0
End timestamp: 1753091345 (2025-07-21T09:49:05.000Z)


BASE 👇
Backfill start time: 3/5/2024
Daily fees: 104.47 k
Daily supply side revenue: 104.47 k
Daily revenue: 0
Daily protocol revenue: 0
End timestamp: 1753091345 (2025-07-21T09:49:05.000Z)


POLYGON 👇
Backfill start time: 20/1/2025
Daily fees: 0
Daily supply side revenue: 0
Daily revenue: 0
Daily protocol revenue: 0
End timestamp: 1753091345 (2025-07-21T09:49:05.000Z)


UNICHAIN 👇
Backfill start time: 18/2/2025
Daily fees: 5.65 k
Daily supply side revenue: 5.65 k
Daily revenue: 0
Daily protocol revenue: 0
End timestamp: 1753091345 (2025-07-21T09:49:05.000Z)


KATANA 👇
Backfill start time: 1/7/2025
Daily fees: 642
Daily supply side revenue: 642
Daily revenue: 0
Daily protocol revenue: 0
End timestamp: 1753091345 (2025-07-21T09:49:05.000Z)


---- AGGREGATE 👇
Backfill start time not defined
End timestamp: 1753091345 (2025-07-21T09:49:05.000Z)
Daily fees: 412.62 k
Daily supply side revenue: 412.62 k
Daily revenue: 0
Daily protocol revenue: 0

@noateden noateden requested a review from 0xngmi July 21, 2025 13:33
@llamabutler
Copy link

The aave adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees aave

🦙 Running AAVE adapter 🦙
---------------------------------------------------
Start Date:	Mon, 21 Jul 2025 10:34:46 GMT
End Date:	Tue, 22 Jul 2025 10:34:46 GMT
---------------------------------------------------

Error: Breakdown adapters are deprecated, migrate it to use simple adapter
    at runAdapter (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:24:32)
    at /home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts:93:17
    at Array.map (<anonymous>)
    at /home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts:92:75
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

@llamabutler
Copy link

The euler adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees euler

🦙 Running EULER adapter 🦙
---------------------------------------------------
Start Date:	Mon, 21 Jul 2025 10:34:47 GMT
End Date:	Tue, 22 Jul 2025 10:34:47 GMT
---------------------------------------------------

[Error: Llama RPC error! method: call 
- host: https://bsc-dataseed.binance.org error: undefined
- host: https://bsc-dataseed2.defibit.io error: undefined
- host: https://bsc-rpc.publicnode.com error: undefined
- host: https://bsc-dataseed4.ninicoin.io error: undefined
- host: https://bsc.rpc.blxrbdn.com error: undefined
- host: https://bsc-dataseed1.defibit.io error: undefined
- host: https://bsc-mainnet.rpcfast.com?api_key=xbhWBI1Wkguk8SNMu1bvvLurPGLXmgwYeC4S6g2H7WdwFigZSmPWVZRxrskEQwIf error: undefined] {
  _underlyingError: '[object Object]',
  _isCustomError: true,
  chain: 'bsc'
}

@llamabutler
Copy link

The hypurrfi adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees hypurrfi

🦙 Running HYPURRFI adapter 🦙
---------------------------------------------------
Start Date:	Mon, 21 Jul 2025 10:35:07 GMT
End Date:	Tue, 22 Jul 2025 10:35:07 GMT
---------------------------------------------------

HYPERLIQUID 👇
Backfill start time: 20/2/2025
Daily fees: 21.38 k
Daily revenue: 3.80 k
Daily protocol revenue: 3.80 k
Daily supply side revenue: 17.58 k
End timestamp: 1753180506 (2025-07-22T10:35:06.000Z)

@llamabutler
Copy link

The morpho adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees morpho

🦙 Running MORPHO adapter 🦙
---------------------------------------------------
Start Date:	Mon, 21 Jul 2025 10:35:21 GMT
End Date:	Tue, 22 Jul 2025 10:35:21 GMT
---------------------------------------------------

ETHEREUM 👇
Backfill start time: 2/1/2024
Daily fees: 344.22 k
Daily supply side revenue: 344.22 k
Daily revenue: 0
Daily protocol revenue: 0
End timestamp: 1753180520 (2025-07-22T10:35:20.000Z)


BASE 👇
Backfill start time: 3/5/2024
Daily fees: 110.73 k
Daily supply side revenue: 110.73 k
Daily revenue: 0
Daily protocol revenue: 0
End timestamp: 1753180520 (2025-07-22T10:35:20.000Z)


POLYGON 👇
Backfill start time: 20/1/2025
Daily fees: 9.47 k
Daily supply side revenue: 9.47 k
Daily revenue: 0
Daily protocol revenue: 0
End timestamp: 1753180520 (2025-07-22T10:35:20.000Z)


UNICHAIN 👇
Backfill start time: 18/2/2025
Daily fees: 5.84 k
Daily supply side revenue: 5.84 k
Daily revenue: 0
Daily protocol revenue: 0
End timestamp: 1753180520 (2025-07-22T10:35:20.000Z)


KATANA 👇
Backfill start time: 1/7/2025
Daily fees: 463
Daily supply side revenue: 463
Daily revenue: 0
Daily protocol revenue: 0
End timestamp: 1753180520 (2025-07-22T10:35:20.000Z)


---- AGGREGATE 👇
Backfill start time not defined
End timestamp: 1753180520 (2025-07-22T10:35:20.000Z)
Daily fees: 470.72 k
Daily supply side revenue: 470.72 k
Daily revenue: 0
Daily protocol revenue: 0

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