Created
February 3, 2020 21:38
-
-
Save maht0rz/adaf81ed012f6b803b4bc8e5692bd0bb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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