@plutonlabs/sdk 0.0.49-beta → 0.0.50-beta
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/modules/quote/domain/dto/quote/quote_response.dto.d.ts +15 -2
- package/dist/modules/quote/domain/dto/quote/quote_response.dto.d.ts.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_response.dto.js +9 -1
- package/dist/modules/quote/domain/dto/quote/quote_response.dto.js.map +1 -1
- package/package.json +1 -1
@@ -42,10 +42,15 @@ export declare class QuoteResponseDto {
|
|
42
42
|
*/
|
43
43
|
intentResponses: QuoteIntentResponseDto[];
|
44
44
|
/**
|
45
|
-
* @description The estimated fee for the
|
45
|
+
* @description The estimated fee for the solving, calculated from solver
|
46
46
|
* @example 1000000 (for a fee estimate of 1 USDT)
|
47
47
|
*/
|
48
|
-
|
48
|
+
solverFee?: string;
|
49
|
+
/**
|
50
|
+
* @description The estimated fee for protocol, calculated from protocol
|
51
|
+
* @example 1000000 (for a fee estimate of 1 USDT)
|
52
|
+
*/
|
53
|
+
protocolFee?: string;
|
49
54
|
/**
|
50
55
|
* @description Expiry date of initiation
|
51
56
|
*/
|
@@ -54,11 +59,19 @@ export declare class QuoteResponseDto {
|
|
54
59
|
* @description Expiry date of redemption
|
55
60
|
*/
|
56
61
|
redeemExpiry?: Date;
|
62
|
+
/**
|
63
|
+
* @description id of request
|
64
|
+
*/
|
57
65
|
quoteRequestId?: string;
|
58
66
|
/**
|
59
67
|
* @description The gas estimated fee for the transaction, calculated based on the native coin of the blockchain. The fee is typically expressed in the chain’s native currency, such as ETH for Ethereum, BTC for Bitcoin, etc.
|
60
68
|
* @example 5000000000000000 (for a fee estimate of 0.005 ETH)
|
61
69
|
*/
|
62
70
|
gasFeeEstimate?: string;
|
71
|
+
/**
|
72
|
+
* @description The gas estimated fee for the transaction, calculated based on the native coin of the blockchain. The fee is typically expressed in the chain’s native currency, such as ETH for Ethereum, BTC for Bitcoin, etc.
|
73
|
+
* @example 5000000000000000 (for a fee estimate of 0.005 ETH)
|
74
|
+
*/
|
75
|
+
solveTime?: string;
|
63
76
|
}
|
64
77
|
//# sourceMappingURL=quote_response.dto.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"quote_response.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_response.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAIrE,qBAAa,gBAAgB;gBAEzB,OAAO,EAAE,OAAO,CAAC;QACf,eAAe,EAAE,MAAM,EAAE,CAAC;QAC1B,gBAAgB,CAAC,EAAE,IAAI,CAAC;QACxB,YAAY,CAAC,EAAE,IAAI,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,CAAC;WAmBU,IAAI,CAChB,CAAC,SAAS;QACR,eAAe,EAAE,MAAM,EAAE,CAAC;QAC1B,gBAAgB,CAAC,EAAE,IAAI,CAAC;QACxB,YAAY,CAAC,EAAE,IAAI,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,EACD,GAAG,EAAE,CAAC,GAAG,gBAAgB;IAI3B,MAAM,CAAC,QAAQ,CACb,CAAC,SAAS;QACR,eAAe,EAAE,MAAM,EAAE,CAAC;QAC1B,gBAAgB,CAAC,EAAE,IAAI,CAAC;QACxB,YAAY,CAAC,EAAE,IAAI,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,EACD,IAAI,EAAE,CAAC,EAAE,GAAG,gBAAgB,EAAE;IAIhC;;;;;;;;;;;;;;;;;;OAkBG;IACH,eAAe,EAAE,sBAAsB,EAAE,CAAC;IAE1C;;;OAGG;IAEH,
|
1
|
+
{"version":3,"file":"quote_response.dto.d.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AAM,CAAC;IAExB;;;OAGG;IAEH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;OAGG;IAEH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
@@ -38,7 +38,11 @@ exports.QuoteResponseDto = QuoteResponseDto;
|
|
38
38
|
__decorate([
|
39
39
|
(0, class_validator_1.IsString)(),
|
40
40
|
__metadata("design:type", String)
|
41
|
-
], QuoteResponseDto.prototype, "
|
41
|
+
], QuoteResponseDto.prototype, "solverFee", void 0);
|
42
|
+
__decorate([
|
43
|
+
(0, class_validator_1.IsString)(),
|
44
|
+
__metadata("design:type", String)
|
45
|
+
], QuoteResponseDto.prototype, "protocolFee", void 0);
|
42
46
|
__decorate([
|
43
47
|
(0, class_validator_1.IsDate)(),
|
44
48
|
__metadata("design:type", Date)
|
@@ -55,4 +59,8 @@ __decorate([
|
|
55
59
|
(0, class_validator_1.IsString)(),
|
56
60
|
__metadata("design:type", String)
|
57
61
|
], QuoteResponseDto.prototype, "gasFeeEstimate", void 0);
|
62
|
+
__decorate([
|
63
|
+
(0, class_validator_1.IsString)(),
|
64
|
+
__metadata("design:type", String)
|
65
|
+
], QuoteResponseDto.prototype, "solveTime", void 0);
|
58
66
|
//# sourceMappingURL=quote_response.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"quote_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2D;AAE3D,yFAAkF;AAClF,kDAAiD;AAEjD,MAAa,gBAAgB;IAC3B,YACE,OAME;QAEF,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAE7B,IAAI,OAAO,CAAC,eAAe,IAAI,OAAO,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAClE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;gBACxD,IACE,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,YAAY,+DAA4B,EAClE,CAAC;oBACD,IAAI,CAAC,eAAe,GAAG,+DAA4B,CAAC,QAAQ,CAC1D,OAAO,CAAC,eAAe,CACxB,CAAC;gBACJ,CAAC;YACH,CAAC;QACH,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,eAAe,GAAG,EAAE,CAAC;QAC5B,CAAC;IACH,CAAC;IAEM,MAAM,CAAC,IAAI,CAQhB,GAAM;QACN,OAAO,IAAI,gBAAgB,CAAC,GAAG,CAAC,CAAC;IACnC,CAAC;IAED,MAAM,CAAC,QAAQ,CAQb,IAAS;QACT,OAAO,IAAA,iBAAQ,EAAC,IAAI,EAAE,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAC/C,CAAC;
|
1
|
+
{"version":3,"file":"quote_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2D;AAE3D,yFAAkF;AAClF,kDAAiD;AAEjD,MAAa,gBAAgB;IAC3B,YACE,OAME;QAEF,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAE7B,IAAI,OAAO,CAAC,eAAe,IAAI,OAAO,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAClE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;gBACxD,IACE,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,YAAY,+DAA4B,EAClE,CAAC;oBACD,IAAI,CAAC,eAAe,GAAG,+DAA4B,CAAC,QAAQ,CAC1D,OAAO,CAAC,eAAe,CACxB,CAAC;gBACJ,CAAC;YACH,CAAC;QACH,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,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