mainnet
English
Русский
Tiếng Việt
繁體中文
简体中文
Українська
Home
Explore
Transaction: 78yZkco...njRb
Signed by
dropcast.near
Receiver
social.near
Status
Succeeded
Transaction Fee
0.00088 Ⓝ
Deposit Value
0 Ⓝ
Gas Used
9 Tgas
Attached Gas
100 Tgas
Created
February 20, 2024 at 5:48:15pm
Hash
78yZkcoYNVemDszTdEp6krmzVdxq2rYAKp497AzsnjRb
Block Hash
6QVLqtPr8nsVpgEXXLR2bsTLpPQ9VCb2FUWwGjgrHcUp
Actions
Called method: 'set' in contract:
social.near
Arguments:
{ "data": { "dropcast.near": { "widget": { "login": { "": "const accountId = context.accountId;\nconst Owner = \"dropcast.near\";\nconst CLIENT_ID = \"1206878767633534976\";\nconst BASE_URL = \"https://near.org/dropcast.near/widget/\";\nconst OAuthScope = [\"identify\", \"guilds\"].join(\" \");\nStorage.set(\"token\", null, `${Owner}/widget/discord`);\nStorage.set(\"user\", null, `${Owner}/widget/discord`);\nconsole.log(Storage.get(\"token\", `${Owner}/widget/discord`), \"==>\");\n//Styles\nconst Wrapper = styled.div`\n display: flex;\n width: 100%;\n height: 100vh;\n color: #d4d4d4;\n position: relative;\n align-items: center;\n background: #171717;\n justify-content: center;\n flex-direction: column;\n \n`;\n\nconst LogoIcon = styled.img`\n width: 192px; \n height: 192px; \n`;\n\nconst Title = styled.h1`\n fontSize: 36px;\n color: transparent;\n background-clip: text;\n background-image: linear-gradient(to bottom right, #facc15, #fb923c, #db2777);\n`;\n\nconst LoginButton = styled.a`\n padding: 6px 24px;\n`;\n\nconst params = {\n client_id: CLIENT_ID,\n redirect_uri: `${BASE_URL}discord`,\n scope: OAuthScope,\n response_type: \"code\",\n};\n\nconst OAuthData = Object.keys(params)\n .map((param) => `${param}=${params[param]}`)\n .join(\"&\");\n\nreturn (\n <Wrapper className=\"root\">\n <LogoIcon\n src=\"https://dropcast.nearverselabs.com/logo.png\"\n decoding=\"async\"\n data-nimg=\"fill\"\n />\n <Title>Dropcast</Title>\n <p style={{ fontSize: 12 }}>Powered by Blocksmith Labs</p>\n <LoginButton\n className=\"btn btn-primary mt-4\"\n href={`https://discordapp.com/oauth2/authorize?${OAuthData}`}\n >\n Login with Discord\n </LoginButton>\n </Wrapper>\n);\n", "metadata": { "fork_of": "dropcast.near/widget/login@113157179" } } } } } }
Transaction Execution Plan
Convert Transaction To Receipt
Gas Burned:
2 Tgas
Tokens Burned:
0.00024 Ⓝ
Receipt:
Receipt ID:
DXFeVheeuKbXKah5i8yQmuVAFVBojQhNMa3rSJQb9bSJ
Executed in Block:
ESc1NRDzsAt1FUQ54St5dVbhP7FhX8dE9HzaG7pNDjes
Predecessor ID:
dropcast.near
Receiver ID:
social.near
Gas Burned:
6 Tgas
Tokens Burned:
0.00064 Ⓝ
Called method: 'set' in contract:
social.near
Arguments:
{ "data": { "dropcast.near": { "widget": { "login": { "": "const accountId = context.accountId;\nconst Owner = \"dropcast.near\";\nconst CLIENT_ID = \"1206878767633534976\";\nconst BASE_URL = \"https://near.org/dropcast.near/widget/\";\nconst OAuthScope = [\"identify\", \"guilds\"].join(\" \");\nStorage.set(\"token\", null, `${Owner}/widget/discord`);\nStorage.set(\"user\", null, `${Owner}/widget/discord`);\nconsole.log(Storage.get(\"token\", `${Owner}/widget/discord`), \"==>\");\n//Styles\nconst Wrapper = styled.div`\n display: flex;\n width: 100%;\n height: 100vh;\n color: #d4d4d4;\n position: relative;\n align-items: center;\n background: #171717;\n justify-content: center;\n flex-direction: column;\n \n`;\n\nconst LogoIcon = styled.img`\n width: 192px; \n height: 192px; \n`;\n\nconst Title = styled.h1`\n fontSize: 36px;\n color: transparent;\n background-clip: text;\n background-image: linear-gradient(to bottom right, #facc15, #fb923c, #db2777);\n`;\n\nconst LoginButton = styled.a`\n padding: 6px 24px;\n`;\n\nconst params = {\n client_id: CLIENT_ID,\n redirect_uri: `${BASE_URL}discord`,\n scope: OAuthScope,\n response_type: \"code\",\n};\n\nconst OAuthData = Object.keys(params)\n .map((param) => `${param}=${params[param]}`)\n .join(\"&\");\n\nreturn (\n <Wrapper className=\"root\">\n <LogoIcon\n src=\"https://dropcast.nearverselabs.com/logo.png\"\n decoding=\"async\"\n data-nimg=\"fill\"\n />\n <Title>Dropcast</Title>\n <p style={{ fontSize: 12 }}>Powered by Blocksmith Labs</p>\n <LoginButton\n className=\"btn btn-primary mt-4\"\n href={`https://discordapp.com/oauth2/authorize?${OAuthData}`}\n >\n Login with Discord\n </LoginButton>\n </Wrapper>\n);\n", "metadata": { "fork_of": "dropcast.near/widget/login@113157179" } } } } } }
Result:
{ "block_height": "113234225" }
No logs
Receipt:
Receipt ID:
5ky7mujQmbf9tYjKtsqw7FouP1XBK71uEtNkECSnKqzA
Executed in Block:
25HTssY2zjqJMG13cXsTNJ2tXmMGSbRsuv1CUQgeZ8GZ
Predecessor ID:
system
Receiver ID:
dropcast.near
Gas Burned:
223 Ggas
Tokens Burned:
0 Ⓝ
Transferred
0.01842 Ⓝ
to
dropcast.near
Empty result
No logs
© 2024 NEAR Inc. All Rights Reserved.
Terms of Service
|
Privacy Policy
Questions?
Join the Community
◍