@argent/x-shared 1.41.0 → 1.41.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.
- package/dist/src/tokens/service/implementation.d.ts +1 -1
- package/dist/src/tokens/service/types/backend.model.d.ts +38 -36
- package/dist/src/tokens/service/types/defiPosition.model.d.ts +11 -11
- package/dist/src/tokens/service/types/defiPositionType.model.cjs +1 -1
- package/dist/src/tokens/service/types/defiPositionType.model.d.ts +1 -1
- package/dist/src/tokens/service/types/defiPositionType.model.js +8 -7
- package/dist/src/tokens/utils.d.ts +6 -0
- package/package.json +1 -1
|
@@ -30,7 +30,7 @@ export declare class TokenServiceWeb implements ITokenServiceWeb {
|
|
|
30
30
|
products: import('zod').objectOutputType<{
|
|
31
31
|
name: import('zod').ZodString;
|
|
32
32
|
manageUrl: import('zod').ZodString;
|
|
33
|
-
type: import('zod').ZodUnion<[import('zod').ZodLiteral<"concentratedLiquidityPosition">, import('zod').ZodLiteral<"collateralizedDebtPosition">, import('zod').ZodLiteral<"delegatedTokens">, import('zod').ZodLiteral<"staking">]>;
|
|
33
|
+
type: import('zod').ZodUnion<[import('zod').ZodLiteral<"concentratedLiquidityPosition">, import('zod').ZodLiteral<"collateralizedDebtPosition">, import('zod').ZodLiteral<"delegatedTokens">, import('zod').ZodLiteral<"strkDelegatedStaking">, import('zod').ZodLiteral<"staking">]>;
|
|
34
34
|
groups: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodObject<{
|
|
35
35
|
name: import('zod').ZodOptional<import('zod').ZodString>;
|
|
36
36
|
healthRatio: import('zod').ZodOptional<import('zod').ZodString>;
|
|
@@ -1727,7 +1727,7 @@ export declare const apiDefiDecompositionProducts: z.ZodArray<z.ZodUnion<[z.ZodU
|
|
|
1727
1727
|
export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
|
|
1728
1728
|
name: z.ZodString;
|
|
1729
1729
|
manageUrl: z.ZodString;
|
|
1730
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
1730
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
1731
1731
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1732
1732
|
name: z.ZodOptional<z.ZodString>;
|
|
1733
1733
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -2068,7 +2068,7 @@ export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
|
|
|
2068
2068
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2069
2069
|
name: z.ZodString;
|
|
2070
2070
|
manageUrl: z.ZodString;
|
|
2071
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
2071
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
2072
2072
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2073
2073
|
name: z.ZodOptional<z.ZodString>;
|
|
2074
2074
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -2409,7 +2409,7 @@ export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
|
|
|
2409
2409
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2410
2410
|
name: z.ZodString;
|
|
2411
2411
|
manageUrl: z.ZodString;
|
|
2412
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
2412
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
2413
2413
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2414
2414
|
name: z.ZodOptional<z.ZodString>;
|
|
2415
2415
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -2750,7 +2750,7 @@ export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
|
|
|
2750
2750
|
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
2751
2751
|
name: z.ZodString;
|
|
2752
2752
|
manageUrl: z.ZodString;
|
|
2753
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
2753
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
2754
2754
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2755
2755
|
name: z.ZodOptional<z.ZodString>;
|
|
2756
2756
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -3091,7 +3091,7 @@ export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
|
|
|
3091
3091
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3092
3092
|
name: z.ZodString;
|
|
3093
3093
|
manageUrl: z.ZodString;
|
|
3094
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
3094
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
3095
3095
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3096
3096
|
name: z.ZodOptional<z.ZodString>;
|
|
3097
3097
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -3433,7 +3433,7 @@ export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
|
|
|
3433
3433
|
extend: <E extends z.ZodRawShape>(extension: E) => z.ZodEffects<z.ZodObject<{
|
|
3434
3434
|
name: z.ZodString;
|
|
3435
3435
|
manageUrl: z.ZodString;
|
|
3436
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
3436
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
3437
3437
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3438
3438
|
name: z.ZodOptional<z.ZodString>;
|
|
3439
3439
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -3774,7 +3774,7 @@ export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
|
|
|
3774
3774
|
} & E, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3775
3775
|
name: z.ZodString;
|
|
3776
3776
|
manageUrl: z.ZodString;
|
|
3777
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
3777
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
3778
3778
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3779
3779
|
name: z.ZodOptional<z.ZodString>;
|
|
3780
3780
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -4115,7 +4115,7 @@ export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
|
|
|
4115
4115
|
} & E, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4116
4116
|
name: z.ZodString;
|
|
4117
4117
|
manageUrl: z.ZodString;
|
|
4118
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
4118
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
4119
4119
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4120
4120
|
name: z.ZodOptional<z.ZodString>;
|
|
4121
4121
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -4456,7 +4456,7 @@ export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
|
|
|
4456
4456
|
} & E, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
4457
4457
|
name: z.ZodString;
|
|
4458
4458
|
manageUrl: z.ZodString;
|
|
4459
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
4459
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
4460
4460
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4461
4461
|
name: z.ZodOptional<z.ZodString>;
|
|
4462
4462
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -4797,7 +4797,7 @@ export declare const apiDefiDecompositionProduct: z.ZodEffects<z.ZodObject<{
|
|
|
4797
4797
|
} & E, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4798
4798
|
name: z.ZodString;
|
|
4799
4799
|
manageUrl: z.ZodString;
|
|
4800
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
4800
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
4801
4801
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4802
4802
|
name: z.ZodOptional<z.ZodString>;
|
|
4803
4803
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -5142,7 +5142,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
|
|
|
5142
5142
|
products: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
5143
5143
|
name: z.ZodString;
|
|
5144
5144
|
manageUrl: z.ZodString;
|
|
5145
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
5145
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
5146
5146
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5147
5147
|
name: z.ZodOptional<z.ZodString>;
|
|
5148
5148
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -5483,7 +5483,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
|
|
|
5483
5483
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
5484
5484
|
name: z.ZodString;
|
|
5485
5485
|
manageUrl: z.ZodString;
|
|
5486
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
5486
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
5487
5487
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5488
5488
|
name: z.ZodOptional<z.ZodString>;
|
|
5489
5489
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -5824,7 +5824,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
|
|
|
5824
5824
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
5825
5825
|
name: z.ZodString;
|
|
5826
5826
|
manageUrl: z.ZodString;
|
|
5827
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
5827
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
5828
5828
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5829
5829
|
name: z.ZodOptional<z.ZodString>;
|
|
5830
5830
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -6165,7 +6165,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
|
|
|
6165
6165
|
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
6166
6166
|
name: z.ZodString;
|
|
6167
6167
|
manageUrl: z.ZodString;
|
|
6168
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
6168
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
6169
6169
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6170
6170
|
name: z.ZodOptional<z.ZodString>;
|
|
6171
6171
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -6506,7 +6506,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
|
|
|
6506
6506
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6507
6507
|
name: z.ZodString;
|
|
6508
6508
|
manageUrl: z.ZodString;
|
|
6509
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
6509
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
6510
6510
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6511
6511
|
name: z.ZodOptional<z.ZodString>;
|
|
6512
6512
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -6848,7 +6848,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
|
|
|
6848
6848
|
extend: <E extends z.ZodRawShape>(extension: E) => z.ZodEffects<z.ZodObject<{
|
|
6849
6849
|
name: z.ZodString;
|
|
6850
6850
|
manageUrl: z.ZodString;
|
|
6851
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
6851
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
6852
6852
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6853
6853
|
name: z.ZodOptional<z.ZodString>;
|
|
6854
6854
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -7189,7 +7189,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
|
|
|
7189
7189
|
} & E, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7190
7190
|
name: z.ZodString;
|
|
7191
7191
|
manageUrl: z.ZodString;
|
|
7192
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
7192
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
7193
7193
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7194
7194
|
name: z.ZodOptional<z.ZodString>;
|
|
7195
7195
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -7530,7 +7530,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
|
|
|
7530
7530
|
} & E, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7531
7531
|
name: z.ZodString;
|
|
7532
7532
|
manageUrl: z.ZodString;
|
|
7533
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
7533
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
7534
7534
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7535
7535
|
name: z.ZodOptional<z.ZodString>;
|
|
7536
7536
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -7871,7 +7871,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
|
|
|
7871
7871
|
} & E, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
7872
7872
|
name: z.ZodString;
|
|
7873
7873
|
manageUrl: z.ZodString;
|
|
7874
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
7874
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
7875
7875
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7876
7876
|
name: z.ZodOptional<z.ZodString>;
|
|
7877
7877
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -8212,7 +8212,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
|
|
|
8212
8212
|
} & E, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8213
8213
|
name: z.ZodString;
|
|
8214
8214
|
manageUrl: z.ZodString;
|
|
8215
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
8215
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
8216
8216
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8217
8217
|
name: z.ZodOptional<z.ZodString>;
|
|
8218
8218
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -8557,7 +8557,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
|
|
|
8557
8557
|
products: z.objectOutputType<{
|
|
8558
8558
|
name: z.ZodString;
|
|
8559
8559
|
manageUrl: z.ZodString;
|
|
8560
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
8560
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
8561
8561
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8562
8562
|
name: z.ZodOptional<z.ZodString>;
|
|
8563
8563
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -8901,7 +8901,7 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
|
|
|
8901
8901
|
products: z.objectInputType<{
|
|
8902
8902
|
name: z.ZodString;
|
|
8903
8903
|
manageUrl: z.ZodString;
|
|
8904
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
8904
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
8905
8905
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8906
8906
|
name: z.ZodOptional<z.ZodString>;
|
|
8907
8907
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -9247,7 +9247,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
9247
9247
|
products: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
9248
9248
|
name: z.ZodString;
|
|
9249
9249
|
manageUrl: z.ZodString;
|
|
9250
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
9250
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
9251
9251
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9252
9252
|
name: z.ZodOptional<z.ZodString>;
|
|
9253
9253
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -9588,7 +9588,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
9588
9588
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
9589
9589
|
name: z.ZodString;
|
|
9590
9590
|
manageUrl: z.ZodString;
|
|
9591
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
9591
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
9592
9592
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9593
9593
|
name: z.ZodOptional<z.ZodString>;
|
|
9594
9594
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -9929,7 +9929,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
9929
9929
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
9930
9930
|
name: z.ZodString;
|
|
9931
9931
|
manageUrl: z.ZodString;
|
|
9932
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
9932
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
9933
9933
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9934
9934
|
name: z.ZodOptional<z.ZodString>;
|
|
9935
9935
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -10270,7 +10270,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
10270
10270
|
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
10271
10271
|
name: z.ZodString;
|
|
10272
10272
|
manageUrl: z.ZodString;
|
|
10273
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
10273
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
10274
10274
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10275
10275
|
name: z.ZodOptional<z.ZodString>;
|
|
10276
10276
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -10611,7 +10611,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
10611
10611
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10612
10612
|
name: z.ZodString;
|
|
10613
10613
|
manageUrl: z.ZodString;
|
|
10614
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
10614
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
10615
10615
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10616
10616
|
name: z.ZodOptional<z.ZodString>;
|
|
10617
10617
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -10953,7 +10953,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
10953
10953
|
extend: <E extends z.ZodRawShape>(extension: E) => z.ZodEffects<z.ZodObject<{
|
|
10954
10954
|
name: z.ZodString;
|
|
10955
10955
|
manageUrl: z.ZodString;
|
|
10956
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
10956
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
10957
10957
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10958
10958
|
name: z.ZodOptional<z.ZodString>;
|
|
10959
10959
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -11294,7 +11294,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
11294
11294
|
} & E, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11295
11295
|
name: z.ZodString;
|
|
11296
11296
|
manageUrl: z.ZodString;
|
|
11297
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
11297
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
11298
11298
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11299
11299
|
name: z.ZodOptional<z.ZodString>;
|
|
11300
11300
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -11635,7 +11635,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
11635
11635
|
} & E, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11636
11636
|
name: z.ZodString;
|
|
11637
11637
|
manageUrl: z.ZodString;
|
|
11638
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
11638
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
11639
11639
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11640
11640
|
name: z.ZodOptional<z.ZodString>;
|
|
11641
11641
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -11976,7 +11976,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
11976
11976
|
} & E, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
11977
11977
|
name: z.ZodString;
|
|
11978
11978
|
manageUrl: z.ZodString;
|
|
11979
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
11979
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
11980
11980
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11981
11981
|
name: z.ZodOptional<z.ZodString>;
|
|
11982
11982
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -12317,7 +12317,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
12317
12317
|
} & E, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
12318
12318
|
name: z.ZodString;
|
|
12319
12319
|
manageUrl: z.ZodString;
|
|
12320
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
12320
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
12321
12321
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
12322
12322
|
name: z.ZodOptional<z.ZodString>;
|
|
12323
12323
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -12662,7 +12662,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
12662
12662
|
products: z.objectOutputType<{
|
|
12663
12663
|
name: z.ZodString;
|
|
12664
12664
|
manageUrl: z.ZodString;
|
|
12665
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
12665
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
12666
12666
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
12667
12667
|
name: z.ZodOptional<z.ZodString>;
|
|
12668
12668
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -13006,7 +13006,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
13006
13006
|
products: z.objectInputType<{
|
|
13007
13007
|
name: z.ZodString;
|
|
13008
13008
|
manageUrl: z.ZodString;
|
|
13009
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
13009
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
13010
13010
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
13011
13011
|
name: z.ZodOptional<z.ZodString>;
|
|
13012
13012
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -13352,7 +13352,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
13352
13352
|
products: z.objectOutputType<{
|
|
13353
13353
|
name: z.ZodString;
|
|
13354
13354
|
manageUrl: z.ZodString;
|
|
13355
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
13355
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
13356
13356
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
13357
13357
|
name: z.ZodOptional<z.ZodString>;
|
|
13358
13358
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -13698,7 +13698,7 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
|
|
|
13698
13698
|
products: z.objectInputType<{
|
|
13699
13699
|
name: z.ZodString;
|
|
13700
13700
|
manageUrl: z.ZodString;
|
|
13701
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
13701
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
13702
13702
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
13703
13703
|
name: z.ZodOptional<z.ZodString>;
|
|
13704
13704
|
healthRatio: z.ZodOptional<z.ZodString>;
|
|
@@ -14117,5 +14117,7 @@ export type ApiAirdrop = z.infer<typeof apiAirdropSchema>;
|
|
|
14117
14117
|
export type ApiUnclaimedRewards = z.infer<typeof apiUnclaimedRewardsSchema>;
|
|
14118
14118
|
export type ApiCollateralizedDebtPosition = z.infer<typeof apiCollateralizedDebtPositionSchema>;
|
|
14119
14119
|
export type ApiConcentratedLiquidityPosition = z.infer<typeof apiConcentratedLiquidityPositionSchema>;
|
|
14120
|
+
export type ApiStrkDelegatedStaking = z.infer<typeof apiStrkDelegatedStakingSchema>;
|
|
14121
|
+
export type ApiStaking = z.infer<typeof apiStakingPositionSchema>;
|
|
14120
14122
|
export type ApiDelegatedTokens = z.infer<typeof apiDelegatedTokensSchema>;
|
|
14121
14123
|
export type ApiDelegatedTokensArray = z.infer<typeof apiDelegatedTokensArraySchema>;
|
|
@@ -2235,7 +2235,7 @@ export declare const productGroupsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
2235
2235
|
healthRatio?: string | undefined;
|
|
2236
2236
|
}>>;
|
|
2237
2237
|
export declare const defiProductSchema: z.ZodObject<{
|
|
2238
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
2238
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
2239
2239
|
manageUrl: z.ZodOptional<z.ZodString>;
|
|
2240
2240
|
name: z.ZodString;
|
|
2241
2241
|
positions: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -2962,7 +2962,7 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
2962
2962
|
accountAddress: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
2963
2963
|
}, "strip", z.ZodTypeAny, {
|
|
2964
2964
|
name: string;
|
|
2965
|
-
type: "staking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
2965
|
+
type: "staking" | "strkDelegatedStaking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
2966
2966
|
accountAddress: `0x${string}`;
|
|
2967
2967
|
positions: ({
|
|
2968
2968
|
poolFeePercentage: string;
|
|
@@ -3116,7 +3116,7 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
3116
3116
|
}> | undefined;
|
|
3117
3117
|
}, {
|
|
3118
3118
|
name: string;
|
|
3119
|
-
type: "staking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
3119
|
+
type: "staking" | "strkDelegatedStaking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
3120
3120
|
accountAddress: string;
|
|
3121
3121
|
positions: ({
|
|
3122
3122
|
poolFeePercentage: string;
|
|
@@ -3270,7 +3270,7 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
3270
3270
|
}> | undefined;
|
|
3271
3271
|
}>;
|
|
3272
3272
|
export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
3273
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
3273
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
3274
3274
|
manageUrl: z.ZodOptional<z.ZodString>;
|
|
3275
3275
|
name: z.ZodString;
|
|
3276
3276
|
positions: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -3997,7 +3997,7 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
3997
3997
|
accountAddress: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
3998
3998
|
}, "strip", z.ZodTypeAny, {
|
|
3999
3999
|
name: string;
|
|
4000
|
-
type: "staking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
4000
|
+
type: "staking" | "strkDelegatedStaking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
4001
4001
|
accountAddress: `0x${string}`;
|
|
4002
4002
|
positions: ({
|
|
4003
4003
|
poolFeePercentage: string;
|
|
@@ -4151,7 +4151,7 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
4151
4151
|
}> | undefined;
|
|
4152
4152
|
}, {
|
|
4153
4153
|
name: string;
|
|
4154
|
-
type: "staking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
4154
|
+
type: "staking" | "strkDelegatedStaking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
4155
4155
|
accountAddress: string;
|
|
4156
4156
|
positions: ({
|
|
4157
4157
|
poolFeePercentage: string;
|
|
@@ -4307,7 +4307,7 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
4307
4307
|
export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
4308
4308
|
dappId: z.ZodString;
|
|
4309
4309
|
products: z.ZodArray<z.ZodObject<{
|
|
4310
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
4310
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
4311
4311
|
manageUrl: z.ZodOptional<z.ZodString>;
|
|
4312
4312
|
name: z.ZodString;
|
|
4313
4313
|
positions: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -5034,7 +5034,7 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
5034
5034
|
accountAddress: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
5035
5035
|
}, "strip", z.ZodTypeAny, {
|
|
5036
5036
|
name: string;
|
|
5037
|
-
type: "staking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
5037
|
+
type: "staking" | "strkDelegatedStaking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
5038
5038
|
accountAddress: `0x${string}`;
|
|
5039
5039
|
positions: ({
|
|
5040
5040
|
poolFeePercentage: string;
|
|
@@ -5188,7 +5188,7 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
5188
5188
|
}> | undefined;
|
|
5189
5189
|
}, {
|
|
5190
5190
|
name: string;
|
|
5191
|
-
type: "staking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
5191
|
+
type: "staking" | "strkDelegatedStaking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
5192
5192
|
accountAddress: string;
|
|
5193
5193
|
positions: ({
|
|
5194
5194
|
poolFeePercentage: string;
|
|
@@ -5345,7 +5345,7 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
5345
5345
|
dappId: string;
|
|
5346
5346
|
products: {
|
|
5347
5347
|
name: string;
|
|
5348
|
-
type: "staking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
5348
|
+
type: "staking" | "strkDelegatedStaking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
5349
5349
|
accountAddress: `0x${string}`;
|
|
5350
5350
|
positions: ({
|
|
5351
5351
|
poolFeePercentage: string;
|
|
@@ -5502,7 +5502,7 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
5502
5502
|
dappId: string;
|
|
5503
5503
|
products: {
|
|
5504
5504
|
name: string;
|
|
5505
|
-
type: "staking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
5505
|
+
type: "staking" | "strkDelegatedStaking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
5506
5506
|
accountAddress: string;
|
|
5507
5507
|
positions: ({
|
|
5508
5508
|
poolFeePercentage: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("zod"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("zod"),t=e.z.union([e.z.literal("concentratedLiquidityPosition"),e.z.literal("collateralizedDebtPosition"),e.z.literal("delegatedTokens"),e.z.literal("strkDelegatedStaking"),e.z.literal("staking")]);exports.defiPositionTypeSchema=t;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const defiPositionTypeSchema: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
2
|
+
export declare const defiPositionTypeSchema: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
3
3
|
export type DefiPositionType = z.infer<typeof defiPositionTypeSchema>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { z as
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { z as e } from "zod";
|
|
2
|
+
const i = e.union([
|
|
3
|
+
e.literal("concentratedLiquidityPosition"),
|
|
4
|
+
e.literal("collateralizedDebtPosition"),
|
|
5
|
+
e.literal("delegatedTokens"),
|
|
6
|
+
e.literal("strkDelegatedStaking"),
|
|
7
|
+
e.literal("staking")
|
|
7
8
|
]);
|
|
8
9
|
export {
|
|
9
|
-
|
|
10
|
+
i as defiPositionTypeSchema
|
|
10
11
|
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ApiStaking, ApiStrkDelegatedStaking, ApiCollateralizedDebtPosition, ApiConcentratedLiquidityPosition, ApiDelegatedTokens } from './service';
|
|
2
|
+
export declare const isConcentratedLiquidityPosition: (position: unknown) => position is ApiConcentratedLiquidityPosition;
|
|
3
|
+
export declare const isCollateralizedDebtPosition: (position: unknown) => position is ApiCollateralizedDebtPosition;
|
|
4
|
+
export declare const isDelegatedTokens: (position: unknown) => position is ApiDelegatedTokens;
|
|
5
|
+
export declare const isStaking: (position: unknown) => position is ApiStaking;
|
|
6
|
+
export declare const isStrkDelegatedStaking: (position: unknown) => position is ApiStrkDelegatedStaking;
|