Skip to content

Instantly share code, notes, and snippets.

@mariano-aguero
Created April 20, 2020 17:24
Show Gist options
  • Save mariano-aguero/46a6b185db2b1ba18507f713240e8f9c to your computer and use it in GitHub Desktop.
Save mariano-aguero/46a6b185db2b1ba18507f713240e8f9c to your computer and use it in GitHub Desktop.
FA12 token actions
type tokenAction is
| GetAllowance of (address * address * contract(nat))
| Transfer of (address * address * nat)
| Approve of (address * nat)
| GetBalance of (address * contract(nat))
| GetTotalSupply of (unit * contract(nat))
| Mint of (nat)
| Burn of (nat)
| Symbol of (unit * contract(string))
| Name of (unit * contract(string))
| Decimals of (unit * contract(nat))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment