-
-
Save cwgoes/45bebb1903523c8573263f2ee5616445 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
data Tx = Tx { | |
txAuthorisedAccount :: Text, | |
txData :: TxData | |
} | |
data TxData = | |
Transfer { | |
fromAccount :: Text, | |
toAccount :: Text, | |
transferAmount :: Nat | |
} | | |
Mint { | |
mintAmount :: Nat, | |
mintToAccount :: Text | |
} | | |
Burn { | |
burnAmount :: Nat, | |
burnFromAccount :: Text | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment