@heliofi/launchpad-common 1.4.0 → 1.5.1

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 (137) hide show
  1. package/dist/src/domain/constants/ProtocolVersion.d.ts +4 -3
  2. package/dist/src/domain/constants/ProtocolVersion.js +2 -1
  3. package/dist/src/domain/constants/ProtocolVersion.js.map +1 -1
  4. package/dist/src/domain/constants/blockchain.d.ts +4 -1
  5. package/dist/src/domain/constants/blockchain.js +6 -1
  6. package/dist/src/domain/constants/blockchain.js.map +1 -1
  7. package/dist/src/domain/constants/chainId.d.ts +7 -1
  8. package/dist/src/domain/constants/chainId.js +6 -0
  9. package/dist/src/domain/constants/chainId.js.map +1 -1
  10. package/dist/src/domain/constants/configPartner.d.ts +4 -0
  11. package/dist/src/domain/constants/configPartner.js +9 -0
  12. package/dist/src/domain/constants/configPartner.js.map +1 -0
  13. package/dist/src/domain/constants/currency.d.ts +2 -1
  14. package/dist/src/domain/constants/currency.js +4 -0
  15. package/dist/src/domain/constants/currency.js.map +1 -1
  16. package/dist/src/domain/constants/curveType.d.ts +3 -2
  17. package/dist/src/domain/constants/curveType.js +3 -2
  18. package/dist/src/domain/constants/curveType.js.map +1 -1
  19. package/dist/src/domain/constants/feeFeature.d.ts +6 -0
  20. package/dist/src/domain/constants/feeFeature.js +11 -0
  21. package/dist/src/domain/constants/feeFeature.js.map +1 -0
  22. package/dist/src/domain/constants/index.d.ts +3 -0
  23. package/dist/src/domain/constants/index.js +3 -0
  24. package/dist/src/domain/constants/index.js.map +1 -1
  25. package/dist/src/domain/constants/meteoraFees.d.ts +2 -2
  26. package/dist/src/domain/constants/meteoraFees.js +2 -2
  27. package/dist/src/domain/constants/meteoraFees.js.map +1 -1
  28. package/dist/src/domain/constants/meteoraPoolType.d.ts +4 -0
  29. package/dist/src/domain/constants/meteoraPoolType.js +9 -0
  30. package/dist/src/domain/constants/meteoraPoolType.js.map +1 -0
  31. package/dist/src/domain/constants/migrationDex.js +6 -0
  32. package/dist/src/domain/constants/migrationDex.js.map +1 -1
  33. package/dist/src/domain/constants/partner.d.ts +2 -1
  34. package/dist/src/domain/constants/partner.js +2 -1
  35. package/dist/src/domain/constants/partner.js.map +1 -1
  36. package/dist/src/domain/constants/pumpFun.d.ts +3 -0
  37. package/dist/src/domain/constants/pumpFun.js +7 -0
  38. package/dist/src/domain/constants/pumpFun.js.map +1 -0
  39. package/dist/src/domain/constants/tokenType.d.ts +2 -1
  40. package/dist/src/domain/constants/tokenType.js +1 -0
  41. package/dist/src/domain/constants/tokenType.js.map +1 -1
  42. package/dist/src/domain/curves/AbstractCurve.d.ts +1 -2
  43. package/dist/src/domain/curves/AbstractCurve.js.map +1 -1
  44. package/dist/src/domain/curves/BaseCurve.d.ts +2 -1
  45. package/dist/src/domain/curves/BaseCurve.js.map +1 -1
  46. package/dist/src/domain/curves/BeraConstantProductCurveV1.d.ts +12 -0
  47. package/dist/src/domain/curves/BeraConstantProductCurveV1.js +30 -0
  48. package/dist/src/domain/curves/BeraConstantProductCurveV1.js.map +1 -0
  49. package/dist/src/domain/curves/ConstantProductCurveV1.d.ts +20 -3
  50. package/dist/src/domain/curves/ConstantProductCurveV1.js +122 -11
  51. package/dist/src/domain/curves/ConstantProductCurveV1.js.map +1 -1
  52. package/dist/src/domain/curves/LinearCurveV1.d.ts +1 -0
  53. package/dist/src/domain/curves/LinearCurveV1.js +3 -0
  54. package/dist/src/domain/curves/LinearCurveV1.js.map +1 -1
  55. package/dist/src/domain/curves/PumpCurveV1.d.ts +23 -0
  56. package/dist/src/domain/curves/PumpCurveV1.js +107 -0
  57. package/dist/src/domain/curves/PumpCurveV1.js.map +1 -0
  58. package/dist/src/domain/curves/SonicConstantProductCurveV1.d.ts +12 -0
  59. package/dist/src/domain/curves/SonicConstantProductCurveV1.js +30 -0
  60. package/dist/src/domain/curves/SonicConstantProductCurveV1.js.map +1 -0
  61. package/dist/src/domain/curves/getCurve.js +4 -0
  62. package/dist/src/domain/curves/getCurve.js.map +1 -1
  63. package/dist/src/domain/curves/getDefaultCurveByBlockchain.d.ts +5 -0
  64. package/dist/src/domain/curves/getDefaultCurveByBlockchain.js +24 -0
  65. package/dist/src/domain/curves/getDefaultCurveByBlockchain.js.map +1 -0
  66. package/dist/src/domain/curves/index.d.ts +3 -5
  67. package/dist/src/domain/curves/index.js +3 -5
  68. package/dist/src/domain/curves/index.js.map +1 -1
  69. package/dist/src/domain/curves/tests/PumpFunCurveV1.spec.d.ts +1 -0
  70. package/dist/src/domain/curves/tests/PumpFunCurveV1.spec.js +68 -0
  71. package/dist/src/domain/curves/tests/PumpFunCurveV1.spec.js.map +1 -0
  72. package/dist/src/domain/curves/types.d.ts +1 -3
  73. package/dist/src/domain/curves/types.js +0 -6
  74. package/dist/src/domain/curves/types.js.map +1 -1
  75. package/dist/src/domain/model/boost/dtos/BoostPriority.dto.d.ts +4 -0
  76. package/dist/src/domain/model/boost/dtos/BoostPriority.dto.js +30 -0
  77. package/dist/src/domain/model/boost/dtos/BoostPriority.dto.js.map +1 -0
  78. package/dist/src/domain/model/boost/dtos/BoostSubmit.dto.d.ts +6 -0
  79. package/dist/src/domain/model/boost/dtos/BoostSubmit.dto.js +35 -0
  80. package/dist/src/domain/model/boost/dtos/BoostSubmit.dto.js.map +1 -0
  81. package/dist/src/domain/model/boost/dtos/index.d.ts +2 -0
  82. package/dist/src/domain/model/boost/dtos/index.js +19 -0
  83. package/dist/src/domain/model/boost/dtos/index.js.map +1 -0
  84. package/dist/src/domain/model/boost/entities/BoostSubmitResponse.entity.d.ts +6 -0
  85. package/dist/src/domain/model/boost/entities/BoostSubmitResponse.entity.js +8 -0
  86. package/dist/src/domain/model/boost/entities/BoostSubmitResponse.entity.js.map +1 -0
  87. package/dist/src/domain/model/boost/entities/BoostTipWalletsResponse.entity.d.ts +4 -0
  88. package/dist/src/domain/model/boost/entities/BoostTipWalletsResponse.entity.js +8 -0
  89. package/dist/src/domain/model/boost/entities/BoostTipWalletsResponse.entity.js.map +1 -0
  90. package/dist/src/domain/model/boost/entities/index.d.ts +2 -0
  91. package/dist/src/domain/model/boost/entities/index.js +19 -0
  92. package/dist/src/domain/model/boost/entities/index.js.map +1 -0
  93. package/dist/src/domain/model/boost/index.d.ts +2 -0
  94. package/dist/src/domain/model/boost/index.js +19 -0
  95. package/dist/src/domain/model/boost/index.js.map +1 -0
  96. package/dist/src/domain/model/curve/dtos/CreateCurve.dto.d.ts +0 -2
  97. package/dist/src/domain/model/curve/dtos/CreateCurve.dto.js +0 -9
  98. package/dist/src/domain/model/curve/dtos/CreateCurve.dto.js.map +1 -1
  99. package/dist/src/domain/model/curve/entities/Curve.entity.d.ts +0 -2
  100. package/dist/src/domain/model/curve/entities/Curve.entity.js.map +1 -1
  101. package/dist/src/domain/model/index.d.ts +2 -0
  102. package/dist/src/domain/model/index.js +2 -0
  103. package/dist/src/domain/model/index.js.map +1 -1
  104. package/dist/src/domain/model/mint/create/dtos/CreateMint.dto.d.ts +1 -4
  105. package/dist/src/domain/model/mint/create/dtos/CreateMint.dto.js +0 -15
  106. package/dist/src/domain/model/mint/create/dtos/CreateMint.dto.js.map +1 -1
  107. package/dist/src/domain/model/pumpfun-swap/dtos/PumpFunSwapGetPrice.dto.d.ts +5 -0
  108. package/dist/src/domain/model/pumpfun-swap/dtos/PumpFunSwapGetPrice.dto.js +35 -0
  109. package/dist/src/domain/model/pumpfun-swap/dtos/PumpFunSwapGetPrice.dto.js.map +1 -0
  110. package/dist/src/domain/model/pumpfun-swap/dtos/PumpFunSwapPrepare.dto.d.ts +14 -0
  111. package/dist/src/domain/model/pumpfun-swap/dtos/PumpFunSwapPrepare.dto.js +75 -0
  112. package/dist/src/domain/model/pumpfun-swap/dtos/PumpFunSwapPrepare.dto.js.map +1 -0
  113. package/dist/src/domain/model/pumpfun-swap/dtos/PumpFunSwapSubmit.dto.d.ts +4 -0
  114. package/dist/src/domain/model/pumpfun-swap/dtos/PumpFunSwapSubmit.dto.js +27 -0
  115. package/dist/src/domain/model/pumpfun-swap/dtos/PumpFunSwapSubmit.dto.js.map +1 -0
  116. package/dist/src/domain/model/pumpfun-swap/dtos/index.d.ts +3 -0
  117. package/dist/src/domain/model/pumpfun-swap/dtos/index.js +20 -0
  118. package/dist/src/domain/model/pumpfun-swap/dtos/index.js.map +1 -0
  119. package/dist/src/domain/model/pumpfun-swap/entities/PumpFunSwapGetPriceResponse.entity.d.ts +4 -0
  120. package/dist/src/domain/model/pumpfun-swap/entities/PumpFunSwapGetPriceResponse.entity.js +8 -0
  121. package/dist/src/domain/model/pumpfun-swap/entities/PumpFunSwapGetPriceResponse.entity.js.map +1 -0
  122. package/dist/src/domain/model/pumpfun-swap/entities/PumpFunSwapPrepareResponse.entity.d.ts +5 -0
  123. package/dist/src/domain/model/pumpfun-swap/entities/PumpFunSwapPrepareResponse.entity.js +8 -0
  124. package/dist/src/domain/model/pumpfun-swap/entities/PumpFunSwapPrepareResponse.entity.js.map +1 -0
  125. package/dist/src/domain/model/pumpfun-swap/entities/PumpFunSwapSubmitResponse.entity.d.ts +6 -0
  126. package/dist/src/domain/model/pumpfun-swap/entities/PumpFunSwapSubmitResponse.entity.js +8 -0
  127. package/dist/src/domain/model/pumpfun-swap/entities/PumpFunSwapSubmitResponse.entity.js.map +1 -0
  128. package/dist/src/domain/model/pumpfun-swap/entities/index.d.ts +3 -0
  129. package/dist/src/domain/model/pumpfun-swap/entities/index.js +20 -0
  130. package/dist/src/domain/model/pumpfun-swap/entities/index.js.map +1 -0
  131. package/dist/src/domain/model/pumpfun-swap/index.d.ts +2 -0
  132. package/dist/src/domain/model/pumpfun-swap/index.js +19 -0
  133. package/dist/src/domain/model/pumpfun-swap/index.js.map +1 -0
  134. package/dist/src/domain/services/AmountService.js +1 -1
  135. package/dist/src/domain/services/AmountService.js.map +1 -1
  136. package/dist/tsconfig.tsbuildinfo +1 -1
  137. package/package.json +3 -3
