Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Is it possible to leave some gas in a contract for future action and / or top up if the contract is stuck. if yes could you please direct me to documentation.
No. You can put some ether on contract’s balance, but contracts do not have a possibility to pay for transactions. There always should be a normal user account (i.e. not smart contract) paying for a transaction.