@argent/x-shared 1.41.6 → 1.41.7
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.
|
@@ -28,7 +28,7 @@ export declare class TokenServiceWeb implements ITokenServiceWeb {
|
|
|
28
28
|
fetchDefiDecomposition(address: Address, application: "mobile" | "webwallet" | "argentx"): Promise<{
|
|
29
29
|
dappId: string;
|
|
30
30
|
products: import('zod').objectOutputType<{
|
|
31
|
-
productId: import('zod').ZodString
|
|
31
|
+
productId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
32
32
|
name: import('zod').ZodString;
|
|
33
33
|
manageUrl: import('zod').ZodString;
|
|
34
34
|
type: import('zod').ZodUnion<[import('zod').ZodLiteral<"concentratedLiquidityPosition">, import('zod').ZodLiteral<"collateralizedDebtPosition">, import('zod').ZodLiteral<"delegatedTokens">, import('zod').ZodLiteral<"strkDelegatedStaking">, import('zod').ZodLiteral<"staking">]>;
|
|
@@ -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(),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({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(),pendingWithdrawal:e.z.object({amount:e.z.string(),withdrawableAfter:e.z.number()}).optional(),apy:e.z.string().optional()})}),A=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(),name:e.z.string(),manageUrl:e.z.string(),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)}),C=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()}),I=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=C;exports.apiDelegatedTokensArraySchema=T;exports.apiDelegatedTokensSchema=c;exports.apiPriceDataResponseSchema=y;exports.apiPriceDetailsSchema=d;exports.apiStakingPositionSchema=s;exports.apiStakingPositionsSchema=f;exports.apiStrkDelegatedStakingPositionsSchema=A;exports.apiStrkDelegatedStakingSchema=p;exports.apiTokenInfoResponseSchema=D;exports.apiTokenInfoSchema=o;exports.apiTokensInfoResponseSchema=k;exports.apiUnclaimedRewardsSchema=I;
|
|
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(),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({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(),pendingWithdrawal:e.z.object({amount:e.z.string(),withdrawableAfter:e.z.number()}).optional(),apy:e.z.string().optional()})}),A=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(),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)}),C=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()}),I=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=C;exports.apiDelegatedTokensArraySchema=T;exports.apiDelegatedTokensSchema=c;exports.apiPriceDataResponseSchema=y;exports.apiPriceDetailsSchema=d;exports.apiStakingPositionSchema=s;exports.apiStakingPositionsSchema=f;exports.apiStrkDelegatedStakingPositionsSchema=A;exports.apiStrkDelegatedStakingSchema=p;exports.apiTokenInfoResponseSchema=D;exports.apiTokenInfoSchema=o;exports.apiTokensInfoResponseSchema=k;exports.apiUnclaimedRewardsSchema=I;
|
|
@@ -1765,7 +1765,7 @@ export declare const apiDefiDecompositionProducts: z.ZodArray<z.ZodUnion<[z.ZodU
|
|
|
1765
1765
|
tokenAddress?: string | undefined;
|
|
1766
1766
|
}>]>, "many">;
|
|
1767
1767
|
export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
|
|
1768
|
-
productId: z.ZodString
|
|
1768
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
1769
1769
|
name: z.ZodString;
|
|
1770
1770
|
manageUrl: z.ZodString;
|
|
1771
1771
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -2117,7 +2117,7 @@ export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
|
|
|
2117
2117
|
tokenAddress?: string | undefined;
|
|
2118
2118
|
}>]>, "many">;
|
|
2119
2119
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2120
|
-
productId: z.ZodString
|
|
2120
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
2121
2121
|
name: z.ZodString;
|
|
2122
2122
|
manageUrl: z.ZodString;
|
|
2123
2123
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -2469,7 +2469,7 @@ export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
|
|
|
2469
2469
|
tokenAddress?: string | undefined;
|
|
2470
2470
|
}>]>, "many">;
|
|
2471
2471
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2472
|
-
productId: z.ZodString
|
|
2472
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
2473
2473
|
name: z.ZodString;
|
|
2474
2474
|
manageUrl: z.ZodString;
|
|
2475
2475
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -2821,7 +2821,7 @@ export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
|
|
|
2821
2821
|
tokenAddress?: string | undefined;
|
|
2822
2822
|
}>]>, "many">;
|
|
2823
2823
|
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
2824
|
-
productId: z.ZodString
|
|
2824
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
2825
2825
|
name: z.ZodString;
|
|
2826
2826
|
manageUrl: z.ZodString;
|
|
2827
2827
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -3173,7 +3173,7 @@ export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
|
|
|
3173
3173
|
tokenAddress?: string | undefined;
|
|
3174
3174
|
}>]>, "many">;
|
|
3175
3175
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3176
|
-
productId: z.ZodString
|
|
3176
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
3177
3177
|
name: z.ZodString;
|
|
3178
3178
|
manageUrl: z.ZodString;
|
|
3179
3179
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -3526,7 +3526,7 @@ export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
|
|
|
3526
3526
|
}>]>, "many">;
|
|
3527
3527
|
}, z.ZodTypeAny, "passthrough">> & {
|
|
3528
3528
|
extend: <E extends z.ZodRawShape>(extension: E) => z.ZodEffects<z.ZodObject<{
|
|
3529
|
-
productId: z.ZodString
|
|
3529
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
3530
3530
|
name: z.ZodString;
|
|
3531
3531
|
manageUrl: z.ZodString;
|
|
3532
3532
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -3878,7 +3878,7 @@ export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
|
|
|
3878
3878
|
tokenAddress?: string | undefined;
|
|
3879
3879
|
}>]>, "many">;
|
|
3880
3880
|
} & E, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3881
|
-
productId: z.ZodString
|
|
3881
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
3882
3882
|
name: z.ZodString;
|
|
3883
3883
|
manageUrl: z.ZodString;
|
|
3884
3884
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -4230,7 +4230,7 @@ export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
|
|
|
4230
4230
|
tokenAddress?: string | undefined;
|
|
4231
4231
|
}>]>, "many">;
|
|
4232
4232
|
} & E, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4233
|
-
productId: z.ZodString
|
|
4233
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
4234
4234
|
name: z.ZodString;
|
|
4235
4235
|
manageUrl: z.ZodString;
|
|
4236
4236
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -4582,7 +4582,7 @@ export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
|
|
|
4582
4582
|
tokenAddress?: string | undefined;
|
|
4583
4583
|
}>]>, "many">;
|
|
4584
4584
|
} & E, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
4585
|
-
productId: z.ZodString
|
|
4585
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
4586
4586
|
name: z.ZodString;
|
|
4587
4587
|
manageUrl: z.ZodString;
|
|
4588
4588
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -4934,7 +4934,7 @@ export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
|
|
|
4934
4934
|
tokenAddress?: string | undefined;
|
|
4935
4935
|
}>]>, "many">;
|
|
4936
4936
|
} & E, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4937
|
-
productId: z.ZodString
|
|
4937
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
4938
4938
|
name: z.ZodString;
|
|
4939
4939
|
manageUrl: z.ZodString;
|
|
4940
4940
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -5290,7 +5290,7 @@ export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
|
|
|
5290
5290
|
export declare const apiDefiDecompositionSchema: z.ZodObject<{
|
|
5291
5291
|
dappId: z.ZodString;
|
|
5292
5292
|
products: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
5293
|
-
productId: z.ZodString
|
|
5293
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
5294
5294
|
name: z.ZodString;
|
|
5295
5295
|
manageUrl: z.ZodString;
|
|
5296
5296
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -5642,7 +5642,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
|
|
|
5642
5642
|
tokenAddress?: string | undefined;
|
|
5643
5643
|
}>]>, "many">;
|
|
5644
5644
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
5645
|
-
productId: z.ZodString
|
|
5645
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
5646
5646
|
name: z.ZodString;
|
|
5647
5647
|
manageUrl: z.ZodString;
|
|
5648
5648
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -5994,7 +5994,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
|
|
|
5994
5994
|
tokenAddress?: string | undefined;
|
|
5995
5995
|
}>]>, "many">;
|
|
5996
5996
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
5997
|
-
productId: z.ZodString
|
|
5997
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
5998
5998
|
name: z.ZodString;
|
|
5999
5999
|
manageUrl: z.ZodString;
|
|
6000
6000
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -6346,7 +6346,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
|
|
|
6346
6346
|
tokenAddress?: string | undefined;
|
|
6347
6347
|
}>]>, "many">;
|
|
6348
6348
|
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
6349
|
-
productId: z.ZodString
|
|
6349
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
6350
6350
|
name: z.ZodString;
|
|
6351
6351
|
manageUrl: z.ZodString;
|
|
6352
6352
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -6698,7 +6698,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
|
|
|
6698
6698
|
tokenAddress?: string | undefined;
|
|
6699
6699
|
}>]>, "many">;
|
|
6700
6700
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6701
|
-
productId: z.ZodString
|
|
6701
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
6702
6702
|
name: z.ZodString;
|
|
6703
6703
|
manageUrl: z.ZodString;
|
|
6704
6704
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -7051,7 +7051,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
|
|
|
7051
7051
|
}>]>, "many">;
|
|
7052
7052
|
}, z.ZodTypeAny, "passthrough">> & {
|
|
7053
7053
|
extend: <E extends z.ZodRawShape>(extension: E) => z.ZodEffects<z.ZodObject<{
|
|
7054
|
-
productId: z.ZodString
|
|
7054
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
7055
7055
|
name: z.ZodString;
|
|
7056
7056
|
manageUrl: z.ZodString;
|
|
7057
7057
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -7403,7 +7403,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
|
|
|
7403
7403
|
tokenAddress?: string | undefined;
|
|
7404
7404
|
}>]>, "many">;
|
|
7405
7405
|
} & E, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7406
|
-
productId: z.ZodString
|
|
7406
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
7407
7407
|
name: z.ZodString;
|
|
7408
7408
|
manageUrl: z.ZodString;
|
|
7409
7409
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -7755,7 +7755,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
|
|
|
7755
7755
|
tokenAddress?: string | undefined;
|
|
7756
7756
|
}>]>, "many">;
|
|
7757
7757
|
} & E, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7758
|
-
productId: z.ZodString
|
|
7758
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
7759
7759
|
name: z.ZodString;
|
|
7760
7760
|
manageUrl: z.ZodString;
|
|
7761
7761
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -8107,7 +8107,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
|
|
|
8107
8107
|
tokenAddress?: string | undefined;
|
|
8108
8108
|
}>]>, "many">;
|
|
8109
8109
|
} & E, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
8110
|
-
productId: z.ZodString
|
|
8110
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
8111
8111
|
name: z.ZodString;
|
|
8112
8112
|
manageUrl: z.ZodString;
|
|
8113
8113
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -8459,7 +8459,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
|
|
|
8459
8459
|
tokenAddress?: string | undefined;
|
|
8460
8460
|
}>]>, "many">;
|
|
8461
8461
|
} & E, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8462
|
-
productId: z.ZodString
|
|
8462
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
8463
8463
|
name: z.ZodString;
|
|
8464
8464
|
manageUrl: z.ZodString;
|
|
8465
8465
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -8815,7 +8815,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
|
|
|
8815
8815
|
}, "strip", z.ZodTypeAny, {
|
|
8816
8816
|
dappId: string;
|
|
8817
8817
|
products: z.objectOutputType<{
|
|
8818
|
-
productId: z.ZodString
|
|
8818
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
8819
8819
|
name: z.ZodString;
|
|
8820
8820
|
manageUrl: z.ZodString;
|
|
8821
8821
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -9170,7 +9170,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
|
|
|
9170
9170
|
}, {
|
|
9171
9171
|
dappId: string;
|
|
9172
9172
|
products: z.objectInputType<{
|
|
9173
|
-
productId: z.ZodString
|
|
9173
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
9174
9174
|
name: z.ZodString;
|
|
9175
9175
|
manageUrl: z.ZodString;
|
|
9176
9176
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -9527,7 +9527,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
9527
9527
|
dapps: z.ZodArray<z.ZodObject<{
|
|
9528
9528
|
dappId: z.ZodString;
|
|
9529
9529
|
products: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
9530
|
-
productId: z.ZodString
|
|
9530
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
9531
9531
|
name: z.ZodString;
|
|
9532
9532
|
manageUrl: z.ZodString;
|
|
9533
9533
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -9879,7 +9879,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
9879
9879
|
tokenAddress?: string | undefined;
|
|
9880
9880
|
}>]>, "many">;
|
|
9881
9881
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
9882
|
-
productId: z.ZodString
|
|
9882
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
9883
9883
|
name: z.ZodString;
|
|
9884
9884
|
manageUrl: z.ZodString;
|
|
9885
9885
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -10231,7 +10231,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
10231
10231
|
tokenAddress?: string | undefined;
|
|
10232
10232
|
}>]>, "many">;
|
|
10233
10233
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10234
|
-
productId: z.ZodString
|
|
10234
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
10235
10235
|
name: z.ZodString;
|
|
10236
10236
|
manageUrl: z.ZodString;
|
|
10237
10237
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -10583,7 +10583,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
10583
10583
|
tokenAddress?: string | undefined;
|
|
10584
10584
|
}>]>, "many">;
|
|
10585
10585
|
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
10586
|
-
productId: z.ZodString
|
|
10586
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
10587
10587
|
name: z.ZodString;
|
|
10588
10588
|
manageUrl: z.ZodString;
|
|
10589
10589
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -10935,7 +10935,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
10935
10935
|
tokenAddress?: string | undefined;
|
|
10936
10936
|
}>]>, "many">;
|
|
10937
10937
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10938
|
-
productId: z.ZodString
|
|
10938
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
10939
10939
|
name: z.ZodString;
|
|
10940
10940
|
manageUrl: z.ZodString;
|
|
10941
10941
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -11288,7 +11288,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
11288
11288
|
}>]>, "many">;
|
|
11289
11289
|
}, z.ZodTypeAny, "passthrough">> & {
|
|
11290
11290
|
extend: <E extends z.ZodRawShape>(extension: E) => z.ZodEffects<z.ZodObject<{
|
|
11291
|
-
productId: z.ZodString
|
|
11291
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
11292
11292
|
name: z.ZodString;
|
|
11293
11293
|
manageUrl: z.ZodString;
|
|
11294
11294
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -11640,7 +11640,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
11640
11640
|
tokenAddress?: string | undefined;
|
|
11641
11641
|
}>]>, "many">;
|
|
11642
11642
|
} & E, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11643
|
-
productId: z.ZodString
|
|
11643
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
11644
11644
|
name: z.ZodString;
|
|
11645
11645
|
manageUrl: z.ZodString;
|
|
11646
11646
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -11992,7 +11992,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
11992
11992
|
tokenAddress?: string | undefined;
|
|
11993
11993
|
}>]>, "many">;
|
|
11994
11994
|
} & E, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11995
|
-
productId: z.ZodString
|
|
11995
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
11996
11996
|
name: z.ZodString;
|
|
11997
11997
|
manageUrl: z.ZodString;
|
|
11998
11998
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -12344,7 +12344,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
12344
12344
|
tokenAddress?: string | undefined;
|
|
12345
12345
|
}>]>, "many">;
|
|
12346
12346
|
} & E, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
12347
|
-
productId: z.ZodString
|
|
12347
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
12348
12348
|
name: z.ZodString;
|
|
12349
12349
|
manageUrl: z.ZodString;
|
|
12350
12350
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -12696,7 +12696,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
12696
12696
|
tokenAddress?: string | undefined;
|
|
12697
12697
|
}>]>, "many">;
|
|
12698
12698
|
} & E, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
12699
|
-
productId: z.ZodString
|
|
12699
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
12700
12700
|
name: z.ZodString;
|
|
12701
12701
|
manageUrl: z.ZodString;
|
|
12702
12702
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -13052,7 +13052,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
13052
13052
|
}, "strip", z.ZodTypeAny, {
|
|
13053
13053
|
dappId: string;
|
|
13054
13054
|
products: z.objectOutputType<{
|
|
13055
|
-
productId: z.ZodString
|
|
13055
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
13056
13056
|
name: z.ZodString;
|
|
13057
13057
|
manageUrl: z.ZodString;
|
|
13058
13058
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -13407,7 +13407,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
13407
13407
|
}, {
|
|
13408
13408
|
dappId: string;
|
|
13409
13409
|
products: z.objectInputType<{
|
|
13410
|
-
productId: z.ZodString
|
|
13410
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
13411
13411
|
name: z.ZodString;
|
|
13412
13412
|
manageUrl: z.ZodString;
|
|
13413
13413
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -13764,7 +13764,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
13764
13764
|
dapps: {
|
|
13765
13765
|
dappId: string;
|
|
13766
13766
|
products: z.objectOutputType<{
|
|
13767
|
-
productId: z.ZodString
|
|
13767
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
13768
13768
|
name: z.ZodString;
|
|
13769
13769
|
manageUrl: z.ZodString;
|
|
13770
13770
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -14121,7 +14121,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
14121
14121
|
dapps: {
|
|
14122
14122
|
dappId: string;
|
|
14123
14123
|
products: z.objectInputType<{
|
|
14124
|
-
productId: z.ZodString
|
|
14124
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
14125
14125
|
name: z.ZodString;
|
|
14126
14126
|
manageUrl: z.ZodString;
|
|
14127
14127
|
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
@@ -101,7 +101,7 @@ const f = a.object({
|
|
|
101
101
|
apy: a.string().optional()
|
|
102
102
|
})
|
|
103
103
|
}), w = a.array(p), b = r.or(c).or(l).or(s).or(p), h = a.array(b), u = g({
|
|
104
|
-
productId: a.string(),
|
|
104
|
+
productId: a.string().optional(),
|
|
105
105
|
name: a.string(),
|
|
106
106
|
manageUrl: a.string(),
|
|
107
107
|
type: d,
|