@plutonlabs/sdk 0.0.25-beta → 0.0.27-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/chainsync/domain/dto/chain_transaction.dto.d.ts +30 -28
- package/dist/modules/chainsync/domain/dto/chain_transaction.dto.d.ts.map +1 -1
- package/dist/modules/chainsync/domain/dto/chain_transaction.dto.js +9 -27
- package/dist/modules/chainsync/domain/dto/chain_transaction.dto.js.map +1 -1
- package/dist/modules/chainsync/domain/dto/pluton_request.dto.d.ts +1 -2
- package/dist/modules/chainsync/domain/dto/pluton_request.dto.d.ts.map +1 -1
- package/dist/modules/chainsync/domain/dto/pluton_request.dto.js +1 -7
- package/dist/modules/chainsync/domain/dto/pluton_request.dto.js.map +1 -1
- package/dist/modules/chainsync/domain/dto/swap/swap_request.dto.d.ts +2 -1
- package/dist/modules/chainsync/domain/dto/swap/swap_request.dto.d.ts.map +1 -1
- package/dist/modules/chainsync/domain/dto/swap/swap_request.dto.js +5 -1
- package/dist/modules/chainsync/domain/dto/swap/swap_request.dto.js.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.d.ts.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.js.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_estimate_solver_bridge_intent_request.dto.d.ts +21 -21
- package/dist/modules/quote/domain/dto/quote/quote_estimate_solver_bridge_intent_request.dto.js +40 -40
- package/dist/modules/quote/domain/dto/quote/quote_intent_request.dto.d.ts +3 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent_request.dto.d.ts.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_request.dto.js.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_request.dto.d.ts +0 -1
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_request.dto.d.ts.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_request.dto.js +0 -5
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_request.dto.js.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.d.ts +1 -8
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.d.ts.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.js.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.d.ts +3 -0
- package/dist/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.d.ts.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.js +8 -1
- package/dist/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.js.map +1 -1
- package/dist/modules/swap/domain/dto/swap_request.dto.d.ts +28 -28
- package/dist/modules/swap/domain/dto/swap_request.dto.js +36 -36
- package/dist/modules/swap/domain/dto/swap_response.dto.d.ts +22 -22
- package/dist/modules/swap/domain/dto/swap_response.dto.js +34 -34
- package/dist/seed/pluton_contracts_seed.json +2 -2
- package/package.json +28 -28
@@ -1,57 +1,59 @@
|
|
1
1
|
export declare class ChainTransactionDto {
|
2
2
|
static from<T extends {
|
3
|
-
id
|
4
|
-
|
5
|
-
|
3
|
+
id?: string;
|
4
|
+
quoteIntentRequestId?: string;
|
5
|
+
quoteIntentResponseId?: string;
|
6
6
|
blockNumber?: number;
|
7
7
|
blockHash?: string;
|
8
8
|
hash: string;
|
9
|
-
from
|
10
|
-
to
|
9
|
+
from?: string;
|
10
|
+
to?: string;
|
11
11
|
index?: number;
|
12
12
|
type?: number;
|
13
|
-
gasLimit
|
14
|
-
gasPrice
|
13
|
+
gasLimit?: string;
|
14
|
+
gasPrice?: string;
|
15
15
|
maxFeePerGas?: string;
|
16
|
-
data
|
17
|
-
value
|
16
|
+
data?: string;
|
17
|
+
value?: string;
|
18
18
|
chainId?: number;
|
19
19
|
signature?: string;
|
20
|
+
confirmation?: boolean;
|
20
21
|
}>(tx: T): ChainTransactionDto;
|
21
22
|
static listFrom<T extends {
|
22
|
-
id
|
23
|
-
|
24
|
-
|
23
|
+
id?: string;
|
24
|
+
quoteIntentRequestId?: string;
|
25
|
+
quoteIntentResponseId?: string;
|
25
26
|
blockNumber?: number;
|
26
27
|
blockHash?: string;
|
27
28
|
hash: string;
|
28
|
-
from
|
29
|
-
to
|
29
|
+
from?: string;
|
30
|
+
to?: string;
|
30
31
|
index?: number;
|
31
32
|
type?: number;
|
32
|
-
gasLimit
|
33
|
-
gasPrice
|
33
|
+
gasLimit?: string;
|
34
|
+
gasPrice?: string;
|
34
35
|
maxFeePerGas?: string;
|
35
|
-
data
|
36
|
-
value
|
36
|
+
data?: string;
|
37
|
+
value?: string;
|
37
38
|
chainId?: number;
|
38
39
|
signature?: string;
|
40
|
+
confirmation?: boolean;
|
39
41
|
}>(entities: T[]): ChainTransactionDto[];
|
40
42
|
/**
|
41
43
|
* Unique identifier of the transaction
|
42
44
|
* @example '12345'
|
43
45
|
*/
|
44
|
-
id
|
46
|
+
id?: string;
|
45
47
|
/**
|
46
48
|
* UUID of the request quote
|
47
49
|
* @example 'a1b2c3d4-e5f6-7890-1234-56789abcdef0'
|
48
50
|
*/
|
49
|
-
|
51
|
+
quoteIntentRequestId?: string;
|
50
52
|
/**
|
51
53
|
* UUID of the response quote
|
52
54
|
* @example 'f0e1d2c3-b4a5-6789-0123-456789abcdef'
|
53
55
|
*/
|
54
|
-
|
56
|
+
quoteIntentResponseId?: string;
|
55
57
|
/**
|
56
58
|
* Block number where the transaction was mined
|
57
59
|
* @example 123456
|
@@ -71,12 +73,12 @@ export declare class ChainTransactionDto {
|
|
71
73
|
* Sender address
|
72
74
|
* @example '0xabc123...'
|
73
75
|
*/
|
74
|
-
from
|
76
|
+
from?: string;
|
75
77
|
/**
|
76
78
|
* Receiver address
|
77
79
|
* @example '0xabc123...'
|
78
80
|
*/
|
79
|
-
to
|
81
|
+
to?: string;
|
80
82
|
/**
|
81
83
|
* Transaction index
|
82
84
|
* @example 0
|
@@ -91,12 +93,12 @@ export declare class ChainTransactionDto {
|
|
91
93
|
* Gas limit as string
|
92
94
|
* @example '21000'
|
93
95
|
*/
|
94
|
-
gasLimit
|
96
|
+
gasLimit?: string;
|
95
97
|
/**
|
96
98
|
* Gas price as string
|
97
99
|
* @example '20000000000'
|
98
100
|
*/
|
99
|
-
gasPrice
|
101
|
+
gasPrice?: string;
|
100
102
|
/**
|
101
103
|
* Max fee per gas as string
|
102
104
|
* @example '25000000000'
|
@@ -106,12 +108,12 @@ export declare class ChainTransactionDto {
|
|
106
108
|
* Transaction data
|
107
109
|
* @example '0xdata'
|
108
110
|
*/
|
109
|
-
data
|
111
|
+
data?: string;
|
110
112
|
/**
|
111
113
|
* Transaction value as string
|
112
114
|
* @example '1000000000000000000'
|
113
115
|
*/
|
114
|
-
value
|
116
|
+
value?: string;
|
115
117
|
/**
|
116
118
|
* Chain ID as number
|
117
119
|
* @example 1
|
@@ -126,6 +128,6 @@ export declare class ChainTransactionDto {
|
|
126
128
|
* Confirmation Status of Transaction
|
127
129
|
* @example false
|
128
130
|
*/
|
129
|
-
confirmation
|
131
|
+
confirmation?: boolean;
|
130
132
|
}
|
131
133
|
//# sourceMappingURL=chain_transaction.dto.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"chain_transaction.dto.d.ts","sourceRoot":"","sources":["../../../../../src/modules/chainsync/domain/dto/chain_transaction.dto.ts"],"names":[],"mappings":"AAUA,qBAAa,mBAAmB;WAChB,IAAI,CAChB,CAAC,SAAS;QACR,EAAE,EAAE,MAAM,CAAC;
|
1
|
+
{"version":3,"file":"chain_transaction.dto.d.ts","sourceRoot":"","sources":["../../../../../src/modules/chainsync/domain/dto/chain_transaction.dto.ts"],"names":[],"mappings":"AAUA,qBAAa,mBAAmB;WAChB,IAAI,CAChB,CAAC,SAAS;QACR,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,oBAAoB,CAAC,EAAE,MAAM,CAAC;QAC9B,qBAAqB,CAAC,EAAE,MAAM,CAAC;QAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,YAAY,CAAC,EAAE,OAAO,CAAC;KACxB,EACD,EAAE,EAAE,CAAC,GAAG,mBAAmB;IAuB7B,MAAM,CAAC,QAAQ,CACb,CAAC,SAAS;QACR,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,oBAAoB,CAAC,EAAE,MAAM,CAAC;QAC9B,qBAAqB,CAAC,EAAE,MAAM,CAAC;QAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,YAAY,CAAC,EAAE,OAAO,CAAC;KACxB,EACD,QAAQ,EAAE,CAAC,EAAE,GAAG,mBAAmB,EAAE;IAIvC;;;OAGG;IAEH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;;OAGG;IAEH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B;;;OAGG;IAEH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;;OAGG;IAEH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IAEH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IAEH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IAEH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;OAGG;IAEH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;;OAGG;IAEH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IAEH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;OAGG;IAEH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IAEH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IAEH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IAEH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;OAGG;IAEH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IAEH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IAEH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IAEH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB"}
|
@@ -13,18 +13,11 @@ exports.ChainTransactionDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
14
14
|
const list_1 = require("../../../../common/utils/list");
|
15
15
|
class ChainTransactionDto {
|
16
|
-
constructor() {
|
17
|
-
/**
|
18
|
-
* Confirmation Status of Transaction
|
19
|
-
* @example false
|
20
|
-
*/
|
21
|
-
this.confirmation = false;
|
22
|
-
}
|
23
16
|
static from(tx) {
|
24
17
|
const dto = new ChainTransactionDto();
|
25
18
|
dto.id = tx.id;
|
26
|
-
dto.
|
27
|
-
dto.
|
19
|
+
dto.quoteIntentRequestId = tx.quoteIntentRequestId;
|
20
|
+
dto.quoteIntentResponseId = tx.quoteIntentResponseId;
|
28
21
|
dto.blockNumber = tx.blockNumber;
|
29
22
|
dto.blockHash = tx.blockHash;
|
30
23
|
dto.hash = tx.hash;
|
@@ -39,6 +32,7 @@ class ChainTransactionDto {
|
|
39
32
|
dto.value = tx.value;
|
40
33
|
dto.chainId = tx.chainId;
|
41
34
|
dto.signature = tx.signature;
|
35
|
+
dto.confirmation = tx.confirmation;
|
42
36
|
return dto;
|
43
37
|
}
|
44
38
|
static listFrom(entities) {
|
@@ -47,82 +41,70 @@ class ChainTransactionDto {
|
|
47
41
|
}
|
48
42
|
exports.ChainTransactionDto = ChainTransactionDto;
|
49
43
|
__decorate([
|
50
|
-
(0, class_validator_1.IsNotEmpty)(),
|
51
44
|
(0, class_validator_1.IsUUID)(),
|
52
45
|
__metadata("design:type", String)
|
53
|
-
], ChainTransactionDto.prototype, "
|
46
|
+
], ChainTransactionDto.prototype, "id", void 0);
|
47
|
+
__decorate([
|
48
|
+
(0, class_validator_1.IsUUID)(),
|
49
|
+
__metadata("design:type", String)
|
50
|
+
], ChainTransactionDto.prototype, "quoteIntentRequestId", void 0);
|
54
51
|
__decorate([
|
55
|
-
(0, class_validator_1.IsNotEmpty)(),
|
56
52
|
(0, class_validator_1.IsUUID)(),
|
57
53
|
__metadata("design:type", String)
|
58
|
-
], ChainTransactionDto.prototype, "
|
54
|
+
], ChainTransactionDto.prototype, "quoteIntentResponseId", void 0);
|
59
55
|
__decorate([
|
60
|
-
(0, class_validator_1.IsOptional)(),
|
61
56
|
(0, class_validator_1.IsNumber)(),
|
62
57
|
__metadata("design:type", Number)
|
63
58
|
], ChainTransactionDto.prototype, "blockNumber", void 0);
|
64
59
|
__decorate([
|
65
|
-
(0, class_validator_1.IsOptional)(),
|
66
60
|
(0, class_validator_1.IsString)(),
|
67
61
|
__metadata("design:type", String)
|
68
62
|
], ChainTransactionDto.prototype, "blockHash", void 0);
|
69
63
|
__decorate([
|
70
|
-
(0, class_validator_1.IsNotEmpty)(),
|
71
64
|
(0, class_validator_1.IsString)(),
|
72
65
|
__metadata("design:type", String)
|
73
66
|
], ChainTransactionDto.prototype, "hash", void 0);
|
74
67
|
__decorate([
|
75
|
-
(0, class_validator_1.IsNotEmpty)(),
|
76
68
|
(0, class_validator_1.IsString)(),
|
77
69
|
__metadata("design:type", String)
|
78
70
|
], ChainTransactionDto.prototype, "from", void 0);
|
79
71
|
__decorate([
|
80
|
-
(0, class_validator_1.IsNotEmpty)(),
|
81
72
|
(0, class_validator_1.IsString)(),
|
82
73
|
__metadata("design:type", String)
|
83
74
|
], ChainTransactionDto.prototype, "to", void 0);
|
84
75
|
__decorate([
|
85
|
-
(0, class_validator_1.IsOptional)(),
|
86
76
|
(0, class_validator_1.IsNumber)(),
|
87
77
|
__metadata("design:type", Number)
|
88
78
|
], ChainTransactionDto.prototype, "index", void 0);
|
89
79
|
__decorate([
|
90
|
-
(0, class_validator_1.IsOptional)(),
|
91
80
|
(0, class_validator_1.IsNumber)(),
|
92
81
|
__metadata("design:type", Number)
|
93
82
|
], ChainTransactionDto.prototype, "type", void 0);
|
94
83
|
__decorate([
|
95
|
-
(0, class_validator_1.IsNotEmpty)(),
|
96
84
|
(0, class_validator_1.IsString)(),
|
97
85
|
__metadata("design:type", String)
|
98
86
|
], ChainTransactionDto.prototype, "gasLimit", void 0);
|
99
87
|
__decorate([
|
100
|
-
(0, class_validator_1.IsNotEmpty)(),
|
101
88
|
(0, class_validator_1.IsString)(),
|
102
89
|
__metadata("design:type", String)
|
103
90
|
], ChainTransactionDto.prototype, "gasPrice", void 0);
|
104
91
|
__decorate([
|
105
|
-
(0, class_validator_1.IsOptional)(),
|
106
92
|
(0, class_validator_1.IsString)(),
|
107
93
|
__metadata("design:type", String)
|
108
94
|
], ChainTransactionDto.prototype, "maxFeePerGas", void 0);
|
109
95
|
__decorate([
|
110
|
-
(0, class_validator_1.IsNotEmpty)(),
|
111
96
|
(0, class_validator_1.IsString)(),
|
112
97
|
__metadata("design:type", String)
|
113
98
|
], ChainTransactionDto.prototype, "data", void 0);
|
114
99
|
__decorate([
|
115
|
-
(0, class_validator_1.IsNotEmpty)(),
|
116
100
|
(0, class_validator_1.IsString)(),
|
117
101
|
__metadata("design:type", String)
|
118
102
|
], ChainTransactionDto.prototype, "value", void 0);
|
119
103
|
__decorate([
|
120
|
-
(0, class_validator_1.IsOptional)(),
|
121
104
|
(0, class_validator_1.IsString)(),
|
122
105
|
__metadata("design:type", Number)
|
123
106
|
], ChainTransactionDto.prototype, "chainId", void 0);
|
124
107
|
__decorate([
|
125
|
-
(0, class_validator_1.IsOptional)(),
|
126
108
|
(0, class_validator_1.IsString)(),
|
127
109
|
__metadata("design:type", String)
|
128
110
|
], ChainTransactionDto.prototype, "signature", void 0);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"chain_transaction.dto.js","sourceRoot":"","sources":["../../../../../src/modules/chainsync/domain/dto/chain_transaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,wDAAyD;AAEzD,MAAa,mBAAmB;
|
1
|
+
{"version":3,"file":"chain_transaction.dto.js","sourceRoot":"","sources":["../../../../../src/modules/chainsync/domain/dto/chain_transaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,wDAAyD;AAEzD,MAAa,mBAAmB;IACvB,MAAM,CAAC,IAAI,CAqBhB,EAAK;QACL,MAAM,GAAG,GAAG,IAAI,mBAAmB,EAAE,CAAC;QACtC,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC;QACf,GAAG,CAAC,oBAAoB,GAAG,EAAE,CAAC,oBAAoB,CAAC;QACnD,GAAG,CAAC,qBAAqB,GAAG,EAAE,CAAC,qBAAqB,CAAC;QACrD,GAAG,CAAC,WAAW,GAAG,EAAE,CAAC,WAAW,CAAC;QACjC,GAAG,CAAC,SAAS,GAAG,EAAE,CAAC,SAAS,CAAC;QAC7B,GAAG,CAAC,IAAI,GAAG,EAAE,CAAC,IAAI,CAAC;QACnB,GAAG,CAAC,IAAI,GAAG,EAAE,CAAC,IAAI,CAAC;QACnB,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC;QACf,GAAG,CAAC,KAAK,GAAG,EAAE,CAAC,KAAK,CAAC;QACrB,GAAG,CAAC,IAAI,GAAG,EAAE,CAAC,IAAI,CAAC;QACnB,GAAG,CAAC,QAAQ,GAAG,EAAE,CAAC,QAAQ,CAAC;QAC3B,GAAG,CAAC,QAAQ,GAAG,EAAE,CAAC,QAAQ,CAAC;QAC3B,GAAG,CAAC,YAAY,GAAG,EAAE,CAAC,YAAY,CAAC;QACnC,GAAG,CAAC,IAAI,GAAG,EAAE,CAAC,IAAI,CAAC;QACnB,GAAG,CAAC,KAAK,GAAG,EAAE,CAAC,KAAK,CAAC;QACrB,GAAG,CAAC,OAAO,GAAG,EAAE,CAAC,OAAO,CAAC;QACzB,GAAG,CAAC,SAAS,GAAG,EAAE,CAAC,SAAS,CAAC;QAC7B,GAAG,CAAC,YAAY,GAAG,EAAE,CAAC,YAAY,CAAC;QACnC,OAAO,GAAG,CAAC;IACb,CAAC;IAED,MAAM,CAAC,QAAQ,CAqBb,QAAa;QACb,OAAO,IAAA,eAAQ,EAAC,QAAQ,EAAE,mBAAmB,CAAC,IAAI,CAAC,CAAC;IACtD,CAAC;CA+HF;AAnMD,kDAmMC;AAxHC;IADC,IAAA,wBAAM,GAAE;;+CACG;AAOZ;IADC,IAAA,wBAAM,GAAE;;iEACqB;AAO9B;IADC,IAAA,wBAAM,GAAE;;kEACsB;AAO/B;IADC,IAAA,0BAAQ,GAAE;;wDACU;AAOrB;IADC,IAAA,0BAAQ,GAAE;;sDACQ;AAOnB;IADC,IAAA,0BAAQ,GAAE;;iDACE;AAOb;IADC,IAAA,0BAAQ,GAAE;;iDACG;AAOd;IADC,IAAA,0BAAQ,GAAE;;+CACC;AAOZ;IADC,IAAA,0BAAQ,GAAE;;kDACI;AAOf;IADC,IAAA,0BAAQ,GAAE;;iDACG;AAOd;IADC,IAAA,0BAAQ,GAAE;;qDACO;AAOlB;IADC,IAAA,0BAAQ,GAAE;;qDACO;AAOlB;IADC,IAAA,0BAAQ,GAAE;;yDACW;AAOtB;IADC,IAAA,0BAAQ,GAAE;;iDACG;AAOd;IADC,IAAA,0BAAQ,GAAE;;kDACI;AAOf;IADC,IAAA,0BAAQ,GAAE;;oDACM;AAOjB;IADC,IAAA,0BAAQ,GAAE;;sDACQ;AAOnB;IADC,IAAA,2BAAS,GAAE;;yDACW"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pluton_request.dto.d.ts","sourceRoot":"","sources":["../../../../../src/modules/chainsync/domain/dto/pluton_request.dto.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"pluton_request.dto.d.ts","sourceRoot":"","sources":["../../../../../src/modules/chainsync/domain/dto/pluton_request.dto.ts"],"names":[],"mappings":"AAIA,qBAAa,gBAAgB;IAG3B,EAAE,EAAE,MAAM,CAAC;IAIX,IAAI,EAAE,MAAM,CAAC;IAIb,cAAc,EAAE,MAAM,CAAC;IAKvB,gBAAgB,EAAE,MAAM,CAAC;IAKzB,aAAa,EAAE,MAAM,CAAC;IAItB,SAAS,EAAE,MAAM,CAAC;CACnB"}
|
@@ -8,13 +8,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
8
8
|
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
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
12
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
13
|
-
};
|
14
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
15
12
|
exports.PlutonRequestDto = void 0;
|
16
|
-
const bignumber_js_1 = __importDefault(require("bignumber.js"));
|
17
|
-
const class_transformer_1 = require("class-transformer");
|
18
13
|
const class_validator_1 = require("class-validator");
|
19
14
|
class PlutonRequestDto {
|
20
15
|
}
|
@@ -35,10 +30,9 @@ __decorate([
|
|
35
30
|
__metadata("design:type", String)
|
36
31
|
], PlutonRequestDto.prototype, "tokenInAddress", void 0);
|
37
32
|
__decorate([
|
38
|
-
(0, class_transformer_1.Transform)(({ value }) => value.toString()),
|
39
33
|
(0, class_validator_1.IsString)(),
|
40
34
|
(0, class_validator_1.IsNotEmpty)(),
|
41
|
-
__metadata("design:type",
|
35
|
+
__metadata("design:type", String)
|
42
36
|
], PlutonRequestDto.prototype, "initiationExpiry", void 0);
|
43
37
|
__decorate([
|
44
38
|
(0, class_validator_1.IsString)(),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pluton_request.dto.js","sourceRoot":"","sources":["../../../../../src/modules/chainsync/domain/dto/pluton_request.dto.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"pluton_request.dto.js","sourceRoot":"","sources":["../../../../../src/modules/chainsync/domain/dto/pluton_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,qDAA0E;AAE1E,MAAa,gBAAgB;CA0B5B;AA1BD,4CA0BC;AAvBC;IAFC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;4CACF;AAIX;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACA;AAIb;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACU;AAKvB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACY;AAKzB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,EAAE,CAAC;IACb,IAAA,4BAAU,GAAE;;uDACS;AAItB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACK"}
|
@@ -14,7 +14,8 @@ export declare class SwapTokenDto {
|
|
14
14
|
* @description The address of the contract for the swap
|
15
15
|
* @example '0x1234567890abcdef'
|
16
16
|
*/
|
17
|
-
address: string;
|
17
|
+
address: string | null;
|
18
|
+
symbol?: string;
|
18
19
|
}
|
19
20
|
export declare class SwapEstimateRequestDto {
|
20
21
|
srcToken: SwapTokenDto;
|
@@ -1 +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"}
|
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,GAAG,IAAI,CAAC;IAGvB,MAAM,CAAC,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"}
|
@@ -26,8 +26,12 @@ __decorate([
|
|
26
26
|
], SwapTokenDto.prototype, "chainId", void 0);
|
27
27
|
__decorate([
|
28
28
|
(0, class_validator_1.IsString)(),
|
29
|
-
__metadata("design:type",
|
29
|
+
__metadata("design:type", Object)
|
30
30
|
], SwapTokenDto.prototype, "address", void 0);
|
31
|
+
__decorate([
|
32
|
+
(0, class_validator_1.IsString)(),
|
33
|
+
__metadata("design:type", String)
|
34
|
+
], SwapTokenDto.prototype, "symbol", void 0);
|
31
35
|
class SwapEstimateRequestDto {
|
32
36
|
}
|
33
37
|
exports.SwapEstimateRequestDto = SwapEstimateRequestDto;
|
@@ -1 +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;
|
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;CA0BxB;AA1BD,oCA0BC;AAnBC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACM;AAQjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACK;AAOhB;IADC,IAAA,0BAAQ,GAAE;;6CACY;AAGvB;IADC,IAAA,0BAAQ,GAAE;;4CACK;AAGlB,MAAa,sBAAsB;CAQlC;AARD,wDAQC;AAED,MAAa,sBAAuB,SAAQ,sBAAsB;CAGjE;AAHD,wDAGC"}
|
@@ -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;gBACxB,OAAO,EAAE,OAAO,CAAC,yBAAyB,CAAC;
|
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;IAIvD;;;OAGG;IAEH,UAAU,EAAE,UAAU,CAAC;CACxB"}
|
@@ -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,qDAA6C;AAC7C,kDAAmD;AAEnD,MAAa,yBAAyB;IACpC,YAAY,OAA2C;QACrD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;
|
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;CAQF;AAXD,8DAWC;AADC;IADC,IAAA,4BAAU,GAAE;;6DACU"}
|
package/dist/modules/quote/domain/dto/quote/quote_estimate_solver_bridge_intent_request.dto.d.ts
CHANGED
@@ -1,22 +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
|
-
}
|
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
22
|
//# sourceMappingURL=quote_estimate_solver_bridge_intent_request.dto.d.ts.map
|
package/dist/modules/quote/domain/dto/quote/quote_estimate_solver_bridge_intent_request.dto.js
CHANGED
@@ -1,41 +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);
|
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
41
|
//# sourceMappingURL=quote_estimate_solver_bridge_intent_request.dto.js.map
|
@@ -2,6 +2,9 @@ import { QuoteBridgeIntentRequestDto } from './quote_bridge_intent_request.dto';
|
|
2
2
|
import { QuoteEstimateBridgeIntentRequestDto } from './quote_estimate_bridge_intent_request.dto';
|
3
3
|
import { QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto } from './quote_estimate_with_source_base_token_solver_bridge_intent_request.dto';
|
4
4
|
export type QuoteIntentRequestType = QuoteEstimateBridgeIntentRequestDto | QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto | QuoteBridgeIntentRequestDto;
|
5
|
+
export type UpdateQuoteIntentRequestDto = QuoteIntentRequestType & {
|
6
|
+
id: string;
|
7
|
+
};
|
5
8
|
export type CreateQuoteIntentRequestDto = QuoteIntentRequestType & {
|
6
9
|
quoteRequestId: string;
|
7
10
|
};
|
@@ -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;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"}
|
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,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,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"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"quote_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"quote_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAoD;AAGpD,MAAa,eAAe;CAc3B;AAdD,0CAcC;AARC;IADC,IAAA,0BAAQ,GAAE;;iDACO;AAOlB;IADC,IAAA,yBAAO,GAAE;;uDAC+B"}
|
@@ -26,7 +26,6 @@ export declare class EventQuoteSelectedIntentResponseDto {
|
|
26
26
|
export declare class SolverQuoteSelectedIntentDto {
|
27
27
|
constructor(partial: Partial<SolverQuoteSelectedIntentDto>);
|
28
28
|
id: string;
|
29
|
-
solverId: string;
|
30
29
|
/**
|
31
30
|
* @description User destination wallet address
|
32
31
|
* @example '0x8767865786576'
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"quote_selected_intents_request.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_selected_intents_request.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,8BAA8B;IAEzC,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IAGH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;;OAGG;IAGH,wBAAwB,EAAE,MAAM,CAAC;CAClC;AAED,qBAAa,2BAA2B;IAGtC,EAAE,EAAE,MAAM,CAAC;IAIX,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IAGH,wBAAwB,EAAE,MAAM,CAAC;CAClC;AAED,qBAAa,mCAAmC;IAG9C,EAAE,EAAE,MAAM,CAAC;CACZ;
|
1
|
+
{"version":3,"file":"quote_selected_intents_request.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_selected_intents_request.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,8BAA8B;IAEzC,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IAGH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;;OAGG;IAGH,wBAAwB,EAAE,MAAM,CAAC;CAClC;AAED,qBAAa,2BAA2B;IAGtC,EAAE,EAAE,MAAM,CAAC;IAIX,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IAGH,wBAAwB,EAAE,MAAM,CAAC;CAClC;AAED,qBAAa,mCAAmC;IAG9C,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,qBAAa,4BAA4B;gBAC3B,OAAO,EAAE,OAAO,CAAC,4BAA4B,CAAC;IAM1D,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IAGH,wBAAwB,EAAE,MAAM,CAAC;CAClC"}
|
@@ -65,11 +65,6 @@ __decorate([
|
|
65
65
|
(0, class_validator_1.IsUUID)(),
|
66
66
|
__metadata("design:type", String)
|
67
67
|
], SolverQuoteSelectedIntentDto.prototype, "id", void 0);
|
68
|
-
__decorate([
|
69
|
-
(0, class_validator_1.IsNotEmpty)(),
|
70
|
-
(0, class_validator_1.IsUUID)(),
|
71
|
-
__metadata("design:type", String)
|
72
|
-
], SolverQuoteSelectedIntentDto.prototype, "solverId", void 0);
|
73
68
|
__decorate([
|
74
69
|
(0, class_validator_1.IsNotEmpty)(),
|
75
70
|
(0, class_validator_1.IsString)(),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"quote_selected_intents_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_selected_intents_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAE/D,MAAa,8BAA8B;CAmB1C;AAnBD,wEAmBC;AAjBC;IADC,IAAA,wBAAM,GAAE;;0DACE;AAQX;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2EACiB;AAQ5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gFACsB;AAGnC,MAAa,2BAA2B;CAgBvC;AAhBD,kEAgBC;AAbC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;uDACE;AAIX;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;6DACQ;AAQjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6EACsB;AAGnC,MAAa,mCAAmC;CAI/C;AAJD,kFAIC;AADC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;+DACE;
|
1
|
+
{"version":3,"file":"quote_selected_intents_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_selected_intents_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAE/D,MAAa,8BAA8B;CAmB1C;AAnBD,wEAmBC;AAjBC;IADC,IAAA,wBAAM,GAAE;;0DACE;AAQX;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2EACiB;AAQ5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gFACsB;AAGnC,MAAa,2BAA2B;CAgBvC;AAhBD,kEAgBC;AAbC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;uDACE;AAIX;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;6DACQ;AAQjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6EACsB;AAGnC,MAAa,mCAAmC;CAI/C;AAJD,kFAIC;AADC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;+DACE;AAGb,MAAa,4BAA4B;IACvC,YAAY,OAA8C;QACxD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;CAaF;AAhBD,oEAgBC;AATC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;wDACE;AAQX;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8EACsB"}
|
@@ -7,13 +7,6 @@ export declare class QuoteSelectedIntentsResponseDto {
|
|
7
7
|
transaction: EvmTransaction;
|
8
8
|
}
|
9
9
|
export declare class EvmTransaction {
|
10
|
-
|
11
|
-
to: string;
|
12
|
-
data: TransactionRequest;
|
13
|
-
};
|
14
|
-
pluton: {
|
15
|
-
to: string;
|
16
|
-
data: TransactionRequest;
|
17
|
-
};
|
10
|
+
pluton: TransactionRequest;
|
18
11
|
}
|
19
12
|
//# 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":"
|
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":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAE5C,qBAAa,+BAA+B;IAC1C;;;OAGG;IAEH,WAAW,EAAE,cAAc,CAAC;CAC7B;AAED,qBAAa,cAAc;IACzB,MAAM,EAAE,kBAAkB,CAAC;CAC5B"}
|
@@ -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":";;;
|
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;CAO3C;AAPD,0EAOC;AAED,MAAa,cAAc;CAE1B;AAFD,wCAEC"}
|
@@ -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;IAExC,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IAEH,eAAe,EAAE,MAAM,CAAC;CACzB"}
|
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;AAED,qBAAa,mBAAmB;IAE9B,EAAE,EAAE,MAAM,CAAC;CACZ"}
|
@@ -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.QuoteSetTransactionRequestDto = void 0;
|
12
|
+
exports.SolverBeginSolveDto = exports.QuoteSetTransactionRequestDto = void 0;
|
13
13
|
const class_validator_1 = require("class-validator");
|
14
14
|
class QuoteSetTransactionRequestDto {
|
15
15
|
}
|
@@ -22,4 +22,11 @@ __decorate([
|
|
22
22
|
(0, class_validator_1.IsNotEmpty)(),
|
23
23
|
__metadata("design:type", String)
|
24
24
|
], QuoteSetTransactionRequestDto.prototype, "transactionHash", void 0);
|
25
|
+
class SolverBeginSolveDto {
|
26
|
+
}
|
27
|
+
exports.SolverBeginSolveDto = SolverBeginSolveDto;
|
28
|
+
__decorate([
|
29
|
+
(0, class_validator_1.IsUUID)(),
|
30
|
+
__metadata("design:type", String)
|
31
|
+
], SolverBeginSolveDto.prototype, "id", void 0);
|
25
32
|
//# 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,qDAAqD;AAErD,MAAa,6BAA6B;CAUzC;AAVD,sEAUC;AARC;IADC,IAAA,wBAAM,GAAE;;yDACE;AAOX;IADC,IAAA,4BAAU,GAAE;;sEACW"}
|
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;AAG1B,MAAa,mBAAmB;CAG/B;AAHD,kDAGC;AADC;IADC,IAAA,wBAAM,GAAE;;+CACE"}
|
@@ -1,29 +1,29 @@
|
|
1
|
-
import { CalcMode } from '../../../../common';
|
2
|
-
export declare class SwapBridgeTokenDto {
|
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 SwapBridgeEstimateRequestDto {
|
20
|
-
srcToken: SwapBridgeTokenDto;
|
21
|
-
dstToken: SwapBridgeTokenDto;
|
22
|
-
amount: string;
|
23
|
-
calcMode: CalcMode;
|
24
|
-
}
|
25
|
-
export declare class SwapBridgeCalldataRequestDto extends SwapBridgeEstimateRequestDto {
|
26
|
-
srcWalletAddress: string;
|
27
|
-
dstWalletAddress: string;
|
28
|
-
}
|
1
|
+
import { CalcMode } from '../../../../common';
|
2
|
+
export declare class SwapBridgeTokenDto {
|
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 SwapBridgeEstimateRequestDto {
|
20
|
+
srcToken: SwapBridgeTokenDto;
|
21
|
+
dstToken: SwapBridgeTokenDto;
|
22
|
+
amount: string;
|
23
|
+
calcMode: CalcMode;
|
24
|
+
}
|
25
|
+
export declare class SwapBridgeCalldataRequestDto extends SwapBridgeEstimateRequestDto {
|
26
|
+
srcWalletAddress: string;
|
27
|
+
dstWalletAddress: string;
|
28
|
+
}
|
29
29
|
//# sourceMappingURL=swap_request.dto.d.ts.map
|
@@ -1,37 +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.SwapBridgeCalldataRequestDto = exports.SwapBridgeEstimateRequestDto = exports.SwapBridgeTokenDto = void 0;
|
13
|
-
const class_validator_1 = require("class-validator");
|
14
|
-
class SwapBridgeTokenDto {
|
15
|
-
}
|
16
|
-
exports.SwapBridgeTokenDto = SwapBridgeTokenDto;
|
17
|
-
__decorate([
|
18
|
-
(0, class_validator_1.IsNotEmpty)(),
|
19
|
-
(0, class_validator_1.IsNumber)(),
|
20
|
-
__metadata("design:type", Number)
|
21
|
-
], SwapBridgeTokenDto.prototype, "coinType", void 0);
|
22
|
-
__decorate([
|
23
|
-
(0, class_validator_1.IsNotEmpty)(),
|
24
|
-
(0, class_validator_1.IsNumber)(),
|
25
|
-
__metadata("design:type", Number)
|
26
|
-
], SwapBridgeTokenDto.prototype, "chainId", void 0);
|
27
|
-
__decorate([
|
28
|
-
(0, class_validator_1.IsString)(),
|
29
|
-
__metadata("design:type", String)
|
30
|
-
], SwapBridgeTokenDto.prototype, "address", void 0);
|
31
|
-
class SwapBridgeEstimateRequestDto {
|
32
|
-
}
|
33
|
-
exports.SwapBridgeEstimateRequestDto = SwapBridgeEstimateRequestDto;
|
34
|
-
class SwapBridgeCalldataRequestDto extends SwapBridgeEstimateRequestDto {
|
35
|
-
}
|
36
|
-
exports.SwapBridgeCalldataRequestDto = SwapBridgeCalldataRequestDto;
|
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.SwapBridgeCalldataRequestDto = exports.SwapBridgeEstimateRequestDto = exports.SwapBridgeTokenDto = void 0;
|
13
|
+
const class_validator_1 = require("class-validator");
|
14
|
+
class SwapBridgeTokenDto {
|
15
|
+
}
|
16
|
+
exports.SwapBridgeTokenDto = SwapBridgeTokenDto;
|
17
|
+
__decorate([
|
18
|
+
(0, class_validator_1.IsNotEmpty)(),
|
19
|
+
(0, class_validator_1.IsNumber)(),
|
20
|
+
__metadata("design:type", Number)
|
21
|
+
], SwapBridgeTokenDto.prototype, "coinType", void 0);
|
22
|
+
__decorate([
|
23
|
+
(0, class_validator_1.IsNotEmpty)(),
|
24
|
+
(0, class_validator_1.IsNumber)(),
|
25
|
+
__metadata("design:type", Number)
|
26
|
+
], SwapBridgeTokenDto.prototype, "chainId", void 0);
|
27
|
+
__decorate([
|
28
|
+
(0, class_validator_1.IsString)(),
|
29
|
+
__metadata("design:type", String)
|
30
|
+
], SwapBridgeTokenDto.prototype, "address", void 0);
|
31
|
+
class SwapBridgeEstimateRequestDto {
|
32
|
+
}
|
33
|
+
exports.SwapBridgeEstimateRequestDto = SwapBridgeEstimateRequestDto;
|
34
|
+
class SwapBridgeCalldataRequestDto extends SwapBridgeEstimateRequestDto {
|
35
|
+
}
|
36
|
+
exports.SwapBridgeCalldataRequestDto = SwapBridgeCalldataRequestDto;
|
37
37
|
//# sourceMappingURL=swap_request.dto.js.map
|
@@ -1,23 +1,23 @@
|
|
1
|
-
export declare class SwapBridgeCalldataResponsetDto {
|
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 SwapBridgeEstimateResponsetDto {
|
19
|
-
amount: string;
|
20
|
-
gasFee: string;
|
21
|
-
fee: string;
|
22
|
-
}
|
1
|
+
export declare class SwapBridgeCalldataResponsetDto {
|
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 SwapBridgeEstimateResponsetDto {
|
19
|
+
amount: string;
|
20
|
+
gasFee: string;
|
21
|
+
fee: string;
|
22
|
+
}
|
23
23
|
//# sourceMappingURL=swap_response.dto.d.ts.map
|
@@ -1,35 +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.SwapBridgeEstimateResponsetDto = exports.SwapBridgeCalldataResponsetDto = void 0;
|
13
|
-
const class_validator_1 = require("class-validator");
|
14
|
-
class SwapBridgeCalldataResponsetDto {
|
15
|
-
}
|
16
|
-
exports.SwapBridgeCalldataResponsetDto = SwapBridgeCalldataResponsetDto;
|
17
|
-
__decorate([
|
18
|
-
(0, class_validator_1.IsString)(),
|
19
|
-
(0, class_validator_1.IsNotEmpty)(),
|
20
|
-
__metadata("design:type", String)
|
21
|
-
], SwapBridgeCalldataResponsetDto.prototype, "transactionData", void 0);
|
22
|
-
__decorate([
|
23
|
-
(0, class_validator_1.IsString)(),
|
24
|
-
(0, class_validator_1.IsNotEmpty)(),
|
25
|
-
__metadata("design:type", String)
|
26
|
-
], SwapBridgeCalldataResponsetDto.prototype, "transactionValue", void 0);
|
27
|
-
__decorate([
|
28
|
-
(0, class_validator_1.IsString)(),
|
29
|
-
(0, class_validator_1.IsNotEmpty)(),
|
30
|
-
__metadata("design:type", String)
|
31
|
-
], SwapBridgeCalldataResponsetDto.prototype, "transactionReceiver", void 0);
|
32
|
-
class SwapBridgeEstimateResponsetDto {
|
33
|
-
}
|
34
|
-
exports.SwapBridgeEstimateResponsetDto = SwapBridgeEstimateResponsetDto;
|
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.SwapBridgeEstimateResponsetDto = exports.SwapBridgeCalldataResponsetDto = void 0;
|
13
|
+
const class_validator_1 = require("class-validator");
|
14
|
+
class SwapBridgeCalldataResponsetDto {
|
15
|
+
}
|
16
|
+
exports.SwapBridgeCalldataResponsetDto = SwapBridgeCalldataResponsetDto;
|
17
|
+
__decorate([
|
18
|
+
(0, class_validator_1.IsString)(),
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
20
|
+
__metadata("design:type", String)
|
21
|
+
], SwapBridgeCalldataResponsetDto.prototype, "transactionData", void 0);
|
22
|
+
__decorate([
|
23
|
+
(0, class_validator_1.IsString)(),
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
25
|
+
__metadata("design:type", String)
|
26
|
+
], SwapBridgeCalldataResponsetDto.prototype, "transactionValue", void 0);
|
27
|
+
__decorate([
|
28
|
+
(0, class_validator_1.IsString)(),
|
29
|
+
(0, class_validator_1.IsNotEmpty)(),
|
30
|
+
__metadata("design:type", String)
|
31
|
+
], SwapBridgeCalldataResponsetDto.prototype, "transactionReceiver", void 0);
|
32
|
+
class SwapBridgeEstimateResponsetDto {
|
33
|
+
}
|
34
|
+
exports.SwapBridgeEstimateResponsetDto = SwapBridgeEstimateResponsetDto;
|
35
35
|
//# sourceMappingURL=swap_response.dto.js.map
|
@@ -539,7 +539,7 @@
|
|
539
539
|
]
|
540
540
|
},
|
541
541
|
"proxy": {
|
542
|
-
"address": "
|
542
|
+
"address": "0x94f91bAee51b99689F23b822c1A5003EF2C4B8fe",
|
543
543
|
"abi": [
|
544
544
|
{
|
545
545
|
"type": "constructor",
|
@@ -1189,7 +1189,7 @@
|
|
1189
1189
|
]
|
1190
1190
|
},
|
1191
1191
|
"proxy": {
|
1192
|
-
"address": "
|
1192
|
+
"address": "0x83d9838b460fd583e9942960b732a494a345a4cc",
|
1193
1193
|
"abi": [
|
1194
1194
|
{
|
1195
1195
|
"type": "constructor",
|
package/package.json
CHANGED
@@ -1,28 +1,28 @@
|
|
1
|
-
{
|
2
|
-
"name": "@plutonlabs/sdk",
|
3
|
-
"version": "0.0.
|
4
|
-
"main": "dist/index.js",
|
5
|
-
"types": "dist/index.d.ts",
|
6
|
-
"files": [
|
7
|
-
"dist"
|
8
|
-
],
|
9
|
-
"scripts": {
|
10
|
-
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
11
|
-
"build": "tsc"
|
12
|
-
},
|
13
|
-
"keywords": [],
|
14
|
-
"author": "",
|
15
|
-
"license": "ISC",
|
16
|
-
"description": "",
|
17
|
-
"devDependencies": {
|
18
|
-
"eslint": "^8.57.1",
|
19
|
-
"prettier": "^3.5.0",
|
20
|
-
"typescript": "^5.7.3"
|
21
|
-
},
|
22
|
-
"dependencies": {
|
23
|
-
"bignumber.js": "^9.1.2",
|
24
|
-
"class-transformer": "^0.5.1",
|
25
|
-
"class-validator": "^0.14.1",
|
26
|
-
"ethers": "^6.13.5"
|
27
|
-
}
|
28
|
-
}
|
1
|
+
{
|
2
|
+
"name": "@plutonlabs/sdk",
|
3
|
+
"version": "0.0.27-beta",
|
4
|
+
"main": "dist/index.js",
|
5
|
+
"types": "dist/index.d.ts",
|
6
|
+
"files": [
|
7
|
+
"dist"
|
8
|
+
],
|
9
|
+
"scripts": {
|
10
|
+
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
11
|
+
"build": "tsc"
|
12
|
+
},
|
13
|
+
"keywords": [],
|
14
|
+
"author": "",
|
15
|
+
"license": "ISC",
|
16
|
+
"description": "",
|
17
|
+
"devDependencies": {
|
18
|
+
"eslint": "^8.57.1",
|
19
|
+
"prettier": "^3.5.0",
|
20
|
+
"typescript": "^5.7.3"
|
21
|
+
},
|
22
|
+
"dependencies": {
|
23
|
+
"bignumber.js": "^9.1.2",
|
24
|
+
"class-transformer": "^0.5.1",
|
25
|
+
"class-validator": "^0.14.1",
|
26
|
+
"ethers": "^6.13.5"
|
27
|
+
}
|
28
|
+
}
|