@heliofi/launchpad-common 1.7.1 → 1.7.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.
Files changed (46) hide show
  1. package/dist/src/domain/constants/flatCurveDefaults.d.ts +1 -0
  2. package/dist/src/domain/constants/flatCurveDefaults.js +2 -1
  3. package/dist/src/domain/constants/flatCurveDefaults.js.map +1 -1
  4. package/dist/src/domain/constants/isMoonit.d.ts +1 -0
  5. package/dist/src/domain/constants/isMoonit.js +6 -0
  6. package/dist/src/domain/constants/isMoonit.js.map +1 -0
  7. package/dist/src/domain/model/curve/dtos/CreateCurve.dto.d.ts +1 -0
  8. package/dist/src/domain/model/curve/dtos/CreateCurve.dto.js +4 -0
  9. package/dist/src/domain/model/curve/dtos/CreateCurve.dto.js.map +1 -1
  10. package/dist/src/domain/model/curve/entities/Curve.entity.d.ts +1 -0
  11. package/dist/src/domain/model/curve/entities/Curve.entity.js.map +1 -1
  12. package/dist/src/domain/model/token-pair/entities/TokenPairWithMetadata.entity.d.ts +1 -0
  13. package/dist/src/domain/model/token-pair/entities/TokenPairWithMetadata.entity.js.map +1 -1
  14. package/dist/src/domain/model/token-pair/entities/TokenPairWithMetadataAndTradingMetrics.entity.d.ts +8 -0
  15. package/dist/src/domain/model/token-pair/entities/TokenPairWithMetadataAndTradingMetrics.entity.js +8 -0
  16. package/dist/src/domain/model/token-pair/entities/TokenPairWithMetadataAndTradingMetrics.entity.js.map +1 -0
  17. package/dist/src/domain/model/trading-data/entities/TradingTokenSummaryData.d.ts +1 -0
  18. package/dist/src/domain/model/trading-data/entities/TradingTokenSummaryData.js.map +1 -1
  19. package/dist/src/domain/model/wallet-points/constants.d.ts +21 -0
  20. package/dist/src/domain/model/wallet-points/constants.js +37 -0
  21. package/dist/src/domain/model/wallet-points/constants.js.map +1 -0
  22. package/dist/src/domain/model/wallet-points/dtos/TxRewardsRequest.dto.d.ts +8 -0
  23. package/dist/src/domain/model/{hero-token/dtos/HeroTokenQuery.dto.js → wallet-points/dtos/TxRewardsRequest.dto.js} +25 -9
  24. package/dist/src/domain/model/wallet-points/dtos/TxRewardsRequest.dto.js.map +1 -0
  25. package/dist/src/domain/model/wallet-points/entities/Multiplier.entity.d.ts +5 -0
  26. package/dist/src/domain/model/wallet-points/entities/Multiplier.entity.js +7 -0
  27. package/dist/src/domain/model/wallet-points/entities/Multiplier.entity.js.map +1 -0
  28. package/dist/src/domain/model/wallet-points/entities/RewardBadge.entity.d.ts +7 -0
  29. package/dist/src/domain/model/wallet-points/entities/RewardBadge.entity.js +8 -0
  30. package/dist/src/domain/model/wallet-points/entities/RewardBadge.entity.js.map +1 -0
  31. package/dist/src/domain/model/wallet-points/entities/TxRewardsResponse.entity.d.ts +7 -0
  32. package/dist/src/domain/model/wallet-points/entities/TxRewardsResponse.entity.js +8 -0
  33. package/dist/src/domain/model/wallet-points/entities/TxRewardsResponse.entity.js.map +1 -0
  34. package/dist/src/domain/model/wallet-points/entities/WalletRewards.entity.d.ts +8 -0
  35. package/dist/src/domain/model/wallet-points/entities/WalletRewards.entity.js +7 -0
  36. package/dist/src/domain/model/wallet-points/entities/WalletRewards.entity.js.map +1 -0
  37. package/dist/src/domain/model/wallet-points/index.d.ts +6 -2
  38. package/dist/src/domain/model/wallet-points/index.js +6 -2
  39. package/dist/src/domain/model/wallet-points/index.js.map +1 -1
  40. package/dist/tsconfig.tsbuildinfo +1 -1
  41. package/package.json +2 -2
  42. package/dist/src/domain/model/hero-token/dtos/HeroTokenQuery.dto.d.ts +0 -4
  43. package/dist/src/domain/model/hero-token/dtos/HeroTokenQuery.dto.js.map +0 -1
  44. package/dist/src/domain/model/hero-token/dtos/HeroTopTokensQuery.dto.d.ts +0 -4
  45. package/dist/src/domain/model/hero-token/dtos/HeroTopTokensQuery.dto.js +0 -23
  46. package/dist/src/domain/model/hero-token/dtos/HeroTopTokensQuery.dto.js.map +0 -1
