Recently created a smart contract on for BSC. The contract redistributed part of the fee to dev and charity accounts. My dev and charity accounts have not received any tokens. The contracts show it is holding the tokens, but not being sent to the wallets. The fees are responding correctly to the transaction and the correct amount is going to the contract. My questions lies in how can I calculate the gas being stored by the contract? It needs to hit the limit of gas before sending to the charity wallet but I have no idea how to calculate how much is coming from each tx. Do I need my swap enabled set to true to make this part happened. Trading is set to true.
Currently deployed on the eth Goerli Test Net.