Leverages Uniswap v4 Hooks to create a donation and reward mechanism.
Founil is an innovative funding platform that leverages Uniswap v4 Hooks to create a unique donation and reward mechanism. With the LBP we aim to reduce the rug pulls and scams as the raiser can't get the funds inmeadiately, he must upload and use proofs to ensure that money is being used in a good way. Also, the funds donated by the users will serve as a LIquidity Pool which means they will be generating fees while the raiser can use the funds in a proper way. When users make donations by swapping ETH for project tokens, they automatically receive:
🪙 Collateral Tokens (COLL) - Project-specific tokens representing their contribution 🖼️ NFT Rewards - Unique collectibles minted automatically during the swap process 💰 Fee Distribution - Smart fee allocation to project creators
The platform uses custom Uniswap v4 hooks to seamlessly integrate NFT minting and fee distribution directly into the token swap process, creating a gamified funding experience. These NFTs serves as an special distinction and access for the early donors, so they can be identified through the blockchain and we can give special permissions to them
The system consists of three main smart contracts, using Uniswap technology and the ERC20 basics: CollateralToken.sol - ERC20 token representing project funding DonationRegistry.sol - NFT registry managing reward tokens CustomFeeHook.sol - Uniswap v4 hook handling automatic NFT minting and fee distribution Those 3 contracts are using Foundry and Sepolia as testnet. For specific scenarios of the Liquidity Pool I used the general Pool Manager com Sepolia testnet. The NFT serves as record of donors, so we can grant them special benefits with this NFT and in case they want, they can sell it