@argent/x-shared 1.27.0 → 1.29.0

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.
Files changed (29) hide show
  1. package/dist/features/simulation/activity/schema.d.ts +338 -338
  2. package/dist/features/simulation/activity/utils/createNativeActivity.d.ts +10 -10
  3. package/dist/features/simulation/activity/utils/index.d.ts +1 -0
  4. package/dist/features/simulation/activity/utils/isUpgradeActivity.d.ts +3 -0
  5. package/dist/features/simulation/transactionReview/schema.d.ts +1562 -1562
  6. package/dist/index.d.ts +10 -9
  7. package/dist/index.js +3 -3
  8. package/dist/index.mjs +3937 -2230
  9. package/dist/knownDapps/schema.d.ts +22 -22
  10. package/dist/knownDapps/utils/getDapplandUrl.d.ts +1 -1
  11. package/dist/nameResolution/ResolveNameService.d.ts +1 -1
  12. package/dist/nameResolution/schema.d.ts +4 -4
  13. package/dist/onchainRecovery/IOnchainRecoveryService.d.ts +13 -0
  14. package/dist/onchainRecovery/OnchainRecoveryService.d.ts +18 -0
  15. package/dist/onchainRecovery/index.d.ts +3 -0
  16. package/dist/onchainRecovery/schema.d.ts +73 -0
  17. package/dist/{schema-THcYC9Pj.mjs → schema-3qaq9ugL.mjs} +141 -141
  18. package/dist/{schema-CtZY8-Gm.js → schema-C-_pmcO7.js} +1 -1
  19. package/dist/simulation.js +1 -1
  20. package/dist/simulation.mjs +113 -93
  21. package/dist/tokens/service/implementation.d.ts +1 -1
  22. package/dist/tokens/service/types/backend.model.d.ts +20 -20
  23. package/dist/tokens/service/types/defiPosition.model.d.ts +236 -236
  24. package/dist/tokens/service/types/token.model.d.ts +24 -24
  25. package/dist/tokens/service/types/unclaimedRewards.model.d.ts +8 -8
  26. package/dist/transactions/errors.d.ts +4 -4
  27. package/dist/transactions/useTransactionReviewV2web.d.ts +56 -56
  28. package/dist/utils/starknet/starknetSchemas.d.ts +212 -212
  29. package/package.json +2 -1
@@ -1,14 +1,14 @@
1
- import { b1 as m, b2 as d, b3 as u, b4 as h, E as v, h as A, aH as f, p as l } from "./schema-THcYC9Pj.mjs";
2
- import { bc as x, bd as H, bb as W, bm as K, be as P, b7 as Q, b6 as V, bf as Z, b9 as G, b5 as J, bn as X, bs as Y, bj as $, bk as I, z as ee, b8 as te, bu as se, bg as ne, bi as ie, bt as ae, bh as re, F as oe, ba as ce, bl as fe, bw as de, bq as le, bv as ue, D as Ae, br as pe, bo as me, bp as he } from "./schema-THcYC9Pj.mjs";
1
+ import { b1 as m, b2 as u, b3 as l, b4 as h, E as v, h as p, T as f, t as d } from "./schema-3qaq9ugL.mjs";
2
+ import { bc as G, bd as H, bb as K, bm as Q, be as V, b7 as Z, b6 as J, bf as X, b9 as Y, b5 as $, bn as I, bs as ee, bj as te, bk as se, D as ne, b8 as ie, bu as ae, bg as re, bi as oe, bt as ce, bh as fe, G as ue, ba as de, bl as le, bw as pe, bq as Ae, bv as me, F as he, br as ve, bo as Se, bp as ye } from "./schema-3qaq9ugL.mjs";
3
3
  import { isEmpty as S } from "lodash-es";
4
4
  import "starknet";
5
5
  import "zod";
6
6
  import "@scure/base";
