1). What are the benefits of setting a token standard like ERC20?
A). ERC-20 - the official fungible unified protocol, designed to solve the issue of compatibility of different coins and improve the functioning of the network. The fungible standard token on the Ethereum blockchain is characterized by the following properties:
#)Makes assets interchangeable;
#). Used on compatible platforms, projects, exchanges;
#). Ensures operation with compatible decentralized applications (DApps);
#). Simplifies transactions with the receipt and sending of coins;
#). Interacts with other currencies, smart contracts;
#). The standard tokens based on the blockchain are decentralized and open source.
2). What functions are in the ERC20 Token Standard Interface and what do they do?
A). ERC20 Smart Contracts are composed of six mandatory functions and three optional (but more familiar) ones.
These first six functions are:
balanceOf( )
totalSupply( )
transfer( )
transferFrom( )
approve( )
allowance( )
OPTIONAL FUNCTIONS ARE:
Token Name
Token Symbol
Number of Decimal
A). When creating a token and building a smart contract, there are 6 simple but obligate functions:
A). When creating a token and building a smart contract, there are 6 simple but obligate functions:
i).Control of the initial number of coins and issue; (-TotalSupply)
ii). Assignment of the initial quantity to the company’s address and to the owner of the ICO; (allowance25% to marketing, 10% marketing, etc, etc)
iii). Sending assets to investors, recording the balance;(-Ttransfer, TransferForm, Approve)
iv). Distribution of coins among users for transactions, verification of their movement;
v). Checking the remaining balance;(-balanceOf)
vi). Control the adequacy of the currency at the address for transmission. (-approve)