February 2018
Intermediate to advanced
288 pages
6h 58m
English
These are related to behavioral design patterns. Token systems are analogous to the template method, where the skeleton of an algorithm is defined as an abstract class, allowing the sub-classes to provide concrete behavior.
In the previous chapters, we discussed how the ERC20 standard is implemented for Ethereum-based token systems for compatibility. ERC20 is not a piece of code, software, or technology. It is a technical specification.
Figure 11.3 depicts a sample ERC20 standard contract interface with the recommended function definitions:

Read now
Unlock full access