@argent/x-shared 1.41.5 → 1.41.6
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,7 +1,7 @@
|
|
|
1
1
|
import { z as a } from "zod";
|
|
2
2
|
import { addressSchemaArgentBackend as n, addressSchema as t } from "../../../chains/starknet/address.js";
|
|
3
3
|
import { defiPositionTypeSchema as d } from "./defiPositionType.model.js";
|
|
4
|
-
import { createSchemaWithWarnings as
|
|
4
|
+
import { createSchemaWithWarnings as g } from "../../../utils/schemas.js";
|
|
5
5
|
const f = a.object({
|
|
6
6
|
status: a.literal("initialising")
|
|
7
7
|
}).or(a.object({
|
|
@@ -39,14 +39,14 @@ const f = a.object({
|
|
|
39
39
|
tags: a.array(a.string()).optional()
|
|
40
40
|
}), I = a.object({
|
|
41
41
|
tokens: a.array(i)
|
|
42
|
-
}), A = i,
|
|
42
|
+
}), A = i, m = a.object({
|
|
43
43
|
pricingId: a.number(),
|
|
44
44
|
ethValue: a.string(),
|
|
45
45
|
ccyValue: a.string(),
|
|
46
46
|
ethDayChange: a.string(),
|
|
47
47
|
ccyDayChange: a.string()
|
|
48
48
|
}), C = a.object({
|
|
49
|
-
prices: a.array(
|
|
49
|
+
prices: a.array(m)
|
|
50
50
|
}), o = a.object({
|
|
51
51
|
tokenAddress: n,
|
|
52
52
|
principal: a.string(),
|
|
@@ -72,7 +72,7 @@ const f = a.object({
|
|
|
72
72
|
}),
|
|
73
73
|
investmentId: a.string().optional(),
|
|
74
74
|
totalBalances: a.record(a.string())
|
|
75
|
-
}),
|
|
75
|
+
}), x = a.array(s), c = e.extend({
|
|
76
76
|
data: a.object({
|
|
77
77
|
apy: a.string().optional(),
|
|
78
78
|
group: a.number().optional(),
|
|
@@ -80,7 +80,8 @@ const f = a.object({
|
|
|
80
80
|
debt: a.boolean(),
|
|
81
81
|
lending: a.boolean()
|
|
82
82
|
})
|
|
83
|
-
}),
|
|
83
|
+
}), B = a.array(c), l = e.extend({
|
|
84
|
+
id: a.string(),
|
|
84
85
|
data: a.object({
|
|
85
86
|
delegatingTo: t
|
|
86
87
|
}),
|
|
@@ -99,7 +100,7 @@ const f = a.object({
|
|
|
99
100
|
}).optional(),
|
|
100
101
|
apy: a.string().optional()
|
|
101
102
|
})
|
|
102
|
-
}), w = a.array(p), b = r.or(c).or(l).or(s).or(p), h = a.array(b), u =
|
|
103
|
+
}), w = a.array(p), b = r.or(c).or(l).or(s).or(p), h = a.array(b), u = g({
|
|
103
104
|
productId: a.string(),
|
|
104
105
|
name: a.string(),
|
|
105
106
|
manageUrl: a.string(),
|
|
@@ -130,7 +131,7 @@ export {
|
|
|
130
131
|
f as apiAccountTokenBalancesSchema,
|
|
131
132
|
k as apiAirdropSchema,
|
|
132
133
|
c as apiCollateralizedDebtPositionSchema,
|
|
133
|
-
|
|
134
|
+
B as apiCollateralizedDebtPositionsSchema,
|
|
134
135
|
r as apiConcentratedLiquidityPositionSchema,
|
|
135
136
|
T as apiConcentratedLiquidityPositionsSchema,
|
|
136
137
|
u as apiDefiDecompositionProduct,
|
|
@@ -142,9 +143,9 @@ export {
|
|
|
142
143
|
R as apiDelegatedTokensArraySchema,
|
|
143
144
|
l as apiDelegatedTokensSchema,
|
|
144
145
|
C as apiPriceDataResponseSchema,
|
|
145
|
-
|
|
146
|
+
m as apiPriceDetailsSchema,
|
|
146
147
|
s as apiStakingPositionSchema,
|
|
147
|
-
|
|
148
|
+
x as apiStakingPositionsSchema,
|
|
148
149
|
w as apiStrkDelegatedStakingPositionsSchema,
|
|
149
150
|
p as apiStrkDelegatedStakingSchema,
|
|
150
151
|
A as apiTokenInfoResponseSchema,
|