@fileverse-dev/formulajs 4.4.53 → 4.4.55

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.
@@ -256,290 +256,6 @@ var EOA_metadata = {
256
256
  }]
257
257
  };
258
258
 
259
- // src/crypto/uniswap/metadata.js
260
- var UNISWAP_metadata = {
261
- LOGO: "https://app.uniswap.org/favicon.png",
262
- BRAND_COLOR: "#fef5fc",
263
- BRAND_SECONDARY_COLOR: "#f50db4",
264
- n: "UNISWAP",
265
- t: 20,
266
- d: "Returns Uniswap pools and tokens data",
267
- a: "Retrieves Uniswap data for a given chain and address from Uniswap",
268
- p: [
269
- {
270
- name: "graphType",
271
- detail: "Graph type to Query. Can be 'v3', 'v3-raw'",
272
- example: `"v3"`,
273
- require: "m",
274
- type: "string"
275
- },
276
- {
277
- name: "category",
278
- detail: "Query type for the data. Can be 'tokens', 'markets'",
279
- example: `"tokens"`,
280
- require: "m",
281
- type: "string"
282
- },
283
- {
284
- name: "param1",
285
- detail: "Token Contract Address for market or Token symbol ",
286
- example: `"eth"`,
287
- require: "m",
288
- type: "string"
289
- },
290
- {
291
- name: "columnsName",
292
- detail: "Filter columns by name in output. Comma separated list.",
293
- example: `"id,address"`,
294
- require: "o",
295
- type: "string"
296
- }
297
- ],
298
- examples: [
299
- {
300
- title: "UNISWAP",
301
- argumentString: '"v3", "tokens", "eth"',
302
- description: "returns data for the ETH token from Uniswap V3."
303
- },
304
- {
305
- title: "UNISWAP",
306
- argumentString: '"v3-raw", "markets", "0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8"',
307
- description: "returns data for the Uniswap V3 market with the specified contract address."
308
- }
309
- ]
310
- };
311
-
312
- // src/crypto/coingecko/metadata.js
313
- var COINGECKO_metadata = {
314
- LOGO: "https://files.readme.io/06394e687778e238a6cd43de6e1d7d339043aa50054703f64606369352ef1864-VariantCG-Symbol-Color.png",
315
- BRAND_COLOR: "#f8fdf8",
316
- BRAND_SECONDARY_COLOR: "#4bc63d",
317
- n: "COINGECKO",
318
- t: 20,
319
- API_KEY: SERVICES_API_KEY.Coingecko,
320
- d: "Query crypto prices, ecosystem market data, stablecoins, or derivatives from CoinGecko.",
321
- a: 'Supports querying: "price" for specific tokens "market" for ecosystem categories (ETH, BASE, SOL, GNOSIS, HYPERLIQUID, BITCOIN, PUMP)\n- "stablecoins" for stablecoin categories like "crypto-backed-stablecoin"\n- "derivatives" globally or per exchange.\nPagination is supported for all except single-exchange derivatives.',
322
- p: [
323
- {
324
- name: "category",
325
- detail: 'Query type: "price", "market", "stablecoins", or "derivatives".',
326
- example: `"stablecoins"`,
327
- require: "m"
328
- },
329
- {
330
- name: "param1",
331
- detail: `If "price" then - eg. "BTC", "ETH", OR any token on coingecko
332
- If "market": one of "all", "base", "meme", "aiagents", "bitcoin", "ethereum", "hyperliquid", "pump", "solana".
333
- If "stablecoins": one of "all", "yield-bearing-stablecoins", "crypto-backed-stablecoin".
334
- If "derivatives": exchange name (e.g., "binance_futures", "hyperliquid", "weex-futures", "bybit" ).`,
335
- example: `"yield-bearing-stablecoins"`,
336
- require: "m"
337
- },
338
- {
339
- name: "param2",
340
- detail: `If "market" and "stablecoins" then eg. "1h", "24h", "7d", "14d", "30d", "200d", "1y".`,
341
- example: `"1h,24h,7d"`,
342
- require: "o"
343
- },
344
- {
345
- name: "columnsName",
346
- detail: "Filter columns by name in output. Comma separated list.",
347
- example: `"id,symbol"`,
348
- require: "o",
349
- type: "string"
350
- }
351
- ],
352
- examples: [
353
- {
354
- title: "COINGECKO",
355
- argumentString: '"stablecoins", "yield-bearing-stablecoins", "1h,24h,7d"',
356
- description: "returns the yield-bearing stablecoins with percentage changes over 1 hour, 24 hours, and 7 days."
357
- },
358
- {
359
- title: "COINGECKO",
360
- argumentString: '"derivatives", "binance_futures"',
361
- description: "returns the derivatives data from the Binance Futures exchange."
362
- }
363
- ]
364
- };
365
-
366
- // src/crypto/defillama/metadata.js
367
- var DEFILLAMA_metadata = {
368
- API_KEY: SERVICES_API_KEY.Defillama,
369
- LOGO: "https://defillama.com/favicon.ico",
370
- BRAND_COLOR: "#f8f5fc",
371
- BRAND_SECONDARY_COLOR: "#855dcd",
372
- n: "DEFILLAMA",
373
- t: 20,
374
- d: "returns content from Defillama.",
375
- a: "Retrieves data from Defillama.",
376
- p: [
377
- {
378
- name: "category",
379
- detail: "Type of content to fetch. Supports 'protocols', 'yields', 'dex', or 'fees'.",
380
- example: `"protocols"`,
381
- require: "m",
382
- type: "string"
383
- },
384
- {
385
- name: "columnsName",
386
- detail: "Filter columns by name in output. Comma separated list.",
387
- example: `"name,address"`,
388
- require: "o",
389
- type: "string"
390
- }
391
- ],
392
- examples: [{
393
- title: "DEFILLAMA",
394
- argumentString: '"protocols"',
395
- description: "returns a list of DeFi protocols from Defillama."
396
- }, {
397
- title: "DEFILLAMA",
398
- argumentString: '"dex"',
399
- description: "returns decentralized exchange (DEX) data from Defillama."
400
- }]
401
- };
402
-
403
- // src/crypto/base/metadata.js
404
- var BASE_metadata = {
405
- API_KEY: SERVICES_API_KEY.Basescan,
406
- 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",
407
- BRAND_COLOR: "#f1f5ff",
408
- BRAND_SECONDARY_COLOR: "#2752ff",
409
- n: "BASE",
410
- t: 20,
411
- d: "Fetches Base network data via Basescan: native txns, ERC-20 transfers, ERC-721 transfers, and gas metrics.",
412
- a: "Pulls on-chain activity for Base (chainid 8453) using Basescan\u2019s API \u2014 supports full tx history, token/NFT transfers, gas prices, and pagination.",
413
- p: [
414
- {
415
- name: "type",
416
- detail: "Data category: 'all-txns' | 'token-txns' | 'nft-txns' | 'gas'.",
417
- example: `"token-txns"`,
418
- require: "m",
419
- type: "string"
420
- },
421
- {
422
- name: "address",
423
- detail: "Target wallet address (only required for txns, token, and nft queries). Not needed for 'gas'.",
424
- example: `"0x7FD624f3f97A7dd36195E8379F28dB6147C270ff"`,
425
- require: "o",
426
- type: "string"
427
- },
428
- {
429
- name: "startDate",
430
- detail: "Start date (used to resolve block range). Optional, only applies to txns.",
431
- example: `"01/01/2024"`,
432
- require: "o",
433
- type: "string"
434
- },
435
- {
436
- name: "endDate",
437
- detail: "End date (used to resolve block range). Optional, only applies to txns.",
438
- example: `"07/07/2024"`,
439
- require: "o",
440
- type: "string"
441
- },
442
- {
443
- name: "page",
444
- detail: "Page number for paginated results. Only applies to txns/token/nft queries.",
445
- example: `1`,
446
- require: "o",
447
- type: "number"
448
- },
449
- {
450
- name: "offset",
451
- detail: "Number of items per page (limit). Only applies to txns/token/nft queries.",
452
- example: `2`,
453
- require: "o",
454
- type: "number"
455
- },
456
- {
457
- name: "columnsName",
458
- detail: "Filter columns by name in output. Comma separated list.",
459
- example: `"blockNumber,timeStamp"`,
460
- require: "o",
461
- type: "string"
462
- }
463
- ],
464
- examples: [
465
- {
466
- title: "BASE",
467
- argumentString: '"token-txns", "0x7FD624f3f97A7dd36195E8379F28dB6147C270ff", "01/01/2024", "07/07/2024", 1, 2',
468
- 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."
469
- },
470
- {
471
- title: "BASE",
472
- argumentString: '"gas"',
473
- description: "returns gas price metrics for the Base network."
474
- }
475
- ]
476
- };
477
-
478
- // src/crypto/gnosis/metadata.js
479
- var GNOSIS_metadata = {
480
- API_KEY: SERVICES_API_KEY.Gnosisscan,
481
- LOGO: "https://gnosisscan.io/assets/generic/html/favicon-light.ico",
482
- BRAND_COLOR: "#f6f7f6",
483
- BRAND_SECONDARY_COLOR: "#133629",
484
- n: "GNOSIS",
485
- t: 20,
486
- d: "Fetches Gnosis Chain data via Gnosisscan: native transactions, ERC-20 token transfers, ERC-721 NFT transfers, and gas metrics.",
487
- a: "Queries Gnosis Chain (chainid 100) through Gnosisscan\u2019s API to return transaction history, token/NFT transfers, or gas price information. Supports pagination and time-based filtering for transaction types.",
488
- p: [
489
- {
490
- name: "type",
491
- detail: "Data category to fetch. Options: 'all-txns', 'token-txns', 'nft-txns', or 'gas'.",
492
- example: `"nft-txns"`,
493
- require: "m",
494
- type: "string"
495
- },
496
- {
497
- name: "address",
498
- detail: "Wallet address to query. Required for all types except 'gas'.",
499
- example: `"0x90830Ed558f12D826370DC52E9D87947A7F18De9"`,
500
- require: "o",
501
- type: "string"
502
- },
503
- {
504
- name: "startDate",
505
- detail: "Used to resolve starting block for txns.",
506
- example: `"01/01/2024"`,
507
- require: "o",
508
- type: "string"
509
- },
510
- {
511
- name: "endDate",
512
- detail: "Used to resolve ending block for txns.",
513
- example: `"14/06/2025"`,
514
- require: "o",
515
- type: "string"
516
- },
517
- {
518
- name: "page",
519
- detail: "Page number for paginated transaction results. Applies only to 'txns', 'token-txns', and 'nft-txns'.",
520
- example: `1`,
521
- require: "o",
522
- type: "number"
523
- },
524
- {
525
- name: "offset",
526
- detail: "Number of results per page (limit). Applies only to 'txns', 'token-txns', and 'nft-txns'.",
527
- example: `50`,
528
- require: "o",
529
- type: "number"
530
- }
531
- ],
532
- examples: [{
533
- title: "GNOSIS",
534
- argumentString: '"nft-txns", "0x90830Ed558f12D826370DC52E9D87947A7F18De9", "01/01/2024", "14/06/2025", 1, 50',
535
- 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."
536
- }, {
537
- title: "GNOSIS",
538
- argumentString: '"gas"',
539
- description: "returns current gas price metrics for the Gnosis Chain."
540
- }]
541
- };
542
-
543
259
  // src/crypto/etherscan/metadata.js
