Custom Hooks: Customize the Logic for Investor Payouts