Welcome to the discussion about the reading assignment about the Simple Token.
If you have any questions or you want to discuss something connected to the assignment feel free to do it in this thread.
Welcome to the discussion about the reading assignment about the Simple Token.
If you have any questions or you want to discuss something connected to the assignment feel free to do it in this thread.
What makes a certain action “Public” or “Private”?
All actions in eos are to considered public. They can be executed by anyone. You have to control who can access actions with the require_auth function.
I noticed there are no /// @abi xxx
decorators, maybe it is covered in the next section
Yes, I noticed that as well when I created the lecture. It seems like they forgot to add that in the repository. Either way we will add that in the next video. I don’t now if it works to run the abi gen without the action comments, I actually haven’t tried. But according to the docs we should still use the abi comments.
Hi Filip! I am just wondering is there any ERC20 token standard in EOS?
Hello, John. I am not a Filip, but I think I can answer your question. I had the same question and I questioned some people in Telegram. And according to them, EOS does not have an ERC20 token standard, but EOS has its own specific standard. Also, EOS will have an Ethereum Virtual Machine (EVM), so the ETH Daaps will have an easy time migrating to EOS blockchain if they decide to do that.
what does “self” or “_self” mean in the contract?
self means the account which the contract is set to. So pretty much it refers to the contract itself.
The link https://github.com/EOSIO/eos/blob/master/contracts/simple.token/simple.token.cpp
is dead.
Probably this link https://github.com/EOSIO/eos/blob/master/contracts/eosio.token/eosio.token.cpp
should be used
Thank you, I have updated it now with a new link.