@sonarwatch/portfolio-plugins 0.14.65 → 0.14.67

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 (61) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/package.json +1 -1
  3. package/src/index.js +2 -0
  4. package/src/index.js.map +1 -1
  5. package/src/plugins/magiceden/airdropFetcher.d.ts +3 -0
  6. package/src/plugins/magiceden/airdropFetcher.js +67 -0
  7. package/src/plugins/magiceden/airdropFetcher.js.map +1 -0
  8. package/src/plugins/magiceden/constants.d.ts +3 -0
  9. package/src/plugins/magiceden/constants.js +11 -1
  10. package/src/plugins/magiceden/constants.js.map +1 -1
  11. package/src/plugins/magiceden/index.d.ts +2 -0
  12. package/src/plugins/magiceden/index.js +3 -1
  13. package/src/plugins/magiceden/index.js.map +1 -1
  14. package/src/plugins/magiceden/types.d.ts +15 -0
  15. package/src/plugins/magiceden/types.js +3 -0
  16. package/src/plugins/magiceden/types.js.map +1 -0
  17. package/src/plugins/meteora/dlmmVaultsFetcher.js +1 -1
  18. package/src/plugins/meteora/dlmmVaultsFetcher.js.map +1 -1
  19. package/src/plugins/sanctum/constants.d.ts +1 -0
  20. package/src/plugins/sanctum/constants.js +10 -1
  21. package/src/plugins/sanctum/constants.js.map +1 -1
  22. package/src/plugins/sanctum/index.js +6 -2
  23. package/src/plugins/sanctum/index.js.map +1 -1
  24. package/src/plugins/sanctum/nclbAirdropFetcher.d.ts +3 -0
  25. package/src/plugins/sanctum/nclbAirdropFetcher.js +53 -0
  26. package/src/plugins/sanctum/nclbAirdropFetcher.js.map +1 -0
  27. package/src/plugins/sanctum/noCloudLeftBehindAllocation.json +710 -0
  28. package/src/plugins/streamflow/airdropFetcher.d.ts +5 -0
  29. package/src/plugins/streamflow/airdropFetcher.js +46 -0
  30. package/src/plugins/streamflow/airdropFetcher.js.map +1 -0
  31. package/src/plugins/streamflow/constants.d.ts +4 -0
  32. package/src/plugins/streamflow/constants.js +12 -1
  33. package/src/plugins/streamflow/constants.js.map +1 -1
  34. package/src/plugins/streamflow/helpers.d.ts +3 -0
  35. package/src/plugins/streamflow/helpers.js +83 -0
  36. package/src/plugins/streamflow/helpers.js.map +1 -0
  37. package/src/plugins/streamflow/index.d.ts +2 -0
  38. package/src/plugins/streamflow/index.js +8 -1
  39. package/src/plugins/streamflow/index.js.map +1 -1
  40. package/src/plugins/streamflow/types.d.ts +13 -0
  41. package/src/plugins/streamflow/types.js +3 -0
  42. package/src/plugins/streamflow/types.js.map +1 -0
  43. package/src/plugins/superposition/constants.d.ts +8 -0
  44. package/src/plugins/superposition/constants.js +18 -0
  45. package/src/plugins/superposition/constants.js.map +1 -0
  46. package/src/plugins/superposition/index.d.ts +6 -0
  47. package/src/plugins/superposition/index.js +13 -0
  48. package/src/plugins/superposition/index.js.map +1 -0
  49. package/src/plugins/superposition/lendingFetcher.d.ts +3 -0
  50. package/src/plugins/superposition/lendingFetcher.js +40 -0
  51. package/src/plugins/superposition/lendingFetcher.js.map +1 -0
  52. package/src/plugins/superposition/marketsJob.d.ts +3 -0
  53. package/src/plugins/superposition/marketsJob.js +26 -0
  54. package/src/plugins/superposition/marketsJob.js.map +1 -0
  55. package/src/plugins/superposition/types.d.ts +54 -0
  56. package/src/plugins/superposition/types.js +3 -0
  57. package/src/plugins/superposition/types.js.map +1 -0
  58. package/src/plugins/typus/constants.js +28 -0
  59. package/src/plugins/typus/constants.js.map +1 -1
  60. package/src/plugins/typus/safuVaultsJob.js +1 -1
  61. package/src/plugins/typus/safuVaultsJob.js.map +1 -1
