@sonarwatch/portfolio-plugins 0.12.128 → 0.12.130

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/package.json +1 -1
  3. package/src/index.js +15 -0
  4. package/src/index.js.map +1 -1
  5. package/src/plugins/debridge/airdropFetcher.d.ts +2 -0
  6. package/src/plugins/debridge/airdropFetcher.js +57 -0
  7. package/src/plugins/debridge/airdropFetcher.js.map +1 -0
  8. package/src/plugins/debridge/constants.d.ts +8 -0
  9. package/src/plugins/debridge/constants.js +25 -0
  10. package/src/plugins/debridge/constants.js.map +1 -0
  11. package/src/plugins/debridge/index.d.ts +8 -0
  12. package/src/plugins/debridge/index.js +10 -0
  13. package/src/plugins/debridge/index.js.map +1 -0
  14. package/src/plugins/debridge/types.d.ts +23 -0
  15. package/src/plugins/debridge/types.js +3 -0
  16. package/src/plugins/debridge/types.js.map +1 -0
  17. package/src/plugins/deepbook/airdropFetcher.d.ts +2 -0
  18. package/src/plugins/deepbook/airdropFetcher.js +66 -0
  19. package/src/plugins/deepbook/airdropFetcher.js.map +1 -0
  20. package/src/plugins/deepbook/constants.d.ts +7 -0
  21. package/src/plugins/deepbook/constants.js +24 -0
  22. package/src/plugins/deepbook/constants.js.map +1 -0
  23. package/src/plugins/deepbook/index.d.ts +8 -0
  24. package/src/plugins/deepbook/index.js +10 -0
  25. package/src/plugins/deepbook/index.js.map +1 -0
  26. package/src/plugins/suins/airdropFetcher.d.ts +2 -0
  27. package/src/plugins/suins/airdropFetcher.js +67 -0
  28. package/src/plugins/suins/airdropFetcher.js.map +1 -0
  29. package/src/plugins/suins/constants.d.ts +7 -0
  30. package/src/plugins/suins/constants.js +24 -0
  31. package/src/plugins/suins/constants.js.map +1 -0
  32. package/src/plugins/suins/index.d.ts +8 -0
  33. package/src/plugins/suins/index.js +10 -0
  34. package/src/plugins/suins/index.js.map +1 -0
  35. package/src/utils/sui/types.d.ts +6 -0
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.130](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.129...plugins-0.12.130) (2024-08-12)
6
+
7
+
8
+
9
+ ## [0.12.129](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.128...plugins-0.12.129) (2024-08-12)
10
+
11
+
12
+
5
13
  ## [0.12.128](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.127...plugins-0.12.128) (2024-08-09)
6
14
 
7
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonarwatch/portfolio-plugins",
3
- "version": "0.12.128",
3
+ "version": "0.12.130",
4
4
  "type": "commonjs",
5
5
  "types": "./src/index.d.ts",