@@ -1,2 +1,3 @@
1
1
  export declare const DEFAULT_COLLATERAL_COLLECTED: bigint;
2
2
  export declare const DEFAULT_PRICE_INCREASE = 180;
3
+ export declare const DEFAULT_ANTI_SNIPE_BUY_LIMIT: bigint;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DEFAULT_PRICE_INCREASE = exports.DEFAULT_COLLATERAL_COLLECTED = void 0;
3
+ exports.DEFAULT_ANTI_SNIPE_BUY_LIMIT = exports.DEFAULT_PRICE_INCREASE = exports.DEFAULT_COLLATERAL_COLLECTED = void 0;
4
4
  exports.DEFAULT_COLLATERAL_COLLECTED = 200n * 10n ** 9n;
5
5
  exports.DEFAULT_PRICE_INCREASE = 180;
6
+ exports.DEFAULT_ANTI_SNIPE_BUY_LIMIT = 5n * 10n ** 6n;
6
7
  //# sourceMappingURL=flatCurveDefaults.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"flatCurveDefaults.js","sourceRoot":"","sources":["../../../../src/domain/constants/flatCurveDefaults.ts"],"names":[],"mappings":";;;AAAa,QAAA,4BAA4B,GAAG,IAAI,GAAG,GAAG,IAAI,EAAE,CAAC;AAChD,QAAA,sBAAsB,GAAG,GAAG,CAAC"}
