@plutonlabs/sdk 0.0.19-beta → 0.0.22-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.
Files changed (79) hide show
  1. package/dist/modules/chainsync/domain/dto/index.d.ts +1 -0
  2. package/dist/modules/chainsync/domain/dto/index.d.ts.map +1 -1
  3. package/dist/modules/chainsync/domain/dto/index.js +1 -0
  4. package/dist/modules/chainsync/domain/dto/index.js.map +1 -1
  5. package/dist/modules/chainsync/domain/dto/swap/index.d.ts +3 -0
  6. package/dist/modules/chainsync/domain/dto/swap/index.d.ts.map +1 -0
  7. package/dist/modules/chainsync/domain/dto/swap/index.js +19 -0
  8. package/dist/modules/chainsync/domain/dto/swap/index.js.map +1 -0
  9. package/dist/modules/chainsync/domain/dto/swap/swap_request.dto.d.ts +29 -0
  10. package/dist/modules/chainsync/domain/dto/swap/swap_request.dto.d.ts.map +1 -0
  11. package/dist/modules/chainsync/domain/dto/swap/swap_request.dto.js +37 -0
  12. package/dist/modules/chainsync/domain/dto/swap/swap_request.dto.js.map +1 -0
  13. package/dist/modules/chainsync/domain/dto/swap/swap_response.dto.d.ts +23 -0
  14. package/dist/modules/chainsync/domain/dto/swap/swap_response.dto.d.ts.map +1 -0
  15. package/dist/modules/chainsync/domain/dto/swap/swap_response.dto.js +35 -0
  16. package/dist/modules/chainsync/domain/dto/swap/swap_response.dto.js.map +1 -0
  17. package/dist/modules/index.d.ts +0 -1
  18. package/dist/modules/index.d.ts.map +1 -1
  19. package/dist/modules/index.js +0 -1
  20. package/dist/modules/index.js.map +1 -1
  21. package/dist/modules/quote/domain/dto/quote/index.d.ts +1 -0
  22. package/dist/modules/quote/domain/dto/quote/index.d.ts.map +1 -1
  23. package/dist/modules/quote/domain/dto/quote/index.js +1 -0
  24. package/dist/modules/quote/domain/dto/quote/index.js.map +1 -1
  25. package/dist/modules/quote/domain/dto/quote/quote.dto.d.ts.map +1 -1
  26. package/dist/modules/quote/domain/dto/quote/quote.dto.js +0 -14
  27. package/dist/modules/quote/domain/dto/quote/quote.dto.js.map +1 -1
  28. package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.d.ts +1 -0
  29. package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.d.ts.map +1 -1
  30. package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.js +3 -0
  31. package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.js.map +1 -1
  32. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_request.dto.d.ts +2 -2
  33. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_request.dto.d.ts.map +1 -1
  34. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_request.dto.js +2 -2
  35. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_request.dto.js.map +1 -1
  36. package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.d.ts +3 -2
  37. package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.d.ts.map +1 -1
  38. package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.js +4 -0
  39. package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.js.map +1 -1
  40. package/dist/modules/quote/domain/dto/quote/quote_estimate_solver_bridge_intent_request.dto.d.ts +22 -0
  41. package/dist/modules/quote/domain/dto/quote/quote_estimate_solver_bridge_intent_request.dto.d.ts.map +1 -0
  42. package/dist/modules/quote/domain/dto/quote/quote_estimate_solver_bridge_intent_request.dto.js +41 -0
  43. package/dist/modules/quote/domain/dto/quote/quote_estimate_solver_bridge_intent_request.dto.js.map +1 -0
  44. package/dist/modules/quote/domain/dto/quote/quote_estimate_with_source_base_token_solver_bridge_intent_request.dto.d.ts +22 -0
  45. package/dist/modules/quote/domain/dto/quote/quote_estimate_with_source_base_token_solver_bridge_intent_request.dto.d.ts.map +1 -0
  46. package/dist/modules/quote/domain/dto/quote/quote_estimate_with_source_base_token_solver_bridge_intent_request.dto.js +41 -0
  47. package/dist/modules/quote/domain/dto/quote/quote_estimate_with_source_base_token_solver_bridge_intent_request.dto.js.map +1 -0
  48. package/dist/modules/quote/domain/dto/quote/quote_intent.dto.d.ts +4 -1
  49. package/dist/modules/quote/domain/dto/quote/quote_intent.dto.d.ts.map +1 -1
  50. package/dist/modules/quote/domain/dto/quote/quote_intent.dto.js +4 -0
  51. package/dist/modules/quote/domain/dto/quote/quote_intent.dto.js.map +1 -1
  52. package/dist/modules/quote/domain/dto/quote/quote_intent_request.dto.d.ts +3 -2
  53. package/dist/modules/quote/domain/dto/quote/quote_intent_request.dto.d.ts.map +1 -1
  54. package/dist/modules/quote/domain/dto/quote/quote_response.dto.d.ts +2 -1
  55. package/dist/modules/quote/domain/dto/quote/quote_response.dto.d.ts.map +1 -1
  56. package/dist/modules/quote/domain/dto/quote/quote_response.dto.js +5 -1
  57. package/dist/modules/quote/domain/dto/quote/quote_response.dto.js.map +1 -1
  58. package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.d.ts +16 -0
  59. package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.d.ts.map +1 -1
  60. package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.js +4 -1
  61. package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.js.map +1 -1
  62. package/dist/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.d.ts +2 -1
  63. package/dist/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.d.ts.map +1 -1
  64. package/dist/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.js +5 -1
  65. package/dist/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.js.map +1 -1
  66. package/dist/modules/quote/domain/dto/quote/quote_set_transaction_response.dto.d.ts +0 -5
  67. package/dist/modules/quote/domain/dto/quote/quote_set_transaction_response.dto.d.ts.map +1 -1
  68. package/dist/modules/quote/domain/dto/quote/quote_set_transaction_response.dto.js +0 -14
  69. package/dist/modules/quote/domain/dto/quote/quote_set_transaction_response.dto.js.map +1 -1
  70. package/dist/modules/swap/domain/dto/swap_request.dto.d.ts +1 -1
  71. package/dist/modules/swap/domain/dto/swap_request.dto.d.ts.map +1 -1
  72. package/dist/modules/swap/domain/dto/swap_request.dto.js +3 -3
  73. package/dist/modules/swap/domain/dto/swap_request.dto.js.map +1 -1
  74. package/dist/modules/swap/domain/dto/swap_response.dto.d.ts +3 -1
  75. package/dist/modules/swap/domain/dto/swap_response.dto.d.ts.map +1 -1
  76. package/dist/modules/swap/domain/dto/swap_response.dto.js +6 -6
  77. package/dist/modules/swap/domain/dto/swap_response.dto.js.map +1 -1
  78. package/package.json +3 -2
  79. package/README.md +0 -1
@@ -2,4 +2,5 @@ export * from './chain_contract.dto';
2
2
  export * from './chain_transaction.dto';
3
3
  export * from './chain_transaction_event_log.dto';
4
4
  export * from './pluton_request.dto';