@@ -0,0 +1,5 @@
1
+ import { AirdropFetcher } from '../../AirdropFetcher';
2
+ export declare const airdropFetcherSolana: AirdropFetcher;
3
+ export declare const airdropFetcherAptos: AirdropFetcher;
4
+ export declare const airdropFetcherSui: AirdropFetcher;
5
+ export declare const airdropFetcherEthereum: AirdropFetcher;
@@ -0,0 +1,46 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.airdropFetcherEthereum = exports.airdropFetcherSui = exports.airdropFetcherAptos = exports.airdropFetcherSolana = void 0;
13
+ const portfolio_core_1 = require("@sonarwatch/portfolio-core");
14
+ const helpers_1 = require("./helpers");
15
+ const constants_1 = require("./constants");
16
+ const solanaExecutor = (owner) => __awaiter(void 0, void 0, void 0, function* () { return (0, helpers_1.getAirdropItems)(owner, portfolio_core_1.NetworkId.solana); });
17
+ const aptosExecutor = (owner) => __awaiter(void 0, void 0, void 0, function* () { return (0, helpers_1.getAirdropItems)(owner, portfolio_core_1.NetworkId.aptos); });
18
+ const suiExecutor = (owner) => __awaiter(void 0, void 0, void 0, function* () { return (0, helpers_1.getAirdropItems)(owner, portfolio_core_1.NetworkId.sui); });
19
+ const ethereumExecutor = (owner) => __awaiter(void 0, void 0, void 0, function* () { return (0, helpers_1.getAirdropItems)(owner, portfolio_core_1.NetworkId.ethereum); });
20
+ exports.airdropFetcherSolana = {
21
+ id: `${constants_1.airdropStatics.id}-${portfolio_core_1.NetworkId.solana}`,
22
+ networkId: portfolio_core_1.NetworkId.solana,
23
+ executor: solanaExecutor,
24
+ };
25
+ exports.airdropFetcherAptos = {
26
+ id: `${constants_1.airdropStatics.id}-${portfolio_core_1.NetworkId.aptos}`,
27
+ networkId: portfolio_core_1.NetworkId.aptos,
28
+ executor: aptosExecutor,
29
+ };
30
+ exports.airdropFetcherSui = {
31
+ id: `${constants_1.airdropStatics.id}-${portfolio_core_1.NetworkId.sui}`,
32
+ networkId: portfolio_core_1.NetworkId.sui,
33
+ executor: suiExecutor,
34
+ };
35
+ exports.airdropFetcherEthereum = {
36
+ id: `${constants_1.airdropStatics.id}-${portfolio_core_1.NetworkId.ethereum}`,
37
+ networkId: portfolio_core_1.NetworkId.ethereum,
38
+ executor: ethereumExecutor,
39
+ };
40
+ // export const fetcher = airdropFetcherToFetcher(
41
+ // airdropFetcher,
42
+ // platform.id,
43
+ // 'suilend-airdrop',
44
+ // airdropStatics.claimEnd
45
+ // );
46
+ //# sourceMappingURL=airdropFetcher.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"airdropFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/streamflow/airdropFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+DAAuD;AAOvD,uCAA4C;AAC5C,2CAA6C;AAE7C,MAAM,cAAc,GAA2B,CAAO,KAAa,EAAE,EAAE,kDACrE,OAAA,IAAA,yBAAe,EAAC,KAAK,EAAE,0BAAS,CAAC,MAAM,CAAC,CAAA,GAAA,CAAC;AAE3C,MAAM,aAAa,GAA2B,CAAO,KAAa,EAAE,EAAE,kDACpE,OAAA,IAAA,yBAAe,EAAC,KAAK,EAAE,0BAAS,CAAC,KAAK,CAAC,CAAA,GAAA,CAAC;AAE1C,MAAM,WAAW,GAA2B,CAAO,KAAa,EAAE,EAAE,kDAClE,OAAA,IAAA,yBAAe,EAAC,KAAK,EAAE,0BAAS,CAAC,GAAG,CAAC,CAAA,GAAA,CAAC;AAExC,MAAM,gBAAgB,GAA2B,CAAO,KAAa,EAAE,EAAE,kDACvE,OAAA,IAAA,yBAAe,EAAC,KAAK,EAAE,0BAAS,CAAC,QAAQ,CAAC,CAAA,GAAA,CAAC;AAEhC,QAAA,oBAAoB,GAAmB;IAClD,EAAE,EAAE,GAAG,0BAAc,CAAC,EAAE,IAAI,0BAAS,CAAC,MAAM,EAAE;IAC9C,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ,EAAE,cAAc;CACzB,CAAC;AAEW,QAAA,mBAAmB,GAAmB;IACjD,EAAE,EAAE,GAAG,0BAAc,CAAC,EAAE,IAAI,0BAAS,CAAC,KAAK,EAAE;IAC7C,SAAS,EAAE,0BAAS,CAAC,KAAK;IAC1B,QAAQ,EAAE,aAAa;CACxB,CAAC;AACW,QAAA,iBAAiB,GAAmB;IAC/C,EAAE,EAAE,GAAG,0BAAc,CAAC,EAAE,IAAI,0BAAS,CAAC,GAAG,EAAE;IAC3C,SAAS,EAAE,0BAAS,CAAC,GAAG;IACxB,QAAQ,EAAE,WAAW;CACtB,CAAC;AAEW,QAAA,sBAAsB,GAAmB;IACpD,EAAE,EAAE,GAAG,0BAAc,CAAC,EAAE,IAAI,0BAAS,CAAC,QAAQ,EAAE;IAChD,SAAS,EAAE,0BAAS,CAAC,QAAQ;IAC7B,QAAQ,EAAE,gBAAgB;CAC3B,CAAC;AAEF,kDAAkD;AAClD,oBAAoB;AACpB,iBAAiB;AACjB,uBAAuB;AACvB,4BAA4B;AAC5B,KAAK"}
@@ -1,6 +1,10 @@
1
1
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
2
  import { PublicKey } from '@solana/web3.js';
