Smart Contract Details

Open on Dero Explorer
Internal ID:
49774
Block:
Timestamp:
2025-05-16 20:05:27 UTC (2 months ago)
Creator:
goodwallet (1770683)
Raw Data:
[{"name":"SC_ACTION","datatype":"U","value":1},{"name":"SC_CODE","datatype":"S","value":"Function InitializePrivate() Uint64\n10 IF init() == 0 THEN GOTO 30\n20 RETURN 1\n30 STORE(\"nameHdr\", \"index.html\")\n31 STORE(\"descrHdr\", \"index.html\")\n32 STORE(\"iconURLHdr\", \"\")\n33 STORE(\"dURL\", \"AS's Playground Live\")\n34 STORE(\"docType\", \"TELA-HTML-1\")\n35 STORE(\"subDir\", \"\")\n36 STORE(\"fileCheckC\", \"28f8b744bc48e56bba76106e38d11589a34c55cecd37fe71291673748f3bba54\")\n37 STORE(\"fileCheckS\", \"c3510fd7ef58bb6acbe7b8dfe5923ac8e69097f44d54f55196e315d3967a46\")\n100 RETURN 0\nEnd Function\n\nFunction init() Uint64\n10 IF EXISTS(\"owner\") == 0 THEN GOTO 30\n20 RETURN 1\n30 STORE(\"owner\", address())\n50 STORE(\"docVersion\", \"1.0.0\")\n60 STORE(\"hash\", HEX(TXID()))\n70 STORE(\"likes\", 0)\n80 STORE(\"dislikes\", 0)\n100 RETURN 0\nEnd Function\n\nFunction address() String\n10 DIM s as String\n20 LET s = SIGNER()\n30 IF IS_ADDRESS_VALID(s) THEN GOTO 50\n40 RETURN \"anon\"\n50 RETURN ADDRESS_STRING(s)\nEnd Function\n\nFunction Rate(r Uint64) Uint64\n10 DIM addr as String\n15 LET addr = address()\n16 IF r \u003c 100 \u0026\u0026 EXISTS(addr) == 0 \u0026\u0026 addr != \"anon\" THEN GOTO 30\n20 RETURN 1\n30 STORE(addr, \"\"+r+\"_\"+BLOCK_HEIGHT())\n40 IF r \u003c 50 THEN GOTO 70\n50 STORE(\"likes\", LOAD(\"likes\")+1)\n60 RETURN 0\n70 STORE(\"dislikes\", LOAD(\"dislikes\")+1)\n100 RETURN 0\nEnd Function\n\n/*\n\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n\u003chead\u003e\n\u003ctitle\u003eAS's Playground Live\u003c/title\u003e\n\u003cmeta charset=\"utf-8\"\u003e\n\u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1\"\u003e\n\n\u003clink rel=\"stylesheet\" type=\"text/css\" href=\"style.css\"\u003e\n\u003cscript src=\"header.js\" type=\"text/javascript\" defer\u003e\u003c/script\u003e\n\u003cscript src=\"nav.js\" type=\"text/javascript\" defer\u003e\u003c/script\u003e\n\u003cscript src=\"footer.js\" type=\"text/javascript\" defer\u003e\u003c/script\u003e\n\u003cscript src=\"main.js\"\u003e\u003c/script\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n  \n\u003cheader\u003e\u003cheader-component\u003e\u003c/header-component\u003e\u003c/header\u003e\n\u003cdiv class=\"sticky\";\u003e\n  \u003cnav\u003e\u003cdiv class=\"marginside\";\u003e\u003cnav-component\u003e\u003c/nav-component\u003e\u003c/div\u003e\u003c/nav\u003e\n\u003c/div\u003e\n\n\u003csection\u003e\n  \u003caside\u003e\n    \u003cp\u003e\u003cstrong\u003eHello\u003c/strong\u003e\u003c/p\u003e\n    \u003cli\u003e\u003ca class=\"side\" href=\"#What is the story?\"\u003eWhat is the story?\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca class=\"side\" href=\"#Why?\"\u003eWhy?\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca class=\"side\" href=\"#What to expect?\"\u003eWhat to expect?\u003c/a\u003e\u003c/li\u003e\n  \u003c/aside\u003e\n\n  \u003carticle\u003e\n    \u003ch1\u003eHello\u003c/h1\u003e\n    \u003ch2 id=\"What is the story?\"class=\"anchored\"\u003eWhat is the story?\u003c/h2\u003e\n    \u003cp\u003eYeah, what is the story?\u003c/p\u003e\n    \u003cp\u003eWith a few of us, there's this undeniable pull — the need for true digital privacy, security, freedom, and sovereignty. It's not just a preference, it's a principle, a compass pointing toward something more human in the digital age.\u003c/p\u003e\n    \u003cp\u003eThat’s why I’ve been diving deep into DERO, exploring it's ecosystem, it's community, and especially experimenting with what TELA is becoming. It’s not just tech, it’s a quiet rebellion, a space where we can reclaim control and build without compromise, without surveillance, without needing permission to exist.\u003c/p\u003e\n    \u003cp\u003eI believe that over time, as the noise of the old systems grows louder, we’ll keep walking this path. And we’ll attract the right hearts and minds, the ones who feel that same pull, who understand that sometimes the most powerful signal is the one that moves in silence.\u003c/p\u003e\n    \u003cp\u003eArcaneSphere is of course just an internet name, so keeping it short you can call me AS! Hence AS's Playground Live, here I am building, testing, breaking and fixing it.\u003c/p\u003e\n    \u003cp\u003ePeace \u0026#128330;\u003c/p\u003e\n    \u003ch2 id=\"Why?\" class=\"anchored\"\u003eWhy? \u003csmall\u003e*not\u003c/small\u003e\u003c/h2\u003e\n    \u003cp\u003eBecause I think this is the future, particularly DERO's vision of a \u003cstrong\u003eprivate, secure, and scalable decentralized application (dApp) platform\u003c/strong\u003e that empowers developers to build powerful applications while ensuring users maintain complete control over their assets with full privacy.\u003c/p\u003e\n    \u003cp\u003eI like messing around with code, learning as I go, live-testing in the wild, because I’m curious, because it’s fun and learned lessons if unfortunally needed can be implementend some where else too.\u003c/p\u003e \n    \u003cp\u003eIt's organic, it grows out here, in the open, one weird experiment at a time, haha.\u003c/p\u003e\n    \u003ch2 id=\"What to expect?\" class=\"anchored\"\u003eWhat to expect?\u003c/h2\u003e\n    \u003cp\u003eI am a hobbyist, for now where I can fuck things up is in HTML, CSS and a lil JavaScript, the helping hand of AI accelerates things I have to say, we truly life in an exponetional age.\u003c/p\u003e\n    \u003cp\u003eEventually I will dive into DVM and Smartcontracts, let's see if I can make something functional?\u003c/p\u003e\n\n  \u003c/article\u003e\n\n\u003c/section\u003e\n\n\n\u003cfooter-component\u003e\u003c/footer-component\u003e\n\n\n\u003ca href=\"https://t.me/deroworld\" target=\"_blank\" class=\"telegram-float\"\u003e\n  \u003cdiv class=\"telegram-icon\"\u003e\n    \u003csvg viewBox=\"0 0 64 64\"\u003e\u003cpath d=\"M56.4,8.2l-51.2,20c-1.7,0.6-1.6,3,0.1,3.5l9.7,2.9c2.1,0.6,3.8,2.2,4.4,4.3l3.8,12.1c0.5,1.6,2.5,2.1,3.7,0.9 l5.2-5.3c0.9-0.9,2.2-1,3.2-0.3l11.5,8.4c1.6,1.2,3.9,0.3,4.3-1.7l8.7-41.8C60.4,9.1,58.4,7.4,56.4,8.2z M50,17.4L29.4,35.6 c-1.1,1-1.9,2.4-2,3.9c-0.2,1.5-2.3,1.7-2.8,0.3l-0.9-3c-0.7-2.2,0.2-4.5,2.1-5.7l23.5-14.6C49.9,16.1,50.5,16.9,50,17.4z\"\u003e\u003c/path\u003e\u003c/svg\u003e\n\u003c/div\u003e\n\u003c/a\u003e\n\n\n\u003c/body\u003e\n\u003c/html\u003e\n\n*/"}]
Code:
Function InitializePrivate() Uint64
10 IF init() == 0 THEN GOTO 30
20 RETURN 1
30 STORE("nameHdr", "index.html")
31 STORE("descrHdr", "index.html")
32 STORE("iconURLHdr", "")
33 STORE("dURL", "AS's Playground Live")
34 STORE("docType", "TELA-HTML-1")
35 STORE("subDir", "")
36 STORE("fileCheckC", "28f8b744bc48e56bba76106e38d11589a34c55cecd37fe71291673748f3bba54")
37 STORE("fileCheckS", "c3510fd7ef58bb6acbe7b8dfe5923ac8e69097f44d54f55196e315d3967a46")
100 RETURN 0
End Function

