Created
April 20, 2020 17:45
-
-
Save mariano-aguero/21624778dbd3249e05a295c83d0bbba3 to your computer and use it in GitHub Desktop.
FA12 store
This file contains hidden or 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
type account is record | |
balance: nat; | |
allowances: map(address, nat); | |
end | |
type store is record | |
owners: set(address); | |
decimals: nat; // Added this property used in the erc20 ethereum specification | |
symbol: string; // Added this property used in the erc20 ethereum specification | |
name: string; // Added this property used in the erc20 ethereum specification | |
totalSupply: nat; | |
accounts: big_map(address, account); | |
end | |
type return is list(operation) * store; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment