Skip to content

Conversation

KPHEMRAJ
Copy link
Contributor

@KPHEMRAJ KPHEMRAJ commented Sep 2, 2025

No description provided.

@llamabutler
Copy link

The myriadmarkets adapter exports:

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

🦙 Running MYRIADMARKETS adapter 🦙
---------------------------------------------------
Start Date:	Mon, 01 Sep 2025 09:13:27 GMT
End Date:	Tue, 02 Sep 2025 09:13:27 GMT
---------------------------------------------------

Error: value is too damn high | abstract-dailyVolume: [object Object]
    at getChainResult (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:261:19)
    at async Promise.all (index 1)
    at async _runAdapter (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:159:20)
    at async /home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts:69:24 {
  chain: 'abstract'
}

@llamabutler
Copy link

The myriadmarkets adapter exports:

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

🦙 Running MYRIADMARKETS adapter 🦙
---------------------------------------------------
Start Date:	Mon, 01 Sep 2025 09:14:31 GMT
End Date:	Tue, 02 Sep 2025 09:14:31 GMT
---------------------------------------------------

Error: value is too damn high | abstract-dailyVolume: [object Object]
    at getChainResult (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:261:19)
    at async Promise.all (index 1)
    at async _runAdapter (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:159:20)
    at async /home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts:69:24 {
  chain: 'abstract'
}

@KPHEMRAJ
Copy link
Contributor Author

KPHEMRAJ commented Sep 2, 2025

weird, in local it says volume is 0 for abstract

@llamabutler
Copy link

The myriadmarkets adapter exports:

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

🦙 Running MYRIADMARKETS adapter 🦙
---------------------------------------------------
Start Date:	Mon, 01 Sep 2025 09:20:03 GMT
End Date:	Tue, 02 Sep 2025 09:20:03 GMT
---------------------------------------------------

Error: value is too damn high | abstract-dailyVolume: [object Object]
    at getChainResult (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:261:19)
    at async Promise.all (index 1)
    at async _runAdapter (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:159:20)
    at async /home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts:69:24 {
  chain: 'abstract'
}

@llamabutler
Copy link

The myriadmarkets adapter exports:

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

🦙 Running MYRIADMARKETS adapter 🦙
---------------------------------------------------
Start Date:	Mon, 01 Sep 2025 09:21:07 GMT
End Date:	Tue, 02 Sep 2025 09:21:07 GMT
---------------------------------------------------

Error: value is too damn high | abstract-dailyVolume: [object Object]
    at getChainResult (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:261:19)
    at async Promise.all (index 1)
    at async _runAdapter (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:159:20)
    at async /home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts:69:24 {
  chain: 'abstract'
}

@llamabutler
Copy link

The myriadmarkets adapter exports:

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

🦙 Running MYRIADMARKETS adapter 🦙
---------------------------------------------------
Start Date:	Mon, 01 Sep 2025 09:22:57 GMT
End Date:	Tue, 02 Sep 2025 09:22:57 GMT
---------------------------------------------------

7290 Balances {
  chain: 'abstract',
  timestamp: undefined,
  _balances: { 'coingecko:tether': '229896632787800100000' },
  _breakdownBalances: {}
}
Error: value is too damn high | abstract-dailyVolume: [object Object]
    at getChainResult (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:261:19)
    at async Promise.all (index 1)
    at async _runAdapter (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:159:20)
    at async /home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts:69:24 {
  chain: 'abstract'
}
481 Balances {
  chain: 'linea',
  timestamp: undefined,
  _balances: { 'coingecko:tether': '2323' },
  _breakdownBalances: {}
}

@llamabutler
Copy link

The myriadmarkets adapter exports:

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

🦙 Running MYRIADMARKETS adapter 🦙
---------------------------------------------------
Start Date:	Mon, 01 Sep 2025 09:24:00 GMT
End Date:	Tue, 02 Sep 2025 09:24:00 GMT
---------------------------------------------------

481 Balances {
  chain: 'linea',
  timestamp: undefined,
  _balances: { 'coingecko:tether': '2323' },
  _breakdownBalances: {}
}
7290 Balances {
  chain: 'abstract',
  timestamp: undefined,
  _balances: { 'coingecko:tether': '229896632787800100000' },
  _breakdownBalances: {}
}
Error: value is too damn high | abstract-dailyVolume: [object Object]
    at getChainResult (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:261:19)
    at async Promise.all (index 1)
    at async _runAdapter (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:159:20)
    at async /home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts:69:24 {
  chain: 'abstract'
}

@KPHEMRAJ
Copy link
Contributor Author

KPHEMRAJ commented Sep 2, 2025

In abstract chain we also have points market(18 decimals) along with usdc markets

@KPHEMRAJ KPHEMRAJ marked this pull request as draft September 2, 2025 12:01
@llamabutler
Copy link

The myriadmarkets adapter exports:

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

🦙 Running MYRIADMARKETS adapter 🦙
---------------------------------------------------
Start Date:	Mon, 01 Sep 2025 11:15:20 GMT
End Date:	Tue, 02 Sep 2025 11:15:20 GMT
---------------------------------------------------

7215 Balances {
  chain: 'abstract',
  timestamp: undefined,
  _balances: {
    'abstract:0x0b07cf011B6e2b7E0803b892d97f751659940F23': '1.949407028855e+26',
    'abstract:0x84A71ccD554Cc1b02749b35d22F684CC8ec987e1': '110318770087'
  },
  _breakdownBalances: {}
}
434 Balances {
  chain: 'linea',
  timestamp: undefined,
  _balances: { 'linea:0x176211869cA2b568f2A7D4EE941E073a821EE1ff': '2406490993' },
  _breakdownBalances: {}
}
chain     | Daily volume | Daily fees | Daily revenue | Daily protocol revenue | Daily supply side revenue | Start Time
---       | ---          | ---        | ---           | ---                    | ---                       | ---       
linea     | 2.41 k       | 59         | 20            | 20                     | 20                        | 21/1/2025 
abstract  | 110.15 k     | 2.59 k     | 863           | 863                    | 863                       | 21/1/2025 
Aggregate | 112.55 k     | 2.65 k     | 883           | 883                    | 883                       |           

@KPHEMRAJ KPHEMRAJ marked this pull request as ready for review September 2, 2025 13:47
@llamabutler
Copy link

The myriadmarkets adapter exports:

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

🦙 Running MYRIADMARKETS adapter 🦙
---------------------------------------------------
Start Date:	Mon, 01 Sep 2025 11:16:24 GMT
End Date:	Tue, 02 Sep 2025 11:16:24 GMT
---------------------------------------------------

7172 Balances {
  chain: 'abstract',
  timestamp: undefined,
  _balances: {
    'abstract:0x0b07cf011B6e2b7E0803b892d97f751659940F23': '1.948758986285001e+26',
    'abstract:0x84A71ccD554Cc1b02749b35d22F684CC8ec987e1': '110211094087'
  },
  _breakdownBalances: {}
}
434 Balances {
  chain: 'linea',
  timestamp: undefined,
  _balances: { 'linea:0x176211869cA2b568f2A7D4EE941E073a821EE1ff': '2406490993' },
  _breakdownBalances: {}
}
chain     | Daily volume | Daily fees | Daily revenue | Daily protocol revenue | Daily supply side revenue | Start Time
---       | ---          | ---        | ---           | ---                    | ---                       | ---       
linea     | 2.41 k       | 59         | 20            | 20                     | 20                        | 21/1/2025 
abstract  | 110.04 k     | 2.59 k     | 862           | 862                    | 862                       | 21/1/2025 
Aggregate | 112.45 k     | 2.65 k     | 882           | 882                    | 882                       |           

@llamabutler
Copy link

The myriadmarkets adapter exports:

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

🦙 Running MYRIADMARKETS adapter 🦙
---------------------------------------------------
Start Date:	Mon, 01 Sep 2025 11:17:35 GMT
End Date:	Tue, 02 Sep 2025 11:17:35 GMT
---------------------------------------------------

chain     | Daily volume | Daily fees | Daily revenue | Daily protocol revenue | Daily supply side revenue | Start Time
---       | ---          | ---        | ---           | ---                    | ---                       | ---       
linea     | 2.41 k       | 59         | 20            | 20                     | 20                        | 21/1/2025 
abstract  | 110.44 k     | 2.60 k     | 866           | 866                    | 866                       | 21/1/2025 
Aggregate | 112.84 k     | 2.66 k     | 886           | 886                    | 886                       |           

@llamabutler
Copy link

The myriadmarkets adapter exports:

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

