Commit 234fa5b
fix: correct import paths and logic for arbitrage-inc adapter (#6279)
* fix: correct import paths and logic for arbitrage-inc adapter (rebased on latest master)
- Fix import paths to use ../../adapters/types
- Use addTokensReceived correctly with tokens array and targets
- Add skipIndexer for BSC performance
- Include dailyProtocolRevenue and breakdownMethodology
- Extract DEV_FEE_DESC constant to avoid duplication
- Rebased on upstream/master to resolve merge conflicts
* lint: use import type for type-only imports
Apply Biome suggestion to use import type for Adapter and FetchOptions,
which are only used as types. This improves tree-shaking and follows
TypeScript best practices.
* feat: remove TOKENS filter from arbitrage-inc adapter since exchange supports all tokens
* dont skip indexer
---------
Co-authored-by: Lukecele <luca@users.noreply.github.com>
Co-authored-by: bheluga <bheluga@defillama.com>1 parent 37972bd commit 234fa5b
1 file changed
+12
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | 13 | | |
17 | 14 | | |
18 | 15 | | |
19 | 16 | | |
20 | 17 | | |
21 | 18 | | |
22 | 19 | | |
| 20 | + | |
| 21 | + | |
23 | 22 | | |
24 | 23 | | |
25 | | - | |
26 | | - | |
| 24 | + | |
| 25 | + | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
31 | | - | |
| 30 | + | |
32 | 31 | | |
33 | 32 | | |
34 | | - | |
| 33 | + | |
35 | 34 | | |
36 | 35 | | |
37 | | - | |
| 36 | + | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
| |||
0 commit comments