@heliofi/launchpad-common 1.7.28 → 1.7.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/domain/constants/blockchain.d.ts +2 -1
- package/dist/src/domain/constants/blockchain.js +2 -0
- package/dist/src/domain/constants/blockchain.js.map +1 -1
- package/dist/src/domain/constants/dex.d.ts +2 -1
- package/dist/src/domain/constants/dex.js +1 -0
- package/dist/src/domain/constants/dex.js.map +1 -1
- package/dist/src/domain/constants/feeFeature.d.ts +1 -1
- package/dist/src/domain/constants/feeFeature.js +1 -1
- package/dist/src/domain/constants/feeFeature.js.map +1 -1
- package/dist/src/domain/constants/migrationDex.d.ts +6 -2
- package/dist/src/domain/constants/migrationDex.js +4 -0
- package/dist/src/domain/constants/migrationDex.js.map +1 -1
- package/dist/src/domain/constants/migrationTarget.d.ts +18 -1
- package/dist/src/domain/constants/migrationTarget.js +19 -1
- package/dist/src/domain/constants/migrationTarget.js.map +1 -1
- package/dist/src/domain/constants/protocol.d.ts +2 -1
- package/dist/src/domain/constants/protocol.js +2 -1
- package/dist/src/domain/constants/protocol.js.map +1 -1
- package/dist/src/domain/model/token-pair/dtos/GetCreatorTokens.dto.d.ts +6 -0
- package/dist/src/domain/model/token-pair/dtos/GetCreatorTokens.dto.js +29 -0
- package/dist/src/domain/model/token-pair/dtos/GetCreatorTokens.dto.js.map +1 -0
- package/dist/src/domain/model/token-pair/dtos/index.d.ts +1 -0
- package/dist/src/domain/model/token-pair/dtos/index.js +1 -0
- package/dist/src/domain/model/token-pair/dtos/index.js.map +1 -1
- package/dist/src/domain/model/uniswap/dtos/UniswapGetPrice.dto.d.ts +1 -2
- package/dist/src/domain/model/uniswap/dtos/UniswapGetPrice.dto.js +0 -6
- package/dist/src/domain/model/uniswap/dtos/UniswapGetPrice.dto.js.map +1 -1
- package/dist/src/domain/model/uniswap/dtos/UniswapPrepare.dto.d.ts +1 -2
- package/dist/src/domain/model/uniswap/dtos/UniswapPrepare.dto.js +0 -6
- package/dist/src/domain/model/uniswap/dtos/UniswapPrepare.dto.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -13,6 +13,7 @@ var BlockchainSymbol;
|
|
|
13
13
|
BlockchainSymbol["SONIC"] = "SONIC";
|
|
14
14
|
BlockchainSymbol["ABSTRACT"] = "ABSTRACT";
|
|
15
15
|
BlockchainSymbol["BERA"] = "BERA";
|
|
16
|
+
BlockchainSymbol["FOGO"] = "FOGO";
|
|
16
17
|
})(BlockchainSymbol || (exports.BlockchainSymbol = BlockchainSymbol = {}));
|
|
17
18
|
var DexScreenerBlockchainSymbol;
|
|
18
19
|
(function (DexScreenerBlockchainSymbol) {
|
|
@@ -35,6 +36,7 @@ exports.blockchainEngineMap = new Map([
|
|
|
35
36
|
[BlockchainSymbol.SONIC, BlockchainEngineType.EVM],
|
|
36
37
|
[BlockchainSymbol.ABSTRACT, BlockchainEngineType.EVM],
|
|
37
38
|
[BlockchainSymbol.BERA, BlockchainEngineType.EVM],
|
|
39
|
+
[BlockchainSymbol.FOGO, BlockchainEngineType.SOL],
|
|
38
40
|
]);
|
|
39
41
|
function getDefaultBlockChainName() {
|
|
40
42
|
return BlockchainSymbol.SOL;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockchain.js","sourceRoot":"","sources":["../../../../src/domain/constants/blockchain.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"blockchain.js","sourceRoot":"","sources":["../../../../src/domain/constants/blockchain.ts"],"names":[],"mappings":";;;AAwCA,4DAEC;AA1CD,IAAY,gBAWX;AAXD,WAAY,gBAAgB;IAC1B,+BAAW,CAAA;IACX,+BAAW,CAAA;IACX,uCAAmB,CAAA;IACnB,uCAAmB,CAAA;IACnB,iCAAa,CAAA;IACb,yCAAqB,CAAA;IACrB,mCAAe,CAAA;IACf,yCAAqB,CAAA;IACrB,iCAAa,CAAA;IACb,iCAAa,CAAA;A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
|
1
|
+
{"version":3,"file":"dex.js","sourceRoot":"","sources":["../../../../src/domain/constants/dex.ts"],"names":[],"mappings":";;;AAAA,IAAY,GASX;AATD,WAAY,GAAG;IACb,0BAAmB,CAAA;IACnB,gDAAyC,CAAA;IACzC,0BAAmB,CAAA;IACnB,0BAAmB,CAAA;IACnB,4BAAqB,CAAA;IACrB,oBAAa,CAAA;IACb,0BAAmB,CAAA;IACnB,8BAAuB,CAAA;AACzB,CAAC,EATW,GAAG,mBAAH,GAAG,QASd"}
|
|
@@ -9,6 +9,6 @@ var FeeFeature;
|
|
|
9
9
|
FeeFeature["UNISWAP"] = "UNISWAP";
|
|
10
10
|
FeeFeature["PUMPFUN"] = "PUMPFUN";
|
|
11
11
|
FeeFeature["PUMPDEX"] = "PUMPDEX";
|
|
12
|
-
FeeFeature["
|
|
12
|
+
FeeFeature["AERODROME"] = "AERODROME";
|
|
13
13
|
})(FeeFeature || (exports.FeeFeature = FeeFeature = {}));
|
|
14
14
|
//# sourceMappingURL=feeFeature.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feeFeature.js","sourceRoot":"","sources":["../../../../src/domain/constants/feeFeature.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAQX;AARD,WAAY,UAAU;IACpB,iCAAmB,CAAA;IACnB,uDAAyC,CAAA;IACzC,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,
|
|
1
|
+
{"version":3,"file":"feeFeature.js","sourceRoot":"","sources":["../../../../src/domain/constants/feeFeature.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAQX;AARD,WAAY,UAAU;IACpB,iCAAmB,CAAA;IACnB,uDAAyC,CAAA;IACzC,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,qCAAuB,CAAA;AACzB,CAAC,EARW,UAAU,0BAAV,UAAU,QAQrB"}
|
|
@@ -3,14 +3,16 @@ export declare enum MigrationDex {
|
|
|
3
3
|
RAYDIUM = "RAYDIUM",
|
|
4
4
|
METEORA = "METEORA",
|
|
5
5
|
METEORA_V2 = "METEORA_V2",
|
|
6
|
-
UNISWAP = "UNISWAP"
|
|
6
|
+
UNISWAP = "UNISWAP",
|
|
7
|
+
AERODROME = "AERODROME"
|
|
7
8
|
}
|
|
8
9
|
export declare enum DexScreenerDexId {
|
|
9
10
|
METEORA = "meteora",
|
|
10
11
|
RAYDIUM = "raydium",
|
|
11
12
|
PUMPSWAP = "pumpswap",
|
|
12
13
|
UNISWAP = "uniswap",
|
|
13
|
-
ORCA = "orca"
|
|
14
|
+
ORCA = "orca",
|
|
15
|
+
AERODROME = "aerodrome"
|
|
14
16
|
}
|
|
15
17
|
export declare const DexScreenerDexIdToDex: {
|
|
16
18
|
readonly meteora: Dex.METEORA;
|
|
@@ -18,10 +20,12 @@ export declare const DexScreenerDexIdToDex: {
|
|
|
18
20
|
readonly pumpswap: Dex.PUMPSWAP;
|
|
19
21
|
readonly uniswap: Dex.UNISWAP;
|
|
20
22
|
readonly orca: Dex.ORCA;
|
|
23
|
+
readonly aerodrome: Dex.AERODROME;
|
|
21
24
|
};
|
|
22
25
|
export declare const convertDexScreenerIdToDex: (dexString?: string) => Dex | undefined;
|
|
23
26
|
export declare const migrationDexToDex: {
|
|
24
27
|
RAYDIUM: Dex;
|
|
25
28
|
METEORA: Dex;
|
|
29
|
+
AERODROME: Dex;
|
|
26
30
|
};
|
|
27
31
|
export declare const getDefaultMigrationDex: (symbol: string) => MigrationDex;
|
|
@@ -9,6 +9,7 @@ var MigrationDex;
|
|
|
9
9
|
MigrationDex["METEORA"] = "METEORA";
|
|
10
10
|
MigrationDex["METEORA_V2"] = "METEORA_V2";
|
|
11
11
|
MigrationDex["UNISWAP"] = "UNISWAP";
|
|
12
|
+
MigrationDex["AERODROME"] = "AERODROME";
|
|
12
13
|
})(MigrationDex || (exports.MigrationDex = MigrationDex = {}));
|
|
13
14
|
var DexScreenerDexId;
|
|
14
15
|
(function (DexScreenerDexId) {
|
|
@@ -17,6 +18,7 @@ var DexScreenerDexId;
|
|
|
17
18
|
DexScreenerDexId["PUMPSWAP"] = "pumpswap";
|
|
18
19
|
DexScreenerDexId["UNISWAP"] = "uniswap";
|
|
19
20
|
DexScreenerDexId["ORCA"] = "orca";
|
|
21
|
+
DexScreenerDexId["AERODROME"] = "aerodrome";
|
|
20
22
|
})(DexScreenerDexId || (exports.DexScreenerDexId = DexScreenerDexId = {}));
|
|
21
23
|
exports.DexScreenerDexIdToDex = {
|
|
22
24
|
[DexScreenerDexId.METEORA]: dex_1.Dex.METEORA,
|
|
@@ -24,6 +26,7 @@ exports.DexScreenerDexIdToDex = {
|
|
|
24
26
|
[DexScreenerDexId.PUMPSWAP]: dex_1.Dex.PUMPSWAP,
|
|
25
27
|
[DexScreenerDexId.UNISWAP]: dex_1.Dex.UNISWAP,
|
|
26
28
|
[DexScreenerDexId.ORCA]: dex_1.Dex.ORCA,
|
|
29
|
+
[DexScreenerDexId.AERODROME]: dex_1.Dex.AERODROME,
|
|
27
30
|
};
|
|
28
31
|
const isDexScreenerDexId = (key) => Object.prototype.hasOwnProperty.call(exports.DexScreenerDexIdToDex, key);
|
|
29
32
|
const convertDexScreenerIdToDex = (dexString) => {
|
|
@@ -40,6 +43,7 @@ exports.convertDexScreenerIdToDex = convertDexScreenerIdToDex;
|
|
|
40
43
|
exports.migrationDexToDex = {
|
|
41
44
|
[MigrationDex.RAYDIUM]: dex_1.Dex.RAYDIUM,
|
|
42
45
|
[MigrationDex.METEORA]: dex_1.Dex.METEORA,
|
|
46
|
+
[MigrationDex.AERODROME]: dex_1.Dex.AERODROME,
|
|
43
47
|
};
|
|
44
48
|
const getDefaultMigrationDex = (symbol) => {
|
|
45
49
|
switch (symbol) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migrationDex.js","sourceRoot":"","sources":["../../../../src/domain/constants/migrationDex.ts"],"names":[],"mappings":";;;AAAA,6CAAgD;AAChD,+BAA4B;AAE5B,IAAY,
|
|
1
|
+
{"version":3,"file":"migrationDex.js","sourceRoot":"","sources":["../../../../src/domain/constants/migrationDex.ts"],"names":[],"mappings":";;;AAAA,6CAAgD;AAChD,+BAA4B;AAE5B,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,mCAAmB,CAAA;IACnB,yCAAyB,CAAA;IACzB,mCAAmB,CAAA;IACnB,uCAAuB,CAAA;AACzB,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB;AAED,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,uCAAmB,CAAA;IACnB,yCAAqB,CAAA;IACrB,uCAAmB,CAAA;IACnB,iCAAa,CAAA;IACb,2CAAuB,CAAA;AACzB,CAAC,EAPW,gBAAgB,gCAAhB,gBAAgB,QAO3B;AAEY,QAAA,qBAAqB,GAAG;IACnC,CAAC,gBAAgB,CAAC,OAAO,CAAC,EAAE,SAAG,CAAC,OAAO;IACvC,CAAC,gBAAgB,CAAC,OAAO,CAAC,EAAE,SAAG,CAAC,OAAO;IACvC,CAAC,gBAAgB,CAAC,QAAQ,CAAC,EAAE,SAAG,CAAC,QAAQ;IACzC,CAAC,gBAAgB,CAAC,OAAO,CAAC,EAAE,SAAG,CAAC,OAAO;IACvC,CAAC,gBAAgB,CAAC,IAAI,CAAC,EAAE,SAAG,CAAC,IAAI;IACjC,CAAC,gBAAgB,CAAC,SAAS,CAAC,EAAE,SAAG,CAAC,SAAS;CACK,CAAC;AAEnD,MAAM,kBAAkB,GAAG,CAAC,GAAW,EAA2B,EAAE,CAClE,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,6BAAqB,EAAE,GAAG,CAAC,CAAC;AAG5D,MAAM,yBAAyB,GAAG,CACvC,SAAkB,EACD,EAAE;IACnB,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,OAAO,SAAS,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1
|
|
3
|
+
METEORA = 1,
|
|
4
|
+
METEORA_V2 = 2,
|
|
5
|
+
UNISWAP = 3,
|
|
6
|
+
AERODROME = 4
|
|
4
7
|
}
|
|
5
8
|
export declare const migrationDexToTarget: {
|
|
6
9
|
RAYDIUM: MigrationTarget;
|
|
7
10
|
METEORA: MigrationTarget;
|
|
8
11
|
METEORA_V2: MigrationTarget;
|
|
12
|
+
UNISWAP: MigrationTarget;
|
|
13
|
+
AERODROME: MigrationTarget;
|
|
14
|
+
};
|
|
15
|
+
export declare enum EvmMigrationTarget {
|
|
16
|
+
UNISWAP_V2 = 0,
|
|
17
|
+
AERODROME = 1
|
|
18
|
+
}
|
|
19
|
+
export declare const evmMigrationTargetToDex: {
|
|
20
|
+
UNISWAP: EvmMigrationTarget;
|
|
21
|
+
AERODROME: EvmMigrationTarget;
|
|
22
|
+
};
|
|
23
|
+
export declare const migrationTargetToEvmTarget: {
|
|
24
|
+
3: EvmMigrationTarget;
|
|
25
|
+
4: EvmMigrationTarget;
|
|
9
26
|
};
|
|
@@ -1,15 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.migrationDexToTarget = exports.MigrationTarget = void 0;
|
|
3
|
+
exports.migrationTargetToEvmTarget = exports.evmMigrationTargetToDex = exports.EvmMigrationTarget = exports.migrationDexToTarget = exports.MigrationTarget = void 0;
|
|
4
4
|
const migrationDex_1 = require("./migrationDex");
|
|
5
5
|
var MigrationTarget;
|
|
6
6
|
(function (MigrationTarget) {
|
|
7
7
|
MigrationTarget[MigrationTarget["RAYDIUM"] = 0] = "RAYDIUM";
|
|
8
8
|
MigrationTarget[MigrationTarget["METEORA"] = 1] = "METEORA";
|
|
9
|
+
MigrationTarget[MigrationTarget["METEORA_V2"] = 2] = "METEORA_V2";
|
|
10
|
+
MigrationTarget[MigrationTarget["UNISWAP"] = 3] = "UNISWAP";
|
|
11
|
+
MigrationTarget[MigrationTarget["AERODROME"] = 4] = "AERODROME";
|
|
9
12
|
})(MigrationTarget || (exports.MigrationTarget = MigrationTarget = {}));
|
|
10
13
|
exports.migrationDexToTarget = {
|
|
11
14
|
[migrationDex_1.MigrationDex.RAYDIUM]: MigrationTarget.RAYDIUM,
|
|
12
15
|
[migrationDex_1.MigrationDex.METEORA]: MigrationTarget.METEORA,
|
|
13
16
|
[migrationDex_1.MigrationDex.METEORA_V2]: MigrationTarget.METEORA,
|
|
17
|
+
[migrationDex_1.MigrationDex.UNISWAP]: MigrationTarget.UNISWAP,
|
|
18
|
+
[migrationDex_1.MigrationDex.AERODROME]: MigrationTarget.AERODROME,
|
|
19
|
+
};
|
|
20
|
+
var EvmMigrationTarget;
|
|
21
|
+
(function (EvmMigrationTarget) {
|
|
22
|
+
EvmMigrationTarget[EvmMigrationTarget["UNISWAP_V2"] = 0] = "UNISWAP_V2";
|
|
23
|
+
EvmMigrationTarget[EvmMigrationTarget["AERODROME"] = 1] = "AERODROME";
|
|
24
|
+
})(EvmMigrationTarget || (exports.EvmMigrationTarget = EvmMigrationTarget = {}));
|
|
25
|
+
exports.evmMigrationTargetToDex = {
|
|
26
|
+
[migrationDex_1.MigrationDex.UNISWAP]: EvmMigrationTarget.UNISWAP_V2,
|
|
27
|
+
[migrationDex_1.MigrationDex.AERODROME]: EvmMigrationTarget.AERODROME,
|
|
28
|
+
};
|
|
29
|
+
exports.migrationTargetToEvmTarget = {
|
|
30
|
+
[MigrationTarget.UNISWAP]: EvmMigrationTarget.UNISWAP_V2,
|
|
31
|
+
[MigrationTarget.AERODROME]: EvmMigrationTarget.AERODROME,
|
|
14
32
|
};
|
|
15
33
|
//# sourceMappingURL=migrationTarget.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migrationTarget.js","sourceRoot":"","sources":["../../../../src/domain/constants/migrationTarget.ts"],"names":[],"mappings":";;;AAAA,iDAA8C;AAE9C,IAAY,
|
|
1
|
+
{"version":3,"file":"migrationTarget.js","sourceRoot":"","sources":["../../../../src/domain/constants/migrationTarget.ts"],"names":[],"mappings":";;;AAAA,iDAA8C;AAE9C,IAAY,eAMX;AAND,WAAY,eAAe;IACzB,2DAAW,CAAA;IACX,2DAAW,CAAA;IACX,iEAAc,CAAA;IACd,2DAAW,CAAA;IACX,+DAAa,CAAA;AACf,CAAC,EANW,eAAe,+BAAf,eAAe,QAM1B;AAEY,QAAA,oBAAoB,GAAG;IAClC,CAAC,2BAAY,CAAC,OAAO,CAAC,EAAE,eAAe,CAAC,OAAO;IAC/C,CAAC,2BAAY,CAAC,OAAO,CAAC,EAAE,eAAe,CAAC,OAAO;IAC/C,CAAC,2BAAY,CAAC,UAAU,CAAC,EAAE,eAAe,CAAC,OAAO;IAClD,CAAC,2BAAY,CAAC,OAAO,CAAC,EAAE,eAAe,CAAC,OAAO;IAC/C,CAAC,2BAAY,CAAC,SAAS,CAAC,EAAE,eAAe,CAAC,SAAS;CACpD,CAAC;AAEF,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,uEAAc,CAAA;IACd,qEAAa,CAAA;AACf,CAAC,EAHW,kBAAkB,kCAAlB,kBAAkB,QAG7B;AAEY,QAAA,uBAAuB,GAAG;IACrC,CAAC,2BAAY,CAAC,OAAO,CAAC,EAAE,kBAAkB,CAAC,UAAU;IACrD,CAAC,2BAAY,CAAC,SAAS,CAAC,EAAE,kBAAkB,CAAC,SAAS;CACvD,CAAC;AAEW,QAAA,0BAA0B,GAAG;IACxC,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,kBAAkB,CAAC,UAAU;IACxD,CAAC,eAAe,CAAC,SAAS,CAAC,EAAE,kBAAkB,CAAC,SAAS;CAC1D,CAAC"}
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ProtocolType = void 0;
|
|
4
4
|
var ProtocolType;
|
|
5
5
|
(function (ProtocolType) {
|
|
6
|
-
ProtocolType["
|
|
6
|
+
ProtocolType["UNISWAP"] = "uniswap";
|
|
7
|
+
ProtocolType["AERODROME"] = "aerodrome";
|
|
7
8
|
})(ProtocolType || (exports.ProtocolType = ProtocolType = {}));
|
|
8
9
|
//# sourceMappingURL=protocol.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.js","sourceRoot":"","sources":["../../../../src/domain/constants/protocol.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"protocol.js","sourceRoot":"","sources":["../../../../src/domain/constants/protocol.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,uCAAuB,CAAA;AACzB,CAAC,EAHW,YAAY,4BAAZ,YAAY,QAGvB"}
|
|
@@ -0,0 +1,29 @@
|
|
|
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.GetCreatorTokensDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const paginated_query_dto_1 = require("../../query/paginated-query.dto");
|
|
15
|
+
const constants_1 = require("../../../constants");
|
|
16
|
+
class GetCreatorTokensDto extends paginated_query_dto_1.PaginatedQueryDto {
|
|
17
|
+
}
|
|
18
|
+
exports.GetCreatorTokensDto = GetCreatorTokensDto;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_validator_1.IsString)(),
|
|
21
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], GetCreatorTokensDto.prototype, "walletAddress", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsEnum)(constants_1.BlockchainSymbol),
|
|
26
|
+
(0, class_validator_1.IsOptional)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], GetCreatorTokensDto.prototype, "blockchainSymbol", void 0);
|
|
29
|
+
//# sourceMappingURL=GetCreatorTokens.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetCreatorTokens.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/token-pair/dtos/GetCreatorTokens.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAC3E,yEAAoE;AACpE,kDAAsD;AAEtD,MAAa,mBAAoB,SAAQ,uCAAiB;CAQzD;AARD,kDAQC;AALC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACS;AAItB;IAFC,IAAA,wBAAM,EAAC,4BAAgB,CAAC;IACxB,IAAA,4BAAU,GAAE;;6DACuB"}
|
|
@@ -19,4 +19,5 @@ __exportStar(require("./SearchTokenPairs.dto"), exports);
|
|
|
19
19
|
__exportStar(require("./UpdateModeratedStatus.dto"), exports);
|
|
20
20
|
__exportStar(require("./GetTokenWithTradingData.dto"), exports);
|
|
21
21
|
__exportStar(require("./UpdateFirstNineGagToken.dto"), exports);
|
|
22
|
+
__exportStar(require("./GetCreatorTokens.dto"), exports);
|
|
22
23
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/token-pair/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,yDAAuC;AACvC,8DAA4C;AAC5C,gEAA8C;AAC9C,gEAA8C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/token-pair/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,yDAAuC;AACvC,8DAA4C;AAC5C,gEAA8C;AAC9C,gEAA8C;AAC9C,yDAAuC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SwapType } from '../../../constants';
|
|
2
2
|
export declare class UniswapGetPriceDto {
|
|
3
3
|
mintFrom: string;
|
|
4
4
|
mintTo: string;
|
|
5
5
|
amount: string;
|
|
6
6
|
poolId?: string;
|
|
7
7
|
swapType?: SwapType;
|
|
8
|
-
protocol?: ProtocolType;
|
|
9
8
|
}
|
|
@@ -44,10 +44,4 @@ __decorate([
|
|
|
44
44
|
(0, class_validator_1.IsOptional)(),
|
|
45
45
|
__metadata("design:type", String)
|
|
46
46
|
], UniswapGetPriceDto.prototype, "swapType", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, class_validator_1.IsString)(),
|
|
49
|
-
(0, class_validator_1.IsEnum)(constants_1.ProtocolType),
|
|
50
|
-
(0, class_validator_1.IsOptional)(),
|
|
51
|
-
__metadata("design:type", String)
|
|
52
|
-
], UniswapGetPriceDto.prototype, "protocol", void 0);
|
|
53
47
|
//# sourceMappingURL=UniswapGetPrice.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UniswapGetPrice.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/uniswap/dtos/UniswapGetPrice.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAMyB;AACzB,sDAAiD;AACjD,
|
|
1
|
+
{"version":3,"file":"UniswapGetPrice.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/uniswap/dtos/UniswapGetPrice.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAMyB;AACzB,sDAAiD;AACjD,kDAA8C;AAE9C,MAAa,kBAAkB;CAsB9B;AAtBD,gDAsBC;AAnBC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACI;AAIjB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACE;AAKf;IAHC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,uBAAS,CAAC;;kDACL;AAIf;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACG;AAKhB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAM,EAAC,oBAAQ,CAAC;IAChB,IAAA,4BAAU,GAAE;;oDACO"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SwapType } from '../../../constants';
|
|
2
2
|
export declare class UniswapPrepareDto {
|
|
3
3
|
sender: string;
|
|
4
4
|
mintFrom: string;
|
|
@@ -9,5 +9,4 @@ export declare class UniswapPrepareDto {
|
|
|
9
9
|
feeMintAddress: string;
|
|
10
10
|
poolId?: string;
|
|
11
11
|
swapType?: SwapType;
|
|
12
|
-
protocol?: ProtocolType;
|
|
13
12
|
}
|
|
@@ -65,10 +65,4 @@ __decorate([
|
|
|
65
65
|
(0, class_validator_1.IsOptional)(),
|
|
66
66
|
__metadata("design:type", String)
|
|
67
67
|
], UniswapPrepareDto.prototype, "swapType", void 0);
|
|
68
|
-
__decorate([
|
|
69
|
-
(0, class_validator_1.IsString)(),
|
|
70
|
-
(0, class_validator_1.IsEnum)(constants_1.ProtocolType),
|
|
71
|
-
(0, class_validator_1.IsOptional)(),
|
|
72
|
-
__metadata("design:type", String)
|
|
73
|
-
], UniswapPrepareDto.prototype, "protocol", void 0);
|
|
74
68
|
//# sourceMappingURL=UniswapPrepare.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UniswapPrepare.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/uniswap/dtos/UniswapPrepare.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAMyB;AACzB,
|
|
1
|
+
{"version":3,"file":"UniswapPrepare.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/uniswap/dtos/UniswapPrepare.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAMyB;AACzB,kDAA8C;AAC9C,sDAAiD;AAEjD,MAAa,iBAAiB;CAuC7B;AAvCD,8CAuCC;AApCC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACE;AAIf;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACI;AAIjB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACE;AAKf;IAHC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,uBAAS,CAAC;;mDACH;AAKjB;IAHC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,uBAAS,CAAC;;oDACF;AAIlB;IAFC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvC,IAAA,4BAAU,GAAE;;oDACK;AAIlB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACU;AAIvB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACG;AAKhB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAM,EAAC,oBAAQ,CAAC;IAChB,IAAA,4BAAU,GAAE;;mDACO"}
|