544
260
  var ETHERSCAN_metadata = {
545
261
  API_KEY: SERVICES_API_KEY.Etherscan,
@@ -608,612 +324,27 @@ var ETHERSCAN_metadata = {
608
324
  ]
609
325
  };
610
326
 
611
- // src/crypto/pnl/metadata.js
612
- var PNL_metadata = {
613
- n: "PNL",
614
- t: 20,
615
- d: "Subtract each element from A column from B column and return the total sum.",
616
- a: "Returns the total of A - B element-wise subtraction across two ranges.",
617
- p: [
618
- {
619
- name: "A",
620
- detail: "The column or array of values to subtract from B (e.g. cost).",
621
- example: "A1:A10",
622
- require: "m",
623
- repeat: "n",
624
- type: "range"
625
- },
626
- {
627
- name: "B",
628
- detail: "The column or array of values to subtract A from (e.g. revenue).",
629
- example: "B1:B10",
630
- require: "m",
631
- repeat: "n",
632
- type: "range"
633
- }
634
- ],
635
- examples: [{
636
- title: "PNL",
637
- argumentString: "A1:A10, B1:B10",
638
- description: "returns the total profit or loss by subtracting the costs in range A1:A10 from the revenues in range B1:B10."
639
- }, {
640
- title: "PNL",
641
- argumentString: '"{100, 200, 150}", "{250, 300, 200}"',
642
- description: "returns the total profit or loss by subtracting the costs {100, 200, 150} from the revenues {250, 300, 200}."
643
- }]
644
- };
645
-
646
- // src/crypto/safe/metadata.js
647
- var SAFE_metadata = {
648
- API_KEY: SERVICES_API_KEY.Safe,
649
- LOGO: "https://safe.global/favicon.ico",
650
- BRAND_COLOR: "#ebf9f3",
651
- BRAND_SECONDARY_COLOR: "#00B460",
652
- n: "SAFE",
653
- t: 20,
654
- d: "Query the list of transactions performed by a Safe address, with optional pagination.",
655
- a: "Query the list of transactions performed by a Safe address, with optional pagination.",
656
- p: [
657
- {
658
- name: "address",
659
- detail: "The address to query, in hexadecimal format.",
660
- example: `"0xe9A6378d8FD4983C2999DB0735f258397E8C2253"`,
661
- require: "m"
662
- },
663
- {
664
- name: "utility",
665
- detail: "The utility to query, supported values: 'txns'.",
666
- example: `"txns"`,
667
- require: "m"
668
- },
669
- {
670
- name: "chain",
671
- detail: "The chain to query, supported values: 'ethereum', 'gnosis'.",
672
- example: `"gnosis"`,
673
- require: "m"
674
- },
675
- {
676
- name: "limit",
677
- detail: "The number of transactions to return, default is 100.",
678
- example: `10`,
679
- require: "o",
680
- repeat: "n"
681
- },
682
- {
683
- name: "offset",
684
- detail: "The number of transactions to skip, default is 0.",
685
- example: `0`,
686
- require: "o",
687
- repeat: "n"
688
- }
689
- ],
690
- examples: [
691
- {
692
- title: "SAFE",
693
- argumentString: '"0xe9A6378d8FD4983C2999DB0735f258397E8C2253", "txns", "gnosis", 10, 0',
694
- description: "returns the last 10 transactions for the specified Safe address on the Gnosis chain."
695
- },
696
- {
697
- title: "SAFE",
698
- argumentString: '"0x1234567890abcdef1234567890abcdef12345678", "txns", "ethereum"',
699
- description: "returns the last 100 transactions for the specified Safe address on the Ethereum chain."
700
- }
701
- ]
702
- };
703
-
704
- // src/crypto/blockscout/metadata.js
705
- var BLOCKSCOUT_metadata = {
706
- LOGO: "https://cdn.prod.website-files.com/65f94dfd53db8b337c808067/68485baa72714ae58f350ce2_bs-logo.png",
707
- BRAND_COLOR: "#f8f8fd",
708
- BRAND_SECONDARY_COLOR: "#5353D3",
709
- n: "BLOCKSCOUT",
710
- t: 20,
711
- d: "Returns the onchain information about an address on a provided blockchain. By default on Ethereum mainnet.",
712
- a: "Returns the onchain information about an address on a provided blockchain. By default on Ethereum mainnet.",
713
- p: [
714
- {
715
- name: "address",
716
- detail: "The address string representing the addresses to check for balance",
717
- example: `"vitalik.eth"`,
718
- require: "m",
719
- type: "string"
720
- },
721
- {
722
- name: "type",
723
- detail: "The type of data to query.",
724
- example: `"txns"`,
725
- require: "m",
726
- type: "string"
727
- },
728
- {
729
- name: "chain",
730
- detail: "The blockchain to query. By default on Ethereum mainnet. Can be gnosis, arbitrum, optimism, soneium, unichain ",
731
- example: `"ethereum"`,
732
- require: "o",
733
- type: "string"
734
- },
735
- {
736
- name: "startTimestamp",
737
- detail: 'Start date marking the start of the transaction search range. Work with type === "txns"',
738
- example: `"01/01/2023"`,
739
- require: "o",
740
- type: "string"
741
- },
742
- {
743
- name: "endTimestamp",
744
- detail: 'End date marking the end of the transaction search range. Work with type === "txns"',
745
- example: `"01/05/2024"`,
746
- require: "o",
747
- type: "string"
748
- },
749
- {
750
- name: "page",
751
- detail: 'The page number to return. Work with type === "txns"',
752
- example: "1",
753
- require: "o",
754
- repeat: "n",
755
- type: "rangenumber"
756
- },
757
- {
758
- name: "offset",
759
- detail: 'The number of transactions to return per page. Work with type === "txns"',
760
- example: "2",
761
- require: "o",
762
- repeat: "n",
763
- type: "rangenumber"
764
- }
765
- ],
766
- examples: [{
767
- title: "BLOCKSCOUT",
768
- argumentString: '"vitalik.eth", "txns", "ethereum", "01/01/2023", "01/05/2024", 1, 2',
769
- 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."
770
- }, {
771
- title: "BLOCKSCOUT",
772
- argumentString: '"vitalik.eth", "balance", "gnosis"',
773
- description: "returns the balance for the address vitalik.eth on the Gnosis blockchain."
774
- }]
775
- };
776
-
777
- // src/crypto/aave/metadata.js
778
- var AAVE_metadata = {
779
- LOGO: "https://avatars.githubusercontent.com/u/47617460?s=200&v=4",
780
- BRAND_COLOR: "#f7f7ff",
781
- BRAND_SECONDARY_COLOR: "#9896ff",
782
- n: "AAVE",
783
- t: 20,
784
- d: "Returns Aave pools and tokens data",
785
- a: "Retrieves Aave data for a given chain and address from Aave",
786
- p: [
787
- {
788
- name: "graphType",
789
- detail: "Graph type to Query. Can be 'v2', 'v2-raw'",
790
- example: `"v2"`,
791
- require: "m",
792
- type: "string"
793
- },
794
- {
795
- name: "category",
796
- detail: "Query type for the data. Can be 'tokens', 'markets'",
797
- example: `"tokens"`,
798
- require: "m",
799
- type: "string"
800
- },
801
- {
802
- name: "param1",
803
- detail: "Token Contract Address for market category or Token symbol",
804
- example: `"USDT"`,
805
- require: "m",
806
- type: "string"
807
- },
808
- {
809
- name: "columnsName",
810
- detail: "Filter columns by name in output. Comma separated list.",
811
- example: `"id,name"`,
812
- require: "o",
813
- type: "string"
814
- }
815
- ],
816
- examples: [
817
- {
818
- title: "AAVE",
819
- argumentString: '"v2", "tokens", "USDT"',
820
- description: "returns list data for the USDT token from Aave V2."
821
- },
822
- {
823
- title: "AAVE",
824
- argumentString: '"v2-raw", "markets", "AAVE"',
825
- description: "returns list data for the AAVE token from Aave V2."
826
- }
827
- ]
828
- };
829
-
830
- // src/crypto/firefly/metadata.js
831
- var FIREFLY_metadata = {
832
- API_KEY: SERVICES_API_KEY.Firefly,
833
- LOGO: "https://firefly.social/android-chrome-192x192.png",
834
- BRAND_COLOR: "#f8f5fc",
835
- BRAND_SECONDARY_COLOR: "#855dcd",
836
- n: "FIREFLY",
837
- t: 20,
838
- d: "Fetches content from Farcaster or Lens.",
839
- a: "Retrieves posts, replies, or channels from Farcaster and Lens by usernames, IDs, or hashes.",
840
- p: [
841
- {
842
- name: "platform",
843
- detail: "The social platform to query. Supports 'farcaster' or 'lens'.",
844
- example: `"farcaster"`,
845
- require: "m",
846
- type: "string"
847
- },
848
- {
849
- name: "contentType",
850
- detail: "Type of content to fetch. Supports 'posts', 'replies', and 'channels' (channels only for 'farcaster').",
851
- example: `"posts"`,
852
- require: "m",
853
- type: "string"
854
- },
855
- {
856
- name: "identifier",
857
- detail: "Comma-separated usernames, IDs, or post hashes depending on platform and contentType.",
858
- example: `"toka,miroyato"`,
859
- require: "m",
860
- type: "string"
861
- },
862
- {
863
- name: "start",
864
- detail: "Pagination start index (default is 0).",
865
- example: `0`,
866
- require: "o",
867
- type: "number"
868
- },
869
- {
870
- name: "end",
871
- detail: "Pagination end index (default is 10).",
872
- example: `10`,
873
- require: "o",
874
- type: "number"
875
- }
876
- ],
877
- examples: [
878
- {
879
- title: "FIREFLY",
880
- argumentString: '"farcaster", "posts", "miroyato"',
881
- description: "returns posts made by the user with the username miroyato on Farcaster."
882
- },
883
- {
884
- title: "FIREFLY",
885
- argumentString: '"lens", "posts", "toka"',
886
- description: "returns posts made by the user with the username toka on Lens."
887
- }
888
- ]
889
- };
890
-
891
- // src/crypto/smart-contract/metadata.js
892
- var SMARTCONTRACT_metadata = {
893
- n: "SMARTCONTRACT",
894
- t: 20,
895
- d: "Query smart contract in cells. Returning a list of available functions and arguments that you can use to get data.",
896
- r: "Query smart contract in cells. Returning a list of available functions and arguments that you can use to get data.",
897
- p: [
898
- {
899
- name: "contract_address",
900
- detail: "Address of the contract you want to query",
901
- example: '"0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb"',
902
- require: "m",
903
- type: "string"
904
- },
905
- {
906
- name: "chain",
907
- detail: 'Blockchain network(s) to query. Supported values: "ethereum", "gnosis", "base". Accepts comma-separated values.',
908
- example: '"GNOSIS"',
909
- require: "m",
910
- type: "string"
911
- }
912
- ],
913
- examples: [
914
- {
915
- title: "SMARTCONTRACT",
916
- argumentString: '"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", "ETHEREUM"',
917
- description: "returns the list of functions and their arguments for Circle USDC contract on Ethereum."
918
- },
919
- {
920
- title: "SMARTCONTRACT",
921
- argumentString: '"0xdac17f958d2ee523a2206206994597c13d831ec7", "ETHEREUM"',
922
- description: "returns the list of functions and their arguments for Tether USD (USDT) contract on Ethereum."
923
- }
924
- ]
925
- };
926
-
927
- // src/crypto/tally/metadata.js
928
- var TALLY_metadata = {
929
- LOGO: "https://www.tally.xyz/favicon.ico",
930
- BRAND_COLOR: "#f9f8ff",
931
- BRAND_SECONDARY_COLOR: "#725bff",
932
- n: "TALLY",
933
- t: 20,
934
- d: "Query data from Tally",
935
- a: "Query data from Tally",
936
- p: [
937
- {
938
- name: "query",
939
- detail: "The type of Tally query you want to execute. We currently support only organization and proposals.",
940
- example: `"organization"`,
941
- require: "m",
942
- type: "string"
943
- },
944
- {
945
- name: "input1",
946
- detail: "Query input. We currently support only organisation slug e.g Aave, Arbitrum, Compound, ENS, NounsDAO, Uniswap etc...",
947
- example: `"arbitrum"`,
948
- require: "m",
949
- type: "string"
950
- }
951
- ],
952
- examples: [{
953
- title: "TALLY",
954
- argumentString: '"organization", "arbitrum"',
955
- description: "returns details about the Arbitrum organization from Tally."
956
- }, {
957
- title: "TALLY",
958
- argumentString: '"proposals", "aave"',
959
- description: "returns proposals for the Aave organization from Tally."
960
- }]
961
- };
962
-
963
- // src/crypto/dune-sim/metadata.js
964
- var DUNESIM_metadata = {
965
- API_KEY: SERVICES_API_KEY.DuneSim,
966
- LOGO: "https://t0.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=https://docs.sim.dune.com&size=32",
967
- BRAND_COLOR: "#fef7f5",
968
- BRAND_SECONDARY_COLOR: "#f9ab99",
969
- n: "DUNE",
970
- t: 20,
971
- d: "Query Sim APIs for blockchain activity, token prices, and token-holder data.",
972
- a: "Query Sim APIs for blockchain activity, token prices, and token-holder data.",
973
- p: [
974
- {
975
- name: "type",
976
- detail: "Specify \u201Cprice\u201D to query token price info, \u201Cactivity\u201D for wallet activity, or \u201Ctoken_holders\u201D for token-holder distribution.",
977
- example: `"price"`,
978
- require: "m",
979
- type: "string"
980
- },
981
- {
982
- name: "input1",
983
- 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.',
984
- example: `"base"`,
985
- require: "m",
986
- type: "string"
987
- },
988
- {
989
- name: "input2",
990
- 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 ).',
991
- example: `"1,6,24"`,
992
- require: "o",
993
- type: "string"
994
- },
995
- {
996
- name: "input3",
997
- detail: 'When "price": optional token contract address, when "activity": limit (1\u2013100), when "token-holders": limit (1\u2013500).',
998
- example: `"0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca"`,
999
- require: "o",
1000
- type: "number"
1001
- },
1002
- {
1003
- name: "input4",
1004
- detail: 'When "price": optional limit for results.',
1005
- example: `5`,
1006
- require: "o",
1007
- type: "number"
1008
- }
1009
- ],
1010
- examples: [
1011
- {
1012
- title: "DUNE",
1013
- argumentString: '"price", "base", 1, "0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca", 5',
1014
- description: "returns the price of the specified token on the Base chain with a 1-hour historical offset, limiting results to 5 entries."
1015
- },
1016
- {
1017
- title: "DUNE",
1018
- argumentString: '"activity", "vitalik.eth", "eth", 10',
1019
- description: "returns the latest 10 wallet activities for the address vitalik.eth on the Ethereum chain."
1020
- }
1021
- ]
1022
- };
1023
-
1024
- // src/crypto/price/metadata.js
1025
- var PRICE_metadata = {
1026
- n: "PRICE",
1027
- t: 20,
1028
- d: "Query prices of crypto assets",
1029
- r: "Query prices of crypto assets.",
1030
- p: [
1031
- {
1032
- name: "input1",
1033
- detail: "Token address or comma separated coin symbols",
1034
- example: '"0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca"',
1035
- require: "m",
1036
- type: "string"
1037
- },
1038
- {
1039
- name: "input2",
1040
- detail: "Single chain for token addresses, Comma separated timeframe in hours for coin symbol. Optional for coin symbols",
1041
- example: '"base"',
1042
- require: "o",
1043
- type: "string"
1044
- },
1045
- {
1046
- name: "input3",
1047
- detail: "Comma separated timeframe for token address, Skip for coin symbol",
1048
- example: '"1,24"',
1049
- require: "o",
1050
- type: "string"
1051
- }
1052
- ],
1053
- examples: [
1054
- {
1055
- title: "PRICE",
1056
- argumentString: '"0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca", "base", "1,24"',
1057
- description: "returns the price of the specified token on the Base chain with 1-hour and 24-hour historical offsets."
1058
- },
1059
- {
1060
- title: "PRICE",
1061
- argumentString: '"ETH,BTC", "1,24,168"',
1062
- description: "returns the prices of ETH and BTC with 1-hour, 24-hour, and 168-hour (7-day) historical offsets."
1063
- }
1064
- ]
1065
- };
1066
-
1067
- // src/crypto/wallet/metadata.js
1068
- var WALLET_metadata = {
1069
- n: "WALLET",
1070
- t: 20,
1071
- d: "Query wallet balance and transactions",
1072
- r: "Query wallet balance and transactions",
1073
- p: [
1074
- {
1075
- name: "addresses",
1076
- detail: "Comma separated addresses / ens",
1077
- example: '"vitalik.eth, 0xfA0253943c3FF0e43898cba5A7a0dA9D17C27995"',
1078
- require: "m",
1079
- type: "string"
1080
- },
1081
- {
1082
- name: "chain",
1083
- detail: "Comma separated chains",
1084
- example: '"ethereum, base"',
1085
- require: "m",
1086
- type: "any"
1087
- },
1088
- {
1089
- name: "query",
1090
- detail: 'Type of query, can be "txns" or "balance"',
1091
- example: '"txns"',
1092
- require: "m",
1093
- type: "string"
1094
- },
1095
- {
1096
- name: "timeframe",
1097
- detail: "Comma-separated timeframes in hours. Defaults to latest block for \u201Ctxns\u201D and latest balance for \u201Cbalance\u201D",
1098
- example: '"17520"',
1099
- require: "o",
1100
- type: "string"
1101
- }
1102
- ],
1103
- examples: [
1104
- {
1105
- title: "WALLET",
1106
- argumentString: '"0x7FD624f3f97A7dd36195E8379F28dB6147C270ff", "ethereum", "txns", "17520"',
1107
- description: "returns transactions for the specified wallet address on the Ethereum chain within the last 17520 hours (approximately 2 years)."
1108
- },
1109
- {
1110
- title: "WALLET",
1111
- argumentString: '"vitalik.eth", "base", "balance"',
1112
- description: "returns the latest balance for the address vitalik.eth on the Base chain."
1113
- }
1114
- ]
1115
- };
1116
-
1117
- // src/crypto/yield/metadata.js
1118
- var YIELD_metadata = {
1119
- n: "YIELD",
1120
- t: 20,
1121
- d: "Query yields",
1122
- r: "Query yields",
1123
- p: [
1124
- {
1125
- name: "category",
1126
- detail: "Yield category to be fetch. Can be 'all' or 'stablecoins'",
1127
- example: `"stablecoins"`,
1128
- require: "m",
1129
- type: "string"
1130
- },
1131
- {
1132
- name: "columnsName",
1133
- detail: "Filter columns by name in output. Comma separated list.",
1134
- example: `"project,symbol"`,
1135
- require: "o",
1136
- type: "string"
1137
- }
1138
- ],
1139
- examples: [{
1140
- title: "YIELD",
1141
- argumentString: '"stablecoins"',
1142
- description: "returns yield data for stablecoins."
1143
- }, {
1144
- title: "YIELD",
1145
- argumentString: '"all"',
1146
- description: "returns yield data for all categories."
1147
- }]
1148
- };
1149
-
1150
- // src/crypto/circles/metadata.js
1151
- var CIRCLES_metadata = {
1152
- LOGO: "https://avatars.githubusercontent.com/u/159135534?s=200&v=4",
1153
- n: "CIRCLES",
1154
- t: 20,
1155
- d: "Query the list of transactions performed by a Circles address, with optional pagination.",
1156
- a: "Query the list of transactions performed by a Circles address, with optional pagination.",
1157
- p: [
1158
- {
1159
- name: "functionName",
1160
- detail: "The function name to query, supported values: 'trust', 'profile', 'transactions', 'balances'.",
1161
- example: `"trust"`,
1162
- require: "m"
1163
- },
1164
- {
1165
- name: "address",
1166
- detail: "The address to query, in hexadecimal format.",
1167
- example: `"0xe9A6378d8FD4983C2999DB0735f258397E8C2253"`,
1168
- require: "m"
1169
- },
1170
- {
1171
- name: "entries",
1172
- detail: "The number of entries to return. Default is 10.",
1173
- example: `10`,
1174
- require: "o",
1175
- type: "number"
1176
- },
1177
- {
1178
- name: "columnsName",
1179
- detail: "Filter columns by name in output. Comma separated list.",
1180
- example: `"address"`,
1181
- require: "o",
1182
- type: "string"
1183
- }
1184
- ],
1185
- examples: [{
1186
- title: "CIRCLES",
1187
- argumentString: '"trust", "0xe9A6378d8FD4983C2999DB0735f258397E8C2253"',
1188
- description: "returns the trust relationships for the specified Circles address."
1189
- }, {
1190
- title: "CIRCLES",
1191
- argumentString: '"transactions", "0xe9A6378d8FD4983C2999DB0735f258397E8C2253", 5',
1192
- description: "returns the last 5 transactions for the specified Circles address."
1193
- }]
1194
- };
1195
-
1196
327
  // src/crypto/crypto-metadata.js
