Skip to content

Instantly share code, notes, and snippets.

@maht0rz
Created February 3, 2020 21:38
Show Gist options
  • Save maht0rz/adaf81ed012f6b803b4bc8e5692bd0bb to your computer and use it in GitHub Desktop.
Save maht0rz/adaf81ed012f6b803b4bc8e5692bd0bb to your computer and use it in GitHub Desktop.
#include "storage.ligo"
type token_id is
| Single of unit
(*
This implementation will only support a `Single` token_id,
and will throw a runtime error otherwise
*)
| Mac of nat
type transfer is record
token_id : token_id;
amount : token_balance;
from_ : token_owner;
to_ : token_owner;
end;
type transfer_param is list(transfer)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment