Open ah2020b opened 6 years ago
Fee goes nowhere. A user just receive less tokens than he or she asks (depending on fee amount). Thus, the amount of funds in circulation decreases, while the real tokens deposits remain unchanged.
Understood, but how to calculate the fee earned by exchange?
You can just subtract the amount of tokens that were deposited my users and the amount of tokens that circulating in your exchange.
To where the paid fee goes? Any user? How to calculate paid fee by day or month? Any database table? Any user admin?