CloneFactory Pattern - normal factories and clone factories.
Автор: Chia Wei Hu
Загружено: 2023-04-26
Просмотров: 34
Описание:
In Ethereum, most business scenarios require smart contracts to be deployed once, but there are also some scenarios that require dynamic deployment of contracts according to different situations, such as deploying a deposit and withdrawal contract for each user in an exchange.
For the second case, it is often necessary to generate and deploy contracts conveniently and at low cost. Similar to the common factory pattern in programming, it does not require specific creation logic of relational objects, but only needs to create the desired object according to the exposed interface.
Solidity also has similar factories, which are divided into normal factories and clone factories.
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: