Content
@
https://opensea.io/collection/evm-6
0 reply
0 recast
2 reactions
nicholas 🧨
@nicholas
Solidity devs! Would anyone be up to take a look at the @crowdfund smart contract? Looking to get more eyes on it before launching a bunch more projects. https://github.com/seedclub/farcaster-crowdfund-contracts/blob/main/src/FarcasterCrowdfund.sol
3 replies
0 recast
6 reactions
0xbhaisaab
@0xbhaisaab
i would suggest each crowdfunding campaign should be its own separate contract, with a factory contract that creates and manages new ones. this way, every campaign has its own isolated treasury, which is much safer - if something goes wrong with one campaign, it won't affect the others and also more future proof.
1 reply
0 recast
0 reaction
nicholas 🧨
@nicholas
Noted! It might be more dangerous in practice because more inter contract calls are surface area for reentrancy but yes.
0 reply
0 recast
0 reaction