@plutonlabs/sdk 0.0.32-beta → 0.0.34-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/swap/swap_response.dto.d.ts +1 -1
- package/dist/modules/chainsync/domain/dto/swap/swap_response.dto.d.ts.map +1 -1
- package/dist/modules/chainsync/domain/dto/swap/swap_response.dto.js +7 -0
- package/dist/modules/chainsync/domain/dto/swap/swap_response.dto.js.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.d.ts +0 -5
- 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_base_intent_response.dto.d.ts +26 -0
- package/dist/modules/quote/domain/dto/quote/quote_base_intent_response.dto.d.ts.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_base_intent_response.dto.js +8 -1
- package/dist/modules/quote/domain/dto/quote/quote_base_intent_response.dto.js.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.d.ts +23 -0
- package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.d.ts.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.js +11 -0
- package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.js.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_intent_request_lifecycle.dto.d.ts +3 -3
- package/dist/modules/quote/domain/dto/quote/quote_intent_request_lifecycle.dto.d.ts.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_intent_response_lifecycle.dto.d.ts +3 -3
- package/dist/modules/quote/domain/dto/quote/quote_intent_response_lifecycle.dto.d.ts.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_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_response.dto.d.ts +20 -5
- package/dist/modules/quote/domain/dto/quote/quote_response.dto.d.ts.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_response.dto.js +25 -7
- package/dist/modules/quote/domain/dto/quote/quote_response.dto.js.map +1 -1
- package/package.json +28 -28
- package/dist/modules/quote/domain/dto/quote/quote_estimate_solver_bridge_intent_request.dto.d.ts +0 -22
- package/dist/modules/quote/domain/dto/quote/quote_estimate_solver_bridge_intent_request.dto.d.ts.map +0 -1
- package/dist/modules/quote/domain/dto/quote/quote_estimate_solver_bridge_intent_request.dto.js +0 -41
- package/dist/modules/quote/domain/dto/quote/quote_estimate_solver_bridge_intent_request.dto.js.map +0 -1
- package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.d.ts +0 -51
- package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.d.ts.map +0 -1
- package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.js +0 -18
- package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.js.map +0 -1
- package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.d.ts +0 -51
- package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.d.ts.map +0 -1
- package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.js +0 -18
- package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.js.map +0 -1
- package/dist/modules/quote/domain/enums/quote_request_action.enum.d.ts +0 -17
- package/dist/modules/quote/domain/enums/quote_request_action.enum.d.ts.map +0 -1
- package/dist/modules/quote/domain/enums/quote_request_action.enum.js +0 -21
- package/dist/modules/quote/domain/enums/quote_request_action.enum.js.map +0 -1
- package/dist/modules/quote/domain/enums/quote_request_lifecycle.enum.d.ts +0 -31
- package/dist/modules/quote/domain/enums/quote_request_lifecycle.enum.d.ts.map +0 -1
- package/dist/modules/quote/domain/enums/quote_request_lifecycle.enum.js +0 -40
- package/dist/modules/quote/domain/enums/quote_request_lifecycle.enum.js.map +0 -1
- package/dist/modules/quote/domain/enums/quote_response_action.enum.d.ts +0 -12
- package/dist/modules/quote/domain/enums/quote_response_action.enum.d.ts.map +0 -1
- package/dist/modules/quote/domain/enums/quote_response_action.enum.js +0 -16
- package/dist/modules/quote/domain/enums/quote_response_action.enum.js.map +0 -1
- package/dist/modules/quote/domain/enums/quote_response_lifecycle.enum.d.ts +0 -26
- package/dist/modules/quote/domain/enums/quote_response_lifecycle.enum.d.ts.map +0 -1
- package/dist/modules/quote/domain/enums/quote_response_lifecycle.enum.js +0 -35
- package/dist/modules/quote/domain/enums/quote_response_lifecycle.enum.js.map +0 -1
- package/dist/modules/swap/domain/dto/index.d.ts +0 -3
- package/dist/modules/swap/domain/dto/index.d.ts.map +0 -1
- package/dist/modules/swap/domain/dto/index.js +0 -19
- package/dist/modules/swap/domain/dto/index.js.map +0 -1
- package/dist/modules/swap/domain/dto/swap_request.dto.d.ts +0 -29
- package/dist/modules/swap/domain/dto/swap_request.dto.d.ts.map +0 -1
- package/dist/modules/swap/domain/dto/swap_request.dto.js +0 -37
- package/dist/modules/swap/domain/dto/swap_request.dto.js.map +0 -1
- package/dist/modules/swap/domain/dto/swap_response.dto.d.ts +0 -23
- package/dist/modules/swap/domain/dto/swap_response.dto.d.ts.map +0 -1
- package/dist/modules/swap/domain/dto/swap_response.dto.js +0 -35
- package/dist/modules/swap/domain/dto/swap_response.dto.js.map +0 -1
- package/dist/modules/swap/domain/index.d.ts +0 -2
- package/dist/modules/swap/domain/index.d.ts.map +0 -1
- package/dist/modules/swap/domain/index.js +0 -18
- package/dist/modules/swap/domain/index.js.map +0 -1
- package/dist/modules/swap/index.d.ts +0 -2
- package/dist/modules/swap/index.d.ts.map +0 -1
- package/dist/modules/swap/index.js +0 -18
- package/dist/modules/swap/index.js.map +0 -1
@@ -1,51 +0,0 @@
|
|
1
|
-
import { QuoteResponseLifecycleStage, QuoteResponseLifecycleState, QuoteResponseLifecycleStatus } from '../../enums';
|
2
|
-
export declare class QuoteResponseLifecycleDto {
|
3
|
-
constructor(partial: Partial<QuoteResponseLifecycleDto>);
|
4
|
-
static from<T extends {
|
5
|
-
id: string;
|
6
|
-
quoteResponseId: string;
|
7
|
-
stage: QuoteResponseLifecycleStage;
|
8
|
-
state: QuoteResponseLifecycleState;
|
9
|
-
status: QuoteResponseLifecycleStatus;
|
10
|
-
metadata?: Record<string, any>;
|
11
|
-
}>(obj: T): QuoteResponseLifecycleDto;
|
12
|
-
static listFrom<T extends {
|
13
|
-
id: string;
|
14
|
-
quoteResponseId: string;
|
15
|
-
stage: QuoteResponseLifecycleStage;
|
16
|
-
state: QuoteResponseLifecycleState;
|
17
|
-
status: QuoteResponseLifecycleStatus;
|
18
|
-
metadata?: Record<string, any>;
|
19
|
-
}>(objs: T[]): QuoteResponseLifecycleDto[];
|
20
|
-
/**
|
21
|
-
* @description Unique identifier for the quote response lifecycle
|
22
|
-
* @example '1a2b3c4d'
|
23
|
-
*/
|
24
|
-
id: string;
|
25
|
-
/**
|
26
|
-
* @description Unique identifier for the quote response
|
27
|
-
* @example '5f6g7h8i'
|
28
|
-
*/
|
29
|
-
quoteResponseId: string;
|
30
|
-
/**
|
31
|
-
* @description The stage of the quote response lifecycle
|
32
|
-
* @example 'initial'
|
33
|
-
*/
|
34
|
-
stage: QuoteResponseLifecycleStage;
|
35
|
-
/**
|
36
|
-
* @description The state of the quote response lifecycle
|
37
|
-
* @example 'pending'
|
38
|
-
*/
|
39
|
-
state: QuoteResponseLifecycleState;
|
40
|
-
/**
|
41
|
-
* @description The status of the quote response lifecycle
|
42
|
-
* @example 'active'
|
43
|
-
*/
|
44
|
-
status: QuoteResponseLifecycleStatus;
|
45
|
-
/**
|
46
|
-
* @description Optional metadata related to the lifecycle
|
47
|
-
* @example { "key": "value" }
|
48
|
-
*/
|
49
|
-
metadata?: Record<string, any>;
|
50
|
-
}
|
51
|
-
//# sourceMappingURL=quote_response_lifecycle.dto.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"quote_response_lifecycle.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,4BAA4B,EAC7B,MAAM,aAAa,CAAC;AAGrB,qBAAa,yBAAyB;gBACxB,OAAO,EAAE,OAAO,CAAC,yBAAyB,CAAC;WAIzC,IAAI,CAChB,CAAC,SAAS;QACR,EAAE,EAAE,MAAM,CAAC;QACX,eAAe,EAAE,MAAM,CAAC;QACxB,KAAK,EAAE,2BAA2B,CAAC;QACnC,KAAK,EAAE,2BAA2B,CAAC;QACnC,MAAM,EAAE,4BAA4B,CAAC;QACrC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KAChC,EACD,GAAG,EAAE,CAAC,GAAG,yBAAyB;IAKpC,MAAM,CAAC,QAAQ,CACb,CAAC,SAAS;QACR,EAAE,EAAE,MAAM,CAAC;QACX,eAAe,EAAE,MAAM,CAAC;QACxB,KAAK,EAAE,2BAA2B,CAAC;QACnC,KAAK,EAAE,2BAA2B,CAAC;QACnC,MAAM,EAAE,4BAA4B,CAAC;QACrC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KAChC,EACD,IAAI,EAAE,CAAC,EAAE,GAAG,yBAAyB,EAAE;IAIzC;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,KAAK,EAAE,2BAA2B,CAAC;IAEnC;;;OAGG;IACH,KAAK,EAAE,2BAA2B,CAAC;IAEnC;;;OAGG;IACH,MAAM,EAAE,4BAA4B,CAAC;IAErC;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC"}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.QuoteResponseLifecycleDto = void 0;
|
4
|
-
const common_1 = require("../../../../../common");
|
5
|
-
class QuoteResponseLifecycleDto {
|
6
|
-
constructor(partial) {
|
7
|
-
Object.assign(this, partial);
|
8
|
-
}
|
9
|
-
static from(obj) {
|
10
|
-
const dto = new QuoteResponseLifecycleDto(obj);
|
11
|
-
return dto;
|
12
|
-
}
|
13
|
-
static listFrom(objs) {
|
14
|
-
return (0, common_1.makeList)(objs, QuoteResponseLifecycleDto.from);
|
15
|
-
}
|
16
|
-
}
|
17
|
-
exports.QuoteResponseLifecycleDto = QuoteResponseLifecycleDto;
|
18
|
-
//# sourceMappingURL=quote_response_lifecycle.dto.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"quote_response_lifecycle.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.ts"],"names":[],"mappings":";;;AAKA,kDAAiD;AAEjD,MAAa,yBAAyB;IACpC,YAAY,OAA2C;QACrD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;IAEM,MAAM,CAAC,IAAI,CAShB,GAAM;QACN,MAAM,GAAG,GAAG,IAAI,yBAAyB,CAAC,GAAG,CAAC,CAAC;QAC/C,OAAO,GAAG,CAAC;IACb,CAAC;IAED,MAAM,CAAC,QAAQ,CASb,IAAS;QACT,OAAO,IAAA,iBAAQ,EAAC,IAAI,EAAE,yBAAyB,CAAC,IAAI,CAAC,CAAC;IACxD,CAAC;CAqCF;AAnED,8DAmEC"}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
export declare enum QuoteRequestLifecycleActionType {
|
2
|
-
NONE = 1,
|
3
|
-
QUOTE_REQUEST_CREATE = 2,
|
4
|
-
QUOTE_REQUEST_ANSWERED = 3,
|
5
|
-
QUOTE_REQUEST_NOT_ANSWERED = 4,
|
6
|
-
QUOTE_REQUEST_SOLVER_SELECTION = 5,
|
7
|
-
QUOTE_REQUEST_INITIATED_TRANSACTION = 6,
|
8
|
-
QUOTE_REQUEST_TRANSACTION_INITIATION_EXPIRED = 7,
|
9
|
-
QUOTE_REQUEST_TRANSACTION_CONFIRMED = 8,
|
10
|
-
QUOTE_REQUEST_TRANSACTION_NOT_CONFIRMED = 9,
|
11
|
-
QUOTE_REQUEST_SOLVING = 10,
|
12
|
-
QUOTE_REQUEST_SOLVING_TIMED_OUT = 11,
|
13
|
-
QUOTE_REQUEST_REFUND_SIGNATURE = 12,
|
14
|
-
QUOTE_REQUEST_SOLVED = 13,
|
15
|
-
QUOTE_REQUEST_REFUNDED = 14
|
16
|
-
}
|
17
|
-
//# sourceMappingURL=quote_request_action.enum.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"quote_request_action.enum.d.ts","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/quote_request_action.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,+BAA+B;IACzC,IAAI,IAAI;IACR,oBAAoB,IAAA;IACpB,sBAAsB,IAAA;IACtB,0BAA0B,IAAA;IAC1B,8BAA8B,IAAA;IAC9B,mCAAmC,IAAA;IACnC,4CAA4C,IAAA;IAC5C,mCAAmC,IAAA;IACnC,uCAAuC,IAAA;IACvC,qBAAqB,KAAA;IACrB,+BAA+B,KAAA;IAC/B,8BAA8B,KAAA;IAC9B,oBAAoB,KAAA;IACpB,sBAAsB,KAAA;CACvB"}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.QuoteRequestLifecycleActionType = void 0;
|
4
|
-
var QuoteRequestLifecycleActionType;
|
5
|
-
(function (QuoteRequestLifecycleActionType) {
|
6
|
-
QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["NONE"] = 1] = "NONE";
|
7
|
-
QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_CREATE"] = 2] = "QUOTE_REQUEST_CREATE";
|
8
|
-
QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_ANSWERED"] = 3] = "QUOTE_REQUEST_ANSWERED";
|
9
|
-
QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_NOT_ANSWERED"] = 4] = "QUOTE_REQUEST_NOT_ANSWERED";
|
10
|
-
QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_SOLVER_SELECTION"] = 5] = "QUOTE_REQUEST_SOLVER_SELECTION";
|
11
|
-
QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_INITIATED_TRANSACTION"] = 6] = "QUOTE_REQUEST_INITIATED_TRANSACTION";
|
12
|
-
QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_TRANSACTION_INITIATION_EXPIRED"] = 7] = "QUOTE_REQUEST_TRANSACTION_INITIATION_EXPIRED";
|
13
|
-
QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_TRANSACTION_CONFIRMED"] = 8] = "QUOTE_REQUEST_TRANSACTION_CONFIRMED";
|
14
|
-
QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_TRANSACTION_NOT_CONFIRMED"] = 9] = "QUOTE_REQUEST_TRANSACTION_NOT_CONFIRMED";
|
15
|
-
QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_SOLVING"] = 10] = "QUOTE_REQUEST_SOLVING";
|
16
|
-
QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_SOLVING_TIMED_OUT"] = 11] = "QUOTE_REQUEST_SOLVING_TIMED_OUT";
|
17
|
-
QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_REFUND_SIGNATURE"] = 12] = "QUOTE_REQUEST_REFUND_SIGNATURE";
|
18
|
-
QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_SOLVED"] = 13] = "QUOTE_REQUEST_SOLVED";
|
19
|
-
QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_REFUNDED"] = 14] = "QUOTE_REQUEST_REFUNDED";
|
20
|
-
})(QuoteRequestLifecycleActionType || (exports.QuoteRequestLifecycleActionType = QuoteRequestLifecycleActionType = {}));
|
21
|
-
//# sourceMappingURL=quote_request_action.enum.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"quote_request_action.enum.js","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/quote_request_action.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,+BAeX;AAfD,WAAY,+BAA+B;IACzC,qFAAQ,CAAA;IACR,qHAAoB,CAAA;IACpB,yHAAsB,CAAA;IACtB,iIAA0B,CAAA;IAC1B,yIAA8B,CAAA;IAC9B,mJAAmC,CAAA;IACnC,qKAA4C,CAAA;IAC5C,mJAAmC,CAAA;IACnC,2JAAuC,CAAA;IACvC,wHAAqB,CAAA;IACrB,4IAA+B,CAAA;IAC/B,0IAA8B,CAAA;IAC9B,sHAAoB,CAAA;IACpB,0HAAsB,CAAA;AACxB,CAAC,EAfW,+BAA+B,+CAA/B,+BAA+B,QAe1C"}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
export declare enum QuoteRequestLifecycleStage {
|
2
|
-
NONE = 1,
|
3
|
-
ENTRANCE = 2,
|
4
|
-
RETENTION = 3,
|
5
|
-
TERMINATION = 4
|
6
|
-
}
|
7
|
-
export declare enum QuoteRequestLifecycleState {
|
8
|
-
NONE = 1,
|
9
|
-
CREATION = 2,
|
10
|
-
ESTIMATED = 3,// => success transition of creation
|
11
|
-
RESPONSE_SELECTED = 4,// => success transition of ESTIMATED
|
12
|
-
TX_INITIATED = 5,// => pending transition of answered
|
13
|
-
TX_CONFIRMED = 6,// => success transition of tx_initiated, in this state we will move response quote to another state INIT_SOLVING and notify solver if solver responded we will success transition request to solving if not will keep trying to notify solver
|
14
|
-
SOLVING = 7,// => in_progress transition of tx_confirmed
|
15
|
-
SOLVING_TIMED_OUT = 8,// => expired transition of solving
|
16
|
-
REFUND_SIGNATURE = 9,// => pending transition of solving_timedout
|
17
|
-
NO_ESTIMATION = 10,// => failure transition of creation
|
18
|
-
INITIATION_EXPIRED = 11,// => expired transition of RESPONSE_SELECTED
|
19
|
-
TX_NOT_CONFIRMED = 12,// => failure transition of tx_initiated
|
20
|
-
SOLVED = 13,// => success transition of solving
|
21
|
-
REFUNDED = 14
|
22
|
-
}
|
23
|
-
export declare enum QuoteRequestLifecycleStatus {
|
24
|
-
NONE = 1,
|
25
|
-
SUCCESS = 2,
|
26
|
-
PENDING = 3,
|
27
|
-
EXPIRED = 4,
|
28
|
-
FAILURE = 5,
|
29
|
-
IN_PROGRESS = 6
|
30
|
-
}
|
31
|
-
//# sourceMappingURL=quote_request_lifecycle.enum.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"quote_request_lifecycle.enum.d.ts","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/quote_request_lifecycle.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,0BAA0B;IACpC,IAAI,IAAI;IACR,QAAQ,IAAA;IACR,SAAS,IAAA;IACT,WAAW,IAAA;CACZ;AAED,oBAAY,0BAA0B;IAEpC,IAAI,IAAI;IACR,QAAQ,IAAA;IACR,SAAS,IAAA,CAAE,oCAAoC;IAC/C,iBAAiB,IAAA,CAAE,qCAAqC;IACxD,YAAY,IAAA,CAAE,oCAAoC;IAGlD,YAAY,IAAA,CAAE,8OAA8O;IAC5P,OAAO,IAAA,CAAE,4CAA4C;IACrD,iBAAiB,IAAA,CAAE,mCAAmC;IACtD,gBAAgB,IAAA,CAAE,4CAA4C;IAG9D,aAAa,KAAA,CAAE,oCAAoC;IACnD,kBAAkB,KAAA,CAAE,6CAA6C;IACjE,gBAAgB,KAAA,CAAE,wCAAwC;IAC1D,MAAM,KAAA,CAAE,mCAAmC;IAC3C,QAAQ,KAAA;CACT;AAED,oBAAY,2BAA2B;IACrC,IAAI,IAAI;IACR,OAAO,IAAA;IACP,OAAO,IAAA;IACP,OAAO,IAAA;IACP,OAAO,IAAA;IACP,WAAW,IAAA;CACZ"}
|
@@ -1,40 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.QuoteRequestLifecycleStatus = exports.QuoteRequestLifecycleState = exports.QuoteRequestLifecycleStage = void 0;
|
4
|
-
var QuoteRequestLifecycleStage;
|
5
|
-
(function (QuoteRequestLifecycleStage) {
|
6
|
-
QuoteRequestLifecycleStage[QuoteRequestLifecycleStage["NONE"] = 1] = "NONE";
|
7
|
-
QuoteRequestLifecycleStage[QuoteRequestLifecycleStage["ENTRANCE"] = 2] = "ENTRANCE";
|
8
|
-
QuoteRequestLifecycleStage[QuoteRequestLifecycleStage["RETENTION"] = 3] = "RETENTION";
|
9
|
-
QuoteRequestLifecycleStage[QuoteRequestLifecycleStage["TERMINATION"] = 4] = "TERMINATION";
|
10
|
-
})(QuoteRequestLifecycleStage || (exports.QuoteRequestLifecycleStage = QuoteRequestLifecycleStage = {}));
|
11
|
-
var QuoteRequestLifecycleState;
|
12
|
-
(function (QuoteRequestLifecycleState) {
|
13
|
-
// entrance stage
|
14
|
-
QuoteRequestLifecycleState[QuoteRequestLifecycleState["NONE"] = 1] = "NONE";
|
15
|
-
QuoteRequestLifecycleState[QuoteRequestLifecycleState["CREATION"] = 2] = "CREATION";
|
16
|
-
QuoteRequestLifecycleState[QuoteRequestLifecycleState["ESTIMATED"] = 3] = "ESTIMATED";
|
17
|
-
QuoteRequestLifecycleState[QuoteRequestLifecycleState["RESPONSE_SELECTED"] = 4] = "RESPONSE_SELECTED";
|
18
|
-
QuoteRequestLifecycleState[QuoteRequestLifecycleState["TX_INITIATED"] = 5] = "TX_INITIATED";
|
19
|
-
// retention stage
|
20
|
-
QuoteRequestLifecycleState[QuoteRequestLifecycleState["TX_CONFIRMED"] = 6] = "TX_CONFIRMED";
|
21
|
-
QuoteRequestLifecycleState[QuoteRequestLifecycleState["SOLVING"] = 7] = "SOLVING";
|
22
|
-
QuoteRequestLifecycleState[QuoteRequestLifecycleState["SOLVING_TIMED_OUT"] = 8] = "SOLVING_TIMED_OUT";
|
23
|
-
QuoteRequestLifecycleState[QuoteRequestLifecycleState["REFUND_SIGNATURE"] = 9] = "REFUND_SIGNATURE";
|
24
|
-
// termination stage
|
25
|
-
QuoteRequestLifecycleState[QuoteRequestLifecycleState["NO_ESTIMATION"] = 10] = "NO_ESTIMATION";
|
26
|
-
QuoteRequestLifecycleState[QuoteRequestLifecycleState["INITIATION_EXPIRED"] = 11] = "INITIATION_EXPIRED";
|
27
|
-
QuoteRequestLifecycleState[QuoteRequestLifecycleState["TX_NOT_CONFIRMED"] = 12] = "TX_NOT_CONFIRMED";
|
28
|
-
QuoteRequestLifecycleState[QuoteRequestLifecycleState["SOLVED"] = 13] = "SOLVED";
|
29
|
-
QuoteRequestLifecycleState[QuoteRequestLifecycleState["REFUNDED"] = 14] = "REFUNDED";
|
30
|
-
})(QuoteRequestLifecycleState || (exports.QuoteRequestLifecycleState = QuoteRequestLifecycleState = {}));
|
31
|
-
var QuoteRequestLifecycleStatus;
|
32
|
-
(function (QuoteRequestLifecycleStatus) {
|
33
|
-
QuoteRequestLifecycleStatus[QuoteRequestLifecycleStatus["NONE"] = 1] = "NONE";
|
34
|
-
QuoteRequestLifecycleStatus[QuoteRequestLifecycleStatus["SUCCESS"] = 2] = "SUCCESS";
|
35
|
-
QuoteRequestLifecycleStatus[QuoteRequestLifecycleStatus["PENDING"] = 3] = "PENDING";
|
36
|
-
QuoteRequestLifecycleStatus[QuoteRequestLifecycleStatus["EXPIRED"] = 4] = "EXPIRED";
|
37
|
-
QuoteRequestLifecycleStatus[QuoteRequestLifecycleStatus["FAILURE"] = 5] = "FAILURE";
|
38
|
-
QuoteRequestLifecycleStatus[QuoteRequestLifecycleStatus["IN_PROGRESS"] = 6] = "IN_PROGRESS";
|
39
|
-
})(QuoteRequestLifecycleStatus || (exports.QuoteRequestLifecycleStatus = QuoteRequestLifecycleStatus = {}));
|
40
|
-
//# sourceMappingURL=quote_request_lifecycle.enum.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"quote_request_lifecycle.enum.js","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/quote_request_lifecycle.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,0BAKX;AALD,WAAY,0BAA0B;IACpC,2EAAQ,CAAA;IACR,mFAAQ,CAAA;IACR,qFAAS,CAAA;IACT,yFAAW,CAAA;AACb,CAAC,EALW,0BAA0B,0CAA1B,0BAA0B,QAKrC;AAED,IAAY,0BAoBX;AApBD,WAAY,0BAA0B;IACpC,iBAAiB;IACjB,2EAAQ,CAAA;IACR,mFAAQ,CAAA;IACR,qFAAS,CAAA;IACT,qGAAiB,CAAA;IACjB,2FAAY,CAAA;IAEZ,kBAAkB;IAClB,2FAAY,CAAA;IACZ,iFAAO,CAAA;IACP,qGAAiB,CAAA;IACjB,mGAAgB,CAAA;IAEhB,oBAAoB;IACpB,8FAAa,CAAA;IACb,wGAAkB,CAAA;IAClB,oGAAgB,CAAA;IAChB,gFAAM,CAAA;IACN,oFAAQ,CAAA;AACV,CAAC,EApBW,0BAA0B,0CAA1B,0BAA0B,QAoBrC;AAED,IAAY,2BAOX;AAPD,WAAY,2BAA2B;IACrC,6EAAQ,CAAA;IACR,mFAAO,CAAA;IACP,mFAAO,CAAA;IACP,mFAAO,CAAA;IACP,mFAAO,CAAA;IACP,2FAAW,CAAA;AACb,CAAC,EAPW,2BAA2B,2CAA3B,2BAA2B,QAOtC"}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
export declare enum QuoteResponseLifecycleActionType {
|
2
|
-
NONE = 1,
|
3
|
-
QUOTE_RESPONSE_CREATE = 2,
|
4
|
-
QUOTE_RESPONSE_NOT_SELECTED = 3,
|
5
|
-
QUOTE_RESPONSE_SELECTED = 4,
|
6
|
-
QUOTE_RESPONSE_REQUEST_CANCELED = 5,
|
7
|
-
QUOTE_RESPONSE_INITIATE_SOLVING = 6,
|
8
|
-
QUOTE_RESPONSE_SOLVE_VALIDATION = 7,
|
9
|
-
QUOTE_RESPONSE_FULFILLED = 8,
|
10
|
-
QUOTE_RESPONSE_TIMED_OUT = 9
|
11
|
-
}
|
12
|
-
//# sourceMappingURL=quote_response_action.enum.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"quote_response_action.enum.d.ts","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/quote_response_action.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,gCAAgC;IAC1C,IAAI,IAAI;IACR,qBAAqB,IAAA;IACrB,2BAA2B,IAAA;IAC3B,uBAAuB,IAAA;IACvB,+BAA+B,IAAA;IAC/B,+BAA+B,IAAA;IAC/B,+BAA+B,IAAA;IAC/B,wBAAwB,IAAA;IACxB,wBAAwB,IAAA;CACzB"}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.QuoteResponseLifecycleActionType = void 0;
|
4
|
-
var QuoteResponseLifecycleActionType;
|
5
|
-
(function (QuoteResponseLifecycleActionType) {
|
6
|
-
QuoteResponseLifecycleActionType[QuoteResponseLifecycleActionType["NONE"] = 1] = "NONE";
|
7
|
-
QuoteResponseLifecycleActionType[QuoteResponseLifecycleActionType["QUOTE_RESPONSE_CREATE"] = 2] = "QUOTE_RESPONSE_CREATE";
|
8
|
-
QuoteResponseLifecycleActionType[QuoteResponseLifecycleActionType["QUOTE_RESPONSE_NOT_SELECTED"] = 3] = "QUOTE_RESPONSE_NOT_SELECTED";
|
9
|
-
QuoteResponseLifecycleActionType[QuoteResponseLifecycleActionType["QUOTE_RESPONSE_SELECTED"] = 4] = "QUOTE_RESPONSE_SELECTED";
|
10
|
-
QuoteResponseLifecycleActionType[QuoteResponseLifecycleActionType["QUOTE_RESPONSE_REQUEST_CANCELED"] = 5] = "QUOTE_RESPONSE_REQUEST_CANCELED";
|
11
|
-
QuoteResponseLifecycleActionType[QuoteResponseLifecycleActionType["QUOTE_RESPONSE_INITIATE_SOLVING"] = 6] = "QUOTE_RESPONSE_INITIATE_SOLVING";
|
12
|
-
QuoteResponseLifecycleActionType[QuoteResponseLifecycleActionType["QUOTE_RESPONSE_SOLVE_VALIDATION"] = 7] = "QUOTE_RESPONSE_SOLVE_VALIDATION";
|
13
|
-
QuoteResponseLifecycleActionType[QuoteResponseLifecycleActionType["QUOTE_RESPONSE_FULFILLED"] = 8] = "QUOTE_RESPONSE_FULFILLED";
|
14
|
-
QuoteResponseLifecycleActionType[QuoteResponseLifecycleActionType["QUOTE_RESPONSE_TIMED_OUT"] = 9] = "QUOTE_RESPONSE_TIMED_OUT";
|
15
|
-
})(QuoteResponseLifecycleActionType || (exports.QuoteResponseLifecycleActionType = QuoteResponseLifecycleActionType = {}));
|
16
|
-
//# sourceMappingURL=quote_response_action.enum.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"quote_response_action.enum.js","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/quote_response_action.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,gCAUX;AAVD,WAAY,gCAAgC;IAC1C,uFAAQ,CAAA;IACR,yHAAqB,CAAA;IACrB,qIAA2B,CAAA;IAC3B,6HAAuB,CAAA;IACvB,6IAA+B,CAAA;IAC/B,6IAA+B,CAAA;IAC/B,6IAA+B,CAAA;IAC/B,+HAAwB,CAAA;IACxB,+HAAwB,CAAA;AAC1B,CAAC,EAVW,gCAAgC,gDAAhC,gCAAgC,QAU3C"}
|
@@ -1,26 +0,0 @@
|
|
1
|
-
export declare enum QuoteResponseLifecycleStage {
|
2
|
-
NONE = 1,
|
3
|
-
ENTRANCE = 2,
|
4
|
-
RETENTION = 3,
|
5
|
-
TERMINATION = 4
|
6
|
-
}
|
7
|
-
export declare enum QuoteResponseLifecycleState {
|
8
|
-
NONE = 1,
|
9
|
-
CREATION = 2,
|
10
|
-
SELECTED = 3,// => success transition of solve creation
|
11
|
-
INITIATE_SOLVING = 4,// => in_progress transition of solve selected
|
12
|
-
SOLVE_STUDING = 5,// => pending transition of initiate solving
|
13
|
-
NOT_SELECTED = 6,// => failure transition of creation
|
14
|
-
REQUEST_CANCELED = 7,// => failure transition of selected
|
15
|
-
FULFILLED = 8,// => success transition of solve studing
|
16
|
-
TIMED_OUT = 9
|
17
|
-
}
|
18
|
-
export declare enum QuoteResponseLifecycleStatus {
|
19
|
-
NONE = 1,
|
20
|
-
SUCCESS = 2,
|
21
|
-
PENDING = 3,
|
22
|
-
EXPIRED = 4,
|
23
|
-
FAILURE = 5,
|
24
|
-
IN_PROGRESS = 6
|
25
|
-
}
|
26
|
-
//# sourceMappingURL=quote_response_lifecycle.enum.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"quote_response_lifecycle.enum.d.ts","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/quote_response_lifecycle.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,2BAA2B;IACrC,IAAI,IAAI;IACR,QAAQ,IAAA;IACR,SAAS,IAAA;IACT,WAAW,IAAA;CACZ;AAED,oBAAY,2BAA2B;IAErC,IAAI,IAAI;IACR,QAAQ,IAAA;IACR,QAAQ,IAAA,CAAE,0CAA0C;IAGpD,gBAAgB,IAAA,CAAE,8CAA8C;IAChE,aAAa,IAAA,CAAE,4CAA4C;IAG3D,YAAY,IAAA,CAAE,oCAAoC;IAClD,gBAAgB,IAAA,CAAE,oCAAoC;IACtD,SAAS,IAAA,CAAE,yCAAyC;IACpD,SAAS,IAAA;CACV;AAED,oBAAY,4BAA4B;IACtC,IAAI,IAAI;IACR,OAAO,IAAA;IACP,OAAO,IAAA;IACP,OAAO,IAAA;IACP,OAAO,IAAA;IACP,WAAW,IAAA;CACZ"}
|
@@ -1,35 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.QuoteResponseLifecycleStatus = exports.QuoteResponseLifecycleState = exports.QuoteResponseLifecycleStage = void 0;
|
4
|
-
var QuoteResponseLifecycleStage;
|
5
|
-
(function (QuoteResponseLifecycleStage) {
|
6
|
-
QuoteResponseLifecycleStage[QuoteResponseLifecycleStage["NONE"] = 1] = "NONE";
|
7
|
-
QuoteResponseLifecycleStage[QuoteResponseLifecycleStage["ENTRANCE"] = 2] = "ENTRANCE";
|
8
|
-
QuoteResponseLifecycleStage[QuoteResponseLifecycleStage["RETENTION"] = 3] = "RETENTION";
|
9
|
-
QuoteResponseLifecycleStage[QuoteResponseLifecycleStage["TERMINATION"] = 4] = "TERMINATION";
|
10
|
-
})(QuoteResponseLifecycleStage || (exports.QuoteResponseLifecycleStage = QuoteResponseLifecycleStage = {}));
|
11
|
-
var QuoteResponseLifecycleState;
|
12
|
-
(function (QuoteResponseLifecycleState) {
|
13
|
-
// entrance stage
|
14
|
-
QuoteResponseLifecycleState[QuoteResponseLifecycleState["NONE"] = 1] = "NONE";
|
15
|
-
QuoteResponseLifecycleState[QuoteResponseLifecycleState["CREATION"] = 2] = "CREATION";
|
16
|
-
QuoteResponseLifecycleState[QuoteResponseLifecycleState["SELECTED"] = 3] = "SELECTED";
|
17
|
-
// retention stage
|
18
|
-
QuoteResponseLifecycleState[QuoteResponseLifecycleState["INITIATE_SOLVING"] = 4] = "INITIATE_SOLVING";
|
19
|
-
QuoteResponseLifecycleState[QuoteResponseLifecycleState["SOLVE_STUDING"] = 5] = "SOLVE_STUDING";
|
20
|
-
// termination stage
|
21
|
-
QuoteResponseLifecycleState[QuoteResponseLifecycleState["NOT_SELECTED"] = 6] = "NOT_SELECTED";
|
22
|
-
QuoteResponseLifecycleState[QuoteResponseLifecycleState["REQUEST_CANCELED"] = 7] = "REQUEST_CANCELED";
|
23
|
-
QuoteResponseLifecycleState[QuoteResponseLifecycleState["FULFILLED"] = 8] = "FULFILLED";
|
24
|
-
QuoteResponseLifecycleState[QuoteResponseLifecycleState["TIMED_OUT"] = 9] = "TIMED_OUT";
|
25
|
-
})(QuoteResponseLifecycleState || (exports.QuoteResponseLifecycleState = QuoteResponseLifecycleState = {}));
|
26
|
-
var QuoteResponseLifecycleStatus;
|
27
|
-
(function (QuoteResponseLifecycleStatus) {
|
28
|
-
QuoteResponseLifecycleStatus[QuoteResponseLifecycleStatus["NONE"] = 1] = "NONE";
|
29
|
-
QuoteResponseLifecycleStatus[QuoteResponseLifecycleStatus["SUCCESS"] = 2] = "SUCCESS";
|
30
|
-
QuoteResponseLifecycleStatus[QuoteResponseLifecycleStatus["PENDING"] = 3] = "PENDING";
|
31
|
-
QuoteResponseLifecycleStatus[QuoteResponseLifecycleStatus["EXPIRED"] = 4] = "EXPIRED";
|
32
|
-
QuoteResponseLifecycleStatus[QuoteResponseLifecycleStatus["FAILURE"] = 5] = "FAILURE";
|
33
|
-
QuoteResponseLifecycleStatus[QuoteResponseLifecycleStatus["IN_PROGRESS"] = 6] = "IN_PROGRESS";
|
34
|
-
})(QuoteResponseLifecycleStatus || (exports.QuoteResponseLifecycleStatus = QuoteResponseLifecycleStatus = {}));
|
35
|
-
//# sourceMappingURL=quote_response_lifecycle.enum.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"quote_response_lifecycle.enum.js","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/quote_response_lifecycle.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,2BAKX;AALD,WAAY,2BAA2B;IACrC,6EAAQ,CAAA;IACR,qFAAQ,CAAA;IACR,uFAAS,CAAA;IACT,2FAAW,CAAA;AACb,CAAC,EALW,2BAA2B,2CAA3B,2BAA2B,QAKtC;AAED,IAAY,2BAeX;AAfD,WAAY,2BAA2B;IACrC,iBAAiB;IACjB,6EAAQ,CAAA;IACR,qFAAQ,CAAA;IACR,qFAAQ,CAAA;IAER,kBAAkB;IAClB,qGAAgB,CAAA;IAChB,+FAAa,CAAA;IAEb,oBAAoB;IACpB,6FAAY,CAAA;IACZ,qGAAgB,CAAA;IAChB,uFAAS,CAAA;IACT,uFAAS,CAAA;AACX,CAAC,EAfW,2BAA2B,2CAA3B,2BAA2B,QAetC;AAED,IAAY,4BAOX;AAPD,WAAY,4BAA4B;IACtC,+EAAQ,CAAA;IACR,qFAAO,CAAA;IACP,qFAAO,CAAA;IACP,qFAAO,CAAA;IACP,qFAAO,CAAA;IACP,6FAAW,CAAA;AACb,CAAC,EAPW,4BAA4B,4CAA5B,4BAA4B,QAOvC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/swap/domain/dto/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC"}
|
@@ -1,19 +0,0 @@
|
|
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
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/swap/domain/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,sDAAoC"}
|
@@ -1,29 +0,0 @@
|
|
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
|
-
//# sourceMappingURL=swap_request.dto.d.ts.map
|
@@ -1 +0,0 @@
|
|
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"}
|
@@ -1,37 +0,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.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
|
-
//# sourceMappingURL=swap_request.dto.js.map
|
@@ -1 +0,0 @@
|
|
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,23 +0,0 @@
|
|
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
|
-
//# sourceMappingURL=swap_response.dto.d.ts.map
|
@@ -1 +0,0 @@
|
|
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"}
|
@@ -1,35 +0,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.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
|
-
//# sourceMappingURL=swap_response.dto.js.map
|
@@ -1 +0,0 @@
|
|
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"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/swap/domain/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC"}
|
@@ -1,18 +0,0 @@
|
|
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("./dto"), exports);
|
18
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/swap/domain/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/swap/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
@@ -1,18 +0,0 @@
|
|
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("./domain"), exports);
|
18
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/swap/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB"}
|