@argent/x-shared 1.30.0 → 1.30.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/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import F, { z as c } from "zod";
2
2
  import { H as X, a as hn, u as R, N as er, c as Re, C as nr, A as vt, i as us, b as ds, n as rr, d as fs, e as hs, f as ps, g as ms, s as et, h as st, j as pn, k as gs, S as ws, l as mn, M as gn, m as ys, o as bs, p as le, q as Ss, r as j, B as wn, t as ue, v as gt, w as Es, x as Me, y as qe, E as sr, z as As, D as Ie, F as xs, G as Is } from "./schema-3qaq9ugL.mjs";
3
- import { aZ as Af, a6 as xf, a8 as If, a7 as Tf, a9 as vf, aE as _f, aM as Nf, as as Bf, aw as Cf, a0 as kf, a1 as Of, Y as Pf, X as Rf, P as Uf, K as Ff, L as $f, O as jf, aa as Lf, a2 as Df, ad as Hf, ah as Vf, af as Mf, az as qf, aO as zf, aJ as Gf, aU as Wf, a5 as Kf, ao as Zf, aj as Yf, aq as Xf, av as Jf, aW as Qf, aV as th, aS as eh, aC as nh, aA as rh, aB as sh, ar as oh, aL as ah, aH as ih, ay as ch, ap as lh, R as uh, Q as dh, U as fh, V as hh, aG as ph, aF as mh, ae as gh, T as wh, a3 as yh, _ as bh, ab as Sh, Z as Eh, aN as Ah, aI as xh, al as Ih, $ as Th, a4 as vh, ac as _h, aD as Nh, aT as Bh, ak as Ch, am as kh, an as Oh, at as Ph, ax as Rh, au as Uh, aQ as Fh, aR as $h, aP as jh, W as Lh, ag as Dh, aK as Hh, ai as Vh, a$ as Mh, a_ as qh, aX as zh, b0 as Gh, aY as Wh, I as Kh, J as Zh } from "./schema-3qaq9ugL.mjs";
3
+ import { aZ as Ef, a6 as Af, a8 as xf, a7 as If, a9 as Tf, aE as vf, aM as _f, as as Nf, aw as Bf, a0 as Cf, a1 as kf, Y as Of, X as Pf, P as Rf, K as Uf, L as Ff, O as $f, aa as jf, a2 as Lf, ad as Df, ah as Hf, af as Vf, az as Mf, aO as qf, aJ as zf, aU as Gf, a5 as Wf, ao as Kf, aj as Zf, aq as Yf, av as Xf, aW as Jf, aV as Qf, aS as th, aC as eh, aA as nh, aB as rh, ar as sh, aL as oh, aH as ah, ay as ih, ap as ch, R as lh, Q as uh, U as dh, V as fh, aG as hh, aF as ph, ae as mh, T as gh, a3 as wh, _ as yh, ab as bh, Z as Sh, aN as Eh, aI as Ah, al as xh, $ as Ih, a4 as Th, ac as vh, aD as _h, aT as Nh, ak as Bh, am as Ch, an as kh, at as Oh, ax as Ph, au as Rh, aQ as Uh, aR as Fh, aP as $h, W as jh, ag as Lh, aK as Dh, ai as Hh, a$ as Vh, a_ as Mh, aX as qh, b0 as zh, aY as Gh, I as Wh, J as Kh } from "./schema-3qaq9ugL.mjs";
4
4
  import { constants as D, starknetId as or, CallData as St, CairoOption as yn, CairoOptionVariant as bn, hash as Qt, num as N, encode as pt, uint256 as dt, ec as Sn, isSierra as Ts, TransactionType as En } from "starknet";
5
5
  import { useEffect as te, useRef as An, useState as vs, useMemo as Bt, useCallback as ar } from "react";
6
6
  import { isFunction as Kt, isString as ze, upperCase as Ge, isNil as _s, upperFirst as Ns, lowerCase as ir, isUndefined as Bs, isEmpty as Ue, isArray as Cs } from "lodash-es";
@@ -3169,9 +3169,7 @@ function Qc(t, e) {
3169
3169
  return o.m = n, o.rate = t.rate, o.capacity = t.capacity, o;
3170
3170
  }
3171
3171
  Qc({ Fp: Yc, rate: 2, capacity: 1, roundsFull: 8, roundsPartial: 83 }, Jc);
3172
- const tl = c.object({
3173
- recoveryId: c.number()
3174
- }), id = c.object({
3172
+ const id = c.object({
3175
3173
  feeToken: j,
3176
3174
  signerSignature: c.object({
3177
3175
  type: c.literal("StarknetKey"),
@@ -3181,16 +3179,18 @@ const tl = c.object({
3181
3179
  s: gt
3182
3180
  })
3183
3181
  })
3184
- }), el = c.enum([
3182
+ }), tl = c.enum([
3185
3183
  "ONGOING",
3186
3184
  "COMPLETED",
3187
3185
  "ERROR",
3188
3186
  "CANCELLED",
3189
3187
  "AWAITING_FUNDS"
3190
- ]), cd = c.object({
3191
- status: el
3188
+ ]), el = c.object({
3189
+ status: tl,
3190
+ recoveryId: c.number().optional(),
3191
+ completionTime: c.array(c.number())
3192
3192
  });
3193
- class ld {
3193
+ class cd {
3194
3194
  constructor(e, n) {
3195
3195
  this.apiBase = e, this.httpService = n;
3196
3196
  }
@@ -3208,10 +3208,11 @@ class ld {
3208
3208
  };
3209
3209
  return await this.httpService.post(`${this.apiBase}/accounts/starknet/${e}/recovery`, {
3210
3210
  body: JSON.stringify(i)
3211
- }, tl);
3211
+ }, el);
3212
3212
  }
3213
3213
  async getRecovery(e, n) {
3214
- return (await this.httpService.get(`${this.apiBase}/accounts/starknet/${e}/recovery/${n}`)).status;
3214
+ const r = R(this.apiBase, "accounts", "starknet", e, "recovery", n ? `${n}` : "");
3215
+ return await this.httpService.get(r);
3215
3216
  }
3216
3217
  async cancelRecovery(e, n, r, s) {
3217
3218
  const { r: o, s: a } = Sn.starkCurve.sign(Zn(Yn(xn("utf8", "starknet:recovery:cancel")), r), s), i = {
@@ -3229,7 +3230,7 @@ class ld {
3229
3230
  });
3230
3231
  }
3231
3232
  }