5
+ export * from './swap';
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/chainsync/domain/dto/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mCAAmC,CAAC;AAClD,cAAc,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/chainsync/domain/dto/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mCAAmC,CAAC;AAClD,cAAc,sBAAsB,CAAC;AACrC,cAAc,QAAQ,CAAC"}
@@ -18,4 +18,5 @@ __exportStar(require("./chain_contract.dto"), exports);
18
18
  __exportStar(require("./chain_transaction.dto"), exports);
19
19
  __exportStar(require("./chain_transaction_event_log.dto"), exports);
20
20
  __exportStar(require("./pluton_request.dto"), exports);
21
+ __exportStar(require("./swap"), exports);
21
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/chainsync/domain/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,0DAAwC;AACxC,oEAAkD;AAClD,uDAAqC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/chainsync/domain/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,0DAAwC;AACxC,oEAAkD;AAClD,uDAAqC;AACrC,yCAAuB"}
@@ -0,0 +1,3 @@
1
+ export * from './swap_request.dto';
2
+ export * from './swap_response.dto';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/chainsync/domain/dto/swap/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC"}
@@ -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("./swap_request.dto"), exports);
18
+ __exportStar(require("./swap_response.dto"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/chainsync/domain/dto/swap/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,sDAAoC"}
@@ -0,0 +1,29 @@
1
+ import { CalcMode } from '../../../../../common';
2
+ export declare class SwapTokenDto {
3
+ /**
4
+ * @description The type of coin for the swap
5
+ * @example 60
6
+ */
7
+ coinType: number;
8
+ /**
9
+ * @description The ID of the chain where the swap occurs
10
+ * @example 1
11
+ */
12
+ chainId: number;
13
+ /**
14
+ * @description The address of the contract for the swap
15
+ * @example '0x1234567890abcdef'
16
+ */
17
+ address: string;
18
+ }
19
+ export declare class SwapEstimateRequestDto {
20
+ srcToken: SwapTokenDto;
21
+ dstToken: SwapTokenDto;
22
+ amount: string;
23
+ calcMode: CalcMode;
24
+ }
25
+ export declare class SwapCalldataRequestDto extends SwapEstimateRequestDto {
26
+ srcWalletAddress: string;
27
+ dstWalletAddress: string;
28
+ }
29
+ //# sourceMappingURL=swap_request.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"swap_request.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/chainsync/domain/dto/swap/swap_request.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,qBAAa,YAAY;IACvB;;;OAGG;IAGH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IAGH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IAEH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,sBAAsB;IACjC,QAAQ,EAAE,YAAY,CAAC;IAEvB,QAAQ,EAAE,YAAY,CAAC;IAEvB,MAAM,EAAE,MAAM,CAAC;IAEf,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED,qBAAa,sBAAuB,SAAQ,sBAAsB;IAChE,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;CAC1B"}
@@ -0,0 +1,37 @@
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.SwapCalldataRequestDto = exports.SwapEstimateRequestDto = exports.SwapTokenDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class SwapTokenDto {
15
+ }
16
+ exports.SwapTokenDto = SwapTokenDto;
17
+ __decorate([
18
+ (0, class_validator_1.IsNotEmpty)(),
19
+ (0, class_validator_1.IsNumber)(),
20
+ __metadata("design:type", Number)
21
+ ], SwapTokenDto.prototype, "coinType", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsNotEmpty)(),
24
+ (0, class_validator_1.IsNumber)(),
25
+ __metadata("design:type", Number)
26
+ ], SwapTokenDto.prototype, "chainId", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsString)(),
29
+ __metadata("design:type", String)
30
+ ], SwapTokenDto.prototype, "address", void 0);
31
+ class SwapEstimateRequestDto {
32
+ }
33
+ exports.SwapEstimateRequestDto = SwapEstimateRequestDto;
34
+ class SwapCalldataRequestDto extends SwapEstimateRequestDto {
35
+ }
36
+ exports.SwapCalldataRequestDto = SwapCalldataRequestDto;
37
+ //# sourceMappingURL=swap_request.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"swap_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/chainsync/domain/dto/swap/swap_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AAGjE,MAAa,YAAY;CAuBxB;AAvBD,oCAuBC;AAhBC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACM;AAQjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACK;AAOhB;IADC,IAAA,0BAAQ,GAAE;;6CACK;AAGlB,MAAa,sBAAsB;CAQlC;AARD,wDAQC;AAED,MAAa,sBAAuB,SAAQ,sBAAsB;CAGjE;AAHD,wDAGC"}
@@ -0,0 +1,23 @@
1
+ export declare class SwapCalldataResponsetDto {
2
+ /**
3
+ * @description The transaction data for the token swap
4
+ * @example '0xabcdef...'
5
+ */
6
+ transactionData: string;
7
+ /**
8
+ * @description The value of the transaction for the swap
9
+ * @example '1000'
10
+ */
11
+ transactionValue: string;
12
+ /**
13
+ * @description The receiver of the transaction
14
+ * @example '0x1234567890abcdef'
15
+ */
16
+ transactionReceiver: string;
17
+ }
18
+ export declare class SwapEstimateResponsetDto {
19
+ amount: string;
20
+ gasFee: string;
21
+ fee: string;
22
+ }
23
+ //# sourceMappingURL=swap_response.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"swap_response.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/chainsync/domain/dto/swap/swap_response.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,wBAAwB;IACnC;;;OAGG;IAGH,eAAe,EAAE,MAAM,CAAC;IAExB;;;OAGG;IAGH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;;OAGG;IAGH,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAED,qBAAa,wBAAwB;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;CACb"}
@@ -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.SwapEstimateResponsetDto = exports.SwapCalldataResponsetDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class SwapCalldataResponsetDto {
15
+ }
16
+ exports.SwapCalldataResponsetDto = SwapCalldataResponsetDto;
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], SwapCalldataResponsetDto.prototype, "transactionData", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsString)(),
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ __metadata("design:type", String)
26
+ ], SwapCalldataResponsetDto.prototype, "transactionValue", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsString)(),
29
+ (0, class_validator_1.IsNotEmpty)(),
30
+ __metadata("design:type", String)
31
+ ], SwapCalldataResponsetDto.prototype, "transactionReceiver", void 0);
32
+ class SwapEstimateResponsetDto {
33
+ }
34
+ exports.SwapEstimateResponsetDto = SwapEstimateResponsetDto;
35
+ //# sourceMappingURL=swap_response.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"swap_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/chainsync/domain/dto/swap/swap_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,wBAAwB;CAwBpC;AAxBD,4DAwBC;AAjBC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACW;AAQxB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kEACY;AAQzB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qEACe;AAG9B,MAAa,wBAAwB;CAIpC;AAJD,4DAIC"}
@@ -1,6 +1,5 @@
1
1
  export * from './chainsync';
2
2
  export * from './network';
3
3
  export * from './quote';
4
- export * from './swap';
5
4
  export * from './token';
6
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/modules/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/modules/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
@@ -17,6 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./chainsync"), exports);
18
18
  __exportStar(require("./network"), exports);
