I have bulid a payment split flow. It is working and tested on Remix. I am using PaymentSplitter by OpenZeppelin and here's how it looks overall:
However, I would really appreciate if I can get a second opinion on:
- If this is the correct way to go?
- Can I simplify this more in anyway?
- Do I need to consider and what could be the gas charges for each transactional flow?
- Any other pitfalls?
Any help is much appreciated. TIA!