solidity smart contracts. It looks like I should split contracts to modules, but at the end unite them in one super contract with inheritance and add UUPS. Is this the best practice?
Let's say I want to make a contract that allows to deposit and withdraw ether with some fancy actions all around. So should I make one contract to handle all or 2 contracts? under 2 contracts I mean: one for fancy business logic and one that acts like a bank (balances storage). And make the fancy one depend on the accounting one to preform deposits/withdrawals. So that way I can deploy the logic contract v2 and link it to the current accounting contract
UUPS?
Обсуждают сегодня