Smart Contract Details

Open on Dero Explorer
Internal ID:
49781
Block:
Timestamp:
2025-05-22 14:24:06 UTC (2 months ago)
Creator:
LUXY (+32 more) (1385490)
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\", \"algo4.html\")\n31 STORE(\"descrHdr\", \"The Algorithm of Faith\")\n32 STORE(\"iconURLHdr\", \"https://gateway.pinata.cloud/ipfs/bafybeict64zqiy3qjacuxavylf4qmow465ysual6dklk7lwvnucmgasr3i\")\n33 STORE(\"dURL\", \"algorithm-of-faith\")\n34 STORE(\"docType\", \"TELA-HTML-1\")\n35 STORE(\"subDir\", \"\")\n36 STORE(\"fileCheckC\", \"21169f54ceb5c03679e8bb57948d94b0fef4a35fc0cf2e291c0534867f2a7b1f\")\n37 STORE(\"fileCheckS\", \"c7e0787e22d5f16315e45cdf4f89dbd6d1505895ed1d148f3408618824f16ef\")\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\n\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n\u003chead\u003e\n  \u003cmeta charset=\"UTF-8\" /\u003e\n  \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" /\u003e\n  \u003ctitle\u003eThe Algorithm of Faith – Templīs Aquária\u003c/title\u003e\n  \u003clink href=\"https://fonts.googleapis.com/css2?family=EB+Garamond\u0026display=swap\" rel=\"stylesheet\"\u003e\n  \u003cstyle\u003e\n    body {\n      margin: 0;\n      background-image: url('https://gateway.pinata.cloud/ipfs/bafkreicmdrnivylieqetm7veem2rtfvk7f6kcn4gco2c4ikzknfccobwja');\n      background-size: cover;\n      background-position: center;\n      background-attachment: fixed;\n      background-repeat: no-repeat;\n      background-color: #fdfaf4;\n      color: #000;\n      font-family: 'EB Garamond', serif;\n      display: flex;\n      flex-direction: column;\n      align-items: center;\n      padding: 2rem;\n    }\n    .header {\n      text-align: center;\n      max-width: 800px;\n    }\n    .header img {\n      width: 80px;\n      margin-bottom: 1rem;\n    }\n    h1 {\n      font-size: 2.5em;\n      color: #000;\n    }\n    .subtitle {\n      font-style: italic;\n      margin-bottom: 2rem;\n      color: #333;\n    }\n    .summary {\n      background: rgba(255, 255, 255, 0.88);\n      padding: 2rem;\n      border-radius: 12px;\n      box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);\n      margin-bottom: 3rem;\n      max-width: 800px;\n      text-align: center;\n    }\n    .summary p, .summary ul {\n      line-height: 1.6;\n      text-align: center;\n    }\n    .summary ul {\n      list-style-position: inside;\n      padding-left: 0;\n    }\n    .book-container {\n      width: 90%;\n      max-width: 1000px;\n      height: 900px;\n      border: 2px solid #ccc;\n      box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);\n      border-radius: 10px;\n      overflow: hidden;\n    }\n    iframe {\n      width: 100%;\n      height: 100%;\n      border: none;\n    }\n  \u003c/style\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n  \u003cdiv class=\"header\"\u003e\n    \u003cimg src=\"https://gateway.pinata.cloud/ipfs/bafybeict64zqiy3qjacuxavylf4qmow465ysual6dklk7lwvnucmgasr3i\" alt=\"Temple Insignia\" /\u003e\n    \u003ch1\u003eThe Algorithm of Faith\u003c/h1\u003e\n    \u003cdiv class=\"subtitle\"\u003eA Decentralized Guide to Divine Living\u003cbr\u003eTemplīs Aquária, 2025\u003c/div\u003e\n  \u003c/div\u003e\n\n  \u003cdiv class=\"summary\"\u003e\n    \u003cp\u003e\u003cstrong\u003eCrafted by Templīs Aquária\u003c/strong\u003e, \u003cem\u003eThe Algorithm of Faith\u003c/em\u003e is a sacred framework for those seeking spiritual insight, personal clarity, and a living connection to the divine. This open-source scripture blends timeless wisdom with modern self-governance, offering tools for breath, thought, and transformation rooted in the principles of Divine Autonomy.\u003c/p\u003e\n\n    \u003cp\u003eInside, you'll find:\u003c/p\u003e\n    \u003cul\u003e\n      \u003cli\u003eSacred breathing practices (AquaAria)\u003c/li\u003e\n      \u003cli\u003eSpiritual logic for skeptics and seekers\u003c/li\u003e\n      \u003cli\u003eDecentralization as devotion. Privacy as prayer. Self-governance as sacred duty.\u003c/li\u003e\n      \u003cli\u003eA philosophy that honors all faiths by inviting direct experience over dogma—verify, don't trust.\u003c/li\u003e\n    \u003c/ul\u003e\n\n    \u003cp\u003eThis is not a doctrine, but a lens. Not a rulebook, but a rhythm. Not a sermon—but a source code.\u003c/p\u003e\n\n    \u003cp\u003e\u003cstrong\u003eYou are the temple. You are the algorithm. You are the authority.\u003c/strong\u003e\u003c/p\u003e\n\n    \u003cp\u003eWhile this digital version lives in code and light, only six physical copies exist—white leather-bound with gold trim—quietly housed in the temple. As you read, know you are touching a lineage not sold, but stewarded. A covenant shared, not commercialized.\u003c/p\u003e\n    \u003cp\u003e🕊️ Fork it. Share it. Reflect it. Just don't forget: the answers you seek lie within you and no one can dictate them to you.\u003c/p\u003e\n  \u003c/div\u003e\n\n  \u003cdiv class=\"book-container\"\u003e\n    \u003ciframe src=\"https://gateway.pinata.cloud/ipfs/bafybeig7nvyimwxdl6hwosnkaflsrk2wha3qcwdc3kv5hd56szwkytaq5e\"\u003e\u003c/iframe\u003e\n  \u003c/div\u003e\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", "algo4.html")
31 STORE("descrHdr", "The Algorithm of Faith")
32 STORE("iconURLHdr", "https://gateway.pinata.cloud/ipfs/bafybeict64zqiy3qjacuxavylf4qmow465ysual6dklk7lwvnucmgasr3i")
33 STORE("dURL", "algorithm-of-faith")
34 STORE("docType", "TELA-HTML-1")
35 STORE("subDir", "")
36 STORE("fileCheckC", "21169f54ceb5c03679e8bb57948d94b0fef4a35fc0cf2e291c0534867f2a7b1f")
37 STORE("fileCheckS", "c7e0787e22d5f16315e45cdf4f89dbd6d1505895ed1d148f3408618824f16ef")
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>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>The Algorithm of Faith – Templīs Aquária</title>
  <link href="https://fonts.googleapis.com/css2?family=EB+Garamond&display=swap" rel="stylesheet">
  <style>
    body {
      margin: 0;
      background-image: url('https://gateway.pinata.cloud/ipfs/bafkreicmdrnivylieqetm7veem2rtfvk7f6kcn4gco2c4ikzknfccobwja');
      background-size: cover;
      background-position: center;
      background-attachment: fixed;
      background-repeat: no-repeat;
      background-color: #fdfaf4;
      color: #000;
      font-family: 'EB Garamond', serif;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 2rem;
    }
    .header {
      text-align: center;
      max-width: 800px;
    }
    .header img {
      width: 80px;
      margin-bottom: 1rem;
    }
    h1 {
      font-size: 2.5em;
      color: #000;
    }
    .subtitle {
      font-style: italic;
      margin-bottom: 2rem;
      color: #333;
    }
    .summary {
      background: rgba(255, 255, 255, 0.88);
      padding: 2rem;
      border-radius: 12px;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
      margin-bottom: 3rem;
      max-width: 800px;
      text-align: center;
    }
    .summary p, .summary ul {
      line-height: 1.6;
      text-align: center;
    }
    .summary ul {
      list-style-position: inside;
      padding-left: 0;
    }
    .book-container {
      width: 90%;
      max-width: 1000px;
      height: 900px;
      border: 2px solid #ccc;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
      border-radius: 10px;
      overflow: hidden;
    }
    iframe {
      width: 100%;
      height: 100%;
      border: none;
    }
  </style>
