@sonarwatch/portfolio-plugins 0.14.137 → 0.14.138

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 (315) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/package.json +1 -1
  3. package/src/orphanPlatforms.js +13 -13
  4. package/src/orphanPlatforms.js.map +1 -1
  5. package/src/plugins/01/constants.js +1 -1
  6. package/src/plugins/01/constants.js.map +1 -1
  7. package/src/plugins/aave/constants.js +1 -1
  8. package/src/plugins/aave/constants.js.map +1 -1
  9. package/src/plugins/abex/constants.js +1 -1
  10. package/src/plugins/abex/constants.js.map +1 -1
  11. package/src/plugins/accessprotocol/constants.js +1 -1
  12. package/src/plugins/accessprotocol/constants.js.map +1 -1
  13. package/src/plugins/adrastea/constants.js +1 -1
  14. package/src/plugins/adrastea/constants.js.map +1 -1
  15. package/src/plugins/adrena/constants.js +1 -1
  16. package/src/plugins/adrena/constants.js.map +1 -1
  17. package/src/plugins/aftermath/constants.js +1 -1
  18. package/src/plugins/aftermath/constants.js.map +1 -1
  19. package/src/plugins/allbridge/constants.js +1 -1
  20. package/src/plugins/allbridge/constants.js.map +1 -1
  21. package/src/plugins/alphafi/constants.js +1 -1
  22. package/src/plugins/alphafi/constants.js.map +1 -1
  23. package/src/plugins/aptin/constants.js +1 -1
  24. package/src/plugins/aptin/constants.js.map +1 -1
  25. package/src/plugins/aries/constants.js +1 -1
  26. package/src/plugins/aries/constants.js.map +1 -1
  27. package/src/plugins/armada-staking/constants.js +11 -11
  28. package/src/plugins/armada-staking/constants.js.map +1 -1
  29. package/src/plugins/atrix/constants.js +1 -1
  30. package/src/plugins/atrix/constants.js.map +1 -1
  31. package/src/plugins/aurory/constants.js +1 -1
  32. package/src/plugins/aurory/constants.js.map +1 -1
  33. package/src/plugins/auxexchange/constants.js +1 -1
  34. package/src/plugins/auxexchange/constants.js.map +1 -1
  35. package/src/plugins/balancer/constants.js +1 -1
  36. package/src/plugins/balancer/constants.js.map +1 -1
  37. package/src/plugins/banx/constants.js +1 -1
  38. package/src/plugins/banx/constants.js.map +1 -1
  39. package/src/plugins/baskt/constants.js +1 -1
  40. package/src/plugins/baskt/constants.js.map +1 -1
  41. package/src/plugins/benqi/constants.js +1 -1
  42. package/src/plugins/benqi/constants.js.map +1 -1
  43. package/src/plugins/bluefin/constants.js +2 -2
  44. package/src/plugins/bluefin/constants.js.map +1 -1
  45. package/src/plugins/bluemove/constants.js +1 -1
  46. package/src/plugins/bluemove/constants.js.map +1 -1
  47. package/src/plugins/bonfida/constants.js +1 -1
  48. package/src/plugins/bonfida/constants.js.map +1 -1
  49. package/src/plugins/bonkrewards/constants.js +1 -1
  50. package/src/plugins/bonkrewards/constants.js.map +1 -1
  51. package/src/plugins/bskt/constants.js +1 -1
  52. package/src/plugins/bskt/constants.js.map +1 -1
  53. package/src/plugins/bucket/constants.js +1 -1
  54. package/src/plugins/bucket/constants.js.map +1 -1
  55. package/src/plugins/cetus/constants.js +1 -1
  56. package/src/plugins/cetus/constants.js.map +1 -1
  57. package/src/plugins/citrus/constants.js +1 -1
  58. package/src/plugins/citrus/constants.js.map +1 -1
  59. package/src/plugins/clone/constants.js +1 -1
  60. package/src/plugins/clone/constants.js.map +1 -1
  61. package/src/plugins/compound/constants.js +1 -1
  62. package/src/plugins/compound/constants.js.map +1 -1
  63. package/src/plugins/cropper/constants.js +1 -1
  64. package/src/plugins/cropper/constants.js.map +1 -1
  65. package/src/plugins/curve/constants.js +1 -1
  66. package/src/plugins/curve/constants.js.map +1 -1
  67. package/src/plugins/cyberfrogs/constants.js +1 -1
  68. package/src/plugins/cyberfrogs/constants.js.map +1 -1
  69. package/src/plugins/daos/constants.js +2 -2
  70. package/src/plugins/daos/constants.js.map +1 -1
  71. package/src/plugins/debridge/constants.js +2 -2
  72. package/src/plugins/debridge/constants.js.map +1 -1
  73. package/src/plugins/deepbook/constants.js +2 -2
  74. package/src/plugins/deepbook/constants.js.map +1 -1
  75. package/src/plugins/defiland/constants.js +1 -1
  76. package/src/plugins/defiland/constants.js.map +1 -1
  77. package/src/plugins/defituna/constants.js +1 -1
  78. package/src/plugins/defituna/constants.js.map +1 -1
  79. package/src/plugins/divvy/constants.js +1 -1
  80. package/src/plugins/divvy/constants.js.map +1 -1
  81. package/src/plugins/doubleup/constants.js +1 -1
  82. package/src/plugins/doubleup/constants.js.map +1 -1
  83. package/src/plugins/drift/depositsFetcher.js.map +1 -1
  84. package/src/plugins/drift/perpHelpers/margin.js +1 -8
  85. package/src/plugins/drift/perpHelpers/margin.js.map +1 -1
  86. package/src/plugins/drift/perpHelpers/position.js +0 -1
  87. package/src/plugins/drift/perpHelpers/position.js.map +1 -1
  88. package/src/plugins/drift/perpHelpers/pyth.js +4 -5
  89. package/src/plugins/drift/perpHelpers/pyth.js.map +1 -1
  90. package/src/plugins/drift/perpHelpers/switchboard_on_demand.js +1 -2
  91. package/src/plugins/drift/perpHelpers/switchboard_on_demand.js.map +1 -1
  92. package/src/plugins/drift/perpHelpers/types.d.ts +0 -1
  93. package/src/plugins/drift/perpHelpers/types.js.map +1 -1
  94. package/src/plugins/drift-market-maker-vault/constants.js +9 -9
  95. package/src/plugins/drift-market-maker-vault/constants.js.map +1 -1
  96. package/src/plugins/echelon/constants.js +1 -1
  97. package/src/plugins/echelon/constants.js.map +1 -1
  98. package/src/plugins/elemental/constants.js +1 -1
  99. package/src/plugins/elemental/constants.js.map +1 -1
  100. package/src/plugins/elixir/constants.js +1 -1
  101. package/src/plugins/elixir/constants.js.map +1 -1
  102. package/src/plugins/ensofi/constants.js +1 -1
  103. package/src/plugins/ensofi/constants.js.map +1 -1
  104. package/src/plugins/exponent/constants.js +1 -1
  105. package/src/plugins/exponent/constants.js.map +1 -1
  106. package/src/plugins/famousfoxfederation/constants.js +1 -1
  107. package/src/plugins/famousfoxfederation/constants.js.map +1 -1
  108. package/src/plugins/flash/constants.js +1 -1
  109. package/src/plugins/flash/constants.js.map +1 -1
  110. package/src/plugins/flowx/constants.js +1 -1
  111. package/src/plugins/flowx/constants.js.map +1 -1
  112. package/src/plugins/fluxbeam/constants.js +1 -1
  113. package/src/plugins/fluxbeam/constants.js.map +1 -1
  114. package/src/plugins/foo/constants.js +2 -2
  115. package/src/plugins/foo/constants.js.map +1 -1
  116. package/src/plugins/fragmetric/constants.js +1 -1
  117. package/src/plugins/fragmetric/constants.js.map +1 -1
  118. package/src/plugins/francium/constants.js +1 -1
  119. package/src/plugins/francium/constants.js.map +1 -1
  120. package/src/plugins/futarchy/constants.js +1 -1
  121. package/src/plugins/futarchy/constants.js.map +1 -1
  122. package/src/plugins/genesysgo/constants.js +1 -1
  123. package/src/plugins/genesysgo/constants.js.map +1 -1
  124. package/src/plugins/goosefx/constants.js +1 -1
  125. package/src/plugins/goosefx/constants.js.map +1 -1
  126. package/src/plugins/gpool/constants.js +1 -1
  127. package/src/plugins/gpool/constants.js.map +1 -1
  128. package/src/plugins/grass/constants.js +2 -2
  129. package/src/plugins/grass/constants.js.map +1 -1
  130. package/src/plugins/guano/constants.js +1 -1
  131. package/src/plugins/guano/constants.js.map +1 -1
  132. package/src/plugins/haedal/constants.js +1 -1
  133. package/src/plugins/haedal/constants.js.map +1 -1
  134. package/src/plugins/hawksight/constants.js +1 -1
  135. package/src/plugins/hawksight/constants.js.map +1 -1
  136. package/src/plugins/hedgehog/constants.js +1 -1
  137. package/src/plugins/hedgehog/constants.js.map +1 -1
  138. package/src/plugins/hxro/constants.js +1 -1
  139. package/src/plugins/hxro/constants.js.map +1 -1
  140. package/src/plugins/iloop/constants.js +1 -1
  141. package/src/plugins/iloop/constants.js.map +1 -1
  142. package/src/plugins/instadapp/constants.js +1 -1
  143. package/src/plugins/instadapp/constants.js.map +1 -1
  144. package/src/plugins/jewel/constants.js +1 -1
  145. package/src/plugins/jewel/constants.js.map +1 -1
  146. package/src/plugins/jito/constants.js +3 -3
  147. package/src/plugins/jito/constants.js.map +1 -1
  148. package/src/plugins/joule/constants.js +1 -1
  149. package/src/plugins/joule/constants.js.map +1 -1
  150. package/src/plugins/jupiter/exchange/constants.js +1 -1
  151. package/src/plugins/jupiter/exchange/constants.js.map +1 -1
  152. package/src/plugins/jupiter/launchpad/constants.js +5 -5
  153. package/src/plugins/jupiter/launchpad/constants.js.map +1 -1
  154. package/src/plugins/kai/constants.js +1 -1
  155. package/src/plugins/kai/constants.js.map +1 -1
  156. package/src/plugins/kamino/constants.js +2 -2
  157. package/src/plugins/kamino/constants.js.map +1 -1
  158. package/src/plugins/kriya/constants.js +1 -1
  159. package/src/plugins/kriya/constants.js.map +1 -1
  160. package/src/plugins/layer3/constants.js +1 -1
  161. package/src/plugins/layer3/constants.js.map +1 -1
  162. package/src/plugins/lido/constants.js +1 -1
  163. package/src/plugins/lido/constants.js.map +1 -1
  164. package/src/plugins/lifinity/constants.js +1 -1
  165. package/src/plugins/lifinity/constants.js.map +1 -1
  166. package/src/plugins/liquiditypools-sei/constants.js +2 -2
  167. package/src/plugins/liquiditypools-sei/constants.js.map +1 -1
  168. package/src/plugins/liquidswap/constants.js +1 -1
  169. package/src/plugins/liquidswap/constants.js.map +1 -1
  170. package/src/plugins/loopscale/constants.js +1 -1
  171. package/src/plugins/loopscale/constants.js.map +1 -1
  172. package/src/plugins/loverflow/constants.js +1 -1
  173. package/src/plugins/loverflow/constants.js.map +1 -1
  174. package/src/plugins/lulo/constants.js +1 -1
  175. package/src/plugins/lulo/constants.js.map +1 -1
  176. package/src/plugins/magiceden/constants.js +2 -2
  177. package/src/plugins/magiceden/constants.js.map +1 -1
  178. package/src/plugins/maker/constants.js +1 -1
  179. package/src/plugins/maker/constants.js.map +1 -1
  180. package/src/plugins/mango/constants.js +2 -2
  181. package/src/plugins/mango/constants.js.map +1 -1
  182. package/src/plugins/maple/constants.js +1 -1
  183. package/src/plugins/maple/constants.js.map +1 -1
  184. package/src/plugins/marginfi/constants.js +1 -1
  185. package/src/plugins/marginfi/constants.js.map +1 -1
  186. package/src/plugins/marinade/constants.js +1 -1
  187. package/src/plugins/marinade/constants.js.map +1 -1
  188. package/src/plugins/meso/constants.js +1 -1
  189. package/src/plugins/meso/constants.js.map +1 -1
  190. package/src/plugins/metaplex/constants.js +1 -1
  191. package/src/plugins/metaplex/constants.js.map +1 -1
  192. package/src/plugins/meteora/constants.js +1 -1
  193. package/src/plugins/meteora/constants.js.map +1 -1
  194. package/src/plugins/mole/constants.js +2 -2
  195. package/src/plugins/mole/constants.js.map +1 -1
  196. package/src/plugins/moonwalk/constants.js +1 -1
  197. package/src/plugins/moonwalk/constants.js.map +1 -1
  198. package/src/plugins/morpho/constants.js +1 -1
  199. package/src/plugins/morpho/constants.js.map +1 -1
  200. package/src/plugins/native-stake/constants.js +1 -1
  201. package/src/plugins/native-stake/constants.js.map +1 -1
  202. package/src/plugins/nosana/constants.js +1 -1
  203. package/src/plugins/nosana/constants.js.map +1 -1
  204. package/src/plugins/nxfinance/constants.js +1 -1
  205. package/src/plugins/nxfinance/constants.js.map +1 -1
  206. package/src/plugins/orca/constants.js +2 -2
  207. package/src/plugins/orca/constants.js.map +1 -1
  208. package/src/plugins/orders/clobs-solana/constants.js +2 -2
  209. package/src/plugins/orders/clobs-solana/constants.js.map +1 -1
  210. package/src/plugins/pancakeswap/constants.js +1 -1
  211. package/src/plugins/pancakeswap/constants.js.map +1 -1
  212. package/src/plugins/paraswap/constants.js +1 -1
  213. package/src/plugins/paraswap/constants.js.map +1 -1
  214. package/src/plugins/perena/constants.js +1 -1
  215. package/src/plugins/perena/constants.js.map +1 -1
  216. package/src/plugins/phoenix/constants.js +1 -1
  217. package/src/plugins/phoenix/constants.js.map +1 -1
  218. package/src/plugins/photofinish/constants.js +1 -1
  219. package/src/plugins/photofinish/constants.js.map +1 -1
  220. package/src/plugins/picasso/constants.js +1 -1
  221. package/src/plugins/picasso/constants.js.map +1 -1
  222. package/src/plugins/pluto/constants.js +1 -1
  223. package/src/plugins/pluto/constants.js.map +1 -1
  224. package/src/plugins/port/constants.js +1 -1
  225. package/src/plugins/port/constants.js.map +1 -1
  226. package/src/plugins/pudgypenguins/constants.js +2 -2
  227. package/src/plugins/pudgypenguins/constants.js.map +1 -1
  228. package/src/plugins/puffcoin/constants.js +1 -1
  229. package/src/plugins/puffcoin/constants.js.map +1 -1
  230. package/src/plugins/pyth/constants.js +1 -1
  231. package/src/plugins/pyth/constants.js.map +1 -1
  232. package/src/plugins/quarry/constants.js +1 -1
  233. package/src/plugins/quarry/constants.js.map +1 -1
  234. package/src/plugins/rain/constants.js +1 -1
  235. package/src/plugins/rain/constants.js.map +1 -1
  236. package/src/plugins/ratex/constants.js +1 -1
  237. package/src/plugins/ratex/constants.js.map +1 -1
  238. package/src/plugins/raydium/constants.js +1 -1
  239. package/src/plugins/raydium/constants.js.map +1 -1
  240. package/src/plugins/rocket-pool/constants.js +1 -1
  241. package/src/plugins/rocket-pool/constants.js.map +1 -1
  242. package/src/plugins/saber/constants.js +1 -1
  243. package/src/plugins/saber/constants.js.map +1 -1
  244. package/src/plugins/sandglass/constants.js +1 -1
  245. package/src/plugins/sandglass/constants.js.map +1 -1
  246. package/src/plugins/save/constants.js +2 -2
  247. package/src/plugins/save/constants.js.map +1 -1
  248. package/src/plugins/sharky/constants.js +1 -1
  249. package/src/plugins/sharky/constants.js.map +1 -1
  250. package/src/plugins/solayer/constants.js +2 -2
  251. package/src/plugins/solayer/constants.js.map +1 -1
  252. package/src/plugins/sonic/constants.js +2 -2
  253. package/src/plugins/sonic/constants.js.map +1 -1
  254. package/src/plugins/spdr/constants.js +1 -1
  255. package/src/plugins/spdr/constants.js.map +1 -1
  256. package/src/plugins/stabble/constants.js +1 -1
  257. package/src/plugins/stabble/constants.js.map +1 -1
  258. package/src/plugins/stader/constants.js +1 -1
  259. package/src/plugins/stader/constants.js.map +1 -1
  260. package/src/plugins/staking-aptos/constants.js +1 -1
  261. package/src/plugins/staking-aptos/constants.js.map +1 -1
  262. package/src/plugins/staratlas/constants.js +1 -1
  263. package/src/plugins/staratlas/constants.js.map +1 -1
  264. package/src/plugins/stargate/constants.js +1 -1
  265. package/src/plugins/stargate/constants.js.map +1 -1
  266. package/src/plugins/streamflow/constants.js +2 -2
  267. package/src/plugins/streamflow/constants.js.map +1 -1
  268. package/src/plugins/suilend/constants.js +2 -2
  269. package/src/plugins/suilend/constants.js.map +1 -1
  270. package/src/plugins/suins/constants.js +2 -2
  271. package/src/plugins/suins/constants.js.map +1 -1
  272. package/src/plugins/superposition/constants.js +1 -1
  273. package/src/plugins/superposition/constants.js.map +1 -1
  274. package/src/plugins/sushiswap/constants.js +1 -1
  275. package/src/plugins/sushiswap/constants.js.map +1 -1
  276. package/src/plugins/symmetry/constants.js +1 -1
  277. package/src/plugins/symmetry/constants.js.map +1 -1
  278. package/src/plugins/tensor/constants.js +3 -3
  279. package/src/plugins/tensor/constants.js.map +1 -1
  280. package/src/plugins/texture/constants.js +1 -1
  281. package/src/plugins/texture/constants.js.map +1 -1
  282. package/src/plugins/thala/constants.js +1 -1
  283. package/src/plugins/thala/constants.js.map +1 -1
  284. package/src/plugins/thevault/constants.js +1 -1
  285. package/src/plugins/thevault/constants.js.map +1 -1
  286. package/src/plugins/tokens/constants.js +2 -2
  287. package/src/plugins/tokens/constants.js.map +1 -1
  288. package/src/plugins/tradeport/constants.js +1 -1
  289. package/src/plugins/tradeport/constants.js.map +1 -1
  290. package/src/plugins/triad/constants.js +1 -1
  291. package/src/plugins/triad/constants.js.map +1 -1
  292. package/src/plugins/tulip/constants.js +1 -1
  293. package/src/plugins/tulip/constants.js.map +1 -1
  294. package/src/plugins/turbos/constants.js +1 -1
  295. package/src/plugins/turbos/constants.js.map +1 -1
  296. package/src/plugins/typus/constants.js +1 -1
  297. package/src/plugins/typus/constants.js.map +1 -1
  298. package/src/plugins/uniswap/constants.js +1 -1
  299. package/src/plugins/uniswap/constants.js.map +1 -1
  300. package/src/plugins/uxd/constants.js +1 -1
  301. package/src/plugins/uxd/constants.js.map +1 -1
  302. package/src/plugins/vaultka/constants.js +1 -1
  303. package/src/plugins/vaultka/constants.js.map +1 -1
  304. package/src/plugins/venus/constants.js +1 -1
  305. package/src/plugins/venus/constants.js.map +1 -1
  306. package/src/plugins/whalesmarket/constants.js +1 -1
  307. package/src/plugins/whalesmarket/constants.js.map +1 -1
  308. package/src/plugins/wormhole/constants.js +1 -1
  309. package/src/plugins/wormhole/constants.js.map +1 -1
  310. package/src/plugins/yearn/constants.js +1 -1
  311. package/src/plugins/yearn/constants.js.map +1 -1
  312. package/src/plugins/zelo/constants.js +1 -1
  313. package/src/plugins/zelo/constants.js.map +1 -1
  314. package/src/plugins/zeta/constants.js +2 -2
  315. package/src/plugins/zeta/constants.js.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/bluefin/constants.ts"],"names":[],"mappings":";;;AAGa,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,2BAA2B;IACpC,OAAO,EAAE,0BAA0B;CACpC,CAAC;AAEW,QAAA,cAAc,GAAmB;IAC5C,SAAS,EAAE,kCAAkC;IAC7C,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,gBAAQ,CAAC,IAAI;IAC1B,EAAE,EAAE,iBAAiB;IACrB,KAAK,EAAE,gDAAgD;IACvD,QAAQ,EAAE,SAAS;IACnB,UAAU,EAAE,SAAS;CACtB,CAAC;AAEW,QAAA,QAAQ,GAAG,SAAS,CAAC;AAErB,QAAA,UAAU,GACrB,2EAA2E,CAAC;AAEjE,QAAA,SAAS,GACpB,oEAAoE,CAAC;AAE1D,QAAA,YAAY,GACvB,oEAAoE,CAAC;AAE1D,QAAA,OAAO,GAAG,MAAM,CAAC;AACjB,QAAA,eAAe,GAAG,iBAAiB,CAAC;AAEpC,QAAA,OAAO,GAAG,2CAA2C,CAAC;AAEtD,QAAA,aAAa,GAAG,aAAa,CAAC;AAC9B,QAAA,wBAAwB,GAAG,yFAAyF,CAAC;AACrH,QAAA,eAAe,GAAG,wDAAwD,CAAC;AAC3E,QAAA,oBAAoB,GAC/B,wFAAwF,CAAC;AAC9E,QAAA,WAAW,GACtB,oEAAoE,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/bluefin/constants.ts"],"names":[],"mappings":";;;AAGa,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,2BAA2B;IACpC,OAAO,EAAE,0BAA0B;CACpC,CAAC;AAEW,QAAA,cAAc,GAAmB;IAC5C,SAAS,EAAE,kCAAkC;IAC7C,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,gBAAQ,CAAC,IAAI;IAC1B,EAAE,EAAE,iBAAiB;IACrB,KAAK,EACH,6EAA6E;IAC/E,QAAQ,EAAE,SAAS;IACnB,UAAU,EAAE,SAAS;CACtB,CAAC;AAEW,QAAA,QAAQ,GAAG,SAAS,CAAC;AAErB,QAAA,UAAU,GACrB,2EAA2E,CAAC;AAEjE,QAAA,SAAS,GACpB,oEAAoE,CAAC;AAE1D,QAAA,YAAY,GACvB,oEAAoE,CAAC;AAE1D,QAAA,OAAO,GAAG,MAAM,CAAC;AACjB,QAAA,eAAe,GAAG,iBAAiB,CAAC;AAEpC,QAAA,OAAO,GAAG,2CAA2C,CAAC;AAEtD,QAAA,aAAa,GAAG,aAAa,CAAC;AAC9B,QAAA,wBAAwB,GAAG,yFAAyF,CAAC;AACrH,QAAA,eAAe,GAAG,wDAAwD,CAAC;AAC3E,QAAA,oBAAoB,GAC/B,wFAAwF,CAAC;AAC9E,QAAA,WAAW,GACtB,oEAAoE,CAAC"}