Function init() Uint64
10 IF EXISTS("owner") == 0 THEN GOTO 30
20 RETURN 1
30 STORE("owner", address())
50 STORE("docVersion", "1.0.0")
60 STORE("hash", HEX(TXID()))
70 STORE("likes", 0)
80 STORE("dislikes", 0)
100 RETURN 0
End Function

Function address() String
10 DIM s as String
20 LET s = SIGNER()
30 IF IS_ADDRESS_VALID(s) THEN GOTO 50
40 RETURN "anon"
50 RETURN ADDRESS_STRING(s)
End Function

Function Rate(r Uint64) Uint64
10 DIM addr as String
15 LET addr = address()
16 IF r < 100 && EXISTS(addr) == 0 && addr != "anon" THEN GOTO 30
20 RETURN 1
30 STORE(addr, ""+r+"_"+BLOCK_HEIGHT())
40 IF r < 50 THEN GOTO 70
50 STORE("likes", LOAD("likes")+1)
60 RETURN 0
70 STORE("dislikes", LOAD("dislikes")+1)
100 RETURN 0
End Function

/*
<!DOCTYPE html>
<html lang="en">
<head>
<title>AS's Playground Live</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="stylesheet" type="text/css" href="style.css">
<script src="header.js" type="text/javascript" defer></script>
<script src="nav.js" type="text/javascript" defer></script>
<script src="footer.js" type="text/javascript" defer></script>
<script src="main.js"></script>
</head>
<body>
  
<header><header-component></header-component></header>
<div class="sticky";>
  <nav><div class="marginside";><nav-component></nav-component></div></nav>
</div>

<section>
  <aside>
    <p><strong>Hello</strong></p>
    <li><a class="side" href="#What is the story?">What is the story?</a></li>
    <li><a class="side" href="#Why?">Why?</a></li>
    <li><a class="side" href="#What to expect?">What to expect?</a></li>
  </aside>

  <article>
    <h1>Hello</h1>
    <h2 id="What is the story?"class="anchored">What is the story?</h2>
    <p>Yeah, what is the story?</p>
    <p>With a few of us, there's this undeniable pull — the need for true digital privacy, security, freedom, and sovereignty. It's not just a preference, it's a principle, a compass pointing toward something more human in the digital age.</p>
    <p>That’s why I’ve been diving deep into DERO, exploring it's ecosystem, it's community, and especially experimenting with what TELA is becoming. It’s not just tech, it’s a quiet rebellion, a space where we can reclaim control and build without compromise, without surveillance, without needing permission to exist.</p>
    <p>I believe that over time, as the noise of the old systems grows louder, we’ll keep walking this path. And we’ll attract the right hearts and minds, the ones who feel that same pull, who understand that sometimes the most powerful signal is the one that moves in silence.</p>
    <p>ArcaneSphere is of course just an internet name, so keeping it short you can call me AS! Hence AS's Playground Live, here I am building, testing, breaking and fixing it.</p>
    <p>Peace &#128330;</p>
    <h2 id="Why?" class="anchored">Why? <small>*not</small></h2>
    <p>Because I think this is the future, particularly DERO's vision of a <strong>private, secure, and scalable decentralized application (dApp) platform</strong> that empowers developers to build powerful applications while ensuring users maintain complete control over their assets with full privacy.</p>
    <p>I like messing around with code, learning as I go, live-testing in the wild, because I’m curious, because it’s fun and learned lessons if unfortunally needed can be implementend some where else too.</p> 
    <p>It's organic, it grows out here, in the open, one weird experiment at a time, haha.</p>
    <h2 id="What to expect?" class="anchored">What to expect?</h2>
    <p>I am a hobbyist, for now where I can fuck things up is in HTML, CSS and a lil JavaScript, the helping hand of AI accelerates things I have to say, we truly life in an exponetional age.</p>
    <p>Eventually I will dive into DVM and Smartcontracts, let's see if I can make something functional?</p>

  </article>

</section>


<footer-component></footer-component>


<a href="https://t.me/deroworld" target="_blank" class="telegram-float">
  <div class="telegram-icon">
    <svg viewBox="0 0 64 64"><path d="M56.4,8.2l-51.2,20c-1.7,0.6-1.6,3,0.1,3.5l9.7,2.9c2.1,0.6,3.8,2.2,4.4,4.3l3.8,12.1c0.5,1.6,2.5,2.1,3.7,0.9 l5.2-5.3c0.9-0.9,2.2-1,3.2-0.3l11.5,8.4c1.6,1.2,3.9,0.3,4.3-1.7l8.7-41.8C60.4,9.1,58.4,7.4,56.4,8.2z M50,17.4L29.4,35.6 c-1.1,1-1.9,2.4-2,3.9c-0.2,1.5-2.3,1.7-2.8,0.3l-0.9-3c-0.7-2.2,0.2-4.5,2.1-5.7l23.5-14.6C49.9,16.1,50.5,16.9,50,17.4z"></path></svg>
</div>
</a>


</body>
</html>

*/