@fileverse-dev/dsheet 2.0.22-memory → 2.0.22-memory-2

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.
@@ -0,0 +1,1154 @@
1
+ var g = Object.create, u = Object.defineProperty, y = Object.getOwnPropertyDescriptor, f = Object.getOwnPropertyNames, b = Object.getPrototypeOf, x = Object.prototype.hasOwnProperty, m = (n, e) => function() {
2
+ return e || (0, n[f(n)[0]])((e = { exports: {} }).exports, e), e.exports;
3
+ }, A = (n, e, i, r) => {
4
+ if (e && typeof e == "object" || typeof e == "function")
5
+ for (let t of f(e))
6
+ !x.call(n, t) && t !== i && u(n, t, { get: () => e[t], enumerable: !(r = y(e, t)) || r.enumerable });
7
+ return n;
8
+ }, E = (n, e, i) => (i = n != null ? g(b(n)) : {}, A(
9
+ // If the importer is in node compatibility mode or this is not an ESM
10
+ // file that has been converted to a CommonJS file using a Babel-
11
+ // compatible transform (i.e. "__esModule" has not been set), then set
12
+ // "default" to the CommonJS "module.exports" for node compatibility.
13
+ u(i, "default", { value: n, enumerable: !0 }),
14
+ n
15
+ )), v = m({
16
+ "node_modules/jwt-decode/lib/atob.js"(n, e) {
17
+ var i = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
18
+ function r(a) {
19
+ this.message = a;
20
+ }
21
+ r.prototype = new Error(), r.prototype.name = "InvalidCharacterError";
22
+ function t(a) {
23
+ var o = String(a).replace(/=+$/, "");
24
+ if (o.length % 4 == 1)
25
+ throw new r("'atob' failed: The string to be decoded is not correctly encoded.");
26
+ for (
27
+ var s = 0, p, d, h = 0, c = "";
28
+ // get next character
29
+ d = o.charAt(h++);
30
+ // character found in table? initialize bit storage and add its ascii value;
31
+ ~d && (p = s % 4 ? p * 64 + d : d, // and if not first of each 4 characters,
32
+ // convert the first 8 bits to one ascii character
33
+ s++ % 4) ? c += String.fromCharCode(255 & p >> (-2 * s & 6)) : 0
34
+ )
35
+ d = i.indexOf(d);
36
+ return c;
37
+ }
38
+ e.exports = typeof window < "u" && window.atob && window.atob.bind(window) || t;
39
+ }
40
+ }), C = m({
41
+ "node_modules/jwt-decode/lib/base64_url_decode.js"(n, e) {
42
+ var i = v();
43
+ function r(t) {
44
+ return decodeURIComponent(i(t).replace(/(.)/g, function(a, o) {
45
+ var s = o.charCodeAt(0).toString(16).toUpperCase();
46
+ return s.length < 2 && (s = "0" + s), "%" + s;
47
+ }));
48
+ }
49
+ e.exports = function(t) {
50
+ var a = t.replace(/-/g, "+").replace(/_/g, "/");
51
+ switch (a.length % 4) {
52
+ case 0:
53
+ break;
54
+ case 2:
55
+ a += "==";
56
+ break;
57
+ case 3:
58
+ a += "=";
59
+ break;
60
+ default:
61
+ throw "Illegal base64url string!";
62
+ }
63
+ try {
64
+ return r(a);
65
+ } catch {
66
+ return i(a);
67
+ }
68
+ };
69
+ }
70
+ }), O = m({
71
+ "node_modules/jwt-decode/lib/index.js"(n, e) {
72
+ var i = C();
73
+ function r(t) {
74
+ this.message = t;
75
+ }
76
+ r.prototype = new Error(), r.prototype.name = "InvalidTokenError", e.exports = function(t, a) {
77
+ if (typeof t != "string")
78
+ throw new r("Invalid token specified");
79
+ a = a || {};
80
+ var o = a.header === !0 ? 0 : 1;
81
+ try {
82
+ return JSON.parse(i(t.split(".")[o]));
83
+ } catch (s) {
84
+ throw new r("Invalid token specified: " + s.message);
85
+ }
86
+ }, e.exports.InvalidTokenError = r;
87
+ }
88
+ }), k = m({
89
+ "node_modules/jwt-check-expiration/src/index.js"(n, e) {
90
+ var i = O(), r = (t) => {
91
+ if (typeof t != "string" || !t) throw new Error("Invalid token provided");
92
+ let a = !1;
93
+ const { exp: o } = i(t);
94
+ return (/* @__PURE__ */ new Date()).getTime() / 1e3 > o && (a = !0), a;
95
+ };
96
+ e.exports.isJwtExpired = r;
97
+ }
98
+ }), M = {
99
+ INVALID_API_KEY: "INVALID_API_KEY",
100
+ RATE_LIMIT: "RATE_LIMIT",
101
+ DEFAULT: "DEFAULT",
102
+ MISSING_KEY: "MISSING_KEY",
103
+ INVALID_PARAM: "INVALID_PARAM",
104
+ NETWORK_ERROR: "NETWORK_ERROR",
105
+ ENS: "ENS"
106
+ }, l = {
107
+ Etherscan: "Etherscan",
108
+ Coingecko: "Coingecko",
109
+ Safe: "Safe",
110
+ Basescan: "Basescan",
111
+ Gnosisscan: "Gnosisscan",
112
+ Firefly: "Firefly",
113
+ GnosisPay: "GnosisPay",
114
+ Neynar: "Neynar",
115
+ Defillama: "Defillama",
116
+ DuneSim: "DuneSim"
117
+ }, S = {
118
+ API_KEY: l.Etherscan,
119
+ LOGO: "https://raw.githubusercontent.com/ethereum/ethereum-org/master/dist/favicon.ico",
120
+ BRAND_COLOR: "#F6F7F8",
121
+ BRAND_SECONDARY_COLOR: "#21325B",
122
+ n: "EOA",
123
+ t: 20,
124
+ d: "Fetches address data like transactions, balances, or portfolio info from multiple supported chains.",
125
+ a: "Dynamically queries blockchain data such as transactions and balances by resolving time ranges to block ranges and supporting pagination.",
126
+ p: [
127
+ {
128
+ name: "addresses",
129
+ detail: "One or more addresses (comma-separated) to query.",
130
+ example: '"vitalik.eth"',
131
+ require: "m",
132
+ type: "string"
133
+ },
134
+ {
135
+ name: "categories",
136
+ detail: 'Type of data to fetch. Supported values: "txns", "balance".',
137
+ example: '"txns"',
138
+ require: "m",
139
+ type: "string"
140
+ },
141
+ {
142
+ name: "chain",
143
+ detail: 'Blockchain network(s) to query. Supported values: "ethereum", "gnosis", "base". Accepts comma-separated values.',
144
+ example: '"ethereum"',
145
+ require: "m",
146
+ type: "string"
147
+ },
148
+ {
149
+ name: "startTime",
150
+ detail: "Used to calculate starting block for transaction queries.",
151
+ example: '"01/01/2024"',
152
+ require: "m",
153
+ type: "string"
154
+ },
155
+ {
156
+ name: "endTime",
157
+ detail: "Used to calculate ending block for transaction queries.",
158
+ example: '"01/06/2024"',
159
+ require: "m",
160
+ type: "string"
161
+ },
162
+ {
163
+ name: "page",
164
+ detail: "The page number for paginated transaction results. Only used when category is 'txns'. Default is 1",
165
+ example: "1",
166
+ require: "o",
167
+ type: "number"
168
+ },
169
+ {
170
+ name: "offset",
171
+ detail: "The number of results to return per page (limit). Only used when category is 'txns'. Default is 10",
172
+ example: "10",
173
+ require: "o",
174
+ type: "number"
175
+ },
176
+ {
177
+ name: "columnsName",
178
+ detail: "Filter columns by name in output. Comma separated list.",
179
+ example: '"address,blockNumber"',
180
+ require: "o",
181
+ type: "string"
182
+ }
183
+ ],
184
+ examples: [{
185
+ title: "EOA",
186
+ argumentString: '"vitalik.eth", "txns", "ethereum", "01/01/2023", "01/05/2024", 1, 2',
187
+ description: "returns the transaction history for the address vitalik.eth on the Ethereum blockchain between January 1, 2023 and January 5, 2024, returning page 1 with 2 transactions per page."
188
+ }, {
189
+ title: "EOA",
190
+ argumentString: '"vitalik.eth", "balance", "gnosis"',
191
+ description: "returns the balance for the address vitalik.eth on the Gnosis blockchain."
192
+ }]
193
+ }, D = {
194
+ LOGO: "https://app.uniswap.org/favicon.png",
195
+ BRAND_COLOR: "#fef5fc",
196
+ BRAND_SECONDARY_COLOR: "#f50db4",
197
+ n: "UNISWAP",
198
+ t: 20,
199
+ d: "Returns Uniswap pools and tokens data",
200
+ a: "Retrieves Uniswap data for a given chain and address from Uniswap",
201
+ p: [
202
+ {
203
+ name: "graphType",
204
+ detail: "Graph type to Query. Can be 'v3', 'v3-raw'",
205
+ example: '"v3"',
206
+ require: "m",
207
+ type: "string"
208
+ },
209
+ {
210
+ name: "category",
211
+ detail: "Query type for the data. Can be 'tokens', 'markets'",
212
+ example: '"tokens"',
213
+ require: "m",
214
+ type: "string"
215
+ },
216
+ {
217
+ name: "param1",
218
+ detail: "Token Contract Address for market or Token symbol ",
219
+ example: '"eth"',
220
+ require: "m",
221
+ type: "string"
222
+ },
223
+ {
224
+ name: "columnsName",
225
+ detail: "Filter columns by name in output. Comma separated list.",
226
+ example: '"id,address"',
227
+ require: "o",
228
+ type: "string"
229
+ }
230
+ ],
231
+ examples: [
232
+ {
233
+ title: "UNISWAP",
234
+ argumentString: '"v3", "tokens", "eth"',
235
+ description: "returns data for the ETH token from Uniswap V3."
236
+ },
237
+ {
238
+ title: "UNISWAP",
239
+ argumentString: '"v3-raw", "markets", "0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8"',
240
+ description: "returns data for the Uniswap V3 market with the specified contract address."
241
+ }
242
+ ]
243
+ }, R = {
244
+ LOGO: "https://files.readme.io/06394e687778e238a6cd43de6e1d7d339043aa50054703f64606369352ef1864-VariantCG-Symbol-Color.png",
245
+ BRAND_COLOR: "#f8fdf8",
246
+ BRAND_SECONDARY_COLOR: "#4bc63d",
247
+ n: "COINGECKO",
248
+ t: 20,
249
+ API_KEY: l.Coingecko,
250
+ d: "Query crypto prices, ecosystem market data, stablecoins, or derivatives from CoinGecko.",
251
+ a: `Supports querying: "price" for specific tokens "market" for ecosystem categories (ETH, BASE, SOL, GNOSIS, HYPERLIQUID, BITCOIN, PUMP)
252
+ - "stablecoins" for stablecoin categories like "crypto-backed-stablecoin"
253
+ - "derivatives" globally or per exchange.
254
+ Pagination is supported for all except single-exchange derivatives.`,
255
+ p: [
256
+ {
257
+ name: "category",
258
+ detail: 'Query type: "price", "market", "stablecoins", or "derivatives".',
259
+ example: '"stablecoins"',
260
+ require: "m"
261
+ },
262
+ {
263
+ name: "param1",
264
+ detail: `If "price" then - eg. "BTC", "ETH", OR any token on coingecko
265
+ If "market": one of "all", "base", "meme", "aiagents", "bitcoin", "ethereum", "hyperliquid", "pump", "solana".
266
+ If "stablecoins": one of "all", "yield-bearing-stablecoins", "crypto-backed-stablecoin".
267
+ If "derivatives": exchange name (e.g., "binance_futures", "hyperliquid", "weex-futures", "bybit" ).`,
268
+ example: '"yield-bearing-stablecoins"',
269
+ require: "m"
270
+ },
271
+ {
272
+ name: "param2",
273
+ detail: 'If "market" and "stablecoins" then eg. "1h", "24h", "7d", "14d", "30d", "200d", "1y".',
274
+ example: '"1h,24h,7d"',
275
+ require: "o"
276
+ },
277
+ {
278
+ name: "columnsName",
279
+ detail: "Filter columns by name in output. Comma separated list.",
280
+ example: '"id,symbol"',
281
+ require: "o",
282
+ type: "string"
283
+ }
284
+ ],
285
+ examples: [
286
+ {
287
+ title: "COINGECKO",
288
+ argumentString: '"stablecoins", "yield-bearing-stablecoins", "1h,24h,7d"',
289
+ description: "returns the yield-bearing stablecoins with percentage changes over 1 hour, 24 hours, and 7 days."
290
+ },
291
+ {
292
+ title: "COINGECKO",
293
+ argumentString: '"derivatives", "binance_futures"',
294
+ description: "returns the derivatives data from the Binance Futures exchange."
295
+ }
296
+ ]
297
+ }, _ = {
298
+ API_KEY: l.Defillama,
299
+ LOGO: "https://defillama.com/favicon.ico",
300
+ BRAND_COLOR: "#f8f5fc",
301
+ BRAND_SECONDARY_COLOR: "#855dcd",
302
+ n: "DEFILLAMA",
303
+ t: 20,
304
+ d: "returns content from Defillama.",
305
+ a: "Retrieves data from Defillama.",
306
+ p: [
307
+ {
308
+ name: "category",
309
+ detail: "Type of content to fetch. Supports 'protocols', 'yields', 'dex', or 'fees'.",
310
+ example: '"protocols"',
311
+ require: "m",
312
+ type: "string"
313
+ },
314
+ {
315
+ name: "columnsName",
316
+ detail: "Filter columns by name in output. Comma separated list.",
317
+ example: '"name,address"',
318
+ require: "o",
319
+ type: "string"
320
+ }
321
+ ],
322
+ examples: [{
323
+ title: "DEFILLAMA",
324
+ argumentString: '"protocols"',
325
+ description: "returns a list of DeFi protocols from Defillama."
326
+ }, {
327
+ title: "DEFILLAMA",
328
+ argumentString: '"dex"',
329
+ description: "returns decentralized exchange (DEX) data from Defillama."
330
+ }]
331
+ }, q = {
332
+ API_KEY: l.Basescan,
333
+ LOGO: "https://2064089921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FevP3L0cUvP9xmRefuzCm%2Fuploads%2F2K1pvFsE7JAfcI3LAxYl%2Fbase-logo-in-blue.webp?alt=media&token=32c80439-dbdc-432a-b199-220e012efc3c",
334
+ BRAND_COLOR: "#f1f5ff",
335
+ BRAND_SECONDARY_COLOR: "#2752ff",
336
+ n: "BASE",
337
+ t: 20,
338
+ d: "Fetches Base network data via Basescan: native txns, ERC-20 transfers, ERC-721 transfers, and gas metrics.",
339
+ a: "Pulls on-chain activity for Base (chainid 8453) using Basescan’s API — supports full tx history, token/NFT transfers, gas prices, and pagination.",
340
+ p: [
341
+ {
342
+ name: "type",
343
+ detail: "Data category: 'all-txns' | 'token-txns' | 'nft-txns' | 'gas'.",
344
+ example: '"token-txns"',
345
+ require: "m",
346
+ type: "string"
347
+ },
348
+ {
349
+ name: "address",
350
+ detail: "Target wallet address (only required for txns, token, and nft queries). Not needed for 'gas'.",
351
+ example: '"0x7FD624f3f97A7dd36195E8379F28dB6147C270ff"',
352
+ require: "o",
353
+ type: "string"
354
+ },
355
+ {
356
+ name: "startDate",
357
+ detail: "Start date (used to resolve block range). Optional, only applies to txns.",
358
+ example: '"01/01/2024"',
359
+ require: "o",
360
+ type: "string"
361
+ },
362
+ {
363
+ name: "endDate",
364
+ detail: "End date (used to resolve block range). Optional, only applies to txns.",
365
+ example: '"07/07/2024"',
366
+ require: "o",
367
+ type: "string"
368
+ },
369
+ {
370
+ name: "page",
371
+ detail: "Page number for paginated results. Only applies to txns/token/nft queries.",
372
+ example: "1",
373
+ require: "o",
374
+ type: "number"
375
+ },
376
+ {
377
+ name: "offset",
378
+ detail: "Number of items per page (limit). Only applies to txns/token/nft queries.",
379
+ example: "2",
380
+ require: "o",
381
+ type: "number"
382
+ },
383
+ {
384
+ name: "columnsName",
385
+ detail: "Filter columns by name in output. Comma separated list.",
386
+ example: '"blockNumber,timeStamp"',
387
+ require: "o",
388
+ type: "string"
389
+ }
390
+ ],
391
+ examples: [
392
+ {
393
+ title: "BASE",
394
+ argumentString: '"token-txns", "0x7FD624f3f97A7dd36195E8379F28dB6147C270ff", "01/01/2024", "07/07/2024", 1, 2',
395
+ description: "returns list ofERC-20 token transfer history for the specified address on the Base network between January 1, 2024 and July 7, 2024, returning page 1 with 2 results per page."
396
+ },
397
+ {
398
+ title: "BASE",
399
+ argumentString: '"gas"',
400
+ description: "returns gas price metrics for the Base network."
401
+ }
402
+ ]
403
+ }, N = {
404
+ API_KEY: l.Gnosisscan,
405
+ LOGO: "https://gnosisscan.io/assets/generic/html/favicon-light.ico",
406
+ BRAND_COLOR: "#f6f7f6",
407
+ BRAND_SECONDARY_COLOR: "#133629",
408
+ n: "GNOSIS",
409
+ t: 20,
410
+ d: "Fetches Gnosis Chain data via Gnosisscan: native transactions, ERC-20 token transfers, ERC-721 NFT transfers, and gas metrics.",
411
+ a: "Queries Gnosis Chain (chainid 100) through Gnosisscan’s API to return transaction history, token/NFT transfers, or gas price information. Supports pagination and time-based filtering for transaction types.",
412
+ p: [
413
+ {
414
+ name: "type",
415
+ detail: "Data category to fetch. Options: 'all-txns', 'token-txns', 'nft-txns', or 'gas'.",
416
+ example: '"nft-txns"',
417
+ require: "m",
418
+ type: "string"
419
+ },
420
+ {
421
+ name: "address",
422
+ detail: "Wallet address to query. Required for all types except 'gas'.",
423
+ example: '"0x90830Ed558f12D826370DC52E9D87947A7F18De9"',
424
+ require: "o",
425
+ type: "string"
426
+ },
427
+ {
428
+ name: "startDate",
429
+ detail: "Used to resolve starting block for txns.",
430
+ example: '"01/01/2024"',
431
+ require: "o",
432
+ type: "string"
433
+ },
434
+ {
435
+ name: "endDate",
436
+ detail: "Used to resolve ending block for txns.",
437
+ example: '"14/06/2025"',
438
+ require: "o",
439
+ type: "string"
440
+ },
441
+ {
442
+ name: "page",
443
+ detail: "Page number for paginated transaction results. Applies only to 'txns', 'token-txns', and 'nft-txns'.",
444
+ example: "1",
445
+ require: "o",
446
+ type: "number"
447
+ },
448
+ {
449
+ name: "offset",
450
+ detail: "Number of results per page (limit). Applies only to 'txns', 'token-txns', and 'nft-txns'.",
451
+ example: "50",
452
+ require: "o",
453
+ type: "number"
454
+ }
455
+ ],
456
+ examples: [{
457
+ title: "GNOSIS",
458
+ argumentString: '"nft-txns", "0x90830Ed558f12D826370DC52E9D87947A7F18De9", "01/01/2024", "14/06/2025", 1, 50',
459
+ description: "returns NFT transaction history for the address 0x90830Ed558f12D826370DC52E9D87947A7F18De9 on the Gnosis Chain between January 1, 2024 and June 14, 2025, returning page 1 with 50 transactions per page."
460
+ }, {
461
+ title: "GNOSIS",
462
+ argumentString: '"gas"',
463
+ description: "returns current gas price metrics for the Gnosis Chain."
464
+ }]
465
+ }, T = {
466
+ API_KEY: l.Etherscan,
467
+ LOGO: "https://etherscan.io/images/favicon3.ico",
468
+ BRAND_COLOR: "#F6F7F8",
469
+ BRAND_SECONDARY_COLOR: "#21325B",
470
+ n: "ETHERSCAN",
471
+ t: 20,
472
+ d: "Returns blockchain transaction history for the given address",
473
+ a: "Retrieves blockchain data for a given chain and address from Etherscan, including txns, token/nft transfers, and gas metrics.",
474
+ p: [
475
+ {
476
+ name: "type",
477
+ detail: "The type of data to retrieve. Can be 'all-txns', 'token-txns', 'nft-txns', or 'gas'.",
478
+ example: '"all-txns"',
479
+ require: "m",
480
+ type: "string"
481
+ },
482
+ {
483
+ name: "chain",
484
+ detail: "The chain name (e.g. 'ethereum', 'base', 'gnosis').",
485
+ example: '"ethereum"',
486
+ require: "m",
487
+ type: "string"
488
+ },
489
+ {
490
+ name: "address",
491
+ detail: "Wallet address / Ens name to query",
492
+ example: '"vitalik.eth"',
493
+ require: "m",
494
+ type: "string"
495
+ },
496
+ {
497
+ name: "startDate",
498
+ detail: "Used to filter block range.",
499
+ example: '"01/01/2024"',
500
+ require: "o",
501
+ type: "string"
502
+ },
503
+ {
504
+ name: "endDate",
505
+ detail: "Used to filter block range.",
506
+ example: '"01/07/2025"',
507
+ require: "o",
508
+ type: "string"
509
+ },
510
+ {
511
+ name: "columnsName",
512
+ detail: "Filter columns by name in output. Comma separated list.",
513
+ example: '"blockNumber,timeStamp"',
514
+ require: "o",
515
+ type: "string"
516
+ }
517
+ ],
518
+ examples: [
519
+ {
520
+ title: "ETHERSCAN",
521
+ argumentString: '"all-txns", "ethereum", "vitalik.eth"',
522
+ description: "returns the complete transaction history for the address vitalik.eth on the Ethereum blockchain."
523
+ },
524
+ {
525
+ title: "ETHERSCAN",
526
+ argumentString: '"token-txns", "gnosis", "vitalik.eth", "01/01/2024", "01/05/2024"',
527
+ description: "returns the token transaction history for the address vitalik.eth on the Gnosis blockchain between January 1, 2024 and January 5, 2024."
528
+ }
529
+ ]
530
+ }, L = {
531
+ n: "PNL",
532
+ t: 20,
533
+ d: "Subtract each element from A column from B column and return the total sum.",
534
+ a: "Returns the total of A - B element-wise subtraction across two ranges.",
535
+ p: [
536
+ {
537
+ name: "A",
538
+ detail: "The column or array of values to subtract from B (e.g. cost).",
539
+ example: "A1:A10",
540
+ require: "m",
541
+ repeat: "n",
542
+ type: "range"
543
+ },
544
+ {
545
+ name: "B",
546
+ detail: "The column or array of values to subtract A from (e.g. revenue).",
547
+ example: "B1:B10",
548
+ require: "m",
549
+ repeat: "n",
550
+ type: "range"
551
+ }
552
+ ],
553
+ examples: [{
554
+ title: "PNL",
555
+ argumentString: "A1:A10, B1:B10",
556
+ description: "returns the total profit or loss by subtracting the costs in range A1:A10 from the revenues in range B1:B10."
557
+ }, {
558
+ title: "PNL",
559
+ argumentString: '"{100, 200, 150}", "{250, 300, 200}"',
560
+ description: "returns the total profit or loss by subtracting the costs {100, 200, 150} from the revenues {250, 300, 200}."
561
+ }]
562
+ }, w = {
563
+ API_KEY: l.Safe,
564
+ LOGO: "https://safe.global/favicon.ico",
565
+ BRAND_COLOR: "#ebf9f3",
566
+ BRAND_SECONDARY_COLOR: "#00B460",
567
+ n: "SAFE",
568
+ t: 20,
569
+ d: "Query the list of transactions performed by a Safe address, with optional pagination.",
570
+ a: "Query the list of transactions performed by a Safe address, with optional pagination.",
571
+ p: [
572
+ {
573
+ name: "address",
574
+ detail: "The address to query, in hexadecimal format.",
575
+ example: '"0xe9A6378d8FD4983C2999DB0735f258397E8C2253"',
576
+ require: "m"
577
+ },
578
+ {
579
+ name: "utility",
580
+ detail: "The utility to query, supported values: 'txns'.",
581
+ example: '"txns"',
582
+ require: "m"
583
+ },
584
+ {
585
+ name: "chain",
586
+ detail: "The chain to query, supported values: 'ethereum', 'gnosis'.",
587
+ example: '"gnosis"',
588
+ require: "m"
589
+ },
590
+ {
591
+ name: "limit",
592
+ detail: "The number of transactions to return, default is 100.",
593
+ example: "10",
594
+ require: "o",
595
+ repeat: "n"
596
+ },
597
+ {
598
+ name: "offset",
599
+ detail: "The number of transactions to skip, default is 0.",
600
+ example: "0",
601
+ require: "o",
602
+ repeat: "n"
603
+ }
604
+ ],
605
+ examples: [
606
+ {
607
+ title: "SAFE",
608
+ argumentString: '"0xe9A6378d8FD4983C2999DB0735f258397E8C2253", "txns", "gnosis", 10, 0',
609
+ description: "returns the last 10 transactions for the specified Safe address on the Gnosis chain."
610
+ },
611
+ {
612
+ title: "SAFE",
613
+ argumentString: '"0x1234567890abcdef1234567890abcdef12345678", "txns", "ethereum"',
614
+ description: "returns the last 100 transactions for the specified Safe address on the Ethereum chain."
615
+ }
616
+ ]
617
+ }, I = {
618
+ LOGO: "https://cdn.prod.website-files.com/65f94dfd53db8b337c808067/68485baa72714ae58f350ce2_bs-logo.png",
619
+ BRAND_COLOR: "#f8f8fd",
620
+ BRAND_SECONDARY_COLOR: "#5353D3",
621
+ n: "BLOCKSCOUT",
622
+ t: 20,
623
+ d: "Returns the onchain information about an address on a provided blockchain. By default on Ethereum mainnet.",
624
+ a: "Returns the onchain information about an address on a provided blockchain. By default on Ethereum mainnet.",
625
+ p: [
626
+ {
627
+ name: "address",
628
+ detail: "The address string representing the addresses to check for balance",
629
+ example: '"vitalik.eth"',
630
+ require: "m",
631
+ type: "string"
632
+ },
633
+ {
634
+ name: "type",
635
+ detail: "The type of data to query.",
636
+ example: '"txns"',
637
+ require: "m",
638
+ type: "string"
639
+ },
640
+ {
641
+ name: "chain",
642
+ detail: "The blockchain to query. By default on Ethereum mainnet. Can be gnosis, arbitrum, optimism, soneium, unichain ",
643
+ example: '"ethereum"',
644
+ require: "o",
645
+ type: "string"
646
+ },
647
+ {
648
+ name: "startTimestamp",
649
+ detail: 'Start date marking the start of the transaction search range. Work with type === "txns"',
650
+ example: '"01/01/2023"',
651
+ require: "o",
652
+ type: "string"
653
+ },
654
+ {
655
+ name: "endTimestamp",
656
+ detail: 'End date marking the end of the transaction search range. Work with type === "txns"',
657
+ example: '"01/05/2024"',
658
+ require: "o",
659
+ type: "string"
660
+ },
661
+ {
662
+ name: "page",
663
+ detail: 'The page number to return. Work with type === "txns"',
664
+ example: "1",
665
+ require: "o",
666
+ repeat: "n",
667
+ type: "rangenumber"
668
+ },
669
+ {
670
+ name: "offset",
671
+ detail: 'The number of transactions to return per page. Work with type === "txns"',
672
+ example: "2",
673
+ require: "o",
674
+ repeat: "n",
675
+ type: "rangenumber"
676
+ }
677
+ ],
678
+ examples: [{
679
+ title: "BLOCKSCOUT",
680
+ argumentString: '"vitalik.eth", "txns", "ethereum", "01/01/2023", "01/05/2024", 1, 2',
681
+ description: "returns transaction history for the address vitalik.eth on the Ethereum blockchain between January 1, 2023 and January 5, 2024, returning page 1 with 2 transactions per page."
682
+ }, {
683
+ title: "BLOCKSCOUT",
684
+ argumentString: '"vitalik.eth", "balance", "gnosis"',
685
+ description: "returns the balance for the address vitalik.eth on the Gnosis blockchain."
686
+ }]
687
+ }, B = {
688
+ LOGO: "https://avatars.githubusercontent.com/u/47617460?s=200&v=4",
689
+ BRAND_COLOR: "#f7f7ff",
690
+ BRAND_SECONDARY_COLOR: "#9896ff",
691
+ n: "AAVE",
692
+ t: 20,
693
+ d: "Returns Aave pools and tokens data",
694
+ a: "Retrieves Aave data for a given chain and address from Aave",
695
+ p: [
696
+ {
697
+ name: "graphType",
698
+ detail: "Graph type to Query. Can be 'v2', 'v2-raw'",
699
+ example: '"v2"',
700
+ require: "m",
701
+ type: "string"
702
+ },
703
+ {
704
+ name: "category",
705
+ detail: "Query type for the data. Can be 'tokens', 'markets'",
706
+ example: '"tokens"',
707
+ require: "m",
708
+ type: "string"
709
+ },
710
+ {
711
+ name: "param1",
712
+ detail: "Token Contract Address for market category or Token symbol",
713
+ example: '"USDT"',
714
+ require: "m",
715
+ type: "string"
716
+ },
717
+ {
718
+ name: "columnsName",
719
+ detail: "Filter columns by name in output. Comma separated list.",
720
+ example: '"id,name"',
721
+ require: "o",
722
+ type: "string"
723
+ }
724
+ ],
725
+ examples: [
726
+ {
727
+ title: "AAVE",
728
+ argumentString: '"v2", "tokens", "USDT"',
729
+ description: "returns list data for the USDT token from Aave V2."
730
+ },
731
+ {
732
+ title: "AAVE",
733
+ argumentString: '"v2-raw", "markets", "AAVE"',
734
+ description: "returns list data for the AAVE token from Aave V2."
735
+ }
736
+ ]
737
+ }, F = {
738
+ API_KEY: l.Firefly,
739
+ LOGO: "https://firefly.social/android-chrome-192x192.png",
740
+ BRAND_COLOR: "#f8f5fc",
741
+ BRAND_SECONDARY_COLOR: "#855dcd",
742
+ n: "FIREFLY",
743
+ t: 20,
744
+ d: "Fetches content from Farcaster or Lens.",
745
+ a: "Retrieves posts, replies, or channels from Farcaster and Lens by usernames, IDs, or hashes.",
746
+ p: [
747
+ {
748
+ name: "platform",
749
+ detail: "The social platform to query. Supports 'farcaster' or 'lens'.",
750
+ example: '"farcaster"',
751
+ require: "m",
752
+ type: "string"
753
+ },
754
+ {
755
+ name: "contentType",
756
+ detail: "Type of content to fetch. Supports 'posts', 'replies', and 'channels' (channels only for 'farcaster').",
757
+ example: '"posts"',
758
+ require: "m",
759
+ type: "string"
760
+ },
761
+ {
762
+ name: "identifier",
763
+ detail: "Comma-separated usernames, IDs, or post hashes depending on platform and contentType.",
764
+ example: '"toka,miroyato"',
765
+ require: "m",
766
+ type: "string"
767
+ },
768
+ {
769
+ name: "start",
770
+ detail: "Pagination start index (default is 0).",
771
+ example: "0",
772
+ require: "o",
773
+ type: "number"
774
+ },
775
+ {
776
+ name: "end",
777
+ detail: "Pagination end index (default is 10).",
778
+ example: "10",
779
+ require: "o",
780
+ type: "number"
781
+ }
782
+ ],
783
+ examples: [
784
+ {
785
+ title: "FIREFLY",
786
+ argumentString: '"farcaster", "posts", "miroyato"',
787
+ description: "returns posts made by the user with the username miroyato on Farcaster."
788
+ },
789
+ {
790
+ title: "FIREFLY",
791
+ argumentString: '"lens", "posts", "toka"',
792
+ description: "returns posts made by the user with the username toka on Lens."
793
+ }
794
+ ]
795
+ }, P = {
796
+ n: "SMARTCONTRACT",
797
+ t: 20,
798
+ d: "Query smart contract in cells. Returning a list of available functions and arguments that you can use to get data.",
799
+ r: "Query smart contract in cells. Returning a list of available functions and arguments that you can use to get data.",
800
+ p: [
801
+ {
802
+ name: "contract_address",
803
+ detail: "Address of the contract you want to query",
804
+ example: '"0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb"',
805
+ require: "m",
806
+ type: "string"
807
+ },
808
+ {
809
+ name: "chain",
810
+ detail: 'Blockchain network(s) to query. Supported values: "ethereum", "gnosis", "base". Accepts comma-separated values.',
811
+ example: '"GNOSIS"',
812
+ require: "m",
813
+ type: "string"
814
+ }
815
+ ],
816
+ examples: [
817
+ {
818
+ title: "SMARTCONTRACT",
819
+ argumentString: '"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", "ETHEREUM"',
820
+ description: "returns the list of functions and their arguments for Circle USDC contract on Ethereum."
821
+ },
822
+ {
823
+ title: "SMARTCONTRACT",
824
+ argumentString: '"0xdac17f958d2ee523a2206206994597c13d831ec7", "ETHEREUM"',
825
+ description: "returns the list of functions and their arguments for Tether USD (USDT) contract on Ethereum."
826
+ }
827
+ ]
828
+ }, G = {
829
+ LOGO: "https://www.tally.xyz/favicon.ico",
830
+ BRAND_COLOR: "#f9f8ff",
831
+ BRAND_SECONDARY_COLOR: "#725bff",
832
+ n: "TALLY",
833
+ t: 20,
834
+ d: "Query data from Tally",
835
+ a: "Query data from Tally",
836
+ p: [
837
+ {
838
+ name: "query",
839
+ detail: "The type of Tally query you want to execute. We currently support only organization and proposals.",
840
+ example: '"organization"',
841
+ require: "m",
842
+ type: "string"
843
+ },
844
+ {
845
+ name: "input1",
846
+ detail: "Query input. We currently support only organisation slug e.g Aave, Arbitrum, Compound, ENS, NounsDAO, Uniswap etc...",
847
+ example: '"arbitrum"',
848
+ require: "m",
849
+ type: "string"
850
+ }
851
+ ],
852
+ examples: [{
853
+ title: "TALLY",
854
+ argumentString: '"organization", "arbitrum"',
855
+ description: "returns details about the Arbitrum organization from Tally."
856
+ }, {
857
+ title: "TALLY",
858
+ argumentString: '"proposals", "aave"',
859
+ description: "returns proposals for the Aave organization from Tally."
860
+ }]
861
+ }, Y = {
862
+ API_KEY: l.DuneSim,
863
+ LOGO: "https://t0.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=https://docs.sim.dune.com&size=32",
864
+ BRAND_COLOR: "#fef7f5",
865
+ BRAND_SECONDARY_COLOR: "#f9ab99",
866
+ n: "DUNE",
867
+ t: 20,
868
+ d: "Query Sim APIs for blockchain activity, token prices, and token-holder data.",
869
+ a: "Query Sim APIs for blockchain activity, token prices, and token-holder data.",
870
+ p: [
871
+ {
872
+ name: "type",
873
+ detail: "Specify “price” to query token price info, “activity” for wallet activity, or “token_holders” for token-holder distribution.",
874
+ example: '"price"',
875
+ require: "m",
876
+ type: "string"
877
+ },
878
+ {
879
+ name: "input1",
880
+ detail: 'When type is "price": the chain ID or name to query token prices. When "activity": wallet address or ENS. When "token-holders": token address.',
881
+ example: '"base"',
882
+ require: "m",
883
+ type: "string"
884
+ },
885
+ {
886
+ name: "input2",
887
+ detail: 'When "price": optional historical price offsets. When "activity": optional chain ID or name ( e.g eth ). When "token-holders": chain ID or name ( e.g eth ).',
888
+ example: '"1,6,24"',
889
+ require: "o",
890
+ type: "string"
891
+ },
892
+ {
893
+ name: "input3",
894
+ detail: 'When "price": optional token contract address, when "activity": limit (1–100), when "token-holders": limit (1–500).',
895
+ example: '"0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca"',
896
+ require: "o",
897
+ type: "number"
898
+ },
899
+ {
900
+ name: "input4",
901
+ detail: 'When "price": optional limit for results.',
902
+ example: "5",
903
+ require: "o",
904
+ type: "number"
905
+ }
906
+ ],
907
+ examples: [
908
+ {
909
+ title: "DUNE",
910
+ argumentString: '"price", "base", 1, "0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca", 5',
911
+ description: "returns the price of the specified token on the Base chain with a 1-hour historical offset, limiting results to 5 entries."
912
+ },
913
+ {
914
+ title: "DUNE",
915
+ argumentString: '"activity", "vitalik.eth", "eth", 10',
916
+ description: "returns the latest 10 wallet activities for the address vitalik.eth on the Ethereum chain."
917
+ }
918
+ ]
919
+ }, U = {
920
+ n: "PRICE",
921
+ t: 20,
922
+ d: "Query prices of crypto assets",
923
+ r: "Query prices of crypto assets.",
924
+ p: [
925
+ {
926
+ name: "input1",
927
+ detail: "Token address or comma separated coin symbols",
928
+ example: '"0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca"',
929
+ require: "m",
930
+ type: "string"
931
+ },
932
+ {
933
+ name: "input2",
934
+ detail: "Single chain for token addresses, Comma separated timeframe in hours for coin symbol. Optional for coin symbols",
935
+ example: '"base"',
936
+ require: "o",
937
+ type: "string"
938
+ },
939
+ {
940
+ name: "input3",
941
+ detail: "Comma separated timeframe for token address, Skip for coin symbol",
942
+ example: '"1,24"',
943
+ require: "o",
944
+ type: "string"
945
+ }
946
+ ],
947
+ examples: [
948
+ {
949
+ title: "PRICE",
950
+ argumentString: '"0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca", "base", "1,24"',
951
+ description: "returns the price of the specified token on the Base chain with 1-hour and 24-hour historical offsets."
952
+ },
953
+ {
954
+ title: "PRICE",
955
+ argumentString: '"ETH,BTC", "1,24,168"',
956
+ description: "returns the prices of ETH and BTC with 1-hour, 24-hour, and 168-hour (7-day) historical offsets."
957
+ }
958
+ ]
959
+ }, W = {
960
+ n: "WALLET",
961
+ t: 20,
962
+ d: "Query wallet balance and transactions",
963
+ r: "Query wallet balance and transactions",
964
+ p: [
965
+ {
966
+ name: "addresses",
967
+ detail: "Comma separated addresses / ens",
968
+ example: '"vitalik.eth, 0xfA0253943c3FF0e43898cba5A7a0dA9D17C27995"',
969
+ require: "m",
970
+ type: "string"
971
+ },
972
+ {
973
+ name: "chain",
974
+ detail: "Comma separated chains",
975
+ example: '"ethereum, base"',
976
+ require: "m",
977
+ type: "any"
978
+ },
979
+ {
980
+ name: "query",
981
+ detail: 'Type of query, can be "txns" or "balance"',
982
+ example: '"txns"',
983
+ require: "m",
984
+ type: "string"
985
+ },
986
+ {
987
+ name: "timeframe",
988
+ detail: "Comma-separated timeframes in hours. Defaults to latest block for “txns” and latest balance for “balance”",
989
+ example: '"17520"',
990
+ require: "o",
991
+ type: "string"
992
+ }
993
+ ],
994
+ examples: [
995
+ {
996
+ title: "WALLET",
997
+ argumentString: '"0x7FD624f3f97A7dd36195E8379F28dB6147C270ff", "ethereum", "txns", "17520"',
998
+ description: "returns transactions for the specified wallet address on the Ethereum chain within the last 17520 hours (approximately 2 years)."
999
+ },
1000
+ {
1001
+ title: "WALLET",
1002
+ argumentString: '"vitalik.eth", "base", "balance"',
1003
+ description: "returns the latest balance for the address vitalik.eth on the Base chain."
1004
+ }
1005
+ ]
1006
+ }, K = {
1007
+ n: "YIELD",
1008
+ t: 20,
1009
+ d: "Query yields",
1010
+ r: "Query yields",
1011
+ p: [
1012
+ {
1013
+ name: "category",
1014
+ detail: "Yield category to be fetch. Can be 'all' or 'stablecoins'",
1015
+ example: '"stablecoins"',
1016
+ require: "m",
1017
+ type: "string"
1018
+ },
1019
+ {
1020
+ name: "columnsName",
1021
+ detail: "Filter columns by name in output. Comma separated list.",
1022
+ example: '"project,symbol"',
1023
+ require: "o",
1024
+ type: "string"
1025
+ }
1026
+ ],
1027
+ examples: [{
1028
+ title: "YIELD",
1029
+ argumentString: '"stablecoins"',
1030
+ description: "returns yield data for stablecoins."
1031
+ }, {
1032
+ title: "YIELD",
1033
+ argumentString: '"all"',
1034
+ description: "returns yield data for all categories."
1035
+ }]
1036
+ }, Q = {
1037
+ LOGO: "https://avatars.githubusercontent.com/u/159135534?s=200&v=4",
1038
+ n: "CIRCLES",
1039
+ t: 20,
1040
+ d: "Query the list of transactions performed by a Circles address, with optional pagination.",
1041
+ a: "Query the list of transactions performed by a Circles address, with optional pagination.",
1042
+ p: [
1043
+ {
1044
+ name: "functionName",
1045
+ detail: "The function name to query, supported values: 'trust', 'profile', 'transactions', 'balances'.",
1046
+ example: '"trust"',
1047
+ require: "m"
1048
+ },
1049
+ {
1050
+ name: "address",
1051
+ detail: "The address to query, in hexadecimal format.",
1052
+ example: '"0xe9A6378d8FD4983C2999DB0735f258397E8C2253"',
1053
+ require: "m"
1054
+ },
1055
+ {
1056
+ name: "entries",
1057
+ detail: "The number of entries to return. Default is 10.",
1058
+ example: "10",
1059
+ require: "o",
1060
+ type: "number"
1061
+ },
1062
+ {
1063
+ name: "columnsName",
1064
+ detail: "Filter columns by name in output. Comma separated list.",
1065
+ example: '"address"',
1066
+ require: "o",
1067
+ type: "string"
1068
+ }
1069
+ ],
1070
+ examples: [{
1071
+ title: "CIRCLES",
1072
+ argumentString: '"trust", "0xe9A6378d8FD4983C2999DB0735f258397E8C2253"',
1073
+ description: "returns the trust relationships for the specified Circles address."
1074
+ }, {
1075
+ title: "CIRCLES",
1076
+ argumentString: '"transactions", "0xe9A6378d8FD4983C2999DB0735f258397E8C2253", 5',
1077
+ description: "returns the last 5 transactions for the specified Circles address."
1078
+ }]
1079
+ }, V = [
1080
+ S,
1081
+ D,
1082
+ R,
1083
+ _,
1084
+ q,
1085
+ N,
1086
+ T,
1087
+ L,
1088
+ w,
1089
+ I,
1090
+ B,
1091
+ F,
1092
+ P,
1093
+ G,
1094
+ Y,
1095
+ U,
1096
+ W,
1097
+ K,
1098
+ Q
1099
+ // GNOSISPAY_metadata,
1100
+ /*{
1101
+ LOGO: 'https://raw.githubusercontent.com/mritunjayz/github-storage/refs/heads/main/ploymarket.png',
1102
+ n: 'POLYMARKET',
1103
+ t: 20,
1104
+ d: 'Query prediction market positions, shares, and odds for future event outcomes on Polymarket. (Comming soon)',
1105
+ a: 'Query prediction market positions, shares, and odds for future event outcomes on Polymarket. (Comming soon)',
1106
+ p: []
1107
+ },
1108
+ {
1109
+ LOGO: 'https://raw.githubusercontent.com/mritunjayz/github-storage/refs/heads/main/privacy.png',
1110
+ n: 'PRIVACYPOOL',
1111
+ t: 20,
1112
+ d: 'Access deposit/withdraw stats and compliance-safe anonymized transfers using zk-based Privacy Pools. (Comming soon)',
1113
+ a: 'Access deposit/withdraw stats and compliance-safe anonymized transfers using zk-based Privacy Pools. (Comming soon)',
1114
+ p: []
1115
+ },
1116
+ {
1117
+ LOGO: 'https://raw.githubusercontent.com/mritunjayz/github-storage/refs/heads/main/rotki.png',
1118
+ n: 'ROTKI',
1119
+ t: 20,
1120
+ d: 'Pull portfolio, asset, and tax-related data from Rotki for crypto accounting and reporting. (Comming soon)',
1121
+ a: 'Pull portfolio, asset, and tax-related data from Rotki for crypto accounting and reporting. (Comming soon)',
1122
+ p: []
1123
+ },
1124
+ {
1125
+ LOGO: 'https://raw.githubusercontent.com/mritunjayz/github-storage/refs/heads/main/meerkat.png',
1126
+ n: 'MEERKAT',
1127
+ t: 20,
1128
+ d: 'Query onchain proofs for tickets, attendance, speaker roles, and reactions. (Comming soon)',
1129
+ a: 'Query onchain proofs for tickets, attendance, speaker roles, and reactions. (Comming soon)',
1130
+ p: []
1131
+ },
1132
+ {
1133
+ LOGO: 'https://raw.githubusercontent.com/mritunjayz/github-storage/refs/heads/main/artemis.png',
1134
+ n: 'ARTEMIS',
1135
+ t: 20,
1136
+ d: 'Query onchain financial metrics, developer activity, and market insights across protocols and sectors. (Comming soon)',
1137
+ a: 'Query onchain financial metrics, developer activity, and market insights across protocols and sectors. (Comming soon)',
1138
+ p: []
1139
+ },
1140
+ {
1141
+ LOGO: 'https://raw.githubusercontent.com/mritunjayz/github-storage/refs/heads/main/MYANIMELIST.png',
1142
+ n: 'MYANIMELIST',
1143
+ t: 20,
1144
+ d: 'Kawaiii, comming soon. Hello Keith! (Comming soon)',
1145
+ a: 'Kawaiii, comming soon. Hello Keith! (Comming soon)',
1146
+ p: []
1147
+ }*/
1148
+ ];
1149
+ E(k());
1150
+ export {
1151
+ M as E,
1152
+ V as F,
1153
+ l as S
1154
+ };