@fileverse-dev/formulajs 4.4.41-example-2 → 4.4.41-example-4
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.
|
@@ -247,11 +247,11 @@ var EOA_metadata = {
|
|
|
247
247
|
],
|
|
248
248
|
examples: [{
|
|
249
249
|
title: "EOA",
|
|
250
|
-
argumentString: 'vitalik.eth, txns, ethereum, "01/01/2023", "01/05/2024", 1, 2',
|
|
250
|
+
argumentString: '"vitalik.eth", "txns", "ethereum", "01/01/2023", "01/05/2024", 1, 2',
|
|
251
251
|
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."
|
|
252
252
|
}, {
|
|
253
253
|
title: "EOA",
|
|
254
|
-
argumentString: "vitalik.eth, balance, gnosis",
|
|
254
|
+
argumentString: '"vitalik.eth", "balance", "gnosis"',
|
|
255
255
|
description: "returns the balance for the address vitalik.eth on the Gnosis blockchain."
|
|
256
256
|
}]
|
|
257
257
|
};
|
|
@@ -298,12 +298,12 @@ var UNISWAP_metadata = {
|
|
|
298
298
|
examples: [
|
|
299
299
|
{
|
|
300
300
|
title: "UNISWAP",
|
|
301
|
-
argumentString: "v3, tokens, eth",
|
|
301
|
+
argumentString: '"v3", "tokens", "eth"',
|
|
302
302
|
description: "returns data for the ETH token from Uniswap V3."
|
|
303
303
|
},
|
|
304
304
|
{
|
|
305
305
|
title: "UNISWAP",
|
|
306
|
-
argumentString: "v3-raw, markets, 0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8",
|
|
306
|
+
argumentString: '"v3-raw", "markets", "0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8"',
|
|
307
307
|
description: "returns data for the Uniswap V3 market with the specified contract address."
|
|
308
308
|
}
|
|
309
309
|
]
|
|
@@ -352,12 +352,12 @@ If "derivatives": exchange name (e.g., "binance_futures", "hyperliquid", "weex-f
|
|
|
352
352
|
examples: [
|
|
353
353
|
{
|
|
354
354
|
title: "COINGECKO",
|
|
355
|
-
argumentString: "stablecoins, yield-bearing-stablecoins, 1h,24h,7d",
|
|
355
|
+
argumentString: '"stablecoins", "yield-bearing-stablecoins", "1h,24h,7d"',
|
|
356
356
|
description: "returns the yield-bearing stablecoins with percentage changes over 1 hour, 24 hours, and 7 days."
|
|
357
357
|
},
|
|
358
358
|
{
|
|
359
359
|
title: "COINGECKO",
|
|
360
|
-
argumentString: "derivatives, binance_futures",
|
|
360
|
+
argumentString: '"derivatives", "binance_futures"',
|
|
361
361
|
description: "returns the derivatives data from the Binance Futures exchange."
|
|
362
362
|
}
|
|
363
363
|
]
|
|
@@ -391,11 +391,11 @@ var DEFILLAMA_metadata = {
|
|
|
391
391
|
],
|
|
392
392
|
examples: [{
|
|
393
393
|
title: "DEFILLAMA",
|
|
394
|
-
argumentString: "protocols",
|
|
394
|
+
argumentString: '"protocols"',
|
|
395
395
|
description: "returns a list of DeFi protocols from Defillama."
|
|
396
396
|
}, {
|
|
397
397
|
title: "DEFILLAMA",
|
|
398
|
-
argumentString: "dex",
|
|
398
|
+
argumentString: '"dex"',
|
|
399
399
|
description: "returns decentralized exchange (DEX) data from Defillama."
|
|
400
400
|
}]
|
|
401
401
|
};
|
|
@@ -464,12 +464,12 @@ var BASE_metadata = {
|
|
|
464
464
|
examples: [
|
|
465
465
|
{
|
|
466
466
|
title: "BASE",
|
|
467
|
-
argumentString: 'token-txns, 0x7FD624f3f97A7dd36195E8379F28dB6147C270ff, "01/01/2024", "07/07/2024", 1, 2',
|
|
467
|
+
argumentString: '"token-txns", "0x7FD624f3f97A7dd36195E8379F28dB6147C270ff", "01/01/2024", "07/07/2024", 1, 2',
|
|
468
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
469
|
},
|
|
470
470
|
{
|
|
471
471
|
title: "BASE",
|
|
472
|
-
argumentString: "gas",
|
|
472
|
+
argumentString: '"gas"',
|
|
473
473
|
description: "returns gas price metrics for the Base network."
|
|
474
474
|
}
|
|
475
475
|
]
|
|
@@ -531,11 +531,11 @@ var GNOSIS_metadata = {
|
|
|
531
531
|
],
|
|
532
532
|
examples: [{
|
|
533
533
|
title: "GNOSIS",
|
|
534
|
-
argumentString: 'nft-txns, 0x90830Ed558f12D826370DC52E9D87947A7F18De9, "01/01/2024", "14/06/2025", 1, 50',
|
|
534
|
+
argumentString: '"nft-txns", "0x90830Ed558f12D826370DC52E9D87947A7F18De9", "01/01/2024", "14/06/2025", 1, 50',
|
|
535
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
536
|
}, {
|
|
537
537
|
title: "GNOSIS",
|
|
538
|
-
argumentString: "gas",
|
|
538
|
+
argumentString: '"gas"',
|
|
539
539
|
description: "returns current gas price metrics for the Gnosis Chain."
|
|
540
540
|
}]
|
|
541
541
|
};
|
|
@@ -597,12 +597,12 @@ var ETHERSCAN_metadata = {
|
|
|
597
597
|
examples: [
|
|
598
598
|
{
|
|
599
599
|
title: "ETHERSCAN",
|
|
600
|
-
argumentString: "all-txns, ethereum, vitalik.eth",
|
|
600
|
+
argumentString: '"all-txns", "ethereum", "vitalik.eth"',
|
|
601
601
|
description: "returns the complete transaction history for the address vitalik.eth on the Ethereum blockchain."
|
|
602
602
|
},
|
|
603
603
|
{
|
|
604
604
|
title: "ETHERSCAN",
|
|
605
|
-
argumentString: 'token-txns, gnosis, vitalik.eth, "01/01/2024", "01/05/2024"',
|
|
605
|
+
argumentString: '"token-txns", "gnosis", "vitalik.eth", "01/01/2024", "01/05/2024"',
|
|
606
606
|
description: "returns the token transaction history for the address vitalik.eth on the Gnosis blockchain between January 1, 2024 and January 5, 2024."
|
|
607
607
|
}
|
|
608
608
|
]
|
|
@@ -638,7 +638,7 @@ var PNL_metadata = {
|
|
|
638
638
|
description: "returns the total profit or loss by subtracting the costs in range A1:A10 from the revenues in range B1:B10."
|
|
639
639
|
}, {
|
|
640
640
|
title: "PNL",
|
|
641
|
-
argumentString: "{100, 200, 150}, {250, 300, 200}",
|
|
641
|
+
argumentString: '"{100, 200, 150}", "{250, 300, 200}"',
|
|
642
642
|
description: "returns the total profit or loss by subtracting the costs {100, 200, 150} from the revenues {250, 300, 200}."
|
|
643
643
|
}]
|
|
644
644
|
};
|
|
@@ -689,11 +689,11 @@ var SAFE_metadata = {
|
|
|
689
689
|
],
|
|
690
690
|
examples: [{
|
|
691
691
|
title: "SAFE",
|
|
692
|
-
argumentString: "0xe9A6378d8FD4983C2999DB0735f258397E8C2253, txns, gnosis, 10, 0
|
|
692
|
+
argumentString: '"0xe9A6378d8FD4983C2999DB0735f258397E8C2253", "txns", "gnosis", 10, 0',
|
|
693
693
|
description: "returns the last 10 transactions for the specified Safe address on the Gnosis chain."
|
|
694
694
|
}, {
|
|
695
695
|
title: "SAFE",
|
|
696
|
-
argumentString: "0x1234567890abcdef1234567890abcdef12345678, txns, ethereum",
|
|
696
|
+
argumentString: '"0x1234567890abcdef1234567890abcdef12345678", "txns", "ethereum"',
|
|
697
697
|
description: "returns the last 100 transactions for the specified Safe address on the Ethereum chain."
|
|
698
698
|
}]
|
|
699
699
|
};
|
|
@@ -762,11 +762,11 @@ var BLOCKSCOUT_metadata = {
|
|
|
762
762
|
],
|
|
763
763
|
examples: [{
|
|
764
764
|
title: "BLOCKSCOUT",
|
|
765
|
-
argumentString: 'vitalik.eth, txns, ethereum, "01/01/2023", "01/05/2024", 1, 2',
|
|
765
|
+
argumentString: '"vitalik.eth", "txns", "ethereum", "01/01/2023", "01/05/2024", 1, 2',
|
|
766
766
|
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."
|
|
767
767
|
}, {
|
|
768
768
|
title: "BLOCKSCOUT",
|
|
769
|
-
argumentString: "vitalik.eth, balance, gnosis",
|
|
769
|
+
argumentString: '"vitalik.eth", "balance", "gnosis"',
|
|
770
770
|
description: "returns the balance for the address vitalik.eth on the Gnosis blockchain."
|
|
771
771
|
}]
|
|
772
772
|
};
|
|
@@ -813,12 +813,12 @@ var AAVE_metadata = {
|
|
|
813
813
|
examples: [
|
|
814
814
|
{
|
|
815
815
|
title: "AAVE",
|
|
816
|
-
argumentString: "v2, tokens, USDT",
|
|
816
|
+
argumentString: '"v2", "tokens", "USDT"',
|
|
817
817
|
description: "returns list data for the USDT token from Aave V2."
|
|
818
818
|
},
|
|
819
819
|
{
|
|
820
820
|
title: "AAVE",
|
|
821
|
-
argumentString: "v2-raw, markets, AAVE",
|
|
821
|
+
argumentString: '"v2-raw", "markets", "AAVE"',
|
|
822
822
|
description: "returns list data for the AAVE token from Aave V2."
|
|
823
823
|
}
|
|
824
824
|
]
|
|
@@ -868,12 +868,12 @@ var LENS_metadata = {
|
|
|
868
868
|
examples: [
|
|
869
869
|
{
|
|
870
870
|
title: "LENS",
|
|
871
|
-
argumentString: "posts, toka,miroyato",
|
|
871
|
+
argumentString: '"posts", "toka,miroyato"',
|
|
872
872
|
description: "returns posts made by the users with the usernames toka and miroyato on Lens."
|
|
873
873
|
},
|
|
874
874
|
{
|
|
875
875
|
title: "LENS",
|
|
876
|
-
argumentString: "replies, 0x123abc456def789ghi012jkl345mno678pqr901stu234vwx567yz890abc123d",
|
|
876
|
+
argumentString: '"replies", "0x123abc456def789ghi012jkl345mno678pqr901stu234vwx567yz890abc123d"',
|
|
877
877
|
description: "returns replies to the post with the specified hash on Lens."
|
|
878
878
|
}
|
|
879
879
|
]
|
|
@@ -923,12 +923,12 @@ var FARCASTER_metadata = {
|
|
|
923
923
|
examples: [
|
|
924
924
|
{
|
|
925
925
|
title: "FARCASTER",
|
|
926
|
-
argumentString: "posts, miroyato",
|
|
926
|
+
argumentString: '"posts", "miroyato"',
|
|
927
927
|
description: "returns posts made by the user with the username miroyato."
|
|
928
928
|
},
|
|
929
929
|
{
|
|
930
930
|
title: "FARCASTER",
|
|
931
|
-
argumentString: "replies, 0x123abc456def789ghi012jkl345mno678pqr901stu234vwx567yz890abc123d",
|
|
931
|
+
argumentString: '"replies", "0x123abc456def789ghi012jkl345mno678pqr901stu234vwx567yz890abc123d"',
|
|
932
932
|
description: "returns replies to the post with the specified hash."
|
|
933
933
|
}
|
|
934
934
|
]
|
|
@@ -984,12 +984,12 @@ var FIREFLY_metadata = {
|
|
|
984
984
|
examples: [
|
|
985
985
|
{
|
|
986
986
|
title: "FIREFLY",
|
|
987
|
-
argumentString: "farcaster, posts, miroyato",
|
|
987
|
+
argumentString: '"farcaster", "posts", "miroyato"',
|
|
988
988
|
description: "returns posts made by the user with the username miroyato on Farcaster."
|
|
989
989
|
},
|
|
990
990
|
{
|
|
991
991
|
title: "FIREFLY",
|
|
992
|
-
argumentString: "lens, posts, toka",
|
|
992
|
+
argumentString: '"lens", "posts", "toka"',
|
|
993
993
|
description: "returns posts made by the user with the username toka on Lens."
|
|
994
994
|
}
|
|
995
995
|
]
|
|
@@ -1016,11 +1016,11 @@ var Neynar_metadata = {
|
|
|
1016
1016
|
],
|
|
1017
1017
|
examples: [{
|
|
1018
1018
|
title: "NEYNAR",
|
|
1019
|
-
argumentString: "miroyato",
|
|
1019
|
+
argumentString: '"miroyato"',
|
|
1020
1020
|
description: "returns followers for the Farcaster user with the username miroyato."
|
|
1021
1021
|
}, {
|
|
1022
1022
|
title: "NEYNAR",
|
|
1023
|
-
argumentString: "alice",
|
|
1023
|
+
argumentString: '"alice"',
|
|
1024
1024
|
description: "returns followers for the Farcaster user with the username alice."
|
|
1025
1025
|
}]
|
|
1026
1026
|
};
|
|
@@ -1029,29 +1029,34 @@ var Neynar_metadata = {
|
|
|
1029
1029
|
var SMARTCONTRACT_metadata = {
|
|
1030
1030
|
n: "SMARTCONTRACT",
|
|
1031
1031
|
t: 20,
|
|
1032
|
-
d: "Query smart
|
|
1033
|
-
r: "
|
|
1032
|
+
d: "Query smart contract in cells. Returning a list of available functions and arguments that you can use to get data.",
|
|
1033
|
+
r: "Query smart contract in cells. Returning a list of available functions and arguments that you can use to get data.",
|
|
1034
1034
|
p: [
|
|
1035
1035
|
{
|
|
1036
|
-
name: "
|
|
1037
|
-
detail: "
|
|
1038
|
-
example: '"
|
|
1036
|
+
name: "contract_address",
|
|
1037
|
+
detail: "Address of the contract you want to query",
|
|
1038
|
+
example: '"0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb"',
|
|
1039
1039
|
require: "m",
|
|
1040
1040
|
type: "string"
|
|
1041
1041
|
},
|
|
1042
1042
|
{
|
|
1043
|
-
name: "
|
|
1044
|
-
detail:
|
|
1045
|
-
example: '"
|
|
1043
|
+
name: "chain",
|
|
1044
|
+
detail: 'Blockchain network(s) to query. Supported values: "ethereum", "gnosis", "base". Accepts comma-separated values.',
|
|
1045
|
+
example: '"GNOSIS"',
|
|
1046
1046
|
require: "m",
|
|
1047
1047
|
type: "string"
|
|
1048
|
+
}
|
|
1049
|
+
],
|
|
1050
|
+
examples: [
|
|
1051
|
+
{
|
|
1052
|
+
title: "SMARTCONTRACT",
|
|
1053
|
+
argumentString: '"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", "ETHEREUM"',
|
|
1054
|
+
description: "returns the list of functions and their arguments for Circle USDC contract on Ethereum."
|
|
1048
1055
|
},
|
|
1049
1056
|
{
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
require: "o",
|
|
1054
|
-
type: "any"
|
|
1057
|
+
title: "SMARTCONTRACT",
|
|
1058
|
+
argumentString: '"0xdac17f958d2ee523a2206206994597c13d831ec7", "ETHEREUM"',
|
|
1059
|
+
description: "returns the list of functions and their arguments for Tether USD (USDT) contract on Ethereum."
|
|
1055
1060
|
}
|
|
1056
1061
|
]
|
|
1057
1062
|
};
|
|
@@ -1083,11 +1088,11 @@ var TALLY_metadata = {
|
|
|
1083
1088
|
],
|
|
1084
1089
|
examples: [{
|
|
1085
1090
|
title: "TALLY",
|
|
1086
|
-
argumentString: "organization, arbitrum",
|
|
1091
|
+
argumentString: '"organization", "arbitrum"',
|
|
1087
1092
|
description: "returns details about the Arbitrum organization from Tally."
|
|
1088
1093
|
}, {
|
|
1089
1094
|
title: "TALLY",
|
|
1090
|
-
argumentString: "proposals, aave",
|
|
1095
|
+
argumentString: '"proposals", "aave"',
|
|
1091
1096
|
description: "returns proposals for the Aave organization from Tally."
|
|
1092
1097
|
}]
|
|
1093
1098
|
};
|
|
@@ -1142,12 +1147,12 @@ var DUNESIM_metadata = {
|
|
|
1142
1147
|
examples: [
|
|
1143
1148
|
{
|
|
1144
1149
|
title: "DUNE",
|
|
1145
|
-
argumentString: "price, base, 1, 0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca, 5
|
|
1150
|
+
argumentString: '"price", "base", 1, "0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca", 5',
|
|
1146
1151
|
description: "returns the price of the specified token on the Base chain with a 1-hour historical offset, limiting results to 5 entries."
|
|
1147
1152
|
},
|
|
1148
1153
|
{
|
|
1149
1154
|
title: "DUNE",
|
|
1150
|
-
argumentString: "activity, vitalik.eth, eth, 10
|
|
1155
|
+
argumentString: '"activity", "vitalik.eth", "eth", 10',
|
|
1151
1156
|
description: "returns the latest 10 wallet activities for the address vitalik.eth on the Ethereum chain."
|
|
1152
1157
|
}
|
|
1153
1158
|
]
|
|
@@ -1185,12 +1190,12 @@ var PRICE_metadata = {
|
|
|
1185
1190
|
examples: [
|
|
1186
1191
|
{
|
|
1187
1192
|
title: "PRICE",
|
|
1188
|
-
argumentString: "0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca, base, 1,24",
|
|
1193
|
+
argumentString: '"0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca", "base", "1,24"',
|
|
1189
1194
|
description: "returns the price of the specified token on the Base chain with 1-hour and 24-hour historical offsets."
|
|
1190
1195
|
},
|
|
1191
1196
|
{
|
|
1192
1197
|
title: "PRICE",
|
|
1193
|
-
argumentString: "ETH,BTC, 1,24,168",
|
|
1198
|
+
argumentString: '"ETH,BTC", "1,24,168"',
|
|
1194
1199
|
description: "returns the prices of ETH and BTC with 1-hour, 24-hour, and 168-hour (7-day) historical offsets."
|
|
1195
1200
|
}
|
|
1196
1201
|
]
|
|
@@ -1235,12 +1240,12 @@ var WALLET_metadata = {
|
|
|
1235
1240
|
examples: [
|
|
1236
1241
|
{
|
|
1237
1242
|
title: "WALLET",
|
|
1238
|
-
argumentString: "0x7FD624f3f97A7dd36195E8379F28dB6147C270ff, ethereum, txns, 17520",
|
|
1243
|
+
argumentString: '"0x7FD624f3f97A7dd36195E8379F28dB6147C270ff", "ethereum", "txns", "17520"',
|
|
1239
1244
|
description: "returns transactions for the specified wallet address on the Ethereum chain within the last 17520 hours (approximately 2 years)."
|
|
1240
1245
|
},
|
|
1241
1246
|
{
|
|
1242
1247
|
title: "WALLET",
|
|
1243
|
-
argumentString: "vitalik.eth, base, balance",
|
|
1248
|
+
argumentString: '"vitalik.eth", "base", "balance"',
|
|
1244
1249
|
description: "returns the latest balance for the address vitalik.eth on the Base chain."
|
|
1245
1250
|
}
|
|
1246
1251
|
]
|
|
@@ -1263,11 +1268,11 @@ var YIELD_metadata = {
|
|
|
1263
1268
|
],
|
|
1264
1269
|
examples: [{
|
|
1265
1270
|
title: "YIELD",
|
|
1266
|
-
argumentString: "stablecoins",
|
|
1271
|
+
argumentString: '"stablecoins"',
|
|
1267
1272
|
description: "returns yield data for stablecoins."
|
|
1268
1273
|
}, {
|
|
1269
1274
|
title: "YIELD",
|
|
1270
|
-
argumentString: "all",
|
|
1275
|
+
argumentString: '"all"',
|
|
1271
1276
|
description: "returns yield data for all categories."
|
|
1272
1277
|
}]
|
|
1273
1278
|
};
|
|
@@ -1309,11 +1314,11 @@ var CIRCLES_metadata = {
|
|
|
1309
1314
|
],
|
|
1310
1315
|
examples: [{
|
|
1311
1316
|
title: "CIRCLES",
|
|
1312
|
-
argumentString: "trust, 0xe9A6378d8FD4983C2999DB0735f258397E8C2253",
|
|
1317
|
+
argumentString: '"trust", "0xe9A6378d8FD4983C2999DB0735f258397E8C2253"',
|
|
1313
1318
|
description: "returns the trust relationships for the specified Circles address."
|
|
1314
1319
|
}, {
|
|
1315
1320
|
title: "CIRCLES",
|
|
1316
|
-
argumentString: "transactions, 0xe9A6378d8FD4983C2999DB0735f258397E8C2253, 5
|
|
1321
|
+
argumentString: '"transactions", "0xe9A6378d8FD4983C2999DB0735f258397E8C2253", 5',
|
|
1317
1322
|
description: "returns the last 5 transactions for the specified Circles address."
|
|
1318
1323
|
}]
|
|
1319
1324
|
};
|
package/package.json
CHANGED