The Michelson Language

Example Contracts

What does this contract do?

This contract does something. It's not a complicated one, but it's still an interesting concept. Feel free to contact me if you think you know what's going on. Warning: if you spend a lot of time trying to figure this out, you will be disappointed.

  parameter unit;
  return string;
  storage unit;
  code { CDR;
         PUSH string "/eEA88g0n2CXLFTwBwSMV0T26FQZPlO05wQB7Zp8EvkxNvhEpfOFQ4wOnPvT5Qsc5a2Msk4SRGVMDLAdBV6bQZY7pIfNUb87MdxXQ2FrL58UEoEald0jKnzR8fdPr9R+lMtrJJYJCZJGckAJ/EinGDzzjB/SmoBYz7C3tbeBrhUebYyqrgfxH/Ac4710E6C22bSFKFJcBcqQf5d+CRUFlFa7IFjHyQsWfksQenOeDz1FXFjMdwGlUtl9j5PGM8cdcc/kRjpWsVYlouRXbC4tpDdTSPIAiNHtCdzyOvfvmqN4FF9bpcNOsZiCsEwAjE5yg7jOevTtV2faGbY8bMkokgdcbgMcqex71W1G6228R8tVlHyx4HOB/wDq4q2xFm2bfcSfLm42jf8ALwO3H14OKtbZf7q/98f/AF6qaQZLjdPIcFl/hPUdia1dn+035n/CpuI//9TyHw3bB7l7lsEINq8jqe/NdhC24ZJGRtb/AFnJ9RWNp1sbG0jhLLuByxKdDmteA7lUZjIIKeh/zxXk4mfNI9KjDliWpDsBVQQAT8p7fT1+lcrJAlxdTyTQsRvZixbjHT+ldDM4WInaV2rnGcjjrXIxM8oYRyEEnc7EnJ56fr0rXBLVsnEbJGtBKlxAqRIieWOGbkfl602GWON2gwcA8ysRtPPoffnA9KpwzSxXGIXjjRlIUkZ47k+9NQTTqzvlmyBHyByOhx+tekmcpsCF7adybdG8wgLL0VeO/vUkK3RkKmZir9WWMjn0A6YNZizz7QEYblAyZGPDAZJweDgfqat21u5FvJJcGBZRzEmFLHOBgZ6H1NaIQ6WT7PmCdLdQWASeeXecc8nueh9qIYvM8uWKWRA5blm5YAH5wvtjFV7i3Sye48p0llU7Q5+YImOQx/P6YzV/O2LyUaFEkkVQ6jIYDk89hx070wHhJHZI5g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