Search
Search

Transaction: 7DvAsab...cWpj

Receiver
Status
Succeeded
Transaction Fee
0.00098 
Deposit Value
0 
Gas Used
10 Tgas
Attached Gas
100 Tgas
Created
March 04, 2023 at 11:24:03pm
Hash
7DvAsabStqeJuP7RkfWHzbJCHSbNyazorWHAxTi2cWpj

Actions

Called method: 'set' in contract: social.near
Arguments:
{ "data": { "thalburner.near": { "widget": { "testWidget": { "": "function widget(widgetName, widgetProps, key) {\n widgetProps = {\n ...widgetProps,\n nearDevGovGigsContractAccountId: \"devgovgigs.near\",\n nearDevGovGigsWidgetsAccountId: \"devgovgigs.near\",\n referral: props.referral,\n };\n return (\n <Widget\n src={`devgovgigs.near/widget/gigs-board.${widgetName}`}\n props={widgetProps}\n key={key}\n />\n );\n}\n\nfunction fuzzySearch(items, keyword) {\n // Convert the keyword to lowercase and split into individual words\n\n const keywords = keyword.toLowerCase().split(\" \");\n\n // Filter the items by searching for each keyword in the name or description fields\n const filteredItems = items.filter((item) => {\n console.log(\"item\", item);\n // const name = item.snapshot.name.toLowerCase();\n // const description = item.snapshot.description.toLowerCase();\n\n // // Check if any of the keywords match the name or description\n // return keywords.some((keyword) => {\n // return name.includes(keyword) || description.includes(keyword);\n // });\n });\n\n return filteredItems;\n}\n\nconst posts = Near.view(\"devgovgigs.near\", \"get_posts\");\n\nif (posts === null) {\n return \"\";\n}\n\n// const test_filter = fuzzySearch(posts, \"Lorem ipsum dolor sit amet\");\n\n// console.log(test_filter);\n\nState.init({\n searchTerm: \"Testing!\",\n});\n\nconst postId = 4;\n\nreturn (\n <div>\n {state.searchTerm}\n {widget(\n `components.posts.Post`,\n {\n id: postId,\n expandable: true,\n defaultExpanded: false,\n },\n postId\n )}\n <input\n onChange={(e) => {\n State.update({ searchTerm: e.target.value });\n }}\n />\n </div>\n);\n" } } } } }

Transaction Execution Plan

Convert Transaction To Receipt
Gas Burned:
2 Tgas
Tokens Burned:
0.00024 
Receipt:
Predecessor ID:
Receiver ID:
Gas Burned:
7 Tgas
Tokens Burned:
0.00074 
Called method: 'set' in contract: social.near
Arguments:
{ "data": { "thalburner.near": { "widget": { "testWidget": { "": "function widget(widgetName, widgetProps, key) {\n widgetProps = {\n ...widgetProps,\n nearDevGovGigsContractAccountId: \"devgovgigs.near\",\n nearDevGovGigsWidgetsAccountId: \"devgovgigs.near\",\n referral: props.referral,\n };\n return (\n <Widget\n src={`devgovgigs.near/widget/gigs-board.${widgetName}`}\n props={widgetProps}\n key={key}\n />\n );\n}\n\nfunction fuzzySearch(items, keyword) {\n // Convert the keyword to lowercase and split into individual words\n\n const keywords = keyword.toLowerCase().split(\" \");\n\n // Filter the items by searching for each keyword in the name or description fields\n const filteredItems = items.filter((item) => {\n console.log(\"item\", item);\n // const name = item.snapshot.name.toLowerCase();\n // const description = item.snapshot.description.toLowerCase();\n\n // // Check if any of the keywords match the name or description\n // return keywords.some((keyword) => {\n // return name.includes(keyword) || description.includes(keyword);\n // });\n });\n\n return filteredItems;\n}\n\nconst posts = Near.view(\"devgovgigs.near\", \"get_posts\");\n\nif (posts === null) {\n return \"\";\n}\n\n// const test_filter = fuzzySearch(posts, \"Lorem ipsum dolor sit amet\");\n\n// console.log(test_filter);\n\nState.init({\n searchTerm: \"Testing!\",\n});\n\nconst postId = 4;\n\nreturn (\n <div>\n {state.searchTerm}\n {widget(\n `components.posts.Post`,\n {\n id: postId,\n expandable: true,\n defaultExpanded: false,\n },\n postId\n )}\n <input\n onChange={(e) => {\n State.update({ searchTerm: e.target.value });\n }}\n />\n </div>\n);\n" } } } } }
Empty result
No logs
Receipt:
Predecessor ID:
Receiver ID:
Gas Burned:
223 Ggas
Tokens Burned:
0 
Transferred 0.01832  to thalburner.near
Empty result
No logs