1
+ {"version":3,"file":"flatCurveDefaults.js","sourceRoot":"","sources":["../../../../src/domain/constants/flatCurveDefaults.ts"],"names":[],"mappings":";;;AAAa,QAAA,4BAA4B,GAAG,IAAI,GAAG,GAAG,IAAI,EAAE,CAAC;AAChD,QAAA,sBAAsB,GAAG,GAAG,CAAC;AAC7B,QAAA,4BAA4B,GAAG,EAAE,GAAG,GAAG,IAAI,EAAE,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const isMoonitToken: (tokenPair: Date) => boolean;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isMoonitToken = void 0;
4
+ const isMoonitToken = (tokenPair) => tokenPair > new Date('2025-04-03T16:00:00Z');
5
+ exports.isMoonitToken = isMoonitToken;
6
+ //# sourceMappingURL=isMoonit.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isMoonit.js","sourceRoot":"","sources":["../../../../src/domain/constants/isMoonit.ts"],"names":[],"mappings":";;;AAAO,MAAM,aAAa,GAAG,CAAC,SAAe,EAAW,EAAE,CACxD,SAAS,GAAG,IAAI,IAAI,CAAC,sBAAsB,CAAC,CAAC;AADlC,QAAA,aAAa,iBACqB"}
@@ -13,4 +13,5 @@ export declare class CreateCurveDto {
13
13
  coefB: bigint;
14
14
  priceIncrease?: number;
15
15
  collateralCollected?: bigint;
16
+ maxAntiSnipeBuyLimit?: bigint;
16
17
  }
@@ -74,5 +74,9 @@ __decorate([
74
74
  (0, class_validator_1.IsOptional)(),
75
75
  __metadata("design:type", BigInt)
76
76
  ], CreateCurveDto.prototype, "collateralCollected", void 0);
77
+ __decorate([
78
+ (0, class_validator_1.IsOptional)(),
79
+ __metadata("design:type", BigInt)
80
+ ], CreateCurveDto.prototype, "maxAntiSnipeBuyLimit", void 0);
77
81
  exports.CreateCurveDto = CreateCurveDto;
78
82
  //# sourceMappingURL=CreateCurve.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateCurve.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/curve/dtos/CreateCurve.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,kDAA+C;AAE/C,MAAa,cAAc;CA+C1B;AA9CC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAM,EAAC,qBAAS,CAAC;IACjB,IAAA,4BAAU,GAAE;;4CACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACE;AAEf;IAAC,IAAA,4BAAU,GAAE;;mDACO;AAEpB;IAAC,IAAA,4BAAU,GAAE;;gEACoB;AAEjC;IAAC,IAAA,4BAAU,GAAE;;gEACoB;AAEjC;IAAC,IAAA,4BAAU,GAAE;;0DACc;AAE3B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACe;AAE5B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACgB;AAE7B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACG;AAEhB;IAAC,IAAA,4BAAU,GAAE;;6CACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACU;AAEvB;IAAC,IAAA,4BAAU,GAAE;;2DACgB;AA9C/B,wCA+CC"}
1
+ {"version":3,"file":"CreateCurve.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/curve/dtos/CreateCurve.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,kDAA+C;AAE/C,MAAa,cAAc;CAkD1B;AAjDC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAM,EAAC,qBAAS,CAAC;IACjB,IAAA,4BAAU,GAAE;;4CACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACE;AAEf;IAAC,IAAA,4BAAU,GAAE;;mDACO;AAEpB;IAAC,IAAA,4BAAU,GAAE;;gEACoB;AAEjC;IAAC,IAAA,4BAAU,GAAE;;gEACoB;AAEjC;IAAC,IAAA,4BAAU,GAAE;;0DACc;AAE3B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACe;AAE5B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACgB;AAE7B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACG;AAEhB;IAAC,IAAA,4BAAU,GAAE;;6CACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACU;AAEvB;IAAC,IAAA,4BAAU,GAAE;;2DACgB;AAE7B;IAAC,IAAA,4BAAU,GAAE;;4DACiB;AAjDhC,wCAkDC"}
@@ -15,4 +15,5 @@ export declare class Curve extends Entity {
15
15
  collateralCurrency: BaseCurrency;
16
16
  priceIncrease?: number;
17
17
  collateralCollected?: bigint;
18
+ maxAntiSnipeBuyLimit?: bigint;
18
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Curve.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/curve/entities/Curve.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,yCAAsC;AAItC,MAAa,KAAM,SAAQ,eAAM;CA8BhC;AA7BC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;0CACpB;AAEpB;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;uDACP;AAEjC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;uDACP;AAEjC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;oCAC1B;AAXhB,sBA8BC"}
1
+ {"version":3,"file":"Curve.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/curve/entities/Curve.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,yCAAsC;AAItC,MAAa,KAAM,SAAQ,eAAM;CAgChC;AA/BC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;0CACpB;AAEpB;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;uDACP;AAEjC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;uDACP;AAEjC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;oCAC1B;AAXhB,sBAgCC"}
@@ -32,4 +32,5 @@ export declare class TokenPairWithMetadata extends Entity {
32
32
  isCTO?: boolean;
33
33
  blockchainSymbol?: BlockchainSymbol;
34
34
  blockchainEngine?: BlockchainEngineType;
35
+ maxAntiSnipeBuyLimit?: string;
35
36
  }
@@ -1 +1 @@
1
- {"version":3,"file":"TokenPairWithMetadata.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/token-pair/entities/TokenPairWithMetadata.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAUtC,MAAa,qBAAsB,SAAQ,eAAM;CA4DhD;AA5DD,sDA4DC"}
1
+ {"version":3,"file":"TokenPairWithMetadata.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/token-pair/entities/TokenPairWithMetadata.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAUtC,MAAa,qBAAsB,SAAQ,eAAM;CA8DhD;AA9DD,sDA8DC"}
@@ -0,0 +1,8 @@
1
+ import { TokenPairWithMetadata } from './TokenPairWithMetadata.entity';
2
+ export declare class TokenPairWithMetadataAndTradingMetricsEntity extends TokenPairWithMetadata {
3
+ volumeCount: number;
4
+ volumeUSD: string;
5
+ commentCount: string;
6
+ progressPercent: number;
7
+ marketcap: string;
8
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TokenPairWithMetadataAndTradingMetricsEntity = void 0;
4
+ const TokenPairWithMetadata_entity_1 = require("./TokenPairWithMetadata.entity");
5
+ class TokenPairWithMetadataAndTradingMetricsEntity extends TokenPairWithMetadata_entity_1.TokenPairWithMetadata {
6
+ }
7
+ exports.TokenPairWithMetadataAndTradingMetricsEntity = TokenPairWithMetadataAndTradingMetricsEntity;
8
+ //# sourceMappingURL=TokenPairWithMetadataAndTradingMetrics.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TokenPairWithMetadataAndTradingMetrics.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/token-pair/entities/TokenPairWithMetadataAndTradingMetrics.entity.ts"],"names":[],"mappings":";;;AAAA,iFAAuE;AAEvE,MAAa,4CAA6C,SAAQ,oDAAqB;CAUtF;AAVD,oGAUC"}
@@ -12,5 +12,6 @@ export declare class TradingTokenSummaryData extends Entity {
12
12
  marketCapChange: number;
13
13
  marketCapChangeBps: number;
14
14
  changePeriod: string;
15
+ liquidity: number;
15
16
  state: TokenPairState;
16
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"TradingTokenSummaryData.js","sourceRoot":"","sources":["../../../../../../src/domain/model/trading-data/entities/TradingTokenSummaryData.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAClC,mDAAuB,CAAA;IACvB,mDAAuB,CAAA;AACzB,CAAC,EAHW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAGnC;AAED,MAAa,uBAAwB,SAAQ,eAAM;CAgBlD;AAhBD,0DAgBC"}
1
+ {"version":3,"file":"TradingTokenSummaryData.js","sourceRoot":"","sources":["../../../../../../src/domain/model/trading-data/entities/TradingTokenSummaryData.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAClC,mDAAuB,CAAA;IACvB,mDAAuB,CAAA;AACzB,CAAC,EAHW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAGnC;AAED,MAAa,uBAAwB,SAAQ,eAAM;CAkBlD;AAlBD,0DAkBC"}
@@ -0,0 +1,21 @@
1
+ export declare enum RewardsTxType {
2
+ TRADE = "TRADE",
3
+ MINT = "MINT",
4
+ GRADUATE = "GRADUATE"
5
+ }
6
+ export declare enum MultiplierType {
7
+ CURRENT = "CURRENT",
8
+ STREAK = "STREAK",
9
+ RANDOM = "RANDOM",
10
+ MINT = "MINT",
11
+ GRADUATE = "GRADUATE"
12
+ }
13
+ export declare const StreakMultipliers: Record<number, number>;
14
+ export declare const getStreakMultiplier: (streakDays: number) => number;
15
+ export declare enum BadgeType {
16
+ MINTER = "MINTER",
17
+ GRADUATOR = "GRADUATOR",
18
+ BRONZE = "BRONZE",
19
+ SILVER = "SILVER",
20
+ GOLD = "GOLD"
21
+ }
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BadgeType = exports.getStreakMultiplier = exports.StreakMultipliers = exports.MultiplierType = exports.RewardsTxType = void 0;
4
+ var RewardsTxType;
5
+ (function (RewardsTxType) {
6
+ RewardsTxType["TRADE"] = "TRADE";
7
+ RewardsTxType["MINT"] = "MINT";
8
+ RewardsTxType["GRADUATE"] = "GRADUATE";
9
+ })(RewardsTxType = exports.RewardsTxType || (exports.RewardsTxType = {}));
10
+ var MultiplierType;
11
+ (function (MultiplierType) {
12
+ MultiplierType["CURRENT"] = "CURRENT";
13
+ MultiplierType["STREAK"] = "STREAK";
14
+ MultiplierType["RANDOM"] = "RANDOM";
15
+ MultiplierType["MINT"] = "MINT";
16
+ MultiplierType["GRADUATE"] = "GRADUATE";
17
+ })(MultiplierType = exports.MultiplierType || (exports.MultiplierType = {}));
18
+ exports.StreakMultipliers = {
19
+ 1: 1.0,
20
+ 2: 1.2,
21
+ 3: 1.5,
22
+ 4: 2.0,
23
+ 5: 3.0,
24
+ };
25
+ const getStreakMultiplier = (streakDays) => {
26
+ return exports.StreakMultipliers[Math.min(streakDays, 5)] || 1.0;
27
+ };
28
+ exports.getStreakMultiplier = getStreakMultiplier;
29
+ var BadgeType;
30
+ (function (BadgeType) {
31
+ BadgeType["MINTER"] = "MINTER";
32
+ BadgeType["GRADUATOR"] = "GRADUATOR";
33
+ BadgeType["BRONZE"] = "BRONZE";
34
+ BadgeType["SILVER"] = "SILVER";
35
+ BadgeType["GOLD"] = "GOLD";
36
+ })(BadgeType = exports.BadgeType || (exports.BadgeType = {}));
37
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../src/domain/model/wallet-points/constants.ts"],"names":[],"mappings":";;;AAEA,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,gCAAe,CAAA;IACf,8BAAa,CAAA;IACb,sCAAqB,CAAA;AACvB,CAAC,EAJW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAIxB;AAED,IAAY,cAMX;AAND,WAAY,cAAc;IACxB,qCAAmB,CAAA;IACnB,mCAAiB,CAAA;IACjB,mCAAiB,CAAA;IACjB,+BAAa,CAAA;IACb,uCAAqB,CAAA;AACvB,CAAC,EANW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAMzB;AAGY,QAAA,iBAAiB,GAA2B;IACvD,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;CACP,CAAC;AAEK,MAAM,mBAAmB,GAAG,CAAC,UAAkB,EAAU,EAAE;IAChE,OAAO,yBAAiB,CAAC,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC;AAC3D,CAAC,CAAC;AAFW,QAAA,mBAAmB,uBAE9B;AAEF,IAAY,SAMX;AAND,WAAY,SAAS;IACnB,8BAAiB,CAAA;IACjB,oCAAuB,CAAA;IACvB,8BAAiB,CAAA;IACjB,8BAAiB,CAAA;IACjB,0BAAa,CAAA;AACf,CAAC,EANW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAMpB"}
@@ -0,0 +1,8 @@
1
+ import { TxType } from '../../../constants';
2
+ export declare class GetTxRewardsRequest {
3
+ transactionType: TxType;
4
+ blockchain: string;
5
+ usdQuoteTokenAmount: string;
6
+ walletAddress: string;
7
+ isSimulated: boolean;
8
+ }
@@ -9,18 +9,34 @@ 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.HeroTokenQueryDto = void 0;
12
+ exports.GetTxRewardsRequest = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const constants_1 = require("../../../constants");
15
- class HeroTokenQueryDto {
16
- constructor() {
17
- this.blockchainSymbol = constants_1.BlockchainSymbol.SOL;
18
- }
15
+ class GetTxRewardsRequest {
19
16
  }
17
+ __decorate([
18
+ (0, class_validator_1.IsEnum)(constants_1.TxType),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], GetTxRewardsRequest.prototype, "transactionType", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsString)(),
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ __metadata("design:type", String)
26
+ ], GetTxRewardsRequest.prototype, "blockchain", void 0);
20
27
  __decorate([
21
28
  (0, class_validator_1.IsString)(),
22
- (0, class_validator_1.IsOptional)(),
29
+ (0, class_validator_1.IsNotEmpty)(),
23
30
  __metadata("design:type", String)
24
- ], HeroTokenQueryDto.prototype, "blockchainSymbol", void 0);
25
- exports.HeroTokenQueryDto = HeroTokenQueryDto;
26
- //# sourceMappingURL=HeroTokenQuery.dto.js.map
31
+ ], GetTxRewardsRequest.prototype, "usdQuoteTokenAmount", void 0);
32
+ __decorate([
33
+ (0, class_validator_1.IsString)(),
34
+ (0, class_validator_1.IsNotEmpty)(),
35
+ __metadata("design:type", String)
36
+ ], GetTxRewardsRequest.prototype, "walletAddress", void 0);
37
+ __decorate([
38
+ (0, class_validator_1.IsBoolean)(),
39
+ __metadata("design:type", Boolean)
40
+ ], GetTxRewardsRequest.prototype, "isSimulated", void 0);
41
+ exports.GetTxRewardsRequest = GetTxRewardsRequest;
42
+ //# sourceMappingURL=TxRewardsRequest.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TxRewardsRequest.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet-points/dtos/TxRewardsRequest.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0E;AAC1E,kDAA4C;AAE5C,MAAa,mBAAmB;CAmB/B;AAlBC;IAAC,IAAA,wBAAM,EAAC,kBAAM,CAAC;IACd,IAAA,4BAAU,GAAE;;4DACW;AAExB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACM;AAEnB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACe;AAE5B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACS;AAEtB;IAAC,IAAA,2BAAS,GAAE;;wDACS;AAlBvB,kDAmBC"}
@@ -0,0 +1,5 @@
1
+ import { MultiplierType } from '../constants';
2
+ export declare class Multiplier {
3
+ multiplierType: MultiplierType;
4
+ value: number;
5
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Multiplier = void 0;
4
+ class Multiplier {
5
+ }
6
+ exports.Multiplier = Multiplier;
7
+ //# sourceMappingURL=Multiplier.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Multiplier.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet-points/entities/Multiplier.entity.ts"],"names":[],"mappings":";;;AAEA,MAAa,UAAU;CAItB;AAJD,gCAIC"}
@@ -0,0 +1,7 @@
1
+ import { Entity } from '../../entity';
2
+ import { BadgeType } from '../constants';
3
+ import { Multiplier } from './Multiplier.entity';
4
+ export declare class RewardBadge extends Entity {
5
+ badgeType: BadgeType;
6
+ multiplier: Multiplier;
7
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RewardBadge = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class RewardBadge extends entity_1.Entity {
6
+ }
7
+ exports.RewardBadge = RewardBadge;
8
+ //# sourceMappingURL=RewardBadge.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RewardBadge.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet-points/entities/RewardBadge.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAItC,MAAa,WAAY,SAAQ,eAAM;CAItC;AAJD,kCAIC"}
@@ -0,0 +1,7 @@
1
+ import { Entity } from '../../entity';
2
+ import { Multiplier } from './Multiplier.entity';
3
+ export declare class TxRewardsResponse extends Entity {
4
+ walletAddress: string;
5
+ points: string;
6
+ multipliers: Multiplier[];
7
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TxRewardsResponse = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class TxRewardsResponse extends entity_1.Entity {
6
+ }
7
+ exports.TxRewardsResponse = TxRewardsResponse;
8
+ //# sourceMappingURL=TxRewardsResponse.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TxRewardsResponse.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet-points/entities/TxRewardsResponse.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,iBAAkB,SAAQ,eAAM;CAM5C;AAND,8CAMC"}
@@ -0,0 +1,8 @@
1
+ import { RewardBadge } from './RewardBadge.entity';
2
+ export declare class WalletRewards {
3
+ walletAddress: string;
4
+ totalPoints: string;
5
+ totalMultiplier: number;
6
+ badges: RewardBadge[];
7
+ streakDays: number;
8
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WalletRewards = void 0;
4
+ class WalletRewards {
5
+ }
6
+ exports.WalletRewards = WalletRewards;
7
+ //# sourceMappingURL=WalletRewards.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WalletRewards.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet-points/entities/WalletRewards.entity.ts"],"names":[],"mappings":";;;AAEA,MAAa,aAAa;CAUzB;AAVD,sCAUC"}
@@ -1,2 +1,6 @@
1
- export * from './entities/WalletPoints.entity';
2
- export * from './dtos/WalletPoints.dto';
1
+ export * from './entities/WalletRewards.entity';
2
+ export * from './entities/Multiplier.entity';
3
+ export * from './entities/TxRewardsResponse.entity';
4
+ export * from './dtos/TxRewardsRequest.dto';
5
+ export * from './entities/RewardBadge.entity';
6
+ export * from './constants';
@@ -14,6 +14,10 @@ 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("./entities/WalletPoints.entity"), exports);
18
- __exportStar(require("./dtos/WalletPoints.dto"), exports);
17
+ __exportStar(require("./entities/WalletRewards.entity"), exports);
18
+ __exportStar(require("./entities/Multiplier.entity"), exports);
19
+ __exportStar(require("./entities/TxRewardsResponse.entity"), exports);
20
+ __exportStar(require("./dtos/TxRewardsRequest.dto"), exports);
21
+ __exportStar(require("./entities/RewardBadge.entity"), exports);
22
+ __exportStar(require("./constants"), exports);
19
23
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/wallet-points/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAA+C;AAC/C,0DAAwC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/wallet-points/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD;AAChD,+DAA6C;AAC7C,sEAAoD;AACpD,8DAA4C;AAC5C,gEAA8C;AAC9C,8CAA4B"}