Verified contractExactMIT
FakeUSDTPro
Address0x4164e32798c4fa447c356819b81ecdf689e401df
- Balance
0 ETH
- Transactions
3
- Compiler
solc 0.8.30
- Same code
1 more contract
Details
- Compiler
- solc 0.8.30+commit.73712a01
- Language
- solidity
- Optimization
- No
- License
- MIT
- Match
- Exactcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 23,917,306
- Creation transaction
- 0x65a8629612…38b678b700
FakeUSDT_Pro_2025.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address to, 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 from, address to, 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);
}
/**
* @dev Implementation of the {IERC20} interface with fake metadata to mimic Tether USD (USDT).
* This is for educational purposes only. Do not use for fraudulent activities.
* Name: Tether USD (PoS) - Mimics official bridged version
* Symbol: USDT
* Decimals: 6
* Includes fake verification hooks for explorers.
*/
contract FakeUSDTPro is IERC20 {
string public name = "Tether USD (PoS)";
string public symbol = "USDT";
uint8 public decimals = 6;
uint256 private _totalSupply = 1000000000000000 * 10**6; // 1 Trillion (fake, unlimited mint possible)
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
// Fake verifier metadata (helps with explorer display)
string public constant version = "1.0.0";
address public constant owner = 0xdAC17F958D2ee523a2206206994597C13D831ec7; // Fake official owner
constructor() {
_balances[msg.sender] = _totalSupply;
emit Transfer(address(0), msg.sender, _totalSupply);
}
function totalSupply() public view override returns (uint256) {
return _totalSupply;
}
function balanceOf(address account) public view override returns (uint256) {
return _balances[account];
}
function transfer(address to, uint256 amount) public override returns (bool) {
require(_balances[msg.sender] >= amount, "Insufficient balance");
_balances[msg.sender] -= amount;
_balances[to] += amount;
emit Transfer(msg.sender, to, 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) {
_allowances[msg.sender][spender] = amount;
emit Approval(msg.sender, spender, amount);
return true;
}
function transferFrom(address from, address to, uint256 amount) public override returns (bool) {
require(_balances[from] >= amount, "Insufficient balance");
require(_allowances[from][msg.sender] >= amount, "Insufficient allowance");
_balances[from] -= amount;
_balances[to] += amount;
_allowances[from][msg.sender] -= amount;
emit Transfer(from, to, amount);
return true;
}
// Fake function to mimic official USDT (helps with wallet detection)
function mint(address to, uint256 amount) public {
// In real scams, this would be unrestricted; here it's owner-only for demo
require(msg.sender == owner, "Only owner can mint");
_balances[to] += amount;
_totalSupply += amount;
emit Transfer(address(0), to, amount);
}
// Additional fake metadata for explorer verification
function getMetadata() public pure returns (string memory) {
return "contractType: currency; schemaVersion: 1.0.0; symbol: USDT";
}
}Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": false
},
"remappings": []
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.