19
19
  __exportStar(require("./quote"), exports);
20
- __exportStar(require("./swap"), exports);
21
20
  __exportStar(require("./token"), exports);
22
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/modules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,4CAA0B;AAC1B,0CAAwB;AACxB,yCAAuB;AACvB,0CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/modules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,4CAA0B;AAC1B,0CAAwB;AACxB,0CAAwB"}
@@ -2,6 +2,7 @@ export * from './quote_base_intent_request.dto';
2
2
  export * from './quote_bridge_intent_request.dto';
3
3
  export * from './quote_bridge_intent_response.dto';
4
4
  export * from './quote_estimate_bridge_intent_request.dto';
5
+ export * from './quote_estimate_with_source_base_token_solver_bridge_intent_request.dto';
5
6
  export * from './quote_intent_request.dto';
6
7
  export * from './quote_intent_response.dto';
7
8
  export * from './quote_request_lifecycle.dto';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAEhD,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AAEnD,cAAc,4CAA4C,CAAC;AAE3D,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAE5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AAEpC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sBAAsB,CAAC;AAErC,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AAEtD,cAAc,qCAAqC,CAAC;AACpD,cAAc,sCAAsC,CAAC;AAErD,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAEhD,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AAEnD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,0EAA0E,CAAC;AAEzF,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAE5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AAEpC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sBAAsB,CAAC;AAErC,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AAEtD,cAAc,qCAAqC,CAAC;AACpD,cAAc,sCAAsC,CAAC;AAErD,cAAc,aAAa,CAAC"}
@@ -18,6 +18,7 @@ __exportStar(require("./quote_base_intent_request.dto"), exports);
18
18
  __exportStar(require("./quote_bridge_intent_request.dto"), exports);
19
19
  __exportStar(require("./quote_bridge_intent_response.dto"), exports);
20
20
  __exportStar(require("./quote_estimate_bridge_intent_request.dto"), exports);
21
+ __exportStar(require("./quote_estimate_with_source_base_token_solver_bridge_intent_request.dto"), exports);
21
22
  __exportStar(require("./quote_intent_request.dto"), exports);
22
23
  __exportStar(require("./quote_intent_response.dto"), exports);