1197
328
  var FUNCTION_LOCALE = [
1198
329
  EOA_metadata,
1199
- UNISWAP_metadata,
1200
- COINGECKO_metadata,
1201
- DEFILLAMA_metadata,
1202
- BASE_metadata,
1203
- GNOSIS_metadata,
1204
- ETHERSCAN_metadata,
1205
- PNL_metadata,
1206
- SAFE_metadata,
1207
- BLOCKSCOUT_metadata,
1208
- AAVE_metadata,
1209
- FIREFLY_metadata,
1210
- SMARTCONTRACT_metadata,
1211
- TALLY_metadata,
1212
- DUNESIM_metadata,
1213
- PRICE_metadata,
1214
- WALLET_metadata,
1215
- YIELD_metadata,
1216
- CIRCLES_metadata
330
+ ETHERSCAN_metadata
331
+ // UNISWAP_metadata,
332
+ // COINGECKO_metadata,
333
+ // DEFILLAMA_metadata,
334
+ // BASE_metadata,
335
+ // GNOSIS_metadata,
336
+ // PNL_metadata,
337
+ // SAFE_metadata,
338
+ // BLOCKSCOUT_metadata,
339
+ // AAVE_metadata,
340
+ // FIREFLY_metadata,
341
+ // SMARTCONTRACT_metadata,
342
+ // TALLY_metadata,
343
+ // DUNESIM_metadata,
344
+ // PRICE_metadata,
345
+ // WALLET_metadata,
346
+ // YIELD_metadata,
347
+ // CIRCLES_metadata
1217
348
  // GNOSISPAY_metadata,
1218
349
  /*{
1219
350
  LOGO: 'https://raw.githubusercontent.com/mritunjayz/github-storage/refs/heads/main/ploymarket.png',