Token
5d2b4f59fb7e56ff143950739e27fc58495e49e62d414ac543d92faec1861986
ID
5d2b4f59fb7e56ff143950739e27fc58495e49e62d414ac543d92faec1861986
Name
Ergo Logo Drawing Program In Python
Emission amount
1
Decimals
0
Description
This is a Python 3 program that draws Ergo logo on a black background.
source code:
###
import turtle
t = turtle.Turtle()
t.width(30)
t.turtlesize(4)
wn = turtle.Screen()
wn.bgcolor("black")
t.color("white")
def DrawErgo(start, distance):
t.left(135)
t.forward(distance)
t.right(135)
t.forward(distance)
t.penup()
t.setposition(start[0], start[1])
t.pendown()
t.goto(start[0], start[1])
t.right(135)
t.forward(distance)
t.left(135)
t.forward(distance)
def DrawOctagon():
for i in range(8):
t.forward(200)
t.left(45)
DrawErgo((t.xcor(), t.ycor()), 200)
t.turtlesize(3)
t.width(20)
t.left(180)
t.forward(100)
t.left(90)
t.penup()
t.forward(120)
t.left(90 + 22.5)
t.pendown()
DrawOctagon()
t.hideturtle()
turtle.done()
###
Type
EIP-004
Issuer Box
{ "boxId": "5d2b4f59fb7e56ff143950739e27fc58495e49e62d414ac543d92faec1861986", "transactionId": "285675ff6137a2519f7e02852512bdc56c10d36c0439879185450e06b6210bcf", "blockId": "2f66be27092027dfd586d399091332665802898bff7840002d7e483e1fc9d5ad", "value": 2000000, "index": 0, "globalIndex": 11769371, "creationHeight": 659366, "settlementHeight": 659368, "ergoTree": "100e0400040004000500040405020580897a0e240008cd0290d5ec94402d688e7919675cbadecbbdd81fa75e9184b66986c63baae86736290e0201010e20e4da8b7b9adfd5e365b023df22b1755f23a2aa3689481cbc2edf341ddf2993fc05000580a4e8030e240008cd0290d5ec94402d688e7919675cbadecbbdd81fa75e9184b66986c63baae867362905daf0cdb2c75fd804d601b2a5730000d602c17201d603c5b2a4730100d604b2db63087201730201860272037303d1eded93b1a57304ecededededed9372038c720401938c7204027305937202730693c27201730793e4c67201070e730893e4c67201080e7309ed92720299b0a4730ad9010541639a8c720501c18c720502730b93c27201730c8f7ea305730d", "ergoTreeConstants": "0: 0\n1: 0\n2: 0\n3: 0\n4: 2\n5: 1\n6: 1000000\n7: Coll(0,8,-51,2,-112,-43,-20,-108,64,45,104,-114,121,25,103,92,-70,-34,-53,-67,-40,31,-89,94,-111,-124,-74,105,-122,-58,59,-86,-24,103,54,41)\n8: Coll(1,1)\n9: Coll(-28,-38,-117,123,-102,-33,-43,-29,101,-80,35,-33,34,-79,117,95,35,-94,-86,54,-119,72,28,-68,46,-33,52,29,-33,41,-109,-4)\n10: 0\n11: 4000000\n12: Coll(0,8,-51,2,-112,-43,-20,-108,64,45,104,-114,121,25,103,92,-70,-34,-53,-67,-40,31,-89,94,-111,-124,-74,105,-122,-58,59,-86,-24,103,54,41)\n13: 1641670097965", "ergoTreeScript": "{\n val box1 = OUTPUTS(placeholder[Int](0))\n val l2 = box1.value\n val coll3 = INPUTS(placeholder[Int](1)).id\n val tuple4 = box1.tokens.getOrElse(placeholder[Int](2), (coll3, placeholder[Long](3)))\n sigmaProp(\n (\n (OUTPUTS.size == placeholder[Int](4)) && (\n (\n (\n (\n (((coll3 == tuple4._1) && (tuple4._2 == placeholder[Long](5))) && (l2 == placeholder[Long](6))) && (\n box1.propositionBytes == placeholder[Coll[Byte]](7)\n )\n ) && (box1.R7[Coll[Byte]].get == placeholder[Coll[Byte]](8))\n ) && (box1.R8[Coll[Byte]].get == placeholder[Coll[Byte]](9))\n ) || (\n (l2 >= INPUTS.fold(placeholder[Long](10), {(tuple5: (Long, Box)) => tuple5._1 + tuple5._2.value }) - placeholder[Long](11)) && (\n box1.propositionBytes == placeholder[Coll[Byte]](12)\n )\n )\n )\n ) && (HEIGHT.toLong < placeholder[Long](13))\n )\n}", "address": "2eR9oDmG9onJa8DfTAoSMZUXWQFD3iMhsWWdNV24NGo9CY5muft1ujuuVZGNeFxYdTgwaL9c8NvEUtfzu44sRBjXu9MEJ4cxhK8u5ujvh8WsybwRsvzsyr9BUoe7sGRAZzodoYxKWbLVj33A6HkXBxkRCwfs6KUjdmeDba36yWpsVAs2ceYEB2DRnJWCidZNEbxc1gPRpLH6NsVtMJeLCyv5S8gc5PNt91NEiXxP6hLFnmMvZMQCd8sHg6NVhwnoxDsVs1Zqz7pQ9u5iNYqmCRuvwyR7rXHUFCihBLrbvFfMjMMc9jFGCwKmRNgen3BH2sYKAo8APpDiU8bpn1vsqwEXY69n9mw5NXdUjyp8Usd4uBmdVA3fr87fZTqbJ3ZLAngSU", "assets": [], "additionalRegisters": { "R4": { "serializedValue": "0450", "sigmaType": "SInt", "renderedValue": "40" }, "R5": { "serializedValue": "0e240008cd0290d5ec94402d688e7919675cbadecbbdd81fa75e9184b66986c63baae8673629", "sigmaType": "Coll[SByte]", "renderedValue": "0008cd0290d5ec94402d688e7919675cbadecbbdd81fa75e9184b66986c63baae8673629" } }, "spentTransactionId": "1a9d4777e2433377c50e68a78c76e73d1a7130e2b1228f405d36b84a2ba1e012", "mainChain": true }