7
7
  const y = (e) => e.map(b), b = (e) => {
8
- var n, s, a, c;
8
+ var n, i, a, c;
9
9
  if (m(e))
10
- return d.parse(e);
11
- const i = !!e.sent;
10
+ return u.parse(e);
11
+ const s = !!e.sent;
12
12
  if (e.token.type !== "ERC20") {
13
13
  const r = {
14
14
  asset: {
@@ -18,12 +18,12 @@ const y = (e) => e.map(b), b = (e) => {
18
18
  amount: e.value,
19
19
  collectionName: e.token.name,
20
20
  collectionPreviewImage: (n = e.token.imageUrls) == null ? void 0 : n.preview,
21
- nftName: (s = e.tokenIdDetails) == null ? void 0 : s.name,
21
+ nftName: (i = e.tokenIdDetails) == null ? void 0 : i.name,
22
22
  nftPreviewImage: (c = (a = e.tokenIdDetails) == null ? void 0 : a.imageUrls) == null ? void 0 : c.preview
23
23
  },
24
- sent: i
24
+ sent: s
25
25
  };
26
- return d.parse(r);
26
+ return u.parse(r);
27
27
  }
28
28
  const t = {
29
29
  asset: {
@@ -35,64 +35,64 @@ const y = (e) => e.map(b), b = (e) => {
35
35
  currencyAmount: e.usdValue || "0"
36
36
  }
37
37
  },
38
- sent: i
38
+ sent: s
39
39
  };
40
- return d.parse(t);
40
+ return u.parse(t);
41
41
  };
42
- function k(e) {
43
- var n, s;
44
- const i = (s = (n = e.transactions) == null ? void 0 : n[0].reviewOfTransaction) == null ? void 0 : s.reviews;
45
- return i ? i.map((a) => a.action) : void 0;
42
+ function g(e) {
43
+ var n, i;
44
+ const s = (i = (n = e.transactions) == null ? void 0 : n[0].reviewOfTransaction) == null ? void 0 : i.reviews;
45
+ return s ? s.map((a) => a.action) : void 0;
46
46
  }
47
- function M({ simulateAndReview: e, ...i }) {
48
- var n, s;
47
+ function U({ simulateAndReview: e, ...s }) {
48
+ var n, i;
49
49
  const t = {
50
- type: u,
51
- ...i
50
+ type: l,
51
+ ...s
52
52
  };
53
53
  if (e && !S(e.transactions)) {
54
54
  const a = e.transactions[e.transactions.length - 1], c = (n = a.simulation) == null ? void 0 : n.summary;
55
55
  if (c) {
56
- const p = y(c);
57
- t.transferSummary = p;
56
+ const A = y(c);
57
+ t.transferSummary = A;
58
58
  }
59
- const r = (s = a.reviewOfTransaction) == null ? void 0 : s.targetedDapp;
59
+ const r = (i = a.reviewOfTransaction) == null ? void 0 : i.targetedDapp;
60
60
  r && (t.dapp = r);
61
- const o = k(e);
61
+ const o = g(e);
62
62
  o && (t.actions = o);
63
63
  }
64
64
  return h.parse(t);
65
65
  }
66
- function g(e) {
67
- const i = E(e), t = T(e);
68
- return i || t;
66
+ function k(e) {
67
+ const s = E(e), t = T(e);
68
+ return s || t;
69
69
  }
70
70
  const E = (e) => {
71
71
  var c;
72
72
  if (!((c = e.actions) != null && c.length))
73
73
  return !1;
74
- const i = e.actions[0];
75
- if (i.name !== "ERC20_transfer")
74
+ const s = e.actions[0];
75
+ if (s.name !== "ERC20_transfer")
76
76
  return !1;
77
- let t, n, s, a;
78
- return i.defaultProperties && i.defaultProperties.forEach((r) => {
77
+ let t, n, i, a;
78
+ return s.defaultProperties && s.defaultProperties.forEach((r) => {
79
79
  r.type === "token_address" && r.token.address === v && (n = !0), r.type === "calldata" && (t = r.calldata[0]);
80
- }), i.properties.length > 1 && i.properties.forEach((r) => {
81
- r.type === "amount" && r.label === "ERC20_transfer_amount" && r.amount === "0" && (s = !0), r.type === "address" && r.label === "ERC20_transfer_recipient" && A(r.address, t) && (a = !0);
82
- }), n && s && a;
80
+ }), s.properties.length > 1 && s.properties.forEach((r) => {
81
+ r.type === "amount" && r.label === "ERC20_transfer_amount" && r.amount === "0" && (i = !0), r.type === "address" && r.label === "ERC20_transfer_recipient" && p(r.address, t) && (a = !0);
82
+ }), n && i && a;
83
83
  }, T = (e) => {
84
- var i, t;
85
- return !!("meta" in e && (t = (i = e.meta) == null ? void 0 : i.title) != null && t.includes("On-chain rejection"));
84
+ var s, t;
85
+ return !!("meta" in e && (t = (s = e.meta) == null ? void 0 : s.title) != null && t.includes("On-chain rejection"));
86
86
  };
87
- function D(e, i = !1) {
87
+ function D(e, s = !1) {
88
88
  var t, n;
89
- if (e.type === u) {
90
- if (i && ((t = e.meta) != null && t.shortTitle))
89
+ if (e.type === l) {
90
+ if (s && ((t = e.meta) != null && t.shortTitle))
91
91
  return e.meta.shortTitle;
92
92
  if ((n = e.meta) != null && n.title)
93
93
  return e.meta.title;
94
94
  } else {
95
- if (g(e))
95
+ if (k(e))
96
96
  return "On-chain rejection";
97
97
  if (e.title)
98
98
  return e.title;
@@ -102,31 +102,50 @@ function D(e, i = !1) {
102
102
  function C(e) {
103
103
  return D(e, !0);
104
104
  }
105
- function B(e) {
105
+ function z(e) {
106
106
  return e.map((n) => n.lastModified).sort().pop();
107
107
  }
108
- const z = (e) => {
108
+ const F = (e) => {
109
109
  var t, n;
110
- return !!((n = (t = e.details) == null ? void 0 : t.calls) == null ? void 0 : n.some((s) => {
110
+ return !!((n = (t = e.details) == null ? void 0 : t.calls) == null ? void 0 : n.some((i) => {
111
111
  var a, c, r;
112
- return (c = (a = s == null ? void 0 : s.details) == null ? void 0 : a.function) != null && c.name ? ((r = s == null ? void 0 : s.details) == null ? void 0 : r.function.name) === "lock_and_delegate_by_sig" : !1;
112
+ return (c = (a = i == null ? void 0 : i.details) == null ? void 0 : a.function) != null && c.name ? ((r = i == null ? void 0 : i.details) == null ? void 0 : r.function.name) === "lock_and_delegate_by_sig" : !1;
113
113
  }));
114
- }, w = (e) => {
115
- var i;
116
- return e.type === "multicall" && "calls" in e.details && ((i = e.details.calls) == null ? void 0 : i.some((t) => {
114
+ }, O = (e) => {
115
+ var s;
116
+ return e.type === "multicall" && "calls" in e.details && ((s = e.details.calls) == null ? void 0 : s.some((t) => {
117
117
  var n;
118
- return ((n = t == null ? void 0 : t.details) == null ? void 0 : n.type) === "deploy" && A((t == null ? void 0 : t.details.contractAddress) || "", e.wallet);
118
+ return ((n = t == null ? void 0 : t.details) == null ? void 0 : n.type) === "deploy" && p((t == null ? void 0 : t.details.contractAddress) || "", e.wallet);
119
119
  }));
120
120
  };
121
- function F({ activities: e, accountAddressesOnNetwork: i }) {
121
+ function L(e) {
122
+ const s = w(e), t = R(e);
123
+ return s || t;
124
+ }
125
+ const w = (e) => {
126
+ var t;
127
+ if (!((t = e.actions) != null && t.length))
128
+ return !1;
129
+ const s = e.actions[0];
130
+ if (s.name !== "account_upgrade")
131
+ return !1;
132
+ s.defaultProperties && s.defaultProperties.forEach((n) => {
133
+ if (n.type === "calldata" && n.entrypoint === "upgrade")
134
+ return !0;
135
+ });
136
+ }, R = (e) => {
137
+ var s, t;
138
+ return !!("meta" in e && (t = (s = e.meta) == null ? void 0 : s.title) != null && t.includes("Upgrade account"));
139
+ };
140
+ function q({ activities: e, accountAddressesOnNetwork: s }) {
122
141
  const t = {};
123
142
  return e.forEach((n) => {
124
- const s = n.wallet, a = n.type === "deploy" ? n.type : n.details.type === "security" ? n.details.action : void 0;
125
- n.group === "security" && f(s, i) && a && (t[a] = t[a] || [], f(s, t[a]) || (t[a] = l(t[a]).concat(s))), w(n) && (t.deploy = l(t.deploy).concat(s));
143
+ const i = n.wallet, a = n.type === "deploy" ? n.type : n.details.type === "security" ? n.details.action : void 0;
144
+ n.group === "security" && f(i, s) && a && (t[a] = t[a] || [], f(i, t[a]) || (t[a] = d(t[a]).concat(i))), O(n) && (t.deploy = d(t.deploy).concat(i));
126
145
  }), t;
127
146
  }
128
- function L({ activities: e, accountAddressesOnNetwork: i, tokenAddressesOnNetwork: t, nftAddressesOnNetwork: n }) {
129
- const s = {
147
+ function x({ activities: e, accountAddressesOnNetwork: s, tokenAddressesOnNetwork: t, nftAddressesOnNetwork: n }) {
148
+ const i = {
130
149
  tokenActivity: {
131
150
  accountAddresses: [],
132
151
  tokenAddresses: []
@@ -140,57 +159,58 @@ function L({ activities: e, accountAddressesOnNetwork: i, tokenAddressesOnNetwor
140
159
  if (a.group === "finance" && a.relatedAddresses) {
141
160
  const c = a.transfers.some((r) => r.asset.type === "token");
142
161
  a.relatedAddresses.forEach(({ type: r, address: o }) => {
143
- r === "token" ? (f(o, t) && (f(o, s.tokenActivity.tokenAddresses) || s.tokenActivity.tokenAddresses.push(o)), f(o, n) && (f(o, s.nftActivity.tokenAddresses) || s.nftActivity.tokenAddresses.push(o))) : r === "wallet" && f(o, i) && (c ? f(o, s.tokenActivity.accountAddresses) || s.tokenActivity.accountAddresses.push(o) : f(o, s.nftActivity.accountAddresses) || s.nftActivity.accountAddresses.push(o));
162
+ r === "token" ? (f(o, t) && (f(o, i.tokenActivity.tokenAddresses) || i.tokenActivity.tokenAddresses.push(o)), f(o, n) && (f(o, i.nftActivity.tokenAddresses) || i.nftActivity.tokenAddresses.push(o))) : r === "wallet" && f(o, s) && (c ? f(o, i.tokenActivity.accountAddresses) || i.tokenActivity.accountAddresses.push(o) : f(o, i.nftActivity.accountAddresses) || i.nftActivity.accountAddresses.push(o));
144
163
  });
145
164
  }
146
- }), s;
165
+ }), i;
147
166
  }
148
167
  export {
149
- x as NativeActivityStatusCancelled,
168
+ G as NativeActivityStatusCancelled,
150
169
  H as NativeActivityStatusQueued,
151
- W as NativeActivityStatusRejected,
152
- u as NativeActivityTypeNative,
153
- K as actionSchema,
154
- P as activitiesSchema,
155
- Q as activityDappSchema,
156
- V as activityDetailsSchema,
157
- Z as activityResponseSchema,
158
- G as activitySchema,
159
- d as activitySummarySchema,
160
- J as activityTransferSchema,
161
- X as assessmentSchema,
162
- M as createNativeActivity,
163
- Y as enrichedSimulateAndReviewSchema,
164
- $ as estimatedFeeSchema,
165
- I as estimatedFeesSchema,
166
- ee as feeEstimationSchema,
167
- te as feeSchema,
170
+ K as NativeActivityStatusRejected,
171
+ l as NativeActivityTypeNative,
172
+ Q as actionSchema,
173
+ V as activitiesSchema,
174
+ Z as activityDappSchema,
175
+ J as activityDetailsSchema,
176
+ X as activityResponseSchema,
177
+ Y as activitySchema,
178
+ u as activitySummarySchema,
179
+ $ as activityTransferSchema,
180
+ I as assessmentSchema,
181
+ U as createNativeActivity,
182
+ ee as enrichedSimulateAndReviewSchema,
183
+ te as estimatedFeeSchema,
184
+ se as estimatedFeesSchema,
185
+ ne as feeEstimationSchema,
186
+ ie as feeSchema,
168
187
  C as getAnyActivityShortTitle,
169
188
  D as getAnyActivityTitle,
170
- se as getMessageFromSimulationError,
171
- B as getOverallLastModified,
172
- z as hasDelegationActivity,
173
- ne as isActivityDetailsAction,
189
+ ae as getMessageFromSimulationError,
190
+ z as getOverallLastModified,
191
+ F as hasDelegationActivity,
192
+ re as isActivityDetailsAction,
174
193
  m as isActivitySummary,
175
- w as isMulticallWithDeploymentActivity,
176
- ie as isNftActivitySummary,
177
- ae as isNotTransactionSimulationError,
178
- g as isRejectOnChainActivity,
179
- re as isTokenActivitySummary,
180
- oe as isTransactionSimulationError,
181
- ce as nativeActivityMetaSchema,
194
+ O as isMulticallWithDeploymentActivity,
195
+ oe as isNftActivitySummary,
196
+ ce as isNotTransactionSimulationError,
197
+ k as isRejectOnChainActivity,
198
+ fe as isTokenActivitySummary,
199
+ ue as isTransactionSimulationError,
200
+ L as isUpgradeActivity,
201
+ de as nativeActivityMetaSchema,
182
202
  h as nativeActivitySchema,
183
- k as normalizeActions,
203
+ g as normalizeActions,
184
204
  b as normalizeActivitySummary,
185
205
  y as normalizeActivitySummaryCollection,
186
- F as parseAccountActivities,
187
- L as parseFinanceActivities,
188
- fe as propertySchema,
189
- de as reasonsSchema,
190
- le as reviewSchema,
191
- ue as severitySchema,
192
- Ae as simulateAndReviewSchema,
193
- pe as targetedDappSchema,
194
- me as warningDetailsSchema,
195
- he as warningSchema
206
+ q as parseAccountActivities,
207
+ x as parseFinanceActivities,
208
+ le as propertySchema,
209
+ pe as reasonsSchema,
210
+ Ae as reviewSchema,
211
+ me as severitySchema,
212
+ he as simulateAndReviewSchema,
213
+ ve as targetedDappSchema,
214
+ Se as warningDetailsSchema,
215
+ ye as warningSchema
196
216
  };
@@ -30,8 +30,8 @@ export declare class TokenServiceWeb implements ITokenServiceWeb {
30
30
  fetchDefiDecomposition(address: Address): Promise<{
31
31
  dappId: string;
32
32
  products: {
33
- type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
34
33
  name: string;
34
+ type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
35
35
  manageUrl: string;
36
36
  positions: ({
37
37
  data: {
@@ -77,10 +77,10 @@ export declare const apiTokenInfoSchema: z.ZodObject<{
77
77
  listed: boolean;
78
78
  tradable: boolean;
79
79
  category: "tokens" | "currencies" | "savings";
80
+ dappId?: string | undefined;
80
81
  brandColor?: string | undefined;
81
82
  iconUrl?: string | undefined;
82
83
  pricingId?: number | undefined;
83
- dappId?: string | undefined;
84
84
  marketData?: {
85
85
  marketCap: number;
86
86
  marketCap24hChange: number;
@@ -100,10 +100,10 @@ export declare const apiTokenInfoSchema: z.ZodObject<{
100
100
  listed: boolean;
101
101
  tradable: boolean;
102
102
  category: "tokens" | "currencies" | "savings";
103
+ dappId?: string | undefined;
103
104
  brandColor?: string | undefined;
104
105
  iconUrl?: string | undefined;
105
106
  pricingId?: number | undefined;
106
- dappId?: string | undefined;
107
107
  marketData?: {
108
108
  marketCap: number;
109
109
  marketCap24hChange: number;
@@ -159,10 +159,10 @@ export declare const apiTokensInfoResponseSchema: z.ZodObject<{
159
159
  listed: boolean;
160
160
  tradable: boolean;
161
161
  category: "tokens" | "currencies" | "savings";
162
+ dappId?: string | undefined;
162
163
  brandColor?: string | undefined;
163
164
  iconUrl?: string | undefined;
164
165
  pricingId?: number | undefined;
165
- dappId?: string | undefined;
166
166
  marketData?: {
167
167
  marketCap: number;
168
168
  marketCap24hChange: number;
@@ -182,10 +182,10 @@ export declare const apiTokensInfoResponseSchema: z.ZodObject<{
182
182
  listed: boolean;
183
183
  tradable: boolean;
184
184
  category: "tokens" | "currencies" | "savings";
185
+ dappId?: string | undefined;
185
186
  brandColor?: string | undefined;
186
187
  iconUrl?: string | undefined;
187
188
  pricingId?: number | undefined;
188
- dappId?: string | undefined;
189
189
  marketData?: {
190
190
  marketCap: number;
191
191
  marketCap24hChange: number;
@@ -207,10 +207,10 @@ export declare const apiTokensInfoResponseSchema: z.ZodObject<{
207
207
  listed: boolean;
208
208
  tradable: boolean;
209
209
  category: "tokens" | "currencies" | "savings";
210
+ dappId?: string | undefined;
210
211
  brandColor?: string | undefined;
211
212
  iconUrl?: string | undefined;
212
213
  pricingId?: number | undefined;
213
- dappId?: string | undefined;
214
214
  marketData?: {
215
215
  marketCap: number;
216
216
  marketCap24hChange: number;
@@ -232,10 +232,10 @@ export declare const apiTokensInfoResponseSchema: z.ZodObject<{
232
232
  listed: boolean;
233
233
  tradable: boolean;
234
234
  category: "tokens" | "currencies" | "savings";
235
+ dappId?: string | undefined;
235
236
  brandColor?: string | undefined;
236
237
  iconUrl?: string | undefined;
237
238
  pricingId?: number | undefined;
238
- dappId?: string | undefined;
239
239
  marketData?: {
240
240
  marketCap: number;
241
241
  marketCap24hChange: number;
@@ -290,10 +290,10 @@ export declare const apiTokenInfoResponseSchema: z.ZodObject<{
290
290
  listed: boolean;
291
291
  tradable: boolean;
292
292
  category: "tokens" | "currencies" | "savings";
293
+ dappId?: string | undefined;
293
294
  brandColor?: string | undefined;
294
295
  iconUrl?: string | undefined;
295
296
  pricingId?: number | undefined;
296
- dappId?: string | undefined;
297
297
  marketData?: {
298
298
  marketCap: number;
299
299
  marketCap24hChange: number;
@@ -313,10 +313,10 @@ export declare const apiTokenInfoResponseSchema: z.ZodObject<{
313
313
  listed: boolean;
314
314
  tradable: boolean;
315
315
  category: "tokens" | "currencies" | "savings";
316
+ dappId?: string | undefined;
316
317
  brandColor?: string | undefined;
317
318
  iconUrl?: string | undefined;
318
319
  pricingId?: number | undefined;
319
- dappId?: string | undefined;
320
320
  marketData?: {
321
321
  marketCap: number;
322
322
  marketCap24hChange: number;
@@ -1157,8 +1157,8 @@ export declare const apiDefiDecompositionProduct: z.ZodObject<{
1157
1157
  tokenAddress?: string | undefined;
1158
1158
  }>]>, "many">;
1159
1159
  }, "strip", z.ZodTypeAny, {
1160
- type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
1161
1160
  name: string;
1161
+ type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
1162
1162
  manageUrl: string;
1163
1163
  positions: ({
1164
1164
  data: {
@@ -1200,8 +1200,8 @@ export declare const apiDefiDecompositionProduct: z.ZodObject<{
1200
1200
  healthRatio?: string | undefined;
1201
1201
  }> | undefined;
1202
1202
  }, {
1203
- type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
1204
1203
  name: string;
1204
+ type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
1205
1205
  manageUrl: string;
1206
1206
  positions: ({
1207
1207
  data: {
@@ -1443,8 +1443,8 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
1443
1443
  tokenAddress?: string | undefined;
1444
1444
  }>]>, "many">;
1445
1445
  }, "strip", z.ZodTypeAny, {
1446
- type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
1447
1446
  name: string;
1447
+ type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
1448
1448
  manageUrl: string;
1449
1449
  positions: ({
1450
1450
  data: {
@@ -1486,8 +1486,8 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
1486
1486
  healthRatio?: string | undefined;
1487
1487
  }> | undefined;
1488
1488
  }, {
1489
- type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
1490
1489
  name: string;
1490
+ type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
1491
1491
  manageUrl: string;
1492
1492
  positions: ({
1493
1493
  data: {
@@ -1532,8 +1532,8 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
1532
1532
  }, "strip", z.ZodTypeAny, {
1533
1533
  dappId: string;
1534
1534
  products: {
1535
- type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
1536
1535
  name: string;
1536
+ type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
1537
1537
  manageUrl: string;
1538
1538
  positions: ({
1539
1539
  data: {
@@ -1578,8 +1578,8 @@ export declare const apiDefiDecompositionSchema: z.ZodObject<{
1578
1578
  }, {
1579
1579
  dappId: string;
1580
1580
  products: {
1581
- type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
1582
1581
  name: string;
1582
+ type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
1583
1583
  manageUrl: string;
1584
1584
  positions: ({
1585
1585
  data: {
@@ -1823,8 +1823,8 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
1823
1823
  tokenAddress?: string | undefined;
1824
1824
  }>]>, "many">;
1825
1825
  }, "strip", z.ZodTypeAny, {
1826
- type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
1827
1826
  name: string;
1827
+ type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
1828
1828
  manageUrl: string;
1829
1829
  positions: ({
1830
1830
  data: {
@@ -1866,8 +1866,8 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
1866
1866
  healthRatio?: string | undefined;
1867
1867
  }> | undefined;
1868
1868
  }, {
1869
- type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
1870
1869
  name: string;
1870
+ type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
1871
1871
  manageUrl: string;
1872
1872
  positions: ({
1873
1873
  data: {
@@ -1912,8 +1912,8 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
1912
1912
  }, "strip", z.ZodTypeAny, {
1913
1913
  dappId: string;
1914
1914
  products: {
1915
- type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
1916
1915
  name: string;
1916
+ type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
1917
1917
  manageUrl: string;
1918
1918
  positions: ({
1919
1919
  data: {
@@ -1958,8 +1958,8 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
1958
1958
  }, {
1959
1959
  dappId: string;
1960
1960
  products: {
1961
- type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
1962
1961
  name: string;
1962
+ type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
1963
1963
  manageUrl: string;
1964
1964
  positions: ({
1965
1965
  data: {
@@ -2006,8 +2006,8 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
2006
2006
  dapps: {
2007
2007
  dappId: string;
2008
2008
  products: {
2009
- type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
2010
2009
  name: string;
2010
+ type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
2011
2011
  manageUrl: string;
2012
2012
  positions: ({
2013
2013
  data: {
@@ -2054,8 +2054,8 @@ export declare const apiDefiPositionsSchema: z.ZodObject<{
2054
2054
  dapps: {
2055
2055
  dappId: string;
2056
2056
  products: {
2057
- type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
2058
2057
  name: string;
2058
+ type: "concentratedLiquidityPosition" | "collateralizedDebtPosition";
2059
2059
  manageUrl: string;
2060
2060
  positions: ({
2061
2061
  data: {