@chainrails/sdk 0.4.0 → 0.4.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.
@@ -1,5 +1,9 @@
1
- import ae from "ky";
2
- const d = {
1
+ import fe from "ky";
2
+ const T = {
3
+ EVM: "EVM",
4
+ STARKNET: "STARKNET",
5
+ SOLANA: "SOLANA"
6
+ }, d = {
3
7
  ARBITRUM: "ARBITRUM_MAINNET",
4
8
  ARBITRUM_TESTNET: "ARBITRUM_TESTNET",
5
9
  AVALANCHE: "AVALANCHE_MAINNET",
@@ -20,7 +24,7 @@ const d = {
20
24
  SOLANA_TESTNET: "SOLANA_TESTNET",
21
25
  STARKNET: "STARKNET_MAINNET",
22
26
  STARKNET_TESTNET: "STARKNET_TESTNET"
23
- }, as = {
27
+ }, he = {
24
28
  ARBITRUM: "ARBITRUM",
25
29
  ARBITRUM_TESTNET: "ARBITRUM_TESTNET",
26
30
  AVALANCHE: "AVALANCHE",
@@ -41,30 +45,172 @@ const d = {
41
45
  SOLANA_TESTNET: "SOLANA_TESTNET",
42
46
  STARKNET: "STARKNET",
43
47
  STARKNET_TESTNET: "STARKNET_TESTNET"
48
+ }, Se = {
49
+ type: T.EVM,
50
+ chainId: 42161,
51
+ name: "Arbitrum",
52
+ cctpDomain: 3,
53
+ logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/q_auto/f_auto/v1772087941/arbitrum_tp1kad.svg",
54
+ explorer: "https://arbiscan.io"
55
+ }, Ae = {
56
+ type: T.EVM,
57
+ chainId: 421614,
58
+ name: "Arbitrum Sepolia",
59
+ cctpDomain: 3,
60
+ logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/q_auto/f_auto/v1772087941/arbitrum_tp1kad.svg",
61
+ explorer: "https://sepolia.arbiscan.io"
62
+ }, Ue = {
63
+ type: T.EVM,
64
+ chainId: 43114,
65
+ name: "Avalanche",
66
+ cctpDomain: 1,
67
+ logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/q_auto/f_auto/v1772087941/avalanche_tnvomy.svg",
68
+ explorer: "https://snowtrace.io"
69
+ }, Ce = {
70
+ type: T.EVM,
71
+ chainId: 43113,
72
+ name: "Avalanche Fuji",
73
+ cctpDomain: 1,
74
+ logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/q_auto/f_auto/v1772087941/avalanche_tnvomy.svg",
75
+ explorer: "https://testnet.snowtrace.io"
76
+ }, be = {
77
+ type: T.EVM,
78
+ chainId: 8453,
79
+ name: "Base",
80
+ cctpDomain: 6,
81
+ logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/q_auto/f_auto/v1772087942/base_yognh9.webp",
82
+ explorer: "https://basescan.org"
83
+ }, De = {
84
+ type: T.EVM,
85
+ chainId: 84532,
86
+ name: "Base Sepolia",
87
+ cctpDomain: 6,
88
+ logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/q_auto/f_auto/v1772087942/base_yognh9.webp",
89
+ explorer: "https://sepolia.basescan.org"
90
+ }, ye = {
91
+ type: T.EVM,
92
+ chainId: 56,
93
+ name: "BNB Chain",
94
+ cctpDomain: null,
95
+ logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/q_auto/f_auto/v1772087942/bsc_k1jm6z.webp",
96
+ explorer: "https://bscscan.com"
97
+ }, Ie = {
98
+ type: T.EVM,
99
+ chainId: 1,
100
+ name: "Ethereum",
101
+ cctpDomain: 0,
102
+ logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/q_auto/f_auto/v1772087942/ethereum_iyciq3.svg",
103
+ explorer: "https://etherscan.io"
104
+ }, Ne = {
105
+ type: T.EVM,
106
+ chainId: 11155111,
107
+ name: "Ethereum Sepolia",
108
+ cctpDomain: 0,
109
+ logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/q_auto/f_auto/v1772087942/ethereum_iyciq3.svg",
110
+ explorer: "https://sepolia.etherscan.io"
111
+ }, Be = {
112
+ type: T.EVM,
113
+ chainId: 999,
114
+ name: "HyperEVM",
115
+ cctpDomain: 19,
116
+ logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/q_auto/f_auto/v1772087942/hyperevm_l2b8ck.webp",
117
+ explorer: "https://liquidscan.io"
118
+ }, ve = {
119
+ type: T.EVM,
120
+ chainId: 1135,
121
+ name: "Lisk",
122
+ cctpDomain: null,
123
+ logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/q_auto/f_auto/v1772087942/lisk_dhgqka.png",
124
+ explorer: "https://blockscout.lisk.com"
125
+ }, Re = {
126
+ type: T.EVM,
127
+ chainId: 143,
128
+ name: "Monad",
129
+ cctpDomain: 7,
130
+ logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/q_auto/f_auto/v1772087942/monad_iz8pgu.png",
131
+ explorer: "https://monadvision.com"
132
+ }, ke = {
133
+ type: T.EVM,
134
+ chainId: 10143,
135
+ name: "Monad Testnet",
136
+ cctpDomain: null,
137
+ logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/q_auto/f_auto/v1772087942/monad_iz8pgu.png",
138
+ explorer: "https://testnet.monadvision.com"
139
+ }, Oe = {
140
+ type: T.EVM,
141
+ chainId: 10,
142
+ name: "Optimism",
143
+ cctpDomain: 2,
144
+ logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/q_auto/f_auto/v1772087943/optimism_ypaqi0.svg",
145
+ explorer: "https://optimistic.etherscan.io"
146
+ }, we = {
147
+ type: T.EVM,
148
+ chainId: 11155420,
149
+ name: "Optimism Testnet",
150
+ cctpDomain: 2,
151
+ logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/q_auto/f_auto/v1772087943/optimism_ypaqi0.svg",
152
+ explorer: "https://testnet-explorer.optimism.io"
153
+ }, xe = {
154
+ type: T.EVM,
155
+ chainId: 137,
156
+ name: "Polygon",
157
+ cctpDomain: 7,
158
+ logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/q_auto/f_auto/v1772087943/polygon_qxw9a4.svg",
159
+ explorer: "https://polygonscan.com"
160
+ }, _e = {
161
+ type: T.SOLANA,
162
+ chainId: "solana-mainnet",
163
+ name: "Solana",
164
+ cctpDomain: null,
165
+ logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772183427/solana_xv5sbs.svg",
166
+ explorer: "https://solscan.io"
167
+ }, Me = {
168
+ type: T.SOLANA,
169
+ chainId: "solana-devnet",
170
+ name: "Solana Devnet",
171
+ cctpDomain: null,
172
+ logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772183427/solana_xv5sbs.svg",
173
+ explorer: "https://solscan.io"
174
+ }, Le = {
175
+ type: T.STARKNET,
176
+ chainId: "0x534e5f4d41494e",
177
+ // SN_MAIN
178
+ name: "Starknet",
179
+ cctpDomain: 25,
180
+ logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/q_auto/f_auto/v1772087943/starknet_ltvror.svg",
181
+ explorer: ""
182
+ }, Fe = {
183
+ type: T.STARKNET,
184
+ chainId: "0x534e5f5345504f4c4941",
185
+ // SN_SEPOLIA
186
+ name: "Starknet Testnet",
187
+ cctpDomain: null,
188
+ logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/q_auto/f_auto/v1772087943/starknet_ltvror.svg",
189
+ explorer: ""
44
190
  };
45
- function w(s, { strict: e = !0 } = {}) {
46
- return !s || typeof s != "string" ? !1 : e ? /^0x[0-9a-fA-F]*$/.test(s) : s.startsWith("0x");
191
+ function V(a, { strict: e = !0 } = {}) {
192
+ return !a || typeof a != "string" ? !1 : e ? /^0x[0-9a-fA-F]*$/.test(a) : a.startsWith("0x");
47
193
  }
48
- function k(s) {
49
- return w(s, { strict: !1 }) ? Math.ceil((s.length - 2) / 2) : s.length;
194
+ function $(a) {
195
+ return V(a, { strict: !1 }) ? Math.ceil((a.length - 2) / 2) : a.length;
50
196
  }
51
- const $ = "2.43.4";
52
- let v = {
53
- getDocsUrl: ({ docsBaseUrl: s, docsPath: e = "", docsSlug: t }) => e ? `${s ?? "https://viem.sh"}${e}${t ? `#${t}` : ""}` : void 0,
54
- version: `viem@${$}`
197
+ const ae = "2.43.4";
198
+ let M = {
199
+ getDocsUrl: ({ docsBaseUrl: a, docsPath: e = "", docsSlug: s }) => e ? `${a ?? "https://viem.sh"}${e}${s ? `#${s}` : ""}` : void 0,
200
+ version: `viem@${ae}`
55
201
  };
56
- class f extends Error {
57
- constructor(e, t = {}) {
58
- const a = t.cause instanceof f ? t.cause.details : t.cause?.message ? t.cause.message : t.details, o = t.cause instanceof f && t.cause.docsPath || t.docsPath, i = v.getDocsUrl?.({ ...t, docsPath: o }), r = [
202
+ class A extends Error {
203
+ constructor(e, s = {}) {
204
+ const o = s.cause instanceof A ? s.cause.details : s.cause?.message ? s.cause.message : s.details, r = s.cause instanceof A && s.cause.docsPath || s.docsPath, l = M.getDocsUrl?.({ ...s, docsPath: r }), i = [
59
205
  e || "An error occurred.",
60
206
  "",
61
- ...t.metaMessages ? [...t.metaMessages, ""] : [],
62
- ...i ? [`Docs: ${i}`] : [],
63
- ...a ? [`Details: ${a}`] : [],
64
- ...v.version ? [`Version: ${v.version}`] : []
207
+ ...s.metaMessages ? [...s.metaMessages, ""] : [],
208
+ ...l ? [`Docs: ${l}`] : [],
209
+ ...o ? [`Details: ${o}`] : [],
210
+ ...M.version ? [`Version: ${M.version}`] : []
65
211
  ].join(`
66
212
  `);
67
- super(r, t.cause ? { cause: t.cause } : void 0), Object.defineProperty(this, "details", {
213
+ super(i, s.cause ? { cause: s.cause } : void 0), Object.defineProperty(this, "details", {
68
214
  enumerable: !0,
69
215
  configurable: !0,
70
216
  writable: !0,
@@ -94,95 +240,95 @@ class f extends Error {
94
240
  configurable: !0,
95
241
  writable: !0,
96
242
  value: "BaseError"
97
- }), this.details = a, this.docsPath = o, this.metaMessages = t.metaMessages, this.name = t.name ?? this.name, this.shortMessage = e, this.version = $;
243
+ }), this.details = o, this.docsPath = r, this.metaMessages = s.metaMessages, this.name = s.name ?? this.name, this.shortMessage = e, this.version = ae;
98
244
  }
99
245
  walk(e) {
100
- return j(this, e);
246
+ return se(this, e);
101
247
  }
102
248
  }
103
- function j(s, e) {
104
- return e?.(s) ? s : s && typeof s == "object" && "cause" in s && s.cause !== void 0 ? j(s.cause, e) : e ? null : s;
249
+ function se(a, e) {
250
+ return e?.(a) ? a : a && typeof a == "object" && "cause" in a && a.cause !== void 0 ? se(a.cause, e) : e ? null : a;
105
251
  }
106
- class K extends f {
107
- constructor({ size: e, targetSize: t, type: a }) {
108
- super(`${a.charAt(0).toUpperCase()}${a.slice(1).toLowerCase()} size (${e}) exceeds padding size (${t}).`, { name: "SizeExceedsPaddingSizeError" });
252
+ class te extends A {
253
+ constructor({ size: e, targetSize: s, type: o }) {
254
+ super(`${o.charAt(0).toUpperCase()}${o.slice(1).toLowerCase()} size (${e}) exceeds padding size (${s}).`, { name: "SizeExceedsPaddingSizeError" });
109
255
  }
110
256
  }
111
- function D(s, { dir: e, size: t = 32 } = {}) {
112
- return typeof s == "string" ? oe(s, { dir: e, size: t }) : re(s, { dir: e, size: t });
257
+ function x(a, { dir: e, size: s = 32 } = {}) {
258
+ return typeof a == "string" ? ze(a, { dir: e, size: s }) : We(a, { dir: e, size: s });
113
259
  }
114
- function oe(s, { dir: e, size: t = 32 } = {}) {
115
- if (t === null)
116
- return s;
117
- const a = s.replace("0x", "");
118
- if (a.length > t * 2)
119
- throw new K({
120
- size: Math.ceil(a.length / 2),
121
- targetSize: t,
260
+ function ze(a, { dir: e, size: s = 32 } = {}) {
261
+ if (s === null)
262
+ return a;
263
+ const o = a.replace("0x", "");
264
+ if (o.length > s * 2)
265
+ throw new te({
266
+ size: Math.ceil(o.length / 2),
267
+ targetSize: s,
122
268
  type: "hex"
123
269
  });
124
- return `0x${a[e === "right" ? "padEnd" : "padStart"](t * 2, "0")}`;
125
- }
126
- function re(s, { dir: e, size: t = 32 } = {}) {
127
- if (t === null)
128
- return s;
129
- if (s.length > t)
130
- throw new K({
131
- size: s.length,
132
- targetSize: t,
270
+ return `0x${o[e === "right" ? "padEnd" : "padStart"](s * 2, "0")}`;
271
+ }
272
+ function We(a, { dir: e, size: s = 32 } = {}) {
273
+ if (s === null)
274
+ return a;
275
+ if (a.length > s)
276
+ throw new te({
277
+ size: a.length,
278
+ targetSize: s,
133
279
  type: "bytes"
134
280
  });
135
- const a = new Uint8Array(t);
136
- for (let o = 0; o < t; o++) {
137
- const i = e === "right";
138
- a[i ? o : t - o - 1] = s[i ? o : s.length - o - 1];
281
+ const o = new Uint8Array(s);
282
+ for (let r = 0; r < s; r++) {
283
+ const l = e === "right";
284
+ o[l ? r : s - r - 1] = a[l ? r : a.length - r - 1];
139
285
  }
140
- return a;
286
+ return o;
141
287
  }
142
- class ie extends f {
143
- constructor({ max: e, min: t, signed: a, size: o, value: i }) {
144
- super(`Number "${i}" is not in safe ${o ? `${o * 8}-bit ${a ? "signed" : "unsigned"} ` : ""}integer range ${e ? `(${t} to ${e})` : `(above ${t})`}`, { name: "IntegerOutOfRangeError" });
288
+ class He extends A {
289
+ constructor({ max: e, min: s, signed: o, size: r, value: l }) {
290
+ super(`Number "${l}" is not in safe ${r ? `${r * 8}-bit ${o ? "signed" : "unsigned"} ` : ""}integer range ${e ? `(${s} to ${e})` : `(above ${s})`}`, { name: "IntegerOutOfRangeError" });
145
291
  }
146
292
  }
147
- class ce extends f {
148
- constructor({ givenSize: e, maxSize: t }) {
149
- super(`Size cannot exceed ${t} bytes. Given size: ${e} bytes.`, { name: "SizeOverflowError" });
293
+ class Pe extends A {
294
+ constructor({ givenSize: e, maxSize: s }) {
295
+ super(`Size cannot exceed ${s} bytes. Given size: ${e} bytes.`, { name: "SizeOverflowError" });
150
296
  }
151
297
  }
152
- function B(s, { size: e }) {
153
- if (k(s) > e)
154
- throw new ce({
155
- givenSize: k(s),
298
+ function K(a, { size: e }) {
299
+ if ($(a) > e)
300
+ throw new Pe({
301
+ givenSize: $(a),
156
302
  maxSize: e
157
303
  });
158
304
  }
159
- function de(s, e = {}) {
160
- const { signed: t, size: a } = e, o = BigInt(s);
161
- let i;
162
- a ? t ? i = (1n << BigInt(a) * 8n - 1n) - 1n : i = 2n ** (BigInt(a) * 8n) - 1n : typeof s == "number" && (i = BigInt(Number.MAX_SAFE_INTEGER));
163
- const r = typeof i == "bigint" && t ? -i - 1n : 0;
164
- if (i && o > i || o < r) {
165
- const p = typeof s == "bigint" ? "n" : "";
166
- throw new ie({
167
- max: i ? `${i}${p}` : void 0,
168
- min: `${r}${p}`,
169
- signed: t,
170
- size: a,
171
- value: `${s}${p}`
305
+ function Ve(a, e = {}) {
306
+ const { signed: s, size: o } = e, r = BigInt(a);
307
+ let l;
308
+ o ? s ? l = (1n << BigInt(o) * 8n - 1n) - 1n : l = 2n ** (BigInt(o) * 8n) - 1n : typeof a == "number" && (l = BigInt(Number.MAX_SAFE_INTEGER));
309
+ const i = typeof l == "bigint" && s ? -l - 1n : 0;
310
+ if (l && r > l || r < i) {
311
+ const f = typeof a == "bigint" ? "n" : "";
312
+ throw new He({
313
+ max: l ? `${l}${f}` : void 0,
314
+ min: `${i}${f}`,
315
+ signed: s,
316
+ size: o,
317
+ value: `${a}${f}`
172
318
  });
173
319
  }
174
- const l = `0x${(t && o < 0 ? (1n << BigInt(a * 8)) + BigInt(o) : o).toString(16)}`;
175
- return a ? D(l, { size: a }) : l;
320
+ const m = `0x${(s && r < 0 ? (1n << BigInt(o * 8)) + BigInt(r) : r).toString(16)}`;
321
+ return o ? x(m, { size: o }) : m;
176
322
  }
177
- const le = /* @__PURE__ */ new TextEncoder();
178
- function ue(s, e = {}) {
179
- return typeof s == "number" || typeof s == "bigint" ? me(s, e) : typeof s == "boolean" ? ge(s, e) : w(s) ? q(s, e) : W(s, e);
323
+ const Ke = /* @__PURE__ */ new TextEncoder();
324
+ function je(a, e = {}) {
325
+ return typeof a == "number" || typeof a == "bigint" ? qe(a, e) : typeof a == "boolean" ? $e(a, e) : V(a) ? ne(a, e) : oe(a, e);
180
326
  }
181
- function ge(s, e = {}) {
182
- const t = new Uint8Array(1);
183
- return t[0] = Number(s), typeof e.size == "number" ? (B(t, { size: e.size }), D(t, { size: e.size })) : t;
327
+ function $e(a, e = {}) {
328
+ const s = new Uint8Array(1);
329
+ return s[0] = Number(a), typeof e.size == "number" ? (K(s, { size: e.size }), x(s, { size: e.size })) : s;
184
330
  }
185
- const T = {
331
+ const S = {
186
332
  zero: 48,
187
333
  nine: 57,
188
334
  A: 65,
@@ -190,162 +336,162 @@ const T = {
190
336
  a: 97,
191
337
  f: 102
192
338
  };
193
- function _(s) {
194
- if (s >= T.zero && s <= T.nine)
195
- return s - T.zero;
196
- if (s >= T.A && s <= T.F)
197
- return s - (T.A - 10);
198
- if (s >= T.a && s <= T.f)
199
- return s - (T.a - 10);
200
- }
201
- function q(s, e = {}) {
202
- let t = s;
203
- e.size && (B(t, { size: e.size }), t = D(t, { dir: "right", size: e.size }));
204
- let a = t.slice(2);
205
- a.length % 2 && (a = `0${a}`);
206
- const o = a.length / 2, i = new Uint8Array(o);
207
- for (let r = 0, l = 0; r < o; r++) {
208
- const p = _(a.charCodeAt(l++)), E = _(a.charCodeAt(l++));
209
- if (p === void 0 || E === void 0)
210
- throw new f(`Invalid byte sequence ("${a[l - 2]}${a[l - 1]}" in "${a}").`);
211
- i[r] = p * 16 + E;
212
- }
213
- return i;
214
- }
215
- function me(s, e) {
216
- const t = de(s, e);
217
- return q(t);
218
- }
219
- function W(s, e = {}) {
220
- const t = le.encode(s);
221
- return typeof e.size == "number" ? (B(t, { size: e.size }), D(t, { dir: "right", size: e.size })) : t;
222
- }
223
- const C = /* @__PURE__ */ BigInt(2 ** 32 - 1), z = /* @__PURE__ */ BigInt(32);
224
- function he(s, e = !1) {
225
- return e ? { h: Number(s & C), l: Number(s >> z & C) } : { h: Number(s >> z & C) | 0, l: Number(s & C) | 0 };
226
- }
227
- function pe(s, e = !1) {
228
- const t = s.length;
229
- let a = new Uint32Array(t), o = new Uint32Array(t);
230
- for (let i = 0; i < t; i++) {
231
- const { h: r, l } = he(s[i], e);
232
- [a[i], o[i]] = [r, l];
233
- }
234
- return [a, o];
235
- }
236
- const Te = (s, e, t) => s << t | e >>> 32 - t, fe = (s, e, t) => e << t | s >>> 32 - t, Ee = (s, e, t) => e << t - 32 | s >>> 64 - t, Se = (s, e, t) => s << t - 32 | e >>> 64 - t;
339
+ function q(a) {
340
+ if (a >= S.zero && a <= S.nine)
341
+ return a - S.zero;
342
+ if (a >= S.A && a <= S.F)
343
+ return a - (S.A - 10);
344
+ if (a >= S.a && a <= S.f)
345
+ return a - (S.a - 10);
346
+ }
347
+ function ne(a, e = {}) {
348
+ let s = a;
349
+ e.size && (K(s, { size: e.size }), s = x(s, { dir: "right", size: e.size }));
350
+ let o = s.slice(2);
351
+ o.length % 2 && (o = `0${o}`);
352
+ const r = o.length / 2, l = new Uint8Array(r);
353
+ for (let i = 0, m = 0; i < r; i++) {
354
+ const f = q(o.charCodeAt(m++)), h = q(o.charCodeAt(m++));
355
+ if (f === void 0 || h === void 0)
356
+ throw new A(`Invalid byte sequence ("${o[m - 2]}${o[m - 1]}" in "${o}").`);
357
+ l[i] = f * 16 + h;
358
+ }
359
+ return l;
360
+ }
361
+ function qe(a, e) {
362
+ const s = Ve(a, e);
363
+ return ne(s);
364
+ }
365
+ function oe(a, e = {}) {
366
+ const s = Ke.encode(a);
367
+ return typeof e.size == "number" ? (K(s, { size: e.size }), x(s, { dir: "right", size: e.size })) : s;
368
+ }
369
+ const B = /* @__PURE__ */ BigInt(2 ** 32 - 1), G = /* @__PURE__ */ BigInt(32);
370
+ function Ge(a, e = !1) {
371
+ return e ? { h: Number(a & B), l: Number(a >> G & B) } : { h: Number(a >> G & B) | 0, l: Number(a & B) | 0 };
372
+ }
373
+ function Xe(a, e = !1) {
374
+ const s = a.length;
375
+ let o = new Uint32Array(s), r = new Uint32Array(s);
376
+ for (let l = 0; l < s; l++) {
377
+ const { h: i, l: m } = Ge(a[l], e);
378
+ [o[l], r[l]] = [i, m];
379
+ }
380
+ return [o, r];
381
+ }
382
+ const Ye = (a, e, s) => a << s | e >>> 32 - s, Qe = (a, e, s) => e << s | a >>> 32 - s, Je = (a, e, s) => e << s - 32 | a >>> 64 - s, Ze = (a, e, s) => a << s - 32 | e >>> 64 - s;
237
383
  /*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
238
- function ye(s) {
239
- return s instanceof Uint8Array || ArrayBuffer.isView(s) && s.constructor.name === "Uint8Array";
384
+ function ea(a) {
385
+ return a instanceof Uint8Array || ArrayBuffer.isView(a) && a.constructor.name === "Uint8Array";
240
386
  }
241
- function O(s) {
242
- if (!Number.isSafeInteger(s) || s < 0)
243
- throw new Error("positive integer expected, got " + s);
387
+ function X(a) {
388
+ if (!Number.isSafeInteger(a) || a < 0)
389
+ throw new Error("positive integer expected, got " + a);
244
390
  }
245
- function b(s, ...e) {
246
- if (!ye(s))
391
+ function k(a, ...e) {
392
+ if (!ea(a))
247
393
  throw new Error("Uint8Array expected");
248
- if (e.length > 0 && !e.includes(s.length))
249
- throw new Error("Uint8Array expected of length " + e + ", got length=" + s.length);
394
+ if (e.length > 0 && !e.includes(a.length))
395
+ throw new Error("Uint8Array expected of length " + e + ", got length=" + a.length);
250
396
  }
251
- function M(s, e = !0) {
252
- if (s.destroyed)
397
+ function Y(a, e = !0) {
398
+ if (a.destroyed)
253
399
  throw new Error("Hash instance has been destroyed");
254
- if (e && s.finished)
400
+ if (e && a.finished)
255
401
  throw new Error("Hash#digest() has already been called");
256
402
  }
257
- function Ae(s, e) {
258
- b(s);
259
- const t = e.outputLen;
260
- if (s.length < t)
261
- throw new Error("digestInto() expects output buffer of length at least " + t);
403
+ function aa(a, e) {
404
+ k(a);
405
+ const s = e.outputLen;
406
+ if (a.length < s)
407
+ throw new Error("digestInto() expects output buffer of length at least " + s);
262
408
  }
263
- function Ce(s) {
264
- return new Uint32Array(s.buffer, s.byteOffset, Math.floor(s.byteLength / 4));
409
+ function sa(a) {
410
+ return new Uint32Array(a.buffer, a.byteOffset, Math.floor(a.byteLength / 4));
265
411
  }
266
- function V(...s) {
267
- for (let e = 0; e < s.length; e++)
268
- s[e].fill(0);
412
+ function re(...a) {
413
+ for (let e = 0; e < a.length; e++)
414
+ a[e].fill(0);
269
415
  }
270
- const be = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68;
271
- function De(s) {
272
- return s << 24 & 4278190080 | s << 8 & 16711680 | s >>> 8 & 65280 | s >>> 24 & 255;
416
+ const ta = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68;
417
+ function na(a) {
418
+ return a << 24 & 4278190080 | a << 8 & 16711680 | a >>> 8 & 65280 | a >>> 24 & 255;
273
419
  }
274
- function ve(s) {
275
- for (let e = 0; e < s.length; e++)
276
- s[e] = De(s[e]);
277
- return s;
420
+ function oa(a) {
421
+ for (let e = 0; e < a.length; e++)
422
+ a[e] = na(a[e]);
423
+ return a;
278
424
  }
279
- const F = be ? (s) => s : ve;
280
- function Ue(s) {
281
- if (typeof s != "string")
425
+ const Q = ta ? (a) => a : oa;
426
+ function ra(a) {
427
+ if (typeof a != "string")
282
428
  throw new Error("string expected");
283
- return new Uint8Array(new TextEncoder().encode(s));
284
- }
285
- function G(s) {
286
- return typeof s == "string" && (s = Ue(s)), b(s), s;
287
- }
288
- class Ie {
289
- }
290
- function Ne(s) {
291
- const e = (a) => s().update(G(a)).digest(), t = s();
292
- return e.outputLen = t.outputLen, e.blockLen = t.blockLen, e.create = () => s(), e;
293
- }
294
- const Re = BigInt(0), y = BigInt(1), we = BigInt(2), Be = BigInt(7), xe = BigInt(256), ke = BigInt(113), Y = [], X = [], Q = [];
295
- for (let s = 0, e = y, t = 1, a = 0; s < 24; s++) {
296
- [t, a] = [a, (2 * t + 3 * a) % 5], Y.push(2 * (5 * a + t)), X.push((s + 1) * (s + 2) / 2 % 64);
297
- let o = Re;
298
- for (let i = 0; i < 7; i++)
299
- e = (e << y ^ (e >> Be) * ke) % xe, e & we && (o ^= y << (y << /* @__PURE__ */ BigInt(i)) - y);
300
- Q.push(o);
301
- }
302
- const J = pe(Q, !0), _e = J[0], ze = J[1], P = (s, e, t) => t > 32 ? Ee(s, e, t) : Te(s, e, t), L = (s, e, t) => t > 32 ? Se(s, e, t) : fe(s, e, t);
303
- function Oe(s, e = 24) {
304
- const t = new Uint32Array(10);
305
- for (let a = 24 - e; a < 24; a++) {
306
- for (let r = 0; r < 10; r++)
307
- t[r] = s[r] ^ s[r + 10] ^ s[r + 20] ^ s[r + 30] ^ s[r + 40];
308
- for (let r = 0; r < 10; r += 2) {
309
- const l = (r + 8) % 10, p = (r + 2) % 10, E = t[p], S = t[p + 1], te = P(E, S, 1) ^ t[l], ne = L(E, S, 1) ^ t[l + 1];
310
- for (let A = 0; A < 50; A += 10)
311
- s[r + A] ^= te, s[r + A + 1] ^= ne;
429
+ return new Uint8Array(new TextEncoder().encode(a));
430
+ }
431
+ function ie(a) {
432
+ return typeof a == "string" && (a = ra(a)), k(a), a;
433
+ }
434
+ class ia {
435
+ }
436
+ function la(a) {
437
+ const e = (o) => a().update(ie(o)).digest(), s = a();
438
+ return e.outputLen = s.outputLen, e.blockLen = s.blockLen, e.create = () => a(), e;
439
+ }
440
+ const ca = BigInt(0), D = BigInt(1), da = BigInt(2), ma = BigInt(7), ua = BigInt(256), ga = BigInt(113), le = [], ce = [], de = [];
441
+ for (let a = 0, e = D, s = 1, o = 0; a < 24; a++) {
442
+ [s, o] = [o, (2 * s + 3 * o) % 5], le.push(2 * (5 * o + s)), ce.push((a + 1) * (a + 2) / 2 % 64);
443
+ let r = ca;
444
+ for (let l = 0; l < 7; l++)
445
+ e = (e << D ^ (e >> ma) * ga) % ua, e & da && (r ^= D << (D << /* @__PURE__ */ BigInt(l)) - D);
446
+ de.push(r);
447
+ }
448
+ const me = Xe(de, !0), Ta = me[0], pa = me[1], J = (a, e, s) => s > 32 ? Je(a, e, s) : Ye(a, e, s), Z = (a, e, s) => s > 32 ? Ze(a, e, s) : Qe(a, e, s);
449
+ function Ea(a, e = 24) {
450
+ const s = new Uint32Array(10);
451
+ for (let o = 24 - e; o < 24; o++) {
452
+ for (let i = 0; i < 10; i++)
453
+ s[i] = a[i] ^ a[i + 10] ^ a[i + 20] ^ a[i + 30] ^ a[i + 40];
454
+ for (let i = 0; i < 10; i += 2) {
455
+ const m = (i + 8) % 10, f = (i + 2) % 10, h = s[f], C = s[f + 1], pe = J(h, C, 1) ^ s[m], Ee = Z(h, C, 1) ^ s[m + 1];
456
+ for (let N = 0; N < 50; N += 10)
457
+ a[i + N] ^= pe, a[i + N + 1] ^= Ee;
312
458
  }
313
- let o = s[2], i = s[3];
314
- for (let r = 0; r < 24; r++) {
315
- const l = X[r], p = P(o, i, l), E = L(o, i, l), S = Y[r];
316
- o = s[S], i = s[S + 1], s[S] = p, s[S + 1] = E;
459
+ let r = a[2], l = a[3];
460
+ for (let i = 0; i < 24; i++) {
461
+ const m = ce[i], f = J(r, l, m), h = Z(r, l, m), C = le[i];
462
+ r = a[C], l = a[C + 1], a[C] = f, a[C + 1] = h;
317
463
  }
318
- for (let r = 0; r < 50; r += 10) {
319
- for (let l = 0; l < 10; l++)
320
- t[l] = s[r + l];
321
- for (let l = 0; l < 10; l++)
322
- s[r + l] ^= ~t[(l + 2) % 10] & t[(l + 4) % 10];
464
+ for (let i = 0; i < 50; i += 10) {
465
+ for (let m = 0; m < 10; m++)
466
+ s[m] = a[i + m];
467
+ for (let m = 0; m < 10; m++)
468
+ a[i + m] ^= ~s[(m + 2) % 10] & s[(m + 4) % 10];
323
469
  }
324
- s[0] ^= _e[a], s[1] ^= ze[a];
470
+ a[0] ^= Ta[o], a[1] ^= pa[o];
325
471
  }
326
- V(t);
472
+ re(s);
327
473
  }
328
- class x extends Ie {
474
+ class j extends ia {
329
475
  // NOTE: we accept arguments in bytes instead of bits here.
330
- constructor(e, t, a, o = !1, i = 24) {
331
- if (super(), this.pos = 0, this.posOut = 0, this.finished = !1, this.destroyed = !1, this.enableXOF = !1, this.blockLen = e, this.suffix = t, this.outputLen = a, this.enableXOF = o, this.rounds = i, O(a), !(0 < e && e < 200))
476
+ constructor(e, s, o, r = !1, l = 24) {
477
+ if (super(), this.pos = 0, this.posOut = 0, this.finished = !1, this.destroyed = !1, this.enableXOF = !1, this.blockLen = e, this.suffix = s, this.outputLen = o, this.enableXOF = r, this.rounds = l, X(o), !(0 < e && e < 200))
332
478
  throw new Error("only keccak-f1600 function is supported");
333
- this.state = new Uint8Array(200), this.state32 = Ce(this.state);
479
+ this.state = new Uint8Array(200), this.state32 = sa(this.state);
334
480
  }
335
481
  clone() {
336
482
  return this._cloneInto();
337
483
  }
338
484
  keccak() {
339
- F(this.state32), Oe(this.state32, this.rounds), F(this.state32), this.posOut = 0, this.pos = 0;
485
+ Q(this.state32), Ea(this.state32, this.rounds), Q(this.state32), this.posOut = 0, this.pos = 0;
340
486
  }
341
487
  update(e) {
342
- M(this), e = G(e), b(e);
343
- const { blockLen: t, state: a } = this, o = e.length;
344
- for (let i = 0; i < o; ) {
345
- const r = Math.min(t - this.pos, o - i);
346
- for (let l = 0; l < r; l++)
347
- a[this.pos++] ^= e[i++];
348
- this.pos === t && this.keccak();
488
+ Y(this), e = ie(e), k(e);
489
+ const { blockLen: s, state: o } = this, r = e.length;
490
+ for (let l = 0; l < r; ) {
491
+ const i = Math.min(s - this.pos, r - l);
492
+ for (let m = 0; m < i; m++)
493
+ o[this.pos++] ^= e[l++];
494
+ this.pos === s && this.keccak();
349
495
  }
350
496
  return this;
351
497
  }
@@ -353,16 +499,16 @@ class x extends Ie {
353
499
  if (this.finished)
354
500
  return;
355
501
  this.finished = !0;
356
- const { state: e, suffix: t, pos: a, blockLen: o } = this;
357
- e[a] ^= t, (t & 128) !== 0 && a === o - 1 && this.keccak(), e[o - 1] ^= 128, this.keccak();
502
+ const { state: e, suffix: s, pos: o, blockLen: r } = this;
503
+ e[o] ^= s, (s & 128) !== 0 && o === r - 1 && this.keccak(), e[r - 1] ^= 128, this.keccak();
358
504
  }
359
505
  writeInto(e) {
360
- M(this, !1), b(e), this.finish();
361
- const t = this.state, { blockLen: a } = this;
362
- for (let o = 0, i = e.length; o < i; ) {
363
- this.posOut >= a && this.keccak();
364
- const r = Math.min(a - this.posOut, i - o);
365
- e.set(t.subarray(this.posOut, this.posOut + r), o), this.posOut += r, o += r;
506
+ Y(this, !1), k(e), this.finish();
507
+ const s = this.state, { blockLen: o } = this;
508
+ for (let r = 0, l = e.length; r < l; ) {
509
+ this.posOut >= o && this.keccak();
510
+ const i = Math.min(o - this.posOut, l - r);
511
+ e.set(s.subarray(this.posOut, this.posOut + i), r), this.posOut += i, r += i;
366
512
  }
367
513
  return e;
368
514
  }
@@ -372,10 +518,10 @@ class x extends Ie {
372
518
  return this.writeInto(e);
373
519
  }
374
520
  xof(e) {
375
- return O(e), this.xofInto(new Uint8Array(e));
521
+ return X(e), this.xofInto(new Uint8Array(e));
376
522
  }
377
523
  digestInto(e) {
378
- if (Ae(e, this), this.finished)
524
+ if (aa(e, this), this.finished)
379
525
  throw new Error("digest() was already called");
380
526
  return this.writeInto(e), this.destroy(), e;
381
527
  }
@@ -383,18 +529,18 @@ class x extends Ie {
383
529
  return this.digestInto(new Uint8Array(this.outputLen));
384
530
  }
385
531
  destroy() {
386
- this.destroyed = !0, V(this.state);
532
+ this.destroyed = !0, re(this.state);
387
533
  }
388
534
  _cloneInto(e) {
389
- const { blockLen: t, suffix: a, outputLen: o, rounds: i, enableXOF: r } = this;
390
- return e || (e = new x(t, a, o, r, i)), e.state32.set(this.state32), e.pos = this.pos, e.posOut = this.posOut, e.finished = this.finished, e.rounds = i, e.suffix = a, e.outputLen = o, e.enableXOF = r, e.destroyed = this.destroyed, e;
535
+ const { blockLen: s, suffix: o, outputLen: r, rounds: l, enableXOF: i } = this;
536
+ return e || (e = new j(s, o, r, i, l)), e.state32.set(this.state32), e.pos = this.pos, e.posOut = this.posOut, e.finished = this.finished, e.rounds = l, e.suffix = o, e.outputLen = r, e.enableXOF = i, e.destroyed = this.destroyed, e;
391
537
  }
392
538
  }
393
- const Me = (s, e, t) => Ne(() => new x(e, s, t)), Fe = Me(1, 136, 256 / 8);
394
- function Pe(s, e) {
395
- return Fe(w(s, { strict: !1 }) ? ue(s) : s);
539
+ const fa = (a, e, s) => la(() => new j(e, a, s)), ha = fa(1, 136, 256 / 8);
540
+ function Sa(a, e) {
541
+ return ha(V(a, { strict: !1 }) ? je(a) : a);
396
542
  }
397
- class Le extends f {
543
+ class Aa extends A {
398
544
  constructor({ address: e }) {
399
545
  super(`Address "${e}" is invalid.`, {
400
546
  metaMessages: [
@@ -405,7 +551,7 @@ class Le extends f {
405
551
  });
406
552
  }
407
553
  }
408
- class Z extends Map {
554
+ class ue extends Map {
409
555
  constructor(e) {
410
556
  super(), Object.defineProperty(this, "maxSize", {
411
557
  enumerable: !0,
@@ -415,41 +561,41 @@ class Z extends Map {
415
561
  }), this.maxSize = e;
416
562
  }
417
563
  get(e) {
418
- const t = super.get(e);
419
- return super.has(e) && t !== void 0 && (this.delete(e), super.set(e, t)), t;
564
+ const s = super.get(e);
565
+ return super.has(e) && s !== void 0 && (this.delete(e), super.set(e, s)), s;
420
566
  }
421
- set(e, t) {
422
- if (super.set(e, t), this.maxSize && this.size > this.maxSize) {
423
- const a = this.keys().next().value;
424
- a && this.delete(a);
567
+ set(e, s) {
568
+ if (super.set(e, s), this.maxSize && this.size > this.maxSize) {
569
+ const o = this.keys().next().value;
570
+ o && this.delete(o);
425
571
  }
426
572
  return this;
427
573
  }
428
574
  }
429
- const U = /* @__PURE__ */ new Z(8192);
430
- function ee(s, e) {
431
- if (U.has(`${s}.${e}`))
432
- return U.get(`${s}.${e}`);
433
- const t = s.substring(2).toLowerCase(), a = Pe(W(t)), o = t.split("");
434
- for (let r = 0; r < 40; r += 2)
435
- a[r >> 1] >> 4 >= 8 && o[r] && (o[r] = o[r].toUpperCase()), (a[r >> 1] & 15) >= 8 && o[r + 1] && (o[r + 1] = o[r + 1].toUpperCase());
436
- const i = `0x${o.join("")}`;
437
- return U.set(`${s}.${e}`, i), i;
438
- }
439
- function g(s, e) {
440
- if (!$e(s, { strict: !1 }))
441
- throw new Le({ address: s });
442
- return ee(s, e);
443
- }
444
- const He = /^0x[a-fA-F0-9]{40}$/, I = /* @__PURE__ */ new Z(8192);
445
- function $e(s, e) {
446
- const { strict: t = !0 } = e ?? {}, a = `${s}.${t}`;
447
- if (I.has(a))
448
- return I.get(a);
449
- const o = He.test(s) ? s.toLowerCase() === s ? !0 : t ? ee(s) === s : !0 : !1;
450
- return I.set(a, o), o;
575
+ const L = /* @__PURE__ */ new ue(8192);
576
+ function ge(a, e) {
577
+ if (L.has(`${a}.${e}`))
578
+ return L.get(`${a}.${e}`);
579
+ const s = a.substring(2).toLowerCase(), o = Sa(oe(s)), r = s.split("");
580
+ for (let i = 0; i < 40; i += 2)
581
+ o[i >> 1] >> 4 >= 8 && r[i] && (r[i] = r[i].toUpperCase()), (o[i >> 1] & 15) >= 8 && r[i + 1] && (r[i + 1] = r[i + 1].toUpperCase());
582
+ const l = `0x${r.join("")}`;
583
+ return L.set(`${a}.${e}`, l), l;
451
584
  }
452
- const n = {
585
+ function p(a, e) {
586
+ if (!Ca(a, { strict: !1 }))
587
+ throw new Aa({ address: a });
588
+ return ge(a, e);
589
+ }
590
+ const Ua = /^0x[a-fA-F0-9]{40}$/, F = /* @__PURE__ */ new ue(8192);
591
+ function Ca(a, e) {
592
+ const { strict: s = !0 } = e ?? {}, o = `${a}.${s}`;
593
+ if (F.has(o))
594
+ return F.get(o);
595
+ const r = Ua.test(a) ? a.toLowerCase() === a ? !0 : s ? ge(a) === a : !0 : !1;
596
+ return F.set(o, r), r;
597
+ }
598
+ const t = {
453
599
  USDC: "USDC",
454
600
  USDT: "USDT",
455
601
  DAI: "DAI",
@@ -459,570 +605,1355 @@ const n = {
459
605
  WETH: "WETH",
460
606
  STRK: "STRK",
461
607
  BNB: "BNB",
462
- LORDS: "LORDS"
608
+ LORDS: "LORDS",
609
+ USDS: "USDS",
610
+ USDG: "USDG",
611
+ USDT0: "USDT0",
612
+ WBTC: "WBTC",
613
+ LINK: "LINK",
614
+ SOL: "SOL",
615
+ EKUBO: "EKUBO",
616
+ AAVE: "AAVE",
617
+ UNI: "UNI",
618
+ CURVE: "CURVE",
619
+ cbBTC: "cbBTC",
620
+ VIRTUAL: "VIRTUAL",
621
+ stETH: "stETH",
622
+ wstETH: "wstETH",
623
+ SKY: "SKY",
624
+ AUSD: "AUSD",
625
+ WMON: "WMON",
626
+ LVMON: "LVMON",
627
+ OP: "OP",
628
+ WLD: "WLD",
629
+ ARB: "ARB",
630
+ sAVAX: "sAVAX",
631
+ WAVAX: "WAVAX",
632
+ anyBTC: "anyBTC",
633
+ WBNB: "WBNB",
634
+ TRON: "TRON",
635
+ AVAX: "AVAX",
636
+ POL: "POL",
637
+ MON: "MON"
463
638
  };
464
- n.USDC;
465
- const m = {
639
+ t.USDC;
640
+ const n = {
641
+ ARB: "https://res.cloudinary.com/dc3gdzgel/image/upload/q_auto/f_auto/v1772087941/arbitrum_tp1kad.svg",
642
+ ETH: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087942/ethereum_iyciq3.svg",
643
+ USDC: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
644
+ USDT: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdt_gtwbg4.png",
645
+ DAI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/dai_bsokf4.png",
646
+ SOL: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772183427/solana_xv5sbs.svg",
647
+ LORDS: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/lords_tynrsj.png",
648
+ STRK: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087943/starknet_ltvror.svg",
649
+ WETH: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087897/weth_ndqdae.png",
650
+ BUSD: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/busd_lvorsz.png",
651
+ EURC: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/eurc_strgsy.png",
652
+ BNB: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087942/bsc_k1jm6z.webp",
653
+ WMON: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1776953562/WMON_i6jbe5.svg",
654
+ USDG: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1776953560/USDG_x9hed4.svg",
655
+ USDS: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1776953560/usds_yivegi.webp",
656
+ UNI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1776953560/Uniswap_w7ysxc.png",
657
+ CURVE: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1776953560/curve_ggxfbc.png",
658
+ VIRTUAL: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1776953561/VIRTUAL_cfrzq2.jpg",
659
+ WLD: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1776953562/Worldcoin_inqsuk.svg",
660
+ WBTC: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1776953562/WBTC_dslejh.png",
661
+ USDT0: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1776953561/USDT0_sjeubh.png",
662
+ stETH: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1776953560/sETH_ioshxv.svg",
663
+ OP: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087943/optimism_ypaqi0.svg",
664
+ POL: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087943/polygon_qxw9a4.svg",
665
+ LVMON: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1776953558/LVMON_rcstab.svg",
666
+ AUSD: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1776953558/AUSD_kesum1.svg",
667
+ SKY: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1776953560/SKY_qh22s1.webp",
668
+ AAVE: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1776953558/aave_qeyzuy.png",
669
+ AVAX: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087941/avalanche_tnvomy.svg",
670
+ sAVAX: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087941/avalanche_tnvomy.svg",
671
+ WAVAX: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087941/avalanche_tnvomy.svg",
672
+ anyBTC: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1776953562/WBTC_dslejh.png",
673
+ wstETH: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1776953562/wsteth_nzva2v.webp",
674
+ cbBTC: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1776953562/WBTC_dslejh.png",
675
+ WBNB: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1776953558/BNB_Chain_Symbol_Yellow_jujtui.svg",
676
+ LINK: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1777197960/Chainlink-Symbol-Blue_rouj0h.svg",
677
+ EKUBO: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1776953560/Ekubo_zpfo74.avif"
678
+ }, g = {
466
679
  [d.ARBITRUM]: {
467
- [n.DAI]: {
468
- address: g("0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1"),
469
- symbol: n.DAI,
680
+ [t.ARB]: {
681
+ address: "0x912CE59144191C1204E64559FE8253a0e49E6548",
682
+ symbol: "ARB",
683
+ decimals: 18,
684
+ name: "ARBITRUM",
685
+ logoURI: n.ARB,
686
+ nativeToken: !1
687
+ },
688
+ [t.CURVE]: {
689
+ address: "0x11cDb42B0EB46D95f990BeDD4695A6e3fA034978",
690
+ symbol: "CURVE",
691
+ decimals: 18,
692
+ name: "CURVE DAO",
693
+ logoURI: n.CURVE,
694
+ nativeToken: !1
695
+ },
696
+ [t.DAI]: {
697
+ address: p("0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1"),
698
+ symbol: t.DAI,
470
699
  name: "Dai Stablecoin",
471
700
  decimals: 18,
472
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/dai_bsokf4.png",
701
+ logoURI: n.DAI,
473
702
  nativeToken: !1
474
703
  },
475
- [n.ETH]: {
704
+ [t.ETH]: {
476
705
  address: "0x0000000000000000000000000000000000000000",
477
- symbol: n.ETH,
706
+ symbol: t.ETH,
478
707
  name: "Ethereum",
479
708
  decimals: 18,
480
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087942/ethereum_iyciq3.svg",
709
+ logoURI: n.ETH,
481
710
  nativeToken: !0
482
711
  },
483
- [n.USDC]: {
484
- address: g("0xaf88d065e77c8cC2239327C5EDb3A432268e5831"),
485
- symbol: n.USDC,
712
+ [t.LINK]: {
713
+ address: "0xf97f4df75117a78c1A5a0DBb814Af92458539FB4",
714
+ symbol: "LINK",
715
+ decimals: 18,
716
+ name: "ChainLink",
717
+ logoURI: n.LINK,
718
+ nativeToken: !1
719
+ },
720
+ [t.UNI]: {
721
+ address: "0xFa7F8980b0f1E64A2062791cc3b0871572f1F7f0",
722
+ symbol: "UNI",
723
+ decimals: 18,
724
+ name: "UNISWAP TOKEN",
725
+ logoURI: n.UNI,
726
+ nativeToken: !1
727
+ },
728
+ [t.USDC]: {
729
+ address: p("0xaf88d065e77c8cC2239327C5EDb3A432268e5831"),
730
+ symbol: t.USDC,
486
731
  name: "USD Coin",
487
732
  decimals: 6,
488
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
733
+ logoURI: n.USDC,
734
+ nativeToken: !1
735
+ },
736
+ [t.USDS]: {
737
+ address: "0x6491c05A82219b8D1479057361ff1654749b876b",
738
+ symbol: "USDS",
739
+ decimals: 18,
740
+ name: "USDS Stablecoin",
741
+ logoURI: n.USDS,
489
742
  nativeToken: !1
490
743
  },
491
- [n.USDT]: {
492
- address: g("0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9"),
493
- symbol: n.USDT,
744
+ [t.USDT]: {
745
+ address: p("0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9"),
746
+ symbol: t.USDT,
494
747
  name: "Tether USD",
495
748
  decimals: 6,
496
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdt_gtwbg4.png",
749
+ logoURI: n.USDT,
750
+ nativeToken: !1
751
+ },
752
+ [t.WBTC]: {
753
+ address: "0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f",
754
+ symbol: "WBTC",
755
+ decimals: 8,
756
+ name: "Wrapped BTC",
757
+ logoURI: n.WBTC,
497
758
  nativeToken: !1
498
759
  },
499
- [n.WETH]: {
500
- address: g("0x82aF49447D8a07e3bd95BD0d56f35241523fBab1"),
501
- symbol: n.WETH,
760
+ [t.WETH]: {
761
+ address: p("0x82aF49447D8a07e3bd95BD0d56f35241523fBab1"),
762
+ symbol: t.WETH,
502
763
  name: "Wrapped Ether",
503
764
  decimals: 18,
504
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087897/weth_ndqdae.png",
765
+ logoURI: n.WETH,
766
+ nativeToken: !1
767
+ },
768
+ [t.wstETH]: {
769
+ address: "0x0fBcbaEA96Ce0cF7Ee00A8c19c3ab6f5Dc8E1921",
770
+ symbol: "wstETH",
771
+ decimals: 18,
772
+ name: "Wrapped liquid staked Ether 2.0",
773
+ logoURI: n.wstETH,
505
774
  nativeToken: !1
506
775
  }
507
776
  },
508
777
  [d.ARBITRUM_TESTNET]: {
509
- [n.USDC]: {
510
- address: g("0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d"),
511
- symbol: n.USDC,
778
+ [t.USDC]: {
779
+ address: p("0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d"),
780
+ symbol: t.USDC,
512
781
  name: "USD Coin",
513
782
  fiatISO: "USD",
514
783
  decimals: 6,
515
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
516
- logoSourceURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
784
+ logoURI: n.USDC,
785
+ logoSourceURI: n.USDC,
517
786
  nativeToken: !1
518
787
  }
519
788
  },
520
789
  [d.AVALANCHE]: {
521
- [n.DAI]: {
790
+ [t.AVAX]: {
791
+ address: "0x0000000000000000000000000000000000000000",
792
+ symbol: "AVAX",
793
+ decimals: 18,
794
+ name: "AVAX",
795
+ logoURI: n.AVAX,
796
+ nativeToken: !0
797
+ },
798
+ [t.DAI]: {
522
799
  address: "0xd586E7F844cEa2F87f50152665BCbc2C279D8d70",
523
- symbol: n.DAI,
800
+ symbol: t.DAI,
524
801
  name: "Dai Stablecoin",
525
802
  decimals: 18,
526
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/dai_bsokf4.png",
803
+ logoURI: n.DAI,
527
804
  nativeToken: !1
528
805
  },
529
- [n.USDC]: {
530
- address: g("0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E"),
531
- symbol: n.USDC,
806
+ [t.sAVAX]: {
807
+ address: "0x2b2C81e08f1Af8835a78Bb2A90AE924ACE0eA4bE",
808
+ symbol: "sAVAX",
809
+ decimals: 18,
810
+ name: "Staked AVAX",
811
+ logoURI: n.sAVAX,
812
+ nativeToken: !1
813
+ },
814
+ [t.USDC]: {
815
+ address: p("0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E"),
816
+ symbol: t.USDC,
532
817
  name: "USD Coin",
533
818
  fiatISO: "USD",
534
819
  decimals: 6,
535
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
536
- logoSourceURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
820
+ logoURI: n.USDC,
821
+ logoSourceURI: n.USDC,
537
822
  nativeToken: !1
538
823
  },
539
- [n.USDT]: {
824
+ [t.USDT]: {
540
825
  address: "0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7",
541
- symbol: n.USDT,
826
+ symbol: t.USDT,
542
827
  name: "Tether USD",
543
828
  decimals: 6,
544
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdt_gtwbg4.png",
829
+ logoURI: n.USDT,
830
+ nativeToken: !1
831
+ },
832
+ [t.WAVAX]: {
833
+ address: "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7",
834
+ symbol: "WAVAX",
835
+ decimals: 18,
836
+ name: "Wrapped AVAX",
837
+ logoURI: n.WAVAX,
545
838
  nativeToken: !1
546
839
  },
547
- [n.WETH]: {
840
+ [t.WETH]: {
548
841
  address: "0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB",
549
- symbol: n.WETH,
842
+ symbol: t.WETH,
550
843
  name: "Wrapped Ether",
551
844
  decimals: 18,
552
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087897/weth_ndqdae.png",
845
+ logoURI: n.WETH,
553
846
  nativeToken: !1
554
847
  }
555
848
  },
556
849
  [d.AVALANCHE_TESTNET]: {
557
- [n.USDC]: {
558
- address: g("0x5425890298aed601595a70AB815c96711a31Bc65"),
559
- symbol: n.USDC,
850
+ [t.USDC]: {
851
+ address: p("0x5425890298aed601595a70AB815c96711a31Bc65"),
852
+ symbol: t.USDC,
560
853
  name: "USD Coin",
561
854
  fiatISO: "USD",
562
855
  decimals: 6,
563
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
564
- logoSourceURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
856
+ logoURI: n.USDC,
857
+ logoSourceURI: n.USDC,
565
858
  nativeToken: !1
566
859
  }
567
860
  },
568
861
  [d.BASE]: {
569
- [n.DAI]: {
862
+ [t.AAVE]: {
863
+ address: "0x63706e401c06ac8513145b7687A14804d17f814b",
864
+ symbol: "AAVE",
865
+ decimals: 18,
866
+ name: "AAVE TOKEN",
867
+ logoURI: n.AAVE,
868
+ nativeToken: !1
869
+ },
870
+ [t.cbBTC]: {
871
+ address: "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf",
872
+ symbol: "cbBTC",
873
+ decimals: 8,
874
+ name: "Coinbase Wrapped BTC",
875
+ logoURI: n.cbBTC,
876
+ nativeToken: !1
877
+ },
878
+ [t.CURVE]: {
879
+ address: "0x8Ee73c484A26e0A5df2Ee2a4960B789967dd0415",
880
+ symbol: "CURVE",
881
+ decimals: 18,
882
+ name: "CURVE DAO",
883
+ logoURI: n.CURVE,
884
+ nativeToken: !1
885
+ },
886
+ [t.DAI]: {
570
887
  address: "0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb",
571
- symbol: n.DAI,
888
+ symbol: t.DAI,
572
889
  name: "Dai Stablecoin",
573
890
  decimals: 18,
574
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/dai_bsokf4.png",
891
+ logoURI: n.DAI,
575
892
  nativeToken: !1
576
893
  },
577
- [n.ETH]: {
894
+ [t.ETH]: {
578
895
  address: "0x0000000000000000000000000000000000000000",
579
- symbol: n.ETH,
896
+ symbol: t.ETH,
580
897
  name: "Ethereum",
581
898
  decimals: 18,
582
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087942/ethereum_iyciq3.svg",
899
+ logoURI: n.ETH,
583
900
  nativeToken: !0
584
901
  },
585
- [n.EURC]: {
902
+ [t.EURC]: {
586
903
  address: "0x60a3E35Cc302bFA44Cb288Bc5a4F316Fdb1adb42",
587
- symbol: n.EURC,
904
+ symbol: t.EURC,
588
905
  name: "Euro Coin",
589
906
  decimals: 6,
590
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/eurc_strgsy.png",
907
+ logoURI: n.EURC,
908
+ nativeToken: !1
909
+ },
910
+ [t.LINK]: {
911
+ address: "0x88Fb150BDc53A65fe94Dea0c9BA0a6dAf8C6e196",
912
+ symbol: "LINK",
913
+ decimals: 18,
914
+ name: "ChainLink",
915
+ logoURI: n.LINK,
916
+ nativeToken: !1
917
+ },
918
+ [t.SOL]: {
919
+ address: "0x311935Cd80B76769bF2ecC9D8Ab7635b2139cf82",
920
+ symbol: "SOL",
921
+ decimals: 9,
922
+ name: "SOLANA TOKEN",
923
+ logoURI: n.SOL,
591
924
  nativeToken: !1
592
925
  },
593
- [n.USDC]: {
594
- address: g("0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"),
595
- symbol: n.USDC,
926
+ [t.USDC]: {
927
+ address: p("0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"),
928
+ symbol: t.USDC,
596
929
  name: "USD Coin",
597
930
  fiatISO: "USD",
598
931
  decimals: 6,
599
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
600
- logoSourceURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
932
+ logoURI: n.USDC,
933
+ logoSourceURI: n.USDC,
934
+ nativeToken: !1
935
+ },
936
+ [t.USDS]: {
937
+ address: "0x820C137fa70C8691f0e44Dc420a5e53c168921Dc",
938
+ symbol: "USDS",
939
+ decimals: 18,
940
+ name: "USDS Stablecoin",
941
+ logoURI: n.USDS,
942
+ nativeToken: !1
943
+ },
944
+ [t.VIRTUAL]: {
945
+ address: "0x0b3e328455c4059EEb9e3f84b5543F74E24e7E1b",
946
+ symbol: "VIRTUAL",
947
+ decimals: 18,
948
+ name: "Virtual Protocol",
949
+ logoURI: n.VIRTUAL,
950
+ nativeToken: !1
951
+ },
952
+ [t.WBTC]: {
953
+ address: "0x0555E30da8f98308EdB960aa94C0Db47230d2B9c",
954
+ symbol: "WBTC",
955
+ decimals: 8,
956
+ name: "Wrapped BTC",
957
+ logoURI: n.WBTC,
601
958
  nativeToken: !1
602
959
  },
603
- [n.WETH]: {
604
- address: g("0x4200000000000000000000000000000000000006"),
605
- symbol: n.WETH,
960
+ [t.WETH]: {
961
+ address: p("0x4200000000000000000000000000000000000006"),
962
+ symbol: t.WETH,
606
963
  name: "Wrapped Ether",
607
964
  decimals: 18,
608
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087897/weth_ndqdae.png",
965
+ logoURI: n.WETH,
609
966
  nativeToken: !1
610
967
  }
611
968
  },
612
969
  [d.BASE_TESTNET]: {
613
- [n.USDC]: {
614
- address: g("0x036CbD53842c5426634e7929541eC2318f3dCF7e"),
615
- symbol: n.USDC,
970
+ [t.USDC]: {
971
+ address: p("0x036CbD53842c5426634e7929541eC2318f3dCF7e"),
972
+ symbol: t.USDC,
616
973
  name: "USD Coin",
617
974
  fiatISO: "USD",
618
975
  decimals: 6,
619
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
620
- logoSourceURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
976
+ logoURI: n.USDC,
977
+ logoSourceURI: n.USDC,
621
978
  nativeToken: !1
622
979
  }
623
980
  },
624
981
  [d.BSC]: {
625
- [n.BNB]: {
982
+ [t.anyBTC]: {
983
+ address: "0x54261774905f3e6E9718f2ABb10ed6555cae308a",
984
+ symbol: "anyBTC",
985
+ decimals: 8,
986
+ name: "Bridged Bitcoin",
987
+ logoURI: n.anyBTC,
988
+ nativeToken: !1
989
+ },
990
+ [t.BNB]: {
626
991
  address: "0x0000000000000000000000000000000000000000",
627
- symbol: n.BNB,
992
+ symbol: t.BNB,
628
993
  name: "BNB",
629
994
  decimals: 18,
630
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087942/bsc_k1jm6z.webp",
995
+ logoURI: n.BNB,
631
996
  nativeToken: !0
632
997
  },
633
- [n.BUSD]: {
998
+ [t.BUSD]: {
634
999
  address: "0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56",
635
- symbol: n.BUSD,
1000
+ symbol: t.BUSD,
636
1001
  name: "Binance USD",
637
1002
  decimals: 18,
638
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/busd_lvorsz.png",
1003
+ logoURI: n.BUSD,
639
1004
  nativeToken: !1
640
1005
  },
641
- [n.DAI]: {
1006
+ [t.DAI]: {
642
1007
  address: "0x1AF3F329e8BE154074D8769D1FFa4eE058B1DBc3",
643
- symbol: n.DAI,
1008
+ symbol: t.DAI,
644
1009
  name: "Dai Stablecoin",
645
1010
  decimals: 18,
646
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/dai_bsokf4.png",
1011
+ logoURI: n.DAI,
647
1012
  nativeToken: !1
648
1013
  },
649
- [n.ETH]: {
1014
+ [t.ETH]: {
650
1015
  address: "0x2170Ed0880ac9A755fd29B2688956BD959F933F8",
651
- symbol: n.ETH,
1016
+ symbol: t.ETH,
652
1017
  name: "Ethereum",
653
1018
  decimals: 18,
654
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087942/ethereum_iyciq3.svg",
1019
+ logoURI: n.ETH,
655
1020
  nativeToken: !1
656
1021
  },
657
- [n.USDC]: {
658
- address: g("0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d"),
659
- symbol: n.USDC,
1022
+ [t.LINK]: {
1023
+ address: "0x3af577F9D8c86ae8DBCBF51FE9836c9DF825759d",
1024
+ symbol: "LINK",
1025
+ decimals: 18,
1026
+ name: "ChainLink",
1027
+ logoURI: n.LINK,
1028
+ nativeToken: !1
1029
+ },
1030
+ [t.SOL]: {
1031
+ address: "0x570A5D26f7765Ecb712C0924E4De545B89fD43dF",
1032
+ symbol: "SOL",
1033
+ decimals: 18,
1034
+ name: "SOLANA TOKEN",
1035
+ logoURI: n.SOL,
1036
+ nativeToken: !1
1037
+ },
1038
+ [t.USDC]: {
1039
+ address: p("0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d"),
1040
+ symbol: t.USDC,
660
1041
  decimals: 18,
661
1042
  name: "USD Coin",
662
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
663
- logoSourceURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
1043
+ logoURI: n.USDC,
1044
+ logoSourceURI: n.USDC,
664
1045
  nativeToken: !1
665
1046
  },
666
- [n.USDT]: {
1047
+ [t.USDT]: {
667
1048
  address: "0x55d398326f99059fF775485246999027B3197955",
668
- symbol: n.USDT,
1049
+ symbol: t.USDT,
669
1050
  name: "Tether USD",
670
1051
  decimals: 18,
671
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdt_gtwbg4.png",
1052
+ logoURI: n.USDT,
1053
+ nativeToken: !1
1054
+ },
1055
+ [t.WBTC]: {
1056
+ address: "0x0555E30da8f98308EdB960aa94C0Db47230d2B9c",
1057
+ symbol: "WBTC",
1058
+ decimals: 8,
1059
+ name: "Wrapped BTC",
1060
+ logoURI: n.WBTC,
1061
+ nativeToken: !1
1062
+ },
1063
+ [t.WBNB]: {
1064
+ address: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",
1065
+ symbol: "WBNB",
1066
+ decimals: 18,
1067
+ name: "Wrapped BNB",
1068
+ logoURI: n.WBNB,
672
1069
  nativeToken: !1
673
1070
  }
674
1071
  },
675
1072
  [d.ETHEREUM]: {
676
- [n.BUSD]: {
1073
+ [t.AAVE]: {
1074
+ address: "0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9",
1075
+ symbol: "AAVE",
1076
+ decimals: 18,
1077
+ name: "AAVE TOKEN",
1078
+ logoURI: n.AAVE,
1079
+ nativeToken: !1
1080
+ },
1081
+ [t.BNB]: {
1082
+ address: p("0xB8c77482e45F1F44dE1745F52C74426C631bDD52"),
1083
+ symbol: t.BNB,
1084
+ name: "BNB",
1085
+ decimals: 18,
1086
+ logoURI: n.BNB,
1087
+ nativeToken: !1
1088
+ },
1089
+ [t.BUSD]: {
677
1090
  address: "0x4Fabb145d64652a948d72533023f6E7A623C7C53",
678
- symbol: n.BUSD,
1091
+ symbol: t.BUSD,
679
1092
  name: "Binance USD",
680
1093
  decimals: 18,
681
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/busd_lvorsz.png",
1094
+ logoURI: n.BUSD,
682
1095
  nativeToken: !1
683
1096
  },
684
- [n.DAI]: {
685
- address: g("0x6B175474E89094C44Da98b954EedeAC495271d0F"),
686
- symbol: n.DAI,
1097
+ [t.DAI]: {
1098
+ address: p("0x6B175474E89094C44Da98b954EedeAC495271d0F"),
1099
+ symbol: t.DAI,
687
1100
  name: "Dai Stablecoin",
688
1101
  decimals: 18,
689
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/dai_bsokf4.png",
1102
+ logoURI: n.DAI,
690
1103
  nativeToken: !1
691
1104
  },
692
- [n.ETH]: {
1105
+ [t.ETH]: {
693
1106
  address: "0x0000000000000000000000000000000000000000",
694
- symbol: n.ETH,
1107
+ symbol: t.ETH,
695
1108
  name: "Ethereum",
696
1109
  decimals: 18,
697
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087942/ethereum_iyciq3.svg",
1110
+ logoURI: n.ETH,
698
1111
  nativeToken: !0
699
1112
  },
700
- [n.EURC]: {
1113
+ [t.EURC]: {
701
1114
  address: "0x1aBaEA1f7C830bD89Acc67eC4af516284b1bC33c",
702
- symbol: n.EURC,
1115
+ symbol: t.EURC,
703
1116
  name: "Euro Coin",
704
1117
  decimals: 6,
705
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/eurc_strgsy.png",
1118
+ logoURI: n.EURC,
1119
+ nativeToken: !1
1120
+ },
1121
+ [t.LINK]: {
1122
+ address: "0x514910771AF9Ca656af840dff83E8264EcF986CA",
1123
+ symbol: "LINK",
1124
+ decimals: 18,
1125
+ name: "ChainLink",
1126
+ logoURI: n.LINK,
706
1127
  nativeToken: !1
707
1128
  },
708
- [n.STRK]: {
1129
+ [t.SKY]: {
1130
+ address: "0x56072C95FAA701256059aa122697B133aDEd9279",
1131
+ symbol: "SKY",
1132
+ decimals: 18,
1133
+ name: "SKY Governance Token",
1134
+ logoURI: n.SKY,
1135
+ nativeToken: !1
1136
+ },
1137
+ [t.STRK]: {
709
1138
  address: "0xCa14007Eff0dB1f8135f4C25B34De49AB0d42766",
710
- symbol: n.STRK,
1139
+ symbol: t.STRK,
711
1140
  name: "Starknet Token",
712
1141
  decimals: 18,
713
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087943/starknet_ltvror.svg",
1142
+ logoURI: n.STRK,
714
1143
  nativeToken: !1
715
1144
  },
716
- [n.USDC]: {
717
- address: g("0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"),
718
- symbol: n.USDC,
1145
+ [t.stETH]: {
1146
+ address: "0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84",
1147
+ symbol: "stETH",
1148
+ decimals: 18,
1149
+ name: "Lido's liquid staking ETH ",
1150
+ logoURI: n.stETH,
1151
+ nativeToken: !1
1152
+ },
1153
+ [t.UNI]: {
1154
+ address: "0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984",
1155
+ symbol: "UNI",
1156
+ decimals: 18,
1157
+ name: "UNISWAP TOKEN",
1158
+ logoURI: n.UNI,
1159
+ nativeToken: !1
1160
+ },
1161
+ [t.USDC]: {
1162
+ address: p("0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"),
1163
+ symbol: t.USDC,
719
1164
  name: "USD Coin",
720
1165
  decimals: 6,
721
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
722
- logoSourceURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
1166
+ logoURI: n.USDC,
1167
+ logoSourceURI: n.USDC,
1168
+ nativeToken: !1
1169
+ },
1170
+ [t.USDS]: {
1171
+ address: "0xdC035D45d973E3EC169d2276DDab16f1e407384F",
1172
+ symbol: "USDS",
1173
+ decimals: 18,
1174
+ name: "USDS Stablecoin",
1175
+ logoURI: n.USDS,
1176
+ nativeToken: !1
1177
+ },
1178
+ [t.USDG]: {
1179
+ address: "0xe343167631d89B6Ffc58B88d6b7fB0228795491D",
1180
+ symbol: "USDG",
1181
+ decimals: 6,
1182
+ name: "USDG Stablecoin",
1183
+ logoURI: n.USDG,
723
1184
  nativeToken: !1
724
1185
  },
725
- [n.USDT]: {
726
- address: g("0xdAC17F958D2ee523a2206206994597C13D831ec7"),
727
- symbol: n.USDT,
1186
+ [t.USDT]: {
1187
+ address: p("0xdAC17F958D2ee523a2206206994597C13D831ec7"),
1188
+ symbol: t.USDT,
728
1189
  name: "Tether USD",
729
1190
  decimals: 6,
730
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdt_gtwbg4.png",
1191
+ logoURI: n.USDT,
731
1192
  nativeToken: !1
732
1193
  },
733
- [n.WETH]: {
734
- address: g("0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"),
735
- symbol: n.WETH,
1194
+ [t.WBTC]: {
1195
+ address: "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599",
1196
+ symbol: "WBTC",
1197
+ decimals: 8,
1198
+ name: "Wrapped BTC",
1199
+ logoURI: n.WBTC,
1200
+ nativeToken: !1
1201
+ },
1202
+ [t.WETH]: {
1203
+ address: p("0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"),
1204
+ symbol: t.WETH,
736
1205
  name: "Wrapped Ether",
737
1206
  decimals: 18,
738
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087897/weth_ndqdae.png",
1207
+ logoURI: n.WETH,
1208
+ nativeToken: !1
1209
+ },
1210
+ [t.wstETH]: {
1211
+ address: "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
1212
+ symbol: "wstETH",
1213
+ decimals: 18,
1214
+ name: "Wrapped liquid staked Ether 2.0",
1215
+ logoURI: n.wstETH,
739
1216
  nativeToken: !1
740
1217
  }
741
1218
  },
742
1219
  [d.ETHEREUM_TESTNET]: {
743
- [n.USDC]: {
744
- address: g("0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238"),
745
- symbol: n.USDC,
1220
+ [t.USDC]: {
1221
+ address: p("0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238"),
1222
+ symbol: t.USDC,
746
1223
  decimals: 6,
747
1224
  name: "USD Coin",
748
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
749
- logoSourceURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
1225
+ logoURI: n.USDC,
1226
+ logoSourceURI: n.USDC,
750
1227
  nativeToken: !1
751
1228
  }
752
1229
  },
753
1230
  [d.HYPEREVM]: {
754
- [n.USDC]: {
1231
+ [t.USDC]: {
755
1232
  address: "0xb88339CB7199b77E23DB6E890353E22632Ba630f",
756
- symbol: n.USDC,
1233
+ symbol: t.USDC,
757
1234
  name: "USD Coin",
758
1235
  decimals: 6,
759
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
1236
+ logoURI: n.USDC,
760
1237
  nativeToken: !1
761
1238
  }
762
1239
  },
763
1240
  [d.LISK]: {
764
- [n.USDC]: {
1241
+ [t.USDC]: {
765
1242
  address: "0xF242275d3a6527d877f2c927a82D9b057609cc71",
766
- symbol: n.USDC,
1243
+ symbol: t.USDC,
767
1244
  name: "USD Coin",
768
1245
  decimals: 6,
769
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
1246
+ logoURI: n.USDC,
770
1247
  nativeToken: !1
771
1248
  }
772
1249
  },
773
1250
  [d.MONAD]: {
774
- [n.USDC]: {
1251
+ [t.AUSD]: {
1252
+ address: "0x00000000efe302beaa2b3e6e1b18d08d69a9012a",
1253
+ symbol: "AUSD",
1254
+ decimals: 6,
1255
+ name: "AUSD",
1256
+ logoURI: n.AUSD,
1257
+ nativeToken: !1
1258
+ },
1259
+ [t.LVMON]: {
1260
+ address: "0x91b81bfbe3a747230f0529aa28d8b2bc898e6d56",
1261
+ symbol: "LVMON",
1262
+ decimals: 18,
1263
+ name: "LeverUp MON",
1264
+ logoURI: n.LVMON,
1265
+ nativeToken: !1
1266
+ },
1267
+ [t.USDC]: {
775
1268
  address: "0x754704Bc059F8C67012fEd69BC8A327a5aafb603",
776
- symbol: n.USDC,
1269
+ symbol: t.USDC,
777
1270
  name: "USD Coin",
778
1271
  decimals: 6,
779
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
1272
+ logoURI: n.USDC,
1273
+ nativeToken: !1
1274
+ },
1275
+ [t.USDT0]: {
1276
+ address: "0xe7cd86e13ac4309349f30b3435a9d337750fc82d",
1277
+ symbol: "USDT0",
1278
+ decimals: 6,
1279
+ name: "USDT0 Coin",
1280
+ logoURI: n.USDT0,
1281
+ nativeToken: !1
1282
+ },
1283
+ [t.WBTC]: {
1284
+ address: "0x0555e30da8f98308edb960aa94c0db47230d2b9c",
1285
+ symbol: "WBTC",
1286
+ decimals: 8,
1287
+ name: "Wrapped BTC",
1288
+ logoURI: n.WBTC,
1289
+ nativeToken: !1
1290
+ },
1291
+ [t.WETH]: {
1292
+ address: "0xee8c0e9f1bffb4eb878d8f15f368a02a35481242",
1293
+ symbol: "WETH",
1294
+ decimals: 18,
1295
+ name: "Wrapped Ether",
1296
+ logoURI: n.WETH,
1297
+ nativeToken: !1
1298
+ },
1299
+ [t.WMON]: {
1300
+ address: "0x3bd359c1119da7da1d913d1c4d2b7c461115433a",
1301
+ symbol: "WMON",
1302
+ decimals: 18,
1303
+ name: "Wrapped MON",
1304
+ logoURI: n.WMON,
780
1305
  nativeToken: !1
781
1306
  }
782
1307
  },
783
1308
  [d.MONAD_TESTNET]: {
784
- [n.USDC]: {
1309
+ [t.USDC]: {
785
1310
  address: "0x534b2f3A21130d7a60830c2Df862319e593943A3",
786
- symbol: n.USDC,
1311
+ symbol: t.USDC,
787
1312
  name: "USD Coin",
788
1313
  decimals: 6,
789
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
1314
+ logoURI: n.USDC,
790
1315
  nativeToken: !1
791
1316
  }
792
1317
  },
793
1318
  [d.OPTIMISM]: {
794
- [n.DAI]: {
1319
+ [t.DAI]: {
795
1320
  address: "0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1",
796
- symbol: n.DAI,
1321
+ symbol: t.DAI,
797
1322
  name: "Dai Stablecoin",
798
1323
  decimals: 18,
799
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/dai_bsokf4.png",
1324
+ logoURI: n.DAI,
800
1325
  nativeToken: !1
801
1326
  },
802
- [n.ETH]: {
1327
+ [t.ETH]: {
803
1328
  address: "0x0000000000000000000000000000000000000000",
804
- symbol: n.ETH,
1329
+ symbol: t.ETH,
805
1330
  name: "Ethereum",
806
1331
  decimals: 18,
807
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087942/ethereum_iyciq3.svg",
1332
+ logoURI: n.ETH,
808
1333
  nativeToken: !0
809
1334
  },
810
- [n.USDC]: {
1335
+ [t.LINK]: {
1336
+ address: "0x350a791Bfc2C21F9Ed5d10980Dad2e2638ffa7f6",
1337
+ symbol: "LINK",
1338
+ decimals: 18,
1339
+ name: "ChainLink",
1340
+ logoURI: n.LINK,
1341
+ nativeToken: !1
1342
+ },
1343
+ [t.OP]: {
1344
+ address: "0x4200000000000000000000000000000000000042",
1345
+ symbol: "OP",
1346
+ decimals: 18,
1347
+ name: "Optimism",
1348
+ logoURI: n.OP,
1349
+ nativeToken: !1
1350
+ },
1351
+ [t.UNI]: {
1352
+ address: "0x6fd9d7AD17242c41f7131d257212c54A0e816691",
1353
+ symbol: "UNI",
1354
+ decimals: 18,
1355
+ name: "UNISWAP TOKEN",
1356
+ logoURI: n.UNI,
1357
+ nativeToken: !1
1358
+ },
1359
+ [t.USDC]: {
811
1360
  address: "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
812
- symbol: n.USDC,
1361
+ symbol: t.USDC,
813
1362
  name: "USD Coin",
814
1363
  decimals: 6,
815
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
1364
+ logoURI: n.USDC,
816
1365
  nativeToken: !1
817
1366
  },
818
- [n.USDT]: {
1367
+ [t.USDT]: {
819
1368
  address: "0x94b008aA00579c1307B0EF2c499aD98a8ce58e58",
820
- symbol: n.USDT,
1369
+ symbol: t.USDT,
821
1370
  name: "Tether USD",
822
1371
  decimals: 6,
823
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdt_gtwbg4.png",
1372
+ logoURI: n.USDT,
1373
+ nativeToken: !1
1374
+ },
1375
+ [t.WBTC]: {
1376
+ address: "0x68f180fcCe6836688e9084f035309E29Bf0A2095",
1377
+ symbol: "WBTC",
1378
+ decimals: 8,
1379
+ name: "Wrapped BTC",
1380
+ logoURI: n.WBTC,
824
1381
  nativeToken: !1
825
1382
  },
826
- [n.WETH]: {
1383
+ [t.WETH]: {
827
1384
  address: "0x4200000000000000000000000000000000000006",
828
- symbol: n.WETH,
1385
+ symbol: t.WETH,
829
1386
  name: "Wrapped Ether",
830
1387
  decimals: 18,
831
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087897/weth_ndqdae.png",
1388
+ logoURI: n.WETH,
1389
+ nativeToken: !1
1390
+ },
1391
+ [t.WLD]: {
1392
+ address: "0xdC6fF44d5d932Cbd77B52E5612Ba0529DC6226F1",
1393
+ symbol: "WLD",
1394
+ decimals: 18,
1395
+ name: "WORLD COIN",
1396
+ logoURI: n.WLD,
1397
+ nativeToken: !1
1398
+ },
1399
+ [t.wstETH]: {
1400
+ address: "0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb",
1401
+ symbol: "wstETH",
1402
+ decimals: 18,
1403
+ name: "Wrapped liquid staked Ether 2.0",
1404
+ logoURI: n.wstETH,
832
1405
  nativeToken: !1
833
1406
  }
834
1407
  },
835
1408
  [d.OPTIMISM_TESTNET]: {
836
- [n.USDC]: {
1409
+ [t.USDC]: {
837
1410
  address: "0x5fd84259d66Cd46123540766Be93DFE6D43130D7",
838
- symbol: n.USDC,
1411
+ symbol: t.USDC,
839
1412
  name: "USD Coin",
840
1413
  decimals: 6,
841
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
1414
+ logoURI: n.USDC,
842
1415
  nativeToken: !1
843
1416
  }
844
1417
  },
845
1418
  [d.POLYGON]: {
846
- [n.DAI]: {
1419
+ [t.DAI]: {
847
1420
  address: "0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063",
848
- symbol: n.DAI,
1421
+ symbol: t.DAI,
849
1422
  name: "Dai Stablecoin",
850
1423
  decimals: 18,
851
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/dai_bsokf4.png",
1424
+ logoURI: n.DAI,
852
1425
  nativeToken: !1
853
1426
  },
854
- [n.USDC]: {
1427
+ [t.LINK]: {
1428
+ address: "0xb0897686c545045aFc77CF20eC7A532E3120E0F1",
1429
+ symbol: "LINK",
1430
+ decimals: 18,
1431
+ name: "ChainLink",
1432
+ logoURI: n.LINK,
1433
+ nativeToken: !1
1434
+ },
1435
+ [t.POL]: {
1436
+ address: "0x0000000000000000000000000000000000000000",
1437
+ symbol: "POL",
1438
+ decimals: 18,
1439
+ name: "POLYGON",
1440
+ logoURI: n.POL,
1441
+ nativeToken: !0
1442
+ },
1443
+ [t.SOL]: {
1444
+ address: "0xd93f7E271cB87c23AaA73edC008A79646d1F9912",
1445
+ symbol: "SOL",
1446
+ decimals: 9,
1447
+ name: "SOLANA TOKEN",
1448
+ logoURI: n.SOL,
1449
+ nativeToken: !1
1450
+ },
1451
+ [t.UNI]: {
1452
+ address: "0xb33EaAd8d922B1083446DC23f610c2567fB5180f",
1453
+ symbol: "UNI",
1454
+ decimals: 18,
1455
+ name: "UNISWAP TOKEN",
1456
+ logoURI: n.UNI,
1457
+ nativeToken: !1
1458
+ },
1459
+ [t.USDC]: {
855
1460
  address: "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
856
- symbol: n.USDC,
1461
+ symbol: t.USDC,
857
1462
  name: "USD Coin",
858
1463
  decimals: 6,
859
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
1464
+ logoURI: n.USDC,
860
1465
  nativeToken: !1
861
1466
  },
862
- [n.USDT]: {
1467
+ [t.USDT]: {
863
1468
  address: "0xc2132D05D31c914a87C6611C10748AEb04B58e8F",
864
- symbol: n.USDT,
1469
+ symbol: t.USDT,
865
1470
  name: "Tether USD",
866
1471
  decimals: 6,
867
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdt_gtwbg4.png",
1472
+ logoURI: n.USDT,
1473
+ nativeToken: !1
1474
+ },
1475
+ [t.WBTC]: {
1476
+ address: "0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6",
1477
+ symbol: "WBTC",
1478
+ decimals: 8,
1479
+ name: "Wrapped BTC",
1480
+ logoURI: n.WBTC,
868
1481
  nativeToken: !1
869
1482
  },
870
- [n.WETH]: {
1483
+ [t.WETH]: {
871
1484
  address: "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619",
872
- symbol: n.WETH,
1485
+ symbol: t.WETH,
873
1486
  name: "Wrapped Ether",
874
1487
  decimals: 18,
875
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087897/weth_ndqdae.png",
1488
+ logoURI: n.WETH,
876
1489
  nativeToken: !1
877
1490
  }
878
1491
  },
879
1492
  [d.SOLANA]: {
880
- [n.USDC]: {
1493
+ [t.USDC]: {
881
1494
  address: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
882
- symbol: n.USDC,
1495
+ symbol: t.USDC,
883
1496
  name: "USD Coin",
884
1497
  decimals: 6,
885
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
886
- logoSourceURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
1498
+ logoURI: n.USDC,
1499
+ logoSourceURI: n.USDC,
887
1500
  nativeToken: !1
888
1501
  }
889
1502
  },
890
1503
  [d.SOLANA_TESTNET]: {
891
- [n.USDC]: {
1504
+ [t.USDC]: {
892
1505
  address: "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU",
893
- symbol: n.USDC,
1506
+ symbol: t.USDC,
894
1507
  name: "USD Coin",
895
1508
  decimals: 6,
896
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
897
- logoSourceURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
1509
+ logoURI: n.USDC,
1510
+ logoSourceURI: n.USDC,
898
1511
  nativeToken: !1
899
1512
  }
900
1513
  },
901
1514
  [d.STARKNET]: {
902
- [n.DAI]: {
1515
+ [t.DAI]: {
903
1516
  address: "0x05574eb6b8789a91466f902c380d978e472db68170ff82a5b650b95a58ddf4ad",
904
- symbol: n.DAI,
1517
+ symbol: t.DAI,
905
1518
  name: "Dai Stablecoin",
906
1519
  decimals: 18,
907
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/dai_bsokf4.png",
1520
+ logoURI: n.DAI,
1521
+ nativeToken: !1
1522
+ },
1523
+ [t.EKUBO]: {
1524
+ address: "0x075afe6402aD5A5c20Dd25E10eC3b3986aCAA647b77e4Ae24B0CBc9a54A27a87",
1525
+ symbol: "EKUBO",
1526
+ decimals: 18,
1527
+ name: "EKUBO",
1528
+ logoURI: n.EKUBO,
908
1529
  nativeToken: !1
909
1530
  },
910
- [n.ETH]: {
1531
+ [t.ETH]: {
911
1532
  address: "0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7",
912
- symbol: n.ETH,
1533
+ symbol: t.ETH,
913
1534
  name: "Ethereum",
914
1535
  decimals: 18,
915
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087942/ethereum_iyciq3.svg",
1536
+ logoURI: n.ETH,
916
1537
  nativeToken: !1
917
1538
  },
918
- [n.LORDS]: {
1539
+ [t.LORDS]: {
919
1540
  address: "0x0124aeb495b947201f5faC96fD1138E326AD86195B98df6DEc9009158A533B49",
920
- symbol: n.LORDS,
1541
+ symbol: t.LORDS,
921
1542
  name: "LORDS Token",
922
1543
  decimals: 18,
923
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/lords_tynrsj.png",
1544
+ logoURI: n.LORDS,
924
1545
  nativeToken: !1
925
1546
  },
926
- [n.STRK]: {
1547
+ [t.STRK]: {
927
1548
  address: "0x04718f5a0Fc34cC1AF16A1cdee98fFB20C31f5cD61D6Ab07201858f4287c938D",
928
- symbol: n.STRK,
1549
+ symbol: t.STRK,
929
1550
  name: "Starknet Token",
930
1551
  decimals: 18,
931
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087943/starknet_ltvror.svg",
1552
+ logoURI: n.STRK,
932
1553
  nativeToken: !1
933
1554
  },
934
- [n.USDC]: {
1555
+ [t.USDC]: {
935
1556
  address: "0x033068F6539f8e6e6b131e6B2B814e6c34A5224bC66947c47DaB9dFeE93b35fb",
936
- symbol: n.USDC,
1557
+ symbol: t.USDC,
937
1558
  name: "USD Coin",
938
1559
  decimals: 6,
939
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
940
- logoSourceURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
1560
+ logoURI: n.USDC,
1561
+ logoSourceURI: n.USDC,
941
1562
  nativeToken: !1
942
1563
  },
943
- [n.USDT]: {
1564
+ [t.USDT]: {
944
1565
  address: "0x068f5c6a61780768455de69077e07e89787839bf8166decfbf92b645209c0fb8",
945
- symbol: n.USDT,
1566
+ symbol: t.USDT,
946
1567
  name: "Tether USD",
947
1568
  decimals: 6,
948
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdt_gtwbg4.png",
1569
+ logoURI: n.USDT,
1570
+ nativeToken: !1
1571
+ },
1572
+ [t.WBTC]: {
1573
+ address: "0x03Fe2b97C1Fd336E750087D68B9b867997Fd64a2661fF3ca5A7C771641e8e7AC",
1574
+ symbol: "WBTC",
1575
+ decimals: 8,
1576
+ name: "Wrapped BTC",
1577
+ logoURI: n.WBTC,
949
1578
  nativeToken: !1
950
1579
  }
951
1580
  },
952
1581
  [d.STARKNET_TESTNET]: {
953
- [n.USDC]: {
1582
+ [t.USDC]: {
954
1583
  address: "0x0512feAc6339Ff7889822cb5aA2a86C848e9D392bB0E3E237C008674feeD8343",
955
- symbol: n.USDC,
1584
+ symbol: t.USDC,
956
1585
  name: "USD Coin",
957
1586
  decimals: 6,
958
- logoURI: "https://res.cloudinary.com/dc3gdzgel/image/upload/v1772087896/usdc_rexec2.svg",
1587
+ logoURI: n.USDC,
959
1588
  nativeToken: !1
960
1589
  }
961
1590
  }
962
- }, os = {
963
- ARBITRUM: m[d.ARBITRUM],
964
- ARBITRUM_TESTNET: m[d.ARBITRUM_TESTNET],
965
- AVALANCHE: m[d.AVALANCHE],
966
- AVALANCHE_TESTNET: m[d.AVALANCHE_TESTNET],
967
- BASE: m[d.BASE],
968
- BASE_TESTNET: m[d.BASE_TESTNET],
969
- BSC: m[d.BSC],
970
- ETHEREUM: m[d.ETHEREUM],
971
- ETHEREUM_TESTNET: m[d.ETHEREUM_TESTNET],
972
- SOLANA: m[d.SOLANA],
973
- SOLANA_TESTNET: m[d.SOLANA_TESTNET],
974
- STARKNET: m[d.STARKNET],
975
- STARKNET_TESTNET: m[d.STARKNET_TESTNET]
976
- }, je = new Set(Object.values(d));
977
- function h(s) {
978
- if (Ke(s))
979
- return s;
980
- const e = d[s];
1591
+ }, ba = {
1592
+ ARBITRUM_MAINNET: {
1593
+ ...Se,
1594
+ tokens: g[d.ARBITRUM]
1595
+ },
1596
+ ARBITRUM_TESTNET: {
1597
+ ...Ae,
1598
+ tokens: g[d.ARBITRUM_TESTNET]
1599
+ },
1600
+ AVALANCHE_MAINNET: {
1601
+ ...Ue,
1602
+ tokens: g[d.AVALANCHE]
1603
+ },
1604
+ AVALANCHE_TESTNET: {
1605
+ ...Ce,
1606
+ tokens: g[d.AVALANCHE_TESTNET]
1607
+ },
1608
+ BASE_MAINNET: {
1609
+ ...be,
1610
+ tokens: g[d.BASE]
1611
+ },
1612
+ BASE_TESTNET: {
1613
+ ...De,
1614
+ tokens: g[d.BASE_TESTNET]
1615
+ },
1616
+ BSC_MAINNET: {
1617
+ ...ye,
1618
+ tokens: g[d.BSC]
1619
+ },
1620
+ ETHEREUM_MAINNET: {
1621
+ ...Ie,
1622
+ tokens: g[d.ETHEREUM]
1623
+ },
1624
+ ETHEREUM_TESTNET: {
1625
+ ...Ne,
1626
+ tokens: g[d.ETHEREUM_TESTNET]
1627
+ },
1628
+ HYPEREVM_MAINNET: {
1629
+ ...Be,
1630
+ tokens: g[d.HYPEREVM]
1631
+ },
1632
+ LISK_MAINNET: {
1633
+ ...ve,
1634
+ tokens: g[d.LISK]
1635
+ },
1636
+ MONAD_MAINNET: {
1637
+ ...Re,
1638
+ tokens: g[d.MONAD]
1639
+ },
1640
+ MONAD_TESTNET: {
1641
+ ...ke,
1642
+ tokens: g[d.MONAD_TESTNET]
1643
+ },
1644
+ OPTIMISM_MAINNET: {
1645
+ ...Oe,
1646
+ tokens: g[d.OPTIMISM]
1647
+ },
1648
+ OPTIMISM_TESTNET: {
1649
+ ...we,
1650
+ tokens: g[d.OPTIMISM_TESTNET]
1651
+ },
1652
+ POLYGON_MAINNET: {
1653
+ ...xe,
1654
+ tokens: g[d.POLYGON]
1655
+ },
1656
+ SOLANA_MAINNET: {
1657
+ ..._e,
1658
+ tokens: g[d.SOLANA]
1659
+ },
1660
+ SOLANA_TESTNET: {
1661
+ ...Me,
1662
+ tokens: g[d.SOLANA_TESTNET]
1663
+ },
1664
+ STARKNET_MAINNET: {
1665
+ ...Le,
1666
+ tokens: g[d.STARKNET]
1667
+ },
1668
+ STARKNET_TESTNET: {
1669
+ ...Fe,
1670
+ tokens: g[d.STARKNET_TESTNET]
1671
+ }
1672
+ }, Da = "https://api.chainrails.io/api/v1";
1673
+ let v = Da;
1674
+ const z = /* @__PURE__ */ new Set();
1675
+ function ya(a) {
1676
+ return a.replace(/\/+$/, "");
1677
+ }
1678
+ const U = {
1679
+ getBaseUrl() {
1680
+ return v;
1681
+ },
1682
+ setBaseUrl(a) {
1683
+ const e = ya(a);
1684
+ e !== v && (v = e, z.forEach((s) => s()));
1685
+ },
1686
+ buildUrl(a) {
1687
+ const e = a.startsWith("/") ? a : `/${a}`;
1688
+ return `${v}/registry${e}`;
1689
+ },
1690
+ onBaseUrlChange(a) {
1691
+ return z.add(a), () => z.delete(a);
1692
+ }
1693
+ };
1694
+ function _(a) {
1695
+ let e = null, s = null;
1696
+ const o = {
1697
+ load(r) {
1698
+ if (e)
1699
+ return Promise.resolve(e);
1700
+ if (s)
1701
+ return s;
1702
+ const l = (async () => {
1703
+ const i = a.fallback();
1704
+ try {
1705
+ const m = await fetch(U.buildUrl(a.path), {
1706
+ method: "GET",
1707
+ headers: { Accept: "application/json" },
1708
+ signal: r?.signal
1709
+ });
1710
+ if (!m.ok)
1711
+ return a.cacheFallbackWhenHttpNotOk && (e = i), i;
1712
+ const f = await m.json(), h = a.parse(f);
1713
+ return e = h, h;
1714
+ } catch {
1715
+ return e = i, i;
1716
+ }
1717
+ })();
1718
+ return s = l, l.then(
1719
+ () => {
1720
+ s = null;
1721
+ },
1722
+ () => {
1723
+ s = null;
1724
+ }
1725
+ ), l;
1726
+ },
1727
+ getSnapshot() {
1728
+ return e ?? a.fallback();
1729
+ },
1730
+ clearCache() {
1731
+ e = null, s = null;
1732
+ }
1733
+ };
1734
+ return U.onBaseUrlChange(() => o.clearCache()), o;
1735
+ }
1736
+ function Ia(a) {
1737
+ if (a && typeof a == "object" && !Array.isArray(a) && "data" in a) {
1738
+ const e = a.data;
1739
+ if (e && typeof e == "object" && !Array.isArray(e))
1740
+ return e;
1741
+ }
1742
+ if (a && typeof a == "object" && !Array.isArray(a))
1743
+ return a;
1744
+ throw new Error("Chain registry: response is not a chain map or { data: map }");
1745
+ }
1746
+ function Na() {
1747
+ return {
1748
+ chains: he,
1749
+ internalChains: d
1750
+ };
1751
+ }
1752
+ function Ba(a) {
1753
+ if (a && typeof a == "object" && !Array.isArray(a) && "data" in a)
1754
+ return a.data;
1755
+ if (a && typeof a == "object" && !Array.isArray(a))
1756
+ return a;
1757
+ throw new Error("Chain registry aliases: response is not { data: { chains, internalChains } }");
1758
+ }
1759
+ const y = _({
1760
+ path: "/chains",
1761
+ parse: Ia,
1762
+ fallback: () => ba,
1763
+ cacheFallbackWhenHttpNotOk: !1
1764
+ }), b = _({
1765
+ path: "/chains/aliases",
1766
+ parse: Ba,
1767
+ fallback: () => Na(),
1768
+ cacheFallbackWhenHttpNotOk: !1
1769
+ });
1770
+ class O {
1771
+ static setBaseUrl(e) {
1772
+ U.setBaseUrl(e);
1773
+ }
1774
+ static getBaseUrl() {
1775
+ return U.getBaseUrl();
1776
+ }
1777
+ static clearCache() {
1778
+ y.clearCache(), b.clearCache();
1779
+ }
1780
+ static loadAllChains(e) {
1781
+ return y.load(e);
1782
+ }
1783
+ static loadChainAliases(e) {
1784
+ return b.load(e);
1785
+ }
1786
+ static get all() {
1787
+ return y.getSnapshot();
1788
+ }
1789
+ static getAllChainsSnapshot() {
1790
+ return y.getSnapshot();
1791
+ }
1792
+ static getChainAliasesSnapshot() {
1793
+ return b.getSnapshot();
1794
+ }
1795
+ static getChainAliases() {
1796
+ return b.getSnapshot().chains;
1797
+ }
1798
+ static getInternalChains() {
1799
+ return b.getSnapshot().internalChains;
1800
+ }
1801
+ static async init(e) {
1802
+ await Promise.all([
1803
+ y.load(e).catch((s) => {
1804
+ console.error(s);
1805
+ }),
1806
+ b.load(e).catch((s) => {
1807
+ console.error(s);
1808
+ })
1809
+ ]);
1810
+ }
1811
+ }
1812
+ function E(a) {
1813
+ if (va(a))
1814
+ return a;
1815
+ const e = O.getInternalChains()[a];
981
1816
  if (!e)
982
- throw new Error(`Invalid chain: ${s}.`);
1817
+ throw new Error(`Invalid chain: ${a}.`);
983
1818
  return e;
984
1819
  }
985
- function Ke(s) {
986
- return je.has(s);
1820
+ function va(a) {
1821
+ return Object.values(O.getInternalChains()).includes(
1822
+ a
1823
+ );
1824
+ }
1825
+ function Ra(a) {
1826
+ if (a && typeof a == "object" && !Array.isArray(a) && "data" in a) {
1827
+ const e = a.data;
1828
+ if (e && typeof e == "object" && !Array.isArray(e))
1829
+ return e;
1830
+ }
1831
+ if (a && typeof a == "object" && !Array.isArray(a))
1832
+ return a;
1833
+ throw new Error("Token registry: response is not a token map or { data: map }");
1834
+ }
1835
+ function ka(a) {
1836
+ if (a && typeof a == "object" && !Array.isArray(a) && "data" in a) {
1837
+ const e = a.data;
1838
+ if (e && typeof e == "object" && !Array.isArray(e))
1839
+ return e;
1840
+ }
1841
+ if (a && typeof a == "object" && !Array.isArray(a))
1842
+ return a;
1843
+ throw new Error("Amount symbol registry: response is not a string map or { data: map }");
1844
+ }
1845
+ const I = _({
1846
+ path: "/tokens",
1847
+ parse: Ra,
1848
+ fallback: () => g,
1849
+ cacheFallbackWhenHttpNotOk: !0
1850
+ }), R = _({
1851
+ path: "/tokens/symbol",
1852
+ parse: ka,
1853
+ fallback: () => t,
1854
+ cacheFallbackWhenHttpNotOk: !0
1855
+ });
1856
+ class w {
1857
+ static setBaseUrl(e) {
1858
+ U.setBaseUrl(e);
1859
+ }
1860
+ static getBaseUrl() {
1861
+ return U.getBaseUrl();
1862
+ }
1863
+ static clearCache() {
1864
+ I.clearCache(), R.clearCache();
1865
+ }
1866
+ static loadTokenRegistry(e) {
1867
+ return I.load(e);
1868
+ }
1869
+ static get all() {
1870
+ return I.getSnapshot();
1871
+ }
1872
+ static getTokenRegistrySnapshot() {
1873
+ return I.getSnapshot();
1874
+ }
1875
+ static loadAmountSymbolMap(e) {
1876
+ return R.load(e);
1877
+ }
1878
+ static getAmountSymbolsSnapshot() {
1879
+ return R.getSnapshot();
1880
+ }
1881
+ static async init(e) {
1882
+ await Promise.all([
1883
+ I.load(e).catch((s) => {
1884
+ console.error(s);
1885
+ }),
1886
+ R.load(e).catch((s) => {
1887
+ console.error(s);
1888
+ })
1889
+ ]);
1890
+ }
987
1891
  }
988
- function qe(s, e) {
989
- const t = e.toLowerCase().trim(), a = m[s];
990
- if (!a)
1892
+ function Oa(a, e) {
1893
+ const s = e.toLowerCase().trim(), o = w.getTokenRegistrySnapshot()[a];
1894
+ if (!o)
991
1895
  throw new Error(
992
- `Chain not found: ${s}. The chain key must be a valid chain identifier.`
1896
+ `Chain not found: ${a}. The chain key must be a valid chain identifier.`
993
1897
  );
994
- let o;
995
- for (const i in a) {
996
- const r = a[i];
997
- if (r && r.address.toLowerCase() === t.toLowerCase()) {
998
- o = r;
1898
+ let r;
1899
+ for (const l in o) {
1900
+ const i = o[l];
1901
+ if (i && i.address.toLowerCase() === s.toLowerCase()) {
1902
+ r = i;
999
1903
  break;
1000
1904
  }
1001
1905
  }
1002
- if (!o)
1906
+ if (!r)
1003
1907
  throw new Error(
1004
- `Token address mismatch: address ${e} does not exist on chain ${s}. The token address must be a valid token address on the specified chain.`
1908
+ `Token address mismatch: address ${e} does not exist on chain ${a}. The token address must be a valid token address on the specified chain.`
1005
1909
  );
1006
- return o;
1910
+ return r;
1007
1911
  }
1008
- function N(s, e, t) {
1009
- const a = qe(s, e);
1010
- if (a.symbol !== t)
1912
+ function W(a, e, s) {
1913
+ const o = Oa(a, e);
1914
+ if (o.symbol !== s)
1011
1915
  throw new Error(
1012
- `Token address and symbol mismatch: address ${e} on chain ${s} corresponds to token "${a.symbol}", but expected "${t}". The token address must correspond to a token with the expected symbol on the specified chain.`
1916
+ `Token address and symbol mismatch: address ${e} on chain ${a} corresponds to token "${o.symbol}", but expected "${s}". The token address must correspond to a token with the expected symbol on the specified chain.`
1013
1917
  );
1014
- return a;
1918
+ return o;
1919
+ }
1920
+ function wa(a, e) {
1921
+ return w.getTokenRegistrySnapshot()?.[a]?.[e];
1015
1922
  }
1016
- function We(s, e) {
1017
- return m[s]?.[e];
1923
+ function ee(a, e) {
1924
+ return wa(a, e)?.address;
1018
1925
  }
1019
- function H(s, e) {
1020
- return We(s, e)?.address;
1926
+ var Te = /* @__PURE__ */ ((a) => (a.PRODUCTION = "production", a.STAGING = "staging", a))(Te || {});
1927
+ class H {
1928
+ static setBaseUrl(e) {
1929
+ U.setBaseUrl(e);
1930
+ }
1931
+ static getBaseUrl() {
1932
+ return U.getBaseUrl();
1933
+ }
1934
+ static clearCache() {
1935
+ O.clearCache(), w.clearCache();
1936
+ }
1937
+ static async init(e) {
1938
+ await Promise.all([
1939
+ O.init(e).then(
1940
+ () => {
1941
+ },
1942
+ () => {
1943
+ }
1944
+ ),
1945
+ w.init(e).then(
1946
+ () => {
1947
+ },
1948
+ () => {
1949
+ }
1950
+ )
1951
+ ]);
1952
+ }
1021
1953
  }
1022
- var se = /* @__PURE__ */ ((s) => (s.PRODUCTION = "production", s.STAGING = "staging", s))(se || {});
1023
1954
  class u {
1024
- constructor({ api_key: e, env: t, seesion_token: a, props: o }) {
1025
- this.api_key = e || "", this.sessionToken = a || "", this.env = t ?? se.PRODUCTION, this.props = o;
1955
+ constructor({ api_key: e, env: s, seesion_token: o, props: r }) {
1956
+ this.api_key = e || "", this.sessionToken = o || "", this.env = s ?? Te.PRODUCTION, this.props = r;
1026
1957
  }
1027
1958
  static async config(e) {
1028
1959
  if (!u.app) {
@@ -1030,7 +1961,7 @@ class u {
1030
1961
  throw new Error("Please provide an api_key");
1031
1962
  u.app = new u(e);
1032
1963
  }
1033
- return e && (e.api_key !== void 0 && (u.app.api_key = e.api_key), e.seesion_token !== void 0 && (u.app.sessionToken = e.seesion_token), e.env !== void 0 && (u.app.env = e.env), e.props !== void 0 && (u.app.props = e.props)), u.app;
1964
+ return e && (e.api_key !== void 0 && (u.app.api_key = e.api_key), e.seesion_token !== void 0 && (u.app.sessionToken = e.seesion_token), e.env !== void 0 && e.env !== u.app.env && H.clearCache(), e.env !== void 0 && (u.app.env = e.env), e.props !== void 0 && (u.app.props = e.props)), H.setBaseUrl(u.getBaseUrl()), await H.init(), u.app;
1034
1965
  }
1035
1966
  static getApiKey() {
1036
1967
  if (!u.app)
@@ -1069,25 +2000,25 @@ class u {
1069
2000
  static getPayModalUrl(e) {
1070
2001
  if (!u.app)
1071
2002
  throw new Error("Chainrails SDK not configured. Please call Chainrails.config() first.");
1072
- const t = u.app.env === "internal" ? "https://staging.chainrails-frontend.pages.dev" : "https://app.chainrails.io", a = Number(e), o = e && !isNaN(Number(e)) && a > 0 ? "/pay/" : "/deposit/", i = `${e && !isNaN(Number(e)) && a > 0 ? a * 100 : ""}`;
1073
- return t + o + i;
2003
+ const s = u.app.env === "internal" ? "https://staging.chainrails-frontend.pages.dev" : "https://app.chainrails.io", o = Number(e), r = e && !isNaN(Number(e)) && o > 0 ? "/pay/" : "/deposit/", l = `${e && !isNaN(Number(e)) && o > 0 ? o * 100 : ""}`;
2004
+ return s + r + l;
1074
2005
  }
1075
2006
  }
1076
- let R = null;
1077
- function Ve() {
1078
- R = ae.create({
2007
+ let P = null;
2008
+ function xa() {
2009
+ P = fe.create({
1079
2010
  prefixUrl: u.getBaseUrl(),
1080
2011
  headers: {
1081
2012
  "Content-Type": "application/json"
1082
2013
  },
1083
2014
  hooks: {
1084
2015
  beforeRequest: [
1085
- (s) => {
2016
+ (a) => {
1086
2017
  const e = u.getSessionToken() || u.getApiKey();
1087
- s.headers.set("Authorization", `Bearer ${e}`);
2018
+ a.headers.set("Authorization", `Bearer ${e}`);
1088
2019
  }
1089
2020
  ],
1090
- afterResponse: [(s, e, t) => t]
2021
+ afterResponse: [(a, e, s) => s]
1091
2022
  },
1092
2023
  retry: {
1093
2024
  limit: 2
@@ -1095,9 +2026,9 @@ function Ve() {
1095
2026
  });
1096
2027
  }
1097
2028
  function c() {
1098
- return R || Ve(), R;
2029
+ return P || xa(), P;
1099
2030
  }
1100
- class Ge {
2031
+ class _a {
1101
2032
  async getById(e) {
1102
2033
  return await c().get("intents/" + e).json();
1103
2034
  }
@@ -1114,23 +2045,23 @@ class Ge {
1114
2045
  return await c().get("intents", { searchParams: e }).json();
1115
2046
  }
1116
2047
  async create(e) {
1117
- const t = h(e.source_chain), a = h(e.destination_chain);
2048
+ const s = E(e.source_chain), o = E(e.destination_chain);
1118
2049
  return await c().post("intents", {
1119
2050
  json: {
1120
2051
  ...e,
1121
- source_chain: t,
1122
- destination_chain: a
2052
+ source_chain: s,
2053
+ destination_chain: o
1123
2054
  }
1124
2055
  }).json();
1125
2056
  }
1126
2057
  async createForSession(e) {
1127
- const t = h(e.sourceChain);
2058
+ const s = E(e.sourceChain);
1128
2059
  return await c().post("modal/sessions/intents", {
1129
- json: { ...e, sourceChain: t }
2060
+ json: { ...e, sourceChain: s }
1130
2061
  }).json();
1131
2062
  }
1132
- async update(e, t) {
1133
- return await c().post("intents", { json: t }).json();
2063
+ async update(e, s) {
2064
+ return await c().post("intents", { json: s }).json();
1134
2065
  }
1135
2066
  async triggerProcessing(e) {
1136
2067
  return await c().post(`intents/${e}/trigger-processing`).json();
@@ -1139,60 +2070,60 @@ class Ge {
1139
2070
  return await c().post(`modal/sessions/intents/${e}/process`).json();
1140
2071
  }
1141
2072
  }
1142
- class Ye {
2073
+ class Ma {
1143
2074
  async getFromSpecificBridge(e) {
1144
- const t = h(e.sourceChain);
1145
- N(t, e.tokenIn, e.amountSymbol);
1146
- const a = h(e.destinationChain);
2075
+ const s = E(e.sourceChain);
2076
+ W(s, e.tokenIn, e.amountSymbol);
2077
+ const o = E(e.destinationChain);
1147
2078
  return await c().get("quotes/single", {
1148
2079
  searchParams: {
1149
2080
  ...e,
1150
- sourceChain: t,
1151
- destinationChain: a
2081
+ sourceChain: s,
2082
+ destinationChain: o
1152
2083
  }
1153
2084
  }).json();
1154
2085
  }
1155
2086
  async getFromAllBridges(e) {
1156
- const t = h(e.sourceChain);
1157
- N(t, e.tokenIn, e.amountSymbol);
1158
- const a = h(e.destinationChain);
2087
+ const s = E(e.sourceChain);
2088
+ W(s, e.tokenIn, e.amountSymbol);
2089
+ const o = E(e.destinationChain);
1159
2090
  return await c().get("quotes/multiple", {
1160
2091
  searchParams: {
1161
2092
  ...e,
1162
- sourceChain: t,
1163
- destinationChain: a
2093
+ sourceChain: s,
2094
+ destinationChain: o
1164
2095
  }
1165
2096
  }).json();
1166
2097
  }
1167
2098
  async getBestAcrossBridges(e) {
1168
- const t = h(e.sourceChain);
1169
- N(t, e.tokenIn, e.amountSymbol);
1170
- const a = h(e.destinationChain);
2099
+ const s = E(e.sourceChain);
2100
+ W(s, e.tokenIn, e.amountSymbol);
2101
+ const o = E(e.destinationChain);
1171
2102
  return await c().get("quotes/best", { searchParams: {
1172
2103
  ...e,
1173
- sourceChain: t,
1174
- destinationChain: a
2104
+ sourceChain: s,
2105
+ destinationChain: o
1175
2106
  } }).json();
1176
2107
  }
1177
2108
  async getAll(e) {
1178
- const t = h(e.destinationChain);
2109
+ const s = E(e.destinationChain);
1179
2110
  return await c().get("quotes/multi-source", { searchParams: {
1180
2111
  ...e,
1181
- destinationChain: t
2112
+ destinationChain: s
1182
2113
  } }).json();
1183
2114
  }
1184
2115
  async getAllForSession(e) {
1185
2116
  return await c().get("modal/sessions/quotes", { searchParams: e }).json();
1186
2117
  }
1187
2118
  }
1188
- class Xe {
2119
+ class La {
1189
2120
  async getOptimalRoutes(e) {
1190
- const t = h(e.sourceChain), a = h(e.destinationChain);
2121
+ const s = E(e.sourceChain), o = E(e.destinationChain);
1191
2122
  return await c().get("router/optimal-route", {
1192
2123
  searchParams: {
1193
2124
  ...e,
1194
- sourceChain: t,
1195
- destinationChain: a
2125
+ sourceChain: s,
2126
+ destinationChain: o
1196
2127
  }
1197
2128
  }).json();
1198
2129
  }
@@ -1200,18 +2131,18 @@ class Xe {
1200
2131
  return await c().get("router/supported-bridges/all").json();
1201
2132
  }
1202
2133
  async getSupportedBridges(e) {
1203
- const t = h(e.sourceChain), a = h(e.destinationChain);
2134
+ const s = E(e.sourceChain), o = E(e.destinationChain);
1204
2135
  return await c().get("router/supported-bridges/route", { searchParams: {
1205
2136
  ...e,
1206
- sourceChain: t,
1207
- destinationChain: a
2137
+ sourceChain: s,
2138
+ destinationChain: o
1208
2139
  } }).json();
1209
2140
  }
1210
2141
  async getSupportedRoutes(e) {
1211
2142
  return await c().get("router/supported-routes/bridge/" + e).json();
1212
2143
  }
1213
2144
  }
1214
- class Qe {
2145
+ class Fa {
1215
2146
  async getSupported(e) {
1216
2147
  return await c().get("chains", { searchParams: e }).json();
1217
2148
  }
@@ -1219,7 +2150,7 @@ class Qe {
1219
2150
  return await c().get(`chains/balances/${e.address}`, { searchParams: e }).json();
1220
2151
  }
1221
2152
  }
1222
- class Je {
2153
+ class za {
1223
2154
  async getClientInfo() {
1224
2155
  return await c().get("client/auth/client-info").json();
1225
2156
  }
@@ -1227,20 +2158,20 @@ class Je {
1227
2158
  return await c().get("modal/sessions/client").json();
1228
2159
  }
1229
2160
  }
1230
- class Ze {
2161
+ class Wa {
1231
2162
  async getSessionToken(e) {
1232
- const t = h(e.destinationChain);
1233
- let a = H(t, e.token);
1234
- a || (console.error(
2163
+ const s = E(e.destinationChain);
2164
+ let o = ee(s, e.token);
2165
+ o || (console.error(
1235
2166
  `${e.token} on ${e.destinationChain} is currently unsupported, defaulting to usdc`
1236
- ), a = H(t, "USDC"));
1237
- const o = {
2167
+ ), o = ee(s, "USDC"));
2168
+ const r = {
1238
2169
  recipient: e.recipient,
1239
- tokenOut: a,
1240
- destinationChain: t,
2170
+ tokenOut: o,
2171
+ destinationChain: s,
1241
2172
  amount: e.amount
1242
2173
  };
1243
- return c().post("modal/sessions", { json: o }).json().then((i) => ({ ...i, amount: o.amount }));
2174
+ return c().post("modal/sessions", { json: r }).json().then((l) => ({ ...l, amount: r.amount }));
1244
2175
  }
1245
2176
  async getHandOffToken() {
1246
2177
  return c().post("modal/sessions/handoff-token").json();
@@ -1249,16 +2180,16 @@ class Ze {
1249
2180
  return c().post(`modal/sessions/${e.sessionId}/resume`, { json: e }).json();
1250
2181
  }
1251
2182
  }
1252
- const es = "modal/sessions/history";
1253
- class ss {
2183
+ const Ha = "modal/sessions/history";
2184
+ class Pa {
1254
2185
  async getHistoryForSession(e) {
1255
- return c().post(es, { json: e }).json();
2186
+ return c().post(Ha, { json: e }).json();
1256
2187
  }
1257
2188
  }
1258
- const rs = {
2189
+ const ja = {
1259
2190
  FONBNK: "FONBNK",
1260
2191
  ONRAMP_MONEY: "ONRAMP_MONEY"
1261
- }, is = {
2192
+ }, $a = {
1262
2193
  PENDING: "PENDING",
1263
2194
  INITIATED: "INITIATED",
1264
2195
  PROCESSING: "PROCESSING",
@@ -1268,7 +2199,7 @@ const rs = {
1268
2199
  EXPIRED: "EXPIRED",
1269
2200
  REFUNDED: "REFUNDED"
1270
2201
  };
1271
- class ts {
2202
+ class Va {
1272
2203
  /**
1273
2204
  * Get aggregated fiat-to-crypto quotes from all eligible providers.
1274
2205
  * Fans out to multiple providers and picks the cheapest path.
@@ -1346,29 +2277,33 @@ class ts {
1346
2277
  return await c().post(`ramp/orders/${e}/cancel`).json();
1347
2278
  }
1348
2279
  }
1349
- const cs = {
2280
+ const qa = {
1350
2281
  ACROSS: "ACROSS",
1351
2282
  CCTP: "CCTP",
1352
2283
  GATEWAY: "GATEWAY",
1353
2284
  RHINOFI: "RHINOFI"
1354
- }, ds = {
1355
- router: new Xe(),
1356
- quotes: new Ye(),
1357
- intents: new Ge(),
1358
- chains: new Qe(),
1359
- client: new Je(),
1360
- auth: new Ze(),
1361
- history: new ss(),
1362
- ramp: new ts()
2285
+ }, Ga = {
2286
+ router: new La(),
2287
+ quotes: new Ma(),
2288
+ intents: new _a(),
2289
+ chains: new Fa(),
2290
+ client: new za(),
2291
+ auth: new Wa(),
2292
+ history: new Pa(),
2293
+ ramp: new Va()
1363
2294
  };
1364
2295
  export {
1365
- n as AmountSymbols,
1366
- cs as Bridges,
2296
+ t as AmountSymbols,
2297
+ qa as Bridges,
2298
+ ba as CHAIN_REGISTRY,
2299
+ O as ChainRegistry,
1367
2300
  u as Chainrails,
1368
- as as Chains,
1369
- is as RampOrderStatuses,
1370
- rs as RampProviders,
1371
- os as Tokens,
1372
- ds as crapi,
1373
- se as environment
2301
+ he as Chains,
2302
+ $a as RampOrderStatuses,
2303
+ ja as RampProviders,
2304
+ g as TOKEN_REGISTRY,
2305
+ w as TokenRegistry,
2306
+ Ga as crapi,
2307
+ Te as environment,
2308
+ E as resolveChain
1374
2309
  };