3
3
  import { Platform } from '@sonarwatch/portfolio-core';
4
+ import { AirdropStatics } from '../../AirdropFetcher';
4
5
  export declare const platformId = "streamflow";
5
6
  export declare const platform: Platform;
7
+ export declare const streamMint: undefined;
6
8
  export declare const streamflowProgramId: PublicKey;
9
+ export declare const airdropApi = "https://api.streamflow.foundation/v2/api/airdrop-recipients/check-eligibility";
10
+ export declare const airdropStatics: AirdropStatics;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.streamflowProgramId = exports.platform = exports.platformId = void 0;
3
+ exports.airdropStatics = exports.airdropApi = exports.streamflowProgramId = exports.streamMint = exports.platform = exports.platformId = void 0;
4
4
  const web3_js_1 = require("@solana/web3.js");
5
5
  exports.platformId = 'streamflow';
6
6
  exports.platform = {
@@ -11,5 +11,16 @@ exports.platform = {
11
11
  website: 'https://app.streamflow.finance/',
12
12
  twitter: 'https://twitter.com/streamflow_fi',
13
13
  };
14
+ exports.streamMint = undefined;
14
15
  exports.streamflowProgramId = new web3_js_1.PublicKey('strmRqUCoQUgGUan5YhzUZa6KqdzwX5L6FpUxfmKg5m');
16
+ exports.airdropApi = 'https://api.streamflow.foundation/v2/api/airdrop-recipients/check-eligibility';
17
+ exports.airdropStatics = {
18
+ claimLink: 'https://streamflow.foundation/',
19
+ emitterLink: 'https://streamflow.foundation/',
20
+ emitterName: 'Streamflow',
21
+ id: 'streamflow-airdrop',
22
+ image: 'https://sonar.watch/img/platforms/streamflow.webp',
23
+ claimEnd: 1765512000000,
24
+ claimStart: 1742216400000,
25
+ };
15
26
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/streamflow/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,WAAW,EAAE,YAAY,EAAE,sCAAsC;IACjE,OAAO,EAAE,iCAAiC;IAC1C,OAAO,EAAE,mCAAmC;CAC7C,CAAC;AAEW,QAAA,mBAAmB,GAAG,IAAI,mBAAS,CAC9C,6CAA6C,CAC9C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/streamflow/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAI/B,QAAA,UAAU,GAAG,YAAY,CAAC;AAC1B,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,YAAY;IAClB,KAAK,EAAE,mDAAmD;IAC1D,WAAW,EAAE,YAAY,EAAE,sCAAsC;IACjE,OAAO,EAAE,iCAAiC;IAC1C,OAAO,EAAE,mCAAmC;CAC7C,CAAC;AACW,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,mBAAmB,GAAG,IAAI,mBAAS,CAC9C,6CAA6C,CAC9C,CAAC;AAEW,QAAA,UAAU,GACrB,+EAA+E,CAAC;AAErE,QAAA,cAAc,GAAmB;IAC5C,SAAS,EAAE,gCAAgC;IAC3C,WAAW,EAAE,gCAAgC;IAC7C,WAAW,EAAE,YAAY;IACzB,EAAE,EAAE,oBAAoB;IACxB,KAAK,EAAE,mDAAmD;IAC1D,QAAQ,EAAE,aAAa;IACvB,UAAU,EAAE,aAAa;CAC1B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { AirdropRaw, NetworkIdType } from '@sonarwatch/portfolio-core';
2
+ export declare function getAirdropApiUrlFromNetworkId(owner: string, networkId: NetworkIdType): string | undefined;
3
+ export declare function getAirdropItems(owner: string, networdkId: NetworkIdType): Promise<AirdropRaw>;
@@ -0,0 +1,83 @@
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
+ exports.getAirdropItems = exports.getAirdropApiUrlFromNetworkId = void 0;
16
+ const axios_1 = __importDefault(require("axios"));
17
+ const bignumber_js_1 = __importDefault(require("bignumber.js"));
18
+ const constants_1 = require("./constants");
19
+ const AirdropFetcher_1 = require("../../AirdropFetcher");
20
+ function getAirdropApiUrlFromNetworkId(owner, networkId) {
21
+ switch (networkId) {
22
+ case 'aptos':
23
+ return `${constants_1.airdropApi}?address=${owner}&chain=Aptos`;
24
+ case 'ethereum':
25
+ return `${constants_1.airdropApi}?address=${owner}&chain=Ethereum`;
26
+ case 'solana':
27
+ return `${constants_1.airdropApi}?address=${owner}&chain=Solana`;
28
+ case 'sui':
29
+ return `${constants_1.airdropApi}?address=${owner}&chain=Sui`;
30
+ default:
31
+ return undefined;
32
+ }
33
+ }
34
+ exports.getAirdropApiUrlFromNetworkId = getAirdropApiUrlFromNetworkId;
35
+ function getAirdropItems(owner, networdkId) {
36
+ return __awaiter(this, void 0, void 0, function* () {
37
+ const link = getAirdropApiUrlFromNetworkId(owner, networdkId);
38
+ if (!link)
39
+ return (0, AirdropFetcher_1.getAirdropRaw)({
40
+ statics: constants_1.airdropStatics,
41
+ items: [
42
+ {
43
+ amount: 0,
44
+ isClaimed: false,
45
+ label: 'STREAM',
46
+ address: constants_1.streamMint,
47
+ imageUri: constants_1.platform.image,
48
+ },
49
+ ],
50
+ });
51
+ const res = yield axios_1.default.get(link);
52
+ if (!res.data.isEligible)
53
+ return (0, AirdropFetcher_1.getAirdropRaw)({
54
+ statics: constants_1.airdropStatics,
55
+ items: [
56
+ {
57
+ amount: 0,
58
+ isClaimed: false,
59
+ label: 'STREAM',
60
+ address: constants_1.streamMint,
61
+ imageUri: constants_1.platform.image,
62
+ },
63
+ ],
64
+ });
65
+ const amount = (0, bignumber_js_1.default)(res.data.data.allocation)
66
+ .dividedBy(Math.pow(10, 6))
67
+ .toNumber();
68
+ return (0, AirdropFetcher_1.getAirdropRaw)({
69
+ statics: constants_1.airdropStatics,
70
+ items: [
71
+ {
72
+ amount,
73
+ isClaimed: false,
74
+ label: 'STREAM',
75
+ address: constants_1.streamMint,
76
+ imageUri: constants_1.platform.image,
77
+ },
78
+ ],
79
+ });
80
+ });
81
+ }
82
+ exports.getAirdropItems = getAirdropItems;
83
+ //# sourceMappingURL=helpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/streamflow/helpers.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,kDAA6C;AAC7C,gEAAqC;AACrC,2CAA+E;AAC/E,yDAAqD;AAGrD,SAAgB,6BAA6B,CAC3C,KAAa,EACb,SAAwB;IAExB,QAAQ,SAAS,EAAE,CAAC;QAClB,KAAK,OAAO;YACV,OAAO,GAAG,sBAAU,YAAY,KAAK,cAAc,CAAC;QACtD,KAAK,UAAU;YACb,OAAO,GAAG,sBAAU,YAAY,KAAK,iBAAiB,CAAC;QACzD,KAAK,QAAQ;YACX,OAAO,GAAG,sBAAU,YAAY,KAAK,eAAe,CAAC;QACvD,KAAK,KAAK;YACR,OAAO,GAAG,sBAAU,YAAY,KAAK,YAAY,CAAC;QACpD;YACE,OAAO,SAAS,CAAC;IACrB,CAAC;AACH,CAAC;AAhBD,sEAgBC;AAED,SAAsB,eAAe,CACnC,KAAa,EACb,UAAyB;;QAEzB,MAAM,IAAI,GAAG,6BAA6B,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;QAE9D,IAAI,CAAC,IAAI;YACP,OAAO,IAAA,8BAAa,EAAC;gBACnB,OAAO,EAAE,0BAAc;gBACvB,KAAK,EAAE;oBACL;wBACE,MAAM,EAAE,CAAC;wBACT,SAAS,EAAE,KAAK;wBAChB,KAAK,EAAE,QAAQ;wBACf,OAAO,EAAE,sBAAU;wBACnB,QAAQ,EAAE,oBAAQ,CAAC,KAAK;qBACzB;iBACF;aACF,CAAC,CAAC;QAEL,MAAM,GAAG,GAAmC,MAAM,eAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QAElE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU;YACtB,OAAO,IAAA,8BAAa,EAAC;gBACnB,OAAO,EAAE,0BAAc;gBACvB,KAAK,EAAE;oBACL;wBACE,MAAM,EAAE,CAAC;wBACT,SAAS,EAAE,KAAK;wBAChB,KAAK,EAAE,QAAQ;wBACf,OAAO,EAAE,sBAAU;wBACnB,QAAQ,EAAE,oBAAQ,CAAC,KAAK;qBACzB;iBACF;aACF,CAAC,CAAC;QAEL,MAAM,MAAM,GAAG,IAAA,sBAAS,EAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC;aAC/C,SAAS,CAAC,SAAA,EAAE,EAAI,CAAC,CAAA,CAAC;aAClB,QAAQ,EAAE,CAAC;QACd,OAAO,IAAA,8BAAa,EAAC;YACnB,OAAO,EAAE,0BAAc;YACvB,KAAK,EAAE;gBACL;oBACE,MAAM;oBACN,SAAS,EAAE,KAAK;oBAChB,KAAK,EAAE,QAAQ;oBACf,OAAO,EAAE,sBAAU;oBACnB,QAAQ,EAAE,oBAAQ,CAAC,KAAK;iBACzB;aACF;SACF,CAAC,CAAC;IACL,CAAC;CAAA;AAnDD,0CAmDC"}
@@ -1,6 +1,8 @@
1
1
  import { Platform } from '@sonarwatch/portfolio-core';
2
2
  import { Fetcher } from '../../Fetcher';
3
3
  import { Job } from '../../Job';
4
+ import { AirdropFetcher } from '../../AirdropFetcher';
4
5
  export declare const platforms: Platform[];
5
6
  export declare const jobs: Job[];
6
7
  export declare const fetchers: Fetcher[];
8
+ export declare const airdropFetchers: AirdropFetcher[];
@@ -3,10 +3,17 @@ 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.airdropFetchers = exports.fetchers = exports.jobs = exports.platforms = void 0;
7
7
  const constants_1 = require("./constants");
8
8
  const vestingFetcher_1 = __importDefault(require("./vestingFetcher"));
9
+ const airdropFetcher_1 = require("./airdropFetcher");
9
10
  exports.platforms = [constants_1.platform];
10
11
  exports.jobs = [];
11
12
  exports.fetchers = [vestingFetcher_1.default];
13
+ exports.airdropFetchers = [
14
+ airdropFetcher_1.airdropFetcherAptos,
15
+ airdropFetcher_1.airdropFetcherEthereum,
16
+ airdropFetcher_1.airdropFetcherSolana,
17
+ airdropFetcher_1.airdropFetcherSui,
18
+ ];
12
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/streamflow/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAAuC;AACvC,sEAA8C;AAEjC,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,EAAE,CAAC;AACjB,QAAA,QAAQ,GAAc,CAAC,wBAAc,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/streamflow/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAAuC;AACvC,sEAA8C;AAC9C,qDAK0B;AAGb,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,EAAE,CAAC;AACjB,QAAA,QAAQ,GAAc,CAAC,wBAAc,CAAC,CAAC;AACvC,QAAA,eAAe,GAAqB;IAC/C,oCAAmB;IACnB,uCAAsB;IACtB,qCAAoB;IACpB,kCAAiB;CAClB,CAAC"}
@@ -0,0 +1,13 @@
1
+ export type AirdropResponse = {
2
+ isEligible: boolean;
3
+ data: Data;
4
+ };
5
+ export type Data = {
6
+ chain: string;
7
+ walletAddress: string;
8
+ solanaAddress: null;
9
+ cexName: null;
10
+ cexAccountId: null;
11
+ cexWalletAddress: null;
12
+ allocation: string;
13
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/streamflow/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { Platform } from '@sonarwatch/portfolio-core';
2
+ export declare const platformId = "superposition";
3
+ export declare const platform: Platform;
4
+ export declare const marketsCacheKey = "markets";
5
+ export declare const packageId = "0xccd1a84ccea93531d7f165b90134aa0415feb30e8757ab1632dac68c0055f5c2";
6
+ export declare const portfolioType = "0xccd1a84ccea93531d7f165b90134aa0415feb30e8757ab1632dac68c0055f5c2::portfolio::Portfolio";
7
+ export declare const collateralPositionType = "0xccd1a84ccea93531d7f165b90134aa0415feb30e8757ab1632dac68c0055f5c2::portfolio::PositionView";
8
+ export declare const liabilityPositionType = "0xccd1a84ccea93531d7f165b90134aa0415feb30e8757ab1632dac68c0055f5c2::portfolio::SupplyPosition";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.liabilityPositionType = exports.collateralPositionType = exports.portfolioType = exports.packageId = exports.marketsCacheKey = exports.platform = exports.platformId = void 0;
4
+ exports.platformId = 'superposition';
5
+ exports.platform = {
6
+ id: exports.platformId,
7
+ name: 'Superposition',
8
+ image: 'https://sonar.watch/img/platforms/superposition.webp',
9
+ website: 'https://www.superposition.finance/',
10
+ twitter: 'https://x.com/superpositionfi',
11
+ defiLlamaId: 'superposition', // from https://defillama.com/docs/api
12
+ };
13
+ exports.marketsCacheKey = `markets`;
14
+ exports.packageId = '0xccd1a84ccea93531d7f165b90134aa0415feb30e8757ab1632dac68c0055f5c2';
15
+ exports.portfolioType = `${exports.packageId}::portfolio::Portfolio`;
16
+ exports.collateralPositionType = `${exports.packageId}::portfolio::PositionView`;
17
+ exports.liabilityPositionType = `${exports.packageId}::portfolio::SupplyPosition`;
18
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/superposition/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,eAAe,CAAC;AAC7B,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,eAAe;IACrB,KAAK,EAAE,sDAAsD;IAC7D,OAAO,EAAE,oCAAoC;IAC7C,OAAO,EAAE,+BAA+B;IACxC,WAAW,EAAE,eAAe,EAAE,sCAAsC;CACrE,CAAC;AACW,QAAA,eAAe,GAAG,SAAS,CAAC;AAE5B,QAAA,SAAS,GACpB,oEAAoE,CAAC;AAC1D,QAAA,aAAa,GAAG,GAAG,iBAAS,wBAAwB,CAAC;AACrD,QAAA,sBAAsB,GAAG,GAAG,iBAAS,2BAA2B,CAAC;AACjE,QAAA,qBAAqB,GAAG,GAAG,iBAAS,6BAA6B,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { Platform } from '@sonarwatch/portfolio-core';
2
+ import { Fetcher } from '../../Fetcher';
3
+ import { Job } from '../../Job';
4
+ export declare const platforms: Platform[];
5
+ export declare const jobs: Job[];
6
+ export declare const fetchers: Fetcher[];
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.fetchers = exports.jobs = exports.platforms = void 0;
7
+ const constants_1 = require("./constants");
8
+ const marketsJob_1 = __importDefault(require("./marketsJob"));
9
+ const lendingFetcher_1 = __importDefault(require("./lendingFetcher"));
10
+ exports.platforms = [constants_1.platform];
11
+ exports.jobs = [marketsJob_1.default];
12
+ exports.fetchers = [lendingFetcher_1.default];
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/superposition/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAAuC;AACvC,8DAAsC;AACtC,sEAA8C;AAEjC,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,CAAC,oBAAU,CAAC,CAAC;AAC3B,QAAA,QAAQ,GAAc,CAAC,wBAAc,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Fetcher } from '../../Fetcher';
2
+ declare const fetcher: Fetcher;
3
+ export default fetcher;
@@ -0,0 +1,40 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ const portfolio_core_1 = require("@sonarwatch/portfolio-core");
13
+ const constants_1 = require("./constants");
14
+ const clients_1 = require("../../utils/clients");
15
+ const aptos_1 = require("../../utils/aptos");
16
+ const executor = (owner) => __awaiter(void 0, void 0, void 0, function* () {
17
+ const client = (0, clients_1.getClientAptos)();
18
+ const poolPositions = yield (0, aptos_1.getAccountResource)(client, owner, constants_1.portfolioType);
19
+ if (!poolPositions)
20
+ return [];
21
+ if (poolPositions.collaterals.items.length === 0 &&
22
+ poolPositions.liabilities.items.length === 0)
23
+ return [];
24
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
25
+ const supplyPositions = poolPositions.collaterals.items.length === 0
26
+ ? []
27
+ : yield (0, aptos_1.getTableItemsByKeys)(client, poolPositions.collaterals.indexes.handle, ['0x1::aptos_coin::AptosCoin'], '0x1::string::String', constants_1.collateralPositionType);
28
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
29
+ const supplyPositions2 = poolPositions.collaterals.items.length === 0
30
+ ? []
31
+ : yield (0, aptos_1.getTableItemsByKeys)(client, poolPositions.collaterals.keys.item_table.handle, ['0x1::aptos_coin::AptosCoin'], '0x1::string::String', constants_1.collateralPositionType);
32
+ return [];
33
+ });
34
+ const fetcher = {
35
+ id: `${constants_1.platformId}-lending`,
36
+ networkId: portfolio_core_1.NetworkId.aptos,
37
+ executor,
38
+ };
39
+ exports.default = fetcher;
40
+ //# sourceMappingURL=lendingFetcher.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lendingFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/superposition/lendingFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AACvD,2CAAgF;AAEhF,iDAAqD;AAErD,6CAA4E;AAE5E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,EAAE;IACxD,MAAM,MAAM,GAAG,IAAA,wBAAc,GAAE,CAAC;IAChC,MAAM,aAAa,GAAG,MAAM,IAAA,0BAAkB,EAC5C,MAAM,EACN,KAAK,EACL,yBAAa,CACd,CAAC;IACF,IAAI,CAAC,aAAa;QAAE,OAAO,EAAE,CAAC;IAC9B,IACE,aAAa,CAAC,WAAW,CAAC,KAAK,CAAC,MAAM,KAAK,CAAC;QAC5C,aAAa,CAAC,WAAW,CAAC,KAAK,CAAC,MAAM,KAAK,CAAC;QAE5C,OAAO,EAAE,CAAC;IAEZ,6DAA6D;IAC7D,MAAM,eAAe,GACnB,aAAa,CAAC,WAAW,CAAC,KAAK,CAAC,MAAM,KAAK,CAAC;QAC1C,CAAC,CAAC,EAAE;QACJ,CAAC,CAAC,MAAM,IAAA,2BAAmB,EACvB,MAAM,EACN,aAAa,CAAC,WAAW,CAAC,OAAO,CAAC,MAAM,EACxC,CAAC,4BAA4B,CAAC,EAC9B,qBAAqB,EACrB,kCAAsB,CACvB,CAAC;IACR,6DAA6D;IAC7D,MAAM,gBAAgB,GACpB,aAAa,CAAC,WAAW,CAAC,KAAK,CAAC,MAAM,KAAK,CAAC;QAC1C,CAAC,CAAC,EAAE;QACJ,CAAC,CAAC,MAAM,IAAA,2BAAmB,EACvB,MAAM,EACN,aAAa,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,EAChD,CAAC,4BAA4B,CAAC,EAC9B,qBAAqB,EACrB,kCAAsB,CACvB,CAAC;IAER,OAAO,EAAE,CAAC;AACZ,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,UAAU;IAC3B,SAAS,EAAE,0BAAS,CAAC,KAAK;IAC1B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Job } from '../../Job';
2
+ declare const job: Job;
3
+ export default job;
@@ -0,0 +1,26 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ const portfolio_core_1 = require("@sonarwatch/portfolio-core");
13
+ const constants_1 = require("./constants");
14
+ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
15
+ yield cache.setItem(constants_1.marketsCacheKey, 'market_object', {
16
+ prefix: constants_1.platformId,
17
+ networkId: portfolio_core_1.NetworkId.solana,
18
+ });
19
+ });
20
+ const job = {
21
+ id: `${constants_1.platformId}-markets`,
22
+ executor,
23
+ label: 'normal',
24
+ };
25
+ exports.default = job;
26
+ //# sourceMappingURL=marketsJob.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"marketsJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/superposition/marketsJob.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AAGvD,2CAA0D;AAE1D,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;IACnD,MAAM,KAAK,CAAC,OAAO,CAAC,2BAAe,EAAE,eAAe,EAAE;QACpD,MAAM,EAAE,sBAAU;QAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC5B,CAAC,CAAC;AACL,CAAC,CAAA,CAAC;AACF,MAAM,GAAG,GAAQ;IACf,EAAE,EAAE,GAAG,sBAAU,UAAU;IAC3B,QAAQ;IACR,KAAK,EAAE,QAAQ;CAChB,CAAC;AACF,kBAAe,GAAG,CAAC"}
@@ -0,0 +1,54 @@
1
+ export type Portfolio = {
2
+ collaterals: {
3
+ indexes: {
4
+ handle: string;
5
+ };
6
+ items: string[];
7
+ keys: {
8
+ item_table: {
9
+ handle: string;
10
+ };
11
+ items: {
12
+ account_address: string;
13
+ module_name: string;
14
+ struct_name: string;
15
+ }[];
16
+ };
17
+ };
18
+ liabilities: {
19
+ indexes: {
20
+ handle: string;
21
+ };
22
+ items: string[];
23
+ keys: {
24
+ item_table: {
25
+ handle: string;
26
+ };
27
+ items: {
28
+ account_address: string;
29
+ module_name: string;
30
+ struct_name: string;
31
+ }[];
32
+ };
33
+ };
34
+ };
35
+ export type Broker = {
36
+ available: string;
37
+ borrowed: string;
38
+ interest_rate_curve: {
39
+ r0: string;
40
+ r1: string;
41
+ r2: string;
42
+ r3: string;
43
+ u1: string;
44
+ u2: string;
45
+ };
46
+ interest_updated_at: string;
47
+ is_borrow_paused: boolean;
48
+ is_lend_paused: boolean;
49
+ is_paused: boolean;
50
+ is_redeem_paused: boolean;
51
+ is_repay_paused: boolean;
52
+ max_borrow: string;
53
+ max_deposit: string;
54
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/superposition/types.ts"],"names":[],"mappings":""}
@@ -35,6 +35,20 @@ exports.vaultsIndexes = [
35
35
  '11',
36
36
  '12',
37
37
  '13',
38
+ '14',
39
+ '15',
40
+ '16',
41
+ '17',
42
+ '18',
43
+ '19',
44
+ '20',
45
+ '21',
46
+ '22',
47
+ '23',
48
+ '24',
49
+ '25',
50
+ '26',
51
+ '27',
38
52
  ];
39
53
  exports.safuVaultsNames = {
40
54
  '0': 'SUI Daily Bull',
@@ -51,5 +65,19 @@ exports.safuVaultsNames = {
51
65
  '11': 'SOL Daily Bear',
52
66
  '12': 'SUI Daily Bull',
53
67
  '13': 'SUI Daily Bull',
68
+ '14': 'Daily All Weather',
69
+ '15': 'SUI Hourly Bear',
70
+ '16': 'SUI Daily Bear',
71
+ '17': 'BTC Daily Bull',
72
+ '18': 'BTC Daily Bear',
73
+ '19': 'ETH Daily Bull',
74
+ '20': 'ETH Daily Bear',
75
+ '21': 'SOL Daily Bull',
76
+ '22': 'SOL Daily Bear',
77
+ '23': 'SUI Daily Bear',
78
+ '24': 'TYPUS Daily Bull',
79
+ '25': 'TYPUS Daily Bull',
80
+ '26': 'TYPUS Daily Bear',
81
+ '27': 'TYPUS Daily Bear',
54
82
  };
55
83
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/typus/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,sBAAsB,EAAE,sCAAsC;IAC3E,OAAO,EAAE,wBAAwB;IACjC,OAAO,EAAE,kCAAkC;CAC5C,CAAC;AACW,QAAA,SAAS,GACpB,oEAAoE,CAAC;AAC1D,QAAA,kBAAkB,GAAG,GAAG,iBAAS,8BAA8B,CAAC;AAChE,QAAA,MAAM,GACjB,oEAAoE,CAAC;AAC1D,QAAA,gBAAgB,GAC3B,oEAAoE,CAAC;AAC1D,QAAA,iBAAiB,GAC5B,oEAAoE,CAAC;AAC1D,QAAA,qBAAqB,GAAG,GAAG,wBAAgB,6CAA6C,CAAC;AAEzF,QAAA,WAAW,GACtB,oEAAoE,CAAC;AAC1D,QAAA,gBAAgB,GAC3B,oEAAoE,CAAC;AAC1D,QAAA,cAAc,GACzB,oEAAoE,CAAC;AAC1D,QAAA,aAAa,GAAG,aAAa,CAAC;AAE9B,QAAA,aAAa,GAAG;IAC3B,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;CACL,CAAC;AACW,QAAA,eAAe,GAA8B;IACxD,GAAG,EAAE,gBAAgB;IACrB,GAAG,EAAE,gBAAgB;IACrB,GAAG,EAAE,mBAAmB;IACxB,GAAG,EAAE,mBAAmB;IACxB,GAAG,EAAE,iBAAiB;IACtB,GAAG,EAAE,iBAAiB;IACtB,GAAG,EAAE,gBAAgB;IACrB,GAAG,EAAE,gBAAgB;IACrB,GAAG,EAAE,gBAAgB;IACrB,GAAG,EAAE,gBAAgB;IACrB,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,gBAAgB;CACvB,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/typus/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,sBAAsB,EAAE,sCAAsC;IAC3E,OAAO,EAAE,wBAAwB;IACjC,OAAO,EAAE,kCAAkC;CAC5C,CAAC;AACW,QAAA,SAAS,GACpB,oEAAoE,CAAC;AAC1D,QAAA,kBAAkB,GAAG,GAAG,iBAAS,8BAA8B,CAAC;AAChE,QAAA,MAAM,GACjB,oEAAoE,CAAC;AAC1D,QAAA,gBAAgB,GAC3B,oEAAoE,CAAC;AAC1D,QAAA,iBAAiB,GAC5B,oEAAoE,CAAC;AAC1D,QAAA,qBAAqB,GAAG,GAAG,wBAAgB,6CAA6C,CAAC;AAEzF,QAAA,WAAW,GACtB,oEAAoE,CAAC;AAC1D,QAAA,gBAAgB,GAC3B,oEAAoE,CAAC;AAC1D,QAAA,cAAc,GACzB,oEAAoE,CAAC;AAC1D,QAAA,aAAa,GAAG,aAAa,CAAC;AAE9B,QAAA,aAAa,GAAG;IAC3B,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;CACL,CAAC;AACW,QAAA,eAAe,GAA8B;IACxD,GAAG,EAAE,gBAAgB;IACrB,GAAG,EAAE,gBAAgB;IACrB,GAAG,EAAE,mBAAmB;IACxB,GAAG,EAAE,mBAAmB;IACxB,GAAG,EAAE,iBAAiB;IACtB,GAAG,EAAE,iBAAiB;IACtB,GAAG,EAAE,gBAAgB;IACrB,GAAG,EAAE,gBAAgB;IACrB,GAAG,EAAE,gBAAgB;IACrB,GAAG,EAAE,gBAAgB;IACrB,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE,iBAAiB;IACvB,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,kBAAkB;IACxB,IAAI,EAAE,kBAAkB;IACxB,IAAI,EAAE,kBAAkB;IACxB,IAAI,EAAE,kBAAkB;CACzB,CAAC"}
@@ -9,10 +9,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  });
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
+ const portfolio_core_1 = require("@sonarwatch/portfolio-core");
12
13
  const constants_1 = require("./constants");