</head>
<body>
  <div class="header">
    <img src="https://gateway.pinata.cloud/ipfs/bafybeict64zqiy3qjacuxavylf4qmow465ysual6dklk7lwvnucmgasr3i" alt="Temple Insignia" />
    <h1>The Algorithm of Faith</h1>
    <div class="subtitle">A Decentralized Guide to Divine Living<br>Templīs Aquária, 2025</div>
  </div>

  <div class="summary">
    <p><strong>Crafted by Templīs Aquária</strong>, <em>The Algorithm of Faith</em> is a sacred framework for those seeking spiritual insight, personal clarity, and a living connection to the divine. This open-source scripture blends timeless wisdom with modern self-governance, offering tools for breath, thought, and transformation rooted in the principles of Divine Autonomy.</p>

    <p>Inside, you'll find:</p>
    <ul>
      <li>Sacred breathing practices (AquaAria)</li>
      <li>Spiritual logic for skeptics and seekers</li>
      <li>Decentralization as devotion. Privacy as prayer. Self-governance as sacred duty.</li>
      <li>A philosophy that honors all faiths by inviting direct experience over dogma—verify, don't trust.</li>
    </ul>

    <p>This is not a doctrine, but a lens. Not a rulebook, but a rhythm. Not a sermon—but a source code.</p>

    <p><strong>You are the temple. You are the algorithm. You are the authority.</strong></p>

    <p>While this digital version lives in code and light, only six physical copies exist—white leather-bound with gold trim—quietly housed in the temple. As you read, know you are touching a lineage not sold, but stewarded. A covenant shared, not commercialized.</p>
    <p>🕊️ Fork it. Share it. Reflect it. Just don't forget: the answers you seek lie within you and no one can dictate them to you.</p>
  </div>

  <div class="book-container">
    <iframe src="https://gateway.pinata.cloud/ipfs/bafybeig7nvyimwxdl6hwosnkaflsrk2wha3qcwdc3kv5hd56szwkytaq5e"></iframe>
  </div>
</body>
</html>

*/