Search
Search

Transaction: 8pqefNA...ymCF

Receiver
Status
Succeeded
Transaction Fee
0.00099 
Deposit Value
<0.00001 
Gas Used
10 Tgas
Attached Gas
100 Tgas
Created
March 09, 2023 at 10:25:48am
Hash
8pqefNAiMspk5eLREgZ2TEUXYTfGhzFUPu9jYzJ3ymCF

Actions

Called method: 'set' in contract: social.near
Arguments:
{ "data": { "contribut3.near": { "widget": { "Contributor": { "": "const ownerId = \"contribut3.near\";\r\nconst accountId = props.accountId;\r\n\r\nif (!accountId) {\r\n return \"Cannot show contributor without account ID!\";\r\n}\r\n\r\nState.init({\r\n contributor: null,\r\n contributorFetched: false,\r\n isEntity: false,\r\n isEntityFetched: false,\r\n profile: null,\r\n profileFetched: false,\r\n});\r\n\r\nif (!state.contributorFetched) {\r\n Near.asyncView(\r\n ownerId,\r\n \"get_contributor\",\r\n { account_id: accountId },\r\n \"final\",\r\n false\r\n ).then((contributor) =>\r\n State.update({ contributor, contributorFetched: true })\r\n );\r\n}\r\n\r\nif (!contributor) {\r\n return \"Loading...\";\r\n}\r\n\r\nif (!state.isEntityFetched) {\r\n Near.asyncView(\r\n ownerId,\r\n \"check_is_entity\",\r\n { account_id: accountId },\r\n \"final\",\r\n false\r\n ).then((isEntity) => State.update({ isEntity, isEntityFetched: true }));\r\n}\r\n\r\nconst active = state.contributor.looking_for_work;\r\n\r\nif (!state.profileFetched) {\r\n const profile = Social.get(`${accountId}/profile/**`, \"final\", {\r\n subscribe: false,\r\n });\r\n State.update({ profile, profileFetched: true });\r\n}\r\n\r\nconst contributionTypes = state.contributor.contribution_types.reduce(\r\n (ob, contributionType) =>\r\n typeof contributionType === \"object\"\r\n ? { ...ob, [contributionType.Other]: \"\" }\r\n : { ...ob, [contributionType]: \"\" },\r\n {}\r\n);\r\n\r\nif (contributionTypes && \"Other\" in contributionTypes) {\r\n contributionTypes[contributionTypes.Other] = \"\";\r\n delete contributionTypes.Other;\r\n}\r\n\r\nconst skills = state.contributor.skills.reduce(\r\n (ob, skill) => ({ ...ob, [skill]: \"\" }),\r\n {}\r\n);\r\n\r\nconst tags = { ...skills, ...contributionTypes } || state.profile.tags;\r\n\r\nconst body = (\r\n <div\r\n className=\"d-flex flex-row justify-content-start\"\r\n id={accountId}\r\n style={{ minHeight: \"8em\", maxWidth: \"100%\" }}\r\n >\r\n <div className=\"flex-grow-1 py-3\" style={{ maxWidth: \"100%\" }}>\r\n <Widget\r\n src={`${ownerId}/widget/ProfileLine`}\r\n props={{\r\n accountId,\r\n isEntity,\r\n imageSize: \"3em\",\r\n update: props.update,\r\n additionalColumn: inboxView ? (\r\n <></>\r\n ) : (\r\n <div className=\"d-flex flex-row justify-content-between align-items-center\">\r\n <Widget\r\n src={`${ownerId}/widget/ActiveIndicator`}\r\n props={{\r\n active,\r\n activeText: \"Available\",\r\n inactiveText: \"Not avilable\",\r\n }}\r\n />\r\n <Widget\r\n src={`${ownerId}/widget/CardMenu`}\r\n props={{\r\n update: props.update,\r\n items: [\r\n {\r\n text: \"Invite to contribute\",\r\n icon: \"bi-person-plus\",\r\n href: `/#/${ownerId}/widget/Index?tab=create&content=invite&accountId=${accountId}`,\r\n onClick: () =>\r\n props.update({\r\n tab: \"create\",\r\n content: \"invite\",\r\n search: \"\",\r\n accountId,\r\n }),\r\n },\r\n {\r\n text: \"View details\",\r\n icon: \"bi-info-circle\",\r\n href: `/#/${ownerId}/widget/Index?tab=contributor&accountId=${accountId}`,\r\n onClick: () =>\r\n props.update({\r\n tab: \"contributor\",\r\n content: \"\",\r\n search: \"\",\r\n accountId,\r\n }),\r\n },\r\n {\r\n text: \"Share\",\r\n icon: \"bi-arrow-up-right\",\r\n id: \"share\",\r\n },\r\n ],\r\n }}\r\n />\r\n </div>\r\n ),\r\n additionalRow: (\r\n <>\r\n <div className=\"d-flex flex-row justify-content-between align-items-center\">\r\n <i\r\n className={`d-block ${state.isEntity ? \"bi-diagram-2\" : \"bi-person\"\r\n }`}\r\n />\r\n <span className=\"ms-2\">\r\n {state.isEntity ? \"Organization\" : \"Individual contributor\"}\r\n </span>\r\n </div>\r\n <Widget src={`${ownerId}/widget/Tags`} props={{ tags }} />\r\n </>\r\n ),\r\n }}\r\n />\r\n <div style={{ maxWidth: \"100%\", marginTop: \"0.5em\" }}>\r\n <Widget\r\n src={`${ownerId}/widget/DescriptionArea`}\r\n props={{\r\n description:\r\n state.contributor.resume ||\r\n entity?.description ||\r\n state.profile.description,\r\n }}\r\n />\r\n </div>\r\n </div>\r\n </div>\r\n);\r\n\r\nreturn (\r\n <div className=\"border-bottom border-secondary-subtle\">\r\n <div className=\"px-3 py-0\">{body}</div>\r\n </div>\r\n);\r\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.00075 
Called method: 'set' in contract: social.near
Arguments:
{ "data": { "contribut3.near": { "widget": { "Contributor": { "": "const ownerId = \"contribut3.near\";\r\nconst accountId = props.accountId;\r\n\r\nif (!accountId) {\r\n return \"Cannot show contributor without account ID!\";\r\n}\r\n\r\nState.init({\r\n contributor: null,\r\n contributorFetched: false,\r\n isEntity: false,\r\n isEntityFetched: false,\r\n profile: null,\r\n profileFetched: false,\r\n});\r\n\r\nif (!state.contributorFetched) {\r\n Near.asyncView(\r\n ownerId,\r\n \"get_contributor\",\r\n { account_id: accountId },\r\n \"final\",\r\n false\r\n ).then((contributor) =>\r\n State.update({ contributor, contributorFetched: true })\r\n );\r\n}\r\n\r\nif (!contributor) {\r\n return \"Loading...\";\r\n}\r\n\r\nif (!state.isEntityFetched) {\r\n Near.asyncView(\r\n ownerId,\r\n \"check_is_entity\",\r\n { account_id: accountId },\r\n \"final\",\r\n false\r\n ).then((isEntity) => State.update({ isEntity, isEntityFetched: true }));\r\n}\r\n\r\nconst active = state.contributor.looking_for_work;\r\n\r\nif (!state.profileFetched) {\r\n const profile = Social.get(`${accountId}/profile/**`, \"final\", {\r\n subscribe: false,\r\n });\r\n State.update({ profile, profileFetched: true });\r\n}\r\n\r\nconst contributionTypes = state.contributor.contribution_types.reduce(\r\n (ob, contributionType) =>\r\n typeof contributionType === \"object\"\r\n ? { ...ob, [contributionType.Other]: \"\" }\r\n : { ...ob, [contributionType]: \"\" },\r\n {}\r\n);\r\n\r\nif (contributionTypes && \"Other\" in contributionTypes) {\r\n contributionTypes[contributionTypes.Other] = \"\";\r\n delete contributionTypes.Other;\r\n}\r\n\r\nconst skills = state.contributor.skills.reduce(\r\n (ob, skill) => ({ ...ob, [skill]: \"\" }),\r\n {}\r\n);\r\n\r\nconst tags = { ...skills, ...contributionTypes } || state.profile.tags;\r\n\r\nconst body = (\r\n <div\r\n className=\"d-flex flex-row justify-content-start\"\r\n id={accountId}\r\n style={{ minHeight: \"8em\", maxWidth: \"100%\" }}\r\n >\r\n <div className=\"flex-grow-1 py-3\" style={{ maxWidth: \"100%\" }}>\r\n <Widget\r\n src={`${ownerId}/widget/ProfileLine`}\r\n props={{\r\n accountId,\r\n isEntity,\r\n imageSize: \"3em\",\r\n update: props.update,\r\n additionalColumn: inboxView ? (\r\n <></>\r\n ) : (\r\n <div className=\"d-flex flex-row justify-content-between align-items-center\">\r\n <Widget\r\n src={`${ownerId}/widget/ActiveIndicator`}\r\n props={{\r\n active,\r\n activeText: \"Available\",\r\n inactiveText: \"Not avilable\",\r\n }}\r\n />\r\n <Widget\r\n src={`${ownerId}/widget/CardMenu`}\r\n props={{\r\n update: props.update,\r\n items: [\r\n {\r\n text: \"Invite to contribute\",\r\n icon: \"bi-person-plus\",\r\n href: `/#/${ownerId}/widget/Index?tab=create&content=invite&accountId=${accountId}`,\r\n onClick: () =>\r\n props.update({\r\n tab: \"create\",\r\n content: \"invite\",\r\n search: \"\",\r\n accountId,\r\n }),\r\n },\r\n {\r\n text: \"View details\",\r\n icon: \"bi-info-circle\",\r\n href: `/#/${ownerId}/widget/Index?tab=contributor&accountId=${accountId}`,\r\n onClick: () =>\r\n props.update({\r\n tab: \"contributor\",\r\n content: \"\",\r\n search: \"\",\r\n accountId,\r\n }),\r\n },\r\n {\r\n text: \"Share\",\r\n icon: \"bi-arrow-up-right\",\r\n id: \"share\",\r\n },\r\n ],\r\n }}\r\n />\r\n </div>\r\n ),\r\n additionalRow: (\r\n <>\r\n <div className=\"d-flex flex-row justify-content-between align-items-center\">\r\n <i\r\n className={`d-block ${state.isEntity ? \"bi-diagram-2\" : \"bi-person\"\r\n }`}\r\n />\r\n <span className=\"ms-2\">\r\n {state.isEntity ? \"Organization\" : \"Individual contributor\"}\r\n </span>\r\n </div>\r\n <Widget src={`${ownerId}/widget/Tags`} props={{ tags }} />\r\n </>\r\n ),\r\n }}\r\n />\r\n <div style={{ maxWidth: \"100%\", marginTop: \"0.5em\" }}>\r\n <Widget\r\n src={`${ownerId}/widget/DescriptionArea`}\r\n props={{\r\n description:\r\n state.contributor.resume ||\r\n entity?.description ||\r\n state.profile.description,\r\n }}\r\n />\r\n </div>\r\n </div>\r\n </div>\r\n);\r\n\r\nreturn (\r\n <div className=\"border-bottom border-secondary-subtle\">\r\n <div className=\"px-3 py-0\">{body}</div>\r\n </div>\r\n);\r\n" } } } } }
Empty result
No logs
Receipt:
Predecessor ID:
Receiver ID:
Gas Burned:
223 Ggas
Tokens Burned:
0 
Transferred 0.01831  to contribut3.near
Empty result
No logs