@@ -5,7 +5,7 @@ exports.platformId = 'bluemove';
5
5
  exports.platform = {
6
6
  id: exports.platformId,
7
7
  name: 'BlueMove',
8
- image: 'https://sonar.watch/img/platforms/bluemove.webp',
8
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/bluemove.webp',
9
9
  website: 'https://dex.bluemove.net/',
10
10
  twitter: 'https://x.com/BlueMove_OA',
11
11
  defiLlamaId: 'parent#bluemove', // from https://defillama.com/docs/api
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/bluemove/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,iDAAiD;IACxD,OAAO,EAAE,2BAA2B;IACpC,OAAO,EAAE,2BAA2B;IACpC,WAAW,EAAE,iBAAiB,EAAE,sCAAsC;CACvE,CAAC;AACW,QAAA,oBAAoB,GAAG,gBAAgB,CAAC;AAExC,QAAA,SAAS,GACpB,oEAAoE,CAAC;AAE1D,QAAA,UAAU,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/bluemove/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EACH,8EAA8E;IAChF,OAAO,EAAE,2BAA2B;IACpC,OAAO,EAAE,2BAA2B;IACpC,WAAW,EAAE,iBAAiB,EAAE,sCAAsC;CACvE,CAAC;AACW,QAAA,oBAAoB,GAAG,gBAAgB,CAAC;AAExC,QAAA,SAAS,GACpB,oEAAoE,CAAC;AAE1D,QAAA,UAAU,GAAG,CAAC,CAAC"}
@@ -6,7 +6,7 @@ exports.platformId = 'bonfida';
6
6
  exports.platform = {
7
7
  id: exports.platformId,
8
8
  name: 'Bonfida (SNS)',
9
- image: 'https://sonar.watch/img/platforms/bonfida.webp',
9
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/bonfida.webp',
10
10
  website: 'https://www.sns.id/',
11
11
  twitter: 'https://twitter.com/bonfida',
12
12
  defiLlamaId: 'solana-name-service', // from https://defillama.com/docs/api
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/bonfida/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,eAAe;IACrB,KAAK,EAAE,gDAAgD;IACvD,OAAO,EAAE,qBAAqB;IAC9B,OAAO,EAAE,6BAA6B;IACtC,WAAW,EAAE,qBAAqB,EAAE,sCAAsC;CAC3E,CAAC;AAEW,QAAA,QAAQ,GAAG,IAAI,mBAAS,CACnC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,UAAU,GAAG,IAAI,mBAAS,CACrC,6CAA6C,CAC9C,CAAC;AAEW,QAAA,UAAU,GACrB,yFAAyF,CAAC;AAC/E,QAAA,QAAQ,GAAG,8CAA8C,CAAC;AAC1D,QAAA,YAAY,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/bonfida/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,eAAe;IACrB,KAAK,EACH,6EAA6E;IAC/E,OAAO,EAAE,qBAAqB;IAC9B,OAAO,EAAE,6BAA6B;IACtC,WAAW,EAAE,qBAAqB,EAAE,sCAAsC;CAC3E,CAAC;AAEW,QAAA,QAAQ,GAAG,IAAI,mBAAS,CACnC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,UAAU,GAAG,IAAI,mBAAS,CACrC,6CAA6C,CAC9C,CAAC;AAEW,QAAA,UAAU,GACrB,yFAAyF,CAAC;AAC/E,QAAA,QAAQ,GAAG,8CAA8C,CAAC;AAC1D,QAAA,YAAY,GAAG,CAAC,CAAC"}
@@ -6,7 +6,7 @@ exports.platformId = 'bonkrewards';
6
6
  exports.platform = {
7
7
  id: exports.platformId,
8
8
  name: 'Bonk Rewards',
9
- image: 'https://sonar.watch/img/platforms/bonk.webp',
9
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/bonk.webp',
10
10
  twitter: 'https://twitter.com/bonk_inu',
11
11
  website: 'https://bonkrewards.com/',
12
12
  defiLlamaId: 'bonkswap',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/bonkrewards/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,aAAa,CAAC;AAC3B,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,cAAc;IACpB,KAAK,EAAE,6CAA6C;IACpD,OAAO,EAAE,8BAA8B;IACvC,OAAO,EAAE,0BAA0B;IACnC,WAAW,EAAE,UAAU;CACxB,CAAC;AACW,QAAA,QAAQ,GAAG,IAAI,mBAAS,CACnC,6CAA6C,CAC9C,CAAC;AACW,QAAA,SAAS,GAAG,8CAA8C,CAAC;AAC3D,QAAA,QAAQ,GAAG,8CAA8C,CAAC;AAC1D,QAAA,YAAY,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/bonkrewards/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,aAAa,CAAC;AAC3B,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,cAAc;IACpB,KAAK,EACH,0EAA0E;IAC5E,OAAO,EAAE,8BAA8B;IACvC,OAAO,EAAE,0BAA0B;IACnC,WAAW,EAAE,UAAU;CACxB,CAAC;AACW,QAAA,QAAQ,GAAG,IAAI,mBAAS,CACnC,6CAA6C,CAC9C,CAAC;AACW,QAAA,SAAS,GAAG,8CAA8C,CAAC;AAC3D,QAAA,QAAQ,GAAG,8CAA8C,CAAC;AAC1D,QAAA,YAAY,GAAG,CAAC,CAAC"}
@@ -6,7 +6,7 @@ exports.platformId = 'bskt';
6
6
  exports.platform = {
7
7
  id: exports.platformId,
8
8
  name: 'BSKT',
9
- image: 'https://sonar.watch/img/platforms/bskt.webp',
9
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/bskt.webp',
10
10
  // defiLlamaId: 'foo-finance', // from https://defillama.com/docs/api
11
11
  website: 'https://claim.bskt.fi/',
12
12
  twitter: 'https://twitter.com/bsktfi',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/bskt/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,6CAA6C;IACpD,qEAAqE;IACrE,OAAO,EAAE,wBAAwB;IACjC,OAAO,EAAE,4BAA4B;CACtC,CAAC;AAEW,QAAA,OAAO,GAAG,IAAI,mBAAS,CAClC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,YAAY,GAAG,CAAC,CAAC;AACjB,QAAA,QAAQ,GAAG,8CAA8C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/bskt/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EACH,0EAA0E;IAC5E,qEAAqE;IACrE,OAAO,EAAE,wBAAwB;IACjC,OAAO,EAAE,4BAA4B;CACtC,CAAC;AAEW,QAAA,OAAO,GAAG,IAAI,mBAAS,CAClC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,YAAY,GAAG,CAAC,CAAC;AACjB,QAAA,QAAQ,GAAG,8CAA8C,CAAC"}
@@ -5,7 +5,7 @@ exports.platformId = 'bucket';
5
5
  exports.platform = {
6
6
  id: exports.platformId,
7
7
  name: 'Bucket',
8
- image: 'https://sonar.watch/img/platforms/bucket.webp',
8
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/bucket.webp',
9
9
  defiLlamaId: 'bucket-protocol',
10
10
  website: 'https://bucketprotocol.io/',
11
11
  };
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/bucket/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,WAAW,EAAE,iBAAiB;IAC9B,OAAO,EAAE,4BAA4B;CACtC,CAAC;AAEW,QAAA,MAAM,GACjB,gFAAgF,CAAC;AACtE,QAAA,OAAO,GAClB,kFAAkF,CAAC;AAExE,QAAA,UAAU,GACrB,oEAAoE,CAAC;AAC1D,QAAA,kBAAkB,GAC7B,oEAAoE,CAAC;AAE1D,QAAA,gBAAgB,GAC3B,oEAAoE,CAAC;AAE1D,QAAA,eAAe,GAAG,SAAS,CAAC;AAE5B,QAAA,oBAAoB,GAA8B;IAC7D,kFAAkF,EAChF,oEAAoE;IACtE,kFAAkF,EAChF,oEAAoE;IACtE,gFAAgF,EAC9E,oEAAoE;CACvE,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/bucket/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,WAAW,EAAE,iBAAiB;IAC9B,OAAO,EAAE,4BAA4B;CACtC,CAAC;AAEW,QAAA,MAAM,GACjB,gFAAgF,CAAC;AACtE,QAAA,OAAO,GAClB,kFAAkF,CAAC;AAExE,QAAA,UAAU,GACrB,oEAAoE,CAAC;AAC1D,QAAA,kBAAkB,GAC7B,oEAAoE,CAAC;AAE1D,QAAA,gBAAgB,GAC3B,oEAAoE,CAAC;AAE1D,QAAA,eAAe,GAAG,SAAS,CAAC;AAE5B,QAAA,oBAAoB,GAA8B;IAC7D,kFAAkF,EAChF,oEAAoE;IACtE,kFAAkF,EAChF,oEAAoE;IACtE,gFAAgF,EAC9E,oEAAoE;CACvE,CAAC"}
@@ -5,7 +5,7 @@ exports.platformId = 'cetus';
5
5
  exports.platform = {
6
6
  id: exports.platformId,
7
7
  name: 'Cetus',
8
- image: 'https://sonar.watch/img/platforms/cetus.webp',
8
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/cetus.webp',
9
9
  defiLlamaId: 'parent#cetus',
10
10
  website: 'https://www.cetus.zone/',
11
11
  };
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/cetus/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,8CAA8C;IACrD,WAAW,EAAE,cAAc;IAC3B,OAAO,EAAE,yBAAyB;CACnC,CAAC;AAEW,QAAA,SAAS,GACpB,kFAAkF,CAAC;AACxE,QAAA,UAAU,GACrB,oFAAoF,CAAC;AAE1E,QAAA,eAAe,GAAG,GAAG,kBAAU,YAAY,CAAC;AAE5C,QAAA,iBAAiB,GAC5B,oEAAoE,CAAC;AAE1D,QAAA,QAAQ,GAAG,GAAG,yBAAiB,sBAAsB,CAAC;AAEtD,QAAA,eAAe,GAAG,GAAG,yBAAiB,4BAA4B,CAAC;AACnE,QAAA,YAAY,GACvB,oEAAoE,CAAC;AAC1D,QAAA,SAAS,GACpB,oEAAoE,CAAC;AAEvE,gEAAgE;AAChE,+DAA+D;AAClD,QAAA,cAAc,GAAG;IAC5B,oEAAoE;IACpE,oEAAoE;IACpE,oEAAoE;IACpE,oEAAoE;IACpE,oEAAoE;IACpE,oEAAoE;IACpE,oEAAoE;IACpE,oEAAoE;IACpE,oEAAoE;IACpE,oEAAoE;IACpE,oEAAoE;IACpE,oEAAoE;CACrE,CAAC;AAEF,qFAAqF;AACrF,sDAAsD;AACzC,QAAA,eAAe,GAC1B,oEAAoE,CAAC;AAE1D,QAAA,WAAW,GACtB,8FAA8F,CAAC;AAEpF,QAAA,cAAc,GACzB,oEAAoE,CAAC;AAC1D,QAAA,gBAAgB,GAC3B,oEAAoE,CAAC;AAC1D,QAAA,kBAAkB,GAC7B,oEAAoE,CAAC;AAC1D,QAAA,gBAAgB,GAC3B,oEAAoE,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/cetus/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EACH,2EAA2E;IAC7E,WAAW,EAAE,cAAc;IAC3B,OAAO,EAAE,yBAAyB;CACnC,CAAC;AAEW,QAAA,SAAS,GACpB,kFAAkF,CAAC;AACxE,QAAA,UAAU,GACrB,oFAAoF,CAAC;AAE1E,QAAA,eAAe,GAAG,GAAG,kBAAU,YAAY,CAAC;AAE5C,QAAA,iBAAiB,GAC5B,oEAAoE,CAAC;AAE1D,QAAA,QAAQ,GAAG,GAAG,yBAAiB,sBAAsB,CAAC;AAEtD,QAAA,eAAe,GAAG,GAAG,yBAAiB,4BAA4B,CAAC;AACnE,QAAA,YAAY,GACvB,oEAAoE,CAAC;AAC1D,QAAA,SAAS,GACpB,oEAAoE,CAAC;AAEvE,gEAAgE;AAChE,+DAA+D;AAClD,QAAA,cAAc,GAAG;IAC5B,oEAAoE;IACpE,oEAAoE;IACpE,oEAAoE;IACpE,oEAAoE;IACpE,oEAAoE;IACpE,oEAAoE;IACpE,oEAAoE;IACpE,oEAAoE;IACpE,oEAAoE;IACpE,oEAAoE;IACpE,oEAAoE;IACpE,oEAAoE;CACrE,CAAC;AAEF,qFAAqF;AACrF,sDAAsD;AACzC,QAAA,eAAe,GAC1B,oEAAoE,CAAC;AAE1D,QAAA,WAAW,GACtB,8FAA8F,CAAC;AAEpF,QAAA,cAAc,GACzB,oEAAoE,CAAC;AAC1D,QAAA,gBAAgB,GAC3B,oEAAoE,CAAC;AAC1D,QAAA,kBAAkB,GAC7B,oEAAoE,CAAC;AAC1D,QAAA,gBAAgB,GAC3B,oEAAoE,CAAC"}
@@ -7,7 +7,7 @@ exports.platformId = 'citrus';
7
7
  exports.platform = {
8
8
  id: exports.platformId,
9
9
  name: 'Citrus',
10
- image: 'https://sonar.watch/img/platforms/citrus.webp',
10
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/citrus.webp',
11
11
  website: 'https://citrus.famousfoxes.com/',
12
12
  twitter: 'https://twitter.com/FamousFoxFed',
13
13
  defiLlamaId: 'citrus', // from https://defillama.com/docs/api
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/citrus/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE5C,+BAAkC;AAErB,QA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QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE,qBAAa,CAAC,QAAQ,EAAE;IACnC,GAAG,EAAE,eAAS;IACd,OAAO,EAAE,QAAQ;CACP,CAAC"}
@@ -6,7 +6,7 @@ exports.platformId = 'clone';
6
6
  exports.platform = {
7
7
  id: exports.platformId,
8
8
  name: 'Clone',
9
- image: 'https://sonar.watch/img/platforms/clone.webp',
9
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/clone.webp',
10
10
  defiLlamaId: 'clone-protocol', // from https://defillama.com/docs/api
11
11
  website: 'https://clone.so/',
12
12
  twitter: 'https://twitter.com/CloneProtocol',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/clone/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,8CAA8C;IACrD,WAAW,EAAE,gBAAgB,EAAE,sCAAsC;IACrE,OAAO,EAAE,mBAAmB;IAC5B,OAAO,EAAE,mCAAmC;CAC7C,CAAC;AAEW,QAAA,QAAQ,GAAG,IAAI,mBAAS,CACnC,8CAA8C,CAC/C,CAAC;AACW,QAAA,WAAW,GAAG,IAAI,mBAAS,CACtC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,QAAQ,GAAG,OAAO,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/clone/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EACH,2EAA2E;IAC7E,WAAW,EAAE,gBAAgB,EAAE,sCAAsC;IACrE,OAAO,EAAE,mBAAmB;IAC5B,OAAO,EAAE,mCAAmC;CAC7C,CAAC;AAEW,QAAA,QAAQ,GAAG,IAAI,mBAAS,CACnC,8CAA8C,CAC/C,CAAC;AACW,QAAA,WAAW,GAAG,IAAI,mBAAS,CACtC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,QAAQ,GAAG,OAAO,CAAC"}
@@ -6,7 +6,7 @@ exports.platformId = 'compound';
6
6
  exports.platform = {
7
7
  id: exports.platformId,
8
8
  name: 'Compound',
9
- image: 'https://sonar.watch/img/platforms/compound.webp',
9
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/compound.webp',
10
10
  defiLlamaId: 'parent#compound-finance', // from https://defillama.com/docs/api
11
11
  website: 'https://compound.finance/',
12
12
  };
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/compound/constants.ts"],"names":[],"mappings":";;;AAAA,+DAIoC;AAGvB,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,iDAAiD;IACxD,WAAW,EAAE,yBAAyB,EAAE,sCAAsC;IAC9E,OAAO,EAAE,2BAA2B;CACrC,CAAC;AAEW,QAAA,gBAAgB,GAAG,gBAAgB,CAAC;AACpC,QAAA,uBAAuB,GAAG,qBAAqB,CAAC;AAChD,QAAA,qBAAqB,GAChC,4CAA4C,CAAC;AAElC,QAAA,aAAa,GAA0C,IAAI,GAAG,CAAC;IAC1E;QACE,0BAAS,CAAC,QAAQ;QAClB;YACE;gBACE,SAAS,EAAE,0BAAS,CAAC,QAAQ;gBAC7B,YAAY,EAAE,4CAA4C;gBAC1D,kBAAkB,EAAE,4CAA4C;gBAChE,gBAAgB,EAAE,4CAA4C;gBAC9D,iBAAiB,EAAE,CAAC;gBACpB,MAAM,EAAE;oBACN;wBACE,OAAO,EAAE,4CAA4C;wBACrD,QAAQ,EAA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QAAQ,EAAE,EAAE;qBACb;oBACD;wBACE,OAAO,EAAE,4CAA4C;wBACrD,QAAQ,EAAE,EAAE;qBACb;iBACF;aACF;SACF;KACF;IACD;QACE,0BAAS,CAAC,OAAO;QACjB;YACE;gBACE,SAAS,EAAE,0BAAS,CAAC,OAAO;gBAC5B,YAAY,EAAE,4CAA4C;gBAC1D,kBAAkB,EAAE,4CAA4C;gBAChE,gBAAgB,EAAE,4CAA4C;gBAC9D,iBAAiB,EAAE,CAAC;gBACpB,MAAM,EAAE;oBACN;wBACE,OAAO,EAAE,4CAA4C;wBACrD,QAAQ,EAAE,EAAE;qBACb;oBACD;wBACE,OAAO,EAAE,4CAA4C;wBACrD,QAAQ,EAAE,CAAC;qBACZ;oBACD;wBACE,OAAO,EAAE,4CAA4C;wBACrD,QAAQ,EAAE,EAAE;qBACb;oBACD;wBACE,OAAO,EAAE,4CAA4C;wBACrD,QAAQ,EAAE,EAAE;qBACb;oBACD;wBACE,OAAO,EAAE,4CAA4C;wBACrD,QAAQ,EAAE,EAAE;qBACb;iBACF;aACF;SACF;KACF;CACF,CAAC,CAAC"}
@@ -6,7 +6,7 @@ exports.platformId = 'cropper';
6
6
  exports.platform = {
7
7
  id: exports.platformId,
8
8
  name: 'Cropper',
9
- image: 'https://sonar.watch/img/platforms/cropper.webp',
9
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/cropper.webp',
10
10
  website: 'https://cropper.finance/',
11
11
  twitter: 'https://twitter.com/CropperFinance',
12
12
  defiLlamaId: 'cropper-clmm', // from https://defillama.com/docs/api
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/cropper/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,gDAAgD;IACvD,OAAO,EAAE,0BAA0B;IACnC,OAAO,EAAE,oCAAoC;IAC7C,WAAW,EAAE,cAAc,EAAE,sCAAsC;CACpE,CAAC;AAEW,QAAA,OAAO,GAAG,IAAI,mBAAS,CAClC,8CAA8C,CAC/C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/cropper/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,SAAS;IACf,KAAK,EACH,6EAA6E;IAC/E,OAAO,EAAE,0BAA0B;IACnC,OAAO,EAAE,oCAAoC;IAC7C,WAAW,EAAE,cAAc,EAAE,sCAAsC;CACpE,CAAC;AAEW,QAAA,OAAO,GAAG,IAAI,mBAAS,CAClC,8CAA8C,CAC/C,CAAC"}
@@ -6,7 +6,7 @@ exports.platformId = 'curve';
6
6
  exports.platform = {
7
7
  id: exports.platformId,
8
8
  name: 'Curve Finance',
9
- image: 'https://sonar.watch/img/platforms/curve.webp',
9
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/curve.webp',
10
10
  defiLlamaId: 'parent#curve-finance',
11
11
  website: 'https://curve.fi/',
12
12
  };
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/curve/constants.ts"],"names":[],"mappings":";;;AAAA,+DAIoC;AAEvB,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,eAAe;IACrB,KAAK,EAAE,8CAA8C;IACrD,WAAW,EAAE,sBAAsB;IACnC,OAAO,EAAE,mBAAmB;CAC7B,CAAC;AACW,QAAA,gBAAgB,GAAG,GAAG,kBAAU,QAAQ,CAAC;AACzC,QAAA,iBAAiB,GAAG,GAAG,kBAAU,SAAS,CA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AAyB,GAAG,GAAG,kBAAU,mBAAmB,CAAC;AAE7D,QAAA,UAAU,GAAG,0BAA0B,CAAC;AAExC,QAAA,mBAAmB,GAAG,4CAA4C,CAAC;AACnE,QAAA,oBAAoB,GAC/B,4CAA4C,CAAC;AAE/C,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,uCAAuB,CAAA;AACzB,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB;AAEY,QAAA,UAAU,GAAG,4CAA4C,CAAC;AAC1D,QAAA,WAAW,GAAG,EAAE,CAAC;AACjB,QAAA,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;AAE5C,QAAA,yBAAyB,GACpC;IACE,CAAC,YAAY,CAAC,QAAQ,CAAC,EAAE,0BAAS,CAAC,QAAQ;IAC3C,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,0BAAS,CAAC,OAAO;IACzC,CAAC,YAAY,CAAC,SAAS,CAAC,EAAE,0BAAS,CAAC,SAAS;CAC9C,CAAC"}
@@ -6,7 +6,7 @@ exports.platformId = 'cyberfrogs';
6
6
  exports.platform = {
7
7
  id: exports.platformId,
8
8
  name: 'CyberFrogs',
9
- image: 'https://sonar.watch/img/platforms/cyberfrogs.webp',
9
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/cyberfrogs.webp',
10
10
  website: 'https://legacy.cyberfrogs.io/faction-contracts-v3',
11
11
  twitter: 'https://twitter.com/CyberFrogsNFT',
12
12
  };
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/cyberfrogs/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/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,mDAAmD;IAC5D,OAAO,EAAE,mCAAmC;CAC7C,CAAC;AAEW,QAAA,GAAG,GAAG,IAAI,mBAAS,CAC9B,8CAA8C,CAC/C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/cyberfrogs/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/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,mDAAmD;IAC5D,OAAO,EAAE,mCAAmC;CAC7C,CAAC;AAEW,QAAA,GAAG,GAAG,IAAI,mBAAS,CAC9B,8CAA8C,CAC/C,CAAC"}
@@ -6,7 +6,7 @@ exports.platformId = 'realms';
6
6
  exports.realmsPlatform = {
7
7
  id: exports.platformId,
8
8
  name: 'Realms',
9
- image: 'https://sonar.watch/img/platforms/realms.webp',
9
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/realms.webp',
10
10
  defiLlamaId: 'spl-governance',
11
11
  website: 'https://app.realms.today/',
12
12
  };
@@ -14,7 +14,7 @@ exports.heliumPlatformId = 'helium';
14
14
  exports.heliumPlatform = {
15
15
  id: exports.heliumPlatformId,
16
16
  name: 'Helium',
17
- image: 'https://sonar.watch/img/platforms/helium.webp',
17
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/helium.webp',
18
18
  website: 'https://heliumvote.com/',
19
19
  twitter: 'https://twitter.com/helium',
20
20
  };
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/daos/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAI/B,QAAA,UAAU,GAAG,QAAQ,CAAC;AAEtB,QAAA,cAAc,GAAa;IACtC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,+CAA+C;IACtD,WAAW,EAAE,gBAAgB;IAC7B,OAAO,EAAE,2BAA2B;CACrC,CAAC;AAEW,QAAA,gBAAgB,GAAG,QAAQ,CAAC;AAC5B,QAAA,cAAc,GAAa;IACtC,EAAE,EAAE,wBAAgB;IACpB,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,+CAA+C;IACtD,OAAO,EAAE,yBAAyB;IAClC,OAAO,EAAE,4BAA4B;CACtC,CAAC;AAEW,QAAA,iBAAiB,GAAG,uBAAuB,CAAC;AAC5C,QAAA,YAAY,GAAG,YAAY,CAAC;AAE5B,QAAA,mBAAmB,GAAe;IAC7C;QACE,SAAS,EAAE,IAAI,mBAAS,CAAC,6CAA6C,CAAC,EAAE,WAAW;QACpF,IAAI,EAAE,6CAA6C;KACpD;IACD;QACE,SAAS,EAAE,IAAI,mBAAS,CAAC,8CAA8C,CAAC,EAAE,QAAQ;QAClF,IAAI,EAAE,6CAA6C;KACpD;IACD;QACE,SAAS,EAAE,IAAI,mBAAS,CAAC,6CAA6C,CAAC,EAAE,QAAQ;QACjF,IAAI,EAAE,6CAA6C;KACpD;IACD;QACE,SAAS,EAAE,IAAI,mBAAS,CAAC,8CAA8C,CAAC,EAAE,aAAa;QACvF,IAAI,EAAE,8CAA8C;KACrD;CACF,CAAC;AAEW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC;AAEW,QAAA,gBAAgB,GAC3B,oDAAoD,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/daos/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAI/B,QAAA,UAAU,GAAG,QAAQ,CAAC;AAEtB,QAAA,cAAc,GAAa;IACtC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EACH,4EAA4E;IAC9E,WAAW,EAAE,gBAAgB;IAC7B,OAAO,EAAE,2BAA2B;CACrC,CAAC;AAEW,QAAA,gBAAgB,GAAG,QAAQ,CAAC;AAC5B,QAAA,cAAc,GAAa;IACtC,EAAE,EAAE,wBAAgB;IACpB,IAAI,EAAE,QAAQ;IACd,KAAK,EACH,4EAA4E;IAC9E,OAAO,EAAE,yBAAyB;IAClC,OAAO,EAAE,4BAA4B;CACtC,CAAC;AAEW,QAAA,iBAAiB,GAAG,uBAAuB,CAAC;AAC5C,QAAA,YAAY,GAAG,YAAY,CAAC;AAE5B,QAAA,mBAAmB,GAAe;IAC7C;QACE,SAAS,EAAE,IAAI,mBAAS,CAAC,6CAA6C,CAAC,EAAE,WAAW;QACpF,IAAI,EAAE,6CAA6C;KACpD;IACD;QACE,SAAS,EAAE,IAAI,mBAAS,CAAC,8CAA8C,CAAC,EAAE,QAAQ;QAClF,IAAI,EAAE,6CAA6C;KACpD;IACD;QACE,SAAS,EAAE,IAAI,mBAAS,CAAC,6CAA6C,CAAC,EAAE,QAAQ;QACjF,IAAI,EAAE,6CAA6C;KACpD;IACD;QACE,SAAS,EAAE,IAAI,mBAAS,CAAC,8CAA8C,CAAC,EAAE,aAAa;QACvF,IAAI,EAAE,8CAA8C;KACrD;CACF,CAAC;AAEW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC;AAEW,QAAA,gBAAgB,GAC3B,oDAAoD,CAAC"}
@@ -6,7 +6,7 @@ exports.platformId = 'debridge';
6
6
  exports.platform = {
7
7
  id: exports.platformId,
8
8
  name: 'deBridge',
9
- image: 'https://sonar.watch/img/platforms/debridge.webp',
9
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/debridge.webp',
10
10
  website: 'https://debridge.finance/',
11
11
  twitter: 'https://x.com/deBridgeFinance',
12
12
  defiLlamaId: 'debridge', // from https://defillama.com/docs/api
@@ -15,7 +15,7 @@ exports.commonStatics = {
15
15
  claimLink: 'https://debridge.foundation/checker',
16
16
  emitterLink: 'https://debridge.finance/',
17
17
  emitterName: 'deBridge',
18
- image: 'https://sonar.watch/img/platforms/debridge.webp',
18
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/debridge.webp',
19
19
  };
20
20
  exports.firstDistribStatics = Object.assign(Object.assign({}, exports.commonStatics), { id: `${exports.platformId}-dis1`, claimStart: 1724940000000, claimEnd: 1747440000000 });
21
21
  exports.secondDistribStatics = Object.assign(Object.assign({}, exports.commonStatics), { id: `${exports.platformId}-dis2`, claimStart: 1744876800000, claimEnd: 1747440000000 });
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/debridge/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,iDAAiD;IACxD,OAAO,EAAE,2BAA2B;IACpC,OAAO,EAAE,+BAA+B;IACxC,WAAW,EAAE,UAAU,EAAE,sCAAsC;CAChE,CAAC;AAEW,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE,qCAAqC;IAChD,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,UAAU;IACvB,KAAK,EAAE,iDAAiD;CACzD,CAAC;AAEW,QAAA,mBAAmB,mCAC3B,qBAAa,KAChB,EAAE,EAAE,GAAG,kBAAU,OAAO,EACxB,UAAU,EAAE,aAAa,EACzB,QAAQ,EAAE,aAAa,IACvB;AAEW,QAAA,oBAAoB,mCAC5B,qBAAa,KAChB,EAAE,EAAE,GAAG,kBAAU,OAAO,EACxB,UAAU,EAAE,aAAa,EACzB,QAAQ,EAAE,aAAa,IACvB;AAEW,QAAA,OAAO,GAAG,8CAA8C,CAAC;AACzD,QAAA,WAAW,GAAG,CAAC,CAAC;AAChB,QAAA,MAAM,GACjB,+DAA+D,CAAC;AAErD,QAAA,kBAAkB,GAAG,IAAI,mBAAS,CAC7C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,8CAA8C,CAC/C,CAAC;AACW,QAAA,aAAa,GAAG,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/debridge/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EACH,8EAA8E;IAChF,OAAO,EAAE,2BAA2B;IACpC,OAAO,EAAE,+BAA+B;IACxC,WAAW,EAAE,UAAU,EAAE,sCAAsC;CAChE,CAAC;AAEW,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE,qCAAqC;IAChD,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,UAAU;IACvB,KAAK,EACH,8EAA8E;CACjF,CAAC;AAEW,QAAA,mBAAmB,mCAC3B,qBAAa,KAChB,EAAE,EAAE,GAAG,kBAAU,OAAO,EACxB,UAAU,EAAE,aAAa,EACzB,QAAQ,EAAE,aAAa,IACvB;AAEW,QAAA,oBAAoB,mCAC5B,qBAAa,KAChB,EAAE,EAAE,GAAG,kBAAU,OAAO,EACxB,UAAU,EAAE,aAAa,EACzB,QAAQ,EAAE,aAAa,IACvB;AAEW,QAAA,OAAO,GAAG,8CAA8C,CAAC;AACzD,QAAA,WAAW,GAAG,CAAC,CAAC;AAChB,QAAA,MAAM,GACjB,+DAA+D,CAAC;AAErD,QAAA,kBAAkB,GAAG,IAAI,mBAAS,CAC7C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,8CAA8C,CAC/C,CAAC;AACW,QAAA,aAAa,GAAG,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC"}
@@ -5,7 +5,7 @@ exports.platformId = 'deepbook';
5
5
  exports.platform = {
6
6
  id: exports.platformId,
7
7
  name: 'DeepBook',
8
- image: 'https://sonar.watch/img/platforms/deepbook.webp',
8
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/deepbook.webp',
9
9
  website: 'https://deepbook.tech/',
10
10
  twitter: 'https://x.com/DeepBookonSui',
11
11
  defiLlamaId: 'parent#deepbook', // from https://defillama.com/docs/api
@@ -15,7 +15,7 @@ exports.airdropStatics = {
15
15
  claimLink: 'https://claim.deepbook.tech/',
16
16
  emitterName: 'DeepBook',
17
17
  id: `${exports.platformId}-token-launch`,
18
- image: 'https://sonar.watch/img/platforms/deepbook.webp',
18
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/deepbook.webp',
19
19
  claimEnd: undefined,
20
20
  claimStart: 1728907200000,
21
21
  };
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/deepbook/constants.ts"],"names":[],"mappings":";;;AAGa,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,iDAAiD;IACxD,OAAO,EAAE,wBAAwB;IACjC,OAAO,EAAE,6BAA6B;IACtC,WAAW,EAAE,iBAAiB,EAAE,sCAAsC;CACvE,CAAC;AACW,QAAA,cAAc,GAAmB;IAC5C,WAAW,EAAE,uBAAuB;IACpC,SAAS,EAAE,8BAA8B;IACzC,WAAW,EAAE,UAAU;IACvB,EAAE,EAAE,GAAG,kBAAU,eAAe;IAChC,KAAK,EAAE,iDAAiD;IACxD,QAAQ,EAAE,SAAS;IACnB,UAAU,EAAE,aAAa;CAC1B,CAAC;AAEW,QAAA,QAAQ,GACnB,gFAAgF,CAAC;AACtE,QAAA,YAAY,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/deepbook/constants.ts"],"names":[],"mappings":";;;AAGa,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EACH,8EAA8E;IAChF,OAAO,EAAE,wBAAwB;IACjC,OAAO,EAAE,6BAA6B;IACtC,WAAW,EAAE,iBAAiB,EAAE,sCAAsC;CACvE,CAAC;AACW,QAAA,cAAc,GAAmB;IAC5C,WAAW,EAAE,uBAAuB;IACpC,SAAS,EAAE,8BAA8B;IACzC,WAAW,EAAE,UAAU;IACvB,EAAE,EAAE,GAAG,kBAAU,eAAe;IAChC,KAAK,EACH,8EAA8E;IAChF,QAAQ,EAAE,SAAS;IACnB,UAAU,EAAE,aAAa;CAC1B,CAAC;AAEW,QAAA,QAAQ,GACnB,gFAAgF,CAAC;AACtE,QAAA,YAAY,GAAG,CAAC,CAAC"}
@@ -6,7 +6,7 @@ exports.platformId = 'defiland';
6
6
  exports.platform = {
7
7
  id: exports.platformId,
8
8
  name: 'Defiland',
9
- image: 'https://sonar.watch/img/platforms/defiland.webp',
9
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/defiland.webp',
10
10
  website: 'https://staking.defiland.app/',
11
11
  twitter: 'https://x.com/DeFi_Land',
12
12
  };
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/defiland/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,iDAAiD;IACxD,OAAO,EAAE,+BAA+B;IACxC,OAAO,EAAE,yBAAyB;CACnC,CAAC;AACW,QAAA,OAAO,GAAG,8CAA8C,CAAC;AACzD,QAAA,UAAU,GAAG,IAAI,mBAAS,CACrC,6CAA6C,CAC9C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/defiland/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EACH,8EAA8E;IAChF,OAAO,EAAE,+BAA+B;IACxC,OAAO,EAAE,yBAAyB;CACnC,CAAC;AACW,QAAA,OAAO,GAAG,8CAA8C,CAAC;AACzD,QAAA,UAAU,GAAG,IAAI,mBAAS,CACrC,6CAA6C,CAC9C,CAAC"}
@@ -8,7 +8,7 @@ exports.platformId = 'defituna';
8
8
  exports.platform = {
9
9
  id: exports.platformId,
10
10
  name: 'DefiTuna',
11
- image: 'https://sonar.watch/img/platforms/defituna.webp',
11
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/defituna.webp',
12
12
  website: 'https://defituna.com',
13
13
  twitter: 'https://x.com/DeFiTuna',
14
14
  };
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/defituna/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,sBAAsB;IAC/B,OAAO,EAAE,wBAAwB;CAClC,CAAC;AAEW,QAAA,eAAe,GAAG,IAAI,mBAAS,CAC1C,6CAA6C,CAC9C,CAAC;AAEW,QAAA,oBAAoB,GAAG,eAAe,CAAC;AACvC,QAAA,SAAS,GAAG,IAAI,6BAAa,CAAU,4BAAoB,EAAE;IACxE,MAAM,EAAE,kBAAU;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,CAAC,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/defituna/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,sBAAsB;IAC/B,OAAO,EAAE,wBAAwB;CAClC,CAAC;AAEW,QAAA,eAAe,GAAG,IAAI,mBAAS,CAC1C,6CAA6C,CAC9C,CAAC;AAEW,QAAA,oBAAoB,GAAG,eAAe,CAAC;AACvC,QAAA,SAAS,GAAG,IAAI,6BAAa,CAAU,4BAAoB,EAAE;IACxE,MAAM,EAAE,kBAAU;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,CAAC,CAAC"}
@@ -7,7 +7,7 @@ exports.platformId = 'divvy';
7
7
  exports.platform = {
8
8
  id: exports.platformId,
9
9
  name: 'Divvy',
10
- image: 'https://sonar.watch/img/platforms/divvy.webp',
10
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/divvy.webp',
11
11
  defiLlamaId: 'divvy.bet',
12
12
  website: 'https://app.divvy.bet/',
13
13
  };
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/divvy/constants.ts"],"names":[],"mappings":";;;AAEA,6CAA4C;AAC5C,+BAAiC;AAEpB,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,8CAA8C;IACrD,WAAW,EAAE,WAAW;IACxB,OAAO,EAAE,wBAAwB;CAClC,CAAC;AAEW,QAAA,YAAY,GAAG,IAAI,mBAAS,CACvC,6CAA6C,CAC9C,CAAC;AACW,QAAA,OAAO,GAAG,8CAA8C,CAAC;AAEzD,QAAA,YAAY,GAAG;IAC1B,SAAS,EAAE,oBAAY,CAAC,QAAQ,EAAE;IAClC,GAAG,EAAE,cAAQ;IACb,OAAO,EAAE,QAAQ;CACP,CAAC;AAEA,QAAA,aAAa,GAAG,QAAQ,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/divvy/constants.ts"],"names":[],"mappings":";;;AAEA,6CAA4C;AAC5C,+BAAiC;AAEpB,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EACH,2EAA2E;IAC7E,WAAW,EAAE,WAAW;IACxB,OAAO,EAAE,wBAAwB;CAClC,CAAC;AAEW,QAAA,YAAY,GAAG,IAAI,mBAAS,CACvC,6CAA6C,CAC9C,CAAC;AACW,QAAA,OAAO,GAAG,8CAA8C,CAAC;AAEzD,QAAA,YAAY,GAAG;IAC1B,SAAS,EAAE,oBAAY,CAAC,QAAQ,EAAE;IAClC,GAAG,EAAE,cAAQ;IACb,OAAO,EAAE,QAAQ;CACP,CAAC;AAEA,QAAA,aAAa,GAAG,QAAQ,CAAC"}
@@ -5,7 +5,7 @@ exports.platformId = 'doubleup';
5
5
  exports.platform = {
6
6
  id: exports.platformId,
7
7
  name: 'DoubleUp',
8
- image: 'https://sonar.watch/img/platforms/doubleup.webp',
8
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/doubleup.webp',
9
9
  website: 'https://www.doubleup.fun/',
10
10
  twitter: 'https://x.com/doubleup_app',
11
11
  defiLlamaId: 'doubleup', // from https://defillama.com/docs/api
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/doubleup/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,iDAAiD;IACxD,OAAO,EAAE,2BAA2B;IACpC,OAAO,EAAE,4BAA4B;IACrC,WAAW,EAAE,UAAU,EAAE,sCAAsC;CAChE,CAAC;AAEW,QAAA,SAAS,GACpB,kFAAkF,CAAC;AACxE,QAAA,QAAQ,GACnB,oEAAoE,CAAC;AAC1D,QAAA,UAAU,GACrB,6FAA6F,CAAC;AACnF,QAAA,gBAAgB,GAAG,eAAe,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/doubleup/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EACH,8EAA8E;IAChF,OAAO,EAAE,2BAA2B;IACpC,OAAO,EAAE,4BAA4B;IACrC,WAAW,EAAE,UAAU,EAAE,sCAAsC;CAChE,CAAC;AAEW,QAAA,SAAS,GACpB,kFAAkF,CAAC;AACxE,QAAA,QAAQ,GACnB,oEAAoE,CAAC;AAC1D,QAAA,UAAU,GACrB,6FAA6F,CAAC;AACnF,QAAA,gBAAgB,GAAG,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"depositsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/drift/depositsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+DAA+E;AAC/E,gEAAqC;AACrC,6CAA4C;AAG5C,2CAKqB;AACrB,qCAKkB;AAClB,uCAMmB;AAEnB,+CAM4B;AAC5B,iDAAsD;AACtD,qDAGgC;AAChC,uDAAqE;AACrE,+CAAwD;AACxD,iEAA8D;AAC9D,+DAA4D;AAC5D,uEAAoE;AACpE,gFAA6E;AAC7E,kEAA+D;AA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W;IAC5B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"depositsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/drift/depositsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+DAA+E;AAC/E,gEAAqC;AACrC,6CAA4C;AAG5C,2CAKqB;AACrB,qCAKkB;AAClB,uCAMmB;AAEnB,+CAM4B;AAC5B,iDAAsD;AACtD,qDAGgC;AAChC,uDAAqE;AACrE,+CAAwD;AACxD,iEAA8D;AAC9D,+DAA4D;AAC5D,uEAAoE;AACpE,gFAA6E;AAC7E,kEAA+D;AAElD,QAAA,eAAe,GAAG,IAAI,6BAAa,CAC9C,0BAAc,EACd;IACE,MAAM,EAAE,sBAAU;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,CACF,CAAC;AAEF,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,eAAe,GAAG,IAAI,iCAAe,CAAC,0BAAS,CAAC,MAAM,EAAE,sBAAU,CAAC,CAAC;IAE1E,MAAM,gBAAgB,GAAG,MAAM,uBAAe,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC9D,MAAM,iBAAiB,GAAoC,IAAI,GAAG,EAAE,CAAC;IACrE,MAAM,mCAAmC,GAAgB,EAAE,CAAC;IAC5D,MAAM,oBAAoB,GAAgB,EAAE,CAAC;IAC7C,KAAK,MAAM,cAAc,IAAI,gBAAgB,IAAI,EAAE,EAAE,CAAC;QACpD,mCAAmC,CAAC,cAAc,CAAC,WAAW,CAAC;YAC7D,IAAA,mDAAyC,EACvC,wBAAY,EACZ,IAAI,mBAAS,CAAC,KAAK,CAAC,EACpB,cAAc,CAAC,WAAW,CAC3B,CAAC;QACJ,oBAAoB,CAA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,EAAE,gBAAgB,EAAE,OAAO,EAAE,UAAU,CAAC,MAAM,CAAC,QAAQ,EAAE,EAAE;qBAClE;iBACF,CAAC,CAAC;gBACH,OAAO,CAAC,gBAAgB,CAAC;oBACvB;wBACE,GAAG,EAAE,CAAC,UAAU,CAAC,SAAS;wBAC1B,GAAG,EAAE,CAAC,IAAA,yBAAQ,EAAC,UAAU,CAAC,SAAS,CAAC;qBACrC;iBACF,CAAC,CAAC;YACL,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5C,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,WAAW;IAC5B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,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,GAAG,CAAC,KAAK,CAAC,CAAC,MAAM;KACrB,CAAC;IAEF,MAAM,kBAAkB,GAAG,eAAE,CAAC,GAAG,CAC/B,eAAe,EACf,0BAA0B,CAC3B,CAAC;IACF,OAAO,kBAAkB,CAAC;AAC5B,CAAC;AA9BD,kFA8BC;AAED,SAAgB,gCAAgC,CAC9C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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,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,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AAK,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,CAAC;QACJ,CAAC;aAAM,CAAC;YACN,SAAS,GAAG,IAAA,yBAAmB,EAAC,MAAM,CAAC,GAAG,EAAE,eAAe,CAAC,CAAC;QAC/D,CAAC;IACH,CAAC;SAAM,CAAC;QACN,SAAS,GAAG,MAAM,CAAC,GAAG,CAAC;IACzB,CAAC;IAED,MAAM,C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AdD,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,SAAS,CAAC,SAAS,CAAC,KAAK,EACzB,SAAS,CAAC,QAAQ,EAClB,QAAQ,CACT,CAAC;IACF,IAAI,UAAU,EAAE,CAAC;QACf,KAAK,GAAG,kBAAkB,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;IAChD,CAAC;IAED,OAAO;QACL,KAAK;QACL,IAAI,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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"}