should separate out my smart contract? e.g interaces in 1 file, helpers in another, misc function, admin functions? ERC721? not sure. Im, building a pretty large contract
Uhm i don't think there is a best pratice. Lot of devs prefer to flatten the contracts into one, others prefer to split and sometimes you NEED to split if you're writing very long contracts (to avoid size to big)
yess, currently size is too big. So needed to turn the optomizer on
always keep it on =)
The ones that flatten contracts are not real devs xD
Обсуждают сегодня