@heliofi/launchpad-common 1.6.30 → 1.6.31
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.
- package/dist/src/domain/model/swap-router/dtos/SwapRouterQuoteAndPrepare.dto.d.ts +11 -0
- package/dist/src/domain/model/{raydium-swap/dtos/RaydiumSwapPrepareCLMM.dto.js → swap-router/dtos/SwapRouterQuoteAndPrepare.dto.js} +20 -33
- package/dist/src/domain/model/swap-router/dtos/SwapRouterQuoteAndPrepare.dto.js.map +1 -0
- package/dist/src/domain/model/swap-router/dtos/index.d.ts +1 -0
- package/dist/src/domain/model/swap-router/dtos/index.js +1 -0
- package/dist/src/domain/model/swap-router/dtos/index.js.map +1 -1
- package/dist/src/domain/model/swap-router/entities/SwapRouterQuoteAndPrepareResponse.entity.d.ts +6 -0
- package/dist/src/domain/model/swap-router/entities/SwapRouterQuoteAndPrepareResponse.entity.js +8 -0
- package/dist/src/domain/model/swap-router/entities/SwapRouterQuoteAndPrepareResponse.entity.js.map +1 -0
- package/dist/src/domain/model/swap-router/entities/index.d.ts +1 -0
- package/dist/src/domain/model/swap-router/entities/index.js +1 -0
- package/dist/src/domain/model/swap-router/entities/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/src/domain/constants/isMoonit.d.ts +0 -1
- package/dist/src/domain/constants/isMoonit.js +0 -6
- package/dist/src/domain/constants/isMoonit.js.map +0 -1
- package/dist/src/domain/model/fun/entities/FunTokensList.entity.d.ts +0 -21
- package/dist/src/domain/model/fun/entities/FunTokensList.entity.js +0 -8
- package/dist/src/domain/model/fun/entities/FunTokensList.entity.js.map +0 -1
- package/dist/src/domain/model/fun/entities/index.d.ts +0 -1
- package/dist/src/domain/model/fun/entities/index.js +0 -18
- package/dist/src/domain/model/fun/entities/index.js.map +0 -1
- package/dist/src/domain/model/king-of-the-hill/entities/KingOfTheHillResponse.d.ts +0 -9
- package/dist/src/domain/model/king-of-the-hill/entities/KingOfTheHillResponse.js +0 -8
- package/dist/src/domain/model/king-of-the-hill/entities/KingOfTheHillResponse.js.map +0 -1
- package/dist/src/domain/model/king-of-the-hill/entities/index.d.ts +0 -1
- package/dist/src/domain/model/king-of-the-hill/entities/index.js +0 -18
- package/dist/src/domain/model/king-of-the-hill/entities/index.js.map +0 -1
- package/dist/src/domain/model/king-of-the-hill/index.d.ts +0 -1
- package/dist/src/domain/model/king-of-the-hill/index.js +0 -18
- package/dist/src/domain/model/king-of-the-hill/index.js.map +0 -1
- package/dist/src/domain/model/mint/prepare/dtos/CreateAndPrepareMintTx.dto.d.ts +0 -5
- package/dist/src/domain/model/mint/prepare/dtos/CreateAndPrepareMintTx.dto.js +0 -31
- package/dist/src/domain/model/mint/prepare/dtos/CreateAndPrepareMintTx.dto.js.map +0 -1
- package/dist/src/domain/model/raydium-swap/dtos/RaydiumSwapGetCLMMPrice.dto.d.ts +0 -5
- package/dist/src/domain/model/raydium-swap/dtos/RaydiumSwapGetCLMMPrice.dto.js +0 -35
- package/dist/src/domain/model/raydium-swap/dtos/RaydiumSwapGetCLMMPrice.dto.js.map +0 -1
- package/dist/src/domain/model/raydium-swap/dtos/RaydiumSwapPrepareCLMM.dto.d.ts +0 -12
- package/dist/src/domain/model/raydium-swap/dtos/RaydiumSwapPrepareCLMM.dto.js.map +0 -1
- package/dist/src/domain/model/router/dtos/GetRoutes.dto.d.ts +0 -6
- package/dist/src/domain/model/router/dtos/GetRoutes.dto.js +0 -37
- package/dist/src/domain/model/router/dtos/GetRoutes.dto.js.map +0 -1
- package/dist/src/domain/model/router/dtos/index.d.ts +0 -1
- package/dist/src/domain/model/router/dtos/index.js +0 -18
- package/dist/src/domain/model/router/dtos/index.js.map +0 -1
- package/dist/src/domain/model/router/entities/SwapRoute.entity.d.ts +0 -8
- package/dist/src/domain/model/router/entities/SwapRoute.entity.js +0 -8
- package/dist/src/domain/model/router/entities/SwapRoute.entity.js.map +0 -1
- package/dist/src/domain/model/router/entities/index.d.ts +0 -1
- package/dist/src/domain/model/router/entities/index.js +0 -18
- package/dist/src/domain/model/router/entities/index.js.map +0 -1
- package/dist/src/domain/model/router/index.d.ts +0 -2
- package/dist/src/domain/model/router/index.js +0 -19
- package/dist/src/domain/model/router/index.js.map +0 -1
- package/dist/src/domain/model/shared/ControllerPaginatedResponse.interface.d.ts +0 -8
- package/dist/src/domain/model/shared/ControllerPaginatedResponse.interface.js +0 -3
- package/dist/src/domain/model/shared/ControllerPaginatedResponse.interface.js.map +0 -1
- package/dist/src/domain/model/token-pair/entities/TokenPairWithMetadataAndTradingMetrics.entity.d.ts +0 -8
- package/dist/src/domain/model/token-pair/entities/TokenPairWithMetadataAndTradingMetrics.entity.js +0 -8
- package/dist/src/domain/model/token-pair/entities/TokenPairWithMetadataAndTradingMetrics.entity.js.map +0 -1
- package/dist/src/domain/model/token-pair/entities/TokenPairWithTradingData.d.ts +0 -8
- package/dist/src/domain/model/token-pair/entities/TokenPairWithTradingData.js +0 -8
- package/dist/src/domain/model/token-pair/entities/TokenPairWithTradingData.js.map +0 -1
- package/dist/src/domain/model/trading-data/entities/KingOfTheHillData.d.ts +0 -7
- package/dist/src/domain/model/trading-data/entities/KingOfTheHillData.js +0 -8
- package/dist/src/domain/model/trading-data/entities/KingOfTheHillData.js.map +0 -1
- package/dist/src/domain/model/trading-data/entities/KingOfTheHillTradingData.d.ts +0 -8
- package/dist/src/domain/model/trading-data/entities/KingOfTheHillTradingData.js +0 -8
- package/dist/src/domain/model/trading-data/entities/KingOfTheHillTradingData.js.map +0 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SwapType } from '../../../constants';
|
|
2
|
+
import { SwapRouterQuoteDto } from './SwapRouterGetQuote.dto';
|
|
3
|
+
import { TxPriorityDto } from '../../tx';
|
|
4
|
+
export declare class SwapRouterQuoteAndPrepareDto extends SwapRouterQuoteDto {
|
|
5
|
+
sender: string;
|
|
6
|
+
feeBps?: number;
|
|
7
|
+
feeMintAddress: string;
|
|
8
|
+
swapType?: SwapType;
|
|
9
|
+
priorityFee?: number;
|
|
10
|
+
priority?: TxPriorityDto;
|
|
11
|
+
}
|
|
@@ -9,60 +9,47 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
12
|
+
exports.SwapRouterQuoteAndPrepareDto = void 0;
|
|
14
13
|
const class_validator_1 = require("class-validator");
|
|
15
|
-
const
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const constants_1 = require("../../../constants");
|
|
16
|
+
const SwapRouterGetQuote_dto_1 = require("./SwapRouterGetQuote.dto");
|
|
16
17
|
const tx_1 = require("../../tx");
|
|
17
|
-
class
|
|
18
|
+
class SwapRouterQuoteAndPrepareDto extends SwapRouterGetQuote_dto_1.SwapRouterQuoteDto {
|
|
18
19
|
}
|
|
19
20
|
__decorate([
|
|
20
21
|
(0, class_validator_1.IsString)(),
|
|
21
22
|
(0, class_validator_1.IsNotEmpty)(),
|
|
22
23
|
__metadata("design:type", String)
|
|
23
|
-
],
|
|
24
|
+
], SwapRouterQuoteAndPrepareDto.prototype, "sender", void 0);
|
|
24
25
|
__decorate([
|
|
25
|
-
(0, class_validator_1.
|
|
26
|
-
(0, class_validator_1.
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
(0, class_validator_1.IsNumber)(),
|
|
27
|
+
(0, class_validator_1.Max)(10000),
|
|
28
|
+
(0, class_validator_1.Min)(0),
|
|
29
|
+
(0, class_validator_1.IsOptional)(),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], SwapRouterQuoteAndPrepareDto.prototype, "feeBps", void 0);
|
|
29
32
|
__decorate([
|
|
30
33
|
(0, class_validator_1.IsString)(),
|
|
31
34
|
(0, class_validator_1.IsNotEmpty)(),
|
|
32
35
|
__metadata("design:type", String)
|
|
33
|
-
],
|
|
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);
|
|
36
|
+
], SwapRouterQuoteAndPrepareDto.prototype, "feeMintAddress", void 0);
|
|
51
37
|
__decorate([
|
|
52
38
|
(0, class_validator_1.IsString)(),
|
|
53
|
-
(0, class_validator_1.
|
|
39
|
+
(0, class_validator_1.IsEnum)(constants_1.SwapType),
|
|
40
|
+
(0, class_validator_1.IsOptional)(),
|
|
54
41
|
__metadata("design:type", String)
|
|
55
|
-
],
|
|
42
|
+
], SwapRouterQuoteAndPrepareDto.prototype, "swapType", void 0);
|
|
56
43
|
__decorate([
|
|
57
44
|
(0, class_validator_1.IsNumber)(),
|
|
58
45
|
(0, class_validator_1.IsOptional)(),
|
|
59
46
|
__metadata("design:type", Number)
|
|
60
|
-
],
|
|
47
|
+
], SwapRouterQuoteAndPrepareDto.prototype, "priorityFee", void 0);
|
|
61
48
|
__decorate([
|
|
62
49
|
(0, class_transformer_1.Type)(() => tx_1.TxPriorityDto),
|
|
63
50
|
(0, class_validator_1.ValidateNested)(),
|
|
64
51
|
(0, class_validator_1.IsOptional)(),
|
|
65
52
|
__metadata("design:type", tx_1.TxPriorityDto)
|
|
66
|
-
],
|
|
67
|
-
exports.
|
|
68
|
-
//# sourceMappingURL=
|
|
53
|
+
], SwapRouterQuoteAndPrepareDto.prototype, "priority", void 0);
|
|
54
|
+
exports.SwapRouterQuoteAndPrepareDto = SwapRouterQuoteAndPrepareDto;
|
|
55
|
+
//# sourceMappingURL=SwapRouterQuoteAndPrepare.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SwapRouterQuoteAndPrepare.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/swap-router/dtos/SwapRouterQuoteAndPrepare.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDASyB;AACzB,yDAAyC;AACzC,kDAA8C;AAC9C,qEAA8D;AAC9D,iCAAyC;AAEzC,MAAa,4BAA6B,SAAQ,2CAAkB;CA4BnE;AA3BC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,KAAK,CAAC;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;IACN,IAAA,4BAAU,GAAE;;4DACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oEACU;AAEvB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAM,EAAC,oBAAQ,CAAC;IAChB,IAAA,4BAAU,GAAE;;8DACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACQ;AAErB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAa,CAAC;IACzB,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACF,kBAAa;8DAAC;AA3B3B,oEA4BC"}
|
|
@@ -19,4 +19,5 @@ __exportStar(require("./SwapRouterGetQuote.dto"), exports);
|
|
|
19
19
|
__exportStar(require("./CreateSwapRoute.dto"), exports);
|
|
20
20
|
__exportStar(require("./SwapRouterPrepare.dto"), exports);
|
|
21
21
|
__exportStar(require("./SwapRouterSubmit.dto"), exports);
|
|
22
|
+
__exportStar(require("./SwapRouterQuoteAndPrepare.dto"), exports);
|
|
22
23
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/swap-router/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,2DAAyC;AACzC,wDAAsC;AACtC,0DAAwC;AACxC,yDAAuC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/swap-router/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,2DAAyC;AACzC,wDAAsC;AACtC,0DAAwC;AACxC,yDAAuC;AACvC,kEAAgD"}
|
package/dist/src/domain/model/swap-router/entities/SwapRouterQuoteAndPrepareResponse.entity.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SwapRouterQuoteAndPrepareResponseEntity = void 0;
|
|
4
|
+
const entity_1 = require("../../entity");
|
|
5
|
+
class SwapRouterQuoteAndPrepareResponseEntity extends entity_1.Entity {
|
|
6
|
+
}
|
|
7
|
+
exports.SwapRouterQuoteAndPrepareResponseEntity = SwapRouterQuoteAndPrepareResponseEntity;
|
|
8
|
+
//# sourceMappingURL=SwapRouterQuoteAndPrepareResponse.entity.js.map
|
package/dist/src/domain/model/swap-router/entities/SwapRouterQuoteAndPrepareResponse.entity.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SwapRouterQuoteAndPrepareResponse.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/swap-router/entities/SwapRouterQuoteAndPrepareResponse.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,uCAAwC,SAAQ,eAAM;CAMlE;AAND,0FAMC"}
|
|
@@ -18,4 +18,5 @@ __exportStar(require("./SwapRoute.entity"), exports);
|
|
|
18
18
|
__exportStar(require("./SwapRouterQuote.entity"), exports);
|
|
19
19
|
__exportStar(require("./UniqueSwapRoute.entity"), exports);
|
|
20
20
|
__exportStar(require("./SwapRouterSubmitResponse.entity"), exports);
|
|
21
|
+
__exportStar(require("./SwapRouterQuoteAndPrepareResponse.entity"), exports);
|
|
21
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/swap-router/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,2DAAyC;AACzC,2DAAyC;AACzC,oEAAkD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/swap-router/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,2DAAyC;AACzC,2DAAyC;AACzC,oEAAkD;AAClD,6EAA2D"}
|