Looking at all the latest shitcoins' Smart Contract code on Binance Smart Chain, there's a lot of common,recurring themes because most of each project's code is mostly copy-pasted. The code is also completely uncommented, which makes it a pain to understand what's what.
Most of these contacts use two different types of variables for their internal token calculations, 1 called
t and one called
r. For example, on TrustPad's smart contract (available here: bscscan link):
mapping(address => uint256) private _rOwned; mapping(address => uint256) private _tOwned; mapping(address => mapping(address => uint256)) private _allowances; uint256 private constant MAX = ~uint256(0); uint256 private constant _tTotal = 100 * (10 ** 6) * (10 ** 9); uint256 private _rTotal = (MAX - (MAX % _tTotal)); uint256 private _tFeeTotal; uint256 private _tFeePercent = 2;
Anybody got any idea what the
t mean, and why they maintain