Token

22342ca384aa15022c311d0f46835c6df1d6df2f2e68a03f0e1e5952a4447939

ID
22342ca384aa15022c311d0f46835c6df1d6df2f2e68a03f0e1e5952a4447939
Name
The Djed Stablecoin Protocol Explained in a Single Image
Emission amount
1
Decimals
0
Description
The Djed Stablecoin Protocol was intentionally designed with simplicity in mind. Consequently, all its operations and constraints can be nicely summarized in a single image. This image was initially part of a presentation at the Ergo Summit in January 2021. The Djed protocol is the basis of Ergo's SigmaUSD stablecoin. To know more about Djed, visit https://github.com/input-output-hk/djed .
Type
EIP-004
Issuer Box
{
  "boxId": "22342ca384aa15022c311d0f46835c6df1d6df2f2e68a03f0e1e5952a4447939",
  "transactionId": "faaf9cafdd4e340fe4c77b432f426d385fa4ae8e493c1b05d4a233e172e5fca3",
  "blockId": "1f962b773cd628d67cd93a789afb7f1d4fcf2fc42a9036f664f5e0cc72041154",
  "value": 112000000,
  "index": 0,
  "globalIndex": 7573521,
  "creationHeight": 583463,
  "settlementHeight": 583470,
  "ergoTree": "100e0400040004000500040405020580def3680e240008cd037c84abab2871332cb64b0646addf107a8d25a823f69c64b993ef6943367ac7170e0201010e202b89e6cb482bc0b0d883a880db9be3893945c652ded3abd767764e7b2ecd25ea05000580a4e8030e240008cd037c84abab2871332cb64b0646addf107a8d25a823f69c64b993ef6943367ac71705f485a9e7825fd804d601b2a5730000d602c17201d603c5b2a4730100d604b2db63087201730201860272037303d1eded93b1a57304ecededededed9372038c720401938c7204027305937202730693c27201730793e4c67201070e730893e4c67201080e7309ed92720299b0a4730ad9010541639a8c720501c18c720502730b93c27201730c8f7ea305730d",
  "ergoTreeConstants": "0: 0\n1: 0\n2: 0\n3: 0\n4: 2\n5: 1\n6: 110000000\n7: Coll(0,8,-51,3,124,-124,-85,-85,40,113,51,44,-74,75,6,70,-83,-33,16,122,-115,37,-88,35,-10,-100,100,-71,-109,-17,105,67,54,122,-57,23)\n8: Coll(1,1)\n9: Coll(43,-119,-26,-53,72,43,-64,-80,-40,-125,-88,-128,-37,-101,-29,-119,57,69,-58,82,-34,-45,-85,-41,103,118,78,123,46,-51,37,-22)\n10: 0\n11: 4000000\n12: Coll(0,8,-51,3,124,-124,-85,-85,40,113,51,44,-74,75,6,70,-83,-33,16,122,-115,37,-88,35,-10,-100,100,-71,-109,-17,105,67,54,122,-57,23)\n13: 1632464347514",
  "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": "8G9bq1LMssUxZCrtiWFxukMwtUUjyhiP769ye86ExAwsVrghH2mU1sTpxsSyng6eLvwcX5eg48rNw1dgJraB13VrTfED4rCeN5y9JNxnrB6n5GamWtWmPCG3ApxAzrYKskC4fDZCWUh9A5C6exUzF144YbcwpCAy4ufVAn6zzB6ibcTuwBpfTQt2km6Dn457NPnmcqaGgz9vG5ct8k774Gi3seEgeymm6GPep5JzYkBWvH1t1ADE6rjtgicQ6kXzDeNftWLbpE5qFqsm5iLY2RtFdo19PQreeD65uMyUgknNzK6wCkuHFjKn7Vq6F81GLJWwD5NNG56HQWWibcD8xk6Y88w6Qp9Kz3TmR415MLpre1wosNgVaiDFy77afLWiwXS77r",
  "assets": [],
  "additionalRegisters": {},
  "spentTransactionId": "668829187cb032130111b4034e6d975b99d840ebed58c1935785c14bb211949f",
  "mainChain": true
}