@heliofi/launchpad-common 1.6.1 → 1.6.3

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 (53) hide show
  1. package/dist/src/domain/model/hero-token/entities/HeroTokenResponse.d.ts +9 -0
  2. package/dist/src/domain/model/hero-token/entities/HeroTokenResponse.js +8 -0
  3. package/dist/src/domain/model/hero-token/entities/HeroTokenResponse.js.map +1 -0
  4. package/dist/src/domain/model/hero-token/entities/HeroTokenTradingData.d.ts +8 -0
  5. package/dist/src/domain/model/hero-token/entities/HeroTokenTradingData.js +8 -0
  6. package/dist/src/domain/model/hero-token/entities/HeroTokenTradingData.js.map +1 -0
  7. package/dist/src/domain/model/hero-token/entities/index.d.ts +2 -0
  8. package/dist/src/domain/model/hero-token/entities/index.js +19 -0
  9. package/dist/src/domain/model/hero-token/entities/index.js.map +1 -0
  10. package/dist/src/domain/model/hero-token/index.d.ts +1 -0
  11. package/dist/src/domain/model/hero-token/index.js +18 -0
  12. package/dist/src/domain/model/hero-token/index.js.map +1 -0
  13. package/dist/src/domain/model/index.d.ts +2 -0
  14. package/dist/src/domain/model/index.js +2 -0
  15. package/dist/src/domain/model/index.js.map +1 -1
  16. package/dist/src/domain/model/king-of-the-hill/entities/KingOfTheHillResponse.d.ts +9 -0
  17. package/dist/src/domain/model/king-of-the-hill/entities/KingOfTheHillResponse.js +8 -0
  18. package/dist/src/domain/model/king-of-the-hill/entities/KingOfTheHillResponse.js.map +1 -0
  19. package/dist/src/domain/model/king-of-the-hill/entities/index.d.ts +1 -0
  20. package/dist/src/domain/model/king-of-the-hill/entities/index.js +18 -0
  21. package/dist/src/domain/model/king-of-the-hill/entities/index.js.map +1 -0
  22. package/dist/src/domain/model/king-of-the-hill/index.d.ts +1 -0
  23. package/dist/src/domain/model/king-of-the-hill/index.js +18 -0
  24. package/dist/src/domain/model/king-of-the-hill/index.js.map +1 -0
  25. package/dist/src/domain/model/raydium-swap/dtos/RaydiumSwapGetCLMMPrice.dto.d.ts +5 -0
  26. package/dist/src/domain/model/raydium-swap/dtos/RaydiumSwapGetCLMMPrice.dto.js +35 -0
  27. package/dist/src/domain/model/raydium-swap/dtos/RaydiumSwapGetCLMMPrice.dto.js.map +1 -0
  28. package/dist/src/domain/model/raydium-swap/dtos/RaydiumSwapPrepareCLMM.dto.d.ts +12 -0
  29. package/dist/src/domain/model/raydium-swap/dtos/RaydiumSwapPrepareCLMM.dto.js +68 -0
  30. package/dist/src/domain/model/raydium-swap/dtos/RaydiumSwapPrepareCLMM.dto.js.map +1 -0
  31. package/dist/src/domain/model/shared/ControllerPaginatedResponse.interface.d.ts +8 -0
  32. package/dist/src/domain/model/shared/ControllerPaginatedResponse.interface.js +3 -0
  33. package/dist/src/domain/model/shared/ControllerPaginatedResponse.interface.js.map +1 -0
  34. package/dist/src/domain/model/shared/TransformerPaginatedResponse.interface.d.ts +9 -0
  35. package/dist/src/domain/model/shared/TransformerPaginatedResponse.interface.js +3 -0
  36. package/dist/src/domain/model/shared/TransformerPaginatedResponse.interface.js.map +1 -0
  37. package/dist/src/domain/model/shared/index.d.ts +1 -0
  38. package/dist/src/domain/model/shared/index.js +18 -0
  39. package/dist/src/domain/model/shared/index.js.map +1 -0
  40. package/dist/src/domain/model/token-pair/entities/TokenPair.entity.d.ts +1 -0
  41. package/dist/src/domain/model/token-pair/entities/TokenPair.entity.js.map +1 -1
  42. package/dist/src/domain/model/token-pair/entities/TokenPairWithMetadata.entity.d.ts +3 -0
  43. package/dist/src/domain/model/token-pair/entities/TokenPairWithMetadata.entity.js.map +1 -1
  44. package/dist/src/domain/model/trading-data/entities/KingOfTheHillData.d.ts +7 -0
  45. package/dist/src/domain/model/trading-data/entities/KingOfTheHillData.js +8 -0
  46. package/dist/src/domain/model/trading-data/entities/KingOfTheHillData.js.map +1 -0
  47. package/dist/src/domain/model/trading-data/entities/KingOfTheHillTradingData.d.ts +8 -0
  48. package/dist/src/domain/model/trading-data/entities/KingOfTheHillTradingData.js +8 -0
  49. package/dist/src/domain/model/trading-data/entities/KingOfTheHillTradingData.js.map +1 -0
  50. package/dist/src/utils/numbers.js +0 -1
  51. package/dist/src/utils/numbers.js.map +1 -1
  52. package/dist/tsconfig.tsbuildinfo +1 -1
  53. package/package.json +2 -2
