In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "what is the use of the ERC223 ethernet pass standard". The explanation content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "what is the use of the ERC223 ethernet pass standard"?
ERC-223 standard
Two scenarios that ETC20 is not suitable for:
"there are two ways to execute a transaction in ERC20:
Transfer function.
Approve + transferFrom mechanism.
The balance of the pass is only a variable in the permit contract.
The transaction of a pass is a change in the internal variables of the contract. The balance transferred out of the account will be reduced and the balance transferred to the account will increase.
When a transaction occurs, the transfer () function does not notify the transfer to the account. Therefore, transferred to the account will not be able to recognize incoming transactions! I wrote an example that shows the process that leads to outstanding transactions and financial losses.
Therefore, if the receiving account is a contract, you must use the approve + transferFrom mechanism to send the pass. If the accepting account is externally owned, the pass must be sent through the transfer function. If you choose the wrong mechanism, the pass will be stuck in the contract (the contract will not identify the transaction), and there is no way to extract these stuck permits. "
His proposed solution to this problem is included in ERC-223. It is very similar to the ERC-20 standard, but solves the above problems. When the pass is transferred to the smart contract account, the contract's special function tokenFallback () allows the recipient contract to reject the token or trigger further action. In most cases, this can be used instead of the approve () function.
Standard status: standard on
Suggested date: 3Compact 5Compact 2017
Thank you for your reading, the above is the content of "what is the use of ERC223 Ethernet pass standard". After the study of this article, I believe you have a deeper understanding of the use of ERC223 Ethernet pass standard, and the specific use still needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.