@xoxno/sdk-js 1.0.206 → 1.0.209

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -845,6 +845,12 @@ sdk.stellarLending.stats.history(...); // StellarStatsHistoryDto
845
845
  // GET /stellar-lending/pnl
846
846
  sdk.stellarLending.pnl(...); // StellarPositionsPnlDto
847
847
 
848
+ // GET /stellar-lending/campaign/leaderboard
849
+ sdk.stellarLending.campaign.leaderboard(...); // StellarCampaignLeaderboardDto
850
+
851
+ // GET /stellar-lending/campaign/me
852
+ sdk.stellarLending.campaign.me(...); // StellarCampaignMeDto
853
+
848
854
  // GET /stellar-lending/positions
849
855
  sdk.stellarLending.positions(...); // StellarPositionsRankDto
850
856
 
@@ -124,9 +124,11 @@ export declare function buildStellarSetOracleToleranceTx(opts: StellarBuilderOpt
124
124
  lowerRatioBps?: number;
125
125
  }): BuiltStellarTx;
126
126
  /**
127
- * set_spoke_asset_flags(spoke_id, hub_asset, paused, frozen) — #[only_owner].
128
- * Flags-only listing edit; production callers route through the GUARDIAN-gated
129
- * governance forwarder (`buildStellarGovernanceSetSpokeAssetFlagsImmediateTx`).
127
+ * set_spoke_asset_flags(spoke_id, hub_asset, paused, frozen, no_seize) —
128
+ * #[only_owner]. Flags-only listing edit; production callers route through the
129
+ * GUARDIAN-gated governance forwarder
130
+ * (`buildStellarGovernanceSetSpokeAssetFlagsImmediateTx`). Every flag is a
131
+ * one-way ratchet here: clearing one requires the timelocked spoke-asset edit.
130
132
  */