3232
- async function ud() {
3233
+ async function ld() {
3233
3234
  if ("brave" in navigator)
3234
3235
  try {
3235
3236
  return await navigator.brave.isBrave();
@@ -3244,19 +3245,19 @@ function nl() {
3244
3245
  function Se(t) {
3245
3246
  return nl().browser.name === t;
3246
3247
  }
3247
- function dd() {
3248
+ function ud() {
3248
3249
  return Se("Firefox");
3249
3250
  }
3250
- function fd() {
3251
+ function dd() {
3251
3252
  return Se("Chrome");
3252
3253
  }
3253
- function hd() {
3254
+ function fd() {
3254
3255
  return Se("Safari");
3255
3256
  }
3256
- function pd() {
3257
+ function hd() {
3257
3258
  return Se("Edge");
3258
3259
  }
3259
- const md = c.string().refine((t) => Ps(t, Rs), "Invalid seedphrase"), an = [
3260
+ const pd = c.string().refine((t) => Ps(t, Rs), "Invalid seedphrase"), an = [
3260
3261
  {
3261
3262
  address: "0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7",
3262
3263
  name: "Ether",
@@ -3443,7 +3444,7 @@ const md = c.string().refine((t) => Ps(t, Rs), "Invalid seedphrase"), an = [
3443
3444
  low: r[0],
3444
3445
  high: r[1]
3445
3446
  })));
3446
- }, gd = async (t, e, n) => {
3447
+ }, md = async (t, e, n) => {
3447
3448
  const r = an.filter((o) => o.networkId === t);
3448
3449
  return (await Promise.allSettled(r.map((o) => e.callContract({
3449
3450
  contractAddress: o.address,
@@ -3461,7 +3462,7 @@ const md = c.string().refine((t) => Ps(t, Rs), "Invalid seedphrase"), an = [
3461
3462
  };
3462
3463
  return o.push(u), o;
3463
3464
  }, []);
3464
- }, wd = async () => an, yd = ({ address: t, networkId: e }) => an.find((r) => r.address === t && r.networkId === e), bd = ({ amount: t, decimals: e, unitCurrencyValue: n }) => {
3465
+ }, gd = async () => an, wd = ({ address: t, networkId: e }) => an.find((r) => r.address === t && r.networkId === e), yd = ({ amount: t, decimals: e, unitCurrencyValue: n }) => {
3465
3466
  if (!J(t) || !J(e) || !J(n))
3466
3467
  return;
3467
3468
  const r = Number(e), s = BigInt(t) * Ze(n.toString()).value;
@@ -3469,17 +3470,17 @@ const md = c.string().refine((t) => Ps(t, Rs), "Invalid seedphrase"), an = [
3469
3470
  value: s,
3470
3471
  decimals: r + Mt
3471
3472
  });
3472
- }, Sd = ({ unitAmount: t, decimals: e }) => {
3473
+ }, bd = ({ unitAmount: t, decimals: e }) => {
3473
3474
  if (t === void 0 || !J(t) || e === void 0 || !J(e))
3474
3475
  return;
3475
3476
  const n = Number(e);
3476
3477
  return Et(t.toString(), n).value.toString();
3477
- }, Ed = (t) => J(t) ? Number(t) : 18, { UINT_256_MAX: sl } = dt, ol = (t) => String(t) === String(sl), Ad = (t, e = "$", n) => {
3478
+ }, Sd = (t) => J(t) ? Number(t) : 18, { UINT_256_MAX: sl } = dt, ol = (t) => String(t) === String(sl), Ed = (t, e = "$", n) => {
3478
3479
  if (t === void 0 || !J(t))
3479
3480
  return null;
3480
3481
  const r = Ni(t, n);
3481
3482
  return [e, r].filter(Boolean).join("");
3482
- }, al = "Unlimited", xd = ({ amount: t, decimals: e, symbol: n, showPlusSign: r = !1, withSymbol: s = !0, unlimitedText: o = al, prettyConfigOverrides: a }) => {
3483
+ }, al = "Unlimited", Ad = ({ amount: t, decimals: e, symbol: n, showPlusSign: r = !1, withSymbol: s = !0, unlimitedText: o = al, prettyConfigOverrides: a }) => {
3483
3484
  if (!J(t))
3484
3485
  return null;
3485
3486
  let i, l = !1;
@@ -3692,7 +3693,7 @@ const Yr = c.union([
3692
3693
  ccyValue: c.string(),
3693
3694
  ethDayChange: c.string(),
3694
3695
  ccyDayChange: c.string()
3695
- }), Id = c.object({
3696
+ }), xd = c.object({
3696
3697
  prices: c.array(Xr)
3697
3698
  }), Xn = c.object({
3698
3699
  tokenAddress: le,
@@ -3712,7 +3713,7 @@ const Yr = c.union([
3712
3713
  token0: Xn,
3713
3714
  token1: Xn
3714
3715
  })
3715
- }), Td = c.array(Qr), ts = Jr.extend({
3716
+ }), Id = c.array(Qr), ts = Jr.extend({
3716
3717
  data: c.object({
3717
3718
  apy: c.string().optional(),
3718
3719
  group: c.number().optional(),
@@ -3720,7 +3721,7 @@ const Yr = c.union([
3720
3721
  debt: c.boolean(),
3721
3722
  lending: c.boolean()
3722
3723
  })
3723
- }), vd = c.array(ts), wl = c.array(Qr.or(ts)), yl = c.object({
3724
+ }), Td = c.array(ts), wl = c.array(Qr.or(ts)), yl = c.object({
3724
3725
  name: c.string(),
3725
3726
  manageUrl: c.string(),
3726
3727
  type: Yr,
@@ -3741,12 +3742,12 @@ const Yr = c.union([
3741
3742
  claimUrl: c.string().optional(),
3742
3743
  claimStart: c.number(),
3743
3744
  claimEnd: c.number().optional()
3744
- }), _d = c.object({
3745
+ }), vd = c.object({
3745
3746
  accountAddress: j,
3746
3747
  chain: c.string(),
3747
3748
  airdrops: c.array(El)
3748
3749
  });
3749
- class Nd {
3750
+ class _d {
3750
3751
  constructor(e, n) {
3751
3752
  this.apiBase = e, this.httpService = n, this.TOKENS_INFO_URL = "/tokens/info", this.TOKENS_DEFI_DECOMPOSITION_URL = "/tokens/defi/decomposition";
3752
3753
  }
@@ -3857,7 +3858,7 @@ const Jn = cn.extend({
3857
3858
  unitCurrencyValueToken1: c.string().optional(),
3858
3859
  token0: Jn,
3859
3860
  token1: Jn
3860
- }), Bd = c.array(rs), Cd = c.object({
3861
+ }), Nd = c.array(rs), Bd = c.object({
3861
3862
  name: c.string().optional(),
3862
3863
  healthRatio: c.string().optional(),
3863
3864
  accountAddress: j.optional()
@@ -3873,7 +3874,7 @@ const Jn = cn.extend({
3873
3874
  token: cn.optional(),
3874
3875
  accountAddress: j.optional(),
3875
3876
  accountAddressGroup: c.string().optional()
3876
- }), kd = c.array(ss), Il = rs.or(ss), Tl = c.record(c.object({
3877
+ }), Cd = c.array(ss), Il = rs.or(ss), Tl = c.record(c.object({
3877
3878
  name: c.string().optional(),
3878
3879
  healthRatio: c.string().optional(),
3879
3880
  accountAddress: j.optional()
@@ -3887,7 +3888,7 @@ const Jn = cn.extend({
3887
3888
  brandColor: c.string().optional(),
3888
3889
  groups: Tl.optional(),
3889
3890
  accountAddress: j
3890
- }), _l = c.array(vl), Od = c.object({
3891
+ }), _l = c.array(vl), kd = c.object({
3891
3892
  dappId: c.string(),
3892
3893
  products: _l
3893
3894
  }), Nl = c.object({
@@ -3898,7 +3899,7 @@ const Jn = cn.extend({
3898
3899
  claimUrl: c.string().optional(),
3899
3900
  claimStart: c.number(),
3900
3901
  claimEnd: c.number().optional()
3901
- }), Pd = c.array(Nl), Bl = (t, e = 18) => Et(t.replace(",", "."), Number(e)), Cl = c.string().trim().refine((t) => t !== "", {
3902
+ }), Od = c.array(Nl), Bl = (t, e = 18) => Et(t.replace(",", "."), Number(e)), Cl = c.string().trim().refine((t) => t !== "", {
3902
3903
  message: "Amount is required"
3903
3904
  }).refine((t) => {
3904
3905
  try {
@@ -3913,14 +3914,14 @@ const Jn = cn.extend({
3913
3914
  throw new Error("Amount should be a number");
3914
3915
  }
3915
3916
  return !0;
3916
- }, { message: "Invalid amount" }), Rd = (t) => !!Cl.parse(t), Ud = (t, e, n, r) => ({
3917
+ }, { message: "Invalid amount" }), Pd = (t) => !!Cl.parse(t), Rd = (t, e, n, r) => ({
3917
3918
  contractAddress: t,
3918
3919
  entrypoint: "transfer",
3919
3920
  calldata: St.compile({
3920
3921
  recipient: e,
3921
3922
  amount: Dt(Ci(n, r))
3922
3923
  })
3923
- }), Fd = (t, e, n, r) => ({
3924
+ }), Ud = (t, e, n, r) => ({
3924
3925
  contractAddress: t,
3925
3926
  entrypoint: "transferFrom",
3926
3927
  calldata: St.compile({
@@ -3929,7 +3930,7 @@ const Jn = cn.extend({
3929
3930
  tokenId: Dt(r)
3930
3931
  // OZ specs need a uint256 as tokenId
3931
3932
  })
3932
- }), $d = (t, e, n, r) => ({
3933
+ }), Fd = (t, e, n, r) => ({
3933
3934
  contractAddress: t,
3934
3935
  entrypoint: "safeTransferFrom",
3935
3936
  calldata: St.compile({
@@ -3948,14 +3949,14 @@ const Jn = cn.extend({
3948
3949
  message: c.string()
3949
3950
  // "foo.stark not found"
3950
3951
  })
3951
- }), jd = (t) => {
3952
+ }), $d = (t) => {
3952
3953
  const e = kl.safeParse(t);
3953
3954
  if (e.success)
3954
3955
  return e.data.data.message;
3955
3956
  }, Ol = 3, os = process.env.FEE_OVERHEAD ? parseFloat(process.env.FEE_OVERHEAD) : Ol, Pl = 1.5, ie = 10, as = ({ estimatedFee: t, overheadMultiplier: e = os }) => {
3956
3957
  const r = N.toBigInt(t) * BigInt(e * ie) / BigInt(ie);
3957
3958
  return N.toHex(r);
3958
- }, Ld = ({ suggestedMaxFee: t, overheadMultiplier: e = os, starknetJsOverheadMultiplier: n = Pl }) => {
3959
+ }, jd = ({ suggestedMaxFee: t, overheadMultiplier: e = os, starknetJsOverheadMultiplier: n = Pl }) => {
3959
3960
  const s = N.toBigInt(t) * BigInt(ie) / BigInt(n * ie);
3960
3961
  return as({ estimatedFee: s, overheadMultiplier: e });
3961
3962
  };
@@ -3968,7 +3969,7 @@ class Rl extends Me {
3968
3969
  super(e, De), this.name = "EstimateError";
3969
3970
  }
3970
3971
  }
3971
- const Dd = c.object({
3972
+ const Ld = c.object({
3972
3973
  type: c.enum(["DECLARE", "DEPLOY", "DEPLOY_ACCOUNT", "INVOKE"]).default("INVOKE"),
3973
3974
  calls: c.array(Re).or(Re).optional(),
3974
3975
  calldata: c.array(c.string()).optional(),
@@ -4009,11 +4010,11 @@ function jt(t) {
4009
4010
  function Pe(t) {
4010
4011
  return Ul({ unit: t }) ? qe : sr;
4011
4012
  }
4012
- function Hd(t, e, n = 2) {
4013
+ function Dd(t, e, n = 2) {
4013
4014
  const r = BigInt(10 ** n), s = BigInt(Math.round(e * 10 ** n));
4014
4015
  return t * s / r;
4015
4016
  }
4016
- const Vd = [qe], cs = (t, e = Dl) => {
4017
+ const Hd = [qe], cs = (t, e = Dl) => {
4017
4018
  if (t.max && "amount" in t.max)
4018
4019
  return {
4019
4020
  ...t,
@@ -4039,17 +4040,17 @@ const Vd = [qe], cs = (t, e = Dl) => {
4039
4040
  }, He = (t) => {
4040
4041
  const e = Fl(t);
4041
4042
  return e || ce(cs(t));
4042
- }, Md = (t) => {
4043
+ }, Vd = (t) => {
4043
4044
  if (t.deployment && !st(t.deployment.feeTokenAddress, t.transactions.feeTokenAddress))
4044
4045
  throw Error("Cannot calculate estimated fees for different tokens");
4045
4046
  const e = ce(t.transactions), n = t.deployment ? ce(t.deployment) : 0n;
4046
4047
  return e + n;
4047
- }, qd = (t) => {
4048
+ }, Md = (t) => {
4048
4049
  if (t.deployment && !st(t.deployment.feeTokenAddress, t.transactions.feeTokenAddress))
4049
4050
  throw Error("Cannot calculate estimated fees for different tokens");
4050
4051
  const e = t.deployment ? He(t.deployment) : 0n, n = He(t.transactions);
4051
4052
  return e + n;
4052
- }, zd = (t, e) => [
4053
+ }, qd = (t, e) => [
4053
4054
  {
4054
4055
  contractAddress: t,
4055
4056
  entrypoint: "transfer",
@@ -4151,7 +4152,7 @@ const Vd = [qe], cs = (t, e = Dl) => {
4151
4152
  max: jt(Nt(i.simulation.feeEstimation, N.toBigInt))
4152
4153
  } : void 0
4153
4154
  };
4154
- }, Gd = (t) => {
4155
+ }, zd = (t) => {
4155
4156
  const e = cs(t), n = He(t);
4156
4157
  return {
4157
4158
  // for v1 transactions
@@ -4170,13 +4171,13 @@ const Vd = [qe], cs = (t, e = Dl) => {
4170
4171
  }
4171
4172
  }
4172
4173
  };
4173
- }, Wd = (t) => {
4174
+ }, Gd = (t) => {
4174
4175
  const e = Math.sqrt(t);
4175
4176
  return isNaN(e) ? Math.sqrt(2) : e;
4176
4177
  }, Dl = (t) => {
4177
4178
  const e = Math.cbrt(t);
4178
4179
  return isNaN(e) ? Math.cbrt(2) : e;
4179
- }, Kd = (t) => t < 1 || isNaN(t) ? 1.1 : Math.log(t + 1) + 1, Qn = {
4180
+ }, Wd = (t) => t < 1 || isNaN(t) ? 1.1 : Math.log(t + 1) + 1, Qn = {
4180
4181
  Transfer: Qt.getSelectorFromName("Transfer"),
4181
4182
  // 0x99cd8bde557814842a3121e8ddfd433a539b8c9f14bf31ebf108d12e6196e9
4182
4183
  Approval: Qt.getSelectorFromName("Approval")
@@ -4200,7 +4201,7 @@ const Vd = [qe], cs = (t, e = Dl) => {
4200
4201
  o && Hl(o, e, n);
4201
4202
  }
4202
4203
  return { approvals: e, transfers: n };
4203
- }, Vl = /(0x[a-fA-F0-9]+)\s*\('(.*?)'\)/, Zd = (t) => {
4204
+ }, Vl = /(0x[a-fA-F0-9]+)\s*\('(.*?)'\)/, Kd = (t) => {
4204
4205
  if (!ze(t))
4205
4206
  return;
4206
4207
  const e = t.match(Vl);
@@ -4210,7 +4211,7 @@ const Vd = [qe], cs = (t, e = Dl) => {
4210
4211
  function ln({ address: t }) {
4211
4212
  return Ml.some((e) => st(t, e));
4212
4213
  }
4213
- function Yd(t) {
4214
+ function Zd(t) {
4214
4215
  return t ? Ra().some((e) => st(e, t)) : !1;
4215
4216
  }
4216
4217
  function tr(t) {
@@ -4218,10 +4219,10 @@ function tr(t) {
4218
4219
  address: t
4219
4220
  }) ? D.TRANSACTION_VERSION.V3 : D.TRANSACTION_VERSION.V1;
4220
4221
  }
4221
- function Xd(t) {
4222
+ function Yd(t) {
4222
4223
  return ln({ address: t }) ? D.TRANSACTION_VERSION.F3 : D.TRANSACTION_VERSION.F1;
4223
4224
  }
4224
- function Jd(t, e) {
4225
+ function Xd(t, e) {
4225
4226
  return Ts(e.contract) ? ln({ address: t }) ? D.TRANSACTION_VERSION.V3 : D.TRANSACTION_VERSION.V2 : D.TRANSACTION_VERSION.V1;
4226
4227
  }
4227
4228
  var Ve;
@@ -4233,7 +4234,7 @@ class $t extends Me {
4233
4234
  super(e, Ve), this.name = "ReviewError";
4234
4235
  }
4235
4236
  }
4236
- class Qd {
4237
+ class Jd {
4237
4238
  constructor(e, n) {
4238
4239
  this.apiBase = e, this.httpService = n;
4239
4240
  }
@@ -4404,29 +4405,29 @@ class Qd {
4404
4405
  }
4405
4406
  }
4406
4407
  }
4407
- const tf = c.object({
4408
+ const Qd = c.object({
4408
4409
  reason: c.string(),
4409
4410
  severity: c.string().optional(),
4410
4411
  title: c.string(),
4411
4412
  description: c.string().optional()
4412
- }), ef = [
4413
+ }), tf = [
4413
4414
  "account-upgrade",
4414
4415
  "approve",
4415
4416
  "set-approval-for-all",
4416
4417
  "swap",
4417
4418
  "transfer"
4418
- ], ql = Object.values(D.TRANSACTION_VERSION), nf = c.string().default("0x3").refine((t) => {
4419
+ ], ql = Object.values(D.TRANSACTION_VERSION), ef = c.string().default("0x3").refine((t) => {
4419
4420
  const e = N.toBigInt(t);
4420
4421
  return ql.map((n) => N.toBigInt(n)).includes(e);
4421
4422
  }).transform((t) => N.toHex(t));
4422
- function rf(t) {
4423
+ function nf(t) {
4423
4424
  if (t === D.TRANSACTION_VERSION.V3 || t === D.TRANSACTION_VERSION.F3)
4424
4425
  throw Error("Only txv1 is supported");
4425
4426
  }
4426
- const sf = (t) => ({ showBalanceChange: Bt(() => {
4427
+ const rf = (t) => ({ showBalanceChange: Bt(() => {
4427
4428
  const n = t == null ? void 0 : t.some((s) => !Ue(s.transfers)), r = t == null ? void 0 : t.some((s) => !Ue(s.approvals));
4428
4429
  return t && (n || r);
4429
- }, [t]) }), Ae = (t) => t ? t.filter((e) => e.token.type === "erc20") : [], of = (t) => Bt(() => Ae(t), [t]), af = (t) => Ae(t).length > 0, cf = (t) => Ae(t).some((n) => n.amount > 0n), lf = (t) => Ae(t).some((n) => n.amount < 0n), ls = (t) => t ? t.filter((e) => e.token.type === "erc721") : [], uf = (t) => Bt(() => ls(t), [t]), zl = (t) => ls(t).length > 0, df = (t) => Bt(() => zl(t), [t]), ff = (t, e) => Bt(() => t && e ? [
4430
+ }, [t]) }), Ae = (t) => t ? t.filter((e) => e.token.type === "erc20") : [], sf = (t) => Bt(() => Ae(t), [t]), of = (t) => Ae(t).length > 0, af = (t) => Ae(t).some((n) => n.amount > 0n), cf = (t) => Ae(t).some((n) => n.amount < 0n), ls = (t) => t ? t.filter((e) => e.token.type === "erc721") : [], lf = (t) => Bt(() => ls(t), [t]), zl = (t) => ls(t).length > 0, uf = (t) => Bt(() => zl(t), [t]), df = (t, e) => Bt(() => t && e ? [
4430
4431
  {
4431
4432
  contractAddress: t.address,
4432
4433
  entrypoint: "transfer",
@@ -4435,7 +4436,7 @@ const sf = (t) => ({ showBalanceChange: Bt(() => {
4435
4436
  amount: Dt(t.balance)
4436
4437
  })
4437
4438
  }
4438
- ] : [], [t, e]), hf = ({ apiData: { apiBaseUrl: t, apiHeaders: e }, address: n, network: r, transactionReviewEnabled: s = !0, transactions: o }) => {
4439
+ ] : [], [t, e]), ff = ({ apiData: { apiBaseUrl: t, apiHeaders: e }, address: n, network: r, transactionReviewEnabled: s = !0, transactions: o }) => {
4439
4440
  const a = ar(async () => {
4440
4441
  if (!n || !r)
4441
4442
  return;
@@ -4456,7 +4457,7 @@ const sf = (t) => ({ showBalanceChange: Bt(() => {
4456
4457
  });
4457
4458
  }, [n, r, o]), i = Bt(() => Us({ transactions: o, address: n, network: r }), [o, n, r]);
4458
4459
  return ao(!!s, [i, "transactionReview"], a);
4459
- }, pf = (t) => {
4460
+ }, hf = (t) => {
4460
4461
  if (!t)
4461
4462
  return {};
4462
4463
  const e = t.assessment === "warn" && t.reason !== "contract_is_not_verified", n = t.reason ? ` (Reason: ${ir(t.reason)})` : "", r = e ? t.reason === "recipient_is_token_address" ? "You are sending tokens to their own address. This is likely to burn them." : `This transaction has been flagged as dangerous. We recommend you reject this transaction unless you are sure.${n}` : void 0;
@@ -4471,15 +4472,15 @@ const sf = (t) => ({ showBalanceChange: Bt(() => {
4471
4472
  if (((e = n.activity) == null ? void 0 : e.type) === "swap")
4472
4473
  return n;
4473
4474
  }
4474
- }, mf = (t) => {
4475
- }, gf = (t, e) => {
4475
+ }, pf = (t) => {
4476
+ }, mf = (t, e) => {
4476
4477
  var n;
4477
4478
  if (e) {
4478
4479
  for (const r of e.reviews)
4479
4480
  if (((n = r.activity) == null ? void 0 : n.type) === t)
4480
4481
  return r.activity;
4481
4482
  }
4482
- }, wf = (t) => !!Gl(t), yf = (t) => {
4483
+ }, gf = (t) => !!Gl(t), wf = (t) => {
4483
4484
  var e, n;
4484
4485
  if (t) {
4485
4486
  for (const r of t.reviews)
@@ -4515,7 +4516,7 @@ const sf = (t) => ({ showBalanceChange: Bt(() => {
4515
4516
  return s;
4516
4517
  const f = await rl(n, t, r) ?? 0n;
4517
4518
  return BigInt(f) > l + BigInt(u) || (s = !0), s;
4518
- }, bf = () => ar(async ({ feeTokenAddress: e, calls: n, selectedAccount: r, transactionReviewService: s, appDomain: o, accountDeployPayload: a, provider: i }) => {
4519
+ }, yf = () => ar(async ({ feeTokenAddress: e, calls: n, selectedAccount: r, transactionReviewService: s, appDomain: o, accountDeployPayload: a, provider: i }) => {
4519
4520
  if (!r)
4520
4521
  return;
4521
4522
  const l = await Wl({
@@ -4552,7 +4553,7 @@ export {
4552
4553
  De as ESTIMATE_ERROR_MESSAGES,
4553
4554
  sr as ETH_TOKEN_ADDRESS,
4554
4555
  Rl as EstimateError,
4555
- Af as EventEmitterProvider,
4556
+ Ef as EventEmitterProvider,
4556
4557
  Qn as EventsBySelector,
4557
4558
  os as FEE_OVERHEAD,
4558
4559
  Ye as HTTPService,
@@ -4560,7 +4561,7 @@ export {
4560
4561
  X as HttpError,
4561
4562
  Ou as KnownDappsBackendService,
4562
4563
  gn as MultiSigner,
4563
- ld as OnchainRecoveryService,
4564
+ cd as OnchainRecoveryService,
4564
4565
  al as PRETTY_UNLIMITED,
4565
4566
  Ru as ResolveNameService,
4566
4567
  ws as STANDARD_DEVNET_ACCOUNT_CLASS_HASH,
@@ -4568,131 +4569,131 @@ export {
4568
4569
  yu as SWRService,
4569
4570
  Iu as StarknetAddressService,
4570
4571
  Le as TOKEN_ERROR_MESSAGES,
4571
- xf as TXV1_ACCOUNT_CLASS_HASH,
4572
- If as TXV1_MULTISIG_CLASS_HASH,
4573
- Tf as TXV3_ACCOUNT_CLASS_HASH,
4574
- vf as TXV3_MULTISIG_CLASS_HASH,
4572
+ Af as TXV1_ACCOUNT_CLASS_HASH,
4573
+ xf as TXV1_MULTISIG_CLASS_HASH,
4574
+ If as TXV3_ACCOUNT_CLASS_HASH,
4575
+ Tf as TXV3_MULTISIG_CLASS_HASH,
4575
4576
  hl as TokenError,
4576
- Nd as TokenServiceWeb,
4577
- Qd as TransactionReviewServiceWeb,
4578
- _f as abiEntrySchema,
4579
- Nf as abiSchema,
4580
- Bf as addOwnersCalldataSchema,
4581
- Cf as addPluginCalldataSchema,
4582
- kf as addressInputCharactersAndLengthSchema,
4583
- Of as addressInputSchema,
4584
- Pf as addressOrDomainInputSchema,
4585
- Rf as addressOrDomainSchema,
4586
- Uf as addressOrEmptyUndefinedSchema,
4577
+ _d as TokenServiceWeb,
4578
+ Jd as TransactionReviewServiceWeb,
4579
+ vf as abiEntrySchema,
4580
+ _f as abiSchema,
4581
+ Nf as addOwnersCalldataSchema,
4582
+ Bf as addPluginCalldataSchema,
4583
+ Cf as addressInputCharactersAndLengthSchema,
4584
+ kf as addressInputSchema,
4585
+ Of as addressOrDomainInputSchema,
4586
+ Pf as addressOrDomainSchema,
4587
+ Rf as addressOrEmptyUndefinedSchema,
4587
4588
  j as addressSchema,
4588
4589
  le as addressSchemaArgentBackend,
4589
- Ff as addressSchemaBase,
4590
- $f as addressSchemaLooseLength,
4591
- jf as addressSchemaStrictLength,
4590
+ Uf as addressSchemaBase,
4591
+ Ff as addressSchemaLooseLength,
4592
+ $f as addressSchemaStrictLength,
4592
4593
  Nl as airdropSchema,
4593
4594
  pl as apiAccountTokenBalancesSchema,
4594
4595
  El as apiAirdropSchema,
4595
4596
  ts as apiCollateralizedDebtPositionSchema,
4596
- vd as apiCollateralizedDebtPositionsSchema,
4597
+ Td as apiCollateralizedDebtPositionsSchema,
4597
4598
  Qr as apiConcentratedLiquidityPositionSchema,
4598
- Td as apiConcentratedLiquidityPositionsSchema,
4599
+ Id as apiConcentratedLiquidityPositionsSchema,
4599
4600
  yl as apiDefiDecompositionProduct,
4600
4601
  wl as apiDefiDecompositionProducts,
4601
4602
  bl as apiDefiDecompositionSchema,
4602
4603
  Xn as apiDefiDecompositionToken,
4603
4604
  Sl as apiDefiPositionsSchema,
4604
- Id as apiPriceDataResponseSchema,
4605
+ xd as apiPriceDataResponseSchema,
4605
4606
  Xr as apiPriceDetailsSchema,
4606
4607
  gl as apiTokenInfoResponseSchema,
4607
4608
  Wt as apiTokenInfoSchema,
4608
4609
  ml as apiTokensInfoResponseSchema,
4609
- ef as apiTransactionReviewActivityType,
4610
- _d as apiUnclaimedRewardsSchema,
4611
- Lf as apiWalletResponseSchema,
4610
+ tf as apiTransactionReviewActivityType,
4611
+ vd as apiUnclaimedRewardsSchema,
4612
+ jf as apiWalletResponseSchema,
4612
4613
  Ls as argentBackendNetworkIdSchema,
4613
4614
  as as argentMaxFee,
4614
- Df as argentNameSchema,
4615
+ Lf as argentNameSchema,
4615
4616
  js as argentNetworkIdSchema,
4616
4617
  mu as bigDecimal,
4617
- Hf as bigNumberSchema,
4618
- Vf as bigNumberishSchema,
4619
- Mf as booleanToStringSchema,
4618
+ Df as bigNumberSchema,
4619
+ Hf as bigNumberishSchema,
4620
+ Vf as booleanToStringSchema,
4620
4621
  Zl as buildAccountDeployTransaction,
4621
4622
  $a as buildConstructorCalldata,
4622
- zd as buildDummyTx,
4623
- qf as builtinsSchema,
4624
- zf as byteCodeSchema,
4625
- Gf as cairo1EventSchema,
4626
- Wf as cairoAssemblySchema,
4627
- Kf as cairoVersionSchema,
4623
+ qd as buildDummyTx,
4624
+ Mf as builtinsSchema,
4625
+ qf as byteCodeSchema,
4626
+ zf as cairo1EventSchema,
4627
+ Gf as cairoAssemblySchema,
4628
+ Wf as cairoVersionSchema,
4628
4629
  Dl as calculateCubeRootAdjustment,
4629
- Kd as calculateNonLinearAdjustment,
4630
- Wd as calculateSqrtAdjustment,
4631
- Zf as callDetailsSchema,
4630
+ Wd as calculateNonLinearAdjustment,
4631
+ Gd as calculateSqrtAdjustment,
4632
+ Kf as callDetailsSchema,
4632
4633
  Re as callSchema,
4633
- Yf as calldataSchema,
4634
+ Zf as calldataSchema,
4634
4635
  Nt as castFeeEstimation,
4635
- Xf as changeGuardianCalldataSchema,
4636
- Jf as changeThresholdCalldataSchema,
4636
+ Yf as changeGuardianCalldataSchema,
4637
+ Xf as changeThresholdCalldataSchema,
4637
4638
  Kl as checkGasFeeBalance,
4638
- Yd as classHashSupportsTxV3,
4639
- Cd as collateralizedDebtGroupSchema,
4639
+ Zd as classHashSupportsTxV3,
4640
+ Bd as collateralizedDebtGroupSchema,
4640
4641
  ss as collateralizedDebtPositionSchema,
4641
- kd as collateralizedDebtPositionsSchema,
4642
- Qf as compiledContractClassSchema,
4643
- th as compiledSierraCasmSchema,
4644
- eh as compiledSierraSchema,
4645
- nh as compressedProgramSchema,
4642
+ Cd as collateralizedDebtPositionsSchema,
4643
+ Jf as compiledContractClassSchema,
4644
+ Qf as compiledSierraCasmSchema,
4645
+ th as compiledSierraSchema,
4646
+ eh as compressedProgramSchema,
4646
4647
  rs as concentratedLiquidityPositionSchema,
4647
- Bd as concentratedLiquidityPositionsSchema,
4648
+ Nd as concentratedLiquidityPositionsSchema,
4648
4649
  ys as constructorCallDataSchemaC0,
4649
4650
  bs as constructorCallDataSchemaC1V1,
4650
- rh as contractEntryPointFieldsSchema,
4651
- bd as convertTokenAmountToCurrencyValue,
4652
- Sd as convertTokenUnitAmountWithDecimals,
4651
+ nh as contractEntryPointFieldsSchema,
4652
+ yd as convertTokenAmountToCurrencyValue,
4653
+ bd as convertTokenUnitAmountWithDecimals,
4653
4654
  Da as dappContractSchema,
4654
4655
  La as dappLinkSchema,
4655
4656
  Lu as daysBetween,
4656
4657
  _i as decodeBase58,
4657
4658
  ju as decodeBase58Array,
4658
- Od as defiDappsProductsSchema,
4659
+ kd as defiDappsProductsSchema,
4659
4660
  Il as defiPositionSchema,
4660
4661
  Yr as defiPositionTypeSchema,
4661
4662
  vl as defiProductSchema,
4662
4663
  _l as defiProductsSchema,
4663
- rf as denyTxV3,
4664
+ nf as denyTxV3,
4664
4665
  vi as encodeBase58,
4665
4666
  $u as encodeBase58Array,
4666
4667
  ue as ensureArray,
4667
- Ed as ensureDecimals,
4668
+ Sd as ensureDecimals,
4668
4669
  Wu as entryPointToHumanReadable,
4669
- sh as entryPointsByTypeSchema,
4670
+ rh as entryPointsByTypeSchema,
4670
4671
  ed as equalNft,
4671
- Ud as erc20TransferTransaction,
4672
- $d as erc721SafeTransferFromTransaction,
4673
- Fd as erc721TransferFromTransaction,
4674
- oh as escapeGuardianCalldataSchema,
4672
+ Rd as erc20TransferTransaction,
4673
+ Fd as erc721SafeTransferFromTransaction,
4674
+ Ud as erc721TransferFromTransaction,
4675
+ sh as escapeGuardianCalldataSchema,
4675
4676
  He as estimatedFeeToMaxFeeTotal,
4676
- Gd as estimatedFeeToMaxResourceBounds,
4677
+ zd as estimatedFeeToMaxResourceBounds,
4677
4678
  ce as estimatedFeeToTotal,
4678
- qd as estimatedFeesToMaxFeeTotal,
4679
- Md as estimatedFeesToTotal,
4680
- ah as eventAbiSchema,
4681
- ih as eventEntrySchema,
4682
- ch as executeOnPluginCalldataSchema,
4679
+ Md as estimatedFeesToMaxFeeTotal,
4680
+ Vd as estimatedFeesToTotal,
4681
+ oh as eventAbiSchema,
4682
+ ah as eventEntrySchema,
4683
+ ih as executeOnPluginCalldataSchema,
4683
4684
  ln as feeTokenNeedsTxV3Support,
4684
- lh as feltSchema,
4685
+ ch as feltSchema,
4685
4686
  hr as fetchData,
4686
4687
  ee as fetcherError,
4687
4688
  Bu as findImplementationForAccount,
4688
4689
  Hl as findTransfersAndApprovals,
4689
4690
  yr as formatAddress,
4690
- uh as formatFullAddress,
4691
- dh as formatTruncatedAddress,
4692
- fh as formatTruncatedSignerKey,
4693
- hh as formatTruncatedString,
4694
- ph as functionAbiSchema,
4695
- mh as functionAbiTypeSchema,
4691
+ lh as formatFullAddress,
4692
+ uh as formatTruncatedAddress,
4693
+ dh as formatTruncatedSignerKey,
4694
+ fh as formatTruncatedString,
4695
+ hh as functionAbiSchema,
4696
+ ph as functionAbiTypeSchema,
4696
4697
  oe as generateAvatarImage,
4697
4698
  ja as getAccountContractAddress,
4698
4699
  Fa as getAccountDeploymentPayload,
@@ -4709,7 +4710,7 @@ export {
4709
4710
  Ii as getColor,
4710
4711
  Ma as getDapplandLinkForDapp,
4711
4712
  Pu as getDapplandUrlForDapp,
4712
- pf as getDisplayWarnAndReasonForTransactionReview,
4713
+ hf as getDisplayWarnAndReasonForTransactionReview,
4713
4714
  Ae as getERC20Transactions,
4714
4715
  ls as getERC721Transactions,
4715
4716
  $l as getEstimatedFeeFromBulkSimulation,
@@ -4720,38 +4721,37 @@ export {
4720
4721
  Tu as getLatestArgentMultisigClassHash,
4721
4722
  Nu as getLatestLedgerAccountClassHash,
4722
4723
  _u as getLedgerAccountClassHashes,
4723
- jd as getMessageFromTrpcError,
4724
- mf as getNFTTransferActivity,
4724
+ $d as getMessageFromTrpcError,
4725
+ pf as getNFTTransferActivity,
4725
4726
  Fu as getNetworkAccountImageUrl,
4726
4727
  td as getNftPicture,
4727
4728
  jl as getPayloadFromTransaction,
4728
- Zd as getPrettyRpcError,
4729
- cd as getRecoverySchema,
4729
+ Kd as getPrettyRpcError,
4730
4730
  Wl as getReviewForTransactions,
4731
4731
  mn as getSignerForMultiSigner,
4732
- Xd as getSimulationTxVersionFromFeeToken,
4732
+ Yd as getSimulationTxVersionFromFeeToken,
4733
4733
  uo as getStarknetIdContractAddressFromNetworkId,
4734
4734
  rl as getTokenBalance,
4735
- wd as getTokens,
4736
- gd as getTokensBalances,
4737
- gf as getTransactionReviewActivityOfType,
4738
- wf as getTransactionReviewHasSwap,
4735
+ gd as getTokens,
4736
+ md as getTokensBalances,
4737
+ mf as getTransactionReviewActivityOfType,
4738
+ gf as getTransactionReviewHasSwap,
4739
4739
  Gl as getTransactionReviewSwap,
4740
- yf as getTransactionReviewWithType,
4740
+ wf as getTransactionReviewWithType,
4741
4741
  tr as getTxVersionFromFeeToken,
4742
- Jd as getTxVersionFromFeeTokenForDeclareContract,
4742
+ Xd as getTxVersionFromFeeTokenForDeclareContract,
4743
4743
  nl as getUAParserResult,
4744
4744
  Dt as getUint256CalldataFromBN,
4745
4745
  Fl as getWatermarkedMaxFeeTotal,
4746
- af as hasERC20Transactions,
4746
+ of as hasERC20Transactions,
4747
4747
  zl as hasERC721Transactions,
4748
- cf as hasIncomingERC20Transactions,
4749
- lf as hasOutgoingERC20Transactions,
4748
+ af as hasIncomingERC20Transactions,
4749
+ cf as hasOutgoingERC20Transactions,
4750
4750
  gt as hexSchema,
4751
- gh as hexSchemaBase,
4751
+ mh as hexSchemaBase,
4752
4752
  Si as id,
4753
4753
  pn as implementationSchema,
4754
- wh as includesAddress,
4754
+ gh as includesAddress,
4755
4755
  Cl as inputAmountSchema,
4756
4756
  du as isAccountV4,
4757
4757
  uu as isAccountV5,
@@ -4762,35 +4762,35 @@ export {
4762
4762
  pu as isArgentBackendNetworkId,
4763
4763
  ps as isArgentName,
4764
4764
  hu as isArgentNetworkId,
4765
- ud as isBraveBrowser,
4765
+ ld as isBraveBrowser,
4766
4766
  Se as isBrowser,
4767
- fd as isChromeBrowser,
4767
+ dd as isChromeBrowser,
4768
4768
  Hu as isContractDeployed,
4769
- pd as isEdgeBrowser,
4769
+ hd as isEdgeBrowser,
4770
4770
  st as isEqualAddress,
4771
- yh as isEqualArgentName,
4771
+ wh as isEqualArgentName,
4772
4772
  Ua as isEqualImplementation,
4773
- bh as isEqualStarknetDomainName,
4774
- Sh as isEqualStarknetId,
4773
+ yh as isEqualStarknetDomainName,
4774
+ bh as isEqualStarknetId,
4775
4775
  Ul as isFRI,
4776
4776
  Du as isFeatureEnabled,
4777
- dd as isFirefoxBrowser,
4777
+ ud as isFirefoxBrowser,
4778
4778
  J as isNumeric,
4779
- hd as isSafariBrowser,
4780
- Eh as isStarknetDomainName,
4779
+ fd as isSafariBrowser,
4780
+ Sh as isStarknetDomainName,
4781
4781
  hs as isStarknetId,
4782
4782
  ol as isUnlimitedAmount,
4783
4783
  ds as isValidAddress,
4784
- Rd as isValidInputAmount,
4784
+ Pd as isValidInputAmount,
4785
4785
  is as isWEI,
4786
4786
  us as isZeroAddress,
4787
4787
  Ha as knownDappSchema,
4788
4788
  Va as knownDappsSchema,
4789
- Ah as legacyContractClassSchema,
4790
- xh as legacyEventSchema,
4791
- Ld as modifySnjsFeeOverhead,
4792
- Ih as multiTypeSchema,
4793
- Hd as multiplyBigIntByFloat,
4789
+ Eh as legacyContractClassSchema,
4790
+ Ah as legacyEventSchema,
4791
+ jd as modifySnjsFeeOverhead,
4792
+ xh as multiTypeSchema,
4793
+ Dd as multiplyBigIntByFloat,
4794
4794
  za as nameProviderResolutionSchema,
4795
4795
  Ga as nameResolutionAddressSchema,
4796
4796
  Ka as nameResolutionAddressesSchema,
@@ -4798,9 +4798,10 @@ export {
4798
4798
  qa as nameResolutionStarknetIdsSchema,
4799
4799
  Vu as nonNullable,
4800
4800
  rr as normalizeAddress,
4801
- Th as normalizeAddressOrDomain,
4802
- vh as normalizeArgentName,
4803
- _h as normalizeStarknetId,
4801
+ Ih as normalizeAddressOrDomain,
4802
+ Th as normalizeArgentName,
4803
+ vh as normalizeStarknetId,
4804
+ el as onchainRecoverySchema,
4804
4805
  Bl as parseAmount,
4805
4806
  Ci as parseAmountValue,
4806
4807
  zu as pluralise,
@@ -4808,68 +4809,67 @@ export {
4808
4809
  fu as preferencesEndpointPayload,
4809
4810
  $s as preferencesSchema,
4810
4811
  Ni as prettifyCurrencyNumber,
4811
- Ad as prettifyCurrencyValue,
4812
+ Ed as prettifyCurrencyValue,
4812
4813
  Tr as prettifyNumber,
4813
4814
  Je as prettifyNumberConfig,
4814
- xd as prettifyTokenAmount,
4815
+ Ad as prettifyTokenAmount,
4815
4816
  Bi as prettifyTokenNumber,
4816
4817
  Tl as productGroupsSchema,
4817
- Nh as programSchema,
4818
+ _h as programSchema,
4818
4819
  Wa as providersNamesSchema,
4819
- Bh as pythonicHintsSchema,
4820
- Ch as rawArgsArraySchema,
4821
- kh as rawArgsObjectSchema,
4822
- Oh as rawArgsSchema,
4820
+ Nh as pythonicHintsSchema,
4821
+ Bh as rawArgsArraySchema,
4822
+ Ch as rawArgsObjectSchema,
4823
+ kh as rawArgsSchema,
4823
4824
  Gu as readFileAsString,
4824
4825
  id as recoveryBodySchema,
4825
- el as recoveryStatusSchema,
4826
- Ph as removeOwnersCalldataSchema,
4827
- Rh as removePluginCalldataSchema,
4828
- Uh as replaceSignerCalldataSchema,
4829
- md as seedphraseSchema,
4830
- Fh as sierraContractEntryPointFieldsSchema,
4831
- $h as sierraEntryPointsByTypeSchema,
4832
- jh as sierraProgramDebugInfoSchema,
4826
+ tl as recoveryStatusSchema,
4827
+ Oh as removeOwnersCalldataSchema,
4828
+ Ph as removePluginCalldataSchema,
4829
+ Rh as replaceSignerCalldataSchema,
4830
+ pd as seedphraseSchema,
4831
+ Uh as sierraContractEntryPointFieldsSchema,
4832
+ Fh as sierraEntryPointsByTypeSchema,
4833
+ $h as sierraProgramDebugInfoSchema,
4833
4834
  lo as starkNameToCallDataDomain,
4834
- Lh as starknetDomainNameSchema,
4835
+ jh as starknetDomainNameSchema,
4835
4836
  Ss as starknetIdSchema,
4836
- tl as startRecoverySchema,
4837
- Dh as stringToBooleanSchema,
4837
+ Lh as stringToBooleanSchema,
4838
4838
  Ti as stripAddressZeroPadding,
4839
- Hh as structAbiSchema,
4839
+ Dh as structAbiSchema,
4840
4840
  Au as swrRefetchDisabledConfig,
4841
4841
  jt as toMax,
4842
- Vd as tokensRequireTxV3Support,
4843
- Dd as transactionReviewTransactionsSchema,
4844
- tf as transactionReviewWarningSchema,
4842
+ Hd as tokensRequireTxV3Support,
4843
+ Ld as transactionReviewTransactionsSchema,
4844
+ Qd as transactionReviewWarningSchema,
4845
4845
  As as transferCalldataSchema,
4846
4846
  kl as trpcErrorSchema,
4847
- nf as txVersionSchema,
4848
- Vh as uint256Schema,
4849
- Pd as unclaimedRewardsSchema,
4847
+ ef as txVersionSchema,
4848
+ Hh as uint256Schema,
4849
+ Od as unclaimedRewardsSchema,
4850
4850
  Pe as unitToFeeTokenAddress,
4851
4851
  Ku as urlWithQuery,
4852
- sf as useBalanceChange,
4852
+ rf as useBalanceChange,
4853
4853
  Ju as useCollection,
4854
4854
  ao as useConditionallyEnabledSWR,
4855
4855
  Cu as useDebounce,
4856
4856
  ku as useDebouncedValue,
4857
- of as useERC20Transactions,
4858
- uf as useERC721Transactions,
4859
- Mh as useEmitEvent,
4860
- qh as useEventEmitter,
4861
- zh as useEventEmitterContext,
4862
- Gh as useEventListener,
4863
- df as useHasERC721Transaction,
4864
- Wh as useIsEventEmitterEnabled,
4865
- ff as useMaxAmountTransaction,
4857
+ sf as useERC20Transactions,
4858
+ lf as useERC721Transactions,
4859
+ Vh as useEmitEvent,
4860
+ Mh as useEventEmitter,
4861
+ qh as useEventEmitterContext,
4862
+ zh as useEventListener,
4863
+ uf as useHasERC721Transaction,
4864
+ Gh as useIsEventEmitterEnabled,
4865
+ df as useMaxAmountTransaction,
4866
4866
  Qu as useNft,
4867
4867
  Xu as useNfts,
4868
- yd as useToken,
4869
- hf as useTransactionReview,
4870
- bf as useTransactionReviewV2webFetcher,
4871
- Kh as validChecksumAddressSchema,
4872
- Zh as validateAddressRangeSchema,
4868
+ wd as useToken,
4869
+ ff as useTransactionReview,
4870
+ yf as useTransactionReviewV2webFetcher,
4871
+ Wh as validChecksumAddressSchema,
4872
+ Kh as validateAddressRangeSchema,
4873
4873
  Zu as voidify,
4874
4874
  Su as withPolling
4875
4875
  };