In order to implement an ERC20 token contract, you'd need at least to implement the following functions and events in order to fulfill the interface requirements:
A) totalSupply() , balanceOf(address) , allowance(address,address) , transfer(address,uint256) , approve(address,uint256) , transferFrom(address,address,uint256) . Events: Transfer(address,address,uint256) , Approval(address,address,uint256)
B) name() , symbol() , totalSupply() , balanceOf(address) , ownerOf(uint26) ,approve(address,uint256) , takeOwnership(uint256) ,transfer(address,uint256) ,Events: Transfer(address,address,uint256) , Approval(address,address,uint256)
Correct Answer:
Verified
Q58: Truffle has an integrated in-memory blockchain which
Q59: What is the difference between ERC20 and
Q60: When a smart contract pays out money:
A)
Q61: When solidity is compiled then also Metadata
Q62: .Require is used:
A) to check internal states
Q64: Go-Ethereum vs. Ganache:
A) both are the same,
Q65: To communicate with an Ethereum node via
Q66: When using require to check input parameters
Q67: Address.Call vs. Address.Delegatecall:
A) Address.call() is used for
Q68: PoS:
A) would be better, because it can
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents