mainnet
English
Русский
Tiếng Việt
繁體中文
简体中文
Українська
Home
Explore
Transaction: EtVMg2n...1G25
Signed by
toch.near
Receiver
social.near
Status
Succeeded
Transaction Fee
0.00079 Ⓝ
Deposit Value
0 Ⓝ
Gas Used
8 Tgas
Attached Gas
100 Tgas
Created
October 24, 2023 at 4:12:53am
Hash
EtVMg2nYf6b63y9QaNjnPaibjnRbsdnsYsLNhPa81G25
Block Hash
7ykjrMG6RHVYZCJVJbRffAh9KoCAfp77RWE7XFMSSByo
Actions
Called method: 'set' in contract:
social.near
Arguments:
{ "data": { "toch.near": { "widget": { "createHackathonBtn": { "": "const indexKey = props.indexKey ?? \"main\";\nconst draftKey = props.indexKey ?? \"draft\";\nconst draft = Storage.privateGet(draftKey);\nconst groupId = props.groupId;\n\nconst text = props.text || \"\";\n\nconst content = {\n type: \"md\",\n text: text,\n};\n\nconst composeData = () => {\n const data = {\n post: {\n main: JSON.stringify(Object.assign({ groupId }, content)),\n },\n index: {\n post: JSON.stringify({\n key: indexKey,\n value: {\n type: \"md\",\n },\n }),\n },\n };\n\n const item = {\n type: \"social\",\n path: `toch.near/post/main`,\n };\n\n const notifications = state.extractMentionNotifications(\n state.content.text,\n item\n );\n\n if (notifications.length) {\n data.index.notify = JSON.stringify(\n notifications.length > 1 ? notifications : notifications[0]\n );\n }\n\n const hashtags = state.extractHashtags(state.content.text);\n\n if (hashtags.length) {\n data.index.hashtag = JSON.stringify(\n hashtags.map((hashtag) => ({\n key: hashtag,\n value: item,\n }))\n );\n }\n\n return data;\n};\n\nState.init({\n onChange: ({ content }) => {\n State.update({ content });\n Storage.privateSet(draftKey, content.text || \"\");\n },\n});\n\nreturn (\n <>\n <div className=\"container\">\n <CommitButton\n disabled={!text}\n force\n className=\"btn btn-primary rounded-5 mt-2\"\n data={composeData}\n >\n Create Hackathon\n </CommitButton>\n </div>\n </>\n);\n" } } } } }
Transaction Execution Plan
Convert Transaction To Receipt
Gas Burned:
2 Tgas
Tokens Burned:
0.00024 Ⓝ
Receipt:
Receipt ID:
4CGnqYwPJLZWJqgQKuQPstSZi2H4AWgUm7mx8ST9n9Nt
Executed in Block:
HJsZAEADG3kZ7RSRPYkFQohzCcYHSFi392igo4DcCZKJ
Predecessor ID:
toch.near
Receiver ID:
social.near
Gas Burned:
5 Tgas
Tokens Burned:
0.00054 Ⓝ
Called method: 'set' in contract:
social.near
Arguments:
{ "data": { "toch.near": { "widget": { "createHackathonBtn": { "": "const indexKey = props.indexKey ?? \"main\";\nconst draftKey = props.indexKey ?? \"draft\";\nconst draft = Storage.privateGet(draftKey);\nconst groupId = props.groupId;\n\nconst text = props.text || \"\";\n\nconst content = {\n type: \"md\",\n text: text,\n};\n\nconst composeData = () => {\n const data = {\n post: {\n main: JSON.stringify(Object.assign({ groupId }, content)),\n },\n index: {\n post: JSON.stringify({\n key: indexKey,\n value: {\n type: \"md\",\n },\n }),\n },\n };\n\n const item = {\n type: \"social\",\n path: `toch.near/post/main`,\n };\n\n const notifications = state.extractMentionNotifications(\n state.content.text,\n item\n );\n\n if (notifications.length) {\n data.index.notify = JSON.stringify(\n notifications.length > 1 ? notifications : notifications[0]\n );\n }\n\n const hashtags = state.extractHashtags(state.content.text);\n\n if (hashtags.length) {\n data.index.hashtag = JSON.stringify(\n hashtags.map((hashtag) => ({\n key: hashtag,\n value: item,\n }))\n );\n }\n\n return data;\n};\n\nState.init({\n onChange: ({ content }) => {\n State.update({ content });\n Storage.privateSet(draftKey, content.text || \"\");\n },\n});\n\nreturn (\n <>\n <div className=\"container\">\n <CommitButton\n disabled={!text}\n force\n className=\"btn btn-primary rounded-5 mt-2\"\n data={composeData}\n >\n Create Hackathon\n </CommitButton>\n </div>\n </>\n);\n" } } } } }
Empty result
No logs
Receipt:
Receipt ID:
AavfUSjamnvLcG3wa5RQ4TpndwVVHq3zjuy4CmJFWCtW
Executed in Block:
FpPFkac1Rhzt3N2DeKi7e4RcuWh4LqoKggvS4Y4mqzYV
Predecessor ID:
system
Receiver ID:
toch.near
Gas Burned:
223 Ggas
Tokens Burned:
0 Ⓝ
Transferred
0.01851 Ⓝ
to
toch.near
Empty result
No logs
© 2024 NEAR Inc. All Rights Reserved.
Terms of Service
|
Privacy Policy
Questions?
Join the Community
◍