I am writing a smart contract of a charity.It pay all the money to it's subscribers in every week. I am puzzled in such point that who will pay the transaction cost of transfer?
When I am calculating splitAmount=(contractBalance/totalSubscriber)
, here I am giving all my contract balance to these subscribers so I have balance remain for pay the transactional fees. What will happend here.How can I handled this situations?