@@ -0,0 +1,4 @@
1
+ export declare class BoostPriorityDto {
2
+ tipAmount: string;
3
+ frontRunningProtection?: boolean;
4
+ }
@@ -0,0 +1,30 @@
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.BoostPriorityDto = 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 BoostPriorityDto {
17
+ }
18
+ __decorate([
19
+ (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
20
+ (0, class_validator_1.IsNotEmpty)(),
21
+ (0, class_validator_1.Validate)(validations_1.MinBigInt),
22
+ __metadata("design:type", String)
23
+ ], BoostPriorityDto.prototype, "tipAmount", void 0);
24
+ __decorate([
25
+ (0, class_validator_1.IsBoolean)(),
26
+ (0, class_validator_1.IsOptional)(),
27
+ __metadata("design:type", Boolean)
28
+ ], BoostPriorityDto.prototype, "frontRunningProtection", void 0);
29
+ exports.BoostPriorityDto = BoostPriorityDto;
30
+ //# sourceMappingURL=BoostPriority.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BoostPriority.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/boost/dtos/BoostPriority.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAA8E;AAC9E,sDAAiD;AAEjD,MAAa,gBAAgB;CAS5B;AARC;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;;mDACF;AAElB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gEACoB;AARnC,4CASC"}
@@ -0,0 +1,6 @@
1
+ import { BoostPriorityDto } from './BoostPriority.dto';
2
+ export declare class BoostSubmitDto {
3
+ transaction: string;
4
+ priority: BoostPriorityDto;
5
+ waitForConfirmation?: boolean;
6
+ }
@@ -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.BoostSubmitDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const class_transformer_1 = require("class-transformer");
15
+ const BoostPriority_dto_1 = require("./BoostPriority.dto");
16
+ class BoostSubmitDto {
17
+ }
18
+ __decorate([
19
+ (0, class_validator_1.IsString)(),
20
+ (0, class_validator_1.IsNotEmpty)(),
21
+ __metadata("design:type", String)
22
+ ], BoostSubmitDto.prototype, "transaction", void 0);
23
+ __decorate([
24
+ (0, class_transformer_1.Type)(() => BoostPriority_dto_1.BoostPriorityDto),
25
+ (0, class_validator_1.IsNotEmpty)(),
26
+ (0, class_validator_1.ValidateNested)(),
27
+ __metadata("design:type", BoostPriority_dto_1.BoostPriorityDto)
28
+ ], BoostSubmitDto.prototype, "priority", void 0);
29
+ __decorate([
30
+ (0, class_validator_1.IsBoolean)(),
31
+ (0, class_validator_1.IsOptional)(),
32
+ __metadata("design:type", Boolean)
33
+ ], BoostSubmitDto.prototype, "waitForConfirmation", void 0);
34
+ exports.BoostSubmitDto = BoostSubmitDto;
35
+ //# sourceMappingURL=BoostSubmit.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BoostSubmit.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/boost/dtos/BoostSubmit.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,yDAAyC;AACzC,2DAAuD;AAEvD,MAAa,cAAc;CAa1B;AAZC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACO;AAEpB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;IAC5B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACP,oCAAgB;gDAAC;AAE3B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACiB;AAZhC,wCAaC"}
@@ -0,0 +1,2 @@
1
+ export * from './BoostSubmit.dto';
2
+ export * from './BoostPriority.dto';
@@ -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("./BoostSubmit.dto"), exports);
18
+ __exportStar(require("./BoostPriority.dto"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/boost/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,sDAAoC"}
@@ -0,0 +1,6 @@
1
+ import { Entity } from '../../entity';
2
+ import { TxStatus } from '../../../constants';
3
+ export declare class BoostSubmitResponse extends Entity {
4
+ transactionSignature: string;
5
+ status: TxStatus;
6
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BoostSubmitResponse = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class BoostSubmitResponse extends entity_1.Entity {
6
+ }
7
+ exports.BoostSubmitResponse = BoostSubmitResponse;
8
+ //# sourceMappingURL=BoostSubmitResponse.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BoostSubmitResponse.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/boost/entities/BoostSubmitResponse.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,mBAAoB,SAAQ,eAAM;CAI9C;AAJD,kDAIC"}
@@ -0,0 +1,4 @@
1
+ import { Entity } from '../../entity';
2
+ export declare class BoostTipWalletsResponse extends Entity {
3
+ wallets: string[];
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BoostTipWalletsResponse = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class BoostTipWalletsResponse extends entity_1.Entity {
6
+ }
7
+ exports.BoostTipWalletsResponse = BoostTipWalletsResponse;
8
+ //# sourceMappingURL=BoostTipWalletsResponse.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BoostTipWalletsResponse.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/boost/entities/BoostTipWalletsResponse.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,uBAAwB,SAAQ,eAAM;CAElD;AAFD,0DAEC"}
@@ -0,0 +1,2 @@
1
+ export * from './BoostSubmitResponse.entity';
2
+ export * from './BoostTipWalletsResponse.entity';
@@ -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("./BoostSubmitResponse.entity"), exports);
18
+ __exportStar(require("./BoostTipWalletsResponse.entity"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/boost/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA6C;AAC7C,mEAAiD"}
@@ -0,0 +1,2 @@
1
+ export * from './dtos';
2
+ export * from './entities';
@@ -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("./dtos"), exports);
18
+ __exportStar(require("./entities"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/boost/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B"}
@@ -11,6 +11,4 @@ export declare class CreateCurveDto {
11
11
  collateralCurrencyId: string;
12
12
  address: string;
13
13
  coefB: bigint;
14
- priceIncrease?: number;
15
- collateralCollected?: bigint;
16
14
  }
@@ -65,14 +65,5 @@ __decorate([
65
65
  (0, class_validator_1.IsNotEmpty)(),
66
66
  __metadata("design:type", BigInt)
67
67
  ], CreateCurveDto.prototype, "coefB", void 0);
68
- __decorate([
69
- (0, class_validator_1.IsNumber)(),
70
- (0, class_validator_1.IsOptional)(),
71
- __metadata("design:type", Number)
72
- ], CreateCurveDto.prototype, "priceIncrease", void 0);
73
- __decorate([
74
- (0, class_validator_1.IsOptional)(),
75
- __metadata("design:type", BigInt)
76
- ], CreateCurveDto.prototype, "collateralCollected", void 0);
77
68
  exports.CreateCurveDto = CreateCurveDto;
78
69
  //# sourceMappingURL=CreateCurve.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateCurve.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/curve/dtos/CreateCurve.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,kDAA+C;AAE/C,MAAa,cAAc;CA+C1B;AA9CC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAM,EAAC,qBAAS,CAAC;IACjB,IAAA,4BAAU,GAAE;;4CACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACE;AAEf;IAAC,IAAA,4BAAU,GAAE;;mDACO;AAEpB;IAAC,IAAA,4BAAU,GAAE;;gEACoB;AAEjC;IAAC,IAAA,4BAAU,GAAE;;gEACoB;AAEjC;IAAC,IAAA,4BAAU,GAAE;;0DACc;AAE3B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACe;AAE5B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACgB;AAE7B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACG;AAEhB;IAAC,IAAA,4BAAU,GAAE;;6CACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACU;AAEvB;IAAC,IAAA,4BAAU,GAAE;;2DACgB;AA9C/B,wCA+CC"}
1
+ {"version":3,"file":"CreateCurve.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/curve/dtos/CreateCurve.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyE;AACzE,kDAA+C;AAE/C,MAAa,cAAc;CAwC1B;AAvCC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAM,EAAC,qBAAS,CAAC;IACjB,IAAA,4BAAU,GAAE;;4CACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACE;AAEf;IAAC,IAAA,4BAAU,GAAE;;mDACO;AAEpB;IAAC,IAAA,4BAAU,GAAE;;gEACoB;AAEjC;IAAC,IAAA,4BAAU,GAAE;;gEACoB;AAEjC;IAAC,IAAA,4BAAU,GAAE;;0DACc;AAE3B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACe;AAE5B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACgB;AAE7B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACG;AAEhB;IAAC,IAAA,4BAAU,GAAE;;6CACC;AAvChB,wCAwCC"}
@@ -13,6 +13,4 @@ export declare class Curve extends Entity {
13
13
  feeBps: number;
14
14
  marketCapCurrency: BaseCurrency;
15
15
  collateralCurrency: BaseCurrency;
16
- collateralCollected?: bigint;
17
- priceIncrease?: number;
18
16
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Curve.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/curve/entities/Curve.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,yCAAsC;AAItC,MAAa,KAAM,SAAQ,eAAM;CA8BhC;AA7BC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;0CACpB;AAEpB;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;uDACP;AAEjC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;uDACP;AAEjC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;oCAC1B;AAXhB,sBA8BC"}
1
+ {"version":3,"file":"Curve.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/curve/entities/Curve.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,yCAAsC;AAItC,MAAa,KAAM,SAAQ,eAAM;CA0BhC;AAzBC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;0CACpB;AAEpB;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;uDACP;AAEjC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;uDACP;AAEjC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;oCAC1B;AAXhB,sBA0BC"}
@@ -23,3 +23,5 @@ export * from './error';
23
23
  export * from './uniswap';
24
24
  export * from './prioirty-router';
25
25
  export * from './mint-addresses';
26
+ export * from './pumpfun-swap';
27
+ export * from './boost';
@@ -39,4 +39,6 @@ __exportStar(require("./error"), exports);
39
39
  __exportStar(require("./uniswap"), exports);
40
40
  __exportStar(require("./prioirty-router"), exports);
41
41
  __exportStar(require("./mint-addresses"), exports);
42
+ __exportStar(require("./pumpfun-swap"), exports);
43
+ __exportStar(require("./boost"), exports);
42
44
  //# 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"}
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"}
@@ -1,4 +1,4 @@
1
- import { MigrationDex, CurveType } from '../../../../constants';
1
+ import { MigrationDex } from '../../../../constants';
2
2
  import { AffiliateDto } from './Affiliate.dto';
3
3
  export declare class CreateMintDto {
4
4
  symbol: string;
@@ -7,8 +7,5 @@ export declare class CreateMintDto {
7
7
  description?: string;
8
8
  migrationDex?: MigrationDex;
9
9
  isAirlock?: boolean;
10
- curveType?: CurveType;
11
- priceIncrease?: number;
12
- collateralCollected?: string;
13
10
  affiliate?: AffiliateDto;
14
11
  }
@@ -47,21 +47,6 @@ __decorate([
47
47
  (0, class_validator_1.IsOptional)(),
48
48
  __metadata("design:type", Boolean)
49
49
  ], CreateMintDto.prototype, "isAirlock", void 0);
50
- __decorate([
51
- (0, class_validator_1.IsEnum)(constants_1.CurveType),
52
- (0, class_validator_1.IsOptional)(),
53
- __metadata("design:type", String)
54
- ], CreateMintDto.prototype, "curveType", void 0);
55
- __decorate([
56
- (0, class_validator_1.IsNumber)(),
57
- (0, class_validator_1.IsOptional)(),
58
- __metadata("design:type", Number)
59
- ], CreateMintDto.prototype, "priceIncrease", void 0);
60
- __decorate([
61
- (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
62
- (0, class_validator_1.IsOptional)(),
63
- __metadata("design:type", String)
64
- ], CreateMintDto.prototype, "collateralCollected", void 0);
65
50
  __decorate([
66
51
  (0, class_transformer_1.Type)(() => Affiliate_dto_1.AffiliateDto),
67
52
  (0, class_validator_1.ValidateNested)(),
@@ -1 +1 @@
1
- {"version":3,"file":"CreateMint.dto.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/mint/create/dtos/CreateMint.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAQyB;AACzB,yDAAoD;AACpD,qDAAgE;AAChE,mDAA+C;AAE/C,MAAa,aAAa;CA0CzB;AAzCC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2CACA;AAEb;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0CACD;AAEZ;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAM,EAAC,wBAAY,CAAC;IACpB,IAAA,4BAAU,GAAE;;mDACe;AAE5B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gDACO;AAEpB;IAAC,IAAA,wBAAM,EAAC,qBAAS,CAAC;IACjB,IAAA,4BAAU,GAAE;;gDACS;AAEtB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACU;AAEvB;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvC,IAAA,4BAAU,GAAE;;0DACgB;AAE7B;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,4BAAY,CAAC;IACxB,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACD,4BAAY;gDAAC;AAzC3B,sCA0CC"}
1
+ {"version":3,"file":"CreateMint.dto.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/mint/create/dtos/CreateMint.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAyC;AACzC,qDAAqD;AACrD,mDAA+C;AAE/C,MAAa,aAAa;CA8BzB;AA7BC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2CACA;AAEb;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0CACD;AAEZ;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAM,EAAC,wBAAY,CAAC;IACpB,IAAA,4BAAU,GAAE;;mDACe;AAE5B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gDACO;AAEpB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,4BAAY,CAAC;IACxB,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACD,4BAAY;gDAAC;AA7B3B,sCA8BC"}
@@ -0,0 +1,5 @@
1
+ export declare class PumpFunSwapGetPriceDto {
2
+ mintFrom: string;
3
+ mintTo: string;
4
+ minimalUnitsTokenAmount: 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.PumpFunSwapGetPriceDto = 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 PumpFunSwapGetPriceDto {
17
+ }
18
+ __decorate([
19
+ (0, class_validator_1.IsString)(),
20
+ (0, class_validator_1.IsNotEmpty)(),
21
+ __metadata("design:type", String)
22
+ ], PumpFunSwapGetPriceDto.prototype, "mintFrom", void 0);
23
+ __decorate([
24
+ (0, class_validator_1.IsString)(),
25
+ (0, class_validator_1.IsNotEmpty)(),
26
+ __metadata("design:type", String)
27
+ ], PumpFunSwapGetPriceDto.prototype, "mintTo", 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
+ ], PumpFunSwapGetPriceDto.prototype, "minimalUnitsTokenAmount", void 0);
34
+ exports.PumpFunSwapGetPriceDto = PumpFunSwapGetPriceDto;
35
+ //# sourceMappingURL=PumpFunSwapGetPrice.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PumpFunSwapGetPrice.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/pumpfun-swap/dtos/PumpFunSwapGetPrice.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAAiE;AACjE,sDAAiD;AAEjD,MAAa,sBAAsB;CAalC;AAZC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACE;AAEf;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;;uEACY;AAZlC,wDAaC"}
@@ -0,0 +1,14 @@
1
+ import { TxPriorityDto } from '../../tx';
2
+ import { SwapType } from '../../../constants';
3
+ export declare class PumpFunSwapPrepareDto {
4
+ sender: string;
5
+ mintFrom: string;
6
+ mintTo: string;
7
+ amountIn: string;
8
+ feeAmount: string;
9
+ feeMintAddress: string;
10
+ priorityFee?: number;
11
+ swapType?: SwapType;
12
+ priority?: TxPriorityDto;
13
+ amountOut: string;
14
+ }
@@ -0,0 +1,75 @@
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.PumpFunSwapPrepareDto = 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
+ const constants_1 = require("../../../constants");
18
+ class PumpFunSwapPrepareDto {
19
+ }
20
+ __decorate([
21
+ (0, class_validator_1.IsString)(),
22
+ (0, class_validator_1.IsNotEmpty)(),
23
+ __metadata("design:type", String)
24
+ ], PumpFunSwapPrepareDto.prototype, "sender", void 0);
25
+ __decorate([
26
+ (0, class_validator_1.IsString)(),
27
+ (0, class_validator_1.IsNotEmpty)(),
28
+ __metadata("design:type", String)
29
+ ], PumpFunSwapPrepareDto.prototype, "mintFrom", void 0);
30
+ __decorate([
31
+ (0, class_validator_1.IsString)(),
32
+ (0, class_validator_1.IsNotEmpty)(),
33
+ __metadata("design:type", String)
34
+ ], PumpFunSwapPrepareDto.prototype, "mintTo", void 0);
35
+ __decorate([
36
+ (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
37
+ (0, class_validator_1.IsNotEmpty)(),
38
+ (0, class_validator_1.Validate)(validations_1.MinBigInt),
39
+ __metadata("design:type", String)
40
+ ], PumpFunSwapPrepareDto.prototype, "amountIn", void 0);
41
+ __decorate([
42
+ (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
43
+ (0, class_validator_1.IsNotEmpty)(),
44
+ __metadata("design:type", String)
45
+ ], PumpFunSwapPrepareDto.prototype, "feeAmount", void 0);
46
+ __decorate([
47
+ (0, class_validator_1.IsString)(),
48
+ (0, class_validator_1.IsNotEmpty)(),
49
+ __metadata("design:type", String)
50
+ ], PumpFunSwapPrepareDto.prototype, "feeMintAddress", void 0);
51
+ __decorate([
52
+ (0, class_validator_1.IsNumber)(),
53
+ (0, class_validator_1.IsOptional)(),
54
+ __metadata("design:type", Number)
55
+ ], PumpFunSwapPrepareDto.prototype, "priorityFee", void 0);
56
+ __decorate([
57
+ (0, class_validator_1.IsString)(),
58
+ (0, class_validator_1.IsEnum)(constants_1.SwapType),
59
+ (0, class_validator_1.IsOptional)(),
60
+ __metadata("design:type", String)
61
+ ], PumpFunSwapPrepareDto.prototype, "swapType", void 0);
62
+ __decorate([
63
+ (0, class_transformer_1.Type)(() => tx_1.TxPriorityDto),
64
+ (0, class_validator_1.ValidateNested)(),
65
+ (0, class_validator_1.IsOptional)(),
66
+ __metadata("design:type", tx_1.TxPriorityDto)
67
+ ], PumpFunSwapPrepareDto.prototype, "priority", void 0);
68
+ __decorate([
69
+ (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
70
+ (0, class_validator_1.IsNotEmpty)(),
71
+ (0, class_validator_1.Validate)(validations_1.MinBigInt),
72
+ __metadata("design:type", String)
73
+ ], PumpFunSwapPrepareDto.prototype, "amountOut", void 0);
74
+ exports.PumpFunSwapPrepareDto = PumpFunSwapPrepareDto;
75
+ //# sourceMappingURL=PumpFunSwapPrepare.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PumpFunSwapPrepare.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/pumpfun-swap/dtos/PumpFunSwapPrepare.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAoD;AACpD,qDAQyB;AACzB,sDAAiD;AACjD,iCAAyC;AACzC,kDAA8C;AAE9C,MAAa,qBAAqB;CA4CjC;AA3CC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACE;AAEf;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;;uDACH;AAEjB;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvC,IAAA,4BAAU,GAAE;;wDACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACU;AAEvB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAM,EAAC,oBAAQ,CAAC;IAChB,IAAA,4BAAU,GAAE;;uDACO;AAEpB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAa,CAAC;IACzB,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACF,kBAAa;uDAAC;AAEzB;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;;wDACF;AA3CpB,sDA4CC"}
@@ -0,0 +1,4 @@
1
+ export declare class PumpFunSwapSubmitDto {
2
+ signedTransaction: string;
3
+ token: string;
4
+ }
@@ -0,0 +1,27 @@
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.PumpFunSwapSubmitDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class PumpFunSwapSubmitDto {
15
+ }
16
+ __decorate([
17
+ (0, class_validator_1.IsString)(),
18
+ (0, class_validator_1.IsNotEmpty)(),
19
+ __metadata("design:type", String)
20
+ ], PumpFunSwapSubmitDto.prototype, "signedTransaction", void 0);
21
+ __decorate([
22
+ (0, class_validator_1.IsString)(),
23
+ (0, class_validator_1.IsNotEmpty)(),
24
+ __metadata("design:type", String)
25
+ ], PumpFunSwapSubmitDto.prototype, "token", void 0);
26
+ exports.PumpFunSwapSubmitDto = PumpFunSwapSubmitDto;
27
+ //# sourceMappingURL=PumpFunSwapSubmit.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PumpFunSwapSubmit.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/pumpfun-swap/dtos/PumpFunSwapSubmit.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,oBAAoB;CAQhC;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+DACa;AAE1B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACC;AAPhB,oDAQC"}
@@ -0,0 +1,3 @@
1
+ export * from './PumpFunSwapPrepare.dto';
2
+ export * from './PumpFunSwapSubmit.dto';
3
+ export * from './PumpFunSwapGetPrice.dto';
@@ -0,0 +1,20 @@
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("./PumpFunSwapPrepare.dto"), exports);
18
+ __exportStar(require("./PumpFunSwapSubmit.dto"), exports);
19
+ __exportStar(require("./PumpFunSwapGetPrice.dto"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/pumpfun-swap/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,0DAAwC;AACxC,4DAA0C"}
@@ -0,0 +1,4 @@
1
+ import { Entity } from '../../entity';
2
+ export declare class PumpFunSwapGetPriceResponse extends Entity {
3
+ price: string;
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PumpFunSwapGetPriceResponse = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class PumpFunSwapGetPriceResponse extends entity_1.Entity {
6
+ }
7
+ exports.PumpFunSwapGetPriceResponse = PumpFunSwapGetPriceResponse;
8
+ //# sourceMappingURL=PumpFunSwapGetPriceResponse.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PumpFunSwapGetPriceResponse.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/pumpfun-swap/entities/PumpFunSwapGetPriceResponse.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,2BAA4B,SAAQ,eAAM;CAEtD;AAFD,kEAEC"}
@@ -0,0 +1,5 @@
1
+ import { Entity } from '../../entity';
2
+ export declare class PumpFunSwapPrepareResponse extends Entity {
3
+ serializedTx: string;
4
+ token?: string;
5
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PumpFunSwapPrepareResponse = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class PumpFunSwapPrepareResponse extends entity_1.Entity {
6
+ }
7
+ exports.PumpFunSwapPrepareResponse = PumpFunSwapPrepareResponse;
8
+ //# sourceMappingURL=PumpFunSwapPrepareResponse.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PumpFunSwapPrepareResponse.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/pumpfun-swap/entities/PumpFunSwapPrepareResponse.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,0BAA2B,SAAQ,eAAM;CAIrD;AAJD,gEAIC"}
@@ -0,0 +1,6 @@
1
+ import { Entity } from '../../entity';
2
+ import { TxStatus } from '../../../constants';
3
+ export declare class PumpFunSwapSubmitResponse extends Entity {
4
+ transactionSignature: string;
5
+ status: TxStatus;
6
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PumpFunSwapSubmitResponse = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class PumpFunSwapSubmitResponse extends entity_1.Entity {
6
+ }
7
+ exports.PumpFunSwapSubmitResponse = PumpFunSwapSubmitResponse;
8
+ //# sourceMappingURL=PumpFunSwapSubmitResponse.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PumpFunSwapSubmitResponse.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/pumpfun-swap/entities/PumpFunSwapSubmitResponse.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAUtC,MAAa,yBAA0B,SAAQ,eAAM;CAIpD;AAJD,8DAIC"}
@@ -0,0 +1,3 @@
1
+ export * from './PumpFunSwapPrepareResponse.entity';
2
+ export * from './PumpFunSwapSubmitResponse.entity';
3
+ export * from './PumpFunSwapGetPriceResponse.entity';