@sonarwatch/portfolio-plugins 0.14.127 → 0.14.128

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.14.128](https://github.com/sonarwatch/portfolio/compare/plugins-0.14.127...plugins-0.14.128) (2025-02-25)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **driftPlatforms:** add missing platforms export ([777adbe](https://github.com/sonarwatch/portfolio/commit/777adbecbe0ed6a51587acdec6715672bbcdb16a))
11
+ * **tokenList:** isLatestVersion-version-check ([f9e0c0b](https://github.com/sonarwatch/portfolio/commit/f9e0c0b8a716a3577abfc691eb7413fc4c72f2fa))
12
+
13
+
14
+
5
15
  ## [0.14.127](https://github.com/sonarwatch/portfolio/compare/plugins-0.14.126...plugins-0.14.127) (2025-02-24)
6
16
 
7
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonarwatch/portfolio-plugins",
3
- "version": "0.14.127",
3
+ "version": "0.14.128",
4
4
  "type": "commonjs",
5
5
  "types": "./src/index.d.ts",
6
6
  "peerDependencies": {
package/src/index.d.ts CHANGED
@@ -12,6 +12,7 @@ export * from './utils/name-service';
12
12
  export * from './utils/blank';
13
13
  export { getLlamaProtocolsJob } from './plugins/llama-protocols';
14
14
  export { jupFetcherIds } from './plugins/jupiter';
15
+ export { solanaSimpleFetcher } from './plugins/tokens';
15
16
  export declare const platforms: Platform[];
16
17
  export declare const jobs: Job[];
17
18
  export declare const fetchers: Fetcher[];
package/src/index.js CHANGED
@@ -17,7 +17,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
17
17
  return (mod && mod.__esModule) ? mod : { "default": mod };
18
18
  };
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
- exports.airdropFetchersByAddressSystem = exports.airdropFetchers = exports.fetchersByAddressSystem = exports.fetchers = exports.jobs = exports.platforms = exports.jupFetcherIds = exports.getLlamaProtocolsJob = exports.getFetchersByAddressSystem = exports.walletNftsPlatform = exports.walletTokensPlatform = void 0;
20
+ exports.airdropFetchersByAddressSystem = exports.airdropFetchers = exports.fetchersByAddressSystem = exports.fetchers = exports.jobs = exports.platforms = exports.solanaSimpleFetcher = exports.jupFetcherIds = exports.getLlamaProtocolsJob = exports.getFetchersByAddressSystem = exports.walletNftsPlatform = exports.walletTokensPlatform = void 0;
21
21
  const getFetchersByAddressSystem_1 = require("./utils/misc/getFetchersByAddressSystem");
22
22
  const orphanPlatforms_1 = __importDefault(require("./orphanPlatforms"));
23
23
  const tokens_1 = require("./plugins/tokens");
@@ -190,6 +190,8 @@ var llama_protocols_1 = require("./plugins/llama-protocols");
190
190
  Object.defineProperty(exports, "getLlamaProtocolsJob", { enumerable: true, get: function () { return llama_protocols_1.getLlamaProtocolsJob; } });
191
191
  var jupiter_2 = require("./plugins/jupiter");
192
192
  Object.defineProperty(exports, "jupFetcherIds", { enumerable: true, get: function () { return jupiter_2.jupFetcherIds; } });
193
+ var tokens_2 = require("./plugins/tokens");
194
+ Object.defineProperty(exports, "solanaSimpleFetcher", { enumerable: true, get: function () { return tokens_2.solanaSimpleFetcher; } });
193
195
  // PLATFORMS //
194
196
  exports.platforms = [
195
197
  ...orphanPlatforms_1.default,
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/plugins/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAIA,wFAAqF;AACrF,wEAAgD;AAChD,6CAI0B;AAC1B,yDAIgC;AAChC,uDAAgE;AAChE,iDAG4B;AAC5B,iDAI4B;AAC5B,2CAGyB;AACzB,yCAIwB;AACxB,+CAI2B;AAC3B,yCAIwB;AACxB,+CAI2B;AAC3B,2CAIyB;AACzB,6CAI0B;AAC1B,2CAIyB;AACzB,6CAI0B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AAG,gBAAa;IAChB,GAAG,gBAAa;CACjB,CAAC;AACW,QAAA,uBAAuB,GAAG,IAAA,uDAA0B,EAAC,gBAAQ,CAAC,CAAC;AAE/D,QAAA,eAAe,GAAqB;IAC/C,GAAG,yBAAsB;IACzB,GAAG,wBAAqB;IACxB,GAAG,yBAAsB;IACzB,sBAAmB;IACnB,sBAAmB;IACnB,yBAAsB;IACtB,sBAAmB;IACnB,GAAG,0BAAuB;IAC1B,wBAAqB;IACrB,wBAAqB;IACrB,sBAAmB;IACnB,GAAG,4BAAyB;IAC5B,0BAAuB;IACvB,+BAA+B;IAC/B,qBAAkB;IAClB,GAAG,8BAAqB;IACxB,sBAAmB;CACpB,CAAC;AACW,QAAA,8BAA8B,GACzC,IAAA,uDAA0B,EAAC,uBAAe,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/plugins/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAIA,wFAAqF;AACrF,wEAAgD;AAChD,6CAI0B;AAC1B,yDAIgC;AAChC,uDAAgE;AAChE,iDAG4B;AAC5B,iDAI4B;AAC5B,2CAGyB;AACzB,yCAIwB;AACxB,+CAI2B;AAC3B,yCAIwB;AACxB,+CAI2B;AAC3B,2CAIyB;AACzB,6CAI0B;AAC1B,2CAIyB;AACzB,6CAI0B;AAC1B,6CAI0B;AAC1B,yCAIwB;AACxB,2DAGiC;AACjC,6CAI0B;AAC1B,2CAKyB;AACzB,2CAIyB;AACzB,qDAA6D;AAC7D,qEAIsC;AACtC,uDAI+B;AAC/B,mDAI6B;AAC7B,qDAG8B;AAC9B,uDAG+B;AAC/B,2CAIyB;AACzB,6CAK0B;AAC1B,6CAI0B;AAC1B,yCAIwB;AACxB,+CAI2B;AAC3B,uDAG+B;AAC/B,yCAGwB;AACxB,2CAIyB;AACzB,iDAI4B;AAC5B,iDAI4B;AAC5B,6CAI0B;AAC1B,+CAI2B;AAC3B,qDAG8B;AAC9B,iDAI4B;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uB;IACvB,+BAA+B;IAC/B,qBAAkB;IAClB,GAAG,8BAAqB;IACxB,sBAAmB;CACpB,CAAC;AACW,QAAA,8BAA8B,GACzC,IAAA,uDAA0B,EAAC,uBAAe,CAAC,CAAC"}
@@ -9,10 +9,13 @@ const depositsFetcher_1 = __importDefault(require("./depositsFetcher"));
9
9
  const vaultsJob_1 = __importDefault(require("./vaultsJob"));
10
10
  exports.platforms = [
11
11
  constants_1.circuitPlatform,
12
- constants_1.moosePlatform,
13
- constants_1.neutralPlatform,
14
12
  constants_1.gauntletPlatform,
15
13
  constants_1.hedgyPlatform,
14
+ constants_1.knightradePlatform,
15
+ constants_1.luckyperpPlatform,
16
+ constants_1.m1CapitalPlatform,
17
+ constants_1.moosePlatform,
18
+ constants_1.neutralPlatform,
16
19
  constants_1.vectisPlatform,
17
20
  ];
18
21
  exports.jobs = [vaultsJob_1.default];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/drift-market-maker-vault/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAOqB;AACrB,wEAAgD;AAChD,4DAAoC;AAEvB,QAAA,SAAS,GAAe;IACnC,2BAAe;IACf,yBAAa;IACb,2BAAe;IACf,4BAAgB;IAChB,yBAAa;IACb,0BAAc;CACf,CAAC;AACW,QAAA,IAAI,GAAU,CAAC,mBAAS,CAAC,CAAC;AAC1B,QAAA,QAAQ,GAAc,CAAC,yBAAe,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/drift-market-maker-vault/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAUqB;AACrB,wEAAgD;AAChD,4DAAoC;AAEvB,QAAA,SAAS,GAAe;IACnC,2BAAe;IACf,4BAAgB;IAChB,yBAAa;IACb,8BAAkB;IAClB,6BAAiB;IACjB,6BAAiB;IACjB,yBAAa;IACb,2BAAe;IACf,0BAAc;CACf,CAAC;AACW,QAAA,IAAI,GAAU,CAAC,mBAAS,CAAC,CAAC;AAC1B,QAAA,QAAQ,GAAc,CAAC,yBAAe,CAAC,CAAC"}
@@ -41,6 +41,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
41
41
  const element = elementRegistry.addElementTrade({
42
42
  label: 'LimitOrder',
43
43
  ref: account.pubkey,
44
+ name: 'Swap Tips',
44
45
  });
45
46
  element.setTrade({
46
47
  inputAsset: {
@@ -1 +1 @@
1
- {"version":3,"file":"ordersFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/kamino/ordersFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAA4E;AAG5E,2CAA8D;AAC9D,iDAAsD;AACtD,+CAA8D;AAC9D,gFAA6E;AAC7E,2CAA8C;AAE9C,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,QAAQ,GAAG,MAAM,IAAA,iCAAwB,EAC7C,MAAM,EACN,mBAAW,EACX,+BAAmB,EACnB;QACE;YACE,MAAM,EAAE;gBACN,MAAM,EAAE,CAAC;gBACT,KAAK,EAAE,aAAa;aACrB;SACF;QACD;YACE,MAAM,EAAE;gBACN,MAAM,EAAE,EAAE;gBACV,KAAK,EAAE,KAAK;aACb;SACF;QACD;YACE,QAAQ,EAAE,GAAG;SACd;KACF,CACF,CAAC;IACF,IAAI,CAAC,QAAQ;QAAE,OAAO,EAAE,CAAC;IAEzB,MAAM,eAAe,GAAG,IAAI,iCAAe,CAAC,0BAAS,CAAC,MAAM,EAAE,sBAAU,CAAC,CAAC;IAE1E,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QAC3B,MAAM,OAAO,GAAG,eAAe,CAAC,eAAe,CAAC;YAC9C,KAAK,EAAE,YAAY;YACnB,GAAG,EAAE,OAAO,CAAC,MAAM;SACpB,CAAC,CAAC;QAEH,OAAO,CAAC,QAAQ,CAAC;YACf,UAAU,EAAE;gBACV,OAAO,EAAE,OAAO,CAAC,SAAS;gBAC1B,MAAM,EAAE,OAAO,CAAC,oBAAoB;aACrC;YACD,WAAW,EAAE;gBACX,OAAO,EAAE,OAAO,CAAC,UAAU;gBAC3B,MAAM,EAAE,OAAO,CAAC,kBAAkB;aACnC;YACD,kBAAkB,EAAE,OAAO,CAAC,kBAAkB;YAC9C,oBAAoB,EAAE,OAAO,CAAC,oBAAoB;YAClD,qBAAqB,EAAE,CAAC;SACzB,CAAC,CAAC;QAEH,IAAI,OAAO,CAAC,SAAS,CAAC,UAAU,EAAE,EAAE,CAAC;YACnC,MAAM,UAAU,GAAG,eAAe,CAAC,kBAAkB,CAAC;gBACpD,KAAK,EAAE,SAAS;gBAChB,GAAG,EAAE,OAAO,CAAC,MAAM;gBACnB,IAAI,EAAE,kCAAkC;aACzC,CAAC,CAAC;YACH,UAAU,CAAC,QAAQ,CAAC;gBAClB,OAAO,EAAE,oCAAmB;gBAC5B,MAAM,EAAE,OAAO,CAAC,SAAS;aAC1B,CAAC,CAAC;QACL,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5C,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,SAAS;IAC1B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"ordersFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/kamino/ordersFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAA4E;AAG5E,2CAA8D;AAC9D,iDAAsD;AACtD,+CAA8D;AAC9D,gFAA6E;AAC7E,2CAA8C;AAE9C,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,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E,kCAAkC;aACzC,CAAC,CAAC;YACH,UAAU,CAAC,QAAQ,CAAC;gBAClB,OAAO,EAAE,oCAAmB;gBAC5B,MAAM,EAAE,OAAO,CAAC,SAAS;aAC1B,CAAC,CAAC;QACL,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5C,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,SAAS;IAC1B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -30,7 +30,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
30
30
  return [];
31
31
  const vaults = yield earnVaultsMemo.getItem(cache);
32
32
  if (!vaults.length)
33
- return [];
33
+ throw new Error('Vaults not cached');
34
34
  const elementRegistry = new ElementRegistry_1.ElementRegistry(portfolio_core_1.NetworkId.solana, constants_1.platformId);
35
35
  accounts.forEach((acc) => {
36
36
  const vault = vaults.find((v) => v.pubkey.toString() === acc.protocol.toString());
@@ -1 +1 @@
1
- {"version":3,"file":"earnFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/pluto/earnFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAAiE;AACjE,gEAAqC;AAErC,2CAAwD;AACxD,iDAAsD;AAEtD,qCAAsC;AACtC,gFAA6E;AAC7E,kEAA+D;AAI/D,MAAM,cAAc,GAAG,IAAI,6BAAa,CACtC,yBAAa,EACb;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,QAAQ,GAAG,MAAM,IAAA,mBAAU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,CAAC,6BAA6B;QAE/F,OAAO,CAAC,gBAAgB,CAAC;YACvB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,QAAQ,EAAE;YACnC,MAAM,EAAE,QAAQ,CAAC,YAAY,CAAC,SAAS,CAAC;YACxC,cAAc,EAAE,IAAI;SACrB,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,OAAO,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5C,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,OAAO;IACxB,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -8,8 +8,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
9
9
  });
10
10
  };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
11
14
  Object.defineProperty(exports, "__esModule", { value: true });
12
15
  const portfolio_core_1 = require("@sonarwatch/portfolio-core");
16
+ const bignumber_js_1 = __importDefault(require("bignumber.js"));
13
17
  const constants_1 = require("./constants");
14
18
  const clients_1 = require("../../utils/clients");
15
19
  const helper_1 = require("./helper");
@@ -30,7 +34,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
30
34
  return [];
31
35
  const vaults = yield leverageVaultsMemo.getItem(cache);
32
36
  if (!vaults.length)
33
- return [];
37
+ throw new Error('Vaults not cached');
34
38
  // used only for vault name, non necessary
35
39
  const vaultsApi = yield leverageVaultsApiMemo.getItem(cache);
36
40
  const elementRegistry = new ElementRegistry_1.ElementRegistry(portfolio_core_1.NetworkId.solana, constants_1.platformId);
@@ -39,43 +43,50 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
39
43
  if (!vault)
40
44
  return;
41
45
  const vaultFromApi = vaultsApi.find((v) => v.leverageVault === vault.pubkey.toString());
42
- const element = elementRegistry.addElementBorrowlend({
43
- name: `Leverage ${vaultFromApi ? vaultFromApi.leverageName.replace('-', '/') : ''}`,
44
- label: 'Leverage',
45
- ref: acc.pubkey,
46
- sourceRefs: [
47
- {
48
- name: 'Vault',
49
- address: vault.pubkey.toString(),
50
- },
51
- ],
52
- link: 'https://app.pluto.so/leverage',
53
- });
54
- for (const position of acc.positions) {
55
- if (position.unit.toString() === '0') {
56
- continue;
46
+ acc.positions.forEach((position) => {
47
+ if (position.unit.isZero()) {
48
+ return;
57
49
  }
58
- const amount = position.token_collateral_amount
59
- .shiftedBy(-vault.tokenCollateralTokenDecimal)
50
+ const amount = position.unit
51
+ .shiftedBy(-8)
52
+ .multipliedBy(new bignumber_js_1.default(vault.index).shiftedBy(-12));
53
+ const apy = new bignumber_js_1.default(vault.apy.ema7d).shiftedBy(-5).toNumber();
54
+ const borrowingUnit = position.borrowing_unit.shiftedBy(-8);
55
+ const borrowingIndex = new bignumber_js_1.default(vault.borrowingIndex).shiftedBy(-12);
56
+ const borrowingAmount = borrowingUnit.multipliedBy(borrowingIndex);
57
+ const borrowingApy = new bignumber_js_1.default(vault.borrowingApy.ema7d)
58
+ .shiftedBy(-5)
60
59
  .toNumber();
60
+ const tokenCollateralAmount = position.token_collateral_amount.shiftedBy(-vault.tokenCollateralTokenDecimal);
61
+ const tokenCollateralPrice = position.token_collateral_price.shiftedBy(-position.token_collateral_price_exponent);
62
+ const borrowAmount = borrowingUnit.multipliedBy(position.avg_borrowing_index.shiftedBy(-12));
63
+ const borrowUSD = borrowAmount.multipliedBy(tokenCollateralPrice);
64
+ const openLV = borrowUSD.dividedBy(tokenCollateralAmount).plus(1);
65
+ const element = elementRegistry.addElementBorrowlend({
66
+ name: `Leverage ${vaultFromApi ? vaultFromApi.leverageName.replace('-', '/') : ''} ${parseFloat(openLV.toFixed(2))}x`,
67
+ label: 'Leverage',
68
+ ref: acc.pubkey,
69
+ sourceRefs: [
70
+ {
71
+ name: 'Vault',
72
+ address: vault.pubkey.toString(),
73
+ },
74
+ ],
75
+ link: 'https://app.pluto.so/leverage',
76
+ });
61
77
  element.addSuppliedAsset({
62
- address: vault.tokenCollateralTokenMint.toString(),
78
+ address: vault.nativeCollateralTokenMint,
63
79
  amount,
64
80
  alreadyShifted: true,
65
81
  });
66
- const apy = Number(vault.apy.ema7d / 1e5);
67
82
  element.addSuppliedYield([
68
83
  {
69
84
  apy,
70
85
  apr: (0, portfolio_core_1.apyToApr)(apy),
71
86
  },
72
87
  ]);
73
- const borrowingUnit = position.borrowing_unit.toNumber() / 1e8;
74
- const borrowingIndex = vault.borrowingIndex / 1e12;
75
- const borrowingAmount = borrowingUnit * borrowingIndex;
76
- const borrowingApy = Number(vault.borrowingApy.ema7d / 1e5);
77
88
  element.addBorrowedAsset({
78
- address: vault.tokenCollateralTokenMint.toString(),
89
+ address: vault.tokenCollateralTokenMint,
79
90
  amount: borrowingAmount,
80
91
  alreadyShifted: true,
81
92
  });
@@ -85,7 +96,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
85
96
  apr: (0, portfolio_core_1.apyToApr)(borrowingApy),
86
97
  },
87
98
  ]);
88
- }
99
+ });
89
100
  });
90
101
  return elementRegistry.getElements(cache);
91
102
  });
@@ -1 +1 @@
1
- {"version":3,"file":"leverageFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/pluto/leverageFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAiE;AAEjE,2CAIqB;AACrB,iDAAsD;AAEtD,qCAAkD;AAClD,kEAA+D;AAG/D,gFAA6E;AAG7E,MAAM,kBAAkB,GAAG,IAAI,6BAAa,CAC1C,6BAAiB,EACjB;IACE,MAAM,EAAE,sBAAU;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,CACF,CAAC;AAEF,MAAM,qBAAqB,GAAG,IAAI,6BAAa,CAC7C,gCAAoB,EACp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K,CAAC,wBAAwB,CAAC,QAAQ,EAAE;gBAClD,MAAM,EAAE,eAAe;gBACvB,cAAc,EAAE,IAAI;aACrB,CAAC,CAAC;YAEH,OAAO,CAAC,gBAAgB,CAAC;gBACvB;oBACE,GAAG,EAAE,YAAY;oBACjB,GAAG,EAAE,IAAA,yBAAQ,EAAC,YAAY,CAAC;iBAC5B;aACF,CAAC,CAAC;QACL,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,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"}
1
+ {"version":3,"file":"leverageFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/pluto/leverageFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAAiE;AACjE,gEAAqC;AAErC,2CAIqB;AACrB,iDAAsD;AAEtD,qCAAkD;AAClD,kEAA+D;AAG/D,gFAA6E;AAG7E,MAAM,kBAAkB,GAAG,IAAI,6BAAa,CAC1C,6BAAiB,EACjB;IACE,MAAM,EAAE,sBAAU;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,CACF,CAAC;AAEF,MAAM,qBAAqB,GAAG,IAAI,6BAAa,CAC7C,gCAAoB,EACpB;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,QAAQ,GAAG,MAAM,IAAA,+BAAsB,EAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IAC7D,IAAI,CAAC,QAAQ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ACjB,GAAG,EAAE,GAAG,CAAC,MAAM;gBACf,UAAU,EAAE;oBACV;wBACE,IAAI,EAAE,OAAO;wBACb,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,QAAQ,EAAE;qBACjC;iBACF;gBACD,IAAI,EAAE,+BAA+B;aACtC,CAAC,CAAC;YAEH,OAAO,CAAC,gBAAgB,CAAC;gBACvB,OAAO,EAAE,KAAK,CAAC,yBAAyB;gBACxC,MAAM;gBACN,cAAc,EAAE,IAAI;aACrB,CAAC,CAAC;YAEH,OAAO,CAAC,gBAAgB,CAAC;gBACvB;oBACE,GAAG;oBACH,GAAG,EAAE,IAAA,yBAAQ,EAAC,GAAG,CAAC;iBACnB;aACF,CAAC,CAAC;YAEH,OAAO,CAAC,gBAAgB,CAAC;gBACvB,OAAO,EAAE,KAAK,CAAC,wBAAwB;gBACvC,MAAM,EAAE,eAAe;gBACvB,cAAc,EAAE,IAAI;aACrB,CAAC,CAAC;YAEH,OAAO,CAAC,gBAAgB,CAAC;gBACvB;oBACE,GAAG,EAAE,YAAY;oBACjB,GAAG,EAAE,IAAA,yBAAQ,EAAC,YAAY,CAAC;iBAC5B;aACF,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,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"}
@@ -19,8 +19,6 @@ interface Rate {
19
19
  ema90d: number;
20
20
  ema180d: number;
21
21
  ema365d: number;
22
- align2: number[];
23
- padding1: number[];
24
22
  }
25
23
  export declare const vaultEarnBeet: BeetStruct<VaultEarn, Partial<VaultEarn>>;
26
24
  export interface VaultEarn {
@@ -19,8 +19,6 @@ const rateBeet = new beet_1.BeetStruct([
19
19
  ['ema90d', beet_1.u32],
20
20
  ['ema180d', beet_1.u32],
21
21
  ['ema365d', beet_1.u32],
22
- ['align2', (0, beet_1.uniformFixedSizeArray)(beet_1.u8, 4)],
23
- ['padding1', (0, beet_1.uniformFixedSizeArray)(beet_1.u32, 10)], // array of 64 u64, 64 * 8 = 512 bytes
24
22
  ], (args) => args);
25
23
  // Define the VaultEarn struct using BeetStruct
26
24
  exports.vaultEarnBeet = new beet_1.BeetStruct([
@@ -1 +1 @@
1
- {"version":3,"file":"structs.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/pluto/structs.ts"],"names":[],"mappings":";;;AAAA,oDAOmC;AACnC,kEAA6D;AAG7D,+CAAoD,CAAC,mCAAmC;AAExF,MAAM,QAAQ,GAAG,IAAI,iBAAU,CAC7B;IACE,CAAC,aAAa,EAAE,YAAG,CAAC;IACpB,CAAC,WAAW,EAAE,UAAG,CAAC;IAClB,CAAC,QAAQ,EAAE,IAAA,4BAAqB,EAAC,SAAE,EAAE,CAAC,CAAC,CAAC;IACxC,CAAC,oBAAoB,EAAE,YAAG,CAAC;IAC3B,CAAC,WAAW,EAAE,UAAG,CAAC;IAClB,CAAC,QAAQ,EAAE,IAAA,4BAAqB,EAAC,SAAE,EAAE,CAAC,CAAC,CAAC;IACxC,CAAC,mBAAmB,EAAE,YAAG,CAAC;IAC1B,CAAC,OAAO,EAAE,UAAG,CAAC;IACd,CAAC,OAAO,EAAE,UAAG,CAAC;IACd,CAAC,QAAQ,EAAE,UAAG,CAAC;IACf,CAAC,QAAQ,EAAE,UAAG,CAAC;IACf,CAAC,QAAQ,EAAE,UAAG,CAAC;IACf,CAAC,SAAS,EAAE,UAAG,CAAC;IAChB,CAAC,SAAS,EAAE,UAAG,CAAC;IAChB,CAAC,QAAQ,EAAE,IAAA,4BAAqB,EAAC,SAAE,EAAE,CAAC,CAAC,CAAC;IACxC,CAAC,UAAU,EAAE,IAAA,4BAAqB,EAAC,UAAG,EAAE,EAAE,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,EAAC,YAAG,EAAE,EAAE,CAAC,CAAC,EAAE,sCAAsC;CACrF,EACD,CAAC,IAAI,EAAE,EAAE,CAAC,IAAwB,CACnC,CAAC;AAqCW,QAAA,sBAAsB,GAAG,IAAI,iBAAU,CAClD;IACE,CAAC,eAAe,EAAE,IAAA,4BAAqB,EAAC,SAAE,EAAE,CAAC,CAAC,CAAC;IAC/C,CAAC,gBAAgB,EAAE,WAAI,CAAC,EAAE,iBAAiB;IAC3C,CAAC,SAAS,EAAE,SAAE,CAAC,EAAE,eAAe;IAChC,CAAC,MAAM,EAAE,SAAE,CAAC,EAAE,eAAe;IAC7B,CAAC,OAAO,EAAE,IAAA,4BAAqB,EAAC,SAAE,EAAE,CAAC,CAAC,CAAC,EAAE,yBAAyB;IAClE,CAAC,OAAO,EAAE,uBAAS,CAAC,EAAE,wBAAwB;IAC9C,CAAC,UAAU,EAAE,uBAAS,CAAC,EAAE,wBAAwB;IACjD,CAAC,OAAO,EAAE,uBAAS,CAAC,EAAE,wBAAwB;IAC9C,CAAC,cAAc,EAAE,uBAAS,CAAC,EAAE,wBAAwB;IACrD,CAAC,cAAc,EAAE,YAAG,CAAC,EAAE,iBAAiB;IACxC,CAAC,WAAW,EAAE,IAAA,4BAAqB,EAAC,4BAAoB,EAAE,CAAC,CAAC,CAAC;IAC7D,CAAC,UAAU,EAAE,IAAA,4BAAqB,EAAC,YAAG,EAAE,EAAE,CAAC,CAAC,EAAE,sCAAsC;CACrF,EACD,CAAC,IAAI,EAAE,EAAE,CAAC,IAA0B,CACrC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Fetcher } from '../../../Fetcher';
2
+ declare const fetcher: Fetcher;
3
+ export default fetcher;
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ const portfolio_core_1 = require("@sonarwatch/portfolio-core");
16
+ const web3_js_1 = require("@solana/web3.js");
17
+ const constants_1 = require("../constants");
18
+ const clients_1 = require("../../../utils/clients");
19
+ const solana_1 = require("../../../utils/solana");
20
+ const tokenPriceToAssetToken_1 = __importDefault(require("../../../utils/misc/tokenPriceToAssetToken"));
21
+ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* () {
22
+ const client = yield (0, clients_1.getClientSolana)();
23
+ const promises = [
24
+ client.getParsedTokenAccountsByOwner(new web3_js_1.PublicKey(owner), {
25
+ programId: solana_1.solanaTokenPidPk,
26
+ }),
27
+ client.getParsedTokenAccountsByOwner(new web3_js_1.PublicKey(owner), {
28
+ programId: solana_1.solanaToken2022PidPk,
29
+ }),
30
+ ];
31
+ const res = yield Promise.all(promises);
32
+ const accounts = [...res[0].value, ...res[1].value].filter((acc) => acc.account.data.parsed.info.tokenAmount.decimals !== 0 &&
33
+ acc.account.data.parsed.info.tokenAmount.uiAmount !== 0);
34
+ const tokenPrices = yield cache.getTokenPricesAsMap(accounts.map((a) => a.account.data.parsed.info.mint), portfolio_core_1.NetworkId.solana);
35
+ const tokenAssets = [];
36
+ accounts.forEach((acc) => {
37
+ const { mint, tokenAmount } = acc.account.data.parsed.info;
38
+ const { uiAmount: amount, decimals } = tokenAmount;
39
+ if (decimals === 0)
40
+ return;
41
+ const tokenPrice = tokenPrices.get(mint);
42
+ if (tokenPrice && tokenPrice.platformId !== constants_1.walletTokensPlatform.id)
43
+ return;
44
+ tokenAssets.push(Object.assign(Object.assign({}, (0, tokenPriceToAssetToken_1.default)(mint, amount, portfolio_core_1.NetworkId.solana, tokenPrice)), { ref: acc.pubkey.toString(), link: tokenPrice === null || tokenPrice === void 0 ? void 0 : tokenPrice.link, sourceRefs: tokenPrice === null || tokenPrice === void 0 ? void 0 : tokenPrice.sourceRefs }));
45
+ });
46
+ if (tokenAssets.length === 0)
47
+ return [];
48
+ const element = {
49
+ type: portfolio_core_1.PortfolioElementType.multiple,
50
+ networkId: portfolio_core_1.NetworkId.solana,
51
+ platformId: constants_1.walletTokensPlatform.id,
52
+ label: 'Wallet',
53
+ value: (0, portfolio_core_1.getUsdValueSum)(tokenAssets.map((a) => a.value)),
54
+ data: {
55
+ assets: tokenAssets,
56
+ },
57
+ };
58
+ return [element];
59
+ });
60
+ const fetcher = {
61
+ id: `${constants_1.walletTokensPlatform.id}-solana-simple`,
62
+ networkId: portfolio_core_1.NetworkId.solana,
63
+ executor,
64
+ };
65
+ exports.default = fetcher;
66
+ //# sourceMappingURL=solana-simple.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"solana-simple.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/solana-simple.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAMoC;AAEpC,6CAA4C;AAG5C,4CAAoD;AACpD,oDAAyD;AACzD,kDAA+E;AAC/E,wGAAgF;AAEhF,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,MAAM,IAAA,yBAAe,GAAE,CAAC;IAEvC,MAAM,QAAQ,GAAG;QACf,MAAM,CAAC,6BAA6B,CAAC,IAAI,mBAAS,CAAC,KAAK,CAAC,EAAE;YACzD,SAAS,EAAE,yBAAgB;SAC5B,CAAC;QACF,MAAM,CAAC,6BAA6B,CAAC,IAAI,mBAAS,CAAC,KAAK,CAAC,EAAE;YACzD,SAAS,EAAE,6B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,MAAM,EAAE,0BAAS,CAAC,MAAM,EAAE,UAAU,CAAC,KACrE,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC,QAAQ,EAAE,EAC1B,IAAI,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,IAAI,EACtB,UAAU,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,UAAU,IAClC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAExC,MAAM,OAAO,GAA6B;QACxC,IAAI,EAAE,qCAAoB,CAAC,QAAQ;QACnC,SAAS,EAAE,0BAAS,CAAC,MAAM;QAC3B,UAAU,EAAE,gCAAoB,CAAC,EAAE;QACnC,KAAK,EAAE,QAAQ;QACf,KAAK,EAAE,IAAA,+BAAc,EAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;QACtD,IAAI,EAAE;YACJ,MAAM,EAAE,WAAW;SACpB;KACF,CAAC;IACF,OAAO,CAAC,OAAO,CAAC,CAAC;AACnB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,gCAAoB,CAAC,EAAE,gBAAgB;IAC9C,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -29,7 +29,7 @@ function getTokenListsJob(networkId) {
29
29
  prefix: constants_1.tokenListsPrefix,
30
30
  });
31
31
  if (cachedTokenList &&
32
- !(0, helpers_1.isLatestVersion)(cachedTokenList.version, tokenList.data.version)) {
32
+ !(0, helpers_1.isLatestVersion)(tokenList.data.version, cachedTokenList.version)) {
33
33
  return;
34
34
  }
35
35
  // for (let i = 0; i < tokenList.data.tokens.length; i++) {
@@ -1 +1 @@
1
- {"version":3,"file":"getTokenListsJob.js","sourceRoot":"","sources":["../../../../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CAAC;IACF,OAAO,GAAG,CAAC;AACb,CAAC;AACD,kBAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"getTokenListsJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tokens/getTokenListsJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAIoC;AACpC,kDAA6C;AAG7C,2CAA+C;AAC/C,uCAA4C;AAE5C,MAAM,GAAG,GAAG,IAAI,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,SAAS;AAE9C,SAAS,gBAAgB,CAAC,SAAwB;IAChD,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;QACnD,MAAM,OAAO,GAAG,yBAAQ,CAAC,SAAS,CAAC,CAAC;QACpC,MAAM,SAAS,GAAuC,MAAM,eAAK;aAC9D,GAAG,CAAC,OAAO,CAAC,YAAY,CAAC;aACzB,KAAK,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC;QACrB,IAAI,CAAC,SAAS;YAAE,OAAO;QACvB,MAAM,eAAe,GAAG,MAAM,KAAK,CAAC,OAAO,CAAe,SAAS,EAAE;YACnE,MAAM,EAAE,4BAAgB;SACzB,CAAC,CAAC;QAEH,IACE,eAAe;YACf,CAAC,IAAA,yBAAe,EAAC,SAAS,CAAC,IAAI,CAAC,OAAO,EAAE,eAAe,CAAC,OAAO,CAAC,EACjE,CAAC;YACD,OAAO;QACT,CAAC;QAED,2DAA2D;QAC3D,4CAA4C;QAC5C,kEAAkE;QAClE,qBAAqB;QACrB,gBAAgB;QAChB,eAAe;QACf,OAAO;QACP,2CAA2C;QAC3C,uCAAuC;QACvC,iBAAiB;QACjB,WAAW;QACX,QAAQ;QACR,IAAI;QACJ,MAAM,KAAK,CAAC,OAAO,CAAC,SAAS,EAAE,SAAS,CAAC,IAAI,EAAE;YAC7C,MAAM,EAAE,4BAAgB;YACxB,GAAG;SACJ,CAAC,CAAC;IACL,CAAC,CAAA,CAAC;IACF,MAAM,GAAG,GAAQ;QACf,EAAE,EAAE,eAAe,SAAS,EAAE;QAC9B,QAAQ;QACR,MAAM,EAAE,CAAC,QAAQ,CAAC;KACnB,CAAC;IACF,OAAO,GAAG,CAAC;AACb,CAAC;AACD,kBAAe,gBAAgB,CAAC"}
@@ -1,6 +1,8 @@
1
1
  import { Platform } from '@sonarwatch/portfolio-core';
2
2
  import { Job } from '../../Job';
3
3
  import { Fetcher } from '../../Fetcher';
4
+ import solanaSimpleFetcher from './fetchers/solana-simple';
4
5
  export declare const platforms: Platform[];
5
6
  export declare const jobs: Job[];
6
7
  export declare const fetchers: Fetcher[];
8
+ export { solanaSimpleFetcher };
@@ -3,7 +3,7 @@ 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.fetchers = exports.jobs = exports.platforms = void 0;
6
+ exports.solanaSimpleFetcher = exports.fetchers = exports.jobs = exports.platforms = void 0;
7
7
  const portfolio_core_1 = require("@sonarwatch/portfolio-core");
8
8
  const constants_1 = require("./constants");
9
9
  const jobGenerator_1 = __importDefault(require("./jobGenerator"));
@@ -17,6 +17,8 @@ const solana_native_1 = __importDefault(require("./fetchers/solana-native"));
17
17
  const solana_nfts_underlyings_1 = __importDefault(require("./fetchers/solana-nfts-underlyings"));
18
18
  const evms_1 = require("./fetchers/evms");
19
19
  const getTokenListsJob_1 = __importDefault(require("./getTokenListsJob"));
20
+ const solana_simple_1 = __importDefault(require("./fetchers/solana-simple"));
21
+ exports.solanaSimpleFetcher = solana_simple_1.default;
20
22
  exports.platforms = [constants_1.walletTokensPlatform, constants_1.walletNftsPlatform];
21
23
  exports.jobs = [
22
24
  (0, jobGenerator_1.default)(portfolio_core_1.NetworkId.bitcoin),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tokens/index.ts"],"names":[],"mappings":";;;;;;AAAA,+DAIoC;AAKpC,2CAAuE;AACvE,kEAA0C;AAC1C,6DAA4C;AAC5C,yDAAwC;AACxC,mEAAiD;AACjD,yDAAwC;AACxC,iEAAgD;AAChD,+DAA8C;AAC9C,6EAA2D;AAC3D,iGAA8E;AAC9E,0CAA0D;AAC1D,0EAAkD;AAErC,QAAA,SAAS,GAAe,CAAC,gCAAoB,EAAE,8BAAkB,CAAC,CAAC;AACnE,QAAA,IAAI,GAAU;IACzB,IAAA,sBAAY,EAAC,0BAAS,CAAC,OAAO,CAAC;IAC/B,IAAA,sBAAY,EAAC,0BAAS,CAAC,KAAK,CAAC;IAC7B,IAAA,sBAAY,EAAC,0BAAS,CAAC,MAAM,CAAC;IAC9B,IAAA,sBAAY,EAAC,0BAAS,CAAC,QAAQ,CAAC;IAChC,IAAA,sBAAY,EAAC,0BAAS,CAAC,SAAS,CAAC;IACjC,IAAA,sBAAY,EAAC,0BAAS,CAAC,OAAO,CAAC;IAC/B,IAAA,sBAAY,EAAC,0BAAS,CAAC,GAAG,CAAC;IAC3B,IAAA,sBAAY,EAAC,0BAAS,CAAC,GAAG,CAAC;IAC3B,IAAA,sBAAY,EAAC,0BAAS,CAAC,GAAG,CAAC;IAC3B,GAAG,gCAAe,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,IAAA,0BAAgB,EAAC,OAAO,CAAC,EAAE,CAAC,CAAC;CAClE,CAAC;AAEW,QAAA,QAAQ,GAAc;IACjC,eAAY;IACZ,gBAAa;IACb,uBAAmB;IACnB,iCAA4B;IAC5B,aAAU;IACV,kBAAc;IACd,aAAU;IACV,iBAAc;IACd,GAAG,eAAW;CACf,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tokens/index.ts"],"names":[],"mappings":";;;;;;AAAA,+DAIoC;AAKpC,2CAAuE;AACvE,kEAA0C;AAC1C,6DAA4C;AAC5C,yDAAwC;AACxC,mEAAiD;AACj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