13
14
  const clients_1 = require("../../utils/clients");
14
15
  const safu_helpers_1 = require("./safu_helpers");
15
- const portfolio_core_1 = require("@sonarwatch/portfolio-core");
16
16
  const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
17
17
  const client = (0, clients_1.getClientSui)();
18
18
  const vaultsData = yield (0, safu_helpers_1.getVaultData)(client);
@@ -1 +1 @@
1
- {"version":3,"file":"safuVaultsJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/typus/safuVaultsJob.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,2CAAwD;AAGxD,iDAAmD;AACnD,iDAA8C;AAC9C,+DAAuD;AAEvD,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;IACnD,MAAM,MAAM,GAAG,IAAA,sBAAY,GAAE,CAAC;IAE9B,MAAM,UAAU,GAAG,MAAM,IAAA,2BAAY,EAAC,MAAM,CAAC,CAAC;IAE9C,MAAM,KAAK,CAAC,OAAO,CAAC,yBAAa,EAAE,UAAU,EAAE;QAC7C,MAAM,EAAE,sBAAU;QAClB,SAAS,EAAE,0BAAS,CAAC,GAAG;KACzB,CAAC,CAAC;AACL,CAAC,CAAA,CAAC;AAEF,MAAM,GAAG,GAAQ;IACf,EAAE,EAAE,GAAG,sBAAU,cAAc;IAC/B,QAAQ;IACR,KAAK,EAAE,QAAQ;CAChB,CAAC;AACF,kBAAe,GAAG,CAAC"}
1
+ {"version":3,"file":"safuVaultsJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/typus/safuVaultsJob.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AACvD,2CAAwD;AAGxD,iDAAmD;AACnD,iDAA8C;AAE9C,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;IACnD,MAAM,MAAM,GAAG,IAAA,sBAAY,GAAE,CAAC;IAE9B,MAAM,UAAU,GAAG,MAAM,IAAA,2BAAY,EAAC,MAAM,CAAC,CAAC;IAE9C,MAAM,KAAK,CAAC,OAAO,CAAC,yBAAa,EAAE,UAAU,EAAE;QAC7C,MAAM,EAAE,sBAAU;QAClB,SAAS,EAAE,0BAAS,CAAC,GAAG;KACzB,CAAC,CAAC;AACL,CAAC,CAAA,CAAC;AAEF,MAAM,GAAG,GAAQ;IACf,EAAE,EAAE,GAAG,sBAAU,cAAc;IAC/B,QAAQ;IACR,KAAK,EAAE,QAAQ;CAChB,CAAC;AACF,kBAAe,GAAG,CAAC"}