131
133
  export declare function buildStellarSetSpokeAssetFlagsTx(opts: StellarBuilderOptions, args: {
132
134
  spokeId: number;
@@ -134,6 +136,8 @@ export declare function buildStellarSetSpokeAssetFlagsTx(opts: StellarBuilderOpt
134
136
  asset: string;
135
137
  paused: boolean;
136
138
  frozen: boolean;
139
+ /** Halts only the liquidation seizure leg for this listing (error 318). */
140
+ noSeize: boolean;
137
141
  }): BuiltStellarTx;
138
142
  /**
139
143
  * set_oracle_sanity_bounds(asset, min_wad, max_wad) — #[only_owner].
@@ -6,8 +6,6 @@
6
6
  * inlined rather than imported since `@xoxno/types` does not re-export its enums
7
7
  * on its top-level type surface.
8
8
  */
9
- /** Synthetic NFT collection ticker for Stellar lending accounts. */
10
- export declare const XOXNO_LENDING_STELLAR_TICKER = "XLENDXLM-a7c9f3";
11
9
  /**
12
10
  * A child delta's contribution to `eventOrder`: `base * STRIDE + childIndex`.
13
11
  * The stride bounds the number of child deltas per base event before two base
@@ -17,11 +15,13 @@ export declare const SYNTHETIC_EVENT_ORDER_STRIDE = 10000;
17
15
  /** `XoxnoLendingActivity` values used by the position activity mapping. */
18
16
  export type StellarLendingActivityType = 'lendingUpdateAccountPosition' | 'lendingLiquidateRepayDebt' | 'lendingLiquidateSeizeCollateral' | 'lendingUpdateAccountParameters';
19
17
  /**
20
- * Synthetic NFT identifier for a Stellar lending account, e.g.
21
- * `XLENDXLM-a7c9f3-2a` for account 42. The u64 account id is rendered as
22
- * even-length lowercase hex.
18
+ * NFT identifier for a Stellar lending account: the position-NFT contract
19
+ * address with the decimal account id (== token id) appended, e.g.
20
+ * `CDVN5…LPSY-42`. The account IS an on-chain NFT since the NFT-ownership
21
+ * protocol; the collection is the contract itself and there is no synthetic
22
+ * ticker or hex encoding anymore.
23
23
  */
24
- export declare function buildStellarLendingIdentifier(accountId: string): string;
24
+ export declare function buildStellarLendingIdentifier(positionNftContract: string, accountId: string): string;
25
25
  /**
26
26
  * Extract the base event order from a Soroban RPC event id (`<ledger>-<index>`).
27
27
  * Returns 0 when the id is malformed or has no index segment.
@@ -35,6 +35,16 @@ export declare function extractEventOrder(eventId: string): number;
35
35
  export declare function syntheticEventOrder(baseEventOrder: number, childIndex?: number): number;
36
36
  /**
37
37
  * Map a position-delta `action` symbol to its `XoxnoLendingActivity` value.
38
- * The tag list is authoritative in `rs-lending-xlm common/src/events.rs`.
38
+ * The tag list is authoritative in `rs-lending-xlm
39
+ * contracts/controller/src/events/mod.rs` (`PositionAction`).
40
+ *
41
+ * `liq_credit` is deliberately NOT `lendingLiquidateSeizeCollateral`. That
42
+ * activity renders as "Liquidated by / Liquidation", and a share-credit leg
43
+ * lands on the *liquidator's* receiving account, which was not liquidated —
44
+ * so it maps to the plain position update instead. It also keeps a
45
+ * protocol-wide sum over `lendingLiquidateSeizeCollateral` from
46
+ * double-counting the same seizure twice (gross on the liquidated account,
47
+ * net on the receiver). The raw `liq_credit` / `liq_seize` strings stay on
48
+ * the delta itself, so the two legs remain distinguishable downstream.
39
49
  */
40
50
  export declare function mapStellarPositionActivityType(action?: string): StellarLendingActivityType;
@@ -49,10 +49,21 @@ export interface SpokeAssetArgs {
49
49
  asset: string;
50
50
  canCollateral: boolean;
51
51
  canBorrow: boolean;
52
- /** ADR 0011 per-listing incident flag: blocks supply/borrow/withdraw/repay. */
52
+ /**
53
+ * ADR 0008 per-listing incident flag: blocks every *user* verb on the
54
+ * listing, including the debt leg of a liquidation that names this asset.
55
+ */
53
56
  paused: boolean;
54
- /** ADR 0011 per-listing incident flag: blocks new supply/borrow, exits stay live. */
57
+ /** ADR 0008 per-listing incident flag: blocks new exposure, exits stay live. */
55
58
  frozen: boolean;
59
+ /**
60
+ * ADR 0008 per-listing incident flag: blocks only the liquidation *seizure*
61
+ * leg (`SpokeAssetSeizureHalted`, 318), and nothing else. Deliberately not
62
+ * folded into `paused`: seizure is pro-rata over an account's whole
63
+ * collateral, so gating it on a user-activity halt would turn one paused
64
+ * listing into a protocol-wide liquidation halt.
65
+ */
66
+ noSeize: boolean;
56
67
  ltv: number;
57
68
  threshold: number;
58
69
  bonus: number;
@@ -260,6 +271,8 @@ export interface SpokeAssetFlagsArgs {
260
271
  asset: string;
261
272
  paused: boolean;
262
273
  frozen: boolean;
274
+ /** Halts only the liquidation seizure leg for this listing (error 318). */
275
+ noSeize: boolean;
263
276
  }
264
277
  export interface OracleSanityBoundsArgs {
265
278
  asset: string;
@@ -269,10 +282,14 @@ export interface OracleSanityBoundsArgs {
269
282
  maxPriceWad: string;
270
283
  }
271
284
  /**
272
- * set_spoke_asset_flags(caller, spoke_id, hub_asset, paused, frozen) —
273
- * GUARDIAN-gated, immediate. Flags-only per-listing incident brake: no risk
274
- * params, caps, or oracle override travel with it. `caller = opts.caller`
275
- * must hold GUARDIAN and sign.
285
+ * set_spoke_asset_flags(caller, spoke_id, hub_asset, paused, frozen, no_seize)
286
+ * — GUARDIAN-gated, immediate. Flags-only per-listing incident brake: no risk
287
+ * params or caps travel with it. `caller = opts.caller` must hold GUARDIAN and
288
+ * sign.
289
+ *
290
+ * All three flags are one-way ratchets on this path — the guardian may only
291
+ * set them true. Clearing any of them requires the timelocked
292
+ * `EditAssetInSpoke` proposal.
276
293
  */
277
294
  export declare function buildStellarGovernanceSetSpokeAssetFlagsImmediateTx(opts: StellarBuilderOptions, args: SpokeAssetFlagsArgs): BuiltStellarTx;
278
295
  /**
@@ -17,7 +17,7 @@
17
17
  */
18
18
  import { xdr } from '@stellar/stellar-sdk';
19
19
  import { type StellarNetwork } from './contracts';
20
- import { type StellarStrategySwapHopInput, type StellarStrategySwapInput, type StellarStrategySwapPathInput } from './scval-encode';
20
+ import { type StellarSeizeModeInput, type StellarStrategySwapHopInput, type StellarStrategySwapInput, type StellarStrategySwapPathInput } from './scval-encode';
21
21
  /**
22
22
  * Stellar `G...` public key of the caller (tx source account).
23
23
  */
@@ -68,7 +68,7 @@ export interface BuiltStellarTx {
68
68
  export type StellarSwapStepsInput = StellarStrategySwapInput;
69
69
  export type StellarSwapHopInput = StellarStrategySwapHopInput;
70
70
  export type StellarSwapPathInput = StellarStrategySwapPathInput;
71
- export type { StellarSwapVenue } from './scval-encode';
71
+ export type { StellarSeizeModeInput, StellarSwapVenue } from './scval-encode';
72
72
  /**
73
73
  * Assemble an unsigned XDR that invokes a single Soroban contract method.
74
74
  *
@@ -133,6 +133,13 @@ export interface StellarRepayBatchArgs {
133
133
  export interface StellarLiquidateArgs {
134
134
  accountNonce: number;
135
135
  debtPayments: ReadonlyArray<StellarHubAssetAmount>;
136
+ /**
137
+ * How the liquidator takes delivery of the seized collateral. Defaults to
138
+ * `'Transfer'` — the pool pays out underlying tokens, which is the only
139
+ * behaviour the pre-`SeizeMode` ABI had. `{ Credit: 0 }` opens a fresh
140
+ * receiving account; `{ Credit: id }` credits an existing one.
141
+ */
142
+ seizeMode?: StellarSeizeModeInput;
136
143
  }
137
144
  export interface StellarFlashLoanArgs extends StellarHubAsset {
138
145
  amount: string;
@@ -219,9 +226,25 @@ export declare function buildStellarRepayBatchTx(opts: StellarBuilderOptions, ar
219
226
  /** Single-asset `repay`. */
220
227
  export declare function buildStellarRepayTx(opts: StellarBuilderOptions, args: StellarRepayArgs): BuiltStellarTx;
221
228
  /**
222
- * liquidate(liquidator, account_id: u64, debt_payments: Vec<(HubAssetKey, i128)>)
229
+ * liquidate(liquidator, account_id: u64, debt_payments: Vec<(HubAssetKey, i128)>,
230
+ * seize_mode: SeizeMode) -> u64
231
+ *
232
+ * The `u64` return is the account credited with the seized supply shares under
233
+ * `SeizeMode::Credit` (freshly opened when `Credit(0)` was passed), and `0`
234
+ * under `SeizeMode::Transfer`. Read it from the simulation / tx result with
235
+ * `decodeStellarLiquidateReturn`.
223
236
  */
224
237
  export declare function buildStellarLiquidateTx(opts: StellarBuilderOptions, args: StellarLiquidateArgs): BuiltStellarTx;
238
+ /**
239
+ * Decode `liquidate`'s `u64` return value from its base64 XDR — the receiving
240
+ * account id, as a decimal string. `'0'` means `SeizeMode::Transfer` (the
241
+ * liquidator was paid in underlying tokens, no account was touched).
242
+ *
243
+ * Takes base64 XDR (as Soroban RPC delivers `returnValue` / `result.retval`)
244
+ * so no live `xdr.ScVal` crosses the consumer boundary — same contract as
245
+ * `decodeStellarLendingEvent`. Hold a parsed ScVal? Pass `toBase64Xdr(scv)`.
246
+ */
247
+ export declare function decodeStellarLiquidateReturn(returnValueB64: string): string;
225
248
  /**
226
249
  * flash_loan(caller, asset: HubAssetKey, amount: i128, receiver, data: Bytes)
227
250
  */
@@ -118,6 +118,28 @@ export declare const tupleHubAssetAmountVec: (entries: Array<{
118
118
  asset: string;
119
119
  amount: string;
120
120
  }>) => xdr.ScVal;
121
+ /**
122
+ * How a liquidator takes delivery of seized collateral — the Soroban
123
+ * `SeizeMode` enum.
124
+ *
125
+ * - `'Transfer'` — the pool withdraws the collateral and pays the liquidator
126
+ * in underlying tokens, withholding the protocol fee from the transfer.
127
+ * - `{ Credit: accountId }` — the seized *supply shares* are credited to a
128
+ * controller account instead. `0` opens a fresh account owned by the
129
+ * liquidator and bound to the liquidated account's spoke; any other id must
130
+ * already exist, be owned by (or delegated to) the liquidator, sit in the
131
+ * same spoke, and be in `PositionMode::Normal`.
132
+ */
133
+ export type StellarSeizeModeInput = 'Transfer' | {
134
+ Credit: number | string;
135
+ };
136
+ /**
137
+ * Encode `SeizeMode`. Soroban serializes a `#[contracttype]` enum as
138
+ * `scvVec([scvSymbol(Variant), ...payload])` — the void variant carries only
139
+ * the symbol, `Credit` appends its `u64`. Same shape as `OracleReadMode`
140
+ * (`Spot` / `Twap(u32)`) in `admin.ts`.
141
+ */
142
+ export declare const seizeMode: (mode: StellarSeizeModeInput) => xdr.ScVal;
121
143
  /**
122
144
  * Encode a Soroban `struct` — at the XDR level, structs are maps with
123
145
  * `Symbol` keys in **lexicographic order** of field names.
@@ -1,4 +1,4 @@
1
- import type { PublicOnly, RateType, LoginAccessDto, LoginRequestDto, UserNetworkInfoDto, UserTokenInventoryResponseDto, UserProfileDoc, UserProfileEditDto, UserProfileDto, UserSettingsDoc, NotificationPreferencesPostDto, SetEmailDto, SetPhoneDto, UserBillingDetails, VerifyEmailDto, TradesilvaniaSignature, SuccessDto, CreatorProfileDto, CreatorProfileDoc, CreatorProfileEditDto, CollectionStatsFilter, CollectionStatsPaginated, CheckLikeStatusResponseDto, UserFavoriteResponseDto, TokenDataDocHydrated, XoxnoInfo, XoxnoLiquidStatsDto, AnalyticsMarketplaceUniqueUsers, ProtocolAprType, ProviderDto, DelegationDataOutput, LendingMarketProfile, LendingMarketProfileFilter, LendingMarketProfileQuery, LendingGovernanceProposalFilter, LendingGovernanceProposalQuery, LendingGovernanceProposalDoc, LendingAccountProfile, LendingIndexesDto, LendingAccountPnl, LendingAccountSummary, LendingEModeCategoryProfile, LendingMarketAnalyticsGraph, LendingStatsHistory, LendingMarketAverageGraph, LendingPositionStatus, LendingOverallStats, DefillamaLendingExport, DefillamaLendingHistoryExport, DefillamaLendingRevenueExport, StellarLendingUserStatsExport, NftDocFilter, NftPaginated, LikeNftDto, InventorySummaryDtoHydrated, NftOfferPaginated, NftOfferDocFilter, NftOfferDocHydrated, ValueFp, TraitInfo, CollectionRanksDTO, ListingsResponseDto, NftDocHydrated, SignDataDto, SignWithdrawDto, SignAcceptGlobalOfferDto, SignMintDto, NftDocFull, CollectionProfileDoc, CollectionProfileEditDto, FloorPriceDto, PinnedCollectionDto, CollectionMintProfileDocHydrated, CollectionPinnedStatusDto, FollowCollectionDto, CollectionProfileFilter, CollectionProfilePaginated, CollectionMintProfileFilter, CollectionMintProfilePaginated, CollectionMintProfileDocWithStages, CollectionHoldersDto, CollectionHoldersExportDto, CollectionOwnerDto, CollectionStatsDocHydrated, CollectionOffersFilter, GlobalOfferPaginated, CreatorDetailsDto, ShareholderDto, StakingSummary, StakingPoolDoc, StakingEditDto, OwnedCollectionsDto, UserStakingSummaryDto, StakingCreatorDoc, StakingUserPoolNfts, StakingExploreDtoHydrated, OwnedServicesDto, FilterQueryDto, GlobalSearchResourcesPaginated, LendingNftAttributes, LendingTokenPriceDto, StellarAssetListItemDto, StellarLendingContextDto, StellarLendingLiveStateDto, StellarDetailedMarketDto, StellarHubListItemDto, StellarSpokeListItemDto, StellarReserveListItemDto, ReserveDto, TopHoldersDto, AssetDto, AssetPageDto, AssetMarketDto, HubDto, SpokeDto, AccountPositionsDto, StellarUserActivityItemDto, GovernanceProposalsPageDto, MarketGraphDto, SpokeGraphDto, StellarStatsHistoryDto, StellarPositionsPnlDto, StellarPositionsRankDto, UserHistoryDto, PnlByScopeDto, RevenueSeriesDto, FeeRevenueSeriesDto, ParticipantCountsDto, LiquidationsSeriesDto, LiquidationsLeaderboardDto, VolumeSeriesDto, ActiveUsersSeriesDto, HolderDistributionDto, RateSpreadSeriesDto, DefiLlamaDimensionsDto, NotificationPaginated, PushNotificationCountResponse, NotificationDoc, MobileDeviceDoc, MobileDeviceRegistrationDto, PushNotificationResponse, PushNotificationDoc, NotificationSuccessResponseDto, EventNotificationDto, CreatorMarketingNotificationDto, StellarChallengeResponseDto, Web2UserDoc, SuccessWithMessageDto, NativeWalletDto, SwitchWalletDto, Web2WalletDto, Web2UserShardsDto, NftActivityFilter, NftActivityPaginated, NftActivityDocHydrated, VolumeGraph, AnalyticsVolumeDto, UserAnalyticsDto, GlobalAnalyticsOverviewResponseDto, UserStatsDto, AirdropDtoHydrated, TransactionDetailed, TransactionProcessStatus, TransactionCostData, TransactionCreate, TransactionSendResult, ChatMessageDocHydrated, SendChatMessageDto, UserConversationPaginated, ChatMessagePaginated, GlobalConversationSummaryDto, UserBlockPaginated, WebSocketTokenDto, UserInfo, EventProfile, EventProfileCreateDto, EventProfileEditDto, EventProfileFilter, EventProfileQuery, EventRegistrationResponseDto, EventGuestRegistrationDto, EventTicketProfileDoc, EventTicketProfileCreateDto, EventTicketProfileEditDto, EventStageProfileDoc, EventStageProfileCreateDto, EventStageProfileEditDto, TicketPricesResponse, TicketCalculationRequestDto, DiscountCodeValidationResponse, EventInvitationDoc, EventInvitationCreateDto, EventInvitationFilter, EventInvitationQuery, EventInvitation, EventAcceptInvitation, EventClaimInvitationDto, EventVoucherFilter, EventVoucherQuery, EventQuestionDoc, EventQuestionCreateDto, EventQuestionEditDto, EventGuestFilter, EventGuestProfileQuery, EventGuestProfile, EventGuestExport, EventUserRole, EventUserRoleCreateDto, EventUserRoleEditDto, EventUserRoleDoc, BageQRData, TicketValidationResult, EventCheckInQR, EventVoucherDoc, EventVoucherCreateDto, EventVoucherEditDto, ManualCheckInDto, AnsweredQuestionWithDetails, EventGuestApproveDto, EventCountGroupedByCountry, EventReferralConfigDoc, EventReferralConfigCreateDto, EventReferralConfigEditDto, EventReferralConfigFilter, EventReferralConfigPaginated, EventReferralDoc, EventReferralCreateDto, EventReferralEditDto, EventReferralFilter, EventReferralPaginated, BlendUserPosition, SoroswapQuoteResponseDto, PerpOrderResponse, BarDto, SymbolInfoDto, PerpCoinExtended, PerpSpotCoinExtended, PerpCoinExtendedSlim, PerpLegalCheck, PerpSpotCoinExtendedSlim, L2BookPerpResponseSingle, TradesPerpResponseSingle, ActiveSpotAssetCtx, ActivePerpAssetCtx, PerpEvent } from '@xoxno/types';
1
+ import type { PublicOnly, RateType, LoginAccessDto, LoginRequestDto, UserNetworkInfoDto, UserTokenInventoryResponseDto, UserProfileDoc, UserProfileEditDto, UserProfileDto, UserSettingsDoc, NotificationPreferencesPostDto, SetEmailDto, SetPhoneDto, UserBillingDetails, VerifyEmailDto, TradesilvaniaSignature, SuccessDto, CreatorProfileDto, CreatorProfileDoc, CreatorProfileEditDto, CollectionStatsFilter, CollectionStatsPaginated, CheckLikeStatusResponseDto, UserFavoriteResponseDto, TokenDataDocHydrated, XoxnoInfo, XoxnoLiquidStatsDto, AnalyticsMarketplaceUniqueUsers, ProtocolAprType, ProviderDto, DelegationDataOutput, LendingMarketProfile, LendingMarketProfileFilter, LendingMarketProfileQuery, LendingGovernanceProposalFilter, LendingGovernanceProposalQuery, LendingGovernanceProposalDoc, LendingAccountProfile, LendingIndexesDto, LendingAccountPnl, LendingAccountSummary, LendingEModeCategoryProfile, LendingMarketAnalyticsGraph, LendingStatsHistory, LendingMarketAverageGraph, LendingPositionStatus, LendingOverallStats, DefillamaLendingExport, DefillamaLendingHistoryExport, DefillamaLendingRevenueExport, StellarLendingUserStatsExport, NftDocFilter, NftPaginated, LikeNftDto, InventorySummaryDtoHydrated, NftOfferPaginated, NftOfferDocFilter, NftOfferDocHydrated, ValueFp, TraitInfo, CollectionRanksDTO, ListingsResponseDto, NftDocHydrated, SignDataDto, SignWithdrawDto, SignAcceptGlobalOfferDto, SignMintDto, NftDocFull, CollectionProfileDoc, CollectionProfileEditDto, FloorPriceDto, PinnedCollectionDto, CollectionMintProfileDocHydrated, CollectionPinnedStatusDto, FollowCollectionDto, CollectionProfileFilter, CollectionProfilePaginated, CollectionMintProfileFilter, CollectionMintProfilePaginated, CollectionMintProfileDocWithStages, CollectionHoldersDto, CollectionHoldersExportDto, CollectionOwnerDto, CollectionStatsDocHydrated, CollectionOffersFilter, GlobalOfferPaginated, CreatorDetailsDto, ShareholderDto, StakingSummary, StakingPoolDoc, StakingEditDto, OwnedCollectionsDto, UserStakingSummaryDto, StakingCreatorDoc, StakingUserPoolNfts, StakingExploreDtoHydrated, OwnedServicesDto, FilterQueryDto, GlobalSearchResourcesPaginated, LendingNftAttributes, LendingTokenPriceDto, StellarAssetListItemDto, StellarLendingContextDto, StellarLendingLiveStateDto, StellarDetailedMarketDto, StellarHubListItemDto, StellarSpokeListItemDto, StellarReserveListItemDto, ReserveDto, TopHoldersDto, AssetDto, AssetPageDto, AssetMarketDto, HubDto, SpokeDto, AccountPositionsDto, StellarUserActivityItemDto, GovernanceProposalsPageDto, MarketGraphDto, SpokeGraphDto, StellarStatsHistoryDto, StellarPositionsPnlDto, StellarCampaignLeaderboardDto, StellarCampaignMeDto, StellarPositionsRankDto, UserHistoryDto, PnlByScopeDto, RevenueSeriesDto, FeeRevenueSeriesDto, ParticipantCountsDto, LiquidationsSeriesDto, LiquidationsLeaderboardDto, VolumeSeriesDto, ActiveUsersSeriesDto, HolderDistributionDto, RateSpreadSeriesDto, DefiLlamaDimensionsDto, NotificationPaginated, PushNotificationCountResponse, NotificationDoc, MobileDeviceDoc, MobileDeviceRegistrationDto, PushNotificationResponse, PushNotificationDoc, NotificationSuccessResponseDto, EventNotificationDto, CreatorMarketingNotificationDto, StellarChallengeResponseDto, Web2UserDoc, SuccessWithMessageDto, NativeWalletDto, SwitchWalletDto, Web2WalletDto, Web2UserShardsDto, NftActivityFilter, NftActivityPaginated, NftActivityDocHydrated, VolumeGraph, AnalyticsVolumeDto, UserAnalyticsDto, GlobalAnalyticsOverviewResponseDto, UserStatsDto, AirdropDtoHydrated, TransactionDetailed, TransactionProcessStatus, TransactionCostData, TransactionCreate, TransactionSendResult, ChatMessageDocHydrated, SendChatMessageDto, UserConversationPaginated, ChatMessagePaginated, GlobalConversationSummaryDto, UserBlockPaginated, WebSocketTokenDto, UserInfo, EventProfile, EventProfileCreateDto, EventProfileEditDto, EventProfileFilter, EventProfileQuery, EventRegistrationResponseDto, EventGuestRegistrationDto, EventTicketProfileDoc, EventTicketProfileCreateDto, EventTicketProfileEditDto, EventStageProfileDoc, EventStageProfileCreateDto, EventStageProfileEditDto, TicketPricesResponse, TicketCalculationRequestDto, DiscountCodeValidationResponse, EventInvitationDoc, EventInvitationCreateDto, EventInvitationFilter, EventInvitationQuery, EventInvitation, EventAcceptInvitation, EventClaimInvitationDto, EventVoucherFilter, EventVoucherQuery, EventQuestionDoc, EventQuestionCreateDto, EventQuestionEditDto, EventGuestFilter, EventGuestProfileQuery, EventGuestProfile, EventGuestExport, EventUserRole, EventUserRoleCreateDto, EventUserRoleEditDto, EventUserRoleDoc, BageQRData, TicketValidationResult, EventCheckInQR, EventVoucherDoc, EventVoucherCreateDto, EventVoucherEditDto, ManualCheckInDto, AnsweredQuestionWithDetails, EventGuestApproveDto, EventCountGroupedByCountry, EventReferralConfigDoc, EventReferralConfigCreateDto, EventReferralConfigEditDto, EventReferralConfigFilter, EventReferralConfigPaginated, EventReferralDoc, EventReferralCreateDto, EventReferralEditDto, EventReferralFilter, EventReferralPaginated, BlendUserPosition, SoroswapQuoteResponseDto, PerpOrderResponse, BarDto, SymbolInfoDto, PerpCoinExtended, PerpSpotCoinExtended, PerpCoinExtendedSlim, PerpLegalCheck, PerpSpotCoinExtendedSlim, L2BookPerpResponseSingle, TradesPerpResponseSingle, ActiveSpotAssetCtx, ActivePerpAssetCtx, PerpEvent } from '@xoxno/types';
2
2
  import type { ActivityChain, TokenCategory, LendingPositionOrderByColumn, KustoOrderDirection, OfferType, StakingStatus, UserStatsOrderByColumn } from '@xoxno/types/enums';
3
3
  export declare const endpoints: {
4
4
  readonly "/liquid/xoxno/rate": {
@@ -1085,6 +1085,19 @@ export declare const endpoints: {
1085
1085
  };
1086
1086
  readonly output: StellarPositionsPnlDto;
1087
1087
  };
1088
+ readonly "/stellar-lending/campaign/leaderboard": {
1089
+ readonly input: {
1090
+ skip?: number;
1091
+ top?: number;
1092
+ };
1093
+ readonly output: StellarCampaignLeaderboardDto;
1094
+ };
1095
+ readonly "/stellar-lending/campaign/me": {
1096
+ readonly input: {
1097
+ owner: string;
1098
+ };
1099
+ readonly output: StellarCampaignMeDto;
1100
+ };
1088
1101
  readonly "/stellar-lending/positions": {
1089
1102
  readonly input: {
1090
1103
  token?: string;