Skip to content

Commit

Permalink
added Michelson/OjusWiZard.tz (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
OjusWiZard authored Oct 3, 2022
1 parent f0f38ca commit 3fc1da5
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions Michelson/OjusWiZard.tz
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
parameter (string %to_code);
storage string;
code
{
CAR;
DUP;
PUSH nat 1;
PUSH nat 5;
SLICE;
IF_NONE
{
PUSH int 9;
FAILWITH;
}
{};
PUSH string "d";
DIG 2;
PUSH nat 2;
PUSH nat 0;
SLICE;
IF_NONE
{
PUSH int 9;
FAILWITH;
}
{};
CONCAT;
CONCAT;
NIL operation;
PAIR;
};

0 comments on commit 3fc1da5

Please sign in to comment.