mainnet
English
Русский
Tiếng Việt
繁體中文
简体中文
Українська
Home
Explore
Transaction: Br4XynL...KoXB
Signed by
relay…tform.near
Delegator
vlofoto81.near
Status
Succeeded
Transaction Fee
0.00125 Ⓝ
Deposit Value
0 Ⓝ
Gas Used
12 Tgas
Attached Gas
12 Tgas
Created
March 21, 2024 at 2:50:35pm
Hash
Br4XynL9CrzwS9XB8FvGf29etSTYrSJKE7fXqrYvKoXB
Block Hash
D62r7T7afQy16ztEXjC2k3kBsme2Br8dKzRZhVZe2LyP
Actions
Actions delegated for vlofoto81.near:
Called method: 'set' in contract:
social.near
Arguments:
{ "data": { "vlofoto81.near": { "widget": { "RockScissorsPaper": { "": "const widget_owner_id = \"nearukraineguild.near\";\n\nconst OuterWrapper = styled.div`\nposition: fixed;\nheight: 100%;\n width: 100%;\n top: 0;\n left: 0;\n margin: 0;\n padding: 0;\n`;\n\nconst Block = styled.div`\n\nbackground-color: black;\n height: 100vh;\n width: 100%;\n`;\n\nconst Text = styled.div`\n position: absolute;\n top: 15%;\n left: 50%;\n transform: translate(-50%, -50%);\n color: #ffffff;\n font-family: 'Kodchasan', sans-serif;\n \n font-size: 3vw;\n`;\n\nconst Social = styled.div`\n position: absolute;\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n`;\n\nconst Wrapper = styled.div`\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n display: flex;\n flex-direction: column;\n align-items: center;\n margin: 0 auto; /* Вирівнює по центру по горизонталі */\n width: 90%;\n \n padding: 20px;\n color: #ffffff;\n font-family: 'Kodchasan', sans-serif;\n font-size: 3vw;\n`;\n\nconst ButtonContainer = styled.div`\n display: flex;\n justify-content: center; /* Вирівнює кнопки по центру по горизонталі */\n width: 100%; /* Розтягує контейнер на всю ширину */\n \n`;\n\nconst Button = styled.button`\n font-size: 2vw;\n margin: 10px;\n padding: 15px 25px;\n border-radius: 10px;\n cursor: pointer;\n background-color: #203343;\n color: #ffffff;\n border: none;\n outline: none;\n transition: all 0.3s ease;\n &:hover {\n background-color: #5c91df;\n }\n`;\n\nconst ResultText = styled.p`\n font-size: 2.5vw;\n text-align: center; \n`;\n\nconst PrimaryText = styled.p`\n @media (min-width: 512px) {\n font-size: 40px;\n width: 100%;\n }\n\n width: 100%;\n font-size: 20px;\n\n font-family: 'Kodchasan', sans-serif;\n font-weight: 700;\n text-align: center;\n color: #ffffff;\n text-transform: uppercase;\n\n padding: 0;\n margin: 0;\n\n white-space: pre-line;\n`;\n\nconst choices = [\"Камінь\", \"Бумага\", \"Ножиці\"];\n\nconst randomChoice = () => choices[Math.floor(Math.random() * choices.length)];\n\nconst determineWinner = (user, computer) => {\n if (user === computer) return <ResultText>\"Нічия!\"</ResultText>;\n if (\n (user === \"Камінь\" && computer === \"Ножиці\") ||\n (user === \"Бумага\" && computer === \"Камінь\") ||\n (user === \"Ножиці\" && computer === \"Бумага\")\n ) {\n return <ResultText>\"Ви виграли!\"</ResultText>;\n } else {\n return <ResultText>\"Ви програли!\"</ResultText>;\n }\n};\n\nconst [userChoice, setUserChoice] = useState(null);\nconst [computerChoice, setComputerChoice] = useState(null);\nconst [result, setResult] = useState(null);\n\nconst handleClick = (choice) => {\n setUserChoice(choice);\n const computerChoice = randomChoice();\n setComputerChoice(computerChoice);\n setResult(determineWinner(choice, computerChoice));\n};\n\nreturn (\n <Block>\n <OuterWrapper>\n <Widget\n src={`${widget_owner_id}/widget/MysteryBox.Manage.Components.MenuHeader`}\n />\n <Wrapper>\n <PrimaryText>\n <Widget\n src={`${widget_owner_id}/widget/MysteryBox.Manage.Components.PrimaryText`}\n />\n Камінь Ножиці Бумага\n <ButtonContainer>\n <Button onClick={() => handleClick(\"Камінь\")}>Камінь</Button>\n <Button onClick={() => handleClick(\"Бумага\")}>Бумага</Button>\n <Button onClick={() => handleClick(\"Ножиці\")}>Ножиці</Button>\n </ButtonContainer>\n {userChoice && computerChoice && result && (\n <ResultText>\n Ви обрали: {userChoice} / Комп'ютор обрав: {computerChoice}\n <span></span>\n Результат: {result}\n </ResultText>\n )}\n </PrimaryText>\n <Social>\n <Widget\n src={`${widget_owner_id}/widget/MysteryBox.Manage.Components.Socials`}\n />\n <br />\n </Social>\n </Wrapper>\n <Widget\n src={`${widget_owner_id}/widget/MysteryBox.Components.BackgroundStars`}\n />\n </OuterWrapper>\n </Block>\n);\n", "metadata": { "fork_of": "vlofoto81.near/widget/RockScissorsPaper@115166457" } } } } } }
Transaction Execution Plan
Convert Transaction To Receipt
Gas Burned:
2 Tgas
Tokens Burned:
0.00026 Ⓝ
Receipt:
Receipt ID:
BunjeiavFnjMVxdXZitk1Ga5CEjx4THbbEm5ijqgh7nY
Executed in Block:
9iETKLnYafUBRWodJD5ADMXu8mj3u8rYRR9ttCpvSeMR
Predecessor ID:
relay…tform.near
Receiver ID:
vlofoto81.near
Gas Burned:
2 Tgas
Tokens Burned:
0.00026 Ⓝ
Actions delegated for vlofoto81.near:
Called method: 'set' in contract:
social.near
Arguments:
{ "data": { "vlofoto81.near": { "widget": { "RockScissorsPaper": { "": "const widget_owner_id = \"nearukraineguild.near\";\n\nconst OuterWrapper = styled.div`\nposition: fixed;\nheight: 100%;\n width: 100%;\n top: 0;\n left: 0;\n margin: 0;\n padding: 0;\n`;\n\nconst Block = styled.div`\n\nbackground-color: black;\n height: 100vh;\n width: 100%;\n`;\n\nconst Text = styled.div`\n position: absolute;\n top: 15%;\n left: 50%;\n transform: translate(-50%, -50%);\n color: #ffffff;\n font-family: 'Kodchasan', sans-serif;\n \n font-size: 3vw;\n`;\n\nconst Social = styled.div`\n position: absolute;\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n`;\n\nconst Wrapper = styled.div`\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n display: flex;\n flex-direction: column;\n align-items: center;\n margin: 0 auto; /* Вирівнює по центру по горизонталі */\n width: 90%;\n \n padding: 20px;\n color: #ffffff;\n font-family: 'Kodchasan', sans-serif;\n font-size: 3vw;\n`;\n\nconst ButtonContainer = styled.div`\n display: flex;\n justify-content: center; /* Вирівнює кнопки по центру по горизонталі */\n width: 100%; /* Розтягує контейнер на всю ширину */\n \n`;\n\nconst Button = styled.button`\n font-size: 2vw;\n margin: 10px;\n padding: 15px 25px;\n border-radius: 10px;\n cursor: pointer;\n background-color: #203343;\n color: #ffffff;\n border: none;\n outline: none;\n transition: all 0.3s ease;\n &:hover {\n background-color: #5c91df;\n }\n`;\n\nconst ResultText = styled.p`\n font-size: 2.5vw;\n text-align: center; \n`;\n\nconst PrimaryText = styled.p`\n @media (min-width: 512px) {\n font-size: 40px;\n width: 100%;\n }\n\n width: 100%;\n font-size: 20px;\n\n font-family: 'Kodchasan', sans-serif;\n font-weight: 700;\n text-align: center;\n color: #ffffff;\n text-transform: uppercase;\n\n padding: 0;\n margin: 0;\n\n white-space: pre-line;\n`;\n\nconst choices = [\"Камінь\", \"Бумага\", \"Ножиці\"];\n\nconst randomChoice = () => choices[Math.floor(Math.random() * choices.length)];\n\nconst determineWinner = (user, computer) => {\n if (user === computer) return <ResultText>\"Нічия!\"</ResultText>;\n if (\n (user === \"Камінь\" && computer === \"Ножиці\") ||\n (user === \"Бумага\" && computer === \"Камінь\") ||\n (user === \"Ножиці\" && computer === \"Бумага\")\n ) {\n return <ResultText>\"Ви виграли!\"</ResultText>;\n } else {\n return <ResultText>\"Ви програли!\"</ResultText>;\n }\n};\n\nconst [userChoice, setUserChoice] = useState(null);\nconst [computerChoice, setComputerChoice] = useState(null);\nconst [result, setResult] = useState(null);\n\nconst handleClick = (choice) => {\n setUserChoice(choice);\n const computerChoice = randomChoice();\n setComputerChoice(computerChoice);\n setResult(determineWinner(choice, computerChoice));\n};\n\nreturn (\n <Block>\n <OuterWrapper>\n <Widget\n src={`${widget_owner_id}/widget/MysteryBox.Manage.Components.MenuHeader`}\n />\n <Wrapper>\n <PrimaryText>\n <Widget\n src={`${widget_owner_id}/widget/MysteryBox.Manage.Components.PrimaryText`}\n />\n Камінь Ножиці Бумага\n <ButtonContainer>\n <Button onClick={() => handleClick(\"Камінь\")}>Камінь</Button>\n <Button onClick={() => handleClick(\"Бумага\")}>Бумага</Button>\n <Button onClick={() => handleClick(\"Ножиці\")}>Ножиці</Button>\n </ButtonContainer>\n {userChoice && computerChoice && result && (\n <ResultText>\n Ви обрали: {userChoice} / Комп'ютор обрав: {computerChoice}\n <span></span>\n Результат: {result}\n </ResultText>\n )}\n </PrimaryText>\n <Social>\n <Widget\n src={`${widget_owner_id}/widget/MysteryBox.Manage.Components.Socials`}\n />\n <br />\n </Social>\n </Wrapper>\n <Widget\n src={`${widget_owner_id}/widget/MysteryBox.Components.BackgroundStars`}\n />\n </OuterWrapper>\n </Block>\n);\n", "metadata": { "fork_of": "vlofoto81.near/widget/RockScissorsPaper@115166457" } } } } } }
Empty result
No logs
Receipt:
Receipt ID:
AuTzKAf6mzSLBd6zFCsDWxs5hmoWNWsa4g6xAFKqMfnr
Executed in Block:
DWx8vSpAvXT18fJdgedKkTqFR38xqmYrs83RMvHiEakH
Predecessor ID:
vlofoto81.near
Receiver ID:
social.near
Gas Burned:
7 Tgas
Tokens Burned:
0.00072 Ⓝ
Called method: 'set' in contract:
social.near
Arguments:
{ "data": { "vlofoto81.near": { "widget": { "RockScissorsPaper": { "": "const widget_owner_id = \"nearukraineguild.near\";\n\nconst OuterWrapper = styled.div`\nposition: fixed;\nheight: 100%;\n width: 100%;\n top: 0;\n left: 0;\n margin: 0;\n padding: 0;\n`;\n\nconst Block = styled.div`\n\nbackground-color: black;\n height: 100vh;\n width: 100%;\n`;\n\nconst Text = styled.div`\n position: absolute;\n top: 15%;\n left: 50%;\n transform: translate(-50%, -50%);\n color: #ffffff;\n font-family: 'Kodchasan', sans-serif;\n \n font-size: 3vw;\n`;\n\nconst Social = styled.div`\n position: absolute;\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n`;\n\nconst Wrapper = styled.div`\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n display: flex;\n flex-direction: column;\n align-items: center;\n margin: 0 auto; /* Вирівнює по центру по горизонталі */\n width: 90%;\n \n padding: 20px;\n color: #ffffff;\n font-family: 'Kodchasan', sans-serif;\n font-size: 3vw;\n`;\n\nconst ButtonContainer = styled.div`\n display: flex;\n justify-content: center; /* Вирівнює кнопки по центру по горизонталі */\n width: 100%; /* Розтягує контейнер на всю ширину */\n \n`;\n\nconst Button = styled.button`\n font-size: 2vw;\n margin: 10px;\n padding: 15px 25px;\n border-radius: 10px;\n cursor: pointer;\n background-color: #203343;\n color: #ffffff;\n border: none;\n outline: none;\n transition: all 0.3s ease;\n &:hover {\n background-color: #5c91df;\n }\n`;\n\nconst ResultText = styled.p`\n font-size: 2.5vw;\n text-align: center; \n`;\n\nconst PrimaryText = styled.p`\n @media (min-width: 512px) {\n font-size: 40px;\n width: 100%;\n }\n\n width: 100%;\n font-size: 20px;\n\n font-family: 'Kodchasan', sans-serif;\n font-weight: 700;\n text-align: center;\n color: #ffffff;\n text-transform: uppercase;\n\n padding: 0;\n margin: 0;\n\n white-space: pre-line;\n`;\n\nconst choices = [\"Камінь\", \"Бумага\", \"Ножиці\"];\n\nconst randomChoice = () => choices[Math.floor(Math.random() * choices.length)];\n\nconst determineWinner = (user, computer) => {\n if (user === computer) return <ResultText>\"Нічия!\"</ResultText>;\n if (\n (user === \"Камінь\" && computer === \"Ножиці\") ||\n (user === \"Бумага\" && computer === \"Камінь\") ||\n (user === \"Ножиці\" && computer === \"Бумага\")\n ) {\n return <ResultText>\"Ви виграли!\"</ResultText>;\n } else {\n return <ResultText>\"Ви програли!\"</ResultText>;\n }\n};\n\nconst [userChoice, setUserChoice] = useState(null);\nconst [computerChoice, setComputerChoice] = useState(null);\nconst [result, setResult] = useState(null);\n\nconst handleClick = (choice) => {\n setUserChoice(choice);\n const computerChoice = randomChoice();\n setComputerChoice(computerChoice);\n setResult(determineWinner(choice, computerChoice));\n};\n\nreturn (\n <Block>\n <OuterWrapper>\n <Widget\n src={`${widget_owner_id}/widget/MysteryBox.Manage.Components.MenuHeader`}\n />\n <Wrapper>\n <PrimaryText>\n <Widget\n src={`${widget_owner_id}/widget/MysteryBox.Manage.Components.PrimaryText`}\n />\n Камінь Ножиці Бумага\n <ButtonContainer>\n <Button onClick={() => handleClick(\"Камінь\")}>Камінь</Button>\n <Button onClick={() => handleClick(\"Бумага\")}>Бумага</Button>\n <Button onClick={() => handleClick(\"Ножиці\")}>Ножиці</Button>\n </ButtonContainer>\n {userChoice && computerChoice && result && (\n <ResultText>\n Ви обрали: {userChoice} / Комп'ютор обрав: {computerChoice}\n <span></span>\n Результат: {result}\n </ResultText>\n )}\n </PrimaryText>\n <Social>\n <Widget\n src={`${widget_owner_id}/widget/MysteryBox.Manage.Components.Socials`}\n />\n <br />\n </Social>\n </Wrapper>\n <Widget\n src={`${widget_owner_id}/widget/MysteryBox.Components.BackgroundStars`}\n />\n </OuterWrapper>\n </Block>\n);\n", "metadata": { "fork_of": "vlofoto81.near/widget/RockScissorsPaper@115166457" } } } } } }
Result:
{ "block_height": "115167315" }
No logs
Receipt:
Receipt ID:
9RxfUb1kPHMTBt4ZbSX2ds1rNW7Ceb7DZDnj4AcMSS5x
Executed in Block:
95FYZqE1epfdVeUhtcrKCqiUa52ok15bnYU7BW4X5joh
Predecessor ID:
system
Receiver ID:
relay…tform.near
Gas Burned:
223 Ggas
Tokens Burned:
0 Ⓝ
Transferred
0.01891 Ⓝ
to
relay…tform.near
Empty result
No logs
Receipt:
Receipt ID:
4SL7GC61kmsHsoLycJ2EfZ1uuvq66qCwdDmGsc9uY1Fa
Executed in Block:
DWx8vSpAvXT18fJdgedKkTqFR38xqmYrs83RMvHiEakH
Predecessor ID:
system
Receiver ID:
relay…tform.near
Gas Burned:
223 Ggas
Tokens Burned:
0 Ⓝ
Transferred
0.00024 Ⓝ
to
relay…tform.near
Empty result
No logs
© 2024 NEAR Inc. All Rights Reserved.
Terms of Service
|
Privacy Policy
Questions?
Join the Community
◍