```\\nfunction excludeFromRewards(address wallet) public onlyOwner {\\n    require(!isAddressExcluded[wallet], "Address is already excluded from rewards");\\n    excludedFromRewards.push(wallet);\\n    isAddressExcluded[wallet] = true;\\n    emit ExcludeFromRewards(wallet);\\n}\\n```\\n