Search
Search

Transaction: DSr9sT7...pisS

Receiver
Status
Succeeded
Transaction Fee
0.00087 
Deposit Value
0 
Gas Used
8 Tgas
Attached Gas
100 Tgas
Created
April 25, 2023 at 5:42:09pm
Hash
DSr9sT7rNkEDQ6fNFUhcjXX2aF2Q3v1iNHUeYZqYpisS

Actions

Called method: 'set' in contract: social.near
Arguments:
{ "data": { "contribut3.near": { "widget": { "IpfsFilesUpload": { "": "const fileAccept = props.fileAccept || \"*\";\nconst fileIcon = props.fileIcon || \"bi-file\";\nconst buttonText = props.buttonText || \"Upload a file\";\n\n// if (!props.update) return \"Update function is required\";\n\nState.init({\n uploading: false,\n cid: null,\n});\n\nconst ipfsUrl = (cid) => `https://ipfs.near.social/ipfs/${cid}`;\n\nreturn (\n <div>\n {state.cid ?\n <a href={ipfsUrl(state.cid)} download>Your file</a>\n : <></>}\n <Files\n multiple={false}\n accepts={[\"image/*\", \"video/*\", \".pdf\"]}\n minFileSize={1}\n clickable\n className=\"btn btn-outline-primary\"\n onChange={(files) => {\n if (!files || !files.length) return;\n\n const [body] = files;\n\n State.update({ uploading: true, cid: null });\n asyncFetch(\n \"https://ipfs.near.social/add\",\n {\n method: \"POST\",\n headers: { Accept: \"application/json\" },\n body,\n }\n ).then(\n ({ body: { cid } }) => {\n State.update({ cid, uploading: false });\n // props.update(cid);\n }\n );\n }}\n >\n {state.uploading\n ? \"Uploading\"\n : state.cid\n ? \"Replace\"\n : buttonText}\n </Files>\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:
6 Tgas
Tokens Burned:
0.00063 
Called method: 'set' in contract: social.near
Arguments:
{ "data": { "contribut3.near": { "widget": { "IpfsFilesUpload": { "": "const fileAccept = props.fileAccept || \"*\";\nconst fileIcon = props.fileIcon || \"bi-file\";\nconst buttonText = props.buttonText || \"Upload a file\";\n\n// if (!props.update) return \"Update function is required\";\n\nState.init({\n uploading: false,\n cid: null,\n});\n\nconst ipfsUrl = (cid) => `https://ipfs.near.social/ipfs/${cid}`;\n\nreturn (\n <div>\n {state.cid ?\n <a href={ipfsUrl(state.cid)} download>Your file</a>\n : <></>}\n <Files\n multiple={false}\n accepts={[\"image/*\", \"video/*\", \".pdf\"]}\n minFileSize={1}\n clickable\n className=\"btn btn-outline-primary\"\n onChange={(files) => {\n if (!files || !files.length) return;\n\n const [body] = files;\n\n State.update({ uploading: true, cid: null });\n asyncFetch(\n \"https://ipfs.near.social/add\",\n {\n method: \"POST\",\n headers: { Accept: \"application/json\" },\n body,\n }\n ).then(\n ({ body: { cid } }) => {\n State.update({ cid, uploading: false });\n // props.update(cid);\n }\n );\n }}\n >\n {state.uploading\n ? \"Uploading\"\n : state.cid\n ? \"Replace\"\n : buttonText}\n </Files>\n </div>\n);\n" } } } } }
Empty result
No logs
Receipt:
Predecessor ID:
Receiver ID:
Gas Burned:
223 Ggas
Tokens Burned:
0 
Transferred 0.01842  to contribut3.near
Empty result
No logs