@merkl/api 0.20.101 → 0.20.103

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/dist/src/eden/index.d.ts +54 -36
  2. package/dist/src/engine/campaignTVL/factory.d.ts +1 -1
  3. package/dist/src/engine/campaignTVL/factory.js +9 -3
  4. package/dist/src/engine/{erc20SubTypeProcessors/helpers/tokenType.d.ts → campaignTVL/implementations/Erc20/Erc20SubType.d.ts} +7 -13
  5. package/dist/src/engine/campaignTVL/implementations/Erc20/Erc20SubType.js +106 -0
  6. package/dist/src/engine/campaignTVL/implementations/Erc20/computeSubTypes.d.ts +8 -0
  7. package/dist/src/engine/campaignTVL/implementations/Erc20/computeSubTypes.js +128 -0
  8. package/dist/src/engine/campaignTVL/implementations/Erc20/factory.d.ts +3 -0
  9. package/dist/src/engine/campaignTVL/implementations/Erc20/factory.js +13 -0
  10. package/dist/src/engine/campaignTVL/implementations/Erc20/index.d.ts +6 -0
  11. package/dist/src/engine/campaignTVL/implementations/Erc20/index.js +27 -0
  12. package/dist/src/engine/dynamicData/implementations/Erc20.d.ts +4 -4
  13. package/dist/src/engine/dynamicData/implementations/Erc20.js +5 -11
  14. package/dist/src/engine/dynamicData/implementations/Radiant.js +2 -2
  15. package/dist/src/engine/erc20SubTypeProcessors/GenericProcessor.d.ts +19 -19
  16. package/dist/src/engine/erc20SubTypeProcessors/GenericProcessor.js +1 -1
  17. package/dist/src/engine/erc20SubTypeProcessors/helpers/factoryFinder.d.ts +2 -2
  18. package/dist/src/engine/erc20SubTypeProcessors/helpers/factoryFinder.js +31 -31
  19. package/dist/src/engine/erc20SubTypeProcessors/helpers/hardcoded.d.ts +2 -2
  20. package/dist/src/engine/erc20SubTypeProcessors/helpers/hardcoded.js +17 -17
  21. package/dist/src/engine/erc20SubTypeProcessors/helpers/ownerFinder.d.ts +2 -2
  22. package/dist/src/engine/erc20SubTypeProcessors/helpers/ownerFinder.js +6 -6
  23. package/dist/src/engine/erc20SubTypeProcessors/implementations/AaveProcessor.d.ts +2 -2
  24. package/dist/src/engine/erc20SubTypeProcessors/implementations/AnglesLiquid.d.ts +7 -7
  25. package/dist/src/engine/erc20SubTypeProcessors/implementations/AssetProcessor.d.ts +2 -2
  26. package/dist/src/engine/erc20SubTypeProcessors/implementations/AssetProcessor.js +2 -2
  27. package/dist/src/engine/erc20SubTypeProcessors/implementations/AuraProcessor.d.ts +40 -3
  28. package/dist/src/engine/erc20SubTypeProcessors/implementations/BEXRewardGaugeProcessor.d.ts +32 -3
  29. package/dist/src/engine/erc20SubTypeProcessors/implementations/BEXRewardGaugeProcessor.js +2 -2
  30. package/dist/src/engine/erc20SubTypeProcessors/implementations/BalancerGaugeProcessor.d.ts +29 -3
  31. package/dist/src/engine/erc20SubTypeProcessors/implementations/BalancerPoolProcessor.d.ts +31 -3
  32. package/dist/src/engine/erc20SubTypeProcessors/implementations/BalancerV3PoolProcessor.d.ts +3 -3
  33. package/dist/src/engine/erc20SubTypeProcessors/implementations/BeefyProcessor.d.ts +2 -2
  34. package/dist/src/engine/erc20SubTypeProcessors/implementations/BunniV2Processor.d.ts +2 -2
  35. package/dist/src/engine/erc20SubTypeProcessors/implementations/CompoundProcessor.d.ts +2 -2
  36. package/dist/src/engine/erc20SubTypeProcessors/implementations/ERC4626Processor.d.ts +2 -2
  37. package/dist/src/engine/erc20SubTypeProcessors/implementations/EnzymeProcessor.d.ts +3 -3
  38. package/dist/src/engine/erc20SubTypeProcessors/implementations/EqualizerGaugeProcessor.d.ts +2 -2
  39. package/dist/src/engine/erc20SubTypeProcessors/implementations/EulerBorrowProcessor.d.ts +2 -2
  40. package/dist/src/engine/erc20SubTypeProcessors/implementations/EulerLendProcessor.d.ts +2 -2
  41. package/dist/src/engine/erc20SubTypeProcessors/implementations/FluidProcessor.d.ts +2 -2
  42. package/dist/src/engine/erc20SubTypeProcessors/implementations/FraxProcessor.d.ts +2 -2
  43. package/dist/src/engine/erc20SubTypeProcessors/implementations/FraxProcessor.js +2 -2
  44. package/dist/src/engine/erc20SubTypeProcessors/implementations/GammaALMProcessor.d.ts +2 -2
  45. package/dist/src/engine/erc20SubTypeProcessors/implementations/GammaProcessor.d.ts +7 -7
  46. package/dist/src/engine/erc20SubTypeProcessors/implementations/GearboxProcessor.d.ts +2 -2
  47. package/dist/src/engine/erc20SubTypeProcessors/implementations/HanjiVaultProcessor.d.ts +4 -4
  48. package/dist/src/engine/erc20SubTypeProcessors/implementations/HoldStationProcessor.d.ts +2 -2
  49. package/dist/src/engine/erc20SubTypeProcessors/implementations/HourglassProcessor.d.ts +2 -2
  50. package/dist/src/engine/erc20SubTypeProcessors/implementations/MaverickBPProcessor.d.ts +2 -2
  51. package/dist/src/engine/erc20SubTypeProcessors/implementations/MetamorphoProcessor.d.ts +3 -3
  52. package/dist/src/engine/erc20SubTypeProcessors/implementations/NoLinkVaultProcessor.d.ts +7 -7
  53. package/dist/src/engine/erc20SubTypeProcessors/implementations/NoLinkVaultProcessor.js +2 -2
  54. package/dist/src/engine/erc20SubTypeProcessors/implementations/PendleProcessor.d.ts +2 -2
  55. package/dist/src/engine/erc20SubTypeProcessors/implementations/PendleYTProcessor.d.ts +2 -2
  56. package/dist/src/engine/erc20SubTypeProcessors/implementations/RadiantProcessor.d.ts +3 -3
  57. package/dist/src/engine/erc20SubTypeProcessors/implementations/RfxProcessor.d.ts +2 -2
  58. package/dist/src/engine/erc20SubTypeProcessors/implementations/Satlayer.d.ts +2 -2
  59. package/dist/src/engine/erc20SubTypeProcessors/implementations/SpectraProcessor.d.ts +2 -2
  60. package/dist/src/engine/erc20SubTypeProcessors/implementations/SpectraYTProcessor.d.ts +2 -2
  61. package/dist/src/engine/erc20SubTypeProcessors/implementations/SpliceProcessor.d.ts +3 -3
  62. package/dist/src/engine/erc20SubTypeProcessors/implementations/SturdySiloProcessor.d.ts +2 -2
  63. package/dist/src/engine/erc20SubTypeProcessors/implementations/TempestVaultProcessor.d.ts +3 -3
  64. package/dist/src/engine/erc20SubTypeProcessors/implementations/TempestVaultProcessor.js +2 -2
  65. package/dist/src/engine/erc20SubTypeProcessors/implementations/TemplateProcessor.d.ts +7 -7
  66. package/dist/src/engine/erc20SubTypeProcessors/implementations/TorosProcessor.d.ts +2 -2
  67. package/dist/src/engine/erc20SubTypeProcessors/implementations/UniswapProcessor.d.ts +3 -3
  68. package/dist/src/engine/erc20SubTypeProcessors/implementations/VicunaProcessor.d.ts +2 -2
  69. package/dist/src/engine/erc20SubTypeProcessors/implementations/WoofiProcessor.d.ts +2 -2
  70. package/dist/src/engine/erc20SubTypeProcessors/implementations/ZkSwapThreePoolProcessor.d.ts +2 -2
  71. package/dist/src/engine/erc20SubTypeProcessors/implementations/curveNPoolProcessor.d.ts +4 -4
  72. package/dist/src/engine/erc20SubTypeProcessors/implementations/curveProcessor.d.ts +2 -2
  73. package/dist/src/engine/erc20SubTypeProcessors/implementations/curveProcessor.js +2 -2
  74. package/dist/src/engine/erc20SubTypeProcessors/implementations/processorMapping.d.ts +2 -2
  75. package/dist/src/engine/erc20SubTypeProcessors/implementations/processorMapping.js +100 -100
  76. package/dist/src/engine/erc20SubTypeProcessors/implementations/stakedCurveProcessor.d.ts +2 -2
  77. package/dist/src/engine/erc20SubTypeProcessors/implementations/stakedCurveProcessor.js +2 -2
  78. package/dist/src/engine/erc20SubTypeProcessors/implementations/xU308Processor.d.ts +2 -2
  79. package/dist/src/engine/erc20SubTypeProcessors/subtypesPrices.d.ts +3 -2
  80. package/dist/src/engine/erc20SubTypeProcessors/subtypesPrices.js +2 -2
  81. package/dist/src/engine/erc20SubTypeProcessors/subtypesRound1.d.ts +2 -1
  82. package/dist/src/engine/erc20SubTypeProcessors/subtypesRound1.js +87 -87
  83. package/dist/src/engine/erc20SubTypeProcessors/subtypesRound2.d.ts +2 -3
  84. package/dist/src/engine/erc20SubTypeProcessors/subtypesRound3.d.ts +2 -2
  85. package/dist/src/engine/erc20SubTypeProcessors/subtypesRound4.d.ts +2 -2
  86. package/dist/src/engine/erc20SubTypeProcessors/tokenTypeStruct.d.ts +7 -0
  87. package/dist/src/engine/erc20SubTypeProcessors/tokenTypeStruct.js +1 -0
  88. package/dist/src/engine/erc20SubTypeProcessors/tokenTypeToProtocolAndAction.d.ts +7 -0
  89. package/dist/src/engine/erc20SubTypeProcessors/tokenTypeToProtocolAndAction.js +130 -0
  90. package/dist/src/engine/opportunityMetadata/factory.js +4 -2
  91. package/dist/src/engine/opportunityMetadata/implementations/ERCMultiToken.d.ts +14 -2
  92. package/dist/src/engine/opportunityMetadata/implementations/ERCMultiToken.js +52 -2
  93. package/dist/src/engine/opportunityMetadata/implementations/{Erc20.d.ts → Erc20/index.d.ts} +1 -1
  94. package/dist/src/engine/opportunityMetadata/implementations/{Erc20.js → Erc20/index.js} +1 -1
  95. package/dist/src/engine/opportunityMetadata/implementations/JsonAirdrop.d.ts +2 -2
  96. package/dist/src/index.d.ts +18 -12
  97. package/dist/src/modules/v4/campaign/campaign.service.d.ts +6 -0
  98. package/dist/src/modules/v4/campaign/campaign.service.js +9 -0
  99. package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +2 -2
  100. package/dist/src/modules/v4/campaign/campaign.test.controller.js +1 -1
  101. package/dist/src/modules/v4/computedValue/computedValue.controller.js +2 -1
  102. package/dist/src/modules/v4/computedValue/computedValue.service.d.ts +1 -1
  103. package/dist/src/modules/v4/computedValue/computedValue.service.js +5 -10
  104. package/dist/src/modules/v4/dynamicData/dynamicData.service.js +2 -2
  105. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +7 -7
  106. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +3 -3
  107. package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +1 -1
  108. package/dist/src/modules/v4/protocol/protocol.controller.d.ts +2 -2
  109. package/dist/src/modules/v4/protocol/protocol.model.d.ts +1 -1
  110. package/dist/src/modules/v4/protocol/protocol.model.js +1 -0
  111. package/dist/src/modules/v4/router.d.ts +18 -12
  112. package/dist/src/modules/v4/token/token.controller.d.ts +6 -0
  113. package/dist/src/modules/v4/token/token.controller.js +1 -1
  114. package/dist/src/modules/v4/token/token.model.d.ts +3 -0
  115. package/dist/src/modules/v4/token/token.model.js +3 -0
  116. package/dist/src/modules/v4/token/token.repository.js +47 -25
  117. package/dist/src/modules/v4/token/token.service.d.ts +27 -6
  118. package/dist/src/modules/v4/token/token.service.js +29 -79
  119. package/dist/src/utils/decodeCalls.d.ts +3 -3
  120. package/dist/src/utils/decodeCalls.js +80 -80
  121. package/dist/src/utils/encodeCalls.d.ts +2 -2
  122. package/dist/src/utils/encodeCalls.js +77 -77
  123. package/dist/src/utils/generateCardName.d.ts +2 -2
  124. package/dist/src/utils/generateCardName.js +97 -97
  125. package/dist/tsconfig.package.tsbuildinfo +1 -1
  126. package/package.json +1 -1
  127. package/dist/src/engine/erc20SubTypeProcessors/helpers/tokenType.js +0 -232
  128. package/dist/src/modules/v4/computedValue/index.d.ts +0 -2
  129. package/dist/src/modules/v4/computedValue/index.js +0 -2