23
24
  __exportStar(require("./quote_request_lifecycle.dto"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD;AAEhD,oEAAkD;AAClD,qEAAmD;AAEnD,6EAA2D;AAE3D,6DAA2C;AAC3C,8DAA4C;AAE5C,gEAA8C;AAC9C,sDAAoC;AAEpC,iEAA+C;AAC/C,uDAAqC;AAErC,uEAAqD;AACrD,wEAAsD;AAEtD,sEAAoD;AACpD,uEAAqD;AAErD,8CAA4B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD;AAEhD,oEAAkD;AAClD,qEAAmD;AAEnD,6EAA2D;AAC3D,2GAAyF;AAEzF,6DAA2C;AAC3C,8DAA4C;AAE5C,gEAA8C;AAC9C,sDAAoC;AAEpC,iEAA+C;AAC/C,uDAAqC;AAErC,uEAAqD;AACrD,wEAAsD;AAEtD,sEAAoD;AACpD,uEAAqD;AAErD,8CAA4B"}
@@ -1 +1 @@
1
- {"version":3,"file":"quote.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,qBAAa,QAAQ;IACnB;;;OAGG;IAEH,OAAO,EAAE,eAAe,EAAE,CAAC;CAC5B"}
1
+ {"version":3,"file":"quote.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,qBAAa,QAAQ;IACnB;;;OAGG;IACH,OAAO,EAAE,eAAe,EAAE,CAAC;CAC5B"}
@@ -1,21 +1,7 @@
1
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
2
  Object.defineProperty(exports, "__esModule", { value: true });
12
3
  exports.QuoteDto = void 0;
13
- const class_validator_1 = require("class-validator");
14
4
  class QuoteDto {
15
5
  }
16
6
  exports.QuoteDto = QuoteDto;
17
- __decorate([
18
- (0, class_validator_1.IsNotEmpty)(),
19
- __metadata("design:type", Array)
20
- ], QuoteDto.prototype, "intents", void 0);
21
7
  //# sourceMappingURL=quote.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"quote.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6C;AAG7C,MAAa,QAAQ;CAOpB;AAPD,4BAOC;AADC;IADC,IAAA,4BAAU,GAAE;;yCACc"}
1
+ {"version":3,"file":"quote.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,QAAQ;CAMpB;AAND,4BAMC"}
@@ -1,5 +1,6 @@
1
1
  import { IntentType } from '../../../../../common';
2
2
  export declare class QuoteBaseIntentRequestDto {
3
+ constructor(partial: Partial<QuoteBaseIntentRequestDto>);
3
4
  /**
4
5
  * @example 'bridge'
5
6
  * @description Type of intent request
@@ -1 +1 @@
1
- {"version":3,"file":"quote_base_intent_request.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_base_intent_request.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,qBAAa,yBAAyB;IACpC;;;OAGG;IAEH,UAAU,EAAE,UAAU,CAAC;CACxB"}
1
+ {"version":3,"file":"quote_base_intent_request.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_base_intent_request.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,qBAAa,yBAAyB;gBACxB,OAAO,EAAE,OAAO,CAAC,yBAAyB,CAAC;IAGvD;;;OAGG;IAEH,UAAU,EAAE,UAAU,CAAC;CACxB"}
@@ -13,6 +13,9 @@ exports.QuoteBaseIntentRequestDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const common_1 = require("../../../../../common");
15
15
  class QuoteBaseIntentRequestDto {
16
+ constructor(partial) {
17
+ Object.assign(this, partial);
18
+ }
16
19
  }
17
20
  exports.QuoteBaseIntentRequestDto = QuoteBaseIntentRequestDto;
18
21
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"quote_base_intent_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_base_intent_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,kDAAmD;AAEnD,MAAa,yBAAyB;CAOrC;AAPD,8DAOC;AADC;IADC,IAAA,4BAAU,GAAE;;6DACU"}
1
+ {"version":3,"file":"quote_base_intent_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_base_intent_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6C;AAC7C,kDAAmD;AAEnD,MAAa,yBAAyB;IACpC,YAAY,OAA2C;QACrD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;CAOF;AAVD,8DAUC;AADC;IADC,IAAA,4BAAU,GAAE;;6DACU"}
@@ -1,5 +1,5 @@
1
- import { QuoteEstimateBridgeIntentRequestDto } from './quote_estimate_bridge_intent_request.dto';
2
- export declare class QuoteBridgeIntentRequestDto extends QuoteEstimateBridgeIntentRequestDto {
1
+ import { QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto } from './quote_estimate_with_source_base_token_solver_bridge_intent_request.dto';
2
+ export declare class QuoteBridgeIntentRequestDto extends QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto {
3
3
  /**
4
4
  * @example '0x8767865786576'
5
5
  * @description User source wallet address
@@ -1 +1 @@
1
- {"version":3,"file":"quote_bridge_intent_request.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_bridge_intent_request.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mCAAmC,EAAE,MAAM,4CAA4C,CAAC;AAEjG,qBAAa,2BAA4B,SAAQ,mCAAmC;IAClF;;;OAGG;IAGH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;;OAGG;IAGH,wBAAwB,EAAE,MAAM,CAAC;CAClC"}
1
+ {"version":3,"file":"quote_bridge_intent_request.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_bridge_intent_request.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sDAAsD,EAAE,MAAM,0EAA0E,CAAC;AAElJ,qBAAa,2BAA4B,SAAQ,sDAAsD;IACrG;;;OAGG;IAGH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;;OAGG;IAGH,wBAAwB,EAAE,MAAM,CAAC;CAClC"}
@@ -11,8 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.QuoteBridgeIntentRequestDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- const quote_estimate_bridge_intent_request_dto_1 = require("./quote_estimate_bridge_intent_request.dto");
15
- class QuoteBridgeIntentRequestDto extends quote_estimate_bridge_intent_request_dto_1.QuoteEstimateBridgeIntentRequestDto {
14
+ const quote_estimate_with_source_base_token_solver_bridge_intent_request_dto_1 = require("./quote_estimate_with_source_base_token_solver_bridge_intent_request.dto");
15
+ class QuoteBridgeIntentRequestDto extends quote_estimate_with_source_base_token_solver_bridge_intent_request_dto_1.QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto {
16
16
  }
17
17
  exports.QuoteBridgeIntentRequestDto = QuoteBridgeIntentRequestDto;
18
18
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"quote_bridge_intent_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_bridge_intent_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,yGAAiG;AAEjG,MAAa,2BAA4B,SAAQ,8EAAmC;CAgBnF;AAhBD,kEAgBC;AATC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wEACiB;AAQ5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6EACsB"}
1
+ {"version":3,"file":"quote_bridge_intent_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_bridge_intent_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,qKAAkJ;AAElJ,MAAa,2BAA4B,SAAQ,+HAAsD;CAgBtG;AAhBD,kEAgBC;AATC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wEACiB;AAQ5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6EACsB"}
@@ -1,6 +1,7 @@
1
1
  import { QuoteBaseIntentRequestDto } from './quote_base_intent_request.dto';
2
2
  import { CalcMode } from '../../../../../common';
3
3
  export declare class QuoteEstimateBridgeIntentRequestDto extends QuoteBaseIntentRequestDto {
4
+ constructor(partial: Partial<QuoteEstimateBridgeIntentRequestDto>);
4
5
  /**
5
6
  * @example 1
6
7
  */
@@ -13,7 +14,7 @@ export declare class QuoteEstimateBridgeIntentRequestDto extends QuoteBaseIntent
13
14
  * @example '0xb44146014eD5f7001Ec9b03153950f4129ec7296'
14
15
  * @description address of token contract on source chain, empty if native token
15
16
  */
16
- sourceTokenAddress?: string;
17
+ sourceTokenAddress: string;
17
18
  /**
18
19
  * @example 1333
19
20
  */
@@ -26,7 +27,7 @@ export declare class QuoteEstimateBridgeIntentRequestDto extends QuoteBaseIntent
26
27
  * @example '0xb44146014eD5f7001Ec9b03153950f4129ec7296'
27
28
  * @description address of token contract on destination chain, empty if native token
28
29
  */
29
- destinationTokenAddress?: string;
30
+ destinationTokenAddress: string;
30
31
  /**
31
32
  * @example '1000'
32
33
  */
@@ -1 +1 @@
1
- {"version":3,"file":"quote_estimate_bridge_intent_request.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,qBAAa,mCAAoC,SAAQ,yBAAyB;IAChF;;OAEG;IAGH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IAGH,cAAc,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IAEH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;OAEG;IAGH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IAGH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;;OAGG;IAEH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAEjC;;OAEG;IAGH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IAGH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IAGH,QAAQ,EAAE,QAAQ,CAAC;CACpB"}
1
+ {"version":3,"file":"quote_estimate_bridge_intent_request.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,qBAAa,mCAAoC,SAAQ,yBAAyB;gBACpE,OAAO,EAAE,OAAO,CAAC,mCAAmC,CAAC;IAKjE;;OAEG;IAGH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IAGH,cAAc,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IAEH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IAGH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IAGH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;;OAGG;IAEH,uBAAuB,EAAE,MAAM,CAAC;IAEhC;;OAEG;IAGH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IAGH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IAGH,QAAQ,EAAE,QAAQ,CAAC;CACpB"}
@@ -14,6 +14,10 @@ const class_validator_1 = require("class-validator");
14
14
  const quote_base_intent_request_dto_1 = require("./quote_base_intent_request.dto");
15
15
  const common_1 = require("../../../../../common");
16
16
  class QuoteEstimateBridgeIntentRequestDto extends quote_base_intent_request_dto_1.QuoteBaseIntentRequestDto {
17
+ constructor(partial) {
18
+ super(partial);
19
+ Object.assign(this, partial);
20
+ }
17
21
  }
18
22
  exports.QuoteEstimateBridgeIntentRequestDto = QuoteEstimateBridgeIntentRequestDto;
19
23
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"quote_estimate_bridge_intent_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,mFAA4E;AAC5E,kDAAiD;AAEjD,MAAa,mCAAoC,SAAQ,yDAAyB;CAgEjF;AAhED,kFAgEC;AA1DC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0EACW;AAOtB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2EACY;AAOvB;IADC,IAAA,0BAAQ,GAAE;;+EACiB;AAO5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+EACgB;AAO3B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gFACiB;AAO5B;IADC,IAAA,0BAAQ,GAAE;;oFACsB;AAOjC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mEACI;AAOf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qEACM;AAQjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qEACQ"}
1
+ {"version":3,"file":"quote_estimate_bridge_intent_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,mFAA4E;AAC5E,kDAAiD;AAEjD,MAAa,mCAAoC,SAAQ,yDAAyB;IAChF,YAAY,OAAqD;QAC/D,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;CAiEF;AArED,kFAqEC;AA1DC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0EACW;AAOtB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2EACY;AAOvB;IADC,IAAA,0BAAQ,GAAE;;+EACgB;AAO3B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+EACgB;AAO3B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gFACiB;AAO5B;IADC,IAAA,0BAAQ,GAAE;;oFACqB;AAOhC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mEACI;AAOf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qEACM;AAQjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qEACQ"}
@@ -0,0 +1,22 @@
1
+ import { QuoteEstimateBridgeIntentRequestDto } from './quote_estimate_bridge_intent_request.dto';
2
+ export declare class QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto extends QuoteEstimateBridgeIntentRequestDto {
3
+ constructor(partial: Partial<QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto>);
4
+ /**
5
+ * @example 1
6
+ */
7
+ sourceBaseTokenChainId: number;
8
+ /**
9
+ * @example 60
10
+ */
11
+ sourceBaseTokenCoinType: number;
12
+ /**
13
+ * @example '0xb44146014eD5f7001Ec9b03153950f4129ec7296'
14
+ * @description address of token contract on source chain, empty if native token
15
+ */
16
+ sourceBaseTokenAddress: string;
17
+ /**
18
+ * @example '1000'
19
+ */
20
+ sourceBaseTokenAmount: string;
21
+ }
22
+ //# sourceMappingURL=quote_estimate_solver_bridge_intent_request.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quote_estimate_solver_bridge_intent_request.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_estimate_solver_bridge_intent_request.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mCAAmC,EAAE,MAAM,4CAA4C,CAAC;AAEjG,qBAAa,sDAAuD,SAAQ,mCAAmC;gBACjG,OAAO,EAAE,OAAO,CAAC,sDAAsD,CAAC;IAKpF;;OAEG;IAGH,sBAAsB,EAAE,MAAM,CAAC;IAE/B;;OAEG;IAGH,uBAAuB,EAAE,MAAM,CAAC;IAEhC;;;OAGG;IAEH,sBAAsB,EAAE,MAAM,CAAC;IAE/B;;OAEG;IAGH,qBAAqB,EAAE,MAAM,CAAC;CAC/B"}
@@ -0,0 +1,41 @@
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.QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const quote_estimate_bridge_intent_request_dto_1 = require("./quote_estimate_bridge_intent_request.dto");
15
+ class QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto extends quote_estimate_bridge_intent_request_dto_1.QuoteEstimateBridgeIntentRequestDto {
16
+ constructor(partial) {
17
+ super(partial);
18
+ Object.assign(this, partial);
19
+ }
20
+ }
21
+ exports.QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto = QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto;
22
+ __decorate([
23
+ (0, class_validator_1.IsNotEmpty)(),
24
+ (0, class_validator_1.IsNumber)(),
25
+ __metadata("design:type", Number)
26
+ ], QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto.prototype, "sourceBaseTokenChainId", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsNotEmpty)(),
29
+ (0, class_validator_1.IsNumber)(),
30
+ __metadata("design:type", Number)
31
+ ], QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto.prototype, "sourceBaseTokenCoinType", void 0);
32
+ __decorate([
33
+ (0, class_validator_1.IsString)(),
34
+ __metadata("design:type", String)
35
+ ], QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto.prototype, "sourceBaseTokenAddress", void 0);
36
+ __decorate([
37
+ (0, class_validator_1.IsNotEmpty)(),
38
+ (0, class_validator_1.IsNumber)(),
39
+ __metadata("design:type", String)
40
+ ], QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto.prototype, "sourceBaseTokenAmount", void 0);
41
+ //# sourceMappingURL=quote_estimate_solver_bridge_intent_request.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quote_estimate_solver_bridge_intent_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_estimate_solver_bridge_intent_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,yGAAiG;AAEjG,MAAa,sDAAuD,SAAQ,8EAAmC;IAC7G,YAAY,OAAwE;QAClF,KAAK,CAAC,OAAO,CAAC,CAAA;QACd,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;CA6BF;AAjCD,wHAiCC;AAtBC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sGACoB;AAO/B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uGACqB;AAOhC;IADC,IAAA,0BAAQ,GAAE;;sGACoB;AAO/B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qGACmB"}
@@ -0,0 +1,22 @@
1
+ import { QuoteEstimateBridgeIntentRequestDto } from './quote_estimate_bridge_intent_request.dto';
2
+ export declare class QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto extends QuoteEstimateBridgeIntentRequestDto {
3
+ constructor(partial: Partial<QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto>);
4
+ /**
5
+ * @example 1
6
+ */
7
+ sourceBaseTokenChainId: number;
8
+ /**
9
+ * @example 60
10
+ */
11
+ sourceBaseTokenCoinType: number;
12
+ /**
13
+ * @example '0xb44146014eD5f7001Ec9b03153950f4129ec7296'
14
+ * @description address of token contract on source chain, empty if native token
15
+ */
16
+ sourceBaseTokenAddress: string;
17
+ /**
18
+ * @example '1000'
19
+ */
20
+ sourceBaseTokenAmount: string;
21
+ }
22
+ //# sourceMappingURL=quote_estimate_with_source_base_token_solver_bridge_intent_request.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quote_estimate_with_source_base_token_solver_bridge_intent_request.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_estimate_with_source_base_token_solver_bridge_intent_request.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mCAAmC,EAAE,MAAM,4CAA4C,CAAC;AAEjG,qBAAa,sDAAuD,SAAQ,mCAAmC;gBAE3G,OAAO,EAAE,OAAO,CAAC,sDAAsD,CAAC;IAM1E;;OAEG;IAGH,sBAAsB,EAAE,MAAM,CAAC;IAE/B;;OAEG;IAGH,uBAAuB,EAAE,MAAM,CAAC;IAEhC;;;OAGG;IAEH,sBAAsB,EAAE,MAAM,CAAC;IAE/B;;OAEG;IAGH,qBAAqB,EAAE,MAAM,CAAC;CAC/B"}
@@ -0,0 +1,41 @@
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.QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const quote_estimate_bridge_intent_request_dto_1 = require("./quote_estimate_bridge_intent_request.dto");
15
+ class QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto extends quote_estimate_bridge_intent_request_dto_1.QuoteEstimateBridgeIntentRequestDto {
16
+ constructor(partial) {
17
+ super(partial);
18
+ Object.assign(this, partial);
19
+ }
20
+ }
21
+ exports.QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto = QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto;
22
+ __decorate([
23
+ (0, class_validator_1.IsNotEmpty)(),
24
+ (0, class_validator_1.IsNumber)(),
25
+ __metadata("design:type", Number)
26
+ ], QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto.prototype, "sourceBaseTokenChainId", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsNotEmpty)(),
29
+ (0, class_validator_1.IsNumber)(),
30
+ __metadata("design:type", Number)
31
+ ], QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto.prototype, "sourceBaseTokenCoinType", void 0);
32
+ __decorate([
33
+ (0, class_validator_1.IsString)(),
34
+ __metadata("design:type", String)
35
+ ], QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto.prototype, "sourceBaseTokenAddress", void 0);
36
+ __decorate([
37
+ (0, class_validator_1.IsNotEmpty)(),
38
+ (0, class_validator_1.IsNumber)(),
39
+ __metadata("design:type", String)
40
+ ], QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto.prototype, "sourceBaseTokenAmount", void 0);
41
+ //# sourceMappingURL=quote_estimate_with_source_base_token_solver_bridge_intent_request.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quote_estimate_with_source_base_token_solver_bridge_intent_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_estimate_with_source_base_token_solver_bridge_intent_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,yGAAiG;AAEjG,MAAa,sDAAuD,SAAQ,8EAAmC;IAC7G,YACE,OAAwE;QAExE,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;CA6BF;AAnCD,wHAmCC;AAtBC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sGACoB;AAO/B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uGACqB;AAOhC;IADC,IAAA,0BAAQ,GAAE;;sGACoB;AAO/B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qGACmB"}
@@ -1,4 +1,7 @@
1
1
  import { QuoteIntentRequestType } from './quote_intent_request.dto';
