Search
Search

Transaction: 8ewKPsc...roe1

Receiver
Status
Succeeded
Transaction Fee
0.00099 
Deposit Value
<0.00001 
Gas Used
10 Tgas
Attached Gas
100 Tgas
Created
March 08, 2023 at 1:01:14pm
Hash
8ewKPsc31UuuTtHqerK5CcbA6kcLBWRoG9WHqtnGroe1

Actions

Called method: 'set' in contract: social.near
Arguments:
{ "data": { "contribut3.near": { "widget": { "Entity": { "": "const ownerId = \"contribut3.near\";\r\nconst accountId = props.accountId;\r\nconst notStandalone = props.notStandalone ?? false;\r\nconst isPreview = props.isPreview ?? false;\r\nconst inboxView = props.inboxView;\r\n\r\nif (!accountId) {\r\n return \"Cannot show entity without account ID!\";\r\n}\r\n\r\nState.init({\r\n contributionFormHidden: true,\r\n entity: null,\r\n entityFetched: false,\r\n founders: [],\r\n foundersFetched: false,\r\n profile: null,\r\n profileFetched: false,\r\n});\r\n\r\nconsole.log(\"this also\");\r\n\r\nif (!state.entityFetched) {\r\n Near.asyncView(\r\n ownerId,\r\n \"get_entity\",\r\n { account_id: accountId },\r\n \"final\",\r\n false\r\n ).then((entity) => State.update({ entity, entityFetched: true }));\r\n}\r\n\r\nif (!state.profileFetched) {\r\n const profile = Social.getr(`${accountId}/profile`, \"final\", {\r\n subscribe: false,\r\n });\r\n State.update({ profile, profileFetched: true });\r\n}\r\n\r\nif (!state.foundersFetched) {\r\n Near.asyncView(\r\n ownerId,\r\n \"get_founders\",\r\n { account_id: accountId },\r\n \"final\",\r\n false\r\n ).then((founders) => State.update({ founders, foundersFetched: true }));\r\n}\r\n\r\nconst Container = styled.div`\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: start;\r\n min-height: 8em;\r\n max-width: 100%;\r\n padding: 0 0.75em;\r\n border-bottom: 1px solid #eaecf0;\r\n`;\r\n\r\nconst Wrapper = styled.div`\r\n flex-grow: 1;\r\n padding: 0.75em 0;\r\n max-width: 100%;\r\n`;\r\n\r\nconst ActionColumn = styled.div`\r\n display: ${({ show }) => (show ? \"flex\" : \"none\")};\r\n flex-direction: row;\r\n justify-content: between;\r\n align-items: center;\r\n`;\r\n\r\nconst DescriptionWrapper = styled.div`\r\n max-width: 100%;\r\n margin-top: 0.5em;\r\n`;\r\n\r\nreturn (\r\n <Container id={accountId}>\r\n <Wrapper>\r\n <Widget\r\n src={`${ownerId}/widget/ProfileLine`}\r\n props={{\r\n accountId,\r\n isEntity: true,\r\n imageSize: \"3em\",\r\n update: props.update,\r\n additionalColumn: (\r\n <ActionColumn show={!inboxView}>\r\n <Widget\r\n src={`${ownerId}/widget/ActiveIndicator`}\r\n props={{ active: state.entity.status }}\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: \"Propose contribution\",\r\n icon: \"bi-person-up\",\r\n onClick: () =>\r\n State.update({ contributionFormHidden: false }),\r\n },\r\n {\r\n text: \"View details\",\r\n icon: \"bi-info-circle\",\r\n href: `/#/${ownerId}/widget/Index?tab=entity&accountId=${accountId}`,\r\n onClick: () =>\r\n props.update({\r\n tab: \"entity\",\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 </ActionColumn>\r\n ),\r\n additionalRow: (\r\n <>\r\n <div>\r\n {state.founders.map((founder) =>\r\n state.founders.length === 1 ? (\r\n <Widget\r\n src={`${ownerId}/widget/ProfileLine`}\r\n props={{\r\n accountId: founder,\r\n isEntity: false,\r\n update: props.update,\r\n }}\r\n />\r\n ) : (\r\n <Widget\r\n src={`${ownerId}/widget/ProfileCircle`}\r\n props={{\r\n accountId: founder,\r\n isEntity: false,\r\n update: props.update,\r\n }}\r\n />\r\n )\r\n )}\r\n </div>\r\n <Widget\r\n src={`${ownerId}/widget/Tags`}\r\n props={{ tags: state.profile.tags }}\r\n />\r\n </>\r\n ),\r\n }}\r\n />\r\n <DescriptionWrapper>\r\n <Widget\r\n src={`${ownerId}/widget/DescriptionArea`}\r\n props={{\r\n description: state.entity.description || state.profile.description,\r\n }}\r\n />\r\n </DescriptionWrapper>\r\n </Wrapper>\r\n <Widget\r\n src={`${ownerId}/widget/ContributionRequestForm`}\r\n props={{\r\n id: `${accountId}ContributionRequestForm`,\r\n entity: accountId,\r\n hidden: state.contributionFormHidden,\r\n onClose: () => State.update({ contributionFormHidden: true }),\r\n }}\r\n />\r\n </Container>\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": { "Entity": { "": "const ownerId = \"contribut3.near\";\r\nconst accountId = props.accountId;\r\nconst notStandalone = props.notStandalone ?? false;\r\nconst isPreview = props.isPreview ?? false;\r\nconst inboxView = props.inboxView;\r\n\r\nif (!accountId) {\r\n return \"Cannot show entity without account ID!\";\r\n}\r\n\r\nState.init({\r\n contributionFormHidden: true,\r\n entity: null,\r\n entityFetched: false,\r\n founders: [],\r\n foundersFetched: false,\r\n profile: null,\r\n profileFetched: false,\r\n});\r\n\r\nconsole.log(\"this also\");\r\n\r\nif (!state.entityFetched) {\r\n Near.asyncView(\r\n ownerId,\r\n \"get_entity\",\r\n { account_id: accountId },\r\n \"final\",\r\n false\r\n ).then((entity) => State.update({ entity, entityFetched: true }));\r\n}\r\n\r\nif (!state.profileFetched) {\r\n const profile = Social.getr(`${accountId}/profile`, \"final\", {\r\n subscribe: false,\r\n });\r\n State.update({ profile, profileFetched: true });\r\n}\r\n\r\nif (!state.foundersFetched) {\r\n Near.asyncView(\r\n ownerId,\r\n \"get_founders\",\r\n { account_id: accountId },\r\n \"final\",\r\n false\r\n ).then((founders) => State.update({ founders, foundersFetched: true }));\r\n}\r\n\r\nconst Container = styled.div`\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: start;\r\n min-height: 8em;\r\n max-width: 100%;\r\n padding: 0 0.75em;\r\n border-bottom: 1px solid #eaecf0;\r\n`;\r\n\r\nconst Wrapper = styled.div`\r\n flex-grow: 1;\r\n padding: 0.75em 0;\r\n max-width: 100%;\r\n`;\r\n\r\nconst ActionColumn = styled.div`\r\n display: ${({ show }) => (show ? \"flex\" : \"none\")};\r\n flex-direction: row;\r\n justify-content: between;\r\n align-items: center;\r\n`;\r\n\r\nconst DescriptionWrapper = styled.div`\r\n max-width: 100%;\r\n margin-top: 0.5em;\r\n`;\r\n\r\nreturn (\r\n <Container id={accountId}>\r\n <Wrapper>\r\n <Widget\r\n src={`${ownerId}/widget/ProfileLine`}\r\n props={{\r\n accountId,\r\n isEntity: true,\r\n imageSize: \"3em\",\r\n update: props.update,\r\n additionalColumn: (\r\n <ActionColumn show={!inboxView}>\r\n <Widget\r\n src={`${ownerId}/widget/ActiveIndicator`}\r\n props={{ active: state.entity.status }}\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: \"Propose contribution\",\r\n icon: \"bi-person-up\",\r\n onClick: () =>\r\n State.update({ contributionFormHidden: false }),\r\n },\r\n {\r\n text: \"View details\",\r\n icon: \"bi-info-circle\",\r\n href: `/#/${ownerId}/widget/Index?tab=entity&accountId=${accountId}`,\r\n onClick: () =>\r\n props.update({\r\n tab: \"entity\",\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 </ActionColumn>\r\n ),\r\n additionalRow: (\r\n <>\r\n <div>\r\n {state.founders.map((founder) =>\r\n state.founders.length === 1 ? (\r\n <Widget\r\n src={`${ownerId}/widget/ProfileLine`}\r\n props={{\r\n accountId: founder,\r\n isEntity: false,\r\n update: props.update,\r\n }}\r\n />\r\n ) : (\r\n <Widget\r\n src={`${ownerId}/widget/ProfileCircle`}\r\n props={{\r\n accountId: founder,\r\n isEntity: false,\r\n update: props.update,\r\n }}\r\n />\r\n )\r\n )}\r\n </div>\r\n <Widget\r\n src={`${ownerId}/widget/Tags`}\r\n props={{ tags: state.profile.tags }}\r\n />\r\n </>\r\n ),\r\n }}\r\n />\r\n <DescriptionWrapper>\r\n <Widget\r\n src={`${ownerId}/widget/DescriptionArea`}\r\n props={{\r\n description: state.entity.description || state.profile.description,\r\n }}\r\n />\r\n </DescriptionWrapper>\r\n </Wrapper>\r\n <Widget\r\n src={`${ownerId}/widget/ContributionRequestForm`}\r\n props={{\r\n id: `${accountId}ContributionRequestForm`,\r\n entity: accountId,\r\n hidden: state.contributionFormHidden,\r\n onClose: () => State.update({ contributionFormHidden: true }),\r\n }}\r\n />\r\n </Container>\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