@fileverse-dev/formulajs 4.4.41-example → 4.4.41-example-3
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,12 +247,12 @@ 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',
|
|
251
|
-
description: "
|
|
250
|
+
argumentString: '"vitalik.eth", "txns", "ethereum", "01/01/2023", "01/05/2024", 1, 2',
|
|
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",
|
|
255
|
-
description: "
|
|
254
|
+
argumentString: '"vitalik.eth", "balance", "gnosis"',
|
|
255
|
+
description: "returns the balance for the address vitalik.eth on the Gnosis blockchain."
|
|
256
256
|
}]
|
|
257
257
|
};
|
|
258
258
|
|
|
@@ -298,13 +298,13 @@ var UNISWAP_metadata = {
|
|
|
298
298
|
examples: [
|
|
299
299
|
{
|
|
300
300
|
title: "UNISWAP",
|
|
301
|
-
argumentString: "v3, tokens, eth",
|
|
302
|
-
description: "
|
|
301
|
+
argumentString: '"v3", "tokens", "eth"',
|
|
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",
|
|
307
|
-
description: "
|
|
306
|
+
argumentString: '"v3-raw", "markets", "0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8"',
|
|
307
|
+
description: "returns data for the Uniswap V3 market with the specified contract address."
|
|
308
308
|
}
|
|
309
309
|
]
|
|
310
310
|
};
|
|
@@ -352,13 +352,13 @@ 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",
|
|
356
|
-
description: "
|
|
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
357
|
},
|
|
358
358
|
{
|
|
359
359
|
title: "COINGECKO",
|
|
360
|
-
argumentString: "derivatives, binance_futures",
|
|
361
|
-
description: "
|
|
360
|
+
argumentString: '"derivatives", "binance_futures"',
|
|
361
|
+
description: "returns the derivatives data from the Binance Futures exchange."
|
|
362
362
|
}
|
|
363
363
|
]
|
|
364
364
|
};
|
|
@@ -371,7 +371,7 @@ var DEFILLAMA_metadata = {
|
|
|
371
371
|
BRAND_SECONDARY_COLOR: "#855dcd",
|
|
372
372
|
n: "DEFILLAMA",
|
|
373
373
|
t: 20,
|
|
374
|
-
d: "
|
|
374
|
+
d: "returns content from Defillama.",
|
|
375
375
|
a: "Retrieves data from Defillama.",
|
|
376
376
|
p: [
|
|
377
377
|
{
|
|
@@ -391,12 +391,12 @@ var DEFILLAMA_metadata = {
|
|
|
391
391
|
],
|
|
392
392
|
examples: [{
|
|
393
393
|
title: "DEFILLAMA",
|
|
394
|
-
argumentString: "protocols",
|
|
395
|
-
description: "
|
|
394
|
+
argumentString: '"protocols"',
|
|
395
|
+
description: "returns a list of DeFi protocols from Defillama."
|
|
396
396
|
}, {
|
|
397
397
|
title: "DEFILLAMA",
|
|
398
|
-
argumentString: "dex",
|
|
399
|
-
description: "
|
|
398
|
+
argumentString: '"dex"',
|
|
399
|
+
description: "returns decentralized exchange (DEX) data from Defillama."
|
|
400
400
|
}]
|
|
401
401
|
};
|
|
402
402
|
|
|
@@ -464,13 +464,13 @@ 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',
|
|
468
|
-
description: "
|
|
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
469
|
},
|
|
470
470
|
{
|
|
471
471
|
title: "BASE",
|
|
472
|
-
argumentString: "gas",
|
|
473
|
-
description: "
|
|
472
|
+
argumentString: '"gas"',
|
|
473
|
+
description: "returns gas price metrics for the Base network."
|
|
474
474
|
}
|
|
475
475
|
]
|
|
476
476
|
};
|
|
@@ -531,12 +531,12 @@ 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',
|
|
535
|
-
description: "
|
|
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
536
|
}, {
|
|
537
537
|
title: "GNOSIS",
|
|
538
|
-
argumentString: "gas",
|
|
539
|
-
description: "
|
|
538
|
+
argumentString: '"gas"',
|
|
539
|
+
description: "returns current gas price metrics for the Gnosis Chain."
|
|
540
540
|
}]
|
|
541
541
|
};
|
|
542
542
|
|
|
@@ -597,13 +597,13 @@ var ETHERSCAN_metadata = {
|
|
|
597
597
|
examples: [
|
|
598
598
|
{
|
|
599
599
|
title: "ETHERSCAN",
|
|
600
|
-
argumentString: "all-txns, ethereum, vitalik.eth",
|
|
601
|
-
description: "
|
|
600
|
+
argumentString: '"all-txns", "ethereum", "vitalik.eth"',
|
|
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"',
|
|
606
|
-
description: "
|
|
605
|
+
argumentString: '"token-txns", "gnosis", "vitalik.eth", "01/01/2024", "01/05/2024"',
|
|
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
|
]
|
|
609
609
|
};
|
|
@@ -635,11 +635,11 @@ var PNL_metadata = {
|
|
|
635
635
|
examples: [{
|
|
636
636
|
title: "PNL",
|
|
637
637
|
argumentString: "A1:A10, B1:B10",
|
|
638
|
-
description: "
|
|
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}",
|
|
642
|
-
description: "
|
|
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
643
|
}]
|
|
644
644
|
};
|
|
645
645
|
|
|
@@ -689,12 +689,12 @@ var SAFE_metadata = {
|
|
|
689
689
|
],
|
|
690
690
|
examples: [{
|
|
691
691
|
title: "SAFE",
|
|
692
|
-
argumentString: "0xe9A6378d8FD4983C2999DB0735f258397E8C2253, txns, gnosis, 10, 0
|
|
693
|
-
description: "
|
|
692
|
+
argumentString: '"0xe9A6378d8FD4983C2999DB0735f258397E8C2253", "txns", "gnosis", 10, 0',
|
|
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",
|
|
697
|
-
description: "
|
|
696
|
+
argumentString: '"0x1234567890abcdef1234567890abcdef12345678", "txns", "ethereum"',
|
|
697
|
+
description: "returns the last 100 transactions for the specified Safe address on the Ethereum chain."
|
|
698
698
|
}]
|
|
699
699
|
};
|
|
700
700
|
|
|
@@ -762,12 +762,12 @@ 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',
|
|
766
|
-
description: "
|
|
765
|
+
argumentString: '"vitalik.eth", "txns", "ethereum", "01/01/2023", "01/05/2024", 1, 2',
|
|
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",
|
|
770
|
-
description: "
|
|
769
|
+
argumentString: '"vitalik.eth", "balance", "gnosis"',
|
|
770
|
+
description: "returns the balance for the address vitalik.eth on the Gnosis blockchain."
|
|
771
771
|
}]
|
|
772
772
|
};
|
|
773
773
|
|
|
@@ -813,13 +813,13 @@ var AAVE_metadata = {
|
|
|
813
813
|
examples: [
|
|
814
814
|
{
|
|
815
815
|
title: "AAVE",
|
|
816
|
-
argumentString: "v2, tokens, USDT",
|
|
817
|
-
description: "
|
|
816
|
+
argumentString: '"v2", "tokens", "USDT"',
|
|
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",
|
|
822
|
-
description: "
|
|
821
|
+
argumentString: '"v2-raw", "markets", "AAVE"',
|
|
822
|
+
description: "returns list data for the AAVE token from Aave V2."
|
|
823
823
|
}
|
|
824
824
|
]
|
|
825
825
|
};
|
|
@@ -868,13 +868,13 @@ var LENS_metadata = {
|
|
|
868
868
|
examples: [
|
|
869
869
|
{
|
|
870
870
|
title: "LENS",
|
|
871
|
-
argumentString: "posts, toka,miroyato",
|
|
872
|
-
description: "
|
|
871
|
+
argumentString: '"posts", "toka,miroyato"',
|
|
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",
|
|
877
|
-
description: "
|
|
876
|
+
argumentString: '"replies", "0x123abc456def789ghi012jkl345mno678pqr901stu234vwx567yz890abc123d"',
|
|
877
|
+
description: "returns replies to the post with the specified hash on Lens."
|
|
878
878
|
}
|
|
879
879
|
]
|
|
880
880
|
};
|
|
@@ -923,13 +923,13 @@ var FARCASTER_metadata = {
|
|
|
923
923
|
examples: [
|
|
924
924
|
{
|
|
925
925
|
title: "FARCASTER",
|
|
926
|
-
argumentString: "posts, miroyato",
|
|
927
|
-
description: "
|
|
926
|
+
argumentString: '"posts", "miroyato"',
|
|
927
|
+
description: "returns posts made by the user with the username miroyato."
|
|
928
928
|
},
|
|
929
929
|
{
|
|
930
930
|
title: "FARCASTER",
|
|
931
|
-
argumentString: "replies, 0x123abc456def789ghi012jkl345mno678pqr901stu234vwx567yz890abc123d",
|
|
932
|
-
description: "
|
|
931
|
+
argumentString: '"replies", "0x123abc456def789ghi012jkl345mno678pqr901stu234vwx567yz890abc123d"',
|
|
932
|
+
description: "returns replies to the post with the specified hash."
|
|
933
933
|
}
|
|
934
934
|
]
|
|
935
935
|
};
|
|
@@ -984,13 +984,13 @@ var FIREFLY_metadata = {
|
|
|
984
984
|
examples: [
|
|
985
985
|
{
|
|
986
986
|
title: "FIREFLY",
|
|
987
|
-
argumentString: "farcaster, posts, miroyato",
|
|
988
|
-
description: "
|
|
987
|
+
argumentString: '"farcaster", "posts", "miroyato"',
|
|
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",
|
|
993
|
-
description: "
|
|
992
|
+
argumentString: '"lens", "posts", "toka"',
|
|
993
|
+
description: "returns posts made by the user with the username toka on Lens."
|
|
994
994
|
}
|
|
995
995
|
]
|
|
996
996
|
};
|
|
@@ -1016,12 +1016,12 @@ var Neynar_metadata = {
|
|
|
1016
1016
|
],
|
|
1017
1017
|
examples: [{
|
|
1018
1018
|
title: "NEYNAR",
|
|
1019
|
-
argumentString: "miroyato",
|
|
1020
|
-
description: "
|
|
1019
|
+
argumentString: '"miroyato"',
|
|
1020
|
+
description: "returns followers for the Farcaster user with the username miroyato."
|
|
1021
1021
|
}, {
|
|
1022
1022
|
title: "NEYNAR",
|
|
1023
|
-
argumentString: "alice",
|
|
1024
|
-
description: "
|
|
1023
|
+
argumentString: '"alice"',
|
|
1024
|
+
description: "returns followers for the Farcaster user with the username alice."
|
|
1025
1025
|
}]
|
|
1026
1026
|
};
|
|
1027
1027
|
|
|
@@ -1053,6 +1053,18 @@ var SMARTCONTRACT_metadata = {
|
|
|
1053
1053
|
require: "o",
|
|
1054
1054
|
type: "any"
|
|
1055
1055
|
}
|
|
1056
|
+
],
|
|
1057
|
+
examples: [
|
|
1058
|
+
{
|
|
1059
|
+
title: "SMARTCONTRACT",
|
|
1060
|
+
argumentString: '"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", "ETHEREUM"',
|
|
1061
|
+
description: "returns the list of functions and their arguments for Circle USDC contract on Ethereum."
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
title: "SMARTCONTRACT",
|
|
1065
|
+
argumentString: '"0xdac17f958d2ee523a2206206994597c13d831ec7", "ETHEREUM"',
|
|
1066
|
+
description: "returns the list of functions and their arguments for Tether USD (USDT) contract on Ethereum."
|
|
1067
|
+
}
|
|
1056
1068
|
]
|
|
1057
1069
|
};
|
|
1058
1070
|
|
|
@@ -1083,12 +1095,12 @@ var TALLY_metadata = {
|
|
|
1083
1095
|
],
|
|
1084
1096
|
examples: [{
|
|
1085
1097
|
title: "TALLY",
|
|
1086
|
-
argumentString: "organization, arbitrum",
|
|
1087
|
-
description: "
|
|
1098
|
+
argumentString: '"organization", "arbitrum"',
|
|
1099
|
+
description: "returns details about the Arbitrum organization from Tally."
|
|
1088
1100
|
}, {
|
|
1089
1101
|
title: "TALLY",
|
|
1090
|
-
argumentString: "proposals, aave",
|
|
1091
|
-
description: "
|
|
1102
|
+
argumentString: '"proposals", "aave"',
|
|
1103
|
+
description: "returns proposals for the Aave organization from Tally."
|
|
1092
1104
|
}]
|
|
1093
1105
|
};
|
|
1094
1106
|
|
|
@@ -1142,13 +1154,13 @@ var DUNESIM_metadata = {
|
|
|
1142
1154
|
examples: [
|
|
1143
1155
|
{
|
|
1144
1156
|
title: "DUNE",
|
|
1145
|
-
argumentString: "price, base, 1, 0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca, 5
|
|
1146
|
-
description: "
|
|
1157
|
+
argumentString: '"price", "base", 1, "0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca", 5',
|
|
1158
|
+
description: "returns the price of the specified token on the Base chain with a 1-hour historical offset, limiting results to 5 entries."
|
|
1147
1159
|
},
|
|
1148
1160
|
{
|
|
1149
1161
|
title: "DUNE",
|
|
1150
|
-
argumentString: "activity, vitalik.eth, eth, 10
|
|
1151
|
-
description: "
|
|
1162
|
+
argumentString: '"activity", "vitalik.eth", "eth", 10',
|
|
1163
|
+
description: "returns the latest 10 wallet activities for the address vitalik.eth on the Ethereum chain."
|
|
1152
1164
|
}
|
|
1153
1165
|
]
|
|
1154
1166
|
};
|
|
@@ -1185,13 +1197,13 @@ var PRICE_metadata = {
|
|
|
1185
1197
|
examples: [
|
|
1186
1198
|
{
|
|
1187
1199
|
title: "PRICE",
|
|
1188
|
-
argumentString: "0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca, base, 1,24",
|
|
1189
|
-
description: "
|
|
1200
|
+
argumentString: '"0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca", "base", "1,24"',
|
|
1201
|
+
description: "returns the price of the specified token on the Base chain with 1-hour and 24-hour historical offsets."
|
|
1190
1202
|
},
|
|
1191
1203
|
{
|
|
1192
1204
|
title: "PRICE",
|
|
1193
|
-
argumentString: "ETH,BTC, 1,24,168",
|
|
1194
|
-
description: "
|
|
1205
|
+
argumentString: '"ETH,BTC", "1,24,168"',
|
|
1206
|
+
description: "returns the prices of ETH and BTC with 1-hour, 24-hour, and 168-hour (7-day) historical offsets."
|
|
1195
1207
|
}
|
|
1196
1208
|
]
|
|
1197
1209
|
};
|
|
@@ -1235,13 +1247,13 @@ var WALLET_metadata = {
|
|
|
1235
1247
|
examples: [
|
|
1236
1248
|
{
|
|
1237
1249
|
title: "WALLET",
|
|
1238
|
-
argumentString: "0x7FD624f3f97A7dd36195E8379F28dB6147C270ff, ethereum, txns, 17520",
|
|
1239
|
-
description: "
|
|
1250
|
+
argumentString: '"0x7FD624f3f97A7dd36195E8379F28dB6147C270ff", "ethereum", "txns", "17520"',
|
|
1251
|
+
description: "returns transactions for the specified wallet address on the Ethereum chain within the last 17520 hours (approximately 2 years)."
|
|
1240
1252
|
},
|
|
1241
1253
|
{
|
|
1242
1254
|
title: "WALLET",
|
|
1243
|
-
argumentString: "vitalik.eth, base, balance",
|
|
1244
|
-
description: "
|
|
1255
|
+
argumentString: '"vitalik.eth", "base", "balance"',
|
|
1256
|
+
description: "returns the latest balance for the address vitalik.eth on the Base chain."
|
|
1245
1257
|
}
|
|
1246
1258
|
]
|
|
1247
1259
|
};
|
|
@@ -1263,12 +1275,12 @@ var YIELD_metadata = {
|
|
|
1263
1275
|
],
|
|
1264
1276
|
examples: [{
|
|
1265
1277
|
title: "YIELD",
|
|
1266
|
-
argumentString: "stablecoins",
|
|
1267
|
-
description: "
|
|
1278
|
+
argumentString: '"stablecoins"',
|
|
1279
|
+
description: "returns yield data for stablecoins."
|
|
1268
1280
|
}, {
|
|
1269
1281
|
title: "YIELD",
|
|
1270
|
-
argumentString: "all",
|
|
1271
|
-
description: "
|
|
1282
|
+
argumentString: '"all"',
|
|
1283
|
+
description: "returns yield data for all categories."
|
|
1272
1284
|
}]
|
|
1273
1285
|
};
|
|
1274
1286
|
|
|
@@ -1309,12 +1321,12 @@ var CIRCLES_metadata = {
|
|
|
1309
1321
|
],
|
|
1310
1322
|
examples: [{
|
|
1311
1323
|
title: "CIRCLES",
|
|
1312
|
-
argumentString: "trust, 0xe9A6378d8FD4983C2999DB0735f258397E8C2253",
|
|
1313
|
-
description: "
|
|
1324
|
+
argumentString: '"trust", "0xe9A6378d8FD4983C2999DB0735f258397E8C2253"',
|
|
1325
|
+
description: "returns the trust relationships for the specified Circles address."
|
|
1314
1326
|
}, {
|
|
1315
1327
|
title: "CIRCLES",
|
|
1316
|
-
argumentString: "transactions, 0xe9A6378d8FD4983C2999DB0735f258397E8C2253, 5
|
|
1317
|
-
description: "
|
|
1328
|
+
argumentString: '"transactions", "0xe9A6378d8FD4983C2999DB0735f258397E8C2253", 5',
|
|
1329
|
+
description: "returns the last 5 transactions for the specified Circles address."
|
|
1318
1330
|
}]
|
|
1319
1331
|
};
|
|
1320
1332
|
|