2
2
  import { QuoteIntentResponseDto } from './quote_intent_response.dto';
3
- export type QuoteIntentType = QuoteIntentResponseDto & QuoteIntentRequestType;
3
+ export declare class QuoteIntentType {
4
+ response: QuoteIntentResponseDto;
5
+ request: QuoteIntentRequestType;
6
+ }
4
7
  //# sourceMappingURL=quote_intent.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"quote_intent.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_intent.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,MAAM,MAAM,eAAe,GAAG,sBAAsB,GAAG,sBAAsB,CAAC"}
1
+ {"version":3,"file":"quote_intent.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_intent.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,qBAAa,eAAe;IAC1B,QAAQ,EAAE,sBAAsB,CAAC;IACjC,OAAO,EAAE,sBAAsB,CAAC;CACjC"}
@@ -1,3 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.QuoteIntentType = void 0;
4
+ class QuoteIntentType {
5
+ }
6
+ exports.QuoteIntentType = QuoteIntentType;
3
7
  //# sourceMappingURL=quote_intent.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"quote_intent.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_intent.dto.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"quote_intent.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_intent.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,eAAe;CAG3B;AAHD,0CAGC"}
@@ -1,10 +1,11 @@
1
1
  import { QuoteBridgeIntentRequestDto } from './quote_bridge_intent_request.dto';
