@sonarwatch/portfolio-plugins 0.12.75 → 0.12.77

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.12.77](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.76...plugins-0.12.77) (2024-07-17)
6
+
7
+
8
+
9
+ ## [0.12.76](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.75...plugins-0.12.76) (2024-07-17)
10
+
11
+
12
+
5
13
  ## [0.12.75](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.74...plugins-0.12.75) (2024-07-16)
6
14
 
7
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonarwatch/portfolio-plugins",
3
- "version": "0.12.75",
3
+ "version": "0.12.77",
4
4
  "type": "commonjs",
5
5
  "types": "./src/index.d.ts",
6
6
  "peerDependencies": {
@@ -166,12 +166,17 @@ function internalRunAirdropFetcher(owner, fetcher, cache, useCache = true) {
166
166
  }
167
167
  const airdrop = yield fetcher.executor(owner, cache);
168
168
  // TTL is 120000 ms (2min)
169
- // But if ineligible or claimed 172800000 ms (48h)
169
+ // If ineligible or claimed 172800000 ms (48h)
170
+ // If not claimable yet 172800000 ms (48h) or until claim start
170
171
  let ttl = 120000;
172
+ const now = Date.now();
171
173
  if (airdrop.items.every((i) => !(0, portfolio_core_1.isEligibleAmount)(i.amount)))
172
174
  ttl = 172800000;
173
175
  else if (airdrop.items.every((i) => i.isClaimed === true))
174
176
  ttl = 172800000;
177
+ else if (airdrop.claimStart && airdrop.claimStart > now) {
178
+ ttl = Math.min(172800000, airdrop.claimStart - now);
179
+ }
175
180
  yield cache.setItem(`${fetcher.id}_${owner}`, airdrop, {
176
181
  ttl,
177
182
  prefix: airdropCachePrefix,
@@ -1 +1 @@
1
- {"version":3,"file":"AirdropFetcher.js","sourceRoot":"","sources":["../../../../packages/plugins/src/A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EACT,IAAI,CAAC,KAAK,IAAI,SAAS,EACvB,EAAE,WAAW,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,CAAC,UAAU,EAAE,CACvD;oBACH,CAAC,CAAC;wBACE,IAAI,EAAE,mCAAkB,CAAC,OAAO;wBAChC,IAAI,EAAE;4BACJ,MAAM,EAAE,IAAI,CAAC,MAAM;4BACnB,KAAK,EAAE,IAAI,CAAC,KAAK;yBAClB;wBACD,IAAI,EAAE,IAAI,CAAC,KAAK;wBAChB,SAAS,EAAE,cAAc,CAAC,SAAS;wBACnC,UAAU,EAAE;4BACV,WAAW,EAAE,IAAI;4BACjB,WAAW,EAAE,OAAO,CAAC,UAAU;yBAChC;wBACD,KAAK,EAAE,IAAI,CAAC,KAAK;wBACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ;qBACxB,CAAC;gBACN,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACrB,CAAC,CAAC,CAAC;YAEH,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC;gBAAE,OAAO,EAAE,CAAC;YACnC,OAAO;gBACL;oBACE,SAAS,EAAE,cAAc,CAAC,SAAS;oBACnC,KAAK,EAAE,SAAS;oBAChB,IAAI,EAAE;wBACJ,MAAM;qBACP;oBACD,UAAU;oBACV,IAAI,EAAE,qCAAoB,CAAC,QAAQ;oBACnC,KAAK,EAAE,IAAA,+BAAc,EAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;oBACjD,IAAI,EAAE,OAAO,CAAC,IAAI,IAAI,SAAS;iBAChC;aACF,CAAC;QACJ,CAAC,CAAA;KACF,CAAC;AACJ,CAAC;AApED,0DAoEC"}
1
+ {"version":3,"file":"AirdropFetcher.js","sourceRoot":"","sources":["../../../../packages/plugins/src/AirdropFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+DA2BoC;AAEpC,iFAAyD;AAEzD,iGAAyE;A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oEC"}
package/src/index.js CHANGED
@@ -465,6 +465,7 @@ exports.airdropFetchers = [
465
465
  ...jupiter_1.airdropFetchers,
466
466
  drift_1.airdropFetcher,
467
467
  parcl_1.airdropFetcher,
468
+ sanctum_1.airdropFetcher,
468
469
  ];
469
470
  exports.airdropFetchersByAddressSystem = (0, getFetchersByAddressSystem_1.getFetchersByAddressSystem)(exports.airdropFetchers);
470
471
  //# sourceMappingURL=index.js.map
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,sEAA8C;AAC9C,6CAI0B;AAC1B,yDAIgC;AAChC,uDAAgE;AAChE,iDAG4B;AAC5B,iDAI4B;AAC5B,2CAGyB;AACzB,6CAI0B;AAC1B,+CAI2B;AAC3B,yCAIwB;AACxB,+CAI2B;AAC3B,2CAIyB;AACzB,6CAI0B;AAC1B,2CAIyB;AACzB,6CAG0B;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,6CAI0B;AAC1B,6CAG0B;AAC1B,yCAIwB;AACxB,+CAI2B;AAC3B,uDAG+B;AAC/B,yCAGwB;AACxB,2CAIyB;AACzB,iDAI4B;AAC5B,iDAI4B;AAC5B,6CAI0B;AAC1B,+CAI2B;AAC3B,qDAG8B;AAC9B,iDAI4B;AAC5B,iDAI4B;AAC5B,mDAG6B;AAC7B,yCAIwB;AACxB,2CAIyB;AACzB,iDAI4B;AAC5B,iDAI4B;AAC5B,+CAK2B;AAC3B,yCAIwB;AACxB,2CAIyB;AACzB,mDAI6B;AAC7B,2CAIyB;AACzB,2CAIyB;AACzB,sCAIsB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IACnB,GAAG,oBAAiB;IACpB,GAAG,gBAAa;IAChB,GAAG,kBAAe;IAClB,GAAG,cAAW;IACd,GAAG,mBAAgB;IACnB,GAAG,eAAY;IACf,GAAG,iBAAc;IACjB,GAAG,eAAY;IACf,GAAG,oBAAiB;IACpB,GAAG,gBAAa;IAChB,GAAG,oBAAiB;IACpB,GAAG,gBAAa;IAChB,GAAG,iBAAc;IACjB,GAAG,gBAAa;IAChB,GAAG,gBAAa;IAChB,GAAG,eAAY;IACf,GAAG,kBAAe;IAClB,GAAG,kBAAe;IAClB,GAAG,mBAAgB;IACnB,GAAG,uBAAoB;IACvB,GAAG,mBAAgB;IACnB,GAAG,iBAAc;IACjB,GAAG,mBAAgB;IACnB,GAAG,kBAAe;IAClB,GAAG,iBAAc;IACjB,GAAG,iBAAc;IACjB,GAAG,kBAAe;IAClB,GAAG,oBAAiB;IACpB,GAAG,8BAA2B;IAC9B,GAAG,oBAAiB;IACpB,GAAG,kBAAe;CACnB,CAAC;AACW,QAAA,uBAAuB,GAAG,IAAA,uDAA0B,EAAC,gBAAQ,CAAC,CAAC;AAE/D,QAAA,eAAe,GAAqB;IAC/C,GAAG,yBAAsB;IACzB,sBAAmB;IACnB,sBAAmB;IACnB,wBAAqB;CACtB,CAAC;AACW,QAAA,8BAA8B,GACzC,IAAA,uDAA0B,EAAC,uBAAe,CAAC,CAAC"}
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.airdropConfigs = exports.lfgDisProgram = exports.lfgApiBaseUrl = exports.jupDecimals = exports.jupMint = exports.lockerPubkey = exports.voteProgramId = exports.platform = exports.platformId = void 0;
4
4
  const web3_js_1 = require("@solana/web3.js");
5
5
  const constants_1 = require("../../kamino/constants");
6
- const constants_2 = require("../../sanctum/constants");
7
6
  exports.platformId = 'jupiter-launchpad';
8
7
  const platformImage = 'https://sonar.watch/img/platforms/jupiter.webp';
9
8
  exports.platform = {
@@ -124,22 +123,5 @@ exports.airdropConfigs = [
124
123
  name: 'S1',
125
124
  },
126
125
  },
127
- {
128
- mint: 'CLoUDKc4Ane7HeQcPpE3YHnznRxhMimJ4MyaUqyHFzAu',
129
- decimals: 9,
130
- distributorProgram: exports.lfgDisProgram,
131
- label: 'CLOUD',
132
- platformId: constants_2.platformId,
133
- getApiPath: (owner) => `${exports.lfgApiBaseUrl}/CLoUDKc4Ane7HeQcPpE3YHnznRxhMimJ4MyaUqyHFzAu/${owner}`,
134
- statics: {
135
- claimStart: 1721314800000,
136
- claimEnd: 1744588800000,
137
- id: 'lfg-sanctum',
138
- emitterName: 'Sanctum',
139
- emitterLink: 'https://www.sanctum.so/',
140
- claimLink: 'https://lfg.jup.ag/sanctum',
141
- image: 'https://sonar.watch/img/platforms/sanctum.webp',
142
- },
143
- },
144
126
  ];
145
127
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/launchpad/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG5C,sDAAwE;AACxE,uDAA0E;AAE7D,QAAA,UAAU,GAAG,mBAAmB,CAAC;AAC9C,MAAM,aAAa,GAAG,gDAAgD,CAAC;AAC1D,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,mBAAmB;IACzB,KAAK,EAAE,aAAa;IACpB,OAAO,EAAE,qBAAqB;IAC9B,OAAO,EAAE,qCAAqC;CAC/C,CAAC;AAEW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,6CAA6C,CAC9C,CAAC;AACW,QAAA,YAAY,GAAG,IAAI,mBAAS,CACvC,8CAA8C,CAC/C,CAAC;AACW,QAAA,OAAO,GAAG,6CAA6C,CAAC;AACxD,QAAA,WAAW,GAAG,CAAC,CAAC;AAEhB,QAAA,aAAa,GAAG,uCAAuC,CAAC;AACxD,QAAA,aAAa,GAAG,8CAA8C,CAAC;AAE/D,QAAA,cAAc,GAAoB;I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AAS,EAAE,oCAAoC;YAC/C,KAAK,EAAE,+CAA+C;YACtD,IAAI,EAAE,IAAI;SACX;KACF;IACD;QACE,IAAI,EAAE,8CAA8C;QACpD,QAAQ,EAAE,CAAC;QACX,kBAAkB,EAAE,qBAAa;QACjC,KAAK,EAAE,OAAO;QACd,UAAU,EAAE,sBAAiB;QAC7B,UAAU,EAAE,CAAC,KAAa,EAAE,EAAE,CAC5B,GAAG,qBAAa,iDAAiD,KAAK,EAAE;QAC1E,OAAO,EAAE;YACP,UAAU,EAAE,aAAa;YACzB,QAAQ,EAAE,aAAa;YACvB,EAAE,EAAE,aAAa;YACjB,WAAW,EAAE,SAAS;YACtB,WAAW,EAAE,yBAAyB;YACtC,SAAS,EAAE,4BAA4B;YACvC,KAAK,EAAE,gDAAgD;SACxD;KACF;CACF,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/launchpad/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG5C,sDAAwE;AAE3D,QAAA,UAAU,GAAG,mBAAmB,CAAC;AAC9C,MAAM,aAAa,GAAG,gDAAgD,CAAC;AAC1D,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,mBAAmB;IACzB,KAAK,EAAE,aAAa;IACpB,OAAO,EAAE,qBAAqB;IAC9B,OAAO,EAAE,qCAAqC;CAC/C,CAAC;AAEW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,6CAA6C,CAC9C,CAAC;AACW,QAAA,YAAY,GAAG,IAAI,mBAAS,CACvC,8CAA8C,CAC/C,CAAC;AACW,QAAA,OAAO,GAAG,6CAA6C,CAAC;AACxD,QAAA,WAAW,GAAG,CAAC,CAAC;AAEhB,QAAA,aAAa,GAAG,uCAAuC,CAAC;AACxD,QAAA,aAAa,GAAG,8CAA8C,CAAC;AAE/D,QAAA,cAAc,GAAoB;IAC7C;QACE,IAAI,EAAE,6CAA6C;Q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EAAE,+CAA+C;YACtD,IAAI,EAAE,IAAI;SACX;KACF;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { AirdropFetcher } from '../../AirdropFetcher';
2
+ declare const airdropFetcher: AirdropFetcher;
3
+ export default airdropFetcher;
@@ -0,0 +1,94 @@
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 bignumber_js_1 = __importDefault(require("bignumber.js"));
16
+ const axios_1 = __importDefault(require("axios"));
17
+ const portfolio_core_1 = require("@sonarwatch/portfolio-core");
18
+ const AirdropFetcher_1 = require("../../AirdropFetcher");
19
+ const deriveClaimStatus_1 = require("../../utils/solana/jupiter/deriveClaimStatus");
20
+ const clients_1 = require("../../utils/clients");
21
+ const constants_1 = require("../jupiter/launchpad/constants");
22
+ const constants_2 = require("./constants");
23
+ const executor = (owner) => __awaiter(void 0, void 0, void 0, function* () {
24
+ const claimProofBase = yield axios_1.default
25
+ .get(`${constants_1.lfgApiBaseUrl}/CLoUDKc4Ane7HeQcPpE3YHnznRxhMimJ4MyaUqyHFzAu/${owner}`, {
26
+ timeout: 5000,
27
+ })
28
+ .catch((e) => {
29
+ if (e.response && e.response.status === 404) {
30
+ return null;
31
+ }
32
+ throw new Error(`Failed to get base claim proof CLOUD`);
33
+ });
34
+ if (!claimProofBase || typeof claimProofBase.data === 'string')
35
+ return (0, AirdropFetcher_1.getAirdropRaw)({
36
+ statics: constants_2.airdropStatics,
37
+ items: [
38
+ {
39
+ amount: 0,
40
+ isClaimed: false,
41
+ label: 'CLOUD',
42
+ address: constants_2.cloudMint,
43
+ },
44
+ ],
45
+ });
46
+ const client = (0, clients_1.getClientSolana)();
47
+ const claimStatusAddress = (0, deriveClaimStatus_1.deriveClaimStatus)(owner, claimProofBase.data.merkle_tree, constants_1.lfgDisProgram);
48
+ const claimStatusAaccount = yield client.getAccountInfo(claimStatusAddress);
49
+ const items = [
50
+ {
51
+ amount: new bignumber_js_1.default(claimProofBase.data.amount)
52
+ .div(Math.pow(10, constants_2.cloudDecimals))
53
+ .toNumber(),
54
+ isClaimed: claimStatusAaccount !== null,
55
+ label: 'CLOUD',
56
+ address: constants_2.cloudMint,
57
+ },
58
+ ];
59
+ // Check Earnestness
60
+ const claimProofEarn = yield axios_1.default
61
+ .get(`${constants_1.lfgApiBaseUrl}/earnestness-CLoUDKc4Ane7HeQcPpE3YHnznRxhMimJ4MyaUqyHFzAu/${owner}`, {
62
+ timeout: 5000,
63
+ })
64
+ .catch((e) => {
65
+ if (e.response && e.response.status === 404) {
66
+ return null;
67
+ }
68
+ throw new Error(`Failed to get earnestness claim proof CLOUD`);
69
+ });
70
+ // If Earnestness elligible
71
+ if (claimProofEarn && typeof claimProofEarn.data !== 'string') {
72
+ const earnClaimStatusAddress = (0, deriveClaimStatus_1.deriveClaimStatus)(owner, claimProofBase.data.merkle_tree, constants_1.lfgDisProgram);
73
+ const earnClaimStatusAaccount = yield client.getAccountInfo(earnClaimStatusAddress);
74
+ items.push({
75
+ amount: new bignumber_js_1.default(claimProofEarn.data.amount)
76
+ .div(Math.pow(10, constants_2.cloudDecimals))
77
+ .toNumber(),
78
+ isClaimed: earnClaimStatusAaccount !== null,
79
+ label: 'CLOUD',
80
+ address: constants_2.cloudMint,
81
+ });
82
+ }
83
+ return (0, AirdropFetcher_1.getAirdropRaw)({
84
+ statics: constants_2.airdropStatics,
85
+ items,
86
+ });
87
+ });
88
+ const airdropFetcher = {
89
+ id: constants_2.airdropStatics.id,
90
+ networkId: portfolio_core_1.NetworkId.solana,
91
+ executor,
92
+ };
93
+ exports.default = airdropFetcher;
94
+ //# sourceMappingURL=airdropFetcher.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"airdropFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/sanctum/airdropFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,gEAAqC;AACrC,kDAA6C;AAC7C,+DAAuD;AACvD,yDAI8B;AAC9B,oFAAiF;AACjF,iDAAsD;AAEtD,8DAA8E;AAC9E,2CAAuE;AAEvE,MAAM,QAAQ,GAA2B,CAAO,KAAa,EAAE,EAAE;IAC/D,MAAM,cAAc,GAA6C,MAAM,eAAK;SACzE,GAAG,CACF,GAAG,yBAAa,iDAAiD,KAAK,EAAE,EACxE;QACE,OAAO,EAAE,IAAI;KACd,CACF;SACA,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE;QACX,IAAI,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,QAAQ,CAAC,MAAM,KAAK,GAAG,EAAE,CAAC;YAC5C,OAAO,IAAI,CAAC;QACd,CAAC;QACD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;IAC1D,CAAC,CAAC,CAAC;IACL,IAAI,CAAC,cAAc,IAAI,OAAO,cAAc,CAAC,IAAI,KAAK,QAAQ;QAC5D,OAAO,IAAA,8BAAa,EAAC;YACnB,OAAO,EAAE,0BAAc;YACvB,KAAK,EAAE;gBACL;oBACE,MAAM,EAAE,CAAC;oBACT,SAAS,EAAE,KAAK;oBAChB,KAAK,EAAE,OAAO;oBACd,OAAO,EAAE,qBAAS;iBACnB;aACF;SACF,CAAC,CAAC;IAEL,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IACjC,MAAM,kBAAkB,GAAG,IAAA,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EAAE,EAAI,yBAAa,CAAA,CAAC;iBACxB,QAAQ,EAAE;YACb,SAAS,EAAE,uBAAuB,KAAK,IAAI;YAC3C,KAAK,EAAE,OAAO;YACd,OAAO,EAAE,qBAAS;SACnB,CAAC,CAAC;IACL,CAAC;IAED,OAAO,IAAA,8BAAa,EAAC;QACnB,OAAO,EAAE,0BAAc;QACvB,KAAK;KACN,CAAC,CAAC;AACL,CAAC,CAAA,CAAC;AAEF,MAAM,cAAc,GAAmB;IACrC,EAAE,EAAE,0BAAc,CAAC,EAAE;IACrB,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,cAAc,CAAC"}
@@ -1,6 +1,10 @@
1
1
  import { Platform } from '@sonarwatch/portfolio-core';
2
+ import { AirdropStatics } from '../../AirdropFetcher';
2
3
  export declare const platformId = "sanctum";
3
4
  export declare const platformImage = "https://sonar.watch/img/platforms/sanctum.webp";
4
5
  export declare const platformWebsite = "https://www.sanctum.so/";
5
6
  export declare const platform: Platform;
6
7
  export declare const lstsKey = "lsts";
8
+ export declare const cloudMint = "CLoUDKc4Ane7HeQcPpE3YHnznRxhMimJ4MyaUqyHFzAu";
9
+ export declare const cloudDecimals = 9;
10
+ export declare const airdropStatics: AirdropStatics;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.lstsKey = exports.platform = exports.platformWebsite = exports.platformImage = exports.platformId = void 0;
3
+ exports.airdropStatics = exports.cloudDecimals = exports.cloudMint = exports.lstsKey = exports.platform = exports.platformWebsite = exports.platformImage = exports.platformId = void 0;
4
4
  exports.platformId = 'sanctum';
5
5
  exports.platformImage = 'https://sonar.watch/img/platforms/sanctum.webp';
6
6
  exports.platformWebsite = 'https://www.sanctum.so/';
@@ -13,4 +13,15 @@ exports.platform = {
13
13
  twitter: 'https://twitter.com/sanctumso',
14
14
  };
15
15
  exports.lstsKey = 'lsts';
16
+ exports.cloudMint = 'CLoUDKc4Ane7HeQcPpE3YHnznRxhMimJ4MyaUqyHFzAu';
17
+ exports.cloudDecimals = 9;
18
+ exports.airdropStatics = {
19
+ id: 'sanctum',
20
+ claimStart: 1721314800000,
21
+ claimEnd: 1744588800000,
22
+ emitterName: 'Sanctum',
23
+ emitterLink: exports.platformWebsite,
24
+ claimLink: 'https://lfg.jup.ag/sanctum',
25
+ image: exports.platformImage,
26
+ };
16
27
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/sanctum/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,aAAa,GAAG,gDAAgD,CAAC;AACjE,QAAA,eAAe,GAAG,yBAAyB,CAAC;AAC5C,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,WAAW,EAAE,gBAAgB,EAAE,sCAAsC;IACrE,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,qBAAa;IACpB,OAAO,EAAE,uBAAe;IACxB,OAAO,EAAE,+BAA+B;CACzC,CAAC;AACW,QAAA,OAAO,GAAG,MAAM,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/sanctum/constants.ts"],"names":[],"mappings":";;;AAGa,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,aAAa,GAAG,gDAAgD,CAAC;AACjE,QAAA,eAAe,GAAG,yBAAyB,CAAC;AAC5C,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,WAAW,EAAE,gBAAgB,EAAE,sCAAsC;IACrE,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,qBAAa;IACpB,OAAO,EAAE,uBAAe;IACxB,OAAO,EAAE,+BAA+B;CACzC,CAAC;AACW,QAAA,OAAO,GAAG,MAAM,CAAC;AAEjB,QAAA,SAAS,GAAG,8CAA8C,CAAC;AAC3D,QAAA,aAAa,GAAG,CAAC,CAAC;AAClB,QAAA,cAAc,GAAmB;IAC5C,EAAE,EAAE,SAAS;IACb,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,aAAa;IACvB,WAAW,EAAE,SAAS;IACtB,WAAW,EAAE,uBAAe;IAC5B,SAAS,EAAE,4BAA4B;IACvC,KAAK,EAAE,qBAAa;CACrB,CAAC"}
@@ -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 { airdropFetcher };
@@ -3,10 +3,15 @@ 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.airdropFetcher = exports.fetchers = exports.jobs = exports.platforms = void 0;
7
7
  const constants_1 = require("./constants");
8
8
  const lstsJob_1 = __importDefault(require("./lstsJob"));
9
+ const airdropFetcher_1 = __importDefault(require("./airdropFetcher"));
10
+ exports.airdropFetcher = airdropFetcher_1.default;
11
+ const AirdropFetcher_1 = require("../../AirdropFetcher");
9
12
  exports.platforms = [constants_1.platform];
10
13
  exports.jobs = [lstsJob_1.default];
11
- exports.fetchers = [];
14
+ exports.fetchers = [
15
+ (0, AirdropFetcher_1.airdropFetcherToFetcher)(airdropFetcher_1.default, constants_1.platform.id, `${constants_1.platform.id}-airdrop`, constants_1.airdropStatics.claimEnd),
16
+ ];
12
17
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/sanctum/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAAuC;AACvC,wDAAgC;AAEnB,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,CAAC,iBAAO,CAAC,CAAC;AACxB,QAAA,QAAQ,GAAc,EAAE,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/sanctum/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAAuD;AACvD,wDAAgC;AAChC,sEAA8C;AAarC,yBAbF,wBAAc,CAaE;AAZvB,yDAA+D;AAElD,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,CAAC,iBAAO,CAAC,CAAC;AACxB,QAAA,QAAQ,GAAc;IACjC,IAAA,wCAAuB,EACrB,wBAAc,EACd,oBAAQ,CAAC,EAAE,EACX,GAAG,oBAAQ,CAAC,EAAE,UAAU,EACxB,0BAAc,CAAC,QAAQ,CACxB;CACF,CAAC"}