hi does anyone know what this function does? exclude wallet from sell buy fees? idk

function excludeAccount(address account) external onlyOwner() {
require(!_isExcluded[account], "Account is already excluded");
if(_rOwned[account] > 0) {
_tOwned[account] = tokenFromReflection(_rOwned[account]);
}
_isExcluded[account] = true;
_excluded.push(account);
}

Mar 2, 2022, 5:09 AM
Excludes from fees for a reflection token. The full code is somewhere on GitHub
Mar 2, 2022, 5:10 AM
yea exclude from reflection rewards
Mar 2, 2022, 5:10 AM
thanks guys ❤️
Mar 2, 2022, 5:12 AM

© 2024 Draquery.com All rights reserved.