2
2
  import { QuoteEstimateBridgeIntentRequestDto } from './quote_estimate_bridge_intent_request.dto';
3
- export type QuoteIntentRequestType = QuoteBridgeIntentRequestDto | QuoteEstimateBridgeIntentRequestDto;
3
+ import { QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto } from './quote_estimate_with_source_base_token_solver_bridge_intent_request.dto';
4
+ export type QuoteIntentRequestType = QuoteEstimateBridgeIntentRequestDto | QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto | QuoteBridgeIntentRequestDto;
4
5
  export type CreateQuoteIntentRequestDto = QuoteIntentRequestType & {
5
6
  quoteRequestId: string;
6
7
  };
7
- export type SolverQuoteIntentRequestDto = QuoteIntentRequestType & {
8
+ export type SolverQuoteEstimateIntentRequestDto = QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto & {
8
9
  id: string;
9
10
  };
10
11
  //# sourceMappingURL=quote_intent_request.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"quote_intent_request.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_intent_request.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,EAAE,mCAAmC,EAAE,MAAM,4CAA4C,CAAC;AAEjG,MAAM,MAAM,sBAAsB,GAC9B,2BAA2B,GAC3B,mCAAmC,CAAC;AAExC,MAAM,MAAM,2BAA2B,GAAG,sBAAsB,GAAG;IACjE,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,sBAAsB,GAAG;IACjE,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC"}
1
+ {"version":3,"file":"quote_intent_request.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_intent_request.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,EAAE,mCAAmC,EAAE,MAAM,4CAA4C,CAAC;AACjG,OAAO,EAAE,sDAAsD,EAAE,MAAM,0EAA0E,CAAC;AAElJ,MAAM,MAAM,sBAAsB,GAC9B,mCAAmC,GACnC,sDAAsD,GACtD,2BAA2B,CAAC;AAEhC,MAAM,MAAM,2BAA2B,GAAG,sBAAsB,GAAG;IACjE,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,mCAAmC,GAC7C,sDAAsD,GAAG;IACvD,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC"}
@@ -32,6 +32,7 @@ export declare class QuoteResponseDto {
32
32
  * @description The 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.
33
33
  * @example 5000000000000000 (for a fee estimate of 0.005 ETH)
34
34
  */
35
- feeEstimate: string;
35
+ feeEstimate?: string;
36
+ quoteRequestId?: string;
36
37
  }
37
38
  //# 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;AAErE,qBAAa,gBAAgB;IAC3B;;;;;;;;;;;;;;;;;;OAkBG;IAEH,eAAe,EAAE,sBAAsB,EAAE,CAAC;IAE1C;;OAEG;IAEH,gBAAgB,CAAC,EAAE,IAAI,CAAC;IAExB;;OAEG;IAEH,YAAY,CAAC,EAAE,IAAI,CAAC;IAEpB;;;OAGG;IAEH,WAAW,EAAE,MAAM,CAAC;CACrB"}
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;AAErE,qBAAa,gBAAgB;IAC3B;;;;;;;;;;;;;;;;;;OAkBG;IAEH,eAAe,EAAE,sBAAsB,EAAE,CAAC;IAE1C;;OAEG;IAEH,gBAAgB,CAAC,EAAE,IAAI,CAAC;IAExB;;OAEG;IAEH,YAAY,CAAC,EAAE,IAAI,CAAC;IAEpB;;;OAGG;IAEH,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
@@ -27,7 +27,11 @@ __decorate([
27
27
  __metadata("design:type", Date)
28
28
  ], QuoteResponseDto.prototype, "redeemExpiry", void 0);
29
29
  __decorate([
30
- (0, class_validator_1.IsNotEmpty)(),
30
+ (0, class_validator_1.IsString)(),
31
31
  __metadata("design:type", String)
32
32
  ], QuoteResponseDto.prototype, "feeEstimate", void 0);
33
+ __decorate([
34
+ (0, class_validator_1.IsUUID)(),
35
+ __metadata("design:type", String)
36
+ ], QuoteResponseDto.prototype, "quoteRequestId", void 0);
33
37
  //# 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,qDAA8D;AAG9D,MAAa,gBAAgB;CAyC5B;AAzCD,4CAyCC;AApBC;IADC,IAAA,yBAAO,GAAE;;yDACgC;AAM1C;IADC,IAAA,wBAAM,GAAE;8BACU,IAAI;0DAAC;AAMxB;IADC,IAAA,wBAAM,GAAE;8BACM,IAAI;sDAAC;AAOpB;IADC,IAAA,4BAAU,GAAE;;qDACO"}
1
+ {"version":3,"file":"quote_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgF;AAGhF,MAAa,gBAAgB;CA4C5B;AA5CD,4CA4CC;AAvBC;IADC,IAAA,yBAAO,GAAE;;yDACgC;AAM1C;IADC,IAAA,wBAAM,GAAE;8BACU,IAAI;0DAAC;AAMxB;IADC,IAAA,wBAAM,GAAE;8BACM,IAAI;sDAAC;AAOpB;IADC,IAAA,0BAAQ,GAAE;;qDACU;AAGrB;IADC,IAAA,wBAAM,GAAE;;wDACe"}
@@ -1,3 +1,19 @@
1
+ import { TransactionRequest } from 'ethers';
1
2
  export declare class QuoteSelectedIntentsResponseDto {
3
+ /**
4
+ * @description Example description of the response data
5
+ * @example { "exampleKey": "exampleValue" }
6
+ */
7
+ transaction: EvmTransaction;
8
+ }
9
+ export declare class EvmTransaction {
10
+ approve: {
11
+ to: string;
12
+ data: TransactionRequest;
13
+ };
14
+ pluton: {
15
+ to: string;
16
+ data: TransactionRequest;
17
+ };
2
18
  }
3
19
  //# sourceMappingURL=quote_selected_intents_resposne.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"quote_selected_intents_resposne.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,+BAA+B;CAK3C"}
1
+ {"version":3,"file":"quote_selected_intents_resposne.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAE5C,qBAAa,+BAA+B;IAC1C;;;OAGG;IAEH,WAAW,EAAE,cAAc,CAAC;CAC7B;AAED,qBAAa,cAAc;IACzB,OAAO,EAAE;QACP,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,kBAAkB,CAAC;KAC1B,CAAC;IAEF,MAAM,EAAE;QACN,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,kBAAkB,CAAC;KAC1B,CAAC;CACH"}
@@ -1,7 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.QuoteSelectedIntentsResponseDto = void 0;
3
+ exports.EvmTransaction = exports.QuoteSelectedIntentsResponseDto = void 0;
4
4
  class QuoteSelectedIntentsResponseDto {
5
5
  }
6
6
  exports.QuoteSelectedIntentsResponseDto = QuoteSelectedIntentsResponseDto;
7
+ class EvmTransaction {
8
+ }
9
+ exports.EvmTransaction = EvmTransaction;
7
10
  //# sourceMappingURL=quote_selected_intents_resposne.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"quote_selected_intents_resposne.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,+BAA+B;CAK3C;AALD,0EAKC"}
1
+ {"version":3,"file":"quote_selected_intents_resposne.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,+BAA+B;CAO3C;AAPD,0EAOC;AAED,MAAa,cAAc;CAU1B;AAVD,wCAUC"}
@@ -1,8 +1,9 @@
1
1
  export declare class QuoteSetTransactionRequestDto {
2
+ id: string;
2
3
  /**
3
4
  * @description Description for this property
4
5
  * @example 'Example value'
5
6
  */
6
- propertyName: string;
7
+ transactionHash: string;
7
8
  }
8
9
  //# sourceMappingURL=quote_set_transaction_request.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"quote_set_transaction_request.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,6BAA6B;IACxC;;;OAGG;IAEH,YAAY,EAAE,MAAM,CAAC;CACtB"}
1
+ {"version":3,"file":"quote_set_transaction_request.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,6BAA6B;IAExC,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IAEH,eAAe,EAAE,MAAM,CAAC;CACzB"}
@@ -14,8 +14,12 @@ const class_validator_1 = require("class-validator");
14
14
  class QuoteSetTransactionRequestDto {
15
15
  }
16
16
  exports.QuoteSetTransactionRequestDto = QuoteSetTransactionRequestDto;
17
+ __decorate([
18
+ (0, class_validator_1.IsUUID)(),
19
+ __metadata("design:type", String)
20
+ ], QuoteSetTransactionRequestDto.prototype, "id", void 0);
17
21
  __decorate([
18
22
  (0, class_validator_1.IsNotEmpty)(),
19
23
  __metadata("design:type", String)
20
- ], QuoteSetTransactionRequestDto.prototype, "propertyName", void 0);
24
+ ], QuoteSetTransactionRequestDto.prototype, "transactionHash", void 0);
21
25
  //# sourceMappingURL=quote_set_transaction_request.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"quote_set_transaction_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6C;AAE7C,MAAa,6BAA6B;CAOzC;AAPD,sEAOC;AADC;IADC,IAAA,4BAAU,GAAE;;mEACQ"}