package/package.json CHANGED
@@ -110,5 +110,5 @@
110
110
  "access": "public",
111
111
  "registry": "https://registry.npmjs.org/"
112
112
  },
113
- "version": "v0.20.101"
113
+ "version": "v0.20.103"
114
114
  }
@@ -1,232 +0,0 @@
1
- import { OpportunityAction } from "@db/api";
2
- // This enum's order is important, do not change it unless you know what you are doing
3
- export var tokenType;
4
- (function (tokenType) {
5
- tokenType["aura"] = "aura";
6
- tokenType["anglesLiquid"] = "anglesLiquid";
7
- tokenType["poolside"] = "poolside";
8
- tokenType["balancerGauge"] = "balancerGauge";
9
- tokenType["gearbox"] = "gearbox";
10
- tokenType["euler_borrow"] = "euler_borrow";
11
- tokenType["euler_lend"] = "euler_lend";
12
- tokenType["filament"] = "filament";
13
- tokenType["fluid"] = "fluid";
14
- tokenType["compound"] = "compound";
15
- tokenType["radiant_lend"] = "radiant_lend";
16
- tokenType["radiant_borrow"] = "radiant_borrow";
17
- tokenType["ionic"] = "ionic";
18
- tokenType["layerbank"] = "layerbank";
19
- tokenType["moonwell"] = "moonwell";
20
- tokenType["yei_borrowing"] = "yei_borrowing";
21
- tokenType["ironclad_borrowing"] = "ironclad_borrowing";
22
- tokenType["zerolend_borrowing"] = "zerolend_borrowing";
23
- tokenType["yei_lending"] = "yei_lending";
24
- tokenType["ironclad_lending"] = "ironclad_lending";
25
- tokenType["zerolend_lending"] = "zerolend_lending";
26
- tokenType["aave_borrowing"] = "aave_borrowing";
27
- tokenType["aave_lending"] = "aave_lending";
28
- tokenType["sturdy_aggregator"] = "sturdy_aggregator";
29
- tokenType["sturdy_silo"] = "sturdy_silo";
30
- tokenType["fraxlend"] = "fraxlend";
31
- tokenType["uniswapv2"] = "uniswapv2";
32
- tokenType["fenix"] = "fenix";
33
- tokenType["ra"] = "ra";
34
- tokenType["syncswap"] = "syncswap";
35
- tokenType["curve_2"] = "curve_2";
36
- tokenType["silostaking"] = "silostaking";
37
- tokenType["beefy"] = "beefy";
38
- tokenType["balancerPool"] = "balancerPool";
39
- tokenType["unknown"] = "unknown";
40
- tokenType["metamorpho"] = "metamorpho";
41
- tokenType["aerodrome"] = "aerodrome";
42
- tokenType["velodrome"] = "velodrome";
43
- tokenType["curve"] = "curve";
44
- tokenType["splice"] = "splice";
45
- tokenType["toros"] = "toros";
46
- tokenType["akron"] = "akron";
47
- tokenType["enzyme"] = "enzyme";
48
- tokenType["dragonswap"] = "dragonswap";
49
- tokenType["koi"] = "koi";
50
- tokenType["baseswap"] = "baseswap";
51
- tokenType["zkswap"] = "zkswap";
52
- tokenType["ironcladStaking"] = "ironcladStaking";
53
- tokenType["rfx_slv"] = "rfx_slv";
54
- tokenType["rfx"] = "rfx";
55
- tokenType["woofi"] = "woofi";
56
- tokenType["pendle"] = "pendle";
57
- tokenType["maverickBoostedPosition"] = "maverickBoostedPosition";
58
- tokenType["zkSwapThreePool"] = "zkSwapThreePool";
59
- tokenType["maha"] = "maha";
60
- tokenType["tempest"] = "tempest";
61
- tokenType["pendleYT"] = "pendleYT";
62
- tokenType["pancakeswap"] = "pancakeswap";
63
- tokenType["tempestStaking"] = "tempestStaking";
64
- tokenType["holdstation"] = "holdstation";
65
- tokenType["noLinkVault"] = "noLinkVault";
66
- tokenType["cpmmGamma"] = "cpmmGamma";
67
- tokenType["crosscurve"] = "crosscurve";
68
- tokenType["venus"] = "venus";
69
- tokenType["reactor_fusion"] = "reactor_fusion";
70
- tokenType["vicuna"] = "vicuna";
71
- tokenType["traderJoe"] = "traderJoe";
72
- tokenType["curveNPool"] = "curveNPool";
73
- tokenType["avalon_borrowing"] = "avalon_borrowing";
74
- tokenType["avalon_lending"] = "avalon_lending";
75
- tokenType["satlayer"] = "satlayer";
76
- tokenType["veda"] = "veda";
77
- tokenType["superlend_borrowing"] = "superlend_borrowing";
78
- tokenType["superlend_lending"] = "superlend_lending";
79
- tokenType["cian"] = "cian";
80
- tokenType["concrete"] = "concrete";
81
- tokenType["lendle_borrowing"] = "lendle_borrowing";
82
- tokenType["lendle_lending"] = "lendle_lending";
83
- tokenType["takotako_borrowing"] = "takotako_borrowing";
84
- tokenType["takotako_lending"] = "takotako_lending";
85
- tokenType["xlend_borrowing"] = "xlend_borrowing";
86
- tokenType["xlend_lending"] = "xlend_lending";
87
- tokenType["equalizer_gauge"] = "equalizer_gauge";
88
- tokenType["vicuna_lending"] = "vicuna_lending";
89
- tokenType["vicuna_borrowing"] = "vicuna_borrowing";
90
- tokenType["spectra_lpt"] = "spectra_lpt";
91
- tokenType["spectra_yt"] = "spectra_yt";
92
- tokenType["hourglass"] = "hourglass";
93
- tokenType["katana"] = "katana";
94
- tokenType["balancerV3"] = "balancerV3";
95
- tokenType["hanji_liquidity_vault_token"] = "hanji_liquidity_vault_token";
96
- tokenType["xU308"] = "xU308";
97
- tokenType["bunniV2"] = "bunniV2";
98
- tokenType["beratrax_vault"] = "beratrax_vault";
99
- tokenType["beraborrow_gauge"] = "beraborrow_gauge";
100
- tokenType["curve_gauge"] = "curve_gauge";
101
- tokenType["sake_borrowing"] = "sake_borrowing";
102
- tokenType["sake_lending"] = "sake_lending";
103
- tokenType["gamma"] = "gamma";
104
- })(tokenType || (tokenType = {}));
105
- export const tokenTypeToProtocolAndAction = {
106
- [tokenType.aave_borrowing]: { protocol: "aave", action: OpportunityAction.BORROW },
107
- [tokenType.anglesLiquid]: { protocol: "angles", action: OpportunityAction.LEND },
108
- [tokenType.aave_lending]: { protocol: "aave", action: OpportunityAction.LEND },
109
- [tokenType.aerodrome]: { protocol: "aerodrome", action: OpportunityAction.POOL },
110
- [tokenType.akron]: { protocol: "akron", action: OpportunityAction.POOL },
111
- [tokenType.aura]: { protocol: "aura", action: OpportunityAction.POOL },
112
- [tokenType.balancerGauge]: { protocol: "balancer", action: OpportunityAction.POOL },
113
- [tokenType.balancerPool]: { protocol: "balancer", action: OpportunityAction.POOL },
114
- [tokenType.baseswap]: { protocol: "base-swap", action: OpportunityAction.HOLD },
115
- [tokenType.beefy]: { protocol: "beefy", action: OpportunityAction.POOL },
116
- [tokenType.compound]: { protocol: "compound", action: OpportunityAction.LEND },
117
- [tokenType.curve]: { protocol: "curve", action: OpportunityAction.POOL },
118
- [tokenType.curve_2]: { protocol: "curve", action: OpportunityAction.POOL },
119
- [tokenType.dragonswap]: { protocol: "dragonswap", action: OpportunityAction.POOL },
120
- [tokenType.enzyme]: { protocol: "enzyme", action: OpportunityAction.HOLD },
121
- [tokenType.euler_borrow]: { protocol: "euler", action: OpportunityAction.BORROW },
122
- [tokenType.euler_lend]: { protocol: "euler", action: OpportunityAction.LEND },
123
- [tokenType.fenix]: { protocol: "fenix", action: OpportunityAction.HOLD },
124
- [tokenType.filament]: { protocol: "filament", action: OpportunityAction.LONG },
125
- [tokenType.fluid]: { protocol: "fluid", action: OpportunityAction.LEND },
126
- [tokenType.fraxlend]: { protocol: "fraxlend", action: OpportunityAction.LEND },
127
- [tokenType.gearbox]: { protocol: "gearbox", action: OpportunityAction.LEND },
128
- [tokenType.ionic]: { protocol: "ionic", action: OpportunityAction.LEND },
129
- [tokenType.ironclad_borrowing]: { protocol: "ironclad", action: OpportunityAction.HOLD },
130
- [tokenType.ironclad_lending]: { protocol: "ironclad", action: OpportunityAction.HOLD },
131
- [tokenType.koi]: { protocol: "koi", action: OpportunityAction.POOL },
132
- [tokenType.layerbank]: { protocol: "layerbank", action: OpportunityAction.LEND },
133
- [tokenType.metamorpho]: { protocol: "morpho", action: OpportunityAction.HOLD },
134
- [tokenType.moonwell]: { protocol: "moonwell", action: OpportunityAction.LEND },
135
- [tokenType.pendle]: { protocol: "pendle", action: OpportunityAction.HOLD },
136
- [tokenType.poolside]: { protocol: "poolside", action: OpportunityAction.POOL },
137
- [tokenType.ra]: { protocol: "ra", action: OpportunityAction.HOLD },
138
- [tokenType.radiant_borrow]: { protocol: "radiant", action: OpportunityAction.BORROW },
139
- [tokenType.radiant_lend]: { protocol: "radiant", action: OpportunityAction.LEND },
140
- [tokenType.reactor_fusion]: { protocol: "reactor_fusion", action: OpportunityAction.LEND },
141
- [tokenType.silostaking]: { protocol: "silo", action: OpportunityAction.LEND },
142
- [tokenType.splice]: { protocol: "splice", action: OpportunityAction.HOLD },
143
- [tokenType.sturdy_aggregator]: { protocol: "sturdy", action: OpportunityAction.LEND },
144
- [tokenType.sturdy_silo]: { protocol: "sturdy", action: OpportunityAction.LEND },
145
- [tokenType.syncswap]: { protocol: "syncswap", action: OpportunityAction.POOL },
146
- [tokenType.toros]: { protocol: "toros", action: OpportunityAction.HOLD },
147
- [tokenType.uniswapv2]: { protocol: "uniswap", action: OpportunityAction.POOL },
148
- [tokenType.velodrome]: { protocol: "velodrome", action: OpportunityAction.POOL },
149
- [tokenType.venus]: { protocol: "venus", action: OpportunityAction.LEND },
150
- [tokenType.unknown]: { protocol: undefined, action: OpportunityAction.HOLD },
151
- [tokenType.yei_borrowing]: { protocol: "yei", action: OpportunityAction.HOLD },
152
- [tokenType.yei_lending]: { protocol: "yei", action: OpportunityAction.HOLD },
153
- [tokenType.zerolend_borrowing]: { protocol: "zerolend", action: OpportunityAction.BORROW },
154
- [tokenType.zerolend_lending]: { protocol: "zerolend", action: OpportunityAction.LEND },
155
- [tokenType.zkswap]: { protocol: "zk-swap", action: OpportunityAction.POOL },
156
- [tokenType.rfx]: { protocol: "rfx", action: OpportunityAction.POOL },
157
- [tokenType.woofi]: { protocol: "woofi", action: OpportunityAction.LEND },
158
- [tokenType.ironcladStaking]: { protocol: "ironclad", action: OpportunityAction.HOLD },
159
- [tokenType.maverickBoostedPosition]: { protocol: "maverick", action: OpportunityAction.POOL },
160
- [tokenType.zkSwapThreePool]: { protocol: "zk-swap", action: OpportunityAction.POOL },
161
- [tokenType.maha]: { protocol: "maha", action: OpportunityAction.HOLD },
162
- [tokenType.tempest]: { protocol: "tempest", action: OpportunityAction.POOL },
163
- [tokenType.pendleYT]: { protocol: "pendle", action: OpportunityAction.HOLD },
164
- [tokenType.pancakeswap]: { protocol: "pancake-swap", action: OpportunityAction.POOL },
165
- [tokenType.tempestStaking]: { protocol: "tempest", action: OpportunityAction.HOLD },
166
- [tokenType.holdstation]: { protocol: "holdstation", action: OpportunityAction.HOLD },
167
- [tokenType.noLinkVault]: { protocol: undefined, action: OpportunityAction.HOLD },
168
- [tokenType.cpmmGamma]: { protocol: "gammaswap", action: OpportunityAction.POOL },
169
- [tokenType.crosscurve]: { protocol: "cross_curve", action: OpportunityAction.POOL },
170
- [tokenType.curveNPool]: { protocol: "curve", action: OpportunityAction.POOL },
171
- [tokenType.vicuna]: { protocol: "vicuna", action: OpportunityAction.POOL },
172
- [tokenType.traderJoe]: { protocol: "trader-joe", action: OpportunityAction.HOLD },
173
- [tokenType.avalon_lending]: { protocol: "avalon", action: OpportunityAction.HOLD },
174
- [tokenType.avalon_borrowing]: { protocol: "avalon", action: OpportunityAction.HOLD },
175
- [tokenType.satlayer]: { protocol: "satlayer", action: OpportunityAction.HOLD },
176
- [tokenType.veda]: { protocol: "veda", action: OpportunityAction.HOLD },
177
- [tokenType.superlend_borrowing]: { protocol: "superlend", action: OpportunityAction.BORROW },
178
- [tokenType.superlend_lending]: { protocol: "superlend", action: OpportunityAction.LEND },
179
- [tokenType.cian]: { protocol: "cian", action: OpportunityAction.HOLD },
180
- [tokenType.concrete]: { protocol: "concrete", action: OpportunityAction.HOLD },
181
- [tokenType.lendle_borrowing]: { protocol: "lendle", action: OpportunityAction.BORROW },
182
- [tokenType.lendle_lending]: { protocol: "lendle", action: OpportunityAction.LEND },
183
- [tokenType.takotako_borrowing]: { protocol: "tako-tako", action: OpportunityAction.BORROW },
184
- [tokenType.takotako_lending]: { protocol: "tako-tako", action: OpportunityAction.LEND },
185
- [tokenType.equalizer_gauge]: { protocol: "equalizer", action: OpportunityAction.HOLD },
186
- [tokenType.vicuna_lending]: { protocol: "vicuna", action: OpportunityAction.LEND },
187
- [tokenType.vicuna_borrowing]: { protocol: "vicuna", action: OpportunityAction.BORROW },
188
- [tokenType.spectra_lpt]: { protocol: "spectra", action: OpportunityAction.POOL },
189
- [tokenType.spectra_yt]: { protocol: "spectra", action: OpportunityAction.POOL },
190
- [tokenType.rfx_slv]: { protocol: "rfx", action: OpportunityAction.POOL },
191
- [tokenType.hourglass]: { protocol: "hourglass", action: OpportunityAction.HOLD },
192
- [tokenType.katana]: { protocol: "katana", action: OpportunityAction.POOL },
193
- [tokenType.balancerV3]: { protocol: "balancer", action: OpportunityAction.POOL },
194
- [tokenType.hanji_liquidity_vault_token]: { protocol: "hanji", action: OpportunityAction.POOL },
195
- [tokenType.xU308]: { protocol: "uranium", action: OpportunityAction.HOLD },
196
- [tokenType.bunniV2]: {
197
- protocol: "bunni",
198
- action: OpportunityAction.HOLD,
199
- },
200
- [tokenType.beratrax_vault]: {
201
- protocol: "beratrax",
202
- action: OpportunityAction.HOLD,
203
- },
204
- [tokenType.beraborrow_gauge]: {
205
- protocol: "beraborrow",
206
- action: OpportunityAction.HOLD,
207
- },
208
- [tokenType.xlend_lending]: {
209
- protocol: "xlend",
210
- action: OpportunityAction.LEND,
211
- },
212
- [tokenType.xlend_borrowing]: {
213
- protocol: "xlend",
214
- action: OpportunityAction.BORROW,
215
- },
216
- [tokenType.curve_gauge]: {
217
- protocol: "curve",
218
- action: OpportunityAction.POOL,
219
- },
220
- [tokenType.sake_borrowing]: {
221
- protocol: "sake",
222
- action: OpportunityAction.BORROW,
223
- },
224
- [tokenType.sake_lending]: {
225
- protocol: "sake",
226
- action: OpportunityAction.LEND,
227
- },
228
- [tokenType.gamma]: {
229
- protocol: "gamma",
230
- action: OpportunityAction.POOL,
231
- },
232
- };
@@ -1,2 +0,0 @@
1
- export * from "./computedValue.model";
2
- export * from "./computedValue.service";
@@ -1,2 +0,0 @@
1
- export * from "./computedValue.model";
2
- export * from "./computedValue.service";