@reyaxyz/common 0.298.0 → 0.300.0

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.
@@ -250,14 +250,6 @@ export type TokenEntity = {
250
250
  name: TokenName;
251
251
  address: Address;
252
252
  };
253
- export type RawXpDataEntry = {
254
- wallet_address: string;
255
- timestamp_ms: bigint;
256
- total_xp: number | null;
257
- liquidity_xp: number | null;
258
- trading_xp: number | null;
259
- season_number?: number;
260
- };
261
253
  export declare enum LpBalanceGranularity {
262
254
  ONE_MINUTE = 60000,
263
255
  ONE_HOUR = 3600000,
@@ -461,49 +453,10 @@ export type SbtMintedStatusEntity = {
461
453
  isEligible: boolean;
462
454
  hasMinted: boolean;
463
455
  };
464
- export type XPEntity = {
465
- value: number;
466
- valueTimestampMilliseconds: number;
467
- rate: number;
468
- };
469
- export type GetAccountLGEStatusParams = {
470
- address: string;
471
- };
472
- export type GetAccountLGEStatusResult = {
473
- xp: XPEntity;
474
- currentBoost: number;
475
- lgeBoost: number;
476
- tranches: TrancheEntity[];
477
- tranchesOG: TrancheEntity | null;
478
- randomBoost: number;
479
- deposited: number;
480
- currentTVL: number;
481
- currentLiquidity: number;
482
- };
483
- export type GetAccountTradingXPParams = {
484
- address: string;
485
- };
486
- export type GetAccountTradingXPResult = {
487
- xp: XPEntity;
488
- currentBoost: number;
489
- openBase: number;
490
- };
491
456
  export type GetLpTvlResult = {
492
457
  currentTVL: number;
493
458
  currentLiquidity: number;
494
459
  };
495
- export type LeaderboardEntity = {
496
- address: string;
497
- currentBoost: number;
498
- liquidityXp: number;
499
- rank: number;
500
- ranking: number;
501
- tradingXp: number;
502
- referralXp: number;
503
- rebalancingXp: number;
504
- voltzXp: number;
505
- totalXp: XPEntity;
506
- };
507
460
  export type Rank = {
508
461
  rankNumber: number;
509
462
  rankLetter: string;
@@ -513,153 +466,6 @@ export type RankTrading = {
513
466
  rankNumber: number;
514
467
  rankName: string;
515
468
  };
516
- export type LeaderboardEntityV2 = {
517
- address: string;
518
- currentBoost: number;
519
- liquidityXp: number;
520
- rank: Rank;
521
- promotion: 'rankUp' | 'rankDown' | 'stale';
522
- ranking: number;
523
- tradingXp: number;
524
- referralXp: number;
525
- rebalancingXp: number;
526
- voltzXp: number;
527
- totalXp: XPEntity;
528
- weeklyXp: number;
529
- weeklyXpEntity: XPEntity;
530
- };
531
- export type TradingLeaderboardEntity = {
532
- address: string;
533
- currentBoost: number;
534
- rank: RankTrading;
535
- promotion: 'rankUp' | 'rankDown' | 'stale';
536
- ranking: number;
537
- tradingXp: number;
538
- referralXp: number;
539
- totalXp: XPEntity;
540
- weeklyXp: number;
541
- weeklyXpEntity: XPEntity;
542
- volume: number;
543
- weeklyVolume: number;
544
- };
545
- export type UserLeaderboardDataEntity = LeaderboardEntity & {
546
- claimedRank: number;
547
- currentRankPoints: number;
548
- nextRankPoints: number;
549
- nftStatus: 'collected' | 'notCollected' | 'burnt' | 'minted' | null;
550
- };
551
- export type TrancheEntity = {
552
- value: number;
553
- boost: number;
554
- timestampMs: number;
555
- loyaltyBoost: number;
556
- isAutoExchange: boolean;
557
- };
558
- export type UserLeaderboardDataV2Entity = LeaderboardEntityV2 & {
559
- claimedRank: number;
560
- currentRankPoints: number;
561
- nextRankPoints: number;
562
- totalNfts: number;
563
- claimedNfts: number;
564
- nftStatus: 'collected' | 'notCollected' | 'burnt' | 'minted' | null;
565
- timeUntilRankingEvent: number;
566
- openInterest: number;
567
- deposit: number;
568
- lgeBoost: number;
569
- extraBoost: number;
570
- tradingBoost: number;
571
- tranches: TrancheEntity[];
572
- tranchesOG: TrancheEntity | null;
573
- xpPerHour: number;
574
- };
575
- export type GetUserTradingLeaderboardDataResult = {
576
- address: string;
577
- rank: RankTrading;
578
- ranking: number;
579
- tradingXp: number;
580
- referralXp: number;
581
- weeklyXp: number;
582
- promotion: string;
583
- timeUntilRankingEvent: number;
584
- tradingBoost: number;
585
- lotteryXp: number;
586
- weeklyXpEntity: XPEntity;
587
- totalXp: number;
588
- referralRebateFee: number;
589
- volume: number;
590
- weeklyVolume: number;
591
- };
592
- export type GetLeaderboardParams = {
593
- page: number;
594
- perPage: number;
595
- };
596
- export type GetLeaderboardByRankParams = GetLeaderboardParams & {
597
- rankNumber: number;
598
- };
599
- export type GetLeaderboardResult = {
600
- data: LeaderboardEntity[];
601
- updateTimestampMilliseconds: number;
602
- totalCount: number;
603
- };
604
- export type GetLeaderboardByRankResult = {
605
- data: LeaderboardEntityV2[];
606
- updateTimestampMilliseconds: number;
607
- totalCount: number;
608
- };
609
- export type GetTradingLeaderboardByRankResult = {
610
- data: TradingLeaderboardEntity[];
611
- updateTimestampMilliseconds: number;
612
- totalCount: number;
613
- };
614
- export type ClaimRankParams = {
615
- address: string;
616
- };
617
- export type ClaimRankResult = {
618
- success: boolean;
619
- };
620
- export type GetUserLeaderboardDataParams = {
621
- address: string;
622
- };
623
- export type GetUserLeaderboardDataV2Params = GetUserLeaderboardDataParams;
624
- export type GetUserLeaderboardDataResult = UserLeaderboardDataEntity;
625
- export type GetUserLeaderboardDataV2Result = UserLeaderboardDataV2Entity;
626
- export type GetSeasonOGSnapshotParams = {
627
- address: string;
628
- };
629
- export type GetLiquiditySeasonSnapshotsParams = {
630
- address: string;
631
- };
632
- export type GetTradingSeasonSnapshotsParams = {
633
- address: string;
634
- };
635
- export type GetTradingLotteryBoostStatusParams = {
636
- address: string;
637
- };
638
- export type GetTradingLotteryBoostStatusResult = {
639
- status: 'notLockedIn' | 'lockedIn' | 'expired';
640
- boostRate: number;
641
- nextBoostStartTimestampMilliseconds: number;
642
- };
643
- export type GetSeasonOGSnapshotResult = {
644
- overallPosition: number;
645
- seasonNumber: number;
646
- totalXp: number;
647
- rank: Rank;
648
- };
649
- export type GetTradingSeasonSnapshotResult = {
650
- overallPosition: number;
651
- seasonNumber: number;
652
- totalXp: number;
653
- rank: RankTrading;
654
- };
655
- export type GetLiquiditySeasonSnapshotsResult = {
656
- total: number;
657
- data: GetSeasonOGSnapshotResult[];
658
- };
659
- export type GetTradingSeasonSnapshotsResult = {
660
- total: number;
661
- data: GetTradingSeasonSnapshotResult[];
662
- };
663
469
  export type GetWalletReferralDetailsParams = {
664
470
  address: string;
665
471
  };
@@ -677,29 +483,6 @@ export type GetWalletReferralCodeParams = {
677
483
  export type GetWalletReferralCodeResult = {
678
484
  referralCode: string;
679
485
  };
680
- export type GetLockGameBoostTwitterUrlParams = {
681
- lockedInBoost: number;
682
- referralURL: string;
683
- };
684
- export type GetLockGameBoostTwitterUrlResult = {
685
- tweetURL: string;
686
- };
687
- export type GetReferralTwitterUrlParams = {
688
- referralURL: string;
689
- };
690
- export type GetReferralTwitterUrlResult = {
691
- tweetURL: string;
692
- };
693
- export type GetTradingRandomBoostParams = {
694
- address: string;
695
- marketId: number;
696
- };
697
- export type GetTradingRandomBoostResult = {
698
- boost: number;
699
- };
700
- export type GetUserTradingXpParams = {
701
- address: string;
702
- };
703
486
  export type TokenEntityWithMinValue = TokenEntity & {
704
487
  minDepositAmount: number;
705
488
  minWithdrawAmount: number;
@@ -880,10 +663,6 @@ export type TransactionExecutionOutput = {
880
663
  }[];
881
664
  accounts?: Omit<Stringified<TradingApiSource['wallet/:address/accounts']['response'][0]>, 'status'>[];
882
665
  };
883
- export type BurnNFTParams = {
884
- address: string;
885
- };
886
- export type BurnNFTResult = boolean;
887
666
  export type CanonicalReleaseStatus = 'pending' | 'ready' | 'completed';
888
667
  type PendingWithdrawalStatus = {
889
668
  status: 'pending';
@@ -1031,22 +810,6 @@ export type MatchOrderDetails = {
1031
810
  base: number;
1032
811
  price: number;
1033
812
  };
1034
- export type WinnerData = {
1035
- address: Address;
1036
- amount: number;
1037
- place: number;
1038
- };
1039
- export type ExecutorData = {
1040
- address: Address;
1041
- timestampMs: number;
1042
- };
1043
- export type GetLotteryWinnersResult = {
1044
- winners: Pick<WinnerData, 'address' | 'place'>[];
1045
- executor: ExecutorData;
1046
- };
1047
- export type SelectLotteryWinnersParams = {
1048
- executorAddress: Address;
1049
- };
1050
813
  export type GetLpPoolPositionRPCResponse = {
1051
814
  poolPositionShareBalance: number;
1052
815
  poolPositionBalance: number;
@@ -1091,7 +854,7 @@ export interface PassivePerpOrderAndPositionUpdate {
1091
854
  transactionHash: string;
1092
855
  uniqueId: bigint;
1093
856
  }
1094
- export type AssetPair = 'ETHUSD' | 'WSTETHUSD' | 'USDCUSD' | 'USDEUSD' | 'SUSDEUSD' | 'DEUSDUSD' | 'SDEUSDDEUSD' | 'REYALM#SELINIUSDC' | 'REYALM#AMBERUSDC' | 'REYALM#HEDGEUSDC' | 'REYAPOOL#1' | 'ETHUSDMARK' | 'BTCUSDMARK' | 'SOLUSDMARK' | 'ARBUSDMARK' | 'OPUSDMARK' | 'AVAXUSDMARK' | 'MKRUSDMARK' | 'LINKUSDMARK' | 'AAVEUSDMARK' | 'CRVUSDMARK' | 'UNIUSDMARK' | 'SUIUSDMARK' | 'TIAUSDMARK' | 'SEIUSDMARK' | 'ZROUSDMARK' | 'XRPUSDMARK' | 'WIFUSDMARK' | '1000PEPEUSDMARK' | 'POPCATUSDMARK' | 'DOGEUSDMARK' | '1000SHIBUSDMARK' | '1000BONKUSDMARK' | 'APTUSDMARK' | 'BNBUSDMARK' | 'JTOUSDMARK' | 'ADAUSDMARK' | 'LDOUSDMARK' | 'POLUSDMARK' | 'NEARUSDMARK' | 'FTMUSD' | 'ENAUSDMARK' | 'EIGENUSDMARK' | 'PENDLEUSDMARK' | 'GOATUSDMARK' | 'GRASSUSDMARK' | '1000NEIROUSDMARK' | 'DOTUSDMARK' | 'LTCUSDMARK' | 'PYTHUSDMARK' | 'JUPUSDMARK' | 'PENGUUSDMARK' | 'TRUMPUSDMARK' | 'HYPEUSDMARK' | 'VIRTUALUSDMARK' | 'AI16ZUSDMARK' | 'AIXBTUSDMARK' | 'SUSDMARK' | 'FARTCOINUSDMARK' | 'GRIFFAINUSDMARK' | 'WLDUSDMARK' | 'ATOMUSDMARK' | 'APEUSDMARK' | 'TONUSDMARK' | 'ONDOUSDMARK' | 'TRXUSDMARK' | 'INJUSDMARK' | 'MOVEUSDMARK' | 'BERAUSDMARK' | 'LAYERUSDMARK' | 'TAOUSDMARK' | 'IPUSDMARK' | 'MEUSDMARK' | 'PUMPUSDMARK' | 'MORPHOUSDMARK' | 'SYRUPUSDMARK' | 'AEROUSDMARK' | 'KAITOUSDMARK' | 'ZORAUSDMARK' | 'PROVEUSDMARK' | 'PAXGUSDMARK' | 'YZYUSDMARK';
857
+ export type AssetPair = 'ETHUSD' | 'WSTETHUSD' | 'USDCUSD' | 'USDEUSD' | 'SUSDEUSD' | 'DEUSDUSD' | 'SDEUSDDEUSD' | 'REYALM#SELINIUSDC' | 'REYALM#AMBERUSDC' | 'REYALM#HEDGEUSDC' | 'REYAPOOL#1' | 'ETHUSDMARK' | 'BTCUSDMARK' | 'SOLUSDMARK' | 'ARBUSDMARK' | 'OPUSDMARK' | 'AVAXUSDMARK' | 'MKRUSDMARK' | 'LINKUSDMARK' | 'AAVEUSDMARK' | 'CRVUSDMARK' | 'UNIUSDMARK' | 'SUIUSDMARK' | 'TIAUSDMARK' | 'SEIUSDMARK' | 'ZROUSDMARK' | 'XRPUSDMARK' | 'WIFUSDMARK' | '1000PEPEUSDMARK' | 'POPCATUSDMARK' | 'DOGEUSDMARK' | '1000SHIBUSDMARK' | '1000BONKUSDMARK' | 'APTUSDMARK' | 'BNBUSDMARK' | 'JTOUSDMARK' | 'ADAUSDMARK' | 'LDOUSDMARK' | 'POLUSDMARK' | 'NEARUSDMARK' | 'FTMUSD' | 'ENAUSDMARK' | 'EIGENUSDMARK' | 'PENDLEUSDMARK' | 'GOATUSDMARK' | 'GRASSUSDMARK' | '1000NEIROUSDMARK' | 'DOTUSDMARK' | 'LTCUSDMARK' | 'PYTHUSDMARK' | 'JUPUSDMARK' | 'PENGUUSDMARK' | 'TRUMPUSDMARK' | 'HYPEUSDMARK' | 'VIRTUALUSDMARK' | 'AI16ZUSDMARK' | 'AIXBTUSDMARK' | 'SUSDMARK' | 'FARTCOINUSDMARK' | 'GRIFFAINUSDMARK' | 'WLDUSDMARK' | 'ATOMUSDMARK' | 'APEUSDMARK' | 'TONUSDMARK' | 'ONDOUSDMARK' | 'TRXUSDMARK' | 'INJUSDMARK' | 'MOVEUSDMARK' | 'BERAUSDMARK' | 'LAYERUSDMARK' | 'TAOUSDMARK' | 'IPUSDMARK' | 'MEUSDMARK' | 'PUMPUSDMARK' | 'MORPHOUSDMARK' | 'SYRUPUSDMARK' | 'AEROUSDMARK' | 'KAITOUSDMARK' | 'ZORAUSDMARK' | 'PROVEUSDMARK' | 'PAXGUSDMARK' | 'YZYUSDMARK' | 'XPLUSDMARK';
1095
858
  export type DerivedAssetPair = 'SDEUSDUSD';
1096
859
  export type ContractId = string;
1097
860
  export type MarketPrice = {
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"/","sources":["types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,EACL,qCAAqC,EACrC,eAAe,EAChB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAE/C,MAAM,MAAM,OAAO,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;AACxC,MAAM,MAAM,SAAS,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;AAG1C,MAAM,MAAM,eAAe,GAAG;IAC5B,sBAAsB,EAAE,MAAM,EAAE,CAAC;IACjC,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,C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GACjB,iBAAiB,GACjB,YAAY,GACZ,aAAa,GACb,YAAY,GACZ,YAAY,GACZ,aAAa,GACb,YAAY,GACZ,YAAY,GACZ,aAAa,GACb,aAAa,GACb,cAAc,GACd,YAAY,GACZ,WAAW,GACX,WAAW,GACX,aAAa,GACb,eAAe,GACf,cAAc,GACd,aAAa,GACb,cAAc,GACd,aAAa,GACb,cAAc,GACd,aAAa,GACb,YAAY,GACZ,YAAY,CAAC;AAEjB,MAAM,MAAM,gBAAgB,GAAG,WAAW,CAAC;AAE3C,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAEhC,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,aAAa,UACjB,WAAW,GAAG,eAAe,yBAEmB,CAAC"}
package/dist/types.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"/","sources":["types.ts"],"names":[],"mappings":";;;AAiDA,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,8DAAkB,CAAA;IAClB,gEAAqB,CAAA;AACvB,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB;AAED,IAAY,iBAWX;AAXD,WAAY,iBAAiB;IAC3B,UAAU;IACV,+EAAmB,CAAA;IACnB,oEAAc,CAAA;IACd,+EAAoB,CAAA;IACpB,2EAAmB,CAAA;IACnB,0EAAkB,CAAA;IAClB,UAAU;IACV,oFAAwB,CAAA;IACxB,0EAAoB,CAAA;IACpB,sFAA0B,CAAA;AAC5B,CAAC,EAXW,iBAAiB,iCAA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;IACtB,+FAAyB,CAAA;IACzB,8FAA6B,CAAA;IAC7B,iGAAkC,CAAA;IAClC,oGAAoC,CAAA;IACpC,mGAAoC,CAAA;AACtC,CAAC,EAPW,6BAA6B,6CAA7B,6BAA6B,QAOxC;AAyeD,IAAY,gBAQX;AARD,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,0CAAsB,CAAA;IACtB,8CAA0B,CAAA;IAC1B,6CAAyB,CAAA;IACzB,sCAAkB,CAAA;IAClB,yCAAqB,CAAA;IACrB,oCAAgB,CAAA;AAClB,CAAC,EARW,gBAAgB,gCAAhB,gBAAgB,QAQ3B;AA4FD,IAAY,sBAMX;AAND,WAAY,sBAAsB;IAChC,6EAAa,CAAA;IACb,iFAAe,CAAA;IACf,iFAAe,CAAA;IACf,mFAAgB,CAAA;IAChB,2GAA4B,CAAA;AAC9B,CAAC,EANW,sBAAsB,sCAAtB,sBAAsB,QAMjC;AAED,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC9B,yEAAa,CAAA;IACb,6EAAe,CAAA;IACf,6EAAe,CAAA;AACjB,CAAC,EAJW,oBAAoB,oCAApB,oBAAoB,QAI/B;AAOD,IAAY,sBAKX;AALD,WAAY,sBAAsB;IAChC,6CAAmB,CAAA;IACnB,2CAAiB,CAAA;IACjB,iDAAuB,CAAA;IACvB,+CAAqB,CAAA;AACvB,CAAC,EALW,sBAAsB,sCAAtB,sBAAsB,QAKjC;AAoTM,IAAM,aAAa,GAAG,UAC3B,KAAoC;IAEpC,OAAA,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,UAAU,CAAC;AAAvD,CAAuD,CAAC;AAH7C,QAAA,aAAa,iBAGgC","sourcesContent":["import { TradingApiSource } from './trading-api-types';\nimport { Stringified } from './api-types';\n\nimport {\n CoreCommandsEIP712SignatureAndPayload,\n EIP712Signature,\n} from './transactions';\nimport { JsonRpcSigner, Signer } from 'ethers';\n\nexport type Address = Lowercase<string>;\nexport type TokenName = Uppercase<string>;\n\n// -- Markets --\nexport type MarketOrderInfo = {\n counterpartyAccountIds: number[];\n exchangeId: number;\n};\n\nexport type MarketEntity = {\n id: number;\n ticker: string;\n underlyingAsset: string;\n quoteToken: string;\n quoteTokenId: string;\n markPrice: number;\n isActive: boolean;\n maxLeverage: number;\n volume24H: number;\n priceChange24H: number;\n priceChange24HPercentage: number;\n marketPriceDeviation: number;\n openInterest: number;\n fundingRate: number;\n fundingRateAnnualized: number;\n description: string;\n orderInfo: MarketOrderInfo;\n tickSizeDecimals: number;\n minOrderSize: number;\n minOrderSizeBase: number;\n baseSpacing: number;\n priceSpacing: number;\n longOI: number;\n shortOI: number;\n longSkewPercentage: number;\n shortSkewPercentage: number;\n availableLong: number;\n availableShort: number;\n};\n\nexport enum ReyaChainId {\n reyaNetwork = 1729,\n reyaCronos = 89346162,\n}\n\nexport enum MoneyInOutChainId {\n // mainnet\n ethereumMainnet = 1,\n opMainnet = 10,\n polygonMainnet = 137,\n arbitrumOne = 42161,\n baseMainnet = 8453,\n // testnet\n arbitrumSepolia = 421614,\n opSepolia = 11155420,\n ethereumSepolia = 11155111,\n}\n\nexport enum CandlesResolution {\n ONE_MINUTE = '1MIN',\n FIVE_MINUTES = '5MINS',\n FIFTEEN_MINUTES = '15MINS',\n THIRTY_MINUTES = '30MINS',\n ONE_HOUR = '1HOUR',\n FOUR_HOURS = '4HOURS',\n ONE_DAY = '1DAY',\n}\n\n// -- Candles --\nexport interface Candle {\n id: string;\n startedAt: string;\n ticker: string;\n resolution: CandlesResolution;\n low: string;\n high: string;\n open: string;\n close: string;\n baseTokenVolume: string;\n usdVolume: string;\n trades: number;\n startingOpenInterest: string;\n}\n\n// -- Account --\n\nexport type Status = 'OPEN' | 'CLOSED' | 'LIQUIDATED' | 'FILLED';\nexport type Side = 'long' | 'short';\n\nexport type CollateralEntity = {\n token: string;\n address: string;\n percentage: number;\n balance: number;\n balanceRUSD: number;\n balanceWithHaircutRUSD: number;\n exchangeRate: number;\n exchangeRateWithHaircut: number;\n exchangeRateChange24HPercentage: number;\n yieldPercentage?: number;\n};\n\nexport type CollateralWithHaircut = {\n address: string;\n priceHaircut: number;\n};\n\nexport type MarginAccountEntity = {\n id: number;\n name: string;\n marginRatioHealth: 'danger' | 'healthy' | 'warning';\n marginRatioPercentage: number;\n marginRatioHealthDangerThreshold: number;\n marginRatioHealthWarningThreshold: number;\n isApproachingLiquidation: boolean;\n isLiquidationImminent: boolean;\n totalBalance: number;\n liquidationMarginRequirement: number;\n totalBalanceUnderlyingAsset: string;\n totalBalanceChange24HPercentage: number;\n totalBalanceWithHaircut: number;\n livePnL: number;\n livePnLUnderlyingAsset: string;\n realizedPnL: number;\n realizedPnLUnderlyingAsset: string;\n realizedPnlHistoryTotal: number;\n totalPositionsCount: number;\n collaterals: CollateralEntity[];\n positions: PositionEntity[];\n};\n\nexport type ConditionalOrdersInfo = {\n stopLoss?: {\n stopLossPrice: number;\n orderId: string;\n };\n takeProfit?: {\n takeProfitPrice: number;\n orderId: string;\n };\n};\n\nexport type PositionEntity = {\n id: number;\n side: Side;\n size: number;\n base: number;\n price: number;\n conditionalOrdersInfo?: ConditionalOrdersInfo;\n markPrice: number;\n orderStatus: Status;\n realisedPnl: number;\n priceVariationPnl: number;\n livePnL: number;\n fundingPnl: number;\n unrealisedPnl: number;\n liquidationPrice: number;\n marketId: number;\n accountId: number;\n};\n\nexport type TradingHistoryEntity = {\n id: string;\n price: number;\n size: number;\n timestampMillisecondsUTC: number;\n};\n\nexport type OrderType = 'market';\n\nexport type OrderHistoryType =\n | 'long-trade'\n | 'short-trade'\n | 'long-liquidation'\n | 'short-liquidation';\n\nexport type OrderHistoryEntity = {\n id: string;\n action: OrderHistoryType;\n orderType: OrderType;\n base: number;\n executionPrice: number;\n realisedPnl?: number | null;\n priceVariationPnl: number;\n fundingPnl: number;\n fees: number;\n openingFees: number;\n timestamp: number;\n marketId?: number;\n xpEarned: number;\n};\n\nexport type ApyDetails = {\n dailyApy: number;\n weeklyApy: number;\n monthlyApy: number;\n};\n\nexport type LpPoolEntity = {\n id: number;\n name: string;\n description: string;\n longDescription: string;\n readMoreLink: string;\n currentAPY: number;\n apyDetails: ApyDetails;\n apyChange24H: number;\n tokenAddress: Address;\n token: string;\n minDepositAmount: number;\n minWithdrawAmount: number;\n stepSize: number;\n allowedChainsForLiquidity: MoneyInOutChainId[];\n moneyInOutConfiguration: MoneyInOutConfiguration;\n};\n\nexport type MoneyInOutConfiguration = {\n [key in MoneyInOutChainId]?: {\n minWithdrawAmount?: number;\n };\n};\n\nexport type MoneyInOutConfigurationPerTokenName = {\n [key in TokenName]?: MoneyInOutConfiguration;\n};\n\nexport type LpWithdrawBalanceEntity = {\n withdrawableBalance: number;\n poolSharePrice: number;\n accountShareBalance: number;\n balanceBreakdown: {\n [coinName: string]: {\n balance: number;\n priceTokenToRusd: number;\n tokenAddress: string;\n };\n };\n};\n\nexport type TransactionHistoryType = 'deposit' | 'withdrawal';\n\nexport type LpTransactionHistoryEntity = {\n id: number;\n type: TransactionHistoryType;\n token: string;\n share: number;\n tokenAddress: string;\n amount: number;\n transactionLink: string;\n timestamp: number;\n};\n\nexport type LpPositionEntity = {\n id: number;\n capitalInvested: number;\n currentBalance: number;\n pnl: number;\n lpPool: LpPoolEntity;\n};\n\nexport type MarginAccountTransactionHistoryType =\n | 'deposit'\n | 'withdrawal'\n | 'transfer'\n | 'auto_exchange_deposit'\n | 'auto_exchange_withdrawal';\n\nexport type MarginAccountTransactionStatus = 'confirmed' | 'pending';\n\nexport type MarginAccountTransactionHistoryEntity = {\n id: number;\n type: MarginAccountTransactionHistoryType;\n token: string;\n amount: number;\n transactionLink: string;\n status: MarginAccountTransactionStatus;\n timestamp: number;\n};\n\nexport type ReferralFeeTransactionHistoryEntity = {\n id: number;\n referee_wallet_address: string;\n token: string;\n amount: number;\n transactionLink: string;\n timestamp: number;\n};\n\nexport type TokenEntity = {\n name: TokenName;\n address: Address;\n};\n\n// Raw XP Data from database queries\nexport type RawXpDataEntry = {\n wallet_address: string;\n timestamp_ms: bigint;\n total_xp: number | null;\n liquidity_xp: number | null; // Corresponds to staking XP\n trading_xp: number | null;\n season_number?: number; // Optional, as XpV4Cached won't have it directly\n};\n// --- Lp Pool Balance ---\nexport enum LpBalanceGranularity {\n ONE_MINUTE = 60 * 1000,\n ONE_HOUR = 60 * 60 * 1000,\n ONE_DAY = 24 * 60 * 60 * 1000,\n ONE_WEEK = 7 * 24 * 60 * 60 * 1000,\n ONE_MONTH = 30 * 24 * 60 * 60 * 1000,\n ONE_YEAR = 365 * 24 * 60 * 60 * 1000,\n}\n\n// - LP Account Performance -\nexport type GetLpPoolPerformanceChartDataResult = {\n capitalInvestedData: {\n timestampInMs: number;\n value: number;\n }[];\n balanceData: {\n timestampInMs: number;\n value: number;\n }[];\n balance: number;\n balanceChangePercentage: number;\n capitalInvested: number;\n capitalInvestedChangePercentage: number;\n};\n\nexport type SocketTokenConnectors = {\n deposit: Address;\n withdraw: Address;\n};\n\nexport type GetSocketConnectorsParams = {\n moneyInOutChainId: MoneyInOutChainId;\n tokenName: TokenName;\n};\n\nexport type GetSocketVaultParams = {\n moneyInOutChainId: MoneyInOutChainId;\n tokenName: TokenName;\n};\n\nexport type GetMoneyInOutChainIdFromReyaConnectorParams = {\n reyaChainId: ReyaChainId;\n tokenName: TokenName;\n socketConnector: Address;\n};\n\nexport type GetSocketBridgeTimeParams = {\n moneyInOutChainId: MoneyInOutChainId;\n};\n\nexport type GetSocketBridgeTimeResult = {\n bridgeTimeInMS: number;\n};\n\nexport type GetSocketWithdrawMsgGasLimitParams = {\n moneyInOutChainId: MoneyInOutChainId;\n};\n\nexport type GetSocketWithdrawMsgGasLimitResult = {\n msgGasLimit: bigint;\n};\n\nexport type SocketDepositFeesEntry = {\n moneyInOutChainId: MoneyInOutChainId;\n tokenName: TokenName;\n fees: bigint;\n};\n\nexport type SocketWithdrawFeesEntry = {\n moneyInOutChainId: MoneyInOutChainId;\n tokenName: TokenName;\n fees: bigint;\n};\n\nexport type SocketDepositFees = {\n fees: bigint;\n feesInUnderlyingToken: number;\n underlyingTokenName: TokenName;\n};\n\nexport type SocketWithdrawFees = {\n fees: bigint;\n feesInUnderlyingToken: number;\n underlyingTokenName: TokenName;\n};\n\nexport type GetSocketWithdrawFeesParams = {\n reyaChainId: ReyaChainId;\n tokenAddress: TokenEntity['address'];\n};\n\nexport type GetSocketWithdrawFeesResult = {\n fees: number;\n};\n\n// --- Margin Account Balance ---\nexport enum MarginAccountBalanceGranularity {\n ONE_MINUTE = 60 * 1000,\n ONE_HOUR = 60 * 60 * 1000,\n ONE_DAY = 24 * 60 * 60 * 1000,\n ONE_WEEK = 7 * 24 * 60 * 60 * 1000,\n ONE_MONTH = 30 * 24 * 60 * 60 * 1000,\n ONE_YEAR = 365 * 24 * 60 * 60 * 1000,\n}\n\nexport type GetMarginAccountBalanceChartDataResult = {\n balanceData: {\n timestampInMs: number;\n value: number;\n }[];\n balance: number;\n balanceChangePercentage: number;\n};\n\n// --- Margin Account Collaterals Balance ---\nexport enum MarginAccountCollateralsBalanceGranularity {\n ONE_MINUTE = 60 * 1000,\n ONE_HOUR = 60 * 60 * 1000,\n ONE_DAY = 24 * 60 * 60 * 1000,\n ONE_WEEK = 7 * 24 * 60 * 60 * 1000,\n ONE_MONTH = 30 * 24 * 60 * 60 * 1000,\n ONE_YEAR = 365 * 24 * 60 * 60 * 1000,\n}\n\nexport type GetMarginAccountCollateralsBalanceChartDataResult = {\n data: {\n balanceData: {\n timestampInMs: number;\n value: number;\n }[];\n token: string;\n }[];\n balance: number;\n balanceChangePercentage: number;\n};\n\nexport type OwnerMetadataEntity = {\n address: Address;\n coreSigNonce: number;\n poolSigNonce: number;\n};\n\nexport type GetAllMarginAccountsBalanceChartDataResult = {\n balanceData: {\n timestampInMs: number;\n value: number;\n }[];\n balance: number;\n balanceChangePercentage: number;\n};\n\nexport enum AllMarginAccountsBalanceGranularity {\n ONE_MINUTE = 60 * 1000,\n ONE_HOUR = 60 * 60 * 1000,\n ONE_DAY = 24 * 60 * 60 * 1000,\n ONE_WEEK = 7 * 24 * 60 * 60 * 1000,\n ONE_MONTH = 30 * 24 * 60 * 60 * 1000,\n ONE_YEAR = 365 * 24 * 60 * 60 * 1000,\n}\n\n// --- Funding Rate History ----\nexport enum FundingRateHistoryGranularity {\n ONE_MINUTE = 60 * 1000,\n ONE_HOUR = 60 * 60 * 1000,\n ONE_DAY = 24 * 60 * 60 * 1000,\n ONE_WEEK = 7 * 24 * 60 * 60 * 1000,\n ONE_MONTH = 30 * 24 * 60 * 60 * 1000,\n ONE_YEAR = 365 * 24 * 60 * 60 * 1000,\n}\nexport type GetFundingRateChartDataResult = {\n fundingRateData: {\n timestampInMs: number;\n value: number;\n }[];\n fundingRate: number;\n};\nexport type GetCurrentFundingRateResult = {\n value: number;\n timestamp: number;\n};\n\nexport type GetInstantPoolPriceResult = {\n poolPrice: number;\n poolSlippage: number;\n oraclePrice: number;\n};\n\nexport type GetBalancesForBridgeArgs = {\n walletAddress: string;\n};\n\nexport type DepthSimulationState = {\n spotPrice: number;\n depthFactor: number;\n maxOrderSizeLong: number;\n maxOrderSizeShort: number;\n netExposure: number;\n};\n\nexport type GetLpPoolDepthChartSimulationDataResult = DepthSimulationState;\n\nexport type SignatureData = {\n signature: string;\n timestamp: number;\n walletAddress: Address;\n version: string;\n};\n\nexport type SaveSignatureResult = {\n signatureSavedSuccessfully: boolean;\n};\n\n// --- Community ----\nexport type VoteDetailsEntity = {\n id: number;\n startDate: number; // timestamp in UTC milliseconds\n endDate: number; // timestamp in UTC milliseconds\n percentageToPass: number; // Example: 4%\n yesCount: number;\n noCount: number;\n voteCountToPass: number; // Example: 1453\n slug: string;\n title: string;\n // Free text, each newline represents paragraph. UI splits by \\n atm to keep stuff simple\n description: string;\n};\n\nexport type VoteContractDetailsEntity = {\n id: number;\n contractAddress: Address;\n};\n\nexport type VoteStatusEntity = {\n votingPower: number;\n hasVoted: boolean;\n};\n\nexport type SbtMintedStatusEntity = {\n ownerAddress: string;\n isEligible: boolean;\n hasMinted: boolean;\n};\n\n// --- XP ----\nexport type XPEntity = {\n value: number;\n valueTimestampMilliseconds: number;\n rate: number;\n};\n\nexport type GetAccountLGEStatusParams = {\n address: string; // wallet address\n};\n\nexport type GetAccountLGEStatusResult = {\n xp: XPEntity;\n currentBoost: number;\n lgeBoost: number;\n tranches: TrancheEntity[];\n tranchesOG: TrancheEntity | null;\n randomBoost: number;\n deposited: number;\n // TODO: deprecate once UI and API are released\n currentTVL: number;\n // TODO: deprecate once UI and API are released\n currentLiquidity: number;\n};\n\nexport type GetAccountTradingXPParams = {\n address: string; // wallet address\n};\n\nexport type GetAccountTradingXPResult = {\n xp: XPEntity;\n currentBoost: number;\n openBase: number;\n};\n\nexport type GetLpTvlResult = {\n currentTVL: number;\n currentLiquidity: number;\n};\n\nexport type LeaderboardEntity = {\n address: string;\n currentBoost: number;\n liquidityXp: number;\n // current rank for user (fish, whale, shrimp)\n rank: number;\n // leaderboard ranking 1,2,3...1230,...\n ranking: number;\n tradingXp: number;\n referralXp: number;\n // TODO: XP-V4 add logic for this field\n rebalancingXp: number;\n voltzXp: number;\n totalXp: XPEntity;\n};\n\nexport type Rank = {\n rankNumber: number;\n rankLetter: string;\n rankName: string;\n};\n\nexport type RankTrading = {\n rankNumber: number;\n rankName: string;\n};\n\nexport type LeaderboardEntityV2 = {\n address: string;\n currentBoost: number;\n liquidityXp: number;\n // current rank for user (fish, whale, shrimp)\n rank: Rank;\n promotion: 'rankUp' | 'rankDown' | 'stale';\n // leaderboard ranking 1,2,3...1230,...\n ranking: number;\n tradingXp: number;\n referralXp: number;\n // TODO: XP-V4 add logic for this field\n rebalancingXp: number;\n voltzXp: number;\n totalXp: XPEntity;\n weeklyXp: number;\n weeklyXpEntity: XPEntity;\n};\n\nexport type TradingLeaderboardEntity = {\n address: string;\n currentBoost: number;\n // current rank for user (fish, whale, shrimp)\n rank: RankTrading;\n promotion: 'rankUp' | 'rankDown' | 'stale';\n // leaderboard ranking 1,2,3...1230,...\n ranking: number;\n tradingXp: number;\n referralXp: number;\n totalXp: XPEntity;\n weeklyXp: number;\n weeklyXpEntity: XPEntity;\n volume: number;\n weeklyVolume: number;\n};\n\nexport type UserLeaderboardDataEntity = LeaderboardEntity & {\n claimedRank: number;\n currentRankPoints: number;\n nextRankPoints: number;\n nftStatus: 'collected' | 'notCollected' | 'burnt' | 'minted' | null;\n};\n\nexport type TrancheEntity = {\n value: number;\n boost: number;\n timestampMs: number;\n loyaltyBoost: number;\n isAutoExchange: boolean;\n};\n\nexport type UserLeaderboardDataV2Entity = LeaderboardEntityV2 & {\n claimedRank: number;\n currentRankPoints: number;\n nextRankPoints: number;\n totalNfts: number;\n claimedNfts: number;\n nftStatus: 'collected' | 'notCollected' | 'burnt' | 'minted' | null;\n timeUntilRankingEvent: number;\n openInterest: number;\n deposit: number;\n lgeBoost: number;\n extraBoost: number;\n tradingBoost: number;\n tranches: TrancheEntity[];\n tranchesOG: TrancheEntity | null;\n xpPerHour: number;\n};\n\nexport type GetUserTradingLeaderboardDataResult = {\n address: string;\n rank: RankTrading;\n ranking: number;\n tradingXp: number;\n referralXp: number;\n weeklyXp: number;\n promotion: string;\n timeUntilRankingEvent: number;\n tradingBoost: number;\n lotteryXp: number;\n weeklyXpEntity: XPEntity;\n totalXp: number;\n referralRebateFee: number;\n volume: number;\n weeklyVolume: number;\n};\n\nexport type GetLeaderboardParams = {\n page: number;\n perPage: number;\n};\n\nexport type GetLeaderboardByRankParams = GetLeaderboardParams & {\n rankNumber: number;\n};\n\nexport type GetLeaderboardResult = {\n data: LeaderboardEntity[];\n updateTimestampMilliseconds: number;\n totalCount: number;\n};\n\nexport type GetLeaderboardByRankResult = {\n data: LeaderboardEntityV2[];\n updateTimestampMilliseconds: number;\n totalCount: number;\n};\n\nexport type GetTradingLeaderboardByRankResult = {\n data: TradingLeaderboardEntity[];\n updateTimestampMilliseconds: number;\n totalCount: number;\n};\nexport type ClaimRankParams = {\n address: string;\n};\n\nexport type ClaimRankResult = {\n success: boolean;\n};\n\nexport type GetUserLeaderboardDataParams = {\n address: string;\n};\n\nexport type GetUserLeaderboardDataV2Params = GetUserLeaderboardDataParams;\n\nexport type GetUserLeaderboardDataResult = UserLeaderboardDataEntity;\n\nexport type GetUserLeaderboardDataV2Result = UserLeaderboardDataV2Entity;\n\nexport type GetSeasonOGSnapshotParams = { address: string };\nexport type GetLiquiditySeasonSnapshotsParams = { address: string };\nexport type GetTradingSeasonSnapshotsParams = { address: string };\n\nexport type GetTradingLotteryBoostStatusParams = { address: string };\n\nexport type GetTradingLotteryBoostStatusResult = {\n status: 'notLockedIn' | 'lockedIn' | 'expired';\n boostRate: number;\n nextBoostStartTimestampMilliseconds: number;\n};\n\nexport type GetSeasonOGSnapshotResult = {\n overallPosition: number;\n seasonNumber: number;\n totalXp: number;\n rank: Rank;\n};\n\nexport type GetTradingSeasonSnapshotResult = {\n overallPosition: number;\n seasonNumber: number;\n totalXp: number;\n rank: RankTrading;\n};\nexport type GetLiquiditySeasonSnapshotsResult = {\n total: number;\n data: GetSeasonOGSnapshotResult[];\n};\n\nexport type GetTradingSeasonSnapshotsResult = {\n total: number;\n data: GetTradingSeasonSnapshotResult[];\n};\n\nexport type GetWalletReferralDetailsParams = {\n address: string;\n};\n\nexport type GetWalletReferralDetailsResult = {\n totalReferralsCount: number;\n totalReferralXP: number;\n tradingRebateFee: number;\n tradingXp: number;\n liquidityXp: number;\n isAffiliate: boolean;\n};\n\nexport type GetWalletReferralCodeParams = {\n address: string;\n};\n\nexport type GetWalletReferralCodeResult = {\n referralCode: string;\n};\n\nexport type GetLockGameBoostTwitterUrlParams = {\n lockedInBoost: number;\n referralURL: string;\n};\n\nexport type GetLockGameBoostTwitterUrlResult = {\n tweetURL: string;\n};\n\nexport type GetReferralTwitterUrlParams = {\n referralURL: string;\n};\n\nexport type GetReferralTwitterUrlResult = {\n tweetURL: string;\n};\n\nexport type GetTradingRandomBoostParams = {\n address: string;\n marketId: number;\n};\n\nexport type GetTradingRandomBoostResult = {\n boost: number;\n};\n\nexport type GetUserTradingXpParams = {\n address: string;\n};\n\nexport type TokenEntityWithMinValue = TokenEntity & {\n minDepositAmount: number;\n minWithdrawAmount: number;\n minTransferAmount: number;\n};\n\nexport type TokenInfo = {\n name: TokenName;\n address: Address;\n decimals: number;\n isRUSDUnderlying: boolean;\n minDepositAmount: number;\n minWithdrawAmount: number;\n minTransferAmount: number;\n whitelistedWalletOnly?: boolean;\n isElixirToken?: boolean;\n isLmToken?: boolean;\n isPoolToken?: boolean;\n};\n\n// --- TOS ----\n\nexport type TRMRiskAssessment = {\n accountExternalId: string;\n address: string;\n addressRiskIndicators: TMRRiskIndicator[];\n addressSubmitted: string;\n chain: string;\n entities: unknown[];\n trmAppUrl: string;\n};\n\nexport type TMRRiskIndicator = {\n category: string;\n categoryId: string;\n categoryRiskScoreLevel: number;\n categoryRiskScoreLevelLabel: string;\n incomingVolumeUsd: string;\n outgoingVolumeUsd: string;\n riskType: string;\n totalVolumeUsd: string;\n};\n\n// todo: deprecate after 1st tac client is deprecated\nexport type ToSVersionDetails = {\n text: string;\n version: string;\n creationTimestamp: number; // in MS\n};\n\nexport type ToSProductVersionDetails = {\n shortText: string;\n longText: string;\n version: string;\n creationTimestamp: number; // in MS\n product: string;\n};\n\nexport type SocketBridgeTransactionPoolStatus =\n | 'pending'\n | 'confirmed'\n | 'failed';\n\nexport type IpInfo = {\n ip: string;\n hostname: string;\n city: string;\n region: string;\n country: string;\n loc: string;\n org: string;\n postal: string;\n timezone: string;\n privacy: {\n vpn: boolean;\n proxy: boolean;\n tor: boolean;\n relay: boolean;\n hosting: boolean;\n service: string;\n };\n countryCode: string;\n countryFlag: {\n emoji: string;\n unicode: string;\n };\n countryFlagURL: string;\n countryCurrency: {\n code: string;\n symbol: string;\n };\n continent: {\n code: string;\n name: string;\n };\n isEU: boolean;\n};\n\nexport interface CandleMessage {\n /** Stringified JSON object of all events to be streamed. */\n contents: string;\n /** Clob pair id of the Candle message. */\n\n clobPairId: string;\n /** Resolution of the candle update. */\n\n resolution: string;\n /** Version of the websocket message. */\n\n version: string;\n}\n\nexport interface PriceMessage {\n contents: string;\n assetPairId: string;\n version: string;\n}\n\nexport interface FundingRateMessage {\n contents: string;\n assetPairId: string;\n version: string;\n}\n\nexport interface MarketsUpdateMessage {\n contents: string;\n version: string;\n id: string;\n}\n\nexport enum CandleResolution {\n ONE_MINUTE = '1MIN',\n FIVE_MINUTES = '5MINS',\n FIFTEEN_MINUTES = '15MINS',\n THIRTY_MINUTES = '30MINS',\n ONE_HOUR = '1HOUR',\n FOUR_HOURS = '4HOURS',\n ONE_DAY = '1DAY',\n}\n\nexport type TransactionExecutionMetadata = {\n accountName?: string;\n accountSource?: string;\n accountId?: number;\n marketId?: number;\n destinationType?: 'pool' | 'account';\n action?: 'matchOrder' | 'closeOrder' | 'createAccount';\n tradeSource?: 'reya' | 'rage' | 'other';\n sender?: string;\n matchOrder?: {\n eip712Payload: CoreCommandsEIP712SignatureAndPayload['payload'];\n userEIP712Signature: EIP712Signature;\n };\n};\n\nexport type TransactionExecutionOutput = {\n txHash: string | null;\n errorMessage?: string;\n accountId?: string | null;\n coreSigNonce?: string | null;\n poolSigNonce?: string | null;\n miscellaneous?: {\n tradeXpBoost?: number;\n lotteryXpBoost?: number;\n xpNftAwarded?: boolean;\n xpEarned?: number;\n };\n tradeDetails?: {\n executionPrice?: number;\n base?: number;\n };\n positions?: {\n market_id: string;\n account_id: string;\n base: string | null;\n realized_pnl: string | null;\n last_price: string | null;\n position_data_last_price_data_timestamp: string | null;\n funding_value: string | null;\n base_multiplier: string | null;\n adl_unwind_price: string | null;\n transaction_hash: string;\n block_timestamp: string | null;\n block_number: string;\n unique_id: string | null;\n }[];\n orders?: {\n id: string;\n market_id: string | null;\n account_id: string | null;\n order_base: string | null;\n fee: string | null;\n price: string | null;\n type: string;\n processed: boolean;\n transaction_hash: string;\n block_timestamp: string | null;\n block_number: string;\n source: string | null;\n unique_id: string | null;\n }[];\n accounts?: Omit<\n Stringified<TradingApiSource['wallet/:address/accounts']['response'][0]>,\n 'status'\n >[];\n //orderAndPositionUpdate?: Stringified<PassivePerpOrderAndPositionUpdate>[];\n};\n\nexport type BurnNFTParams = {\n address: string;\n};\n\n// TODO: please fix implementation - we don't need boolean, void is fine\nexport type BurnNFTResult = boolean;\n\nexport type CanonicalReleaseStatus = 'pending' | 'ready' | 'completed';\n\ntype PendingWithdrawalStatus = {\n status: 'pending';\n};\n\ntype ReadyWithdrawalStatus = {\n status: 'ready';\n txHash: string;\n};\n\nexport type PendingWithdrawal = {\n tokenAmount: number;\n} & (PendingWithdrawalStatus | ReadyWithdrawalStatus);\n\nexport enum OrdersGatewayOrderType {\n STOP_LOSS = 0,\n TAKE_PROFIT = 1,\n LIMIT_ORDER = 2,\n MARKET_ORDER = 3,\n REDUCE_ONLY_MARKET_ORDER = 4,\n}\n\nexport enum ConditionalOrderType {\n STOP_LOSS = 0,\n TAKE_PROFIT = 1,\n LIMIT_ORDER = 2,\n}\n\nexport type ConditionalOrderTypeName =\n | 'Stop Loss'\n | 'Take Profit'\n | 'Limit Order';\n\nexport enum ConditionalOrderStatus {\n PENDING = 'pending',\n FILLED = 'filled',\n CANCELLED = 'cancelled',\n REJECTED = 'rejected',\n}\n\nexport type ConditionalOrder = {\n orderId: string;\n accountId: number;\n marketId: number;\n orderType: ConditionalOrderTypeName;\n isLong: boolean;\n triggerPrice: number;\n signerWallet: string;\n nonce: string;\n signature: string;\n eip712Signature: EIP712Signature;\n status: ConditionalOrderStatus;\n creationTimestampMs: number;\n lastUpdateTimestampMs: number;\n base: number;\n exchangeId: number;\n inputs: string;\n counterpartyAccountId: number;\n};\n\nexport type UnifiedConditionalOrderType = {\n orderId: string;\n accountId: number;\n marketId: number;\n base: number | null; // null when order is cancelled\n isLong: boolean;\n price: number;\n status: ConditionalOrderStatus;\n orderType: ConditionalOrderTypeName;\n timestampMs: number;\n};\n\nexport type IsDiscordLinkedParams = {\n address: string;\n};\nexport type IsDiscordLinkedResult = {\n isLinked: boolean;\n};\nexport type LinkDiscordParams = {\n discordAccessToken: string;\n signer: Signer | JsonRpcSigner;\n};\nexport type LinkDiscordResult = void;\nexport type UnlinkDiscordParams = {\n address: string;\n discordAccessToken: string;\n};\nexport type UnlinkDiscordResult = void;\nexport type ClaimDiscordRankParams = {\n address: string;\n discordAccessToken: string;\n};\nexport type ClaimDiscordRankResult = void;\n\nexport type IsDiscordRankClaimedParams = {\n address: string;\n};\nexport type IsDiscordRankClaimedResult = {\n isClaimed: boolean;\n};\n\nexport interface ApiErrorResponse {\n response: {\n status: number;\n data: {\n error: string;\n };\n };\n}\n\n// ref: https://github.com/tkhq/sdk/blob/08e2b8c30848498ed0850aa1e1ede67775b001e5/packages/http/src/__generated__/\n// services/coordinator/public/v1/public_api.types.ts\nexport type V1Attestation = {\n /** @description The cbor encoded then base64 url encoded id of the credential. */\n credentialId: string;\n /** @description A base64 url encoded payload containing metadata about the signing context and the challenge. */\n clientDataJson: string;\n /** @description A base64 url encoded payload containing authenticator data and any attestation the webauthn provider chooses. */\n attestationObject: string;\n /** @description The type of authenticator transports. */\n transports: V1AuthenticatorTransport[];\n};\n\nexport type V1AuthenticatorTransport =\n | 'AUTHENTICATOR_TRANSPORT_BLE'\n | 'AUTHENTICATOR_TRANSPORT_INTERNAL'\n | 'AUTHENTICATOR_TRANSPORT_NFC'\n | 'AUTHENTICATOR_TRANSPORT_USB'\n | 'AUTHENTICATOR_TRANSPORT_HYBRID';\n\nexport type AutoExchangeEvent = {\n accountId: number;\n collateralOut: {\n address: string;\n name: TokenName;\n };\n collateralIn: {\n address: string;\n name: TokenName;\n };\n amountCollateralOutToLiquidator: number;\n amountCollateralInToAccount: number;\n blockTimestamp: number;\n blockNumber: number;\n transactionHash: string;\n uniqueId: number;\n};\n\n// on-chain events (consider pushing into a separate file)\nexport type PositionDataUpdatedDetails = {\n marketId: string;\n accountId: string;\n // todo: p1: argument names don't align with the on-chain event\n orderBase: string;\n realisedPnl: string;\n lastPrice: string;\n lastPriceTimestamp: string;\n fundingValue: string;\n baseMultiplier: string;\n adlUnwindPrice: string;\n blockTimestamp: string;\n transactionHash: string;\n blockNumber: number;\n uniqueId: string;\n};\n\nexport type MatchOrderDetails = {\n uniqueId: string;\n transactionHash: string;\n accountId: number;\n marketId: number;\n sizeNotional: number;\n base: number;\n price: number;\n};\n\nexport type WinnerData = {\n address: Address;\n amount: number;\n place: number;\n};\n\nexport type ExecutorData = {\n address: Address;\n timestampMs: number;\n};\n\nexport type GetLotteryWinnersResult = {\n winners: Pick<WinnerData, 'address' | 'place'>[];\n executor: ExecutorData;\n};\n\nexport type SelectLotteryWinnersParams = {\n executorAddress: Address;\n};\n\nexport type GetLpPoolPositionRPCResponse = {\n poolPositionShareBalance: number; // amount of srUSD in the pool held by the account\n poolPositionBalance: number; // amount of rUSD in the pool held by the account\n poolTotalBalance: number; // total amount of rUSD in the pool\n sharePrice: number; // share price of the pool\n};\n\ninterface MatchOrderFees {\n protocolFeeCredit: bigint;\n exchangeFeeCredit: bigint;\n takerFeeDebit: bigint;\n makerPayments: bigint[];\n referrerFeeCredit: bigint;\n}\n\ninterface PositionDataOld {\n base: bigint;\n realizedPnL: bigint;\n lastPriceData: {\n price: bigint;\n timestamp: bigint;\n };\n trackers: {\n fundingValue: bigint;\n baseMultiplier: bigint;\n adlUnwindPrice: bigint;\n };\n}\n\nexport interface PassivePerpOrderAndPositionUpdate {\n id: string;\n marketId: bigint;\n accountId: bigint;\n counterpartyAccountId: bigint;\n executedBase: bigint;\n matchOrderFees: MatchOrderFees;\n executedPrice: bigint;\n referrerAccountId: bigint;\n isMatchOrder: boolean;\n liquidationType: bigint;\n positionData: PositionDataOld;\n counterpartyPositionData: PositionDataOld;\n blockTimestamp: bigint;\n blockNumber: string;\n transactionHash: string;\n uniqueId: bigint;\n}\n\nexport type AssetPair =\n | 'ETHUSD'\n | 'WSTETHUSD'\n | 'USDCUSD'\n | 'USDEUSD'\n | 'SUSDEUSD'\n | 'DEUSDUSD'\n | 'SDEUSDDEUSD'\n | 'REYALM#SELINIUSDC'\n | 'REYALM#AMBERUSDC'\n | 'REYALM#HEDGEUSDC'\n | 'REYAPOOL#1'\n | 'ETHUSDMARK'\n | 'BTCUSDMARK'\n | 'SOLUSDMARK'\n | 'ARBUSDMARK'\n | 'OPUSDMARK'\n | 'AVAXUSDMARK'\n | 'MKRUSDMARK'\n | 'LINKUSDMARK'\n | 'AAVEUSDMARK'\n | 'CRVUSDMARK'\n | 'UNIUSDMARK'\n | 'SUIUSDMARK'\n | 'TIAUSDMARK'\n | 'SEIUSDMARK'\n | 'ZROUSDMARK'\n | 'XRPUSDMARK'\n | 'WIFUSDMARK'\n | '1000PEPEUSDMARK'\n | 'POPCATUSDMARK'\n | 'DOGEUSDMARK'\n | '1000SHIBUSDMARK'\n | '1000BONKUSDMARK'\n | 'APTUSDMARK'\n | 'BNBUSDMARK'\n | 'JTOUSDMARK'\n | 'ADAUSDMARK'\n | 'LDOUSDMARK'\n | 'POLUSDMARK'\n | 'NEARUSDMARK'\n | 'FTMUSD'\n | 'ENAUSDMARK'\n | 'EIGENUSDMARK'\n | 'PENDLEUSDMARK'\n | 'GOATUSDMARK'\n | 'GRASSUSDMARK'\n | '1000NEIROUSDMARK'\n | 'DOTUSDMARK'\n | 'LTCUSDMARK'\n | 'PYTHUSDMARK'\n | 'JUPUSDMARK'\n | 'PENGUUSDMARK'\n | 'TRUMPUSDMARK'\n | 'HYPEUSDMARK'\n | 'VIRTUALUSDMARK'\n | 'AI16ZUSDMARK'\n | 'AIXBTUSDMARK'\n | 'SUSDMARK'\n | 'FARTCOINUSDMARK'\n | 'GRIFFAINUSDMARK'\n | 'WLDUSDMARK'\n | 'ATOMUSDMARK'\n | 'APEUSDMARK'\n | 'TONUSDMARK'\n | 'ONDOUSDMARK'\n | 'TRXUSDMARK'\n | 'INJUSDMARK'\n | 'MOVEUSDMARK'\n | 'BERAUSDMARK'\n | 'LAYERUSDMARK'\n | 'TAOUSDMARK'\n | 'IPUSDMARK'\n | 'MEUSDMARK'\n | 'PUMPUSDMARK'\n | 'MORPHOUSDMARK'\n | 'SYRUPUSDMARK'\n | 'AEROUSDMARK'\n | 'KAITOUSDMARK'\n | 'ZORAUSDMARK'\n | 'PROVEUSDMARK'\n | 'PAXGUSDMARK'\n | 'YZYUSDMARK';\n\nexport type DerivedAssetPair = 'SDEUSDUSD';\n\nexport type ContractId = string;\n\nexport type MarketPrice = {\n marketId: number;\n price: string;\n oraclePrice: string;\n poolPrice: string;\n updatedAt: number;\n};\n\nexport type CollateralPrice = {\n address: string;\n oraclePrice: string;\n updatedAt: number;\n};\n\nexport const isMarketPrice = (\n price: MarketPrice | CollateralPrice,\n): price is MarketPrice =>\n Object.prototype.hasOwnProperty.call(price, 'marketId');\n"]}
1
+ {"version":3,"file":"types.js","sourceRoot":"/","sources":["types.ts"],"names":[],"mappings":";;;AAiDA,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,8DAAkB,CAAA;IAClB,gEAAqB,CAAA;AACvB,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB;AAED,IAAY,iBAWX;AAXD,WAAY,iBAAiB;IAC3B,UAAU;IACV,+EAAmB,CAAA;IACnB,oEAAc,CAAA;IACd,+EAAoB,CAAA;IACpB,2EAAmB,CAAA;IACnB,0EAAkB,CAAA;IAClB,UAAU;IACV,oFAAwB,CAAA;IACxB,0EAAoB,CAAA;IACpB,sFAA0B,CAAA;AAC5B,CAAC,EAXW,iBAAiB,iCAAjB,iBAAiB,QAW5B;AAED,IAAY,iBAQX;AARD,WAAY,iBAAiB;IAC3B,wCAAmB,CAAA;IACnB,2CAAsB,CAAA;IACtB,+CAA0B,CAAA;IAC1B,8CAAyB,CAAA;IACzB,uCAAkB,CAAA;IAClB,0CAAqB,CAAA;IACrB,qCAAgB,CAAA;AAClB,CAAC,EARW,iBAAiB,iCAAjB,iBAAiB,QAQ5B;AAmOD,0BAA0B;AAC1B,IAAY,oBAOX;AAPD,WAA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;IAClB,yCAAqB,CAAA;IACrB,oCAAgB,CAAA;AAClB,CAAC,EARW,gBAAgB,gCAAhB,gBAAgB,QAQ3B;AAqFD,IAAY,sBAMX;AAND,WAAY,sBAAsB;IAChC,6EAAa,CAAA;IACb,iFAAe,CAAA;IACf,iFAAe,CAAA;IACf,mFAAgB,CAAA;IAChB,2GAA4B,CAAA;AAC9B,CAAC,EANW,sBAAsB,sCAAtB,sBAAsB,QAMjC;AAED,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC9B,yEAAa,CAAA;IACb,6EAAe,CAAA;IACf,6EAAe,CAAA;AACjB,CAAC,EAJW,oBAAoB,oCAApB,oBAAoB,QAI/B;AAOD,IAAY,sBAKX;AALD,WAAY,sBAAsB;IAChC,6CAAmB,CAAA;IACnB,2CAAiB,CAAA;IACjB,iDAAuB,CAAA;IACvB,+CAAqB,CAAA;AACvB,CAAC,EALW,sBAAsB,sCAAtB,sBAAsB,QAKjC;AAiSM,IAAM,aAAa,GAAG,UAC3B,KAAoC;IAEpC,OAAA,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,UAAU,CAAC;AAAvD,CAAuD,CAAC;AAH7C,QAAA,aAAa,iBAGgC","sourcesContent":["import { TradingApiSource } from './trading-api-types';\nimport { Stringified } from './api-types';\n\nimport {\n CoreCommandsEIP712SignatureAndPayload,\n EIP712Signature,\n} from './transactions';\nimport { JsonRpcSigner, Signer } from 'ethers';\n\nexport type Address = Lowercase<string>;\nexport type TokenName = Uppercase<string>;\n\n// -- Markets --\nexport type MarketOrderInfo = {\n counterpartyAccountIds: number[];\n exchangeId: number;\n};\n\nexport type MarketEntity = {\n id: number;\n ticker: string;\n underlyingAsset: string;\n quoteToken: string;\n quoteTokenId: string;\n markPrice: number;\n isActive: boolean;\n maxLeverage: number;\n volume24H: number;\n priceChange24H: number;\n priceChange24HPercentage: number;\n marketPriceDeviation: number;\n openInterest: number;\n fundingRate: number;\n fundingRateAnnualized: number;\n description: string;\n orderInfo: MarketOrderInfo;\n tickSizeDecimals: number;\n minOrderSize: number;\n minOrderSizeBase: number;\n baseSpacing: number;\n priceSpacing: number;\n longOI: number;\n shortOI: number;\n longSkewPercentage: number;\n shortSkewPercentage: number;\n availableLong: number;\n availableShort: number;\n};\n\nexport enum ReyaChainId {\n reyaNetwork = 1729,\n reyaCronos = 89346162,\n}\n\nexport enum MoneyInOutChainId {\n // mainnet\n ethereumMainnet = 1,\n opMainnet = 10,\n polygonMainnet = 137,\n arbitrumOne = 42161,\n baseMainnet = 8453,\n // testnet\n arbitrumSepolia = 421614,\n opSepolia = 11155420,\n ethereumSepolia = 11155111,\n}\n\nexport enum CandlesResolution {\n ONE_MINUTE = '1MIN',\n FIVE_MINUTES = '5MINS',\n FIFTEEN_MINUTES = '15MINS',\n THIRTY_MINUTES = '30MINS',\n ONE_HOUR = '1HOUR',\n FOUR_HOURS = '4HOURS',\n ONE_DAY = '1DAY',\n}\n\n// -- Candles --\nexport interface Candle {\n id: string;\n startedAt: string;\n ticker: string;\n resolution: CandlesResolution;\n low: string;\n high: string;\n open: string;\n close: string;\n baseTokenVolume: string;\n usdVolume: string;\n trades: number;\n startingOpenInterest: string;\n}\n\n// -- Account --\n\nexport type Status = 'OPEN' | 'CLOSED' | 'LIQUIDATED' | 'FILLED';\nexport type Side = 'long' | 'short';\n\nexport type CollateralEntity = {\n token: string;\n address: string;\n percentage: number;\n balance: number;\n balanceRUSD: number;\n balanceWithHaircutRUSD: number;\n exchangeRate: number;\n exchangeRateWithHaircut: number;\n exchangeRateChange24HPercentage: number;\n yieldPercentage?: number;\n};\n\nexport type CollateralWithHaircut = {\n address: string;\n priceHaircut: number;\n};\n\nexport type MarginAccountEntity = {\n id: number;\n name: string;\n marginRatioHealth: 'danger' | 'healthy' | 'warning';\n marginRatioPercentage: number;\n marginRatioHealthDangerThreshold: number;\n marginRatioHealthWarningThreshold: number;\n isApproachingLiquidation: boolean;\n isLiquidationImminent: boolean;\n totalBalance: number;\n liquidationMarginRequirement: number;\n totalBalanceUnderlyingAsset: string;\n totalBalanceChange24HPercentage: number;\n totalBalanceWithHaircut: number;\n livePnL: number;\n livePnLUnderlyingAsset: string;\n realizedPnL: number;\n realizedPnLUnderlyingAsset: string;\n realizedPnlHistoryTotal: number;\n totalPositionsCount: number;\n collaterals: CollateralEntity[];\n positions: PositionEntity[];\n};\n\nexport type ConditionalOrdersInfo = {\n stopLoss?: {\n stopLossPrice: number;\n orderId: string;\n };\n takeProfit?: {\n takeProfitPrice: number;\n orderId: string;\n };\n};\n\nexport type PositionEntity = {\n id: number;\n side: Side;\n size: number;\n base: number;\n price: number;\n conditionalOrdersInfo?: ConditionalOrdersInfo;\n markPrice: number;\n orderStatus: Status;\n realisedPnl: number;\n priceVariationPnl: number;\n livePnL: number;\n fundingPnl: number;\n unrealisedPnl: number;\n liquidationPrice: number;\n marketId: number;\n accountId: number;\n};\n\nexport type TradingHistoryEntity = {\n id: string;\n price: number;\n size: number;\n timestampMillisecondsUTC: number;\n};\n\nexport type OrderType = 'market';\n\nexport type OrderHistoryType =\n | 'long-trade'\n | 'short-trade'\n | 'long-liquidation'\n | 'short-liquidation';\n\nexport type OrderHistoryEntity = {\n id: string;\n action: OrderHistoryType;\n orderType: OrderType;\n base: number;\n executionPrice: number;\n realisedPnl?: number | null;\n priceVariationPnl: number;\n fundingPnl: number;\n fees: number;\n openingFees: number;\n timestamp: number;\n marketId?: number;\n xpEarned: number;\n};\n\nexport type ApyDetails = {\n dailyApy: number;\n weeklyApy: number;\n monthlyApy: number;\n};\n\nexport type LpPoolEntity = {\n id: number;\n name: string;\n description: string;\n longDescription: string;\n readMoreLink: string;\n currentAPY: number;\n apyDetails: ApyDetails;\n apyChange24H: number;\n tokenAddress: Address;\n token: string;\n minDepositAmount: number;\n minWithdrawAmount: number;\n stepSize: number;\n allowedChainsForLiquidity: MoneyInOutChainId[];\n moneyInOutConfiguration: MoneyInOutConfiguration;\n};\n\nexport type MoneyInOutConfiguration = {\n [key in MoneyInOutChainId]?: {\n minWithdrawAmount?: number;\n };\n};\n\nexport type MoneyInOutConfigurationPerTokenName = {\n [key in TokenName]?: MoneyInOutConfiguration;\n};\n\nexport type LpWithdrawBalanceEntity = {\n withdrawableBalance: number;\n poolSharePrice: number;\n accountShareBalance: number;\n balanceBreakdown: {\n [coinName: string]: {\n balance: number;\n priceTokenToRusd: number;\n tokenAddress: string;\n };\n };\n};\n\nexport type TransactionHistoryType = 'deposit' | 'withdrawal';\n\nexport type LpTransactionHistoryEntity = {\n id: number;\n type: TransactionHistoryType;\n token: string;\n share: number;\n tokenAddress: string;\n amount: number;\n transactionLink: string;\n timestamp: number;\n};\n\nexport type LpPositionEntity = {\n id: number;\n capitalInvested: number;\n currentBalance: number;\n pnl: number;\n lpPool: LpPoolEntity;\n};\n\nexport type MarginAccountTransactionHistoryType =\n | 'deposit'\n | 'withdrawal'\n | 'transfer'\n | 'auto_exchange_deposit'\n | 'auto_exchange_withdrawal';\n\nexport type MarginAccountTransactionStatus = 'confirmed' | 'pending';\n\nexport type MarginAccountTransactionHistoryEntity = {\n id: number;\n type: MarginAccountTransactionHistoryType;\n token: string;\n amount: number;\n transactionLink: string;\n status: MarginAccountTransactionStatus;\n timestamp: number;\n};\n\nexport type ReferralFeeTransactionHistoryEntity = {\n id: number;\n referee_wallet_address: string;\n token: string;\n amount: number;\n transactionLink: string;\n timestamp: number;\n};\n\nexport type TokenEntity = {\n name: TokenName;\n address: Address;\n};\n\n// --- Lp Pool Balance ---\nexport enum LpBalanceGranularity {\n ONE_MINUTE = 60 * 1000,\n ONE_HOUR = 60 * 60 * 1000,\n ONE_DAY = 24 * 60 * 60 * 1000,\n ONE_WEEK = 7 * 24 * 60 * 60 * 1000,\n ONE_MONTH = 30 * 24 * 60 * 60 * 1000,\n ONE_YEAR = 365 * 24 * 60 * 60 * 1000,\n}\n\n// - LP Account Performance -\nexport type GetLpPoolPerformanceChartDataResult = {\n capitalInvestedData: {\n timestampInMs: number;\n value: number;\n }[];\n balanceData: {\n timestampInMs: number;\n value: number;\n }[];\n balance: number;\n balanceChangePercentage: number;\n capitalInvested: number;\n capitalInvestedChangePercentage: number;\n};\n\nexport type SocketTokenConnectors = {\n deposit: Address;\n withdraw: Address;\n};\n\nexport type GetSocketConnectorsParams = {\n moneyInOutChainId: MoneyInOutChainId;\n tokenName: TokenName;\n};\n\nexport type GetSocketVaultParams = {\n moneyInOutChainId: MoneyInOutChainId;\n tokenName: TokenName;\n};\n\nexport type GetMoneyInOutChainIdFromReyaConnectorParams = {\n reyaChainId: ReyaChainId;\n tokenName: TokenName;\n socketConnector: Address;\n};\n\nexport type GetSocketBridgeTimeParams = {\n moneyInOutChainId: MoneyInOutChainId;\n};\n\nexport type GetSocketBridgeTimeResult = {\n bridgeTimeInMS: number;\n};\n\nexport type GetSocketWithdrawMsgGasLimitParams = {\n moneyInOutChainId: MoneyInOutChainId;\n};\n\nexport type GetSocketWithdrawMsgGasLimitResult = {\n msgGasLimit: bigint;\n};\n\nexport type SocketDepositFeesEntry = {\n moneyInOutChainId: MoneyInOutChainId;\n tokenName: TokenName;\n fees: bigint;\n};\n\nexport type SocketWithdrawFeesEntry = {\n moneyInOutChainId: MoneyInOutChainId;\n tokenName: TokenName;\n fees: bigint;\n};\n\nexport type SocketDepositFees = {\n fees: bigint;\n feesInUnderlyingToken: number;\n underlyingTokenName: TokenName;\n};\n\nexport type SocketWithdrawFees = {\n fees: bigint;\n feesInUnderlyingToken: number;\n underlyingTokenName: TokenName;\n};\n\nexport type GetSocketWithdrawFeesParams = {\n reyaChainId: ReyaChainId;\n tokenAddress: TokenEntity['address'];\n};\n\nexport type GetSocketWithdrawFeesResult = {\n fees: number;\n};\n\n// --- Margin Account Balance ---\nexport enum MarginAccountBalanceGranularity {\n ONE_MINUTE = 60 * 1000,\n ONE_HOUR = 60 * 60 * 1000,\n ONE_DAY = 24 * 60 * 60 * 1000,\n ONE_WEEK = 7 * 24 * 60 * 60 * 1000,\n ONE_MONTH = 30 * 24 * 60 * 60 * 1000,\n ONE_YEAR = 365 * 24 * 60 * 60 * 1000,\n}\n\nexport type GetMarginAccountBalanceChartDataResult = {\n balanceData: {\n timestampInMs: number;\n value: number;\n }[];\n balance: number;\n balanceChangePercentage: number;\n};\n\n// --- Margin Account Collaterals Balance ---\nexport enum MarginAccountCollateralsBalanceGranularity {\n ONE_MINUTE = 60 * 1000,\n ONE_HOUR = 60 * 60 * 1000,\n ONE_DAY = 24 * 60 * 60 * 1000,\n ONE_WEEK = 7 * 24 * 60 * 60 * 1000,\n ONE_MONTH = 30 * 24 * 60 * 60 * 1000,\n ONE_YEAR = 365 * 24 * 60 * 60 * 1000,\n}\n\nexport type GetMarginAccountCollateralsBalanceChartDataResult = {\n data: {\n balanceData: {\n timestampInMs: number;\n value: number;\n }[];\n token: string;\n }[];\n balance: number;\n balanceChangePercentage: number;\n};\n\nexport type OwnerMetadataEntity = {\n address: Address;\n coreSigNonce: number;\n poolSigNonce: number;\n};\n\nexport type GetAllMarginAccountsBalanceChartDataResult = {\n balanceData: {\n timestampInMs: number;\n value: number;\n }[];\n balance: number;\n balanceChangePercentage: number;\n};\n\nexport enum AllMarginAccountsBalanceGranularity {\n ONE_MINUTE = 60 * 1000,\n ONE_HOUR = 60 * 60 * 1000,\n ONE_DAY = 24 * 60 * 60 * 1000,\n ONE_WEEK = 7 * 24 * 60 * 60 * 1000,\n ONE_MONTH = 30 * 24 * 60 * 60 * 1000,\n ONE_YEAR = 365 * 24 * 60 * 60 * 1000,\n}\n\n// --- Funding Rate History ----\nexport enum FundingRateHistoryGranularity {\n ONE_MINUTE = 60 * 1000,\n ONE_HOUR = 60 * 60 * 1000,\n ONE_DAY = 24 * 60 * 60 * 1000,\n ONE_WEEK = 7 * 24 * 60 * 60 * 1000,\n ONE_MONTH = 30 * 24 * 60 * 60 * 1000,\n ONE_YEAR = 365 * 24 * 60 * 60 * 1000,\n}\nexport type GetFundingRateChartDataResult = {\n fundingRateData: {\n timestampInMs: number;\n value: number;\n }[];\n fundingRate: number;\n};\nexport type GetCurrentFundingRateResult = {\n value: number;\n timestamp: number;\n};\n\nexport type GetInstantPoolPriceResult = {\n poolPrice: number;\n poolSlippage: number;\n oraclePrice: number;\n};\n\nexport type GetBalancesForBridgeArgs = {\n walletAddress: string;\n};\n\nexport type DepthSimulationState = {\n spotPrice: number;\n depthFactor: number;\n maxOrderSizeLong: number;\n maxOrderSizeShort: number;\n netExposure: number;\n};\n\nexport type GetLpPoolDepthChartSimulationDataResult = DepthSimulationState;\n\nexport type SignatureData = {\n signature: string;\n timestamp: number;\n walletAddress: Address;\n version: string;\n};\n\nexport type SaveSignatureResult = {\n signatureSavedSuccessfully: boolean;\n};\n\n// --- Community ----\nexport type VoteDetailsEntity = {\n id: number;\n startDate: number; // timestamp in UTC milliseconds\n endDate: number; // timestamp in UTC milliseconds\n percentageToPass: number; // Example: 4%\n yesCount: number;\n noCount: number;\n voteCountToPass: number; // Example: 1453\n slug: string;\n title: string;\n // Free text, each newline represents paragraph. UI splits by \\n atm to keep stuff simple\n description: string;\n};\n\nexport type VoteContractDetailsEntity = {\n id: number;\n contractAddress: Address;\n};\n\nexport type VoteStatusEntity = {\n votingPower: number;\n hasVoted: boolean;\n};\n\nexport type SbtMintedStatusEntity = {\n ownerAddress: string;\n isEligible: boolean;\n hasMinted: boolean;\n};\n\nexport type GetLpTvlResult = {\n currentTVL: number;\n currentLiquidity: number;\n};\n\nexport type Rank = {\n rankNumber: number;\n rankLetter: string;\n rankName: string;\n};\n\nexport type RankTrading = {\n rankNumber: number;\n rankName: string;\n};\n\nexport type GetWalletReferralDetailsParams = {\n address: string;\n};\n\nexport type GetWalletReferralDetailsResult = {\n totalReferralsCount: number;\n totalReferralXP: number;\n tradingRebateFee: number;\n tradingXp: number;\n liquidityXp: number;\n isAffiliate: boolean;\n};\n\nexport type GetWalletReferralCodeParams = {\n address: string;\n};\n\nexport type GetWalletReferralCodeResult = {\n referralCode: string;\n};\n\nexport type TokenEntityWithMinValue = TokenEntity & {\n minDepositAmount: number;\n minWithdrawAmount: number;\n minTransferAmount: number;\n};\n\nexport type TokenInfo = {\n name: TokenName;\n address: Address;\n decimals: number;\n isRUSDUnderlying: boolean;\n minDepositAmount: number;\n minWithdrawAmount: number;\n minTransferAmount: number;\n whitelistedWalletOnly?: boolean;\n isElixirToken?: boolean;\n isLmToken?: boolean;\n isPoolToken?: boolean;\n};\n\n// --- TOS ----\n\nexport type TRMRiskAssessment = {\n accountExternalId: string;\n address: string;\n addressRiskIndicators: TMRRiskIndicator[];\n addressSubmitted: string;\n chain: string;\n entities: unknown[];\n trmAppUrl: string;\n};\n\nexport type TMRRiskIndicator = {\n category: string;\n categoryId: string;\n categoryRiskScoreLevel: number;\n categoryRiskScoreLevelLabel: string;\n incomingVolumeUsd: string;\n outgoingVolumeUsd: string;\n riskType: string;\n totalVolumeUsd: string;\n};\n\n// todo: deprecate after 1st tac client is deprecated\nexport type ToSVersionDetails = {\n text: string;\n version: string;\n creationTimestamp: number; // in MS\n};\n\nexport type ToSProductVersionDetails = {\n shortText: string;\n longText: string;\n version: string;\n creationTimestamp: number; // in MS\n product: string;\n};\n\nexport type SocketBridgeTransactionPoolStatus =\n | 'pending'\n | 'confirmed'\n | 'failed';\n\nexport type IpInfo = {\n ip: string;\n hostname: string;\n city: string;\n region: string;\n country: string;\n loc: string;\n org: string;\n postal: string;\n timezone: string;\n privacy: {\n vpn: boolean;\n proxy: boolean;\n tor: boolean;\n relay: boolean;\n hosting: boolean;\n service: string;\n };\n countryCode: string;\n countryFlag: {\n emoji: string;\n unicode: string;\n };\n countryFlagURL: string;\n countryCurrency: {\n code: string;\n symbol: string;\n };\n continent: {\n code: string;\n name: string;\n };\n isEU: boolean;\n};\n\nexport interface CandleMessage {\n /** Stringified JSON object of all events to be streamed. */\n contents: string;\n /** Clob pair id of the Candle message. */\n\n clobPairId: string;\n /** Resolution of the candle update. */\n\n resolution: string;\n /** Version of the websocket message. */\n\n version: string;\n}\n\nexport interface PriceMessage {\n contents: string;\n assetPairId: string;\n version: string;\n}\n\nexport interface FundingRateMessage {\n contents: string;\n assetPairId: string;\n version: string;\n}\n\nexport interface MarketsUpdateMessage {\n contents: string;\n version: string;\n id: string;\n}\n\nexport enum CandleResolution {\n ONE_MINUTE = '1MIN',\n FIVE_MINUTES = '5MINS',\n FIFTEEN_MINUTES = '15MINS',\n THIRTY_MINUTES = '30MINS',\n ONE_HOUR = '1HOUR',\n FOUR_HOURS = '4HOURS',\n ONE_DAY = '1DAY',\n}\n\nexport type TransactionExecutionMetadata = {\n accountName?: string;\n accountSource?: string;\n accountId?: number;\n marketId?: number;\n destinationType?: 'pool' | 'account';\n action?: 'matchOrder' | 'closeOrder' | 'createAccount';\n tradeSource?: 'reya' | 'rage' | 'other';\n sender?: string;\n matchOrder?: {\n eip712Payload: CoreCommandsEIP712SignatureAndPayload['payload'];\n userEIP712Signature: EIP712Signature;\n };\n};\n\nexport type TransactionExecutionOutput = {\n txHash: string | null;\n errorMessage?: string;\n accountId?: string | null;\n coreSigNonce?: string | null;\n poolSigNonce?: string | null;\n miscellaneous?: {\n tradeXpBoost?: number;\n lotteryXpBoost?: number;\n xpNftAwarded?: boolean;\n xpEarned?: number;\n };\n tradeDetails?: {\n executionPrice?: number;\n base?: number;\n };\n positions?: {\n market_id: string;\n account_id: string;\n base: string | null;\n realized_pnl: string | null;\n last_price: string | null;\n position_data_last_price_data_timestamp: string | null;\n funding_value: string | null;\n base_multiplier: string | null;\n adl_unwind_price: string | null;\n transaction_hash: string;\n block_timestamp: string | null;\n block_number: string;\n unique_id: string | null;\n }[];\n orders?: {\n id: string;\n market_id: string | null;\n account_id: string | null;\n order_base: string | null;\n fee: string | null;\n price: string | null;\n type: string;\n processed: boolean;\n transaction_hash: string;\n block_timestamp: string | null;\n block_number: string;\n source: string | null;\n unique_id: string | null;\n }[];\n accounts?: Omit<\n Stringified<TradingApiSource['wallet/:address/accounts']['response'][0]>,\n 'status'\n >[];\n //orderAndPositionUpdate?: Stringified<PassivePerpOrderAndPositionUpdate>[];\n};\n\nexport type CanonicalReleaseStatus = 'pending' | 'ready' | 'completed';\n\ntype PendingWithdrawalStatus = {\n status: 'pending';\n};\n\ntype ReadyWithdrawalStatus = {\n status: 'ready';\n txHash: string;\n};\n\nexport type PendingWithdrawal = {\n tokenAmount: number;\n} & (PendingWithdrawalStatus | ReadyWithdrawalStatus);\n\nexport enum OrdersGatewayOrderType {\n STOP_LOSS = 0,\n TAKE_PROFIT = 1,\n LIMIT_ORDER = 2,\n MARKET_ORDER = 3,\n REDUCE_ONLY_MARKET_ORDER = 4,\n}\n\nexport enum ConditionalOrderType {\n STOP_LOSS = 0,\n TAKE_PROFIT = 1,\n LIMIT_ORDER = 2,\n}\n\nexport type ConditionalOrderTypeName =\n | 'Stop Loss'\n | 'Take Profit'\n | 'Limit Order';\n\nexport enum ConditionalOrderStatus {\n PENDING = 'pending',\n FILLED = 'filled',\n CANCELLED = 'cancelled',\n REJECTED = 'rejected',\n}\n\nexport type ConditionalOrder = {\n orderId: string;\n accountId: number;\n marketId: number;\n orderType: ConditionalOrderTypeName;\n isLong: boolean;\n triggerPrice: number;\n signerWallet: string;\n nonce: string;\n signature: string;\n eip712Signature: EIP712Signature;\n status: ConditionalOrderStatus;\n creationTimestampMs: number;\n lastUpdateTimestampMs: number;\n base: number;\n exchangeId: number;\n inputs: string;\n counterpartyAccountId: number;\n};\n\nexport type UnifiedConditionalOrderType = {\n orderId: string;\n accountId: number;\n marketId: number;\n base: number | null; // null when order is cancelled\n isLong: boolean;\n price: number;\n status: ConditionalOrderStatus;\n orderType: ConditionalOrderTypeName;\n timestampMs: number;\n};\n\nexport type IsDiscordLinkedParams = {\n address: string;\n};\nexport type IsDiscordLinkedResult = {\n isLinked: boolean;\n};\nexport type LinkDiscordParams = {\n discordAccessToken: string;\n signer: Signer | JsonRpcSigner;\n};\nexport type LinkDiscordResult = void;\nexport type UnlinkDiscordParams = {\n address: string;\n discordAccessToken: string;\n};\nexport type UnlinkDiscordResult = void;\nexport type ClaimDiscordRankParams = {\n address: string;\n discordAccessToken: string;\n};\nexport type ClaimDiscordRankResult = void;\n\nexport type IsDiscordRankClaimedParams = {\n address: string;\n};\nexport type IsDiscordRankClaimedResult = {\n isClaimed: boolean;\n};\n\nexport interface ApiErrorResponse {\n response: {\n status: number;\n data: {\n error: string;\n };\n };\n}\n\n// ref: https://github.com/tkhq/sdk/blob/08e2b8c30848498ed0850aa1e1ede67775b001e5/packages/http/src/__generated__/\n// services/coordinator/public/v1/public_api.types.ts\nexport type V1Attestation = {\n /** @description The cbor encoded then base64 url encoded id of the credential. */\n credentialId: string;\n /** @description A base64 url encoded payload containing metadata about the signing context and the challenge. */\n clientDataJson: string;\n /** @description A base64 url encoded payload containing authenticator data and any attestation the webauthn provider chooses. */\n attestationObject: string;\n /** @description The type of authenticator transports. */\n transports: V1AuthenticatorTransport[];\n};\n\nexport type V1AuthenticatorTransport =\n | 'AUTHENTICATOR_TRANSPORT_BLE'\n | 'AUTHENTICATOR_TRANSPORT_INTERNAL'\n | 'AUTHENTICATOR_TRANSPORT_NFC'\n | 'AUTHENTICATOR_TRANSPORT_USB'\n | 'AUTHENTICATOR_TRANSPORT_HYBRID';\n\nexport type AutoExchangeEvent = {\n accountId: number;\n collateralOut: {\n address: string;\n name: TokenName;\n };\n collateralIn: {\n address: string;\n name: TokenName;\n };\n amountCollateralOutToLiquidator: number;\n amountCollateralInToAccount: number;\n blockTimestamp: number;\n blockNumber: number;\n transactionHash: string;\n uniqueId: number;\n};\n\n// on-chain events (consider pushing into a separate file)\nexport type PositionDataUpdatedDetails = {\n marketId: string;\n accountId: string;\n // todo: p1: argument names don't align with the on-chain event\n orderBase: string;\n realisedPnl: string;\n lastPrice: string;\n lastPriceTimestamp: string;\n fundingValue: string;\n baseMultiplier: string;\n adlUnwindPrice: string;\n blockTimestamp: string;\n transactionHash: string;\n blockNumber: number;\n uniqueId: string;\n};\n\nexport type MatchOrderDetails = {\n uniqueId: string;\n transactionHash: string;\n accountId: number;\n marketId: number;\n sizeNotional: number;\n base: number;\n price: number;\n};\n\nexport type GetLpPoolPositionRPCResponse = {\n poolPositionShareBalance: number; // amount of srUSD in the pool held by the account\n poolPositionBalance: number; // amount of rUSD in the pool held by the account\n poolTotalBalance: number; // total amount of rUSD in the pool\n sharePrice: number; // share price of the pool\n};\n\ninterface MatchOrderFees {\n protocolFeeCredit: bigint;\n exchangeFeeCredit: bigint;\n takerFeeDebit: bigint;\n makerPayments: bigint[];\n referrerFeeCredit: bigint;\n}\n\ninterface PositionDataOld {\n base: bigint;\n realizedPnL: bigint;\n lastPriceData: {\n price: bigint;\n timestamp: bigint;\n };\n trackers: {\n fundingValue: bigint;\n baseMultiplier: bigint;\n adlUnwindPrice: bigint;\n };\n}\n\nexport interface PassivePerpOrderAndPositionUpdate {\n id: string;\n marketId: bigint;\n accountId: bigint;\n counterpartyAccountId: bigint;\n executedBase: bigint;\n matchOrderFees: MatchOrderFees;\n executedPrice: bigint;\n referrerAccountId: bigint;\n isMatchOrder: boolean;\n liquidationType: bigint;\n positionData: PositionDataOld;\n counterpartyPositionData: PositionDataOld;\n blockTimestamp: bigint;\n blockNumber: string;\n transactionHash: string;\n uniqueId: bigint;\n}\n\nexport type AssetPair =\n | 'ETHUSD'\n | 'WSTETHUSD'\n | 'USDCUSD'\n | 'USDEUSD'\n | 'SUSDEUSD'\n | 'DEUSDUSD'\n | 'SDEUSDDEUSD'\n | 'REYALM#SELINIUSDC'\n | 'REYALM#AMBERUSDC'\n | 'REYALM#HEDGEUSDC'\n | 'REYAPOOL#1'\n | 'ETHUSDMARK'\n | 'BTCUSDMARK'\n | 'SOLUSDMARK'\n | 'ARBUSDMARK'\n | 'OPUSDMARK'\n | 'AVAXUSDMARK'\n | 'MKRUSDMARK'\n | 'LINKUSDMARK'\n | 'AAVEUSDMARK'\n | 'CRVUSDMARK'\n | 'UNIUSDMARK'\n | 'SUIUSDMARK'\n | 'TIAUSDMARK'\n | 'SEIUSDMARK'\n | 'ZROUSDMARK'\n | 'XRPUSDMARK'\n | 'WIFUSDMARK'\n | '1000PEPEUSDMARK'\n | 'POPCATUSDMARK'\n | 'DOGEUSDMARK'\n | '1000SHIBUSDMARK'\n | '1000BONKUSDMARK'\n | 'APTUSDMARK'\n | 'BNBUSDMARK'\n | 'JTOUSDMARK'\n | 'ADAUSDMARK'\n | 'LDOUSDMARK'\n | 'POLUSDMARK'\n | 'NEARUSDMARK'\n | 'FTMUSD'\n | 'ENAUSDMARK'\n | 'EIGENUSDMARK'\n | 'PENDLEUSDMARK'\n | 'GOATUSDMARK'\n | 'GRASSUSDMARK'\n | '1000NEIROUSDMARK'\n | 'DOTUSDMARK'\n | 'LTCUSDMARK'\n | 'PYTHUSDMARK'\n | 'JUPUSDMARK'\n | 'PENGUUSDMARK'\n | 'TRUMPUSDMARK'\n | 'HYPEUSDMARK'\n | 'VIRTUALUSDMARK'\n | 'AI16ZUSDMARK'\n | 'AIXBTUSDMARK'\n | 'SUSDMARK'\n | 'FARTCOINUSDMARK'\n | 'GRIFFAINUSDMARK'\n | 'WLDUSDMARK'\n | 'ATOMUSDMARK'\n | 'APEUSDMARK'\n | 'TONUSDMARK'\n | 'ONDOUSDMARK'\n | 'TRXUSDMARK'\n | 'INJUSDMARK'\n | 'MOVEUSDMARK'\n | 'BERAUSDMARK'\n | 'LAYERUSDMARK'\n | 'TAOUSDMARK'\n | 'IPUSDMARK'\n | 'MEUSDMARK'\n | 'PUMPUSDMARK'\n | 'MORPHOUSDMARK'\n | 'SYRUPUSDMARK'\n | 'AEROUSDMARK'\n | 'KAITOUSDMARK'\n | 'ZORAUSDMARK'\n | 'PROVEUSDMARK'\n | 'PAXGUSDMARK'\n | 'YZYUSDMARK'\n | 'XPLUSDMARK';\n\nexport type DerivedAssetPair = 'SDEUSDUSD';\n\nexport type ContractId = string;\n\nexport type MarketPrice = {\n marketId: number;\n price: string;\n oraclePrice: string;\n poolPrice: string;\n updatedAt: number;\n};\n\nexport type CollateralPrice = {\n address: string;\n oraclePrice: string;\n updatedAt: number;\n};\n\nexport const isMarketPrice = (\n price: MarketPrice | CollateralPrice,\n): price is MarketPrice =>\n Object.prototype.hasOwnProperty.call(price, 'marketId');\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reyaxyz/common",
3
- "version": "0.298.0",
3
+ "version": "0.300.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -44,5 +44,5 @@
44
44
  "generate:coverage-badges": "npx istanbul-badges-readme --silent"
45
45
  },
46
46
  "packageManager": "pnpm@8.3.1",
47
- "gitHead": "283109fe6847dd81854aa6e52d0d51c796926cb1"
47
+ "gitHead": "5f14785ec752b1854f162fadb309681e42bbc350"
48
48
  }
package/src/types.ts CHANGED
@@ -300,15 +300,6 @@ export type TokenEntity = {
300
300
  address: Address;
301
301
  };
302
302
 
303
- // Raw XP Data from database queries
304
- export type RawXpDataEntry = {
305
- wallet_address: string;
306
- timestamp_ms: bigint;
307
- total_xp: number | null;
308
- liquidity_xp: number | null; // Corresponds to staking XP
309
- trading_xp: number | null;
310
- season_number?: number; // Optional, as XpV4Cached won't have it directly
311
- };
312
303
  // --- Lp Pool Balance ---
313
304
  export enum LpBalanceGranularity {
314
305
  ONE_MINUTE = 60 * 1000,
@@ -553,62 +544,11 @@ export type SbtMintedStatusEntity = {
553
544
  hasMinted: boolean;
554
545
  };
555
546
 
556
- // --- XP ----
557
- export type XPEntity = {
558
- value: number;
559
- valueTimestampMilliseconds: number;
560
- rate: number;
561
- };
562
-
563
- export type GetAccountLGEStatusParams = {
564
- address: string; // wallet address
565
- };
566
-
567
- export type GetAccountLGEStatusResult = {
568
- xp: XPEntity;
569
- currentBoost: number;
570
- lgeBoost: number;
571
- tranches: TrancheEntity[];
572
- tranchesOG: TrancheEntity | null;
573
- randomBoost: number;
574
- deposited: number;
575
- // TODO: deprecate once UI and API are released
576
- currentTVL: number;
577
- // TODO: deprecate once UI and API are released
578
- currentLiquidity: number;
579
- };
580
-
581
- export type GetAccountTradingXPParams = {
582
- address: string; // wallet address
583
- };
584
-
585
- export type GetAccountTradingXPResult = {
586
- xp: XPEntity;
587
- currentBoost: number;
588
- openBase: number;
589
- };
590
-
591
547
  export type GetLpTvlResult = {
592
548
  currentTVL: number;
593
549
  currentLiquidity: number;
594
550
  };
595
551
 
596
- export type LeaderboardEntity = {
597
- address: string;
598
- currentBoost: number;
599
- liquidityXp: number;
600
- // current rank for user (fish, whale, shrimp)
601
- rank: number;
602
- // leaderboard ranking 1,2,3...1230,...
603
- ranking: number;
604
- tradingXp: number;
605
- referralXp: number;
606
- // TODO: XP-V4 add logic for this field
607
- rebalancingXp: number;
608
- voltzXp: number;
609
- totalXp: XPEntity;
610
- };
611
-
612
552
  export type Rank = {
613
553
  rankNumber: number;
614
554
  rankLetter: string;
@@ -620,172 +560,6 @@ export type RankTrading = {
620
560
  rankName: string;
621
561
  };
622
562
 
623
- export type LeaderboardEntityV2 = {
624
- address: string;
625
- currentBoost: number;
626
- liquidityXp: number;
627
- // current rank for user (fish, whale, shrimp)
628
- rank: Rank;
629
- promotion: 'rankUp' | 'rankDown' | 'stale';
630
- // leaderboard ranking 1,2,3...1230,...
631
- ranking: number;
632
- tradingXp: number;
633
- referralXp: number;
634
- // TODO: XP-V4 add logic for this field
635
- rebalancingXp: number;
636
- voltzXp: number;
637
- totalXp: XPEntity;
638
- weeklyXp: number;
639
- weeklyXpEntity: XPEntity;
640
- };
641
-
642
- export type TradingLeaderboardEntity = {
643
- address: string;
644
- currentBoost: number;
645
- // current rank for user (fish, whale, shrimp)
646
- rank: RankTrading;
647
- promotion: 'rankUp' | 'rankDown' | 'stale';
648
- // leaderboard ranking 1,2,3...1230,...
649
- ranking: number;
650
- tradingXp: number;
651
- referralXp: number;
652
- totalXp: XPEntity;
653
- weeklyXp: number;
654
- weeklyXpEntity: XPEntity;
655
- volume: number;
656
- weeklyVolume: number;
657
- };
658
-
659
- export type UserLeaderboardDataEntity = LeaderboardEntity & {
660
- claimedRank: number;
661
- currentRankPoints: number;
662
- nextRankPoints: number;
663
- nftStatus: 'collected' | 'notCollected' | 'burnt' | 'minted' | null;
664
- };
665
-
666
- export type TrancheEntity = {
667
- value: number;
668
- boost: number;
669
- timestampMs: number;
670
- loyaltyBoost: number;
671
- isAutoExchange: boolean;
672
- };
673
-
674
- export type UserLeaderboardDataV2Entity = LeaderboardEntityV2 & {
675
- claimedRank: number;
676
- currentRankPoints: number;
677
- nextRankPoints: number;
678
- totalNfts: number;
679
- claimedNfts: number;
680
- nftStatus: 'collected' | 'notCollected' | 'burnt' | 'minted' | null;
681
- timeUntilRankingEvent: number;
682
- openInterest: number;
683
- deposit: number;
684
- lgeBoost: number;
685
- extraBoost: number;
686
- tradingBoost: number;
687
- tranches: TrancheEntity[];
688
- tranchesOG: TrancheEntity | null;
689
- xpPerHour: number;
690
- };
691
-
692
- export type GetUserTradingLeaderboardDataResult = {
693
- address: string;
694
- rank: RankTrading;
695
- ranking: number;
696
- tradingXp: number;
697
- referralXp: number;
698
- weeklyXp: number;
699
- promotion: string;
700
- timeUntilRankingEvent: number;
701
- tradingBoost: number;
702
- lotteryXp: number;
703
- weeklyXpEntity: XPEntity;
704
- totalXp: number;
705
- referralRebateFee: number;
706
- volume: number;
707
- weeklyVolume: number;
708
- };
709
-
710
- export type GetLeaderboardParams = {
711
- page: number;
712
- perPage: number;
713
- };
714
-
715
- export type GetLeaderboardByRankParams = GetLeaderboardParams & {
716
- rankNumber: number;
717
- };
718
-
719
- export type GetLeaderboardResult = {
720
- data: LeaderboardEntity[];
721
- updateTimestampMilliseconds: number;
722
- totalCount: number;
723
- };
724
-
725
- export type GetLeaderboardByRankResult = {
726
- data: LeaderboardEntityV2[];
727
- updateTimestampMilliseconds: number;
728
- totalCount: number;
729
- };
730
-
731
- export type GetTradingLeaderboardByRankResult = {
732
- data: TradingLeaderboardEntity[];
733
- updateTimestampMilliseconds: number;
734
- totalCount: number;
735
- };
736
- export type ClaimRankParams = {
737
- address: string;
738
- };
739
-
740
- export type ClaimRankResult = {
741
- success: boolean;
742
- };
743
-
744
- export type GetUserLeaderboardDataParams = {
745
- address: string;
746
- };
747
-
748
- export type GetUserLeaderboardDataV2Params = GetUserLeaderboardDataParams;
749
-
750
- export type GetUserLeaderboardDataResult = UserLeaderboardDataEntity;
751
-
752
- export type GetUserLeaderboardDataV2Result = UserLeaderboardDataV2Entity;
753
-
754
- export type GetSeasonOGSnapshotParams = { address: string };
755
- export type GetLiquiditySeasonSnapshotsParams = { address: string };
756
- export type GetTradingSeasonSnapshotsParams = { address: string };
757
-
758
- export type GetTradingLotteryBoostStatusParams = { address: string };
759
-
760
- export type GetTradingLotteryBoostStatusResult = {
761
- status: 'notLockedIn' | 'lockedIn' | 'expired';
762
- boostRate: number;
763
- nextBoostStartTimestampMilliseconds: number;
764
- };
765
-
766
- export type GetSeasonOGSnapshotResult = {
767
- overallPosition: number;
768
- seasonNumber: number;
769
- totalXp: number;
770
- rank: Rank;
771
- };
772
-
773
- export type GetTradingSeasonSnapshotResult = {
774
- overallPosition: number;
775
- seasonNumber: number;
776
- totalXp: number;
777
- rank: RankTrading;
778
- };
779
- export type GetLiquiditySeasonSnapshotsResult = {
780
- total: number;
781
- data: GetSeasonOGSnapshotResult[];
782
- };
783
-
784
- export type GetTradingSeasonSnapshotsResult = {
785
- total: number;
786
- data: GetTradingSeasonSnapshotResult[];
787
- };
788
-
789
563
  export type GetWalletReferralDetailsParams = {
790
564
  address: string;
791
565
  };
@@ -807,36 +581,6 @@ export type GetWalletReferralCodeResult = {
807
581
  referralCode: string;
808
582
  };
809
583
 
810
- export type GetLockGameBoostTwitterUrlParams = {
811
- lockedInBoost: number;
812
- referralURL: string;
813
- };
814
-
815
- export type GetLockGameBoostTwitterUrlResult = {
816
- tweetURL: string;
817
- };
818
-
819
- export type GetReferralTwitterUrlParams = {
820
- referralURL: string;
821
- };
822
-
823
- export type GetReferralTwitterUrlResult = {
824
- tweetURL: string;
825
- };
826
-
827
- export type GetTradingRandomBoostParams = {
828
- address: string;
829
- marketId: number;
830
- };
831
-
832
- export type GetTradingRandomBoostResult = {
833
- boost: number;
834
- };
835
-
836
- export type GetUserTradingXpParams = {
837
- address: string;
838
- };
839
-
840
584
  export type TokenEntityWithMinValue = TokenEntity & {
841
585
  minDepositAmount: number;
842
586
  minWithdrawAmount: number;
@@ -1045,13 +789,6 @@ export type TransactionExecutionOutput = {
1045
789
  //orderAndPositionUpdate?: Stringified<PassivePerpOrderAndPositionUpdate>[];
1046
790
  };
1047
791
 
1048
- export type BurnNFTParams = {
1049
- address: string;
1050
- };
1051
-
1052
- // TODO: please fix implementation - we don't need boolean, void is fine
1053
- export type BurnNFTResult = boolean;
1054
-
1055
792
  export type CanonicalReleaseStatus = 'pending' | 'ready' | 'completed';
1056
793
 
1057
794
  type PendingWithdrawalStatus = {
@@ -1229,26 +966,6 @@ export type MatchOrderDetails = {
1229
966
  price: number;
1230
967
  };
1231
968
 
1232
- export type WinnerData = {
1233
- address: Address;
1234
- amount: number;
1235
- place: number;
1236
- };
1237
-
1238
- export type ExecutorData = {
1239
- address: Address;
1240
- timestampMs: number;
1241
- };
1242
-
1243
- export type GetLotteryWinnersResult = {
1244
- winners: Pick<WinnerData, 'address' | 'place'>[];
1245
- executor: ExecutorData;
1246
- };
1247
-
1248
- export type SelectLotteryWinnersParams = {
1249
- executorAddress: Address;
1250
- };
1251
-
1252
969
  export type GetLpPoolPositionRPCResponse = {
1253
970
  poolPositionShareBalance: number; // amount of srUSD in the pool held by the account
1254
971
  poolPositionBalance: number; // amount of rUSD in the pool held by the account
@@ -1379,7 +1096,8 @@ export type AssetPair =
1379
1096
  | 'ZORAUSDMARK'
1380
1097
  | 'PROVEUSDMARK'
1381
1098
  | 'PAXGUSDMARK'
1382
- | 'YZYUSDMARK';
1099
+ | 'YZYUSDMARK'
1100
+ | 'XPLUSDMARK';
1383
1101
 
1384
1102
  export type DerivedAssetPair = 'SDEUSDUSD';
1385
1103