Phoenix-Protocol-Group / phoenix-contracts

Source code of the smart contracts of the Phoenix DeFi hub DEX protocol
GNU General Public License v3.0
10 stars 6 forks source link

Factory: Optimize the way arguments are passed to initialize pool #372

Open gangov opened 1 month ago

gangov commented 1 month ago

The array of arguments that we use for the initialization of pools through factory currently relies on providing the correct sequence of input arguments, which can be error-prone and difficult to debug. We should try to optimize this