@heliofi/launchpad-common 1.3.1 → 1.3.2
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/ProtocolVersion.d.ts +2 -1
- package/dist/src/domain/constants/ProtocolVersion.js +1 -0
- package/dist/src/domain/constants/ProtocolVersion.js.map +1 -1
- package/dist/src/domain/constants/blockchain.d.ts +2 -1
- package/dist/src/domain/constants/blockchain.js +2 -1
- package/dist/src/domain/constants/blockchain.js.map +1 -1
- package/dist/src/domain/constants/chainId.d.ts +3 -1
- package/dist/src/domain/constants/chainId.js +2 -0
- package/dist/src/domain/constants/chainId.js.map +1 -1
- package/dist/src/domain/constants/configPartner.d.ts +4 -0
- package/dist/src/domain/constants/configPartner.js +9 -0
- package/dist/src/domain/constants/configPartner.js.map +1 -0
- package/dist/src/domain/constants/feeFeature.d.ts +5 -0
- package/dist/src/domain/constants/feeFeature.js +10 -0
- package/dist/src/domain/constants/feeFeature.js.map +1 -0
- package/dist/src/domain/constants/index.d.ts +1 -0
- package/dist/src/domain/constants/index.js +1 -0
- package/dist/src/domain/constants/index.js.map +1 -1
- package/dist/src/domain/constants/meteoraFees.d.ts +2 -2
- package/dist/src/domain/constants/meteoraFees.js +2 -2
- package/dist/src/domain/constants/migrationDex.js +2 -0
- package/dist/src/domain/constants/migrationDex.js.map +1 -1
- package/dist/src/domain/constants/partner.d.ts +2 -1
- package/dist/src/domain/constants/partner.js +2 -1
- package/dist/src/domain/constants/partner.js.map +1 -1
- package/dist/src/domain/constants/tokenType.d.ts +2 -1
- package/dist/src/domain/constants/tokenType.js +1 -0
- package/dist/src/domain/constants/tokenType.js.map +1 -1
- package/dist/src/domain/model/boost/dtos/BoostPriority.dto.d.ts +4 -0
- package/dist/src/domain/model/boost/dtos/BoostPriority.dto.js +30 -0
- package/dist/src/domain/model/boost/dtos/BoostPriority.dto.js.map +1 -0
- package/dist/src/domain/model/boost/dtos/BoostSubmit.dto.d.ts +5 -0
- package/dist/src/domain/model/boost/dtos/BoostSubmit.dto.js +30 -0
- package/dist/src/domain/model/boost/dtos/BoostSubmit.dto.js.map +1 -0
- package/dist/src/domain/model/boost/dtos/index.d.ts +2 -0
- package/dist/src/domain/model/boost/dtos/index.js +19 -0
- package/dist/src/domain/model/boost/dtos/index.js.map +1 -0
- package/dist/src/domain/model/boost/entities/BoostSubmitResponse.entity.d.ts +6 -0
- package/dist/src/domain/model/boost/entities/BoostSubmitResponse.entity.js +8 -0
- package/dist/src/domain/model/boost/entities/BoostSubmitResponse.entity.js.map +1 -0
- package/dist/src/domain/model/boost/entities/BoostTipWalletsResponse.entity.d.ts +4 -0
- package/dist/src/domain/model/boost/entities/BoostTipWalletsResponse.entity.js +8 -0
- package/dist/src/domain/model/boost/entities/BoostTipWalletsResponse.entity.js.map +1 -0
- package/dist/src/domain/model/boost/entities/index.d.ts +2 -0
- package/dist/src/domain/model/boost/entities/index.js +19 -0
- package/dist/src/domain/model/boost/entities/index.js.map +1 -0
- package/dist/src/domain/model/boost/index.d.ts +2 -0
- package/dist/src/domain/model/{lpLockDetails → boost}/index.js +2 -1
- package/dist/src/domain/model/boost/index.js.map +1 -0
- package/dist/src/domain/model/index.d.ts +2 -0
- package/dist/src/domain/model/index.js +2 -0
- package/dist/src/domain/model/index.js.map +1 -1
- package/dist/src/domain/model/pumpfun-swap/dtos/PumpFunSwapPrepare.dto.d.ts +12 -0
- package/dist/src/domain/model/pumpfun-swap/dtos/PumpFunSwapPrepare.dto.js +68 -0
- package/dist/src/domain/model/pumpfun-swap/dtos/PumpFunSwapPrepare.dto.js.map +1 -0
- package/dist/src/domain/model/pumpfun-swap/dtos/PumpFunSwapSubmit.dto.d.ts +4 -0
- package/dist/src/domain/model/{lpLockDetails/dtos/AddAllocation.dto.js → pumpfun-swap/dtos/PumpFunSwapSubmit.dto.js} +6 -17
- package/dist/src/domain/model/pumpfun-swap/dtos/PumpFunSwapSubmit.dto.js.map +1 -0
- package/dist/src/domain/model/pumpfun-swap/dtos/index.d.ts +2 -0
- package/dist/src/domain/model/pumpfun-swap/dtos/index.js +19 -0
- package/dist/src/domain/model/pumpfun-swap/dtos/index.js.map +1 -0
- package/dist/src/domain/model/pumpfun-swap/entities/PumpFunSwapPrepareResponse.entity.d.ts +5 -0
- package/dist/src/domain/model/pumpfun-swap/entities/PumpFunSwapPrepareResponse.entity.js +8 -0
- package/dist/src/domain/model/pumpfun-swap/entities/PumpFunSwapPrepareResponse.entity.js.map +1 -0
- package/dist/src/domain/model/pumpfun-swap/entities/PumpFunSwapSubmitResponse.entity.d.ts +6 -0
- package/dist/src/domain/model/pumpfun-swap/entities/PumpFunSwapSubmitResponse.entity.js +8 -0
- package/dist/src/domain/model/pumpfun-swap/entities/PumpFunSwapSubmitResponse.entity.js.map +1 -0
- package/dist/src/domain/model/pumpfun-swap/entities/index.d.ts +2 -0
- package/dist/src/domain/model/pumpfun-swap/entities/index.js +19 -0
- package/dist/src/domain/model/pumpfun-swap/entities/index.js.map +1 -0
- package/dist/src/domain/model/pumpfun-swap/index.d.ts +2 -0
- package/dist/src/domain/model/pumpfun-swap/index.js +19 -0
- package/dist/src/domain/model/pumpfun-swap/index.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/src/domain/curves/BaseConstantProductCurveV1.d.ts +0 -23
- package/dist/src/domain/curves/BaseConstantProductCurveV1.js +0 -141
- package/dist/src/domain/curves/BaseConstantProductCurveV1.js.map +0 -1
- package/dist/src/domain/curves/ConstantProductCurve.d.ts +0 -20
- package/dist/src/domain/curves/ConstantProductCurve.js +0 -120
- package/dist/src/domain/curves/ConstantProductCurve.js.map +0 -1
- package/dist/src/domain/curves/ConstantProductCurveV2.d.ts +0 -6
- package/dist/src/domain/curves/ConstantProductCurveV2.js +0 -32
- package/dist/src/domain/curves/ConstantProductCurveV2.js.map +0 -1
- package/dist/src/domain/curves/FlatCurveV1.d.ts +0 -14
- package/dist/src/domain/curves/FlatCurveV1.js +0 -60
- package/dist/src/domain/curves/FlatCurveV1.js.map +0 -1
- package/dist/src/domain/curves/tests/BaseConstantProductCurveV1.spec.d.ts +0 -1
- package/dist/src/domain/curves/tests/BaseConstantProductCurveV1.spec.js +0 -56
- package/dist/src/domain/curves/tests/BaseConstantProductCurveV1.spec.js.map +0 -1
- package/dist/src/domain/curves/tests/FlatCurveV1.spec.d.ts +0 -1
- package/dist/src/domain/curves/tests/FlatCurveV1.spec.js +0 -130
- package/dist/src/domain/curves/tests/FlatCurveV1.spec.js.map +0 -1
- package/dist/src/domain/curves/typeUtils.d.ts +0 -3
- package/dist/src/domain/curves/typeUtils.js +0 -24
- package/dist/src/domain/curves/typeUtils.js.map +0 -1
- package/dist/src/domain/curves/utils.d.ts +0 -3
- package/dist/src/domain/curves/utils.js +0 -16
- package/dist/src/domain/curves/utils.js.map +0 -1
- package/dist/src/domain/model/airlock/entities/TotalClaimedResponse.entity.d.ts +0 -4
- package/dist/src/domain/model/airlock/entities/TotalClaimedResponse.entity.js +0 -8
- package/dist/src/domain/model/airlock/entities/TotalClaimedResponse.entity.js.map +0 -1
- package/dist/src/domain/model/lpLockDetails/dtos/AddAllocation.dto.d.ts +0 -7
- package/dist/src/domain/model/lpLockDetails/dtos/AddAllocation.dto.js.map +0 -1
- package/dist/src/domain/model/lpLockDetails/index.d.ts +0 -1
- package/dist/src/domain/model/lpLockDetails/index.js.map +0 -1
|
@@ -11,5 +11,6 @@ var EvmProtocolVersion;
|
|
|
11
11
|
(function (EvmProtocolVersion) {
|
|
12
12
|
EvmProtocolVersion["V1"] = "V1";
|
|
13
13
|
EvmProtocolVersion["V1_1"] = "V1_1";
|
|
14
|
+
EvmProtocolVersion["V1_2"] = "V1_2";
|
|
14
15
|
})(EvmProtocolVersion = exports.EvmProtocolVersion || (exports.EvmProtocolVersion = {}));
|
|
15
16
|
//# sourceMappingURL=ProtocolVersion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProtocolVersion.js","sourceRoot":"","sources":["../../../../src/domain/constants/ProtocolVersion.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,4BAAS,CAAA;AACX,CAAC,EAJW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAI1B;AAED,IAAY,
|
|
1
|
+
{"version":3,"file":"ProtocolVersion.js","sourceRoot":"","sources":["../../../../src/domain/constants/ProtocolVersion.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,4BAAS,CAAA;AACX,CAAC,EAJW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAI1B;AAED,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,+BAAS,CAAA;IACT,mCAAa,CAAA;IACb,mCAAa,CAAA;AACf,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B"}
|
|
@@ -9,6 +9,7 @@ var BlockchainSymbol;
|
|
|
9
9
|
BlockchainSymbol["BITCOIN"] = "BITCOIN";
|
|
10
10
|
BlockchainSymbol["BASE"] = "BASE";
|
|
11
11
|
BlockchainSymbol["UNICHAIN"] = "UNICHAIN";
|
|
12
|
+
BlockchainSymbol["SONIC"] = "SONIC";
|
|
12
13
|
})(BlockchainSymbol = exports.BlockchainSymbol || (exports.BlockchainSymbol = {}));
|
|
13
14
|
var BlockchainEngineType;
|
|
14
15
|
(function (BlockchainEngineType) {
|
|
@@ -22,8 +23,8 @@ exports.blockchainEngineMap = new Map([
|
|
|
22
23
|
[BlockchainSymbol.POLYGON, BlockchainEngineType.EVM],
|
|
23
24
|
[BlockchainSymbol.BASE, BlockchainEngineType.EVM],
|
|
24
25
|
[BlockchainSymbol.BITCOIN, BlockchainEngineType.BTC],
|
|
25
|
-
[BlockchainSymbol.BASE, BlockchainEngineType.EVM],
|
|
26
26
|
[BlockchainSymbol.UNICHAIN, BlockchainEngineType.EVM],
|
|
27
|
+
[BlockchainSymbol.SONIC, BlockchainEngineType.EVM],
|
|
27
28
|
]);
|
|
28
29
|
function getDefaultBlockChainName() {
|
|
29
30
|
return BlockchainSymbol.SOL;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockchain.js","sourceRoot":"","sources":["../../../../src/domain/constants/blockchain.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"blockchain.js","sourceRoot":"","sources":["../../../../src/domain/constants/blockchain.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAQX;AARD,WAAY,gBAAgB;IAC1B,+BAAW,CAAA;IACX,+BAAW,CAAA;IACX,uCAAmB,CAAA;IACnB,uCAAmB,CAAA;IACnB,iCAAa,CAAA;IACb,yCAAqB,CAAA;IACrB,mCAAe,CAAA;AACjB,CAAC,EARW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAQ3B;AAED,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC9B,mCAAW,CAAA;IACX,mCAAW,CAAA;IACX,mCAAW,CAAA;AACb,CAAC,EAJW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAI/B;AAEY,QAAA,mBAAmB,GAAG,IAAI,GAAG,CAGxC;IACA,CAAC,gBAAgB,CAAC,GAAG,EAAE,oBAAoB,CAAC,GAAG,CAAC;IAChD,CAAC,gBAAgB,CAAC,GAAG,EAAE,oBAAoB,CAAC,GAAG,CAAC;IAChD,CAAC,gBAAgB,CAAC,OAAO,EAAE,oBAAoB,CAAC,GAAG,CAAC;IACpD,CAAC,gBAAgB,CAAC,IAAI,EAAE,oBAAoB,CAAC,GAAG,CAAC;IACjD,CAAC,gBAAgB,CAAC,OAAO,EAAE,oBAAoB,CAAC,GAAG,CAAC;IACpD,CAAC,gBAAgB,CAAC,QAAQ,EAAE,oBAAoB,CAAC,GAAG,CAAC;IACrD,CAAC,gBAAgB,CAAC,KAAK,EAAE,oBAAoB,CAAC,GAAG,CAAC;CACnD,CAAC,CAAC;AAEH,SAAgB,wBAAwB;IACtC,OAAO,gBAAgB,CAAC,GAAG,CAAC;AAC9B,CAAC;AAFD,4DAEC"}
|
|
@@ -9,5 +9,7 @@ var ChainId;
|
|
|
9
9
|
ChainId[ChainId["UNICHAIN"] = 10000] = "UNICHAIN";
|
|
10
10
|
ChainId[ChainId["ETHEREUM"] = 1] = "ETHEREUM";
|
|
11
11
|
ChainId[ChainId["ETHEREUM_SEPOLIA"] = 11155111] = "ETHEREUM_SEPOLIA";
|
|
12
|
+
ChainId[ChainId["SONIC"] = 146] = "SONIC";
|
|
13
|
+
ChainId[ChainId["SONIC_BLAZE"] = 57054] = "SONIC_BLAZE";
|
|
12
14
|
})(ChainId = exports.ChainId || (exports.ChainId = {}));
|
|
13
15
|
//# sourceMappingURL=chainId.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chainId.js","sourceRoot":"","sources":["../../../../src/domain/constants/chainId.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"chainId.js","sourceRoot":"","sources":["../../../../src/domain/constants/chainId.ts"],"names":[],"mappings":";;;AAAA,IAAY,OASX;AATD,WAAY,OAAO;IACjB,yDAAoB,CAAA;IACpB,wCAAW,CAAA;IACX,gEAAuB,CAAA;IACvB,iDAAgB,CAAA;IAChB,6CAAY,CAAA;IACZ,oEAA2B,CAAA;IAC3B,yCAAW,CAAA;IACX,uDAAmB,CAAA;AACrB,CAAC,EATW,OAAO,GAAP,eAAO,KAAP,eAAO,QASlB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ConfigPartner = void 0;
|
|
4
|
+
var ConfigPartner;
|
|
5
|
+
(function (ConfigPartner) {
|
|
6
|
+
ConfigPartner["DEXSCREENER"] = "DEX";
|
|
7
|
+
ConfigPartner["DEXCHECK"] = "DEXCHECK";
|
|
8
|
+
})(ConfigPartner = exports.ConfigPartner || (exports.ConfigPartner = {}));
|
|
9
|
+
//# sourceMappingURL=configPartner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configPartner.js","sourceRoot":"","sources":["../../../../src/domain/constants/configPartner.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,sCAAqB,CAAA;AACvB,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FeeFeature = void 0;
|
|
4
|
+
var FeeFeature;
|
|
5
|
+
(function (FeeFeature) {
|
|
6
|
+
FeeFeature["RAYDIUM"] = "RAYDIUM";
|
|
7
|
+
FeeFeature["METEORA"] = "METEORA";
|
|
8
|
+
FeeFeature["UNISWAP"] = "UNISWAP";
|
|
9
|
+
})(FeeFeature = exports.FeeFeature || (exports.FeeFeature = {}));
|
|
10
|
+
//# sourceMappingURL=feeFeature.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feeFeature.js","sourceRoot":"","sources":["../../../../src/domain/constants/feeFeature.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAIX;AAJD,WAAY,UAAU;IACpB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;AACrB,CAAC,EAJW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAIrB"}
|
|
@@ -38,4 +38,5 @@ __exportStar(require("./meteoraFees"), exports);
|
|
|
38
38
|
__exportStar(require("./solanaNetwork"), exports);
|
|
39
39
|
__exportStar(require("./chainId"), exports);
|
|
40
40
|
__exportStar(require("./airlockEventState"), exports);
|
|
41
|
+
__exportStar(require("./feeFeature"), exports);
|
|
41
42
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,2DAAyC;AACzC,6CAA2B;AAC3B,8CAA4B;AAC5B,mDAAiC;AACjC,8CAA4B;AAC5B,mDAAiC;AACjC,6CAA2B;AAC3B,2CAAyB;AACzB,4DAA0C;AAC1C,0CAAwB;AACxB,oDAAkC;AAClC,6CAA2B;AAC3B,wCAAsB;AACtB,4CAA0B;AAC1B,mDAAiC;AACjC,iDAA+B;AAC/B,8CAA4B;AAC5B,oDAAkC;AAClC,oDAAkC;AAClC,gDAA8B;AAC9B,kDAAgC;AAChC,4CAA0B;AAC1B,sDAAoC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,2DAAyC;AACzC,6CAA2B;AAC3B,8CAA4B;AAC5B,mDAAiC;AACjC,8CAA4B;AAC5B,mDAAiC;AACjC,6CAA2B;AAC3B,2CAAyB;AACzB,4DAA0C;AAC1C,0CAAwB;AACxB,oDAAkC;AAClC,6CAA2B;AAC3B,wCAAsB;AACtB,4CAA0B;AAC1B,mDAAiC;AACjC,iDAA+B;AAC/B,8CAA4B;AAC5B,oDAAkC;AAClC,oDAAkC;AAClC,gDAA8B;AAC9B,kDAAgC;AAChC,4CAA0B;AAC1B,sDAAoC;AACpC,+CAA6B"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const PARTNER_FEE_PERCENTAGE =
|
|
2
|
-
export declare const HELIO_FEE_PERCENTAGE =
|
|
1
|
+
export declare const PARTNER_FEE_PERCENTAGE = 60;
|
|
2
|
+
export declare const HELIO_FEE_PERCENTAGE = 40;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.HELIO_FEE_PERCENTAGE = exports.PARTNER_FEE_PERCENTAGE = void 0;
|
|
4
|
-
exports.PARTNER_FEE_PERCENTAGE =
|
|
5
|
-
exports.HELIO_FEE_PERCENTAGE =
|
|
4
|
+
exports.PARTNER_FEE_PERCENTAGE = 60;
|
|
5
|
+
exports.HELIO_FEE_PERCENTAGE = 40;
|
|
6
6
|
//# sourceMappingURL=meteoraFees.js.map
|
|
@@ -16,6 +16,8 @@ const getDefaultMigrationDex = (symbol) => {
|
|
|
16
16
|
return MigrationDex.UNISWAP;
|
|
17
17
|
case blockchain_1.BlockchainSymbol.UNICHAIN:
|
|
18
18
|
return MigrationDex.UNISWAP;
|
|
19
|
+
case blockchain_1.BlockchainSymbol.SONIC:
|
|
20
|
+
return MigrationDex.UNISWAP;
|
|
19
21
|
default:
|
|
20
22
|
throw new Error(`Symbol ${symbol} is not supported`);
|
|
21
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migrationDex.js","sourceRoot":"","sources":["../../../../src/domain/constants/migrationDex.ts"],"names":[],"mappings":";;;AAAA,6CAAgD;AAEhD,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,mCAAmB,CAAA;IACnB,mCAAmB,CAAA;AACrB,CAAC,EAJW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAIvB;AAEM,MAAM,sBAAsB,GAAG,CAAC,MAAc,EAAgB,EAAE;IACrE,QAAQ,MAAM,EAAE;QACd,KAAK,6BAAgB,CAAC,GAAG;YACvB,OAAO,YAAY,CAAC,OAAO,CAAC;QAC9B,KAAK,6BAAgB,CAAC,IAAI;YACxB,OAAO,YAAY,CAAC,OAAO,CAAC;QAC9B,KAAK,6BAAgB,CAAC,QAAQ;YAC5B,OAAO,YAAY,CAAC,OAAO,CAAC;QAC9B;YACE,MAAM,IAAI,KAAK,CAAC,UAAU,MAAM,mBAAmB,CAAC,CAAC;KACxD;AACH,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"migrationDex.js","sourceRoot":"","sources":["../../../../src/domain/constants/migrationDex.ts"],"names":[],"mappings":";;;AAAA,6CAAgD;AAEhD,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,mCAAmB,CAAA;IACnB,mCAAmB,CAAA;AACrB,CAAC,EAJW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAIvB;AAEM,MAAM,sBAAsB,GAAG,CAAC,MAAc,EAAgB,EAAE;IACrE,QAAQ,MAAM,EAAE;QACd,KAAK,6BAAgB,CAAC,GAAG;YACvB,OAAO,YAAY,CAAC,OAAO,CAAC;QAC9B,KAAK,6BAAgB,CAAC,IAAI;YACxB,OAAO,YAAY,CAAC,OAAO,CAAC;QAC9B,KAAK,6BAAgB,CAAC,QAAQ;YAC5B,OAAO,YAAY,CAAC,OAAO,CAAC;QAC9B,KAAK,6BAAgB,CAAC,KAAK;YACzB,OAAO,YAAY,CAAC,OAAO,CAAC;QAC9B;YACE,MAAM,IAAI,KAAK,CAAC,UAAU,MAAM,mBAAmB,CAAC,CAAC;KACxD;AACH,CAAC,CAAC;AAbW,QAAA,sBAAsB,0BAajC"}
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Partner = void 0;
|
|
4
4
|
var Partner;
|
|
5
5
|
(function (Partner) {
|
|
6
|
-
Partner["DEXSCREENER"] = "
|
|
6
|
+
Partner["DEXSCREENER"] = "DEX";
|
|
7
|
+
Partner["DEXCHECK"] = "DEXCHECK";
|
|
7
8
|
})(Partner = exports.Partner || (exports.Partner = {}));
|
|
8
9
|
//# sourceMappingURL=partner.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"partner.js","sourceRoot":"","sources":["../../../../src/domain/constants/partner.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"partner.js","sourceRoot":"","sources":["../../../../src/domain/constants/partner.ts"],"names":[],"mappings":";;;AAAA,IAAY,OAGX;AAHD,WAAY,OAAO;IACjB,8BAAmB,CAAA;IACnB,gCAAqB,CAAA;AACvB,CAAC,EAHW,OAAO,GAAP,eAAO,KAAP,eAAO,QAGlB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokenType.js","sourceRoot":"","sources":["../../../../src/domain/constants/tokenType.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"tokenType.js","sourceRoot":"","sources":["../../../../src/domain/constants/tokenType.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,gDAAmC,CAAA;IACnC,8BAAiB,CAAA;AACnB,CAAC,EAJW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAIpB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
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.BoostPriorityDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const validations_1 = require("../../../validations");
|
|
16
|
+
class BoostPriorityDto {
|
|
17
|
+
}
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
(0, class_validator_1.Validate)(validations_1.MinBigInt),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], BoostPriorityDto.prototype, "tipAmount", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsBoolean)(),
|
|
26
|
+
(0, class_validator_1.IsOptional)(),
|
|
27
|
+
__metadata("design:type", Boolean)
|
|
28
|
+
], BoostPriorityDto.prototype, "frontRunningProtection", void 0);
|
|
29
|
+
exports.BoostPriorityDto = BoostPriorityDto;
|
|
30
|
+
//# sourceMappingURL=BoostPriority.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BoostPriority.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/boost/dtos/BoostPriority.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAA8E;AAC9E,sDAAiD;AAEjD,MAAa,gBAAgB;CAS5B;AARC;IAAC,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;;mDACF;AAElB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gEACoB;AARnC,4CASC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
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.BoostSubmitDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const BoostPriority_dto_1 = require("./BoostPriority.dto");
|
|
16
|
+
class BoostSubmitDto {
|
|
17
|
+
}
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], BoostSubmitDto.prototype, "transaction", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_transformer_1.Type)(() => BoostPriority_dto_1.BoostPriorityDto),
|
|
25
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
+
(0, class_validator_1.ValidateNested)(),
|
|
27
|
+
__metadata("design:type", BoostPriority_dto_1.BoostPriorityDto)
|
|
28
|
+
], BoostSubmitDto.prototype, "priority", void 0);
|
|
29
|
+
exports.BoostSubmitDto = BoostSubmitDto;
|
|
30
|
+
//# sourceMappingURL=BoostSubmit.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BoostSubmit.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/boost/dtos/BoostSubmit.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AACvE,yDAAyC;AACzC,2DAAuD;AAEvD,MAAa,cAAc;CAS1B;AARC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACO;AAEpB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;IAC5B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACP,oCAAgB;gDAAC;AAR7B,wCASC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./BoostSubmit.dto"), exports);
|
|
18
|
+
__exportStar(require("./BoostPriority.dto"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/boost/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,sDAAoC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BoostSubmitResponse = void 0;
|
|
4
|
+
const entity_1 = require("../../entity");
|
|
5
|
+
class BoostSubmitResponse extends entity_1.Entity {
|
|
6
|
+
}
|
|
7
|
+
exports.BoostSubmitResponse = BoostSubmitResponse;
|
|
8
|
+
//# sourceMappingURL=BoostSubmitResponse.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BoostSubmitResponse.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/boost/entities/BoostSubmitResponse.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,mBAAoB,SAAQ,eAAM;CAI9C;AAJD,kDAIC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BoostTipWalletsResponse = void 0;
|
|
4
|
+
const entity_1 = require("../../entity");
|
|
5
|
+
class BoostTipWalletsResponse extends entity_1.Entity {
|
|
6
|
+
}
|
|
7
|
+
exports.BoostTipWalletsResponse = BoostTipWalletsResponse;
|
|
8
|
+
//# sourceMappingURL=BoostTipWalletsResponse.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BoostTipWalletsResponse.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/boost/entities/BoostTipWalletsResponse.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,uBAAwB,SAAQ,eAAM;CAElD;AAFD,0DAEC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./BoostSubmitResponse.entity"), exports);
|
|
18
|
+
__exportStar(require("./BoostTipWalletsResponse.entity"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/boost/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA6C;AAC7C,mEAAiD"}
|
|
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./dtos
|
|
17
|
+
__exportStar(require("./dtos"), exports);
|
|
18
|
+
__exportStar(require("./entities"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/boost/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B"}
|
|
@@ -39,4 +39,6 @@ __exportStar(require("./error"), exports);
|
|
|
39
39
|
__exportStar(require("./uniswap"), exports);
|
|
40
40
|
__exportStar(require("./prioirty-router"), exports);
|
|
41
41
|
__exportStar(require("./mint-addresses"), exports);
|
|
42
|
+
__exportStar(require("./pumpfun-swap"), exports);
|
|
43
|
+
__exportStar(require("./boost"), exports);
|
|
42
44
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/model/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,+CAA6B;AAC7B,sDAAoC;AACpC,wCAAsB;AACtB,6CAA2B;AAC3B,0CAAwB;AACxB,4CAA0B;AAC1B,yCAAuB;AACvB,yCAAuB;AACvB,+CAA6B;AAC7B,uCAAqB;AACrB,qDAAmC;AACnC,iDAA+B;AAC/B,sDAAoC;AACpC,0DAAwC;AACxC,iDAA+B;AAC/B,+CAA6B;AAC7B,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,4CAA0B;AAC1B,0CAAwB;AACxB,4CAA0B;AAC1B,oDAAkC;AAClC,mDAAiC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/model/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,+CAA6B;AAC7B,sDAAoC;AACpC,wCAAsB;AACtB,6CAA2B;AAC3B,0CAAwB;AACxB,4CAA0B;AAC1B,yCAAuB;AACvB,yCAAuB;AACvB,+CAA6B;AAC7B,uCAAqB;AACrB,qDAAmC;AACnC,iDAA+B;AAC/B,sDAAoC;AACpC,0DAAwC;AACxC,iDAA+B;AAC/B,+CAA6B;AAC7B,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,4CAA0B;AAC1B,0CAAwB;AACxB,4CAA0B;AAC1B,oDAAkC;AAClC,mDAAiC;AACjC,iDAA+B;AAC/B,0CAAwB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TxPriorityDto } from '../../tx';
|
|
2
|
+
export declare class PumpFunSwapPrepareDto {
|
|
3
|
+
sender: string;
|
|
4
|
+
mintFrom: string;
|
|
5
|
+
mintTo: string;
|
|
6
|
+
amountIn: string;
|
|
7
|
+
feeAmount: string;
|
|
8
|
+
feeMintAddress: string;
|
|
9
|
+
priorityFee?: number;
|
|
10
|
+
priority?: TxPriorityDto;
|
|
11
|
+
amountOut: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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.PumpFunSwapPrepareDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const validations_1 = require("../../../validations");
|
|
16
|
+
const tx_1 = require("../../tx");
|
|
17
|
+
class PumpFunSwapPrepareDto {
|
|
18
|
+
}
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_validator_1.IsString)(),
|
|
21
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], PumpFunSwapPrepareDto.prototype, "sender", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsString)(),
|
|
26
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], PumpFunSwapPrepareDto.prototype, "mintFrom", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_validator_1.IsString)(),
|
|
31
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], PumpFunSwapPrepareDto.prototype, "mintTo", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
36
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
37
|
+
(0, class_validator_1.Validate)(validations_1.MinBigInt),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], PumpFunSwapPrepareDto.prototype, "amountIn", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
42
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], PumpFunSwapPrepareDto.prototype, "feeAmount", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsString)(),
|
|
47
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], PumpFunSwapPrepareDto.prototype, "feeMintAddress", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_validator_1.IsNumber)(),
|
|
52
|
+
(0, class_validator_1.IsOptional)(),
|
|
53
|
+
__metadata("design:type", Number)
|
|
54
|
+
], PumpFunSwapPrepareDto.prototype, "priorityFee", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, class_transformer_1.Type)(() => tx_1.TxPriorityDto),
|
|
57
|
+
(0, class_validator_1.ValidateNested)(),
|
|
58
|
+
(0, class_validator_1.IsOptional)(),
|
|
59
|
+
__metadata("design:type", tx_1.TxPriorityDto)
|
|
60
|
+
], PumpFunSwapPrepareDto.prototype, "priority", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
63
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
64
|
+
(0, class_validator_1.Validate)(validations_1.MinBigInt),
|
|
65
|
+
__metadata("design:type", String)
|
|
66
|
+
], PumpFunSwapPrepareDto.prototype, "amountOut", void 0);
|
|
67
|
+
exports.PumpFunSwapPrepareDto = PumpFunSwapPrepareDto;
|
|
68
|
+
//# sourceMappingURL=PumpFunSwapPrepare.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PumpFunSwapPrepare.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/pumpfun-swap/dtos/PumpFunSwapPrepare.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAoD;AACpD,qDAOyB;AACzB,sDAAiD;AACjD,iCAAyC;AAEzC,MAAa,qBAAqB;CAuCjC;AAtCC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACE;AAEf;IAAC,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;;uDACH;AAEjB;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvC,IAAA,4BAAU,GAAE;;wDACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACU;AAEvB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACQ;AAErB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAa,CAAC;IACzB,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACF,kBAAa;uDAAC;AAEzB;IAAC,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;;wDACF;AAtCpB,sDAuCC"}
|
|
@@ -9,30 +9,19 @@ 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.
|
|
12
|
+
exports.PumpFunSwapSubmitDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
|
|
15
|
-
class AddAllocationDto {
|
|
14
|
+
class PumpFunSwapSubmitDto {
|
|
16
15
|
}
|
|
17
16
|
__decorate([
|
|
18
17
|
(0, class_validator_1.IsString)(),
|
|
19
|
-
(0, class_validator_1.IsEnum)(constants_1.LpTokenAllocationState),
|
|
20
18
|
(0, class_validator_1.IsNotEmpty)(),
|
|
21
19
|
__metadata("design:type", String)
|
|
22
|
-
],
|
|
20
|
+
], PumpFunSwapSubmitDto.prototype, "signedTransaction", void 0);
|
|
23
21
|
__decorate([
|
|
24
22
|
(0, class_validator_1.IsString)(),
|
|
25
23
|
(0, class_validator_1.IsNotEmpty)(),
|
|
26
24
|
__metadata("design:type", String)
|
|
27
|
-
],
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], AddAllocationDto.prototype, "txHash", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
35
|
-
__metadata("design:type", BigInt)
|
|
36
|
-
], AddAllocationDto.prototype, "allocationAmount", void 0);
|
|
37
|
-
exports.AddAllocationDto = AddAllocationDto;
|
|
38
|
-
//# sourceMappingURL=AddAllocation.dto.js.map
|
|
25
|
+
], PumpFunSwapSubmitDto.prototype, "token", void 0);
|
|
26
|
+
exports.PumpFunSwapSubmitDto = PumpFunSwapSubmitDto;
|
|
27
|
+
//# sourceMappingURL=PumpFunSwapSubmit.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PumpFunSwapSubmit.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/pumpfun-swap/dtos/PumpFunSwapSubmit.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,oBAAoB;CAQhC;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+DACa;AAE1B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACC;AAPhB,oDAQC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./PumpFunSwapPrepare.dto"), exports);
|
|
18
|
+
__exportStar(require("./PumpFunSwapSubmit.dto"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|