1
+ {"version":3,"file":"quote_set_transaction_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqD;AAErD,MAAa,6BAA6B;CAUzC;AAVD,sEAUC;AARC;IADC,IAAA,wBAAM,GAAE;;yDACE;AAOX;IADC,IAAA,4BAAU,GAAE;;sEACW"}
@@ -1,8 +1,3 @@
1
1
  export declare class QuoteSetTransactionResponseDto {
2
- /**
3
- * @description Description for this property
4
- * @example 'Example value'
5
- */
6
- propertyName: string;
7
2
  }
8
3
  //# sourceMappingURL=quote_set_transaction_response.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"quote_set_transaction_response.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_set_transaction_response.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,8BAA8B;IACzC;;;OAGG;IAEH,YAAY,EAAE,MAAM,CAAC;CACtB"}
1
+ {"version":3,"file":"quote_set_transaction_response.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_set_transaction_response.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,8BAA8B;CAAG"}
@@ -1,21 +1,7 @@
1
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
2
  Object.defineProperty(exports, "__esModule", { value: true });
12
3
  exports.QuoteSetTransactionResponseDto = void 0;
13
- const class_validator_1 = require("class-validator");
14
4
  class QuoteSetTransactionResponseDto {
15
5
  }
16
6
  exports.QuoteSetTransactionResponseDto = QuoteSetTransactionResponseDto;
17
- __decorate([
18
- (0, class_validator_1.IsNotEmpty)(),
19
- __metadata("design:type", String)
20
- ], QuoteSetTransactionResponseDto.prototype, "propertyName", void 0);
21
7
  //# sourceMappingURL=quote_set_transaction_response.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"quote_set_transaction_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_set_transaction_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6C;AAE7C,MAAa,8BAA8B;CAO1C;AAPD,wEAOC;AADC;IADC,IAAA,4BAAU,GAAE;;oEACQ"}
1
+ {"version":3,"file":"quote_set_transaction_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_set_transaction_response.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,8BAA8B;CAAG;AAA9C,wEAA8C"}
@@ -22,7 +22,7 @@ export declare class SwapBridgeEstimateRequestDto {
22
22
  amount: string;
23
23
  calcMode: CalcMode;
24
24
  }