@@ -0,0 +1,9 @@
1
+ import { Entity } from '../../entity';
2
+ export declare class HeroTokenResponse extends Entity {
3
+ mintAddress: string;
4
+ symbol: string;
5
+ name: string;
6
+ icon?: string;
7
+ commentCount: number;
8
+ marketcap: number;
9
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HeroTokenResponse = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class HeroTokenResponse extends entity_1.Entity {
6
+ }
7
+ exports.HeroTokenResponse = HeroTokenResponse;
8
+ //# sourceMappingURL=HeroTokenResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeroTokenResponse.js","sourceRoot":"","sources":["../../../../../../src/domain/model/hero-token/entities/HeroTokenResponse.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,iBAAkB,SAAQ,eAAM;CAY5C;AAZD,8CAYC"}
@@ -0,0 +1,8 @@
1
+ import { Entity } from '../../entity';
2
+ export declare class HeroTokenTradingData extends Entity {
3
+ blockNumber: number;
4
+ blockTimestamp: string;
5
+ tokenMintAddress: string;
6
+ progressBps: number;
7
+ marketCapUSDDecimal: number;
8
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HeroTokenTradingData = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class HeroTokenTradingData extends entity_1.Entity {
6
+ }
7
+ exports.HeroTokenTradingData = HeroTokenTradingData;
8
+ //# sourceMappingURL=HeroTokenTradingData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeroTokenTradingData.js","sourceRoot":"","sources":["../../../../../../src/domain/model/hero-token/entities/HeroTokenTradingData.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,oBAAqB,SAAQ,eAAM;CAU/C;AAVD,oDAUC"}
@@ -0,0 +1,2 @@
1
+ export * from './HeroTokenResponse';
2
+ export * from './HeroTokenTradingData';
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./HeroTokenResponse"), exports);
18
+ __exportStar(require("./HeroTokenTradingData"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/hero-token/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,yDAAuC"}
@@ -0,0 +1 @@
1
+ export * from './entities';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/hero-token/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
@@ -32,3 +32,5 @@ export * from './auth-transaction-builder';
32
32
  export * from './fun';
33
33
  export * from './trading-data';
34
34
  export * from './query';
35
+ export * from './hero-token';
36
+ export * from './shared';
@@ -48,4 +48,6 @@ __exportStar(require("./auth-transaction-builder"), exports);
48
48
  __exportStar(require("./fun"), exports);
49
49
  __exportStar(require("./trading-data"), exports);
50
50
  __exportStar(require("./query"), exports);
51
+ __exportStar(require("./hero-token"), exports);
52
+ __exportStar(require("./shared"), exports);
51
53
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/model/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,+CAA6B;AAC7B,sDAAoC;AACpC,wCAAsB;AACtB,6CAA2B;AAC3B,0CAAwB;AACxB,4CAA0B;AAC1B,yCAAuB;AACvB,yCAAuB;AACvB,+CAA6B;AAC7B,uCAAqB;AACrB,qDAAmC;AACnC,iDAA+B;AAC/B,sDAAoC;AACpC,0DAAwC;AACxC,iDAA+B;AAC/B,+CAA6B;AAC7B,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,4CAA0B;AAC1B,0CAAwB;AACxB,4CAA0B;AAC1B,oDAAkC;AAClC,mDAAiC;AACjC,iDAA+B;AAC/B,0CAAwB;AACxB,yCAAuB;AACvB,yCAAuB;AACvB,0CAAwB;AACxB,6DAA2C;AAC3C,wCAAsB;AACtB,iDAA+B;AAC/B,0CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/model/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,+CAA6B;AAC7B,sDAAoC;AACpC,wCAAsB;AACtB,6CAA2B;AAC3B,0CAAwB;AACxB,4CAA0B;AAC1B,yCAAuB;AACvB,yCAAuB;AACvB,+CAA6B;AAC7B,uCAAqB;AACrB,qDAAmC;AACnC,iDAA+B;AAC/B,sDAAoC;AACpC,0DAAwC;AACxC,iDAA+B;AAC/B,+CAA6B;AAC7B,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,4CAA0B;AAC1B,0CAAwB;AACxB,4CAA0B;AAC1B,oDAAkC;AAClC,mDAAiC;AACjC,iDAA+B;AAC/B,0CAAwB;AACxB,yCAAuB;AACvB,yCAAuB;AACvB,0CAAwB;AACxB,6DAA2C;AAC3C,wCAAsB;AACtB,iDAA+B;AAC/B,0CAAwB;AACxB,+CAA6B;AAC7B,2CAAyB"}
@@ -0,0 +1,9 @@
1
+ import { Entity } from '../../entity';
2
+ export declare class KingOfTheHillResponse extends Entity {
3
+ mintAddress: string;
4
+ symbol: string;
5
+ name: string;
6
+ icon?: string;
7
+ commentCount: number;
8
+ marketcap: number;
9
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.KingOfTheHillResponse = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class KingOfTheHillResponse extends entity_1.Entity {
6
+ }
7
+ exports.KingOfTheHillResponse = KingOfTheHillResponse;
8
+ //# sourceMappingURL=KingOfTheHillResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KingOfTheHillResponse.js","sourceRoot":"","sources":["../../../../../../src/domain/model/king-of-the-hill/entities/KingOfTheHillResponse.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,qBAAsB,SAAQ,eAAM;CAYhD;AAZD,sDAYC"}
@@ -0,0 +1 @@
1
+ export * from './KingOfTheHillResponse';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./KingOfTheHillResponse"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/king-of-the-hill/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC"}
@@ -0,0 +1 @@
1
+ export * from './entities';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/king-of-the-hill/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
@@ -0,0 +1,5 @@
1
+ export declare class RaydiumSwapGetPriceCLMMDto {
2
+ poolId: string;
3
+ mintFrom: string;
4
+ amountIn: string;
5
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.RaydiumSwapGetPriceCLMMDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const validations_1 = require("../../../validations");
16
+ class RaydiumSwapGetPriceCLMMDto {
17
+ }
18
+ __decorate([
19
+ (0, class_validator_1.IsString)(),
20
+ (0, class_validator_1.IsNotEmpty)(),
21
+ __metadata("design:type", String)
22
+ ], RaydiumSwapGetPriceCLMMDto.prototype, "poolId", void 0);
23
+ __decorate([
24
+ (0, class_validator_1.IsString)(),
25
+ (0, class_validator_1.IsNotEmpty)(),
26
+ __metadata("design:type", String)
27
+ ], RaydiumSwapGetPriceCLMMDto.prototype, "mintFrom", void 0);
28
+ __decorate([
29
+ (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
30
+ (0, class_validator_1.IsNotEmpty)(),
31
+ (0, class_validator_1.Validate)(validations_1.MinBigInt),
32
+ __metadata("design:type", String)
33
+ ], RaydiumSwapGetPriceCLMMDto.prototype, "amountIn", void 0);
34
+ exports.RaydiumSwapGetPriceCLMMDto = RaydiumSwapGetPriceCLMMDto;
35
+ //# sourceMappingURL=RaydiumSwapGetCLMMPrice.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RaydiumSwapGetCLMMPrice.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/raydium-swap/dtos/RaydiumSwapGetCLMMPrice.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAAiE;AACjE,sDAAiD;AAEjD,MAAa,0BAA0B;CAatC;AAZC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACI;AAEjB;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,uBAAS,CAAC;;4DACH;AAZnB,gEAaC"}
@@ -0,0 +1,12 @@
1
+ import { TxPriorityDto } from '../../tx';
2
+ export declare class RaydiumSwapPrepareCLMMDto {
3
+ sender: string;
4
+ poolId: string;
5
+ mintFrom: string;
6
+ amountIn: string;
7
+ amountOut: string;
8
+ feeAmount: string;
9
+ feeMintAddress: string;
10
+ priorityFee?: number;
11
+ priority?: TxPriorityDto;
12
+ }
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.RaydiumSwapPrepareCLMMDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const validations_1 = require("../../../validations");
16
+ const tx_1 = require("../../tx");
17
+ class RaydiumSwapPrepareCLMMDto {
18
+ }
19
+ __decorate([
20
+ (0, class_validator_1.IsString)(),
21
+ (0, class_validator_1.IsNotEmpty)(),
22
+ __metadata("design:type", String)
23
+ ], RaydiumSwapPrepareCLMMDto.prototype, "sender", void 0);
24
+ __decorate([
25
+ (0, class_validator_1.IsString)(),
26
+ (0, class_validator_1.IsNotEmpty)(),
27
+ __metadata("design:type", String)
28
+ ], RaydiumSwapPrepareCLMMDto.prototype, "poolId", void 0);
29
+ __decorate([
30
+ (0, class_validator_1.IsString)(),
31
+ (0, class_validator_1.IsNotEmpty)(),
32
+ __metadata("design:type", String)
33
+ ], RaydiumSwapPrepareCLMMDto.prototype, "mintFrom", void 0);
34
+ __decorate([
35
+ (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
36
+ (0, class_validator_1.IsNotEmpty)(),
37
+ (0, class_validator_1.Validate)(validations_1.MinBigInt),
38
+ __metadata("design:type", String)
39
+ ], RaydiumSwapPrepareCLMMDto.prototype, "amountIn", void 0);
40
+ __decorate([
41
+ (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
42
+ (0, class_validator_1.IsNotEmpty)(),
43
+ (0, class_validator_1.Validate)(validations_1.MinBigInt),
44
+ __metadata("design:type", String)
45
+ ], RaydiumSwapPrepareCLMMDto.prototype, "amountOut", void 0);
46
+ __decorate([
47
+ (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
48
+ (0, class_validator_1.IsNotEmpty)(),
49
+ __metadata("design:type", String)
50
+ ], RaydiumSwapPrepareCLMMDto.prototype, "feeAmount", void 0);
51
+ __decorate([
52
+ (0, class_validator_1.IsString)(),
53
+ (0, class_validator_1.IsNotEmpty)(),
54
+ __metadata("design:type", String)
55
+ ], RaydiumSwapPrepareCLMMDto.prototype, "feeMintAddress", void 0);
56
+ __decorate([
57
+ (0, class_validator_1.IsNumber)(),
58
+ (0, class_validator_1.IsOptional)(),
59
+ __metadata("design:type", Number)
60
+ ], RaydiumSwapPrepareCLMMDto.prototype, "priorityFee", void 0);
61
+ __decorate([
62
+ (0, class_transformer_1.Type)(() => tx_1.TxPriorityDto),
63
+ (0, class_validator_1.ValidateNested)(),
64
+ (0, class_validator_1.IsOptional)(),
65
+ __metadata("design:type", tx_1.TxPriorityDto)
66
+ ], RaydiumSwapPrepareCLMMDto.prototype, "priority", void 0);
67
+ exports.RaydiumSwapPrepareCLMMDto = RaydiumSwapPrepareCLMMDto;
68
+ //# sourceMappingURL=RaydiumSwapPrepareCLMM.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RaydiumSwapPrepareCLMM.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/raydium-swap/dtos/RaydiumSwapPrepareCLMM.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAoD;AACpD,qDAOyB;AACzB,sDAAiD;AACjD,iCAAyC;AAEzC,MAAa,yBAAyB;CAuCrC;AAtCC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACI;AAEjB;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,uBAAS,CAAC;;2DACH;AAEjB;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,uBAAS,CAAC;;4DACF;AAElB;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvC,IAAA,4BAAU,GAAE;;4DACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACU;AAEvB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8DACQ;AAErB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAa,CAAC;IACzB,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACF,kBAAa;2DAAC;AAtC3B,8DAuCC"}
@@ -0,0 +1,8 @@
1
+ export interface ControllerPaginatedResponse<T> {
2
+ data: T[];
3
+ pagination: {
4
+ page: number;
5
+ total: number;
6
+ pageSize: number;
7
+ };
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ControllerPaginatedResponse.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ControllerPaginatedResponse.interface.js","sourceRoot":"","sources":["../../../../../src/domain/model/shared/ControllerPaginatedResponse.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ export interface TransformerPaginatedResponse<T> {
2
+ data: T[];
3
+ pagination: {
4
+ page: number;
5
+ pageSize: number;
6
+ total: number;
7
+ totalPages: number;
8
+ };
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=TransformerPaginatedResponse.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TransformerPaginatedResponse.interface.js","sourceRoot":"","sources":["../../../../../src/domain/model/shared/TransformerPaginatedResponse.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export * from './TransformerPaginatedResponse.interface';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./TransformerPaginatedResponse.interface"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/shared/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2EAAyD"}
@@ -26,4 +26,5 @@ export declare class TokenPair extends Entity {
26
26
  x?: string;
27
27
  telegram?: string;
28
28
  discord?: string;
29
+ createdAt: Date;
29
30
  }
@@ -1 +1 @@
1
- {"version":3,"file":"TokenPair.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/token-pair/entities/TokenPair.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAMtC,MAAa,SAAU,SAAQ,eAAM;CA4CpC;AA5CD,8BA4CC"}
1
+ {"version":3,"file":"TokenPair.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/token-pair/entities/TokenPair.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAMtC,MAAa,SAAU,SAAQ,eAAM;CA8CpC;AA9CD,8BA8CC"}
@@ -3,6 +3,7 @@ import { CurveType, MigrationDex } from '../../../constants';
3
3
  export declare class TokenPairWithMetadata extends Entity {
4
4
  id: string;
5
5
  curve: CurveType;
6
+ curveAddress: string;
6
7
  mintAddress: string;
7
8
  collateralMintAddress: string;
8
9
  symbol: string;
@@ -10,6 +11,7 @@ export declare class TokenPairWithMetadata extends Entity {
10
11
  poolId?: string;
11
12
  migrationDex?: MigrationDex;
12
13
  name: string;
14
+ creatorPk: string;
13
15
  description?: string;
14
16
  icon?: string;
15
17
  banner?: string;
@@ -17,4 +19,5 @@ export declare class TokenPairWithMetadata extends Entity {
17
19
  x?: string;
18
20
  telegram?: string;
19
21
  discord?: string;
22
+ createdAt: Date;
20
23
  }
@@ -1 +1 @@
1
- {"version":3,"file":"TokenPairWithMetadata.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/token-pair/entities/TokenPairWithMetadata.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,qBAAsB,SAAQ,eAAM;CAgChD;AAhCD,sDAgCC"}
1
+ {"version":3,"file":"TokenPairWithMetadata.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/token-pair/entities/TokenPairWithMetadata.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,qBAAsB,SAAQ,eAAM;CAsChD;AAtCD,sDAsCC"}
@@ -0,0 +1,7 @@
1
+ import { Entity } from '../../entity';
2
+ export declare class KingOfTheHillData extends Entity {
3
+ blockNumber: number;
4
+ blockTimestamp: string;
5
+ tokenMintAddress: string;
6
+ progressBps: number;
7
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.KingOfTheHillData = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class KingOfTheHillData extends entity_1.Entity {
6
+ }
7
+ exports.KingOfTheHillData = KingOfTheHillData;
8
+ //# sourceMappingURL=KingOfTheHillData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KingOfTheHillData.js","sourceRoot":"","sources":["../../../../../../src/domain/model/trading-data/entities/KingOfTheHillData.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,iBAAkB,SAAQ,eAAM;CAQ5C;AARD,8CAQC"}
@@ -0,0 +1,8 @@
1
+ import { Entity } from '../../entity';
2
+ export declare class KingOfTheHillTradingData extends Entity {
3
+ blockNumber: number;
4
+ blockTimestamp: string;
5
+ tokenMintAddress: string;
6
+ progressBps: number;
7
+ marketCapUSDDecimal: number;
8
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.KingOfTheHillTradingData = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class KingOfTheHillTradingData extends entity_1.Entity {
6
+ }
7
+ exports.KingOfTheHillTradingData = KingOfTheHillTradingData;
8
+ //# sourceMappingURL=KingOfTheHillTradingData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KingOfTheHillTradingData.js","sourceRoot":"","sources":["../../../../../../src/domain/model/trading-data/entities/KingOfTheHillTradingData.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,wBAAyB,SAAQ,eAAM;CAUnD;AAVD,4DAUC"}
@@ -13,5 +13,4 @@ const bigNumberToBigInt = (value) => {
13
13
  return BigInt(value.integerValue(bignumber_js_1.default.ROUND_FLOOR).toFixed(0));
14
14
  };
15
15
  exports.bigNumberToBigInt = bigNumberToBigInt;
16
- const tmp = 0;
17
16
  //# sourceMappingURL=numbers.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"numbers.js","sourceRoot":"","sources":["../../../src/utils/numbers.ts"],"names":[],"mappings":";;;;;;AAAA,gEAAqC;AAE9B,MAAM,iBAAiB,GAAG,CAAC,KAAa,EAAa,EAAE;IAC5D,OAAO,IAAA,sBAAS,EAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;AACrC,CAAC,CAAC;AAFW,QAAA,iBAAiB,qBAE5B;AAEK,MAAM,iBAAiB,GAAG,CAAC,KAAgB,EAAU,EAAE;IAC5D,OAAO,MAAM,CAAC,KAAK,CAAC,YAAY,CAAC,sBAAS,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;AACtE,CAAC,CAAC;AAFW,QAAA,iBAAiB,qBAE5B;AAGF,MAAM,GAAG,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"numbers.js","sourceRoot":"","sources":["../../../src/utils/numbers.ts"],"names":[],"mappings":";;;;;;AAAA,gEAAqC;AAE9B,MAAM,iBAAiB,GAAG,CAAC,KAAa,EAAa,EAAE;IAC5D,OAAO,IAAA,sBAAS,EAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;AACrC,CAAC,CAAC;AAFW,QAAA,iBAAiB,qBAE5B;AAEK,MAAM,iBAAiB,GAAG,CAAC,KAAgB,EAAU,EAAE;IAC5D,OAAO,MAAM,CAAC,KAAK,CAAC,YAAY,CAAC,sBAAS,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;AACtE,CAAC,CAAC;AAFW,QAAA,iBAAiB,qBAE5B"}