@sonarwatch/portfolio-plugins 0.14.137 → 0.14.139

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 (387) hide show
  1. package/CHANGELOG.md +2165 -2152
  2. package/README.md +3 -3
  3. package/package.json +1 -1
  4. package/src/index.js +356 -639
  5. package/src/index.js.map +1 -1
  6. package/src/orphanPlatforms.d.ts +1 -0
  7. package/src/orphanPlatforms.js +15 -14
  8. package/src/orphanPlatforms.js.map +1 -1
  9. package/src/plugins/01/constants.js +1 -1
  10. package/src/plugins/01/constants.js.map +1 -1
  11. package/src/plugins/aave/constants.js +1 -1
  12. package/src/plugins/aave/constants.js.map +1 -1
  13. package/src/plugins/abex/constants.js +1 -1
  14. package/src/plugins/abex/constants.js.map +1 -1
  15. package/src/plugins/accessprotocol/constants.js +1 -1
  16. package/src/plugins/accessprotocol/constants.js.map +1 -1
  17. package/src/plugins/adrastea/constants.js +1 -1
  18. package/src/plugins/adrastea/constants.js.map +1 -1
  19. package/src/plugins/adrena/constants.js +1 -1
  20. package/src/plugins/adrena/constants.js.map +1 -1
  21. package/src/plugins/aftermath/constants.js +1 -1
  22. package/src/plugins/aftermath/constants.js.map +1 -1
  23. package/src/plugins/allbridge/constants.js +1 -1
  24. package/src/plugins/allbridge/constants.js.map +1 -1
  25. package/src/plugins/alphafi/constants.js +1 -1
  26. package/src/plugins/alphafi/constants.js.map +1 -1
  27. package/src/plugins/aptin/constants.js +1 -1
  28. package/src/plugins/aptin/constants.js.map +1 -1
  29. package/src/plugins/aries/constants.js +1 -1
  30. package/src/plugins/aries/constants.js.map +1 -1
  31. package/src/plugins/armada-staking/constants.js +11 -11
  32. package/src/plugins/armada-staking/constants.js.map +1 -1
  33. package/src/plugins/atrix/constants.js +1 -1
  34. package/src/plugins/atrix/constants.js.map +1 -1
  35. package/src/plugins/aurory/constants.js +1 -1
  36. package/src/plugins/aurory/constants.js.map +1 -1
  37. package/src/plugins/auxexchange/constants.js +1 -1
  38. package/src/plugins/auxexchange/constants.js.map +1 -1
  39. package/src/plugins/balancer/constants.js +1 -1
  40. package/src/plugins/balancer/constants.js.map +1 -1
  41. package/src/plugins/balancer/helpers/pools.js +21 -21
  42. package/src/plugins/banx/constants.js +1 -1
  43. package/src/plugins/banx/constants.js.map +1 -1
  44. package/src/plugins/baskt/constants.js +1 -1
  45. package/src/plugins/baskt/constants.js.map +1 -1
  46. package/src/plugins/benqi/constants.js +1 -1
  47. package/src/plugins/benqi/constants.js.map +1 -1
  48. package/src/plugins/bluefin/constants.js +2 -2
  49. package/src/plugins/bluefin/constants.js.map +1 -1
  50. package/src/plugins/bluefin/index.d.ts +2 -2
  51. package/src/plugins/bluefin/index.js +2 -2
  52. package/src/plugins/bluefin/index.js.map +1 -1
  53. package/src/plugins/bluemove/constants.js +1 -1
  54. package/src/plugins/bluemove/constants.js.map +1 -1
  55. package/src/plugins/bonfida/constants.js +1 -1
  56. package/src/plugins/bonfida/constants.js.map +1 -1
  57. package/src/plugins/bonkrewards/constants.js +1 -1
  58. package/src/plugins/bonkrewards/constants.js.map +1 -1
  59. package/src/plugins/bskt/constants.js +1 -1
  60. package/src/plugins/bskt/constants.js.map +1 -1
  61. package/src/plugins/bucket/constants.js +1 -1
  62. package/src/plugins/bucket/constants.js.map +1 -1
  63. package/src/plugins/cetus/constants.js +1 -1
  64. package/src/plugins/cetus/constants.js.map +1 -1
  65. package/src/plugins/citrus/constants.js +1 -1
  66. package/src/plugins/citrus/constants.js.map +1 -1
  67. package/src/plugins/clone/constants.js +1 -1
  68. package/src/plugins/clone/constants.js.map +1 -1
  69. package/src/plugins/compound/constants.js +1 -1
  70. package/src/plugins/compound/constants.js.map +1 -1
  71. package/src/plugins/cropper/constants.js +1 -1
  72. package/src/plugins/cropper/constants.js.map +1 -1
  73. package/src/plugins/curve/constants.js +1 -1
  74. package/src/plugins/curve/constants.js.map +1 -1
  75. package/src/plugins/cyberfrogs/constants.js +1 -1
  76. package/src/plugins/cyberfrogs/constants.js.map +1 -1
  77. package/src/plugins/daos/constants.js +2 -2
  78. package/src/plugins/daos/constants.js.map +1 -1
  79. package/src/plugins/debridge/constants.js +2 -2
  80. package/src/plugins/debridge/constants.js.map +1 -1
  81. package/src/plugins/deepbook/constants.js +2 -2
  82. package/src/plugins/deepbook/constants.js.map +1 -1
  83. package/src/plugins/deepbook/index.d.ts +2 -0
  84. package/src/plugins/deepbook/index.js +2 -1
  85. package/src/plugins/deepbook/index.js.map +1 -1
  86. package/src/plugins/defiland/constants.js +1 -1
  87. package/src/plugins/defiland/constants.js.map +1 -1
  88. package/src/plugins/defituna/constants.js +1 -1
  89. package/src/plugins/defituna/constants.js.map +1 -1
  90. package/src/plugins/divvy/constants.js +1 -1
  91. package/src/plugins/divvy/constants.js.map +1 -1
  92. package/src/plugins/doubleup/constants.js +1 -1
  93. package/src/plugins/doubleup/constants.js.map +1 -1
  94. package/src/plugins/drift/depositsFetcher.js.map +1 -1
  95. package/src/plugins/drift/index.d.ts +2 -1
  96. package/src/plugins/drift/index.js +3 -4
  97. package/src/plugins/drift/index.js.map +1 -1
  98. package/src/plugins/drift/perpHelpers/margin.js +1 -8
  99. package/src/plugins/drift/perpHelpers/margin.js.map +1 -1
  100. package/src/plugins/drift/perpHelpers/position.js +0 -1
  101. package/src/plugins/drift/perpHelpers/position.js.map +1 -1
  102. package/src/plugins/drift/perpHelpers/pyth.js +4 -5
  103. package/src/plugins/drift/perpHelpers/pyth.js.map +1 -1
  104. package/src/plugins/drift/perpHelpers/switchboard_on_demand.js +1 -2
  105. package/src/plugins/drift/perpHelpers/switchboard_on_demand.js.map +1 -1
  106. package/src/plugins/drift/perpHelpers/types.d.ts +0 -1
  107. package/src/plugins/drift/perpHelpers/types.js.map +1 -1
  108. package/src/plugins/drift-market-maker-vault/constants.js +9 -9
  109. package/src/plugins/drift-market-maker-vault/constants.js.map +1 -1
  110. package/src/plugins/echelon/constants.js +1 -1
  111. package/src/plugins/echelon/constants.js.map +1 -1
  112. package/src/plugins/elemental/constants.js +1 -1
  113. package/src/plugins/elemental/constants.js.map +1 -1
  114. package/src/plugins/elixir/constants.js +1 -1
  115. package/src/plugins/elixir/constants.js.map +1 -1
  116. package/src/plugins/ensofi/constants.js +1 -1
  117. package/src/plugins/ensofi/constants.js.map +1 -1
  118. package/src/plugins/exponent/constants.js +1 -1
  119. package/src/plugins/exponent/constants.js.map +1 -1
  120. package/src/plugins/famousfoxfederation/constants.js +1 -1
  121. package/src/plugins/famousfoxfederation/constants.js.map +1 -1
  122. package/src/plugins/flash/constants.js +1 -1
  123. package/src/plugins/flash/constants.js.map +1 -1
  124. package/src/plugins/flowx/constants.js +1 -1
  125. package/src/plugins/flowx/constants.js.map +1 -1
  126. package/src/plugins/fluxbeam/constants.js +1 -1
  127. package/src/plugins/fluxbeam/constants.js.map +1 -1
  128. package/src/plugins/foo/constants.js +2 -2
  129. package/src/plugins/foo/constants.js.map +1 -1
  130. package/src/plugins/fragmetric/constants.js +1 -1
  131. package/src/plugins/fragmetric/constants.js.map +1 -1
  132. package/src/plugins/francium/constants.js +1 -1
  133. package/src/plugins/francium/constants.js.map +1 -1
  134. package/src/plugins/futarchy/constants.js +1 -1
  135. package/src/plugins/futarchy/constants.js.map +1 -1
  136. package/src/plugins/genesysgo/constants.js +1 -1
  137. package/src/plugins/genesysgo/constants.js.map +1 -1
  138. package/src/plugins/goosefx/constants.js +1 -1
  139. package/src/plugins/goosefx/constants.js.map +1 -1
  140. package/src/plugins/gpool/constants.js +1 -1
  141. package/src/plugins/gpool/constants.js.map +1 -1
  142. package/src/plugins/grass/constants.js +2 -2
  143. package/src/plugins/grass/constants.js.map +1 -1
  144. package/src/plugins/grass/index.d.ts +2 -2
  145. package/src/plugins/grass/index.js +2 -2
  146. package/src/plugins/grass/index.js.map +1 -1
  147. package/src/plugins/guano/constants.js +1 -1
  148. package/src/plugins/guano/constants.js.map +1 -1
  149. package/src/plugins/haedal/constants.js +1 -1
  150. package/src/plugins/haedal/constants.js.map +1 -1
  151. package/src/plugins/hawksight/constants.js +1 -1
  152. package/src/plugins/hawksight/constants.js.map +1 -1
  153. package/src/plugins/hedgehog/constants.js +1 -1
  154. package/src/plugins/hedgehog/constants.js.map +1 -1
  155. package/src/plugins/hxro/constants.js +1 -1
  156. package/src/plugins/hxro/constants.js.map +1 -1
  157. package/src/plugins/iloop/constants.js +1 -1
  158. package/src/plugins/iloop/constants.js.map +1 -1
  159. package/src/plugins/instadapp/constants.js +1 -1
  160. package/src/plugins/instadapp/constants.js.map +1 -1
  161. package/src/plugins/jewel/constants.js +1 -1
  162. package/src/plugins/jewel/constants.js.map +1 -1
  163. package/src/plugins/jito/constants.js +3 -3
  164. package/src/plugins/jito/constants.js.map +1 -1
  165. package/src/plugins/joule/constants.js +1 -1
  166. package/src/plugins/joule/constants.js.map +1 -1
  167. package/src/plugins/jupiter/exchange/constants.js +1 -1
  168. package/src/plugins/jupiter/exchange/constants.js.map +1 -1
  169. package/src/plugins/jupiter/exchange/dcaFetcher.js +1 -1
  170. package/src/plugins/jupiter/exchange/dcaFetcher.js.map +1 -1
  171. package/src/plugins/jupiter/exchange/limitFetcher.js +1 -1
  172. package/src/plugins/jupiter/exchange/limitFetcher.js.map +1 -1
  173. package/src/plugins/jupiter/exchange/perpetualFetcher.js +1 -1
  174. package/src/plugins/jupiter/exchange/perpetualFetcher.js.map +1 -1
  175. package/src/plugins/jupiter/launchpad/constants.js +5 -5
  176. package/src/plugins/jupiter/launchpad/constants.js.map +1 -1
  177. package/src/plugins/kai/constants.js +1 -1
  178. package/src/plugins/kai/constants.js.map +1 -1
  179. package/src/plugins/kamino/constants.js +2 -2
  180. package/src/plugins/kamino/constants.js.map +1 -1
  181. package/src/plugins/kriya/constants.js +1 -1
  182. package/src/plugins/kriya/constants.js.map +1 -1
  183. package/src/plugins/layer3/constants.js +1 -1
  184. package/src/plugins/layer3/constants.js.map +1 -1
  185. package/src/plugins/lido/constants.js +1 -1
  186. package/src/plugins/lido/constants.js.map +1 -1
  187. package/src/plugins/lifinity/constants.js +1 -1
  188. package/src/plugins/lifinity/constants.js.map +1 -1
  189. package/src/plugins/liquiditypools-sei/constants.js +2 -2
  190. package/src/plugins/liquiditypools-sei/constants.js.map +1 -1
  191. package/src/plugins/liquidswap/constants.js +1 -1
  192. package/src/plugins/liquidswap/constants.js.map +1 -1
  193. package/src/plugins/loopscale/constants.js +1 -1
  194. package/src/plugins/loopscale/constants.js.map +1 -1
  195. package/src/plugins/loverflow/constants.js +1 -1
  196. package/src/plugins/loverflow/constants.js.map +1 -1
  197. package/src/plugins/lulo/constants.js +1 -1
  198. package/src/plugins/lulo/constants.js.map +1 -1
  199. package/src/plugins/magiceden/constants.js +2 -2
  200. package/src/plugins/magiceden/constants.js.map +1 -1
  201. package/src/plugins/magiceden/index.d.ts +2 -2
  202. package/src/plugins/magiceden/index.js +2 -2
  203. package/src/plugins/magiceden/index.js.map +1 -1
  204. package/src/plugins/maker/constants.js +1 -1
  205. package/src/plugins/maker/constants.js.map +1 -1
  206. package/src/plugins/mango/constants.js +2 -2
  207. package/src/plugins/mango/constants.js.map +1 -1
  208. package/src/plugins/maple/constants.js +1 -1
  209. package/src/plugins/maple/constants.js.map +1 -1
  210. package/src/plugins/marginfi/constants.js +1 -1
  211. package/src/plugins/marginfi/constants.js.map +1 -1
  212. package/src/plugins/marinade/constants.js +1 -1
  213. package/src/plugins/marinade/constants.js.map +1 -1
  214. package/src/plugins/marinade/index.d.ts +2 -0
  215. package/src/plugins/marinade/index.js +2 -1
  216. package/src/plugins/marinade/index.js.map +1 -1
  217. package/src/plugins/meso/constants.js +1 -1
  218. package/src/plugins/meso/constants.js.map +1 -1
  219. package/src/plugins/metaplex/constants.js +1 -1
  220. package/src/plugins/metaplex/constants.js.map +1 -1
  221. package/src/plugins/meteora/constants.js +1 -1
  222. package/src/plugins/meteora/constants.js.map +1 -1
  223. package/src/plugins/mole/constants.js +2 -2
  224. package/src/plugins/mole/constants.js.map +1 -1
  225. package/src/plugins/moonwalk/constants.js +1 -1
  226. package/src/plugins/moonwalk/constants.js.map +1 -1
  227. package/src/plugins/morpho/constants.js +1 -1
  228. package/src/plugins/morpho/constants.js.map +1 -1
  229. package/src/plugins/native-stake/constants.js +1 -1
  230. package/src/plugins/native-stake/constants.js.map +1 -1
  231. package/src/plugins/nosana/constants.js +1 -1
  232. package/src/plugins/nosana/constants.js.map +1 -1
  233. package/src/plugins/nxfinance/constants.js +1 -1
  234. package/src/plugins/nxfinance/constants.js.map +1 -1
  235. package/src/plugins/orca/constants.js +2 -2
  236. package/src/plugins/orca/constants.js.map +1 -1
  237. package/src/plugins/orders/clobs-solana/constants.js +2 -2
  238. package/src/plugins/orders/clobs-solana/constants.js.map +1 -1
  239. package/src/plugins/pancakeswap/constants.js +1 -1
  240. package/src/plugins/pancakeswap/constants.js.map +1 -1
  241. package/src/plugins/paraswap/constants.js +1 -1
  242. package/src/plugins/paraswap/constants.js.map +1 -1
  243. package/src/plugins/parcl/index.d.ts +2 -1
  244. package/src/plugins/parcl/index.js +3 -4
  245. package/src/plugins/parcl/index.js.map +1 -1
  246. package/src/plugins/perena/constants.js +1 -1
  247. package/src/plugins/perena/constants.js.map +1 -1
  248. package/src/plugins/phoenix/constants.js +1 -1
  249. package/src/plugins/phoenix/constants.js.map +1 -1
  250. package/src/plugins/photofinish/constants.js +1 -1
  251. package/src/plugins/photofinish/constants.js.map +1 -1
  252. package/src/plugins/picasso/constants.js +1 -1
  253. package/src/plugins/picasso/constants.js.map +1 -1
  254. package/src/plugins/pluto/constants.js +1 -1
  255. package/src/plugins/pluto/constants.js.map +1 -1
  256. package/src/plugins/port/constants.js +1 -1
  257. package/src/plugins/port/constants.js.map +1 -1
  258. package/src/plugins/pudgypenguins/constants.js +2 -2
  259. package/src/plugins/pudgypenguins/constants.js.map +1 -1
  260. package/src/plugins/puffcoin/constants.js +1 -1
  261. package/src/plugins/puffcoin/constants.js.map +1 -1
  262. package/src/plugins/pyth/constants.js +1 -1
  263. package/src/plugins/pyth/constants.js.map +1 -1
  264. package/src/plugins/quarry/constants.js +1 -1
  265. package/src/plugins/quarry/constants.js.map +1 -1
  266. package/src/plugins/rain/constants.js +1 -1
  267. package/src/plugins/rain/constants.js.map +1 -1
  268. package/src/plugins/ratex/constants.js +1 -1
  269. package/src/plugins/ratex/constants.js.map +1 -1
  270. package/src/plugins/raydium/constants.js +1 -1
  271. package/src/plugins/raydium/constants.js.map +1 -1
  272. package/src/plugins/rocket-pool/constants.js +1 -1
  273. package/src/plugins/rocket-pool/constants.js.map +1 -1
  274. package/src/plugins/saber/constants.js +1 -1
  275. package/src/plugins/saber/constants.js.map +1 -1
  276. package/src/plugins/saber/index.d.ts +2 -0
  277. package/src/plugins/saber/index.js +2 -1
  278. package/src/plugins/saber/index.js.map +1 -1
  279. package/src/plugins/sandglass/constants.js +1 -1
  280. package/src/plugins/sandglass/constants.js.map +1 -1
  281. package/src/plugins/save/constants.js +2 -2
  282. package/src/plugins/save/constants.js.map +1 -1
  283. package/src/plugins/sharky/constants.js +1 -1
  284. package/src/plugins/sharky/constants.js.map +1 -1
  285. package/src/plugins/solayer/constants.js +3 -3
  286. package/src/plugins/solayer/constants.js.map +1 -1
  287. package/src/plugins/solayer/index.d.ts +2 -2
  288. package/src/plugins/solayer/index.js +2 -2
  289. package/src/plugins/solayer/index.js.map +1 -1
  290. package/src/plugins/sonic/constants.js +2 -2
  291. package/src/plugins/sonic/constants.js.map +1 -1
  292. package/src/plugins/sonic/index.d.ts +2 -2
  293. package/src/plugins/sonic/index.js +2 -2
  294. package/src/plugins/sonic/index.js.map +1 -1
  295. package/src/plugins/spdr/constants.js +1 -1
  296. package/src/plugins/spdr/constants.js.map +1 -1
  297. package/src/plugins/stabble/constants.js +1 -1
  298. package/src/plugins/stabble/constants.js.map +1 -1
  299. package/src/plugins/stader/constants.js +1 -1
  300. package/src/plugins/stader/constants.js.map +1 -1
  301. package/src/plugins/staking-aptos/constants.js +1 -1
  302. package/src/plugins/staking-aptos/constants.js.map +1 -1
  303. package/src/plugins/staratlas/constants.js +1 -1
  304. package/src/plugins/staratlas/constants.js.map +1 -1
  305. package/src/plugins/stargate/constants.js +1 -1
  306. package/src/plugins/stargate/constants.js.map +1 -1
  307. package/src/plugins/streamflow/constants.js +2 -2
  308. package/src/plugins/streamflow/constants.js.map +1 -1
  309. package/src/plugins/suilend/constants.js +2 -2
  310. package/src/plugins/suilend/constants.js.map +1 -1
  311. package/src/plugins/suilend/index.d.ts +2 -2
  312. package/src/plugins/suilend/index.js +2 -2
  313. package/src/plugins/suilend/index.js.map +1 -1
  314. package/src/plugins/suins/constants.js +2 -2
  315. package/src/plugins/suins/constants.js.map +1 -1
  316. package/src/plugins/suins/index.d.ts +2 -2
  317. package/src/plugins/suins/index.js +2 -2
  318. package/src/plugins/suins/index.js.map +1 -1
  319. package/src/plugins/superposition/constants.js +1 -1
  320. package/src/plugins/superposition/constants.js.map +1 -1
  321. package/src/plugins/sushiswap/constants.js +1 -1
  322. package/src/plugins/sushiswap/constants.js.map +1 -1
  323. package/src/plugins/sushiswap/helpers.js +24 -24
  324. package/src/plugins/switchboard/index.d.ts +2 -0
  325. package/src/plugins/switchboard/index.js +2 -1
  326. package/src/plugins/switchboard/index.js.map +1 -1
  327. package/src/plugins/symmetry/constants.js +1 -1
  328. package/src/plugins/symmetry/constants.js.map +1 -1
  329. package/src/plugins/tensor/constants.js +3 -3
  330. package/src/plugins/tensor/constants.js.map +1 -1
  331. package/src/plugins/tensor/index.d.ts +3 -1
  332. package/src/plugins/tensor/index.js +3 -2
  333. package/src/plugins/tensor/index.js.map +1 -1
  334. package/src/plugins/texture/constants.js +1 -1
  335. package/src/plugins/texture/constants.js.map +1 -1
  336. package/src/plugins/thala/constants.js +1 -1
  337. package/src/plugins/thala/constants.js.map +1 -1
  338. package/src/plugins/thevault/constants.js +1 -1
  339. package/src/plugins/thevault/constants.js.map +1 -1
  340. package/src/plugins/tokens/constants.js +2 -2
  341. package/src/plugins/tokens/constants.js.map +1 -1
  342. package/src/plugins/top-tokens/index.d.ts +4 -0
  343. package/src/plugins/top-tokens/index.js +3 -1
  344. package/src/plugins/top-tokens/index.js.map +1 -1
  345. package/src/plugins/tradeport/constants.js +1 -1
  346. package/src/plugins/tradeport/constants.js.map +1 -1
  347. package/src/plugins/triad/constants.js +1 -1
  348. package/src/plugins/triad/constants.js.map +1 -1
  349. package/src/plugins/tulip/constants.js +1 -1
  350. package/src/plugins/tulip/constants.js.map +1 -1
  351. package/src/plugins/turbos/constants.js +1 -1
  352. package/src/plugins/turbos/constants.js.map +1 -1
  353. package/src/plugins/typus/constants.js +1 -1
  354. package/src/plugins/typus/constants.js.map +1 -1
  355. package/src/plugins/uniswap/constants.js +1 -1
  356. package/src/plugins/uniswap/constants.js.map +1 -1
  357. package/src/plugins/uniswap-v2/helpers.js +22 -22
  358. package/src/plugins/uniswap-v2/index.d.ts +2 -0
  359. package/src/plugins/uniswap-v2/index.js +2 -1
  360. package/src/plugins/uniswap-v2/index.js.map +1 -1
  361. package/src/plugins/uxd/constants.js +1 -1
  362. package/src/plugins/uxd/constants.js.map +1 -1
  363. package/src/plugins/vaultka/constants.js +1 -1
  364. package/src/plugins/vaultka/constants.js.map +1 -1
  365. package/src/plugins/venus/constants.js +1 -1
  366. package/src/plugins/venus/constants.js.map +1 -1
  367. package/src/plugins/whalesmarket/constants.js +1 -1
  368. package/src/plugins/whalesmarket/constants.js.map +1 -1
  369. package/src/plugins/wormhole/constants.js +1 -1
  370. package/src/plugins/wormhole/constants.js.map +1 -1
  371. package/src/plugins/yearn/constants.js +1 -1
  372. package/src/plugins/yearn/constants.js.map +1 -1
  373. package/src/plugins/zelo/constants.js +1 -1
  374. package/src/plugins/zelo/constants.js.map +1 -1
  375. package/src/plugins/zeta/airdropFetcher.js +14 -14
  376. package/src/plugins/zeta/constants.js +2 -2
  377. package/src/plugins/zeta/constants.js.map +1 -1
  378. package/src/plugins/zeta/index.d.ts +2 -2
  379. package/src/plugins/zeta/index.js +2 -2
  380. package/src/plugins/zeta/index.js.map +1 -1
  381. package/src/utils/clients/getClientSolana.d.ts +7 -1
  382. package/src/utils/clients/getClientSolana.js +2 -1
  383. package/src/utils/clients/getClientSolana.js.map +1 -1
  384. package/src/utils/sei/constants.js +8 -8
  385. package/src/utils/sei/getQueryBalanceByOwner.js +4 -4
  386. package/src/utils/solana/getProgramAccounts.js +0 -1
  387. package/src/utils/solana/getProgramAccounts.js.map +1 -1
@@ -3,17 +3,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.airdropFetcher = exports.fetchers = exports.jobs = exports.platforms = void 0;
6
+ exports.airdropFetchers = exports.fetchers = exports.jobs = exports.platforms = void 0;
7
7
  const constants_1 = require("./constants");
8
8
  const spotMarketsJob_1 = __importDefault(require("./spotMarketsJob"));
9
9
  const prepMarketsJob_1 = __importDefault(require("./prepMarketsJob"));
10
10
  const depositsFetcher_1 = __importDefault(require("./depositsFetcher"));
11
11
  const premarketJob_1 = __importDefault(require("./premarketJob"));
12
- // import airdropFetcher from './airdropFetcher';
13
12
  const airdropFetcher_1 = __importDefault(require("./airdropFetcher"));
13
+ const helpersAirdrop_1 = require("./helpersAirdrop");
14
14
  exports.platforms = [constants_1.platform];
15
15
  exports.jobs = [spotMarketsJob_1.default, premarketJob_1.default, prepMarketsJob_1.default];
16
16
  exports.fetchers = [depositsFetcher_1.default, airdropFetcher_1.default];
17
- var helpersAirdrop_1 = require("./helpersAirdrop");
18
- Object.defineProperty(exports, "airdropFetcher", { enumerable: true, get: function () { return helpersAirdrop_1.airdropFetcher; } });
17
+ exports.airdropFetchers = [helpersAirdrop_1.airdropFetcher];
19
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/drift/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAAuC;AACvC,sEAA8C;AAC9C,sEAA8C;AAC9C,wEAAgD;AAChD,kEAA0C;AAC1C,iDAAiD;AACjD,sEAAmD;AAEtC,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,CAAC,wBAAc,EAAE,sBAAY,EAAE,wBAAc,CAAC,CAAC;AAC7D,QAAA,QAAQ,GAAc,CAAC,yBAAe,EAAE,wBAAmB,CAAC,CAAC;AAC1E,mDAAkD;AAAzC,gHAAA,cAAc,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/drift/index.ts"],"names":[],"mappings":";;;;;;AAIA,2CAAuC;AACvC,sEAA8C;AAC9C,sEAA8C;AAC9C,wEAAgD;AAChD,kEAA0C;AAC1C,sEAAmD;AACnD,qDAAkD;AAErC,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,CAAC,wBAAc,EAAE,sBAAY,EAAE,wBAAc,CAAC,CAAC;AAC7D,QAAA,QAAQ,GAAc,CAAC,yBAAe,EAAE,wBAAmB,CAAC,CAAC;AAC7D,QAAA,eAAe,GAAqB,CAAC,+BAAc,CAAC,CAAC"}
@@ -61,20 +61,13 @@ function calculateOraclePriceForPerpMargin(perpPosition, market, oraclePriceData
61
61
  exports.calculateOraclePriceForPerpMargin = calculateOraclePriceForPerpMargin;
62
62
  function calculateBaseAssetValueWithOracle(market, perpPosition, oraclePriceData, includeOpenOrders = false) {
63
63
  let { price } = oraclePriceData;
64
- const { precision } = oraclePriceData;
65
64
  if (market.status === struct_1.MarketStatus.Settlement) {
66
65
  price = new bn_js_1.default(market.expiryPrice.toString(10), 10);
67
66
  }
68
67
  const baseAssetAmount = includeOpenOrders
69
68
  ? calculateWorstCaseBaseAssetAmount(perpPosition)
70
69
  : perpPosition.baseAssetAmount;
71
- const baseAssetValue = baseAssetAmount
72
- .abs()
73
- .mul(price)
74
- .div(constants_1.AMM_RESERVE_PRECISION);
75
- return precision
76
- ? baseAssetValue.div(new bn_js_1.default(10).pow(precision))
77
- : baseAssetValue;
70
+ return baseAssetAmount.abs().mul(price).div(constants_1.AMM_RESERVE_PRECISION);
78
71
  }
79
72
  exports.calculateBaseAssetValueWithOracle = calculateBaseAssetValueWithOracle;
80
73
  function calculateWorstCaseBaseAssetAmount(perpPosition) {
@@ -1 +1 @@
1
- {"version":3,"file":"margin.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/drift/perpHelpers/margin.ts"],"names":[],"mappings":";;;;;;AAAA,kDAAuB;AACvB,sCAAmE;AAEnE,2CAMqB;AACrB,iCAAsC;AACtC,qCAAkC;AAElC,SAAgB,mCAAmC,CACjD,IAAQ,EAAE,wBAAwB;AAClC,SAAa,EACb,eAAmB,EACnB,SAAa;IAEb,IAAI,SAAS,CAAC,EAAE,CAAC,gBAAI,CAAC,EAAE,CAAC;QACvB,OAAO,eAAe,CAAC;IACzB,CAAC;IAED,MAAM,QAAQ,GAAG,IAAA,mBAAY,EAAC,IAAI,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,IAAI,eAAE,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,eAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,qBAAqB;IAE/F,MAAM,wBAAwB,GAAG,eAAe,CAAC,GAAG,CAClD,eAAe,CAAC,GAAG,CAAC,IAAI,eAAE,CAAC,CAAC,CAAC,CAAC,CAC/B,CAAC;IAEF,MAAM,KAAK,GAAG,IAAI,eAAE,CAAC,MAAO,CAAC,CAAC,GAAG,CAAC,qCAAyB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC5E,IAAA,eAAM,EAAC,KAAK,CAAC,EAAE,CAAC,gBAAI,CAAC,CAAC,CAAC;IAEvB,MAAM,0BAA0B,GAAG,wBAAwB,CAAC,GAAG,CAC7D,QAAQ,CAAC,MAAM;SACZ,GAAG,CAAC,SAAS,CAAC;SACd,GA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d,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC,IAAI,eAAE,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QAC/C,CAAC,CAAC,cAAc,CAAC;AACrB,CAAC;AAxBD,8EAwBC;AAED,SAAgB,iCAAiC,CAC/C,YAA0B;IAE1B,MAAM,OAAO,GAAG,YAAY,CAAC,eAAe,CAAC,GAAG,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IACxE,MAAM,OAAO,GAAG,YAAY,CAAC,eAAe,CAAC,GAAG,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IAExE,IAAI,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC;QACpC,OAAO,OAAO,CAAC;IACjB,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC;AAVD,8EAUC"}
1
+ {"version":3,"file":"margin.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/drift/perpHelpers/margin.ts"],"names":[],"mappings":";;;;;;AAAA,kDAAuB;AACvB,sCAAmE;AAEnE,2CAMqB;AACrB,iCAAsC;AACtC,qCAAkC;AAElC,SAAgB,mCAAmC,CACjD,IAAQ,EAAE,wBAAwB;AAClC,SAAa,EACb,eAAmB,EACnB,SAAa;IAEb,IAAI,SAAS,CAAC,EAAE,CAAC,gBAAI,CAAC,EAAE,CAAC;QACvB,OAAO,eAAe,CAAC;IACzB,CAAC;IAED,MAAM,QAAQ,GAAG,IAAA,mBAAY,EAAC,IAAI,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,IAAI,eAAE,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,eAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,qBAAqB;IAE/F,MAAM,wBAAwB,GAAG,eAAe,CAAC,GAAG,CAClD,eAAe,CAAC,GAAG,CAAC,IAAI,eAAE,CAAC,CAAC,CAAC,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,CAAC,CAAC;IACtD,CAAC;IAED,MAAM,eAAe,GAAG,iBAAiB;QACvC,CAAC,CAAC,iCAAiC,CAAC,YAAY,CAAC;QACjD,CAAC,CAAC,YAAY,CAAC,eAAe,CAAC;IAEjC,OAAO,eAAe,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,iCAAqB,CAAC,CAAC;AACrE,CAAC;AAhBD,8EAgBC;AAED,SAAgB,iCAAiC,CAC/C,YAA0B;IAE1B,MAAM,OAAO,GAAG,YAAY,CAAC,eAAe,CAAC,GAAG,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IACxE,MAAM,OAAO,GAAG,YAAY,CAAC,eAAe,CAAC,GAAG,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IAExE,IAAI,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC;QACpC,OAAO,OAAO,CAAC;IACjB,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC;AAVD,8EAUC"}
@@ -69,7 +69,6 @@ function calculatePositionPNL(market, perpPosition, oraclePriceData, withFunding
69
69
  : new bn_js_1.default(1);
70
70
  let pnl = baseAssetValue
71
71
  .mul(baseAssetValueSign)
72
- .mul(constants_1.PRICE_PRECISION)
73
72
  .add(perpPosition.quoteAssetAmount);
74
73
  if (withFunding) {
75
74
  const fundingRatePnL = calculatePositionFundingPNL(market, perpPosition);
@@ -1 +1 @@
1
- {"version":3,"file":"position.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/drift/perpHelpers/position.ts"],"names":[],"mappings":";;;;;;AAAA,kDAAuB;AAEvB,2CAQqB;AACrB,mCAA6D;AAC7D,+BAKe;AACf,qCAA6D;AAE7D,SAAgB,uBAAuB,CACrC,MAAkB,EAClB,YAA0B,EAC1B,eAAgC,EAChC,SAAS,GAAG,IAAI,EAChB,UAAU,GAAG,KAAK;IAElB,IAA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CAAC,YAA0B;IACxD,OAAO,YAAY,CAAC,eAAe,CAAC,EAAE,CAAC,gBAAI,CAAC,IAAI,YAAY,CAAC,UAAU,KAAK,CAAC,CAAC;AAChF,CAAC;AAFD,0CAEC;AAED,SAAgB,aAAa,CAAC,QAAsB;IAClD,OAAO,CACL,QAAQ,CAAC,UAAU,KAAK,CAAC;QACzB,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC,gBAAI,CAAC;QAC3B,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC,gBAAI,CAAC,CAC5B,CAAC;AACJ,CAAC;AAND,sCAMC"}
1
+ {"version":3,"file":"position.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/drift/perpHelpers/position.ts"],"names":[],"mappings":";;;;;;AAAA,kDAAuB;AAEvB,2CAQqB;AACrB,mCAA6D;AAC7D,+BAKe;AACf,qCAA6D;AAE7D,SAAgB,uBAAuB,CACrC,MAAkB,EAClB,YAA0B,EAC1B,eAAgC,EAChC,SAAS,GAAG,IAAI,EAChB,UAAU,GAAG,KAAK;IAElB,IAAI,YAAY,CAAC,eAAe,CAAC,EAAE,CAAC,gBAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,gBAAI,CAAC;IACd,CAAC;IAED,MAAM,gBAAgB,GAAG,oBAAoB,CAAC,YAAY,CAAC,CAAC;IAC5D,IAAI,SAA8D,CAAC;IAEnE,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,IAAI,MAAM,CAAC,GAAG,CAAC,UAAU,GAAG,CAAC,IAAI,SAAS,EAAE,CAAC;YAC3C,MAAM,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,EAAE,GAC1D,IAAA,uCAAiC,EAC/B,MAAM,CAAC,GAAG,EACV,gBAAgB,EAChB,eAAe,CAChB,CAAC;YACJ,SAAS,GAAG;gBACV,gBAAgB;gBAChB,iBAAiB;gBACjB,KAAK;gBACL,aAAa,EAAE,MAAM;aACtB,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,CAAC,CAAC,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,gBAAI,CAAC;SACvD,GAAG,CAAC,2BAAe,CAAC;SACpB,GAAG,CAAC,wCAA4B,CAAC;SACjC,GAAG,CAAC,YAAY,CAAC,eAAe,CAAC;SACjC,GAAG,EAAE,CAAC;AACX,CAAC;AAdD,gDAcC;AAED,SAAgB,oBAAoB,CAClC,YAA0B;IAE1B,OAAO,YAAY,CAAC,eAAe,CAAC,EAAE,CAAC,gBAAI,CAAC;QAC1C,CAAC,CAAC,yBAAiB,CAAC,KAAK;QACzB,CAAC,CAAC,yBAAiB,CAAC,IAAI,CAAC;AAC7B,CAAC;AAND,oDAMC;AAED,SAAgB,wBAAwB,CACtC,YAA0B;IAE1B,OAAO,YAAY,CAAC,eAAe,CAAC,GAAG,CAAC,gBAAI,CAAC;QAC3C,CAAC,CAAC,yBAAiB,CAAC,IAAI;QACxB,CAAC,CAAC,yBAAiB,CAAC,KAAK,CAAC;AAC9B,CAAC;AAND,4DAMC;AAED,SAAgB,eAAe,CAAC,YAA0B;IACxD,OAAO,YAAY,CAAC,eAAe,CAAC,EAAE,CAAC,gBAAI,CAAC,IAAI,YAAY,CAAC,UAAU,KAAK,CAAC,CAAC;AAChF,CAAC;AAFD,0CAEC;AAED,SAAgB,aAAa,CAAC,QAAsB;IAClD,OAAO,CACL,QAAQ,CAAC,UAAU,KAAK,CAAC;QACzB,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC,gBAAI,CAAC;QAC3B,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC,gBAAI,CAAC,CAC5B,CAAC;AACJ,CAAC;AAND,sCAMC"}
@@ -9,7 +9,6 @@ const bn_js_1 = __importDefault(require("bn.js"));
9
9
  const helpersOld_1 = require("../../../utils/solana/pyth/helpersOld");
