@argent/x-shared 1.47.0 → 1.48.1

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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("url-join"),a=require("../../../errors/swap.cjs"),p=require("../models/quote.model.cjs"),l=require("../utils/totalFee.cjs"),S=require("../models/trade.model.cjs"),i=require("../models/order.model.cjs"),d=require("../../../utils/url/urlWithQuery.cjs");class y{constructor(e,r){if(this.httpService=e,!r)throw new a.SwapError({code:"NO_SWAP_URL"});this.swapQuoteUrl=u(r,"/quote"),this.swapOrderUrl=u(r,"/order")}async getSwapQuoteForPay(e,r,o,n,t="USD"){const s=d.urlWithQuery(this.swapQuoteUrl,{accountAddress:n,currency:t,chain:"starknet",sellToken:e,buyToken:r,sellAmount:o});try{const c=await this.httpService.get(s);return await p.SwapQuoteResponseSchema.parseAsync(c)}catch(c){throw console.error(c),new a.SwapError({code:"INVALID_QUOTE_RESPONSE"})}}async getSwapTradeFromQuote(e,r,o){if(!r||!o)throw new a.SwapError({code:"INVALID_SWAP_TOKENS"});const{totalFee:n,totalFeeInCurrency:t,totalFeePercentage:s}=l.calculateTotalFee(e);return S.TradeSchema.parse({payToken:r,receiveToken:o,payAmount:e.sellAmount,receiveAmount:e.buyAmount,payAmountInCurrency:e.sellAmountInCurrency,receiveAmountInCurrency:e.buyAmountInCurrency,totalFee:n,totalFeeInCurrency:t,totalFeePercentage:s,expiresAt:e.expiresAt,expiresIn:e.expiresIn,route:e.routes[0],data:e.data})}async getSwapOrderFromTrade(e,r,o){const n=i.SwapOrderRequestSchema.parse({chain:"starknet",sellToken:r.payToken.address,buyToken:r.receiveToken.address,sellAmount:r.payAmount,buyAmount:r.receiveAmount,accountAddress:e,slippage:o/1e4,data:r.data});try{const t=await this.httpService.post(this.swapOrderUrl,{body:JSON.stringify(n),headers:{"Content-Type":"application/json"}});return await i.SwapOrderResponseSchema.parseAsync(t)}catch(t){throw console.error(t),new a.SwapError({code:"INVALID_SWAP_ORDER_RESPONSE"})}}}exports.SharedSwapService=y;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("url-join"),a=require("../../../errors/swap.cjs"),p=require("../../../utils/url/urlWithQuery.cjs"),l=require("../models/quote.model.cjs"),S=require("../utils/totalFee.cjs"),d=require("../models/trade.model.cjs"),i=require("../models/order.model.cjs");class y{constructor(e,r){if(this.httpService=e,!r)throw new a.SwapError({code:"NO_SWAP_URL"});this.swapQuoteUrl=u(r,"/quote"),this.swapOrderUrl=u(r,"/order")}async getSwapQuoteForPay(e,r,o,n,t="USD"){const s=p.urlWithQuery(this.swapQuoteUrl,{accountAddress:n,currency:t,chain:"starknet",sellToken:e,buyToken:r,sellAmount:o});try{const c=await this.httpService.get(s);return await l.SwapQuoteResponseSchema.parseAsync(c)}catch(c){throw console.error(c),new a.SwapError({code:"INVALID_QUOTE_RESPONSE"})}}async getSwapTradeFromQuote(e,r,o){if(!r||!o)throw new a.SwapError({code:"INVALID_SWAP_TOKENS"});const{totalFee:n,totalFeeInCurrency:t,totalFeePercentage:s}=S.calculateTotalFee(e);return d.TradeSchema.parse({payToken:r,receiveToken:o,payAmount:e.sellAmount,receiveAmount:e.buyAmount,payAmountInCurrency:e.sellAmountInCurrency,receiveAmountInCurrency:e.buyAmountInCurrency,totalFee:n,totalFeeInCurrency:t,totalFeePercentage:s,expiresAt:e.expiresAt,expiresIn:e.expiresIn,route:e.routes[0],data:e.data})}async getSwapOrderFromTrade(e,r,o){const n=i.SwapOrderRequestSchema.parse({chain:"starknet",sellToken:r.payToken.address,buyToken:r.receiveToken.address,sellAmount:r.payAmount,buyAmount:r.receiveAmount,accountAddress:e,slippage:o/1e4,data:r.data});try{const t=await this.httpService.post(this.swapOrderUrl,{body:JSON.stringify(n),headers:{"Content-Type":"application/json"}});return await i.SwapOrderResponseSchema.parseAsync(t)}catch(t){throw console.error(t),new a.SwapError({code:"INVALID_SWAP_ORDER_RESPONSE"})}}}exports.SharedSwapService=y;
@@ -1,10 +1,10 @@
1
1
  import p from "url-join";
2
2
  import { SwapError as a } from "../../../errors/swap.js";
3
- import { SwapQuoteResponseSchema as i } from "../models/quote.model.js";
4
- import { calculateTotalFee as u } from "../utils/totalFee.js";
5
- import { TradeSchema as m } from "../models/trade.model.js";
6
- import { SwapOrderRequestSchema as l, SwapOrderResponseSchema as S } from "../models/order.model.js";
7
- import { urlWithQuery as y } from "../../../utils/url/urlWithQuery.js";
3
+ import { urlWithQuery as i } from "../../../utils/url/urlWithQuery.js";
4
+ import { SwapQuoteResponseSchema as u } from "../models/quote.model.js";
5
+ import { calculateTotalFee as m } from "../utils/totalFee.js";
6
+ import { TradeSchema as l } from "../models/trade.model.js";
7
+ import { SwapOrderRequestSchema as S, SwapOrderResponseSchema as y } from "../models/order.model.js";
8
8
  class _ {
9
9
  constructor(e, r) {
10
10
  if (this.httpService = e, !r)
@@ -12,7 +12,7 @@ class _ {
12
12
  this.swapQuoteUrl = p(r, "/quote"), this.swapOrderUrl = p(r, "/order");
13
13
  }
14
14
  async getSwapQuoteForPay(e, r, o, n, t = "USD") {
15
- const s = y(this.swapQuoteUrl, {
15
+ const s = i(this.swapQuoteUrl, {
16
16
  accountAddress: n,
17
17
  currency: t,
18
18
  chain: "starknet",
@@ -22,7 +22,7 @@ class _ {
22
22
  });
23
23
  try {
24
24
  const c = await this.httpService.get(s);
25
- return await i.parseAsync(c);
25
+ return await u.parseAsync(c);
26
26
  } catch (c) {
27
27
  throw console.error(c), new a({ code: "INVALID_QUOTE_RESPONSE" });
28
28
  }
@@ -30,8 +30,8 @@ class _ {
30
30
  async getSwapTradeFromQuote(e, r, o) {
31
31
  if (!r || !o)
32
32
  throw new a({ code: "INVALID_SWAP_TOKENS" });
33
- const { totalFee: n, totalFeeInCurrency: t, totalFeePercentage: s } = u(e);
34
- return m.parse({
33
+ const { totalFee: n, totalFeeInCurrency: t, totalFeePercentage: s } = m(e);
34
+ return l.parse({
35
35
  payToken: r,
36
36
  receiveToken: o,
37
37
  payAmount: e.sellAmount,
@@ -48,7 +48,7 @@ class _ {
48
48
  });
49
49
  }
50
50
  async getSwapOrderFromTrade(e, r, o) {
51
- const n = l.parse({
51
+ const n = S.parse({
52
52
  chain: "starknet",
53
53
  sellToken: r.payToken.address,
54
54
  buyToken: r.receiveToken.address,
@@ -65,7 +65,7 @@ class _ {
65
65
  "Content-Type": "application/json"
66
66
  }
67
67
  });
68
- return await S.parseAsync(t);
68
+ return await y.parseAsync(t);
69
69
  } catch (t) {
70
70
  throw console.error(t), new a({ code: "INVALID_SWAP_ORDER_RESPONSE" });
71
71
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("../utils/number/prettifyNumber.cjs"),o=require("../utils/number/isNumeric.cjs"),n=(e,t="$",r)=>{if(e===void 0||!o.isNumeric(e))return null;const i=u.prettifyCurrencyNumber(e,r);return[t,i].filter(Boolean).join("")};exports.prettifyCurrencyValue=n;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../utils/number/prettifyNumber.cjs"),l=require("../utils/number/isNumeric.cjs"),s=(t,e="$",r)=>{if(t===void 0||!l.isNumeric(t))return null;const i=Number(t)<0,o=t.toString().replace("-",""),u=n.prettifyCurrencyNumber(o,r);return[i?"-":"",e,u].filter(Boolean).join("")};exports.prettifyCurrencyValue=s;
@@ -1,11 +1,15 @@
1
- import { prettifyCurrencyNumber as i } from "../utils/number/prettifyNumber.js";
2
- import { isNumeric as l } from "../utils/number/isNumeric.js";
3
- const u = (t, r = "$", e) => {
4
- if (t === void 0 || !l(t))
1
+ import { prettifyCurrencyNumber as n } from "../utils/number/prettifyNumber.js";
2
+ import { isNumeric as m } from "../utils/number/isNumeric.js";
3
+ const a = (t, e = "$", o) => {
4
+ if (t === void 0 || !m(t))
5
5
  return null;
6
- const o = i(t, e);
7
- return [r, o].filter(Boolean).join("");
6
+ const r = Number(t) < 0, i = t.toString().replace("-", ""), l = n(i, o);
7
+ return [
8
+ r ? "-" : "",
9
+ e,
10
+ l
11
+ ].filter(Boolean).join("");
8
12
  };
9
13
  export {
10
- u as prettifyCurrencyValue
14
+ a as prettifyCurrencyValue
11
15
  };
@@ -195,6 +195,7 @@ export declare class TokenServiceWeb implements ITokenServiceWeb {
195
195
  }, {
196
196
  data: import('zod').ZodObject<{
197
197
  apy: import('zod').ZodOptional<import('zod').ZodString>;
198
+ totalApy: import('zod').ZodOptional<import('zod').ZodString>;
198
199
  group: import('zod').ZodOptional<import('zod').ZodNumber>;
199
200
  collateral: import('zod').ZodBoolean;
200
201
  debt: import('zod').ZodBoolean;
@@ -203,12 +204,14 @@ export declare class TokenServiceWeb implements ITokenServiceWeb {
203
204
  lending: boolean;
204
205
  collateral: boolean;
205
206
  debt: boolean;
207
+ totalApy?: string | undefined;
206
208
  apy?: string | undefined;
207
209
  group?: number | undefined;
208
210
  }, {
209
211
  lending: boolean;
210
212
  collateral: boolean;
211
213
  debt: boolean;
214
+ totalApy?: string | undefined;
212
215
  apy?: string | undefined;
213
216
  group?: number | undefined;
214
217
  }>;
@@ -217,6 +220,7 @@ export declare class TokenServiceWeb implements ITokenServiceWeb {
217
220
  lending: boolean;
218
221
  collateral: boolean;
219
222
  debt: boolean;
223
+ totalApy?: string | undefined;
220
224
  apy?: string | undefined;
221
225
  group?: number | undefined;
222
226
  };
@@ -229,6 +233,7 @@ export declare class TokenServiceWeb implements ITokenServiceWeb {
229
233
  lending: boolean;
230
234
  collateral: boolean;
231
235
  debt: boolean;
236
+ totalApy?: string | undefined;
232
237
  apy?: string | undefined;
233
238
  group?: number | undefined;
234
239
  };
@@ -275,15 +280,19 @@ export declare class TokenServiceWeb implements ITokenServiceWeb {
275
280
  }, {
276
281
  data: import('zod').ZodObject<{
277
282
  apy: import('zod').ZodString;
283
+ totalApy: import('zod').ZodString;
278
284
  }, "strip", import('zod').ZodTypeAny, {
285
+ totalApy: string;
279
286
  apy: string;
280
287
  }, {
288
+ totalApy: string;
281
289
  apy: string;
282
290
  }>;
283
291
  investmentId: import('zod').ZodOptional<import('zod').ZodString>;
284
292
  totalBalances: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodString>;
285
293
  }>, "strip", import('zod').ZodTypeAny, {
286
294
  data: {
295
+ totalApy: string;
287
296
  apy: string;
288
297
  };
289
298
  id: string;
@@ -292,6 +301,7 @@ export declare class TokenServiceWeb implements ITokenServiceWeb {
292
301
  investmentId?: string | undefined;
293
302
  }, {
294
303
  data: {
304
+ totalApy: string;
295
305
  apy: string;
296
306
  };
297
307
  id: string;
@@ -332,6 +342,7 @@ export declare class TokenServiceWeb implements ITokenServiceWeb {
332
342
  withdrawableAfter: number;
333
343
  }>>;
334
344
  apy: import('zod').ZodOptional<import('zod').ZodString>;
345
+ totalApy: import('zod').ZodOptional<import('zod').ZodString>;
335
346
  }, "strip", import('zod').ZodTypeAny, {
336
347
  stakerInfo: {
337
348
  address: `0x${string}`;
@@ -340,6 +351,7 @@ export declare class TokenServiceWeb implements ITokenServiceWeb {
340
351
  };
341
352
  accruedRewards: string;
342
353
  stakedAmount: string;
354
+ totalApy?: string | undefined;
343
355
  apy?: string | undefined;
344
356
  pendingWithdrawal?: {
345
357
  amount: string;
@@ -353,6 +365,7 @@ export declare class TokenServiceWeb implements ITokenServiceWeb {
353
365
  };
354
366
  accruedRewards: string;
355
367
  stakedAmount: string;
368
+ totalApy?: string | undefined;
356
369
  apy?: string | undefined;
357
370
  pendingWithdrawal?: {
358
371
  amount: string;
@@ -368,6 +381,7 @@ export declare class TokenServiceWeb implements ITokenServiceWeb {
368
381
  };
369
382
  accruedRewards: string;
370
383
  stakedAmount: string;
384
+ totalApy?: string | undefined;
371
385
  apy?: string | undefined;
372
386
  pendingWithdrawal?: {
373
387
  amount: string;
@@ -387,6 +401,7 @@ export declare class TokenServiceWeb implements ITokenServiceWeb {
387
401
  };
388
402
  accruedRewards: string;
389
403
  stakedAmount: string;
404
+ totalApy?: string | undefined;
390
405
  apy?: string | undefined;
391
406
  pendingWithdrawal?: {
392
407
  amount: string;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("zod"),a=require("../../../chains/starknet/address.cjs"),h=require("./defiPositionType.model.cjs"),b=require("../../../utils/schemas.cjs"),u=e.z.object({status:e.z.literal("initialising")}).or(e.z.object({status:e.z.literal("initialised"),balances:e.z.array(e.z.object({tokenAddress:a.addressSchemaArgentBackend,tokenBalance:e.z.string()}))})),o=e.z.object({id:e.z.number(),address:a.addressSchema,brandColor:e.z.string().optional(),name:e.z.string(),symbol:e.z.string(),decimals:e.z.number(),iconUrl:e.z.string().optional(),sendable:e.z.boolean(),popular:e.z.boolean(),refundable:e.z.boolean(),listed:e.z.boolean(),tradable:e.z.boolean(),category:e.z.union([e.z.literal("tokens"),e.z.literal("currencies"),e.z.literal("savings")]),pricingId:e.z.number().optional(),dappId:e.z.string().optional(),marketData:e.z.object({marketCap:e.z.number(),marketCap24hChange:e.z.number(),dailyVolume:e.z.number(),rank:e.z.number()}).optional(),tags:e.z.array(e.z.string()).optional()}),k=e.z.object({tokens:e.z.array(o)}),D=o,d=e.z.object({pricingId:e.z.number(),ethValue:e.z.string(),ccyValue:e.z.string(),ethDayChange:e.z.string(),ccyDayChange:e.z.string()}),y=e.z.object({prices:e.z.array(d)}),t=e.z.object({tokenAddress:a.addressSchemaArgentBackend,principal:e.z.string(),accruedFees:e.z.string(),minPrice:e.z.string(),maxPrice:e.z.string(),currentPrice:e.z.string()}),i=e.z.object({id:e.z.string(),investmentId:e.z.string().optional(),tokenAddress:a.addressSchema.optional(),totalBalances:e.z.record(e.z.string())}),n=i.extend({tokenId:e.z.string(),data:e.z.object({poolFeePercentage:e.z.string(),tickSpacingPercentage:e.z.string().optional(),token0:t,token1:t})}),P=e.z.array(n),s=i.extend({data:e.z.object({apy:e.z.string()}),investmentId:e.z.string().optional(),totalBalances:e.z.record(e.z.string())}),f=e.z.array(s),r=i.extend({data:e.z.object({apy:e.z.string().optional(),group:e.z.number().optional(),collateral:e.z.boolean(),debt:e.z.boolean(),lending:e.z.boolean()})}),j=e.z.array(r),c=i.extend({id:e.z.string(),data:e.z.object({delegatingTo:a.addressSchema}),totalBalances:e.z.record(e.z.string())}),T=e.z.array(c),p=i.extend({investmentId:e.z.string(),data:e.z.object({stakerInfo:e.z.object({name:e.z.string().optional(),iconUrl:e.z.string().optional(),address:a.addressSchema}),accruedRewards:e.z.string(),stakedAmount:e.z.string(),pendingWithdrawal:e.z.object({amount:e.z.string(),withdrawableAfter:e.z.number()}).optional(),apy:e.z.string().optional()})}),I=e.z.array(p),z=n.or(r).or(c).or(s).or(p),l=e.z.array(z),m=b.createSchemaWithWarnings({productId:e.z.string().optional(),name:e.z.string(),manageUrl:e.z.string().optional(),type:h.defiPositionTypeSchema,groups:e.z.record(e.z.object({name:e.z.string().optional(),healthRatio:e.z.string().optional()})).optional(),positions:l}),g=e.z.object({dappId:e.z.string(),products:e.z.array(m)}),A=e.z.object({dapps:e.z.array(g)}),S=e.z.object({name:e.z.string().optional(),tokenAddress:a.addressSchema,amount:e.z.string().optional(),claimUrl:e.z.string().optional(),claimStart:e.z.number(),claimEnd:e.z.number().optional()}),C=e.z.object({accountAddress:a.addressSchema,chain:e.z.string(),airdrops:e.z.array(S)});exports.apiAccountTokenBalancesSchema=u;exports.apiAirdropSchema=S;exports.apiCollateralizedDebtPositionSchema=r;exports.apiCollateralizedDebtPositionsSchema=j;exports.apiConcentratedLiquidityPositionSchema=n;exports.apiConcentratedLiquidityPositionsSchema=P;exports.apiDefiDecompositionProduct=m;exports.apiDefiDecompositionProducts=l;exports.apiDefiDecompositionSchema=g;exports.apiDefiDecompositionToken=t;exports.apiDefiPositionSchema=z;exports.apiDefiPositionsSchema=A;exports.apiDelegatedTokensArraySchema=T;exports.apiDelegatedTokensSchema=c;exports.apiPriceDataResponseSchema=y;exports.apiPriceDetailsSchema=d;exports.apiStakingPositionSchema=s;exports.apiStakingPositionsSchema=f;exports.apiStrkDelegatedStakingPositionsSchema=I;exports.apiStrkDelegatedStakingSchema=p;exports.apiTokenInfoResponseSchema=D;exports.apiTokenInfoSchema=o;exports.apiTokensInfoResponseSchema=k;exports.apiUnclaimedRewardsSchema=C;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("zod"),a=require("../../../chains/starknet/address.cjs"),h=require("./defiPositionType.model.cjs"),b=require("../../../utils/schemas.cjs"),u=e.z.object({status:e.z.literal("initialising")}).or(e.z.object({status:e.z.literal("initialised"),balances:e.z.array(e.z.object({tokenAddress:a.addressSchemaArgentBackend,tokenBalance:e.z.string()}))})),o=e.z.object({id:e.z.number(),address:a.addressSchema,brandColor:e.z.string().optional(),name:e.z.string(),symbol:e.z.string(),decimals:e.z.number(),iconUrl:e.z.string().optional(),sendable:e.z.boolean(),popular:e.z.boolean(),refundable:e.z.boolean(),listed:e.z.boolean(),tradable:e.z.boolean(),category:e.z.union([e.z.literal("tokens"),e.z.literal("currencies"),e.z.literal("savings")]),pricingId:e.z.number().optional(),dappId:e.z.string().optional(),marketData:e.z.object({marketCap:e.z.number(),marketCap24hChange:e.z.number(),dailyVolume:e.z.number(),rank:e.z.number()}).optional(),tags:e.z.array(e.z.string()).optional()}),k=e.z.object({tokens:e.z.array(o)}),D=o,d=e.z.object({pricingId:e.z.number(),ethValue:e.z.string(),ccyValue:e.z.string(),ethDayChange:e.z.string(),ccyDayChange:e.z.string()}),y=e.z.object({prices:e.z.array(d)}),i=e.z.object({tokenAddress:a.addressSchemaArgentBackend,principal:e.z.string(),accruedFees:e.z.string(),minPrice:e.z.string(),maxPrice:e.z.string(),currentPrice:e.z.string()}),t=e.z.object({id:e.z.string(),investmentId:e.z.string().optional(),tokenAddress:a.addressSchema.optional(),totalBalances:e.z.record(e.z.string())}),n=t.extend({tokenId:e.z.string(),data:e.z.object({poolFeePercentage:e.z.string(),tickSpacingPercentage:e.z.string().optional(),token0:i,token1:i})}),P=e.z.array(n),s=t.extend({data:e.z.object({apy:e.z.string(),totalApy:e.z.string()}),investmentId:e.z.string().optional(),totalBalances:e.z.record(e.z.string())}),f=e.z.array(s),r=t.extend({data:e.z.object({apy:e.z.string().optional(),totalApy:e.z.string().optional(),group:e.z.number().optional(),collateral:e.z.boolean(),debt:e.z.boolean(),lending:e.z.boolean()})}),j=e.z.array(r),c=t.extend({id:e.z.string(),data:e.z.object({delegatingTo:a.addressSchema}),totalBalances:e.z.record(e.z.string())}),A=e.z.array(c),p=t.extend({investmentId:e.z.string(),data:e.z.object({stakerInfo:e.z.object({name:e.z.string().optional(),iconUrl:e.z.string().optional(),address:a.addressSchema}),accruedRewards:e.z.string(),stakedAmount:e.z.string(),pendingWithdrawal:e.z.object({amount:e.z.string(),withdrawableAfter:e.z.number()}).optional(),apy:e.z.string().optional(),totalApy:e.z.string().optional()})}),T=e.z.array(p),z=n.or(r).or(c).or(s).or(p),l=e.z.array(z),m=b.createSchemaWithWarnings({productId:e.z.string().optional(),name:e.z.string(),manageUrl:e.z.string().optional(),type:h.defiPositionTypeSchema,groups:e.z.record(e.z.object({name:e.z.string().optional(),healthRatio:e.z.string().optional()})).optional(),positions:l}),g=e.z.object({dappId:e.z.string(),products:e.z.array(m)}),I=e.z.object({dapps:e.z.array(g)}),S=e.z.object({name:e.z.string().optional(),tokenAddress:a.addressSchema,amount:e.z.string().optional(),claimUrl:e.z.string().optional(),claimStart:e.z.number(),claimEnd:e.z.number().optional()}),C=e.z.object({accountAddress:a.addressSchema,chain:e.z.string(),airdrops:e.z.array(S)});exports.apiAccountTokenBalancesSchema=u;exports.apiAirdropSchema=S;exports.apiCollateralizedDebtPositionSchema=r;exports.apiCollateralizedDebtPositionsSchema=j;exports.apiConcentratedLiquidityPositionSchema=n;exports.apiConcentratedLiquidityPositionsSchema=P;exports.apiDefiDecompositionProduct=m;exports.apiDefiDecompositionProducts=l;exports.apiDefiDecompositionSchema=g;exports.apiDefiDecompositionToken=i;exports.apiDefiPositionSchema=z;exports.apiDefiPositionsSchema=I;exports.apiDelegatedTokensArraySchema=A;exports.apiDelegatedTokensSchema=c;exports.apiPriceDataResponseSchema=y;exports.apiPriceDetailsSchema=d;exports.apiStakingPositionSchema=s;exports.apiStakingPositionsSchema=f;exports.apiStrkDelegatedStakingPositionsSchema=T;exports.apiStrkDelegatedStakingSchema=p;exports.apiTokenInfoResponseSchema=D;exports.apiTokenInfoSchema=o;exports.apiTokensInfoResponseSchema=k;exports.apiUnclaimedRewardsSchema=C;