6
6
  "peerDependencies": {
package/src/index.js CHANGED
@@ -132,6 +132,9 @@ const solayer_1 = require("./plugins/solayer");
132
132
  const picasso_1 = require("./plugins/picasso");
133
133
  const quarry_1 = require("./plugins/quarry");
134
134
  const thevault_1 = require("./plugins/thevault");
135
+ const deepbook_1 = require("./plugins/deepbook");
136
+ const suins_1 = require("./plugins/suins");
137
+ const debridge_1 = require("./plugins/debridge");
135
138
  var constants_1 = require("./plugins/tokens/constants");
136
139
  Object.defineProperty(exports, "walletTokensPlatform", { enumerable: true, get: function () { return constants_1.walletTokensPlatform; } });
137
140
  Object.defineProperty(exports, "walletNftsPlatform", { enumerable: true, get: function () { return constants_1.walletNftsPlatform; } });
@@ -257,6 +260,9 @@ exports.platforms = [
257
260
  ...picasso_1.platforms,
258
261
  ...quarry_1.platforms,
259
262
  ...thevault_1.platforms,
263
+ ...deepbook_1.platforms,
264
+ ...suins_1.platforms,
265
+ ...debridge_1.platforms,
260
266
  ];
261
267
  // JOBS //
262
268
  exports.jobs = [
@@ -365,6 +371,9 @@ exports.jobs = [
365
371
  ...picasso_1.jobs,
366
372
  ...quarry_1.jobs,
367
373
  ...thevault_1.jobs,
374
+ ...deepbook_1.jobs,
375
+ ...suins_1.jobs,
376
+ ...debridge_1.jobs,
368
377
  ];
369
378
  // FETCHERS //
370
379
  exports.fetchers = [
@@ -475,6 +484,9 @@ exports.fetchers = [
475
484
  ...picasso_1.fetchers,
476
485
  ...quarry_1.fetchers,
477
486
  ...thevault_1.fetchers,
487
+ ...deepbook_1.fetchers,
488
+ ...suins_1.fetchers,
489
+ ...debridge_1.fetchers,
478
490
  ];
479
491
  exports.fetchersByAddressSystem = (0, getFetchersByAddressSystem_1.getFetchersByAddressSystem)(exports.fetchers);
480
492
  exports.airdropFetchers = [
@@ -483,6 +495,9 @@ exports.airdropFetchers = [
483
495
  ...sanctum_1.airdropFetchers,
484
496
  drift_1.airdropFetcher,
485
497
  parcl_1.airdropFetcher,
498
+ deepbook_1.airdropFetcher,
499
+ suins_1.airdropFetcher,
500
+ debridge_1.airdropFetcher,
486
501
  ];
487
502
  exports.airdropFetchersByAddressSystem = (0, getFetchersByAddressSystem_1.getFetchersByAddressSystem)(exports.airdropFetchers);
488
503
  //# 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,yCAIwB;AACxB,+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,6CAK0B;AAC1B,6C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Y;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;IAClB,GAAG,kBAAe;IAClB,GAAG,kBAAe;IAClB,GAAG,iBAAc;IACjB,GAAG,mBAAgB;CACpB,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;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,sEAA8C;AAC9C,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,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,6CAK0B;AAC1B,6CAG0B;AAC1B,yCAIwB;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iB;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;IAClB,GAAG,kBAAe;IAClB,GAAG,kBAAe;IAClB,GAAG,iBAAc;IACjB,GAAG,mBAAgB;IACnB,GAAG,mBAAgB;IACnB,GAAG,gBAAa;IAChB,GAAG,mBAAgB;CACpB,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,yBAAsB;CACvB,CAAC;AACW,QAAA,8BAA8B,GACzC,IAAA,uDAA0B,EAAC,uBAAe,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { AirdropFetcher } from '../../AirdropFetcher';
2
+ export declare const airdropFetcher: AirdropFetcher;
@@ -0,0 +1,57 @@
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.airdropFetcher = void 0;
16
+ const portfolio_core_1 = require("@sonarwatch/portfolio-core");
17
+ const bignumber_js_1 = __importDefault(require("bignumber.js"));
18
+ const axios_1 = __importDefault(require("axios"));
19
+ const AirdropFetcher_1 = require("../../AirdropFetcher");
20
+ const constants_1 = require("./constants");
21
+ const dbrFactor = new bignumber_js_1.default(Math.pow(10, constants_1.dbrDecimals));
22
+ const executor = (owner) => __awaiter(void 0, void 0, void 0, function* () {
23
+ const apiRes = yield axios_1.default.get(constants_1.apiUrl + owner, {
24
+ timeout: 1000,
25
+ });
26
+ let amount = 0;
27
+ if (apiRes.data.distributions) {
28
+ const tokens = apiRes.data.distributions.map((dis) => new bignumber_js_1.default(dis.tokens).div(dbrFactor));
29
+ amount += tokens
30
+ .reduce((prev, curr) => prev.plus(curr), new bignumber_js_1.default(0))
31
+ .toNumber();
32
+ }
33
+ return (0, AirdropFetcher_1.getAirdropRaw)({
34
+ statics: constants_1.airdropStatics,
35
+ items: [
36
+ {
37
+ amount,
38
+ isClaimed: false,
39
+ label: 'DBR',
40
+ address: constants_1.dbrMint,
41
+ imageUri: constants_1.dbrMint ? undefined : constants_1.platform.image,
42
+ },
43
+ ],
44
+ });
45
+ });
46
+ exports.airdropFetcher = {
47
+ id: constants_1.airdropStatics.id,
48
+ networkId: portfolio_core_1.NetworkId.ethereum,
49
+ executor,
50
+ };
51
+ // export const fetcher = airdropFetcherToFetcher(
52
+ // airdropFetcher,
53
+ // platform.id,
54
+ // 'deepbook-airdrop',
55
+ // airdropStatics.claimEnd
56
+ // );
57
+ //# sourceMappingURL=airdropFetcher.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"airdropFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/debridge/airdropFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+DAAuD;AACvD,gEAAqC;AACrC,kDAA6C;AAC7C,yDAI8B;AAC9B,2CAMqB;AAGrB,MAAM,SAAS,GAAG,IAAI,sBAAS,CAAC,SAAA,EAAE,EAAI,uBAAW,CAAA,CAAC,CAAC;AAEnD,MAAM,QAAQ,GAA2B,CAAO,KAAa,EAAE,EAAE;IAC/D,MAAM,MAAM,GAA+B,MAAM,eAAK,CAAC,GAAG,CAAC,kBAAM,GAAG,KAAK,EAAE;QACzE,OAAO,EAAE,IAAI;KACd,CAAC,CAAC;IAEH,IAAI,MAAM,GAAG,CAAC,CAAC;IACf,IAAI,MAAM,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC;QAC9B,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CACnD,IAAI,sBAAS,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CACzC,CAAC;QACF,MAAM,IAAI,MAAM;aACb,MAAM,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,sBAAS,CAAC,CAAC,CAAC,CAAC;aACzD,QAAQ,EAAE,CAAC;IAChB,CAAC;IAED,OAAO,IAAA,8BAAa,EAAC;QACnB,OAAO,EAAE,0BAAc;QACvB,KAAK,EAAE;YACL;gBACE,MAAM;gBACN,SAAS,EAAE,KAAK;gBAChB,KAAK,EAAE,KAAK;gBACZ,OAAO,EAAE,mBAAO;gBAChB,QAAQ,EAAE,mBAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,oBAAW,CAAC,KAAK;aAClD;SACF;KACF,CAAC,CAAC;AACL,CAAC,CAAA,CAAC;AAEW,QAAA,cAAc,GAAmB;IAC5C,EAAE,EAAE,0BAAc,CAAC,EAAE;IACrB,SAAS,EAAE,0BAAS,CAAC,QAAQ;IAC7B,QAAQ;CACT,CAAC;AACF,kDAAkD;AAClD,oBAAoB;AACpB,iBAAiB;AACjB,wBAAwB;AACxB,4BAA4B;AAC5B,KAAK"}
@@ -0,0 +1,8 @@
1
+ import { Platform } from '@sonarwatch/portfolio-core';
2
+ import { AirdropStatics } from '../../AirdropFetcher';
3
+ export declare const platformId = "debridge";
4
+ export declare const platform: Platform;
5
+ export declare const airdropStatics: AirdropStatics;
6
+ export declare const dbrMint: undefined;
7
+ export declare const dbrDecimals = 6;
8
+ export declare const apiUrl = "https://points-api.debridge.foundation/api/TokenDistribution/";
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.apiUrl = exports.dbrDecimals = exports.dbrMint = exports.airdropStatics = exports.platform = exports.platformId = void 0;
4
+ exports.platformId = 'debridge';
5
+ exports.platform = {
6
+ id: exports.platformId,
7
+ name: 'deBridge',
8
+ image: 'https://sonar.watch/img/platforms/debridge.webp',
9
+ website: 'https://debridge.finance/',
10
+ twitter: 'https://x.com/deBridgeFinance',
11
+ defiLlamaId: 'debridge', // from https://defillama.com/docs/api
12
+ };
13
+ exports.airdropStatics = {
14
+ claimLink: 'https://debridge.foundation/',
15
+ emitterLink: 'https://debridge.finance/',
16
+ emitterName: 'deBridge',
17
+ id: `${exports.platformId}-token-launch`,
18
+ image: 'https://sonar.watch/img/platforms/debridge.webp',
19
+ claimEnd: undefined,
20
+ claimStart: undefined,
21
+ };
22
+ exports.dbrMint = undefined;
23
+ exports.dbrDecimals = 6;
24
+ exports.apiUrl = 'https://points-api.debridge.foundation/api/TokenDistribution/';
25
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/debridge/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,2BAA2B;IACpC,OAAO,EAAE,+BAA+B;IACxC,WAAW,EAAE,UAAU,EAAE,sCAAsC;CAChE,CAAC;AACW,QAAA,cAAc,GAAmB;IAC5C,SAAS,EAAE,8BAA8B;IACzC,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,UAAU;IACvB,EAAE,EAAE,GAAG,kBAAU,eAAe;IAChC,KAAK,EAAE,iDAAiD;IACxD,QAAQ,EAAE,SAAS;IACnB,UAAU,EAAE,SAAS;CACtB,CAAC;AAEW,QAAA,OAAO,GAAG,SAAS,CAAC;AACpB,QAAA,WAAW,GAAG,CAAC,CAAC;AAChB,QAAA,MAAM,GACjB,+DAA+D,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { Platform } from '@sonarwatch/portfolio-core';
2
+ import { Fetcher } from '../../Fetcher';
3
+ import { Job } from '../../Job';
4
+ import { airdropFetcher } from './airdropFetcher';
5
+ export declare const platforms: Platform[];
6
+ export declare const jobs: Job[];
7
+ export declare const fetchers: Fetcher[];
8
+ export { airdropFetcher };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.airdropFetcher = exports.fetchers = exports.jobs = exports.platforms = void 0;
4
+ const constants_1 = require("./constants");
5
+ const airdropFetcher_1 = require("./airdropFetcher");
6
+ Object.defineProperty(exports, "airdropFetcher", { enumerable: true, get: function () { return airdropFetcher_1.airdropFetcher; } });
7
+ exports.platforms = [constants_1.platform];
8
+ exports.jobs = [];
9
+ exports.fetchers = [];
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/debridge/index.ts"],"names":[],"mappings":";;;AAGA,2CAAuC;AACvC,qDAAkD;AAKzC,+FALA,+BAAc,OAKA;AAHV,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,EAAE,CAAC;AACjB,QAAA,QAAQ,GAAc,EAAE,CAAC"}
@@ -0,0 +1,23 @@
1
+ export type ApiResponse = {
2
+ distributions: Distribution[];
3
+ notifications: Notification[];
4
+ };
5
+ export type Distribution = {
6
+ id: number;
7
+ title: string;
8
+ subtitle: string;
9
+ allocationTimestamp: number;
10
+ availableForSigningDate: number;
11
+ distributionStartTimestamp: number;
12
+ distributionEndTimestamp: number;
13
+ points: number;
14
+ tokens: string;
15
+ merkleTreeRoute: null;
16
+ };
17
+ export type Notification = {
18
+ id: string;
19
+ message: string;
20
+ timestamp: number;
21
+ type: string;
22
+ distributionId: number;
23
+ };
@@ -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/debridge/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { AirdropFetcher } from '../../AirdropFetcher';
2
+ export declare const airdropFetcher: AirdropFetcher;
@@ -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
+ exports.airdropFetcher = void 0;
16
+ const portfolio_core_1 = require("@sonarwatch/portfolio-core");
17
+ const bignumber_js_1 = __importDefault(require("bignumber.js"));
18
+ const AirdropFetcher_1 = require("../../AirdropFetcher");
19
+ const constants_1 = require("./constants");
20
+ const clients_1 = require("../../utils/clients");
21
+ const getOwnedObjects_1 = require("../../utils/sui/getOwnedObjects");
22
+ const deepFactor = new bignumber_js_1.default(Math.pow(10, constants_1.deepDecimals));
23
+ const executor = (owner) => __awaiter(void 0, void 0, void 0, function* () {
24
+ const client = (0, clients_1.getClientSui)();
25
+ const nfts = yield (0, getOwnedObjects_1.getOwnedObjects)(client, owner, {
26
+ filter: {
27
+ StructType: '0x61c9c39fd86185ad60d738d4e52bd08bda071d366acde07e07c3916a2d75a816::distribution::DEEPWrapper',
28
+ },
29
+ });
30
+ let amount = 0;
31
+ if (nfts) {
32
+ const amounts = nfts.map((nft) => {
33
+ var _a, _b;
34
+ if ((_b = (_a = nft.data) === null || _a === void 0 ? void 0 : _a.content) === null || _b === void 0 ? void 0 : _b.fields) {
35
+ return (0, bignumber_js_1.default)(nft.data.content.fields.balance)
36
+ .dividedBy(deepFactor)
37
+ .toNumber();
38
+ }
39
+ return 0;
40
+ });
41
+ amount = amounts.reduce((am, curr) => curr + am, 0);
42
+ }
43
+ return (0, AirdropFetcher_1.getAirdropRaw)({
44
+ statics: constants_1.airdropStatics,
45
+ items: [
46
+ {
47
+ amount,
48
+ isClaimed: false,
49
+ label: 'DEEP',
50
+ address: constants_1.deepMint,
51
+ },
52
+ ],
53
+ });
54
+ });
55
+ exports.airdropFetcher = {
56
+ id: constants_1.airdropStatics.id,
57
+ networkId: portfolio_core_1.NetworkId.sui,
58
+ executor,
59
+ };
60
+ // export const fetcher = airdropFetcherToFetcher(
61
+ // airdropFetcher,
62
+ // platform.id,
63
+ // 'deepbook-airdrop',
64
+ // airdropStatics.claimEnd
65
+ // );
66
+ //# sourceMappingURL=airdropFetcher.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"airdropFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/deepbook/airdropFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+DAAuD;AACvD,gEAAqC;AACrC,yDAI8B;AAC9B,2CAAqE;AACrE,iDAAmD;AACnD,qEAAkE;AAGlE,MAAM,UAAU,GAAG,IAAI,sBAAS,CAAC,SAAA,EAAE,EAAI,wBAAY,CAAA,CAAC,CAAC;AAErD,MAAM,QAAQ,GAA2B,CAAO,KAAa,EAAE,EAAE;IAC/D,MAAM,MAAM,GAAG,IAAA,sBAAY,GAAE,CAAC;IAC9B,MAAM,IAAI,GAAG,MAAM,IAAA,iCAAe,EAAoB,MAAM,EAAE,KAAK,EAAE;QACnE,MAAM,EAAE;YACN,UAAU,EACR,+FAA+F;SAClG;KACF,CAAC,CAAC;IAEH,IAAI,MAAM,GAAG,CAAC,CAAC;IAEf,IAAI,IAAI,EAAE,CAAC;QACT,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE;;YAC/B,IAAI,MAAA,MAAA,GAAG,CAAC,IAAI,0CAAE,OAAO,0CAAE,MAAM,EAAE,CAAC;gBAC9B,OAAO,IAAA,sBAAS,EAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC;qBAC9C,SAAS,CAAC,UAAU,CAAC;qBACrB,QAAQ,EAAE,CAAC;YAChB,CAAC;YACD,OAAO,CAAC,CAAC;QACX,CAAC,CAAC,CAAC;QACH,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,EAAE,EAAE,CAAC,CAAC,CAAC;IACtD,CAAC;IACD,OAAO,IAAA,8BAAa,EAAC;QACnB,OAAO,EAAE,0BAAc;QACvB,KAAK,EAAE;YACL;gBACE,MAAM;gBACN,SAAS,EAAE,KAAK;gBAChB,KAAK,EAAE,MAAM;gBACb,OAAO,EAAE,oBAAQ;aAClB;SACF;KACF,CAAC,CAAC;AACL,CAAC,CAAA,CAAC;AAEW,QAAA,cAAc,GAAmB;IAC5C,EAAE,EAAE,0BAAc,CAAC,EAAE;IACrB,SAAS,EAAE,0BAAS,CAAC,GAAG;IACxB,QAAQ;CACT,CAAC;AACF,kDAAkD;AAClD,oBAAoB;AACpB,iBAAiB;AACjB,wBAAwB;AACxB,4BAA4B;AAC5B,KAAK"}
@@ -0,0 +1,7 @@
1
+ import { Platform } from '@sonarwatch/portfolio-core';
2
+ import { AirdropStatics } from '../../AirdropFetcher';
3
+ export declare const platformId = "deepbook";
4
+ export declare const platform: Platform;
5
+ export declare const airdropStatics: AirdropStatics;
6
+ export declare const deepMint = "0xdeeb7a4662eec9f2f3def03fb937a663dddaa2e215b8078a284d026b7946c270::deep::DEEP";
7
+ export declare const deepDecimals = 6;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.deepDecimals = exports.deepMint = exports.airdropStatics = exports.platform = exports.platformId = void 0;
4
+ exports.platformId = 'deepbook';
5
+ exports.platform = {
6
+ id: exports.platformId,
7
+ name: 'DeepBook',
8
+ image: 'https://sonar.watch/img/platforms/deepbook.webp',
9
+ website: 'https://deepbook.com/',
10
+ twitter: 'https://x.com/DeepBookonSui',
11
+ defiLlamaId: 'deepbook', // from https://defillama.com/docs/api
12
+ };
13
+ exports.airdropStatics = {
14
+ claimLink: undefined,
15
+ emitterLink: 'https://deepbook.tech/#airdrop',
16
+ emitterName: 'DeepBook',
17
+ id: `${exports.platformId}-token-launch`,
18
+ image: 'https://sonar.watch/img/platforms/deepbook.webp',
19
+ claimEnd: undefined,
20
+ claimStart: undefined,
21
+ };
22
+ exports.deepMint = '0xdeeb7a4662eec9f2f3def03fb937a663dddaa2e215b8078a284d026b7946c270::deep::DEEP';
23
+ exports.deepDecimals = 6;
24
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +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,uBAAuB;IAChC,OAAO,EAAE,6BAA6B;IACtC,WAAW,EAAE,UAAU,EAAE,sCAAsC;CAChE,CAAC;AACW,QAAA,cAAc,GAAmB;IAC5C,SAAS,EAAE,SAAS;IACpB,WAAW,EAAE,gCAAgC;IAC7C,WAAW,EAAE,UAAU;IACvB,EAAE,EAAE,GAAG,kBAAU,eAAe;IAChC,KAAK,EAAE,iDAAiD;IACxD,QAAQ,EAAE,SAAS;IACnB,UAAU,EAAE,SAAS;CACtB,CAAC;AAEW,QAAA,QAAQ,GACnB,gFAAgF,CAAC;AACtE,QAAA,YAAY,GAAG,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { Platform } from '@sonarwatch/portfolio-core';
2
+ import { Fetcher } from '../../Fetcher';
3
+ import { Job } from '../../Job';
4
+ import { airdropFetcher } from './airdropFetcher';
5
+ export declare const platforms: Platform[];
6
+ export declare const jobs: Job[];
7
+ export declare const fetchers: Fetcher[];
8
+ export { airdropFetcher };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.airdropFetcher = exports.fetchers = exports.jobs = exports.platforms = void 0;
4
+ const constants_1 = require("./constants");
5
+ const airdropFetcher_1 = require("./airdropFetcher");
6
+ Object.defineProperty(exports, "airdropFetcher", { enumerable: true, get: function () { return airdropFetcher_1.airdropFetcher; } });
7
+ exports.platforms = [constants_1.platform];
8
+ exports.jobs = [];
9
+ exports.fetchers = [];
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/deepbook/index.ts"],"names":[],"mappings":";;;AAGA,2CAAuC;AACvC,qDAAkD;AAKzC,+FALA,+BAAc,OAKA;AAHV,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,EAAE,CAAC;AACjB,QAAA,QAAQ,GAAc,EAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { AirdropFetcher } from '../../AirdropFetcher';
2
+ export declare const airdropFetcher: AirdropFetcher;
@@ -0,0 +1,67 @@
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.airdropFetcher = void 0;
16
+ const portfolio_core_1 = require("@sonarwatch/portfolio-core");
17
+ const bignumber_js_1 = __importDefault(require("bignumber.js"));
18
+ const AirdropFetcher_1 = require("../../AirdropFetcher");
19
+ const constants_1 = require("./constants");
20
+ const clients_1 = require("../../utils/clients");
21
+ const getOwnedObjects_1 = require("../../utils/sui/getOwnedObjects");
22
+ const deepFactor = new bignumber_js_1.default(Math.pow(10, constants_1.nsDecimals));
23
+ const executor = (owner) => __awaiter(void 0, void 0, void 0, function* () {
24
+ const client = (0, clients_1.getClientSui)();
25
+ const nfts = yield (0, getOwnedObjects_1.getOwnedObjects)(client, owner, {
26
+ filter: {
27
+ StructType: '0x220bca2187856d09aae578e2782b2b484049a32c755d20352e01236ba5368b63::distribution::NSWrapper',
28
+ },
29
+ });
30
+ let amount = 0;
31
+ if (nfts) {
32
+ const amounts = nfts.map((nft) => {
33
+ var _a, _b;
34
+ if ((_b = (_a = nft.data) === null || _a === void 0 ? void 0 : _a.content) === null || _b === void 0 ? void 0 : _b.fields) {
35
+ return (0, bignumber_js_1.default)(nft.data.content.fields.balance)
36
+ .dividedBy(deepFactor)
37
+ .toNumber();
38
+ }
39
+ return 0;
40
+ });
41
+ amount = amounts.reduce((am, curr) => curr + am, 0);
42
+ }
43
+ return (0, AirdropFetcher_1.getAirdropRaw)({
44
+ statics: constants_1.airdropStatics,
45
+ items: [
46
+ {
47
+ amount,
48
+ isClaimed: false,
49
+ label: 'NS',
50
+ address: constants_1.nsMint,
51
+ imageUri: constants_1.nsMint ? undefined : constants_1.platform.image,
52
+ },
53
+ ],
54
+ });
55
+ });
56
+ exports.airdropFetcher = {
57
+ id: constants_1.airdropStatics.id,
58
+ networkId: portfolio_core_1.NetworkId.sui,
59
+ executor,
60
+ };
61
+ // export const fetcher = airdropFetcherToFetcher(
62
+ // airdropFetcher,
63
+ // platform.id,
64
+ // 'deepbook-airdrop',
65
+ // airdropStatics.claimEnd
66
+ // );
67
+ //# sourceMappingURL=airdropFetcher.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"airdropFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/suins/airdropFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+DAAuD;AACvD,gEAAqC;AACrC,yDAI8B;AAC9B,2CAKqB;AACrB,iDAAmD;AACnD,qEAAkE;AAGlE,MAAM,UAAU,GAAG,IAAI,sBAAS,CAAC,SAAA,EAAE,EAAI,sBAAU,CAAA,CAAC,CAAC;AA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AAC;AACF,kDAAkD;AAClD,oBAAoB;AACpB,iBAAiB;AACjB,wBAAwB;AACxB,4BAA4B;AAC5B,KAAK"}
@@ -0,0 +1,7 @@
1
+ import { Platform } from '@sonarwatch/portfolio-core';
2
+ import { AirdropStatics } from '../../AirdropFetcher';
3
+ export declare const platformId = "suins";
4
+ export declare const platform: Platform;
5
+ export declare const airdropStatics: AirdropStatics;
6
+ export declare const nsMint: undefined;
7
+ export declare const nsDecimals = 6;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.nsDecimals = exports.nsMint = exports.airdropStatics = exports.platform = exports.platformId = void 0;
4
+ exports.platformId = 'suins';
5
+ exports.platform = {
6
+ id: exports.platformId,
7
+ name: 'Sui Name Service',
8
+ image: 'https://sonar.watch/img/platforms/suins.webp',
9
+ website: 'https://suins.io/',
10
+ twitter: 'https://x.com/suinsdapp',
11
+ defiLlamaId: 'suins', // from https://defillama.com/docs/api
12
+ };
13
+ exports.airdropStatics = {
14
+ claimLink: undefined,
15
+ emitterLink: 'https://token.suins.io/',
16
+ emitterName: 'Sui NS',
17
+ id: `${exports.platformId}-token-launch`,
18
+ image: 'https://sonar.watch/img/platforms/suins.webp',
19
+ claimEnd: undefined,
20
+ claimStart: undefined,
21
+ };
22
+ exports.nsMint = undefined;
23
+ exports.nsDecimals = 6;
24
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/suins/constants.ts"],"names":[],"mappings":";;;AAGa,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,kBAAkB;IACxB,KAAK,EAAE,8CAA8C;IACrD,OAAO,EAAE,mBAAmB;IAC5B,OAAO,EAAE,yBAAyB;IAClC,WAAW,EAAE,OAAO,EAAE,sCAAsC;CAC7D,CAAC;AACW,QAAA,cAAc,GAAmB;IAC5C,SAAS,EAAE,SAAS;IACpB,WAAW,EAAE,yBAAyB;IACtC,WAAW,EAAE,QAAQ;IACrB,EAAE,EAAE,GAAG,kBAAU,eAAe;IAChC,KAAK,EAAE,8CAA8C;IACrD,QAAQ,EAAE,SAAS;IACnB,UAAU,EAAE,SAAS;CACtB,CAAC;AAEW,QAAA,MAAM,GAAG,SAAS,CAAC;AACnB,QAAA,UAAU,GAAG,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { Platform } from '@sonarwatch/portfolio-core';
2
+ import { Fetcher } from '../../Fetcher';
3
+ import { Job } from '../../Job';
4
+ import { airdropFetcher } from './airdropFetcher';
5
+ export declare const platforms: Platform[];
6
+ export declare const jobs: Job[];
7
+ export declare const fetchers: Fetcher[];
8
+ export { airdropFetcher };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.airdropFetcher = exports.fetchers = exports.jobs = exports.platforms = void 0;
4
+ const constants_1 = require("./constants");
5
+ const airdropFetcher_1 = require("./airdropFetcher");
6
+ Object.defineProperty(exports, "airdropFetcher", { enumerable: true, get: function () { return airdropFetcher_1.airdropFetcher; } });
7
+ exports.platforms = [constants_1.platform];
8
+ exports.jobs = [];
9
+ exports.fetchers = [];
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/suins/index.ts"],"names":[],"mappings":";;;AAGA,2CAAuC;AACvC,qDAAkD;AAKzC,+FALA,+BAAc,OAKA;AAHV,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,EAAE,CAAC;AACjB,QAAA,QAAQ,GAAc,EAAE,CAAC"}
@@ -21,3 +21,9 @@ export type ObjectResponse<K> = SuiObjectResponse & {
21
21
  export type Event<K> = SuiEvent & {
22
22
  parsedJson?: K;
23
23
  };
24
+ export type AirdropWrapperNFT = {
25
+ balance: string;
26
+ id: {
27
+ id: string;
28
+ };
29
+ };