10
10
  const constants_1 = require("./constants");
11
11
  const struct_1 = require("../struct");
12
- const toBN_1 = require("../../../utils/misc/toBN");
13
12
  function getPythOraclePriceDataFromBuffer(buffer, multiple, stableCoin) {
14
13
  const priceData = (0, helpersOld_1.parsePriceData)(buffer);
15
14
  const confidence = convertPythPrice(priceData.confidence || 0, priceData.exponent, multiple);
@@ -43,11 +42,11 @@ function getStableCoinPrice(price, confidence) {
43
42
  }
44
43
  function pythLazerPriceToOraclePrice(buffer) {
45
44
  const pythLazer = struct_1.pythLazerOracleStruct.deserialize(buffer)[0];
45
+ const adjustedExp = pythLazer.exponent + 6;
46
46
  return {
47
- price: (0, toBN_1.toBN)(pythLazer.price.toNumber()),
48
- precision: new bn_js_1.default(pythLazer.exponent).abs(),
49
- slot: (0, toBN_1.toBN)(pythLazer.postedSlot.toNumber()),
50
- confidence: (0, toBN_1.toBN)(pythLazer.conf.toNumber()),
47
+ price: new bn_js_1.default(pythLazer.price.shiftedBy(adjustedExp).toNumber()),
48
+ slot: new bn_js_1.default(pythLazer.postedSlot.toNumber()),
49
+ confidence: new bn_js_1.default(pythLazer.conf.toNumber()),
51
50
  hasSufficientNumberOfDataPoints: true,
52
51
  };
53
52
  }
@@ -1 +1 @@
1
- {"version":3,"file":"pyth.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/drift/perpHelpers/pyth.ts"],"names":[],"mappings":";;;;;;AAAA,sCAAsC;AACtC,kDAAuB;AACvB,sEAAuE;AACvE,2CAAoE;AAEpE,sCAAkD;AAClD,mDAAgD;AAEhD,SAAgB,gCAAgC,CAC9C,MAAc,EACd,QAAY,EACZ,UAAmB;IAEnB,MAAM,SAAS,GAAG,IAAA,2BAAc,EAAC,MAAM,CAAC,CAAC;IACzC,MAAM,UAAU,GAAG,gBAAgB,CACjC,SAAS,CAAC,UAAU,IAAI,CAAC,EACzB,SAAS,CAAC,QAAQ,EAClB,QAAQ,CACT,CAAC;IACF,MAAM,aAAa,GAAG,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,kBAAkB,EAAE,CAAC,CAAC,CAAC;IAChE,IAAI,KAAK,GAAG,gBAAgB,CAC1B,SAA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,EAAE,CAAC;QACrE,OAAO,2BAAe,CAAC;IACzB,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAgB,2BAA2B,CAAC,MAAc;IACxD,MAAM,SAAS,GAAG,8BAAqB,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IAE/D,MAAM,WAAW,GAAG,SAAS,CAAC,QAAQ,GAAG,CAAC,CAAC;IAC3C,OAAO;QACL,KAAK,EAAE,IAAI,eAAE,CAAC,SAAS,CAAC,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,QAAQ,EAAE,CAAC;QAChE,IAAI,EAAE,IAAI,eAAE,CAAC,SAAS,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QAC7C,UAAU,EAAE,IAAI,eAAE,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;QAC7C,+BAA+B,EAAE,IAAI;KACtC,CAAC;AACJ,CAAC;AAVD,kEAUC"}
@@ -13,8 +13,7 @@ const SB_PRECISION = new bn_js_1.default(10).pow(SB_PRECISION_EXP.sub(constants_
13
13
  function getSwitchboardOnDemandOraclePriceDataFromBuffer(buffer) {
14
14
  const [pullFeedAccountData] = structs_1.pullFeedAccountDataStruct.deserialize(buffer);
15
15
  return {
16
- price: new bn_js_1.default(pullFeedAccountData.result.value.toString()),
17
- precision: SB_PRECISION,
16
+ price: (0, toBN_1.toBN)(pullFeedAccountData.result.value).div(SB_PRECISION),
18
17
  slot: (0, toBN_1.toBN)(pullFeedAccountData.result.slot),
19
18
  confidence: (0, toBN_1.toBN)(pullFeedAccountData.result.range).div(SB_PRECISION),
20
19
  hasSufficientNumberOfDataPoints: true,
@@ -1 +1 @@
1
- {"version":3,"file":"switchboard_on_demand.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/drift/perpHelpers/switchboard_on_demand.ts"],"names":[],"mappings":";;;;;;AAAA,kDAAuB;AAEvB,2CAAkD;AAClD,mDAAgD;AAChD,uDAAsE;AAEtE,MAAM,gBAAgB,GAAG,IAAI,eAAE,CAAC,EAAE,CAAC,CAAC;AACpC,MAAM,YAAY,GAAG,IAAI,eAAE,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,gBAAgB,CAAC,GAAG,CAAC,+BAAmB,CAAC,CAAC,CAAC;AAE/E,SAAgB,+CAA+C,CAC7D,MAAc;IAEd,MAAM,CAAC,mBAAmB,CAAC,GAAG,mCAAyB,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;IAE5E,OAAO;QACL,KAAK,EAAE,IAAI,eAAE,CAAC,mBAAmB,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;QAC1D,SAAS,EAAE,YAAY;QACvB,IAAI,EAAE,IAAA,WAAI,EAAC,mBAAmB,CAAC,MAAM,CAAC,IAAI,CAAC;QAC3C,UAAU,EAAE,IAAA,WAAI,EAAC,mBAAmB,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC;QACpE,+BAA+B,EAAE,IAAI;KACtC,CAAC;AACJ,CAAC;AAZD,0GAYC"}
1
+ {"version":3,"file":"switchboard_on_demand.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/drift/perpHelpers/switchboard_on_demand.ts"],"names":[],"mappings":";;;;;;AAAA,kDAAuB;AAEvB,2CAAkD;AAClD,mDAAgD;AAChD,uDAAsE;AAEtE,MAAM,gBAAgB,GAAG,IAAI,eAAE,CAAC,EAAE,CAAC,CAAC;AACpC,MAAM,YAAY,GAAG,IAAI,eAAE,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,gBAAgB,CAAC,GAAG,CAAC,+BAAmB,CAAC,CAAC,CAAC;AAE/E,SAAgB,+CAA+C,CAC7D,MAAc;IAEd,MAAM,CAAC,mBAAmB,CAAC,GAAG,mCAAyB,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;IAE5E,OAAO;QACL,KAAK,EAAE,IAAA,WAAI,EAAC,mBAAmB,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC;QAC/D,IAAI,EAAE,IAAA,WAAI,EAAC,mBAAmB,CAAC,MAAM,CAAC,IAAI,CAAC;QAC3C,UAAU,EAAE,IAAA,WAAI,EAAC,mBAAmB,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC;QACpE,+BAA+B,EAAE,IAAI;KACtC,CAAC;AACJ,CAAC;AAXD,0GAWC"}
@@ -1,7 +1,6 @@
1
1
  import BN from 'bn.js';
2
2
  export type OraclePriceData = {
3
3
  price: BN;
4
- precision?: BN;
5
4
  slot: BN;
6
5
  confidence: BN;
7
6
  hasSufficientNumberOfDataPoints: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/drift/perpHelpers/types.ts"],"names":[],"mappings":";;;AAcA,MAAa,iBAAiB;;AAA9B,8CAGC;AAFiB,sBAAI,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;AACpB,uBAAK,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC;AAGxC,MAAa,aAAa;;AAA1B,sCAGC;AAFiB,iBAAG,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC;AAClB,oBAAM,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;AAK1C,SAAgB,SAAS,CAAC,MAAc,EAAE,IAAY;IACpD,iDAAiD;IACjD,OAAO,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;AACrC,CAAC;AAHD,8BAGC"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/drift/perpHelpers/types.ts"],"names":[],"mappings":";;;AAaA,MAAa,iBAAiB;;AAA9B,8CAGC;AAFiB,sBAAI,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;AACpB,uBAAK,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC;AAGxC,MAAa,aAAa;;AAA1B,sCAGC;AAFiB,iBAAG,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC;AAClB,oBAAM,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;AAK1C,SAAgB,SAAS,CAAC,MAAc,EAAE,IAAY;IACpD,iDAAiD;IACjD,OAAO,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;AACrC,CAAC;AAHD,8BAGC"}
@@ -8,7 +8,7 @@ exports.circuitPlatformId = 'circuit';
8
8
  exports.circuitPlatform = {
9
9
  id: exports.circuitPlatformId,
10
10
  name: 'Circuit',
11
- image: 'https://sonar.watch/img/platforms/circuit.webp',
11
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/circuit.webp',
12
12
  website: 'https://app.circuit.trade/',
13
13
  twitter: 'https://twitter.com/CircuitTrading_',
14
14
  };
@@ -16,7 +16,7 @@ exports.moosePlatformId = 'moose';
16
16
  exports.moosePlatform = {
17
17
  id: exports.moosePlatformId,
18
18
  name: 'Moose Market',
19
- image: 'https://sonar.watch/img/platforms/moose.webp',
19
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/moose.webp',
20
20
  website: 'https://moose.market/',
21
21
  twitter: 'https://twitter.com/moose_market',
22
22
  };
@@ -24,7 +24,7 @@ exports.neutralPlatformId = 'neutral';
24
24
  exports.neutralPlatform = {
25
25
  id: exports.neutralPlatformId,
26
26
  name: 'Neutral',
27
- image: 'https://sonar.watch/img/platforms/neutral.webp',
27
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/neutral.webp',
28
28
  website: 'https://www.app.neutral.trade/',
29
29
  twitter: 'https://twitter.com/TradeNeutral',
30
30
  };
@@ -32,7 +32,7 @@ exports.gauntletPlatformId = 'gauntlet';
32
32
  exports.gauntletPlatform = {
33
33
  id: exports.gauntletPlatformId,
34
34
  name: 'Gauntlet',
35
- image: 'https://sonar.watch/img/platforms/gauntlet.webp',
35
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/gauntlet.webp',
36
36
  twitter: 'https://twitter.com/gauntlet_xyz',
37
37
  website: 'https://app.drift.trade/vaults/CoHd9JpwfcA76XQGA4AYfnjvAtWKoBQ6eWBkFzR1A2ui',
38
38
  };
@@ -40,7 +40,7 @@ exports.vectisPlatformId = 'vectis';
40
40
  exports.vectisPlatform = {
41
41
  id: exports.vectisPlatformId,
42
42
  name: 'Vectis',
43
- image: 'https://sonar.watch/img/platforms/vectis.webp',
43
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/vectis.webp',
44
44
  twitter: 'https://twitter.com/vectis_xyz',
45
45
  website: 'https://app.vectis.finance/',
46
46
  };
@@ -48,7 +48,7 @@ exports.hedgyPlatformId = 'hedgy';
48
48
  exports.hedgyPlatform = {
49
49
  id: exports.hedgyPlatformId,
50
50
  name: 'Hedgy',
51
- image: 'https://sonar.watch/img/platforms/hedgy.webp',
51
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/hedgy.webp',
52
52
  twitter: 'https://x.com/HedgyMarket',
53
53
  website: 'https://hedgy.market/',
54
54
  };
@@ -56,7 +56,7 @@ exports.m1CapitalPlatformId = 'm1capital';
56
56
  exports.m1CapitalPlatform = {
57
57
  id: exports.m1CapitalPlatformId,
58
58
  name: 'M1 Capital',
59
- image: 'https://sonar.watch/img/platforms/m1capital.webp',
59
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/m1capital.webp',
60
60
  twitter: 'https://x.com/M1Capital_',
61
61
  website: 'https://m1-capital.com/',
62
62
  };
@@ -64,7 +64,7 @@ exports.knightradePlatformId = 'knightrade';
64
64
  exports.knightradePlatform = {
65
65
  id: exports.knightradePlatformId,
66
66
  name: 'Knightrade',
67
- image: 'https://sonar.watch/img/platforms/knightrade.webp',
67
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/knightrade.webp',
68
68
  twitter: 'https://x.com/KnightradeTeam',
69
69
  website: 'https://app.knightrade.io/',
70
70
  };
@@ -72,7 +72,7 @@ exports.luckyperpPlatformId = 'luckyperp';
72
72
  exports.luckyperpPlatform = {
73
73
  id: exports.luckyperpPlatformId,
74
74
  name: 'Lucky Perp',
75
- image: 'https://sonar.watch/img/platforms/luckyperp.webp',
75
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/luckyperp.webp',
76
76
  twitter: 'https://x.com/LuckyPerp_com',
77
77
  };
78
78
  exports.vaultsProgramIds = [
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/drift-market-maker-vault/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAE5C,sDAA2E;AAC3E,mFAAqE;AAExD,QAAA,iBAAiB,GAAG,SAAS,CAAC;AAC9B,QAAA,eAAe,GAAa;IACvC,EAAE,EAAE,yBAAiB;IACrB,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,gDAAgD;IACvD,OAAO,EAAE,4BAA4B;IACrC,OAAO,EAAE,qCAAqC;CAC/C,CAAC;AAEW,QAAA,eAAe,GAAG,OAAO,CAAC;AAC1B,QAAA,aAAa,GAAa;IACrC,EAAE,EAAE,uBAAe;IACnB,IAAI,EAAE,cAAc;IACpB,KAAK,EAAE,8CAA8C;IACrD,OAAO,EAAE,uBAAuB;IAChC,OAAO,EAAE,kCAAkC;CAC5C,CAAC;AAEW,QAAA,iBAAiB,GAAG,SAAS,CAAC;AAC9B,QAAA,eAAe,GAAa;IACvC,EAAE,EAAE,yBAAiB;IACrB,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,gDAAgD;IACvD,OAAO,EAAE,gCAAgC;IACzC,OAAO,EAAE,kCAAkC;CAC5C,CAAC;AAEW,QAAA,kBAAkB,GAAG,UAAU,CAAC;AAChC,QAAA,gBAAgB,GAAa;IACxC,EAAE,EAAE,0BAAkB;IACtB,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,iDAAiD;IACxD,OAAO,EAA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,eAAe;IAC9E,IAAI,mBAAS,CAAC,8CAA8C,CAAC,EAAE,eAAe;IAC9E,IAAI,mBAAS,CAAC,8CAA8C,CAAC,EAAE,iBAAiB;IAChF,IAAI,mBAAS,CAAC,8CAA8C,CAAC,EAAE,cAAc;CAC9E,CAAC;AAEF,kDAAkD;AACrC,QAAA,SAAS,GAAG;IACvB,4CAA4C,EAAE,kDAAkB;CACjE,CAAC;AAEW,QAAA,YAAY,GAAG,eAAe,CAAC;AAE5C,kGAAkG;AACrF,QAAA,wBAAwB,GAAwB,IAAI,GAAG,CAAC;IACnE,CAAC,8CAA8C,EAAE,yBAAiB,CAAC;IACnE,CAAC,8CAA8C,EAAE,uBAAe,CAAC;IACjE,CAAC,8CAA8C,EAAE,yBAAiB,CAAC;IACnE,CAAC,6CAA6C,EAAE,yBAAiB,CAAC;IAClE,CAAC,6CAA6C,EAAE,yBAAiB,CAAC;IAClE,CAAC,8CAA8C,EAAE,0BAAkB,CAAC;IACpE,CAAC,8CAA8C,EAAE,uBAAe,CAAC;IACjE,CAAC,8CAA8C,EAAE,0BAAkB,CAAC;IACpE,CAAC,8CAA8C,EAAE,wBAAgB,CAAC;IAClE,CAAC,8CAA8C,EAAE,2BAAmB,CAAC;IACrE,CAAC,8CAA8C,EAAE,4BAAoB,CAAC;IACtE,CAAC,8CAA8C,EAAE,2BAAmB,CAAC;IACrE,CAAC,8CAA8C,EAAE,sBAAmB,CAAC;CACtE,CAAC,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/drift-market-maker-vault/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAE5C,sDAA2E;AAC3E,mFAAqE;AAExD,QAAA,iBAAiB,GAAG,SAAS,CAAC;AAC9B,QAAA,eAAe,GAAa;IACvC,EAAE,EAAE,yBAAiB;IACrB,IAAI,EAAE,SAAS;IACf,KAAK,EACH,6EAA6E;IAC/E,OAAO,EAAE,4BAA4B;IACrC,OAAO,EA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,CAAC,8CAA8C,EAAE,0BAAkB,CAAC;IACpE,CAAC,8CAA8C,EAAE,wBAAgB,CAAC;IAClE,CAAC,8CAA8C,EAAE,2BAAmB,CAAC;IACrE,CAAC,8CAA8C,EAAE,4BAAoB,CAAC;IACtE,CAAC,8CAA8C,EAAE,2BAAmB,CAAC;IACrE,CAAC,8CAA8C,EAAE,sBAAmB,CAAC;CACtE,CAAC,CAAC"}
@@ -5,7 +5,7 @@ exports.platformId = 'echelon';
5
5
  exports.platform = {
6
6
  id: exports.platformId,
7
7
  name: 'Echelon',
8
- image: 'https://sonar.watch/img/platforms/echelon.webp',
8
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/echelon.webp',
9
9
  defiLlamaId: 'echelon-market', // from https://defillama.com/docs/api
10
10
  website: 'https://app.echelon.market',
11
11
  twitter: 'https://twitter.com/EchelonMarket',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/echelon/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,gDAAgD;IACvD,WAAW,EAAE,gBAAgB,EAAE,sCAAsC;IACrE,OAAO,EAAE,4BAA4B;IACrC,OAAO,EAAE,mCAAmC;CAC7C,CAAC;AAEW,QAAA,SAAS,GACpB,oEAAoE,CAAC;AAC1D,QAAA,qBAAqB,GAAG,GAAG,iBAAS,aAAa,CAAC;AAClD,QAAA,qBAAqB,GAAG,GAAG,iBAAS,aAAa,CAAC;AAClD,QAAA,SAAS,GAAG,SAAS,CAAC;AACtB,QAAA,SAAS,GAAG,GAAG,6BAAqB,OAAO,CAAC;AAC5C,QAAA,UAAU,GAAG,GAAG,6BAAqB,QAAQ,CAAC;AAC9C,QAAA,UAAU,GAAG,GAAG,6BAAqB,QAAQ,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/echelon/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,SAAS;IACf,KAAK,EACH,6EAA6E;IAC/E,WAAW,EAAE,gBAAgB,EAAE,sCAAsC;IACrE,OAAO,EAAE,4BAA4B;IACrC,OAAO,EAAE,mCAAmC;CAC7C,CAAC;AAEW,QAAA,SAAS,GACpB,oEAAoE,CAAC;AAC1D,QAAA,qBAAqB,GAAG,GAAG,iBAAS,aAAa,CAAC;AAClD,QAAA,qBAAqB,GAAG,GAAG,iBAAS,aAAa,CAAC;AAClD,QAAA,SAAS,GAAG,SAAS,CAAC;AACtB,QAAA,SAAS,GAAG,GAAG,6BAAqB,OAAO,CAAC;AAC5C,QAAA,UAAU,GAAG,GAAG,6BAAqB,QAAQ,CAAC;AAC9C,QAAA,UAAU,GAAG,GAAG,6BAAqB,QAAQ,CAAC"}
@@ -6,7 +6,7 @@ exports.platformId = 'elemental';
6
6
  exports.platform = {
7
7
  id: exports.platformId,
8
8
  name: 'Elemental',
9
- image: 'https://sonar.watch/img/platforms/elemental.webp',
9
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/elemental.webp',
10
10
  website: 'https://elemental.fund/',
11
11
  twitter: 'https://twitter.com/elementaldefi',
12
12
  // defiLlamaId: 'foo-finance', // from https://defillama.com/docs/api
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/elemental/constants.ts"],"names":[],"mappings":";;;AAEA,2DAAoD;AAEvC,QAAA,UAAU,GAAG,WAAW,CAAC;AACzB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,WAAW;IACjB,KAAK,EAAE,kDAAkD;IACzD,OAAO,EAAE,yBAAyB;IAClC,OAAO,EAAE,mCAAmC;IAC5C,qEAAqE;CACtE,CAAC;AACW,QAAA,aAAa,GAAG,OAAO,CAAC;AAExB,QAAA,gBAAgB,GAAG;IAC9B,SAAS,EAAE,iCAAa,CAAC,OAAO;IAChC,GAAG,EAAE,iCAAa;IAClB,OAAO,EAAE,QAAQ;CACP,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/elemental/constants.ts"],"names":[],"mappings":";;;AAEA,2DAAoD;AAEvC,QAAA,UAAU,GAAG,WAAW,CAAC;AACzB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,WAAW;IACjB,KAAK,EACH,+EAA+E;IACjF,OAAO,EAAE,yBAAyB;IAClC,OAAO,EAAE,mCAAmC;IAC5C,qEAAqE;CACtE,CAAC;AACW,QAAA,aAAa,GAAG,OAAO,CAAC;AAExB,QAAA,gBAAgB,GAAG;IAC9B,SAAS,EAAE,iCAAa,CAAC,OAAO;IAChC,GAAG,EAAE,iCAAa;IAClB,OAAO,EAAE,QAAQ;CACP,CAAC"}
@@ -5,7 +5,7 @@ exports.platformId = 'elixir';
5
5
  exports.platform = {
6
6
  id: exports.platformId,
7
7
  name: 'Elixir',
8
- image: 'https://sonar.watch/img/platforms/elixir.webp',
8
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/elixir.webp',
9
9
  // defiLlamaId: 'foo-finance', // from https://defillama.com/docs/api
10
10
  website: 'https://agg.elixir.xyz/',
11
11
  twitter: 'https://x.com/elixir',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/elixir/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,+CAA+C;IACtD,qEAAqE;IACrE,OAAO,E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YAAY,GAAG,kBAAU,CAAC;AAC1B,QAAA,SAAS,GAAG,QAAQ,CAAC;AACrB,QAAA,YAAY,GAAG,WAAW,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/elixir/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EACH,4EAA4E;IAC9E,qEAAqE;IACrE,OAAO,EAAE,yBAAyB;IAClC,OAAO,EAAE,sBAAsB;CAChC,CAAC;AAEF,6BAA6B;AAChB,QAAA,MAAM,GAAG;IACpB;QACE,OAAO,EACL,oEAAoE;QACtE,SAAS,EAAE,UAAU;QACrB,gBAAgB,EAAE,YAAY;QAC9B,WAAW,EACT,oEAAoE;KACvE;IACD;QACE,OAAO,EACL,oEAAoE;QACtE,SAAS,EAAE,UAAU;QACrB,gBAAgB,EAAE,YAAY;QAC9B,WAAW,EACT,oEAAoE;KACvE;IACD;QACE,OAAO,EACL,oEAAoE;QACtE,SAAS,EAAE,UAAU;QACrB,gBAAgB,EAAE,YAAY;QAC9B,WAAW,EACT,oEAAoE;KACvE;IACD;QACE,OAAO,EACL,oEAAoE;QACtE,SAAS,EAAE,UAAU;QACrB,gBAAgB,EAAE,YAAY;QAC9B,WAAW,EACT,oEAAoE;KACvE;IACD;QACE,OAAO,EACL,oEAAoE;QACtE,SAAS,EAAE,UAAU;QACrB,gBAAgB,EAAE,YAAY;QAC9B,WAAW,EACT,oEAAoE;KACvE;IACD;QACE,OAAO,EACL,oEAAoE;QACtE,SAAS,EAAE,UAAU;QACrB,gBAAgB,EAAE,YAAY;QAC9B,WAAW,EACT,oEAAoE;KACvE;IACD;QACE,OAAO,EACL,oEAAoE;QACtE,SAAS,EAAE,WAAW;QACtB,gBAAgB,EAAE,aAAa;QAC/B,WAAW,EACT,oEAAoE;KACvE;IACD;QACE,OAAO,EACL,oEAAoE;QACtE,SAAS,EAAE,UAAU;QACrB,gBAAgB,EAAE,YAAY;QAC9B,WAAW,EACT,oEAAoE;KACvE;IACD;QACE,OAAO,EACL,oEAAoE;QACtE,SAAS,EAAE,YAAY;QACvB,gBAAgB,EAAE,cAAc;QAChC,WAAW,EACT,oEAAoE;KACvE;IACD;QACE,OAAO,EACL,oEAAoE;QACtE,SAAS,EAAE,UAAU;QACrB,gBAAgB,EAAE,YAAY;QAC9B,WAAW,EACT,oEAAoE;KACvE;CACF,CAAC;AAEW,QAAA,YAAY,GAAG,kBAAU,CAAC;AAC1B,QAAA,SAAS,GAAG,QAAQ,CAAC;AACrB,QAAA,YAAY,GAAG,WAAW,CAAC"}
@@ -6,7 +6,7 @@ exports.platformId = 'ensofi';
6
6
  exports.platform = {
7
7
  id: exports.platformId,
8
8
  name: 'EnsoFi',
9
- image: 'https://sonar.watch/img/platforms/ensofi.webp',
9
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/ensofi.webp',
10
10
  website: 'https://app.ensofi.xyz',
11
11
  twitter: 'https://twitter.com/Ensofi_xyz',
12
12
  };
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/ensofi/constants.ts"],"names":[],"mappings":";;;AAEA,+BAAkC;AAErB,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,+CAA+C;IACtD,OAAO,EAAE,wBAAwB;IACjC,OAAO,EAAE,gCAAgC;CAC1C,CAAC;AAEF,oGAAoG;AACvF,QAAA,KAAK,GAChB,oEAAoE,CAAC;AAC1D,QAAA,SAAS,GACpB,2FAA2F,CAAC;AACjF,QAAA,QAAQ,GACnB,yFAAyF,CAAC;AAC/E,QAAA,cAAc,GAAG,QAAQ,CAAC;AAC1B,QAAA,aAAa,GAAG,OAAO,CAAC;AAExB,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE,6CAA6C;IACxD,GAAG,EAAE,eAAS;IACd,OAAO,EAAE,QAAQ;CACP,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/ensofi/constants.ts"],"names":[],"mappings":";;;AAEA,+BAAkC;AAErB,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EACH,4EAA4E;IAC9E,OAAO,EAAE,wBAAwB;IACjC,OAAO,EAAE,gCAAgC;CAC1C,CAAC;AAEF,oGAAoG;AACvF,QAAA,KAAK,GAChB,oEAAoE,CAAC;AAC1D,QAAA,SAAS,GACpB,2FAA2F,CAAC;AACjF,QAAA,QAAQ,GACnB,yFAAyF,CAAC;AAC/E,QAAA,cAAc,GAAG,QAAQ,CAAC;AAC1B,QAAA,aAAa,GAAG,OAAO,CAAC;AAExB,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE,6CAA6C;IACxD,GAAG,EAAE,eAAS;IACd,OAAO,EAAE,QAAQ;CACP,CAAC"}
@@ -8,7 +8,7 @@ exports.platformId = 'exponent';
8
8
  exports.platform = {
9
9
  id: exports.platformId,
10
10
  name: 'Exponent',
11
- image: 'https://sonar.watch/img/platforms/exponent.webp',
11
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/exponent.webp',
12
12
  website: 'https://www.exponent.finance',
13
13
  twitter: 'https://x.com/exponentfinance',
14
14
  };
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/exponent/constants.ts"],"names":[],"mappings":";;;AAAA,+DAAiE;AACjE,6CAA4C;AAC5C,kEAA+D;AAGlD,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,iDAAiD;IACxD,OAAO,EAAE,8BAA8B;IACvC,OAAO,EAAE,+BAA+B;CACzC,CAAC;AAEW,QAAA,mBAAmB,GAAG,IAAI,mBAAS,CAC9C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,eAAe,GAAG,SAAS,CAAC;AAE5B,QAAA,WAAW,GAAG,IAAI,6BAAa,CAAW,uBAAe,EAAE;IACtE,MAAM,EAAE,kBAAU;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,CAAC,CAAC;AAEU,QAAA,aAAa,GACxB,0EAA0E,CAAC;AAEhE,QAAA,cAAc,GACzB,4EAA4E,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/exponent/constants.ts"],"names":[],"mappings":";;;AAAA,+DAAiE;AACjE,6CAA4C;AAC5C,kEAA+D;AAGlD,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EACH,8EAA8E;IAChF,OAAO,EAAE,8BAA8B;IACvC,OAAO,EAAE,+BAA+B;CACzC,CAAC;AAEW,QAAA,mBAAmB,GAAG,IAAI,mBAAS,CAC9C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,eAAe,GAAG,SAAS,CAAC;AAE5B,QAAA,WAAW,GAAG,IAAI,6BAAa,CAAW,uBAAe,EAAE;IACtE,MAAM,EAAE,kBAAU;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,CAAC,CAAC;AAEU,QAAA,aAAa,GACxB,0EAA0E,CAAC;AAEhE,QAAA,cAAc,GACzB,4EAA4E,CAAC"}
@@ -8,7 +8,7 @@ exports.platformId = 'famousfoxfederation';
8
8
  exports.platform = {
9
9
  id: exports.platformId,
10
10
  name: 'Famous Fox Federation',
11
- image: 'https://sonar.watch/img/platforms/famousfoxfederation.webp',
11
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/famousfoxfederation.webp',
12
12
  website: 'https://famousfoxes.com',
13
13
  twitter: 'https://twitter.com/famousfoxfed',
14
14
  // defiLlamaId: 'foo-finance', // from https://defillama.com/docs/api
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/famousfoxfederation/constants.ts"],"names":[],"mappings":";;;AAEA,6CAA4C;AAC5C,6CAA0C;AAC1C,qDAAkD;AAErC,QAAA,UAAU,GAAG,qBAAqB,CAAC;AAEnC,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,uBAAuB;IAC7B,KAAK,EAAE,4DAA4D;IACnE,OAAO,EAAE,yBAAyB;IAClC,OAAO,EAAE,kCAAkC;IAC3C,qEAAqE;CACtE,CAAC;AAEW,QAAA,kBAAkB,GAAG,IAAI,mBAAS,CAC7C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,kBAAkB,GAAG;IAChC,SAAS,EAAE,0BAAkB,CAAC,QAAQ,EAAE;IACxC,GAAG,EAAE,+BAAc;IACnB,OAAO,EAAE,QAAQ;CACP,CAAC;AAEA,QAAA,UAAU,GAAG,IAAI,mBAAS,CACrC,8CAA8C,CAC/C,CAAC;AACW,QAAA,oBAAoB,GAAG,IAAI,mBAAS,CAC/C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,QAAQ,GAAG,8CAA8C,CAAC;AAE1D,QAAA,cAAc,GAAG;IAC5B,SAAS,EAAE,kBAAU,CAAC,QAAQ,EAAE;IAChC,GAAG,EAAE,uBAAU;IACf,OAAO,EAAE,QAAQ;CACP,CAAC;AAEA,QAAA,WAAW,GAAG,qBAAqB,CAAC;AACpC,QAAA,qBAAqB,GAAG,eAAe,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/famousfoxfederation/constants.ts"],"names":[],"mappings":";;;AAEA,6CAA4C;AAC5C,6CAA0C;AAC1C,qDAAkD;AAErC,QAAA,UAAU,GAAG,qBAAqB,CAAC;AAEnC,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,uBAAuB;IAC7B,KAAK,EACH,yFAAyF;IAC3F,OAAO,EAAE,yBAAyB;IAClC,OAAO,EAAE,kCAAkC;IAC3C,qEAAqE;CACtE,CAAC;AAEW,QAAA,kBAAkB,GAAG,IAAI,mBAAS,CAC7C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,kBAAkB,GAAG;IAChC,SAAS,EAAE,0BAAkB,CAAC,QAAQ,EAAE;IACxC,GAAG,EAAE,+BAAc;IACnB,OAAO,EAAE,QAAQ;CACP,CAAC;AAEA,QAAA,UAAU,GAAG,IAAI,mBAAS,CACrC,8CAA8C,CAC/C,CAAC;AACW,QAAA,oBAAoB,GAAG,IAAI,mBAAS,CAC/C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,QAAQ,GAAG,8CAA8C,CAAC;AAE1D,QAAA,cAAc,GAAG;IAC5B,SAAS,EAAE,kBAAU,CAAC,QAAQ,EAAE;IAChC,GAAG,EAAE,uBAAU;IACf,OAAO,EAAE,QAAQ;CACP,CAAC;AAEA,QAAA,WAAW,GAAG,qBAAqB,CAAC;AACpC,QAAA,qBAAqB,GAAG,eAAe,CAAC"}
@@ -6,7 +6,7 @@ exports.platformId = 'flash';
6
6
  exports.platform = {
7
7
  id: exports.platformId,
8
8
  name: 'FlashTrade',
9
- image: 'https://sonar.watch/img/platforms/flash.webp',
9
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/flash.webp',
10
10
  defiLlamaId: 'flashtrade', // from https://defillama.com/docs/api
11
11
  website: 'https://beast.flash.trade/',
12
12
  twitter: 'https://twitter.com/FlashTrade_',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/flash/constants.ts"],"names":[],"mappings":";;;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C;AACW,QAAA,eAAe,GAAG,IAAI,mBAAS,CAC1C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,UAAU,GAAG;IACxB,IAAI,mBAAS,CAAC,8CAA8C,CAAC;IAC7D,IAAI,mBAAS,CAAC,6CAA6C,CAAC;IAC5D,IAAI,mBAAS,CAAC,8CAA8C,CAAC;IAC7D,IAAI,mBAAS,CAAC,8CAA8C,CAAC;IAC7D,IAAI,mBAAS,CAAC,8CAA8C,CAAC;IAC7D,IAAI,mBAAS,CAAC,8CAA8C,CAAC;IAC7D,IAAI,mBAAS,CAAC,8CAA8C,CAAC;CAC9D,CAAC;AAEW,QAAA,YAAY,GAAG,WAAW,CAAC;AAC3B,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,QAAQ,GAAG,OAAO,CAAC"}
@@ -5,7 +5,7 @@ exports.platformId = 'flowx';
5
5
  exports.platform = {
6
6
  id: exports.platformId,
7
7
  name: 'FlowX Finance',
8
- image: 'https://sonar.watch/img/platforms/flowx.webp',
8
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/flowx.webp',
9
9
  defiLlamaId: 'flowx-v2',
10
10
  website: 'https://flowx.finance',
11
11
  twitter: 'https://twitter.com/FlowX_finance',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/flowx/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,eAAe;IACrB,KAAK,EAAE,8CAA8C;IACrD,WAAW,EAAE,UAAU;IACvB,OAAO,EAAE,uBAAuB;IAChC,OAAO,EAAE,mCAAmC;CAC7C,CAAC;AAEW,QAAA,OAAO,GAClB,8EAA8E,CAAC;AACpE,QAAA,QAAQ,GACnB,gFAAgF,CAAC;AACtE,QAAA,WAAW,GAAG,CAAC,CAAC;AAEhB,QAAA,UAAU,GAAG,CAAC,CAAC;AAEf,QAAA,SAAS,GACpB,oEAAoE,CAAC;AAC1D,QAAA,OAAO,GAClB,oEAAoE,CAAC;AAC1D,QAAA,UAAU,GACrB,oEAAoE,CAAC;AAC1D,QAAA,UAAU,GACrB,oEAAoE,CAAC;AAC1D,QAAA,mBAAmB,GAC9B,oEAAoE,CAAC;AAC1D,QAAA,aAAa,GACxB,+FAA+F,CAAC;AAErF,QAAA,WAAW,GAAG,GAAG,kBAAU,QAAQ,CAAC;AACpC,QAAA,QAAQ,GAAG,OAAO,CAAC;AAEnB,QAAA,WAAW,GACtB,oEAAoE,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/flowx/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,eAAe;IACrB,KAAK,EACH,2EAA2E;IAC7E,WAAW,EAAE,UAAU;IACvB,OAAO,EAAE,uBAAuB;IAChC,OAAO,EAAE,mCAAmC;CAC7C,CAAC;AAEW,QAAA,OAAO,GAClB,8EAA8E,CAAC;AACpE,QAAA,QAAQ,GACnB,gFAAgF,CAAC;AACtE,QAAA,WAAW,GAAG,CAAC,CAAC;AAEhB,QAAA,UAAU,GAAG,CAAC,CAAC;AAEf,QAAA,SAAS,GACpB,oEAAoE,CAAC;AAC1D,QAAA,OAAO,GAClB,oEAAoE,CAAC;AAC1D,QAAA,UAAU,GACrB,oEAAoE,CAAC;AAC1D,QAAA,UAAU,GACrB,oEAAoE,CAAC;AAC1D,QAAA,mBAAmB,GAC9B,oEAAoE,CAAC;AAC1D,QAAA,aAAa,GACxB,+FAA+F,CAAC;AAErF,QAAA,WAAW,GAAG,GAAG,kBAAU,QAAQ,CAAC;AACpC,QAAA,QAAQ,GAAG,OAAO,CAAC;AAEnB,QAAA,WAAW,GACtB,oEAAoE,CAAC"}
@@ -5,7 +5,7 @@ exports.platformId = 'fluxbeam';
5
5
  exports.platform = {
6
6
  id: exports.platformId,
7
7
  name: 'Flux Beam',
8
- image: 'https://sonar.watch/img/platforms/fluxbeam.webp',
8
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/fluxbeam.webp',
9
9
  defiLlamaId: 'fluxbeam', // from https://defillama.com/docs/api
10
10
  website: 'https://fluxbeam.xyz/',
11
11
  };
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/fluxbeam/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,WAAW;IACjB,KAAK,EAAE,iDAAiD;IACxD,WAAW,EAAE,UAAU,EAAE,sCAAsC;IAC/D,OAAO,EAAE,uBAAuB;CACjC,CAAC;AACW,QAAA,gBAAgB,GAAG,GAAG,kBAAU,QAAQ,CAAC;AACzC,QAAA,gBAAgB,GAAG,8CAA8C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/fluxbeam/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,WAAW;IACjB,KAAK,EACH,8EAA8E;IAChF,WAAW,EAAE,UAAU,EAAE,sCAAsC;IAC/D,OAAO,EAAE,uBAAuB;CACjC,CAAC;AACW,QAAA,gBAAgB,GAAG,GAAG,kBAAU,QAAQ,CAAC;AACzC,QAAA,gBAAgB,GAAG,8CAA8C,CAAC"}
@@ -5,7 +5,7 @@ exports.platformId = 'foo';
5
5
  exports.platform = {
6
6
  id: exports.platformId,
7
7
  name: 'Foo Finance',
8
- image: 'https://sonar.watch/img/platforms/foo.webp',
8
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/foo.webp',
9
9
  website: 'https://foo.com/',
10
10
  twitter: 'https://x.com/foo_finance',
11
11
  defiLlamaId: 'foo-finance', // from https://defillama.com/docs/api
@@ -16,7 +16,7 @@ exports.airdropStatics = {
16
16
  emitterLink: 'https://foo.com',
17
17
  emitterName: 'Foo Protocol',
18
18
  id: 'foo-s1',
19
- image: 'https://sonar.watch/img/platforms/foo.webp',
19
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/foo.webp',
20
20
  claimEnd: undefined,
21
21
  claimStart: 1722672000000,
22
22
  };
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/foo/constants.ts"],"names":[],"mappings":";;;AAGa,QAAA,UAAU,GAAG,KAAK,CAAC;AACnB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,aAAa;IACnB,KAAK,EAAE,4CAA4C;IACnD,OAAO,EAAE,kBAAkB;IAC3B,OAAO,EAAE,2BAA2B;IACpC,WAAW,EAAE,aAAa,EAAE,sCAAsC;CACnE,CAAC;AACW,QAAA,eAAe,GAAG,SAAS,CAAC;AAE5B,QAAA,cAAc,GAAmB;IAC5C,SAAS,EAAE,uBAAuB;IAClC,WAAW,EAAE,iBAAiB;IAC9B,WAAW,EAAE,cAAc;IAC3B,EAAE,EAAE,QAAQ;IACZ,KAAK,EAAE,4CAA4C;IACnD,QAAQ,EAAE,SAAS;IACnB,UAAU,EAAE,aAAa;CAC1B,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/foo/constants.ts"],"names":[],"mappings":";;;AAGa,QAAA,UAAU,GAAG,KAAK,CAAC;AACnB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,aAAa;IACnB,KAAK,EACH,yEAAyE;IAC3E,OAAO,EAAE,kBAAkB;IAC3B,OAAO,EAAE,2BAA2B;IACpC,WAAW,EAAE,aAAa,EAAE,sCAAsC;CACnE,CAAC;AACW,QAAA,eAAe,GAAG,SAAS,CAAC;AAE5B,QAAA,cAAc,GAAmB;IAC5C,SAAS,EAAE,uBAAuB;IAClC,WAAW,EAAE,iBAAiB;IAC9B,WAAW,EAAE,cAAc;IAC3B,EAAE,EAAE,QAAQ;IACZ,KAAK,EACH,yEAAyE;IAC3E,QAAQ,EAAE,SAAS;IACnB,UAAU,EAAE,aAAa;CAC1B,CAAC"}
@@ -6,7 +6,7 @@ exports.platformId = 'fragmetric';
6
6
  exports.platform = {
7
7
  id: exports.platformId,
8
8
  name: 'Fragmetric',
9
- image: 'https://sonar.watch/img/platforms/fragmetric.webp',
9
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/fragmetric.webp',
10
10
  website: 'https://fragmetric.xyz/',
11
11
  twitter: 'https://x.com/fragmetric',
12
12
  };
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/fragmetric/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE/B,QAAA,UAAU,GAAG,YAAY,CAAC;AAC1B,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,YAAY;IAClB,KAAK,EAAE,mDAAmD;IAC1D,OAAO,EAAE,yBAAyB;IAClC,OAAO,EAAE,0BAA0B;CACpC,CAAC;AAEW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,6CAA6C,CAC9C,CAAC;AAEF,wEAAwE;AAC3D,QAAA,MAAM,GAAG;IACpB;QACE,mBAAmB,EAAE,8CAA8C;QACnE,YAAY,EAAE,8CAA8C;QAC5D,0BAA0B,EAAE,8CAA8C;QAC1E,cAAc,EAAE,8CAA8C;KAC/D;IACD;QACE,mBAAmB,EAAE,8CAA8C;QACnE,YAAY,EAAE,8CAA8C;QAC5D,SAAS,EAAE,6CAA6C;QACxD,cAAc,EAAE,8CAA8C;KAC/D;CACF,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/fragmetric/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE/B,QAAA,UAAU,GAAG,YAAY,CAAC;AAC1B,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,YAAY;IAClB,KAAK,EACH,gFAAgF;IAClF,OAAO,EAAE,yBAAyB;IAClC,OAAO,EAAE,0BAA0B;CACpC,CAAC;AAEW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,6CAA6C,CAC9C,CAAC;AAEF,wEAAwE;AAC3D,QAAA,MAAM,GAAG;IACpB;QACE,mBAAmB,EAAE,8CAA8C;QACnE,YAAY,EAAE,8CAA8C;QAC5D,0BAA0B,EAAE,8CAA8C;QAC1E,cAAc,EAAE,8CAA8C;KAC/D;IACD;QACE,mBAAmB,EAAE,8CAA8C;QACnE,YAAY,EAAE,8CAA8C;QAC5D,SAAS,EAAE,6CAA6C;QACxD,cAAc,EAAE,8CAA8C;KAC/D;CACF,CAAC"}
@@ -7,7 +7,7 @@ exports.platformId = 'francium';
7
7
  exports.platform = {
8
8
  id: exports.platformId,
9
9
  name: 'Francium',
10
- image: 'https://sonar.watch/img/platforms/francium.webp',
10
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/francium.webp',
11
11
  website: 'https://francium.io/',
12
12
  twitter: 'https://x.com/Francium_Defi',
13
13
  defiLlamaId: 'francium', // from https://defillama.com/docs/api