25
- export declare class SwapBridgeInstructionRequestDto extends SwapBridgeEstimateRequestDto {
25
+ export declare class SwapBridgeCalldataRequestDto extends SwapBridgeEstimateRequestDto {
26
26
  srcWalletAddress: string;
27
27
  dstWalletAddress: string;
28
28
  }
@@ -1 +1 @@
1
- {"version":3,"file":"swap_request.dto.d.ts","sourceRoot":"","sources":["../../../../../src/modules/swap/domain/dto/swap_request.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE9C,qBAAa,kBAAkB;IAC7B;;;OAGG;IAGH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IAGH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IAEH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,4BAA4B;IACvC,QAAQ,EAAE,kBAAkB,CAAC;IAE7B,QAAQ,EAAE,kBAAkB,CAAC;IAE7B,MAAM,EAAE,MAAM,CAAC;IAEf,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED,qBAAa,+BAAgC,SAAQ,4BAA4B;IAC/E,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;CAC1B"}
1
+ {"version":3,"file":"swap_request.dto.d.ts","sourceRoot":"","sources":["../../../../../src/modules/swap/domain/dto/swap_request.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE9C,qBAAa,kBAAkB;IAC7B;;;OAGG;IAGH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IAGH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IAEH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,4BAA4B;IACvC,QAAQ,EAAE,kBAAkB,CAAC;IAE7B,QAAQ,EAAE,kBAAkB,CAAC;IAE7B,MAAM,EAAE,MAAM,CAAC;IAEf,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED,qBAAa,4BAA6B,SAAQ,4BAA4B;IAC5E,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;CAC1B"}
@@ -9,7 +9,7 @@ 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.SwapBridgeInstructionRequestDto = exports.SwapBridgeEstimateRequestDto = exports.SwapBridgeTokenDto = void 0;
12
+ exports.SwapBridgeCalldataRequestDto = exports.SwapBridgeEstimateRequestDto = exports.SwapBridgeTokenDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  class SwapBridgeTokenDto {
15
15
  }
@@ -31,7 +31,7 @@ __decorate([
31
31
  class SwapBridgeEstimateRequestDto {
32
32
  }
33
33
  exports.SwapBridgeEstimateRequestDto = SwapBridgeEstimateRequestDto;
34
- class SwapBridgeInstructionRequestDto extends SwapBridgeEstimateRequestDto {
34
+ class SwapBridgeCalldataRequestDto extends SwapBridgeEstimateRequestDto {
35
35
  }
36
- exports.SwapBridgeInstructionRequestDto = SwapBridgeInstructionRequestDto;
36
+ exports.SwapBridgeCalldataRequestDto = SwapBridgeCalldataRequestDto;
37
37
  //# sourceMappingURL=swap_request.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"swap_request.dto.js","sourceRoot":"","sources":["../../../../../src/modules/swap/domain/dto/swap_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AAGjE,MAAa,kBAAkB;CAuB9B;AAvBD,gDAuBC;AAhBC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACM;AAQjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACK;AAOhB;IADC,IAAA,0BAAQ,GAAE;;mDACK;AAGlB,MAAa,4BAA4B;CAQxC;AARD,oEAQC;AAED,MAAa,+BAAgC,SAAQ,4BAA4B;CAGhF;AAHD,0EAGC"}
1
+ {"version":3,"file":"swap_request.dto.js","sourceRoot":"","sources":["../../../../../src/modules/swap/domain/dto/swap_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AAGjE,MAAa,kBAAkB;CAuB9B;AAvBD,gDAuBC;AAhBC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACM;AAQjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACK;AAOhB;IADC,IAAA,0BAAQ,GAAE;;mDACK;AAGlB,MAAa,4BAA4B;CAQxC;AARD,oEAQC;AAED,MAAa,4BAA6B,SAAQ,4BAA4B;CAG7E;AAHD,oEAGC"}
@@ -1,4 +1,4 @@
1
- export declare class SwapBridgeInstructionResponsetDto {
1
+ export declare class SwapBridgeCalldataResponsetDto {
2
2
  /**
3
3
  * @description The transaction data for the token swap
4
4
  * @example '0xabcdef...'
@@ -17,5 +17,7 @@ export declare class SwapBridgeInstructionResponsetDto {
17
17
  }
18
18
  export declare class SwapBridgeEstimateResponsetDto {
19
19
  amount: string;
20
+ gasFee: string;
21
+ fee: string;
20
22
  }
21
23
  //# sourceMappingURL=swap_response.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"swap_response.dto.d.ts","sourceRoot":"","sources":["../../../../../src/modules/swap/domain/dto/swap_response.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,iCAAiC;IAC5C;;;OAGG;IAGH,eAAe,EAAE,MAAM,CAAC;IAExB;;;OAGG;IAGH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;;OAGG;IAGH,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAED,qBAAa,8BAA8B;IACzC,MAAM,EAAE,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"swap_response.dto.d.ts","sourceRoot":"","sources":["../../../../../src/modules/swap/domain/dto/swap_response.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,8BAA8B;IACzC;;;OAGG;IAGH,eAAe,EAAE,MAAM,CAAC;IAExB;;;OAGG;IAGH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;;OAGG;IAGH,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAED,qBAAa,8BAA8B;IACzC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;CACb"}
@@ -9,26 +9,26 @@ 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.SwapBridgeEstimateResponsetDto = exports.SwapBridgeInstructionResponsetDto = void 0;
12
+ exports.SwapBridgeEstimateResponsetDto = exports.SwapBridgeCalldataResponsetDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- class SwapBridgeInstructionResponsetDto {
14
+ class SwapBridgeCalldataResponsetDto {
15
15
  }
16
- exports.SwapBridgeInstructionResponsetDto = SwapBridgeInstructionResponsetDto;
16
+ exports.SwapBridgeCalldataResponsetDto = SwapBridgeCalldataResponsetDto;
17
17
  __decorate([
18
18
  (0, class_validator_1.IsString)(),
19
19
  (0, class_validator_1.IsNotEmpty)(),
20
20
  __metadata("design:type", String)
21
- ], SwapBridgeInstructionResponsetDto.prototype, "transactionData", void 0);
21
+ ], SwapBridgeCalldataResponsetDto.prototype, "transactionData", void 0);
22
22
  __decorate([
23
23
  (0, class_validator_1.IsString)(),
24
24
  (0, class_validator_1.IsNotEmpty)(),
25
25
  __metadata("design:type", String)
26
- ], SwapBridgeInstructionResponsetDto.prototype, "transactionValue", void 0);
26
+ ], SwapBridgeCalldataResponsetDto.prototype, "transactionValue", void 0);
27
27
  __decorate([
28
28
  (0, class_validator_1.IsString)(),
29
29
  (0, class_validator_1.IsNotEmpty)(),
30
30
  __metadata("design:type", String)
31
- ], SwapBridgeInstructionResponsetDto.prototype, "transactionReceiver", void 0);
31
+ ], SwapBridgeCalldataResponsetDto.prototype, "transactionReceiver", void 0);
32
32
  class SwapBridgeEstimateResponsetDto {
33
33
  }
34
34
  exports.SwapBridgeEstimateResponsetDto = SwapBridgeEstimateResponsetDto;
@@ -1 +1 @@
1
- {"version":3,"file":"swap_response.dto.js","sourceRoot":"","sources":["../../../../../src/modules/swap/domain/dto/swap_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,iCAAiC;CAwB7C;AAxBD,8EAwBC;AAjBC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0EACW;AAQxB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2EACY;AAQzB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8EACe;AAG9B,MAAa,8BAA8B;CAE1C;AAFD,wEAEC"}
1
+ {"version":3,"file":"swap_response.dto.js","sourceRoot":"","sources":["../../../../../src/modules/swap/domain/dto/swap_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,8BAA8B;CAwB1C;AAxBD,wEAwBC;AAjBC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uEACW;AAQxB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wEACY;AAQzB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2EACe;AAG9B,MAAa,8BAA8B;CAI1C;AAJD,wEAIC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plutonlabs/sdk",
3
- "version": "0.0.19-beta",
3
+ "version": "0.0.22-beta",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [
@@ -23,6 +23,7 @@
23
23
  "@plutonlabs/sdk": "^0.0.3-beta",
24
24
  "bignumber.js": "^9.1.2",
25
25
  "class-transformer": "^0.5.1",
26
- "class-validator": "^0.14.1"
26
+ "class-validator": "^0.14.1",
27
+ "ethers": "^6.13.5"
27
28
  }
28
29
  }
package/README.md DELETED
@@ -1 +0,0 @@
1
- # pluton-sdk