Open ehsan6sha opened 1 year ago
The refund is not dynamic and is fixed which is guaranteed that users go out of sugar after a certain amount of time and transactions. We need to make sure the exact amount of Sugar deducted from users' account is refunded to them and not just a fixed amount. the refund at least in verify_manifest doesn’t work although the call exists there. I checked by calling this API and the sugar goes down without being refunded 99999994457199996728905990 99999994446599996615257990 99999994435999996501609990 => Mauricio: make the refund amount dynamic
Currently transactions require a gas fee paid by gas token (sugar). We needto allow transactions to go through for everyone, so we can: 1- charge users' accounts with enough gas fee to start and then recharge on transactions based on good act 2- not require gas fees for transactions (except create pool which should be controlled) or it dynamically calculates how much gas fee is reduced and refund. Right now it is a fixed amount refunded