🦙 Running MYRIADMARKETS adapter 🦙
---------------------------------------------------
Start Date:	Mon, 01 Sep 2025 11:18:40 GMT
End Date:	Tue, 02 Sep 2025 11:18:40 GMT
---------------------------------------------------

chain     | Daily volume | Daily fees | Daily revenue | Daily protocol revenue | Daily supply side revenue | Start Time
---       | ---          | ---        | ---           | ---                    | ---                       | ---       
linea     | 2.41 k       | 59         | 20            | 20                     | 20                        | 21/1/2025 
abstract  | 110.32 k     | 2.60 k     | 865           | 865                    | 865                       | 21/1/2025 
Aggregate | 112.72 k     | 2.65 k     | 885           | 885                    | 885                       |           

@llamabutler
Copy link

The myriadmarkets adapter exports:

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

🦙 Running MYRIADMARKETS adapter 🦙
---------------------------------------------------
Start Date:	Mon, 01 Sep 2025 11:20:39 GMT
End Date:	Tue, 02 Sep 2025 11:20:39 GMT
---------------------------------------------------

chain     | Daily volume | Daily fees | Daily revenue | Daily protocol revenue | Daily supply side revenue | Start Time
---       | ---          | ---        | ---           | ---                    | ---                       | ---       
linea     | 2.41 k       | 59         | 20            | 20                     | 20                        | 4/7/2025  
abstract  | 111.25 k     | 2.61 k     | 870           | 870                    | 870                       | 4/7/2025  
Aggregate | 113.66 k     | 2.67 k     | 890           | 890                    | 890                       |           

@llamabutler
Copy link

The myriadmarkets adapter exports:

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

🦙 Running MYRIADMARKETS adapter 🦙
---------------------------------------------------
Start Date:	Mon, 01 Sep 2025 11:21:46 GMT
End Date:	Tue, 02 Sep 2025 11:21:46 GMT
---------------------------------------------------

chain     | Daily volume | Daily fees | Daily revenue | Daily protocol revenue | Daily supply side revenue | Start Time
---       | ---          | ---        | ---           | ---                    | ---                       | ---       
linea     | 2.41 k       | 59         | 20            | 20                     | 20                        | 4/7/2025  
abstract  | 111.23 k     | 2.61 k     | 870           | 870                    | 870                       | 4/7/2025  
Aggregate | 113.64 k     | 2.67 k     | 890           | 890                    | 890                       |           

@g1nt0ki
Copy link
Member

g1nt0ki commented Sep 2, 2025

@KPHEMRAJ thanks for the PR, I refactored it a bit, mainly because it looked like fees need not be fixed to 3%

@g1nt0ki g1nt0ki merged commit ec7f84a into DefiLlama:master Sep 2, 2025
2 checks passed
@llamabutler
Copy link

The myriadmarkets adapter exports:

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

🦙 Running MYRIADMARKETS adapter 🦙
---------------------------------------------------
Start Date:	Mon, 01 Sep 2025 20:31:11 GMT
End Date:	Tue, 02 Sep 2025 20:31:11 GMT
---------------------------------------------------

chain     | Daily volume | Daily fees | Daily revenue | Daily protocol revenue | Daily holders revenue | Start Time
---       | ---          | ---        | ---           | ---                    | ---                   | ---       
abstract  | 118.09 k     | 2.72 k     | 905           | 905                    | 0                     | 6/7/2025  
linea     | 3.13 k       | 89         | 30            | 30                     | 0                     | 1/8/2025  
Aggregate | 121.22 k     | 2.81 k     | 935           | 935                    | 0                     |           

@llamabutler
Copy link

The myriadmarkets adapter exports:

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

🦙 Running MYRIADMARKETS adapter 🦙
---------------------------------------------------
Start Date:	Mon, 01 Sep 2025 20:32:15 GMT
End Date:	Tue, 02 Sep 2025 20:32:15 GMT
---------------------------------------------------

chain     | Daily volume | Daily fees | Daily revenue | Daily protocol revenue | Daily holders revenue | Start Time
---       | ---          | ---        | ---           | ---                    | ---                   | ---       
abstract  | 118.09 k     | 2.72 k     | 905           | 905                    | 0                     | 6/7/2025  
linea     | 3.13 k       | 89         | 30            | 30                     | 0                     | 1/8/2025  
Aggregate | 121.22 k     | 2.81 k     | 935           | 935                    | 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