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

Pool: adds checks for input params inside get_deposit_amounts #246

Closed gangov closed 7 months ago

gangov commented 7 months ago

a lot of checks happening at the top of the method. It's probably a good idea to refactor this logic in a helper method. Would like to do so after some other branches are merged, to avoid conflicts

ueco-jb commented 7 months ago

Resolve the conflict and you can merge it.