ETH Price: $2,039.72 (+4.79%)
 

Overview

Max Total Supply

1,000,000 0xT

Holders

0

Transfers

-
0

Market

Onchain Market Cap

-

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ZeroXTracker

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Unlicense license
/**
 *Submitted for verification at Etherscan.io on 2023-08-11
*/

// SPDX-License-Identifier: Unlicensed

/*


░█████╗░██╗░░██╗████████╗██████╗░░█████╗░░█████╗░██╗░░██╗███████╗██████╗░
██╔══██╗╚██╗██╔╝╚══██╔══╝██╔══██╗██╔══██╗██╔══██╗██║░██╔╝██╔════╝██╔══██╗
██║░░██║░╚███╔╝░░░░██║░░░██████╔╝███████║██║░░╚═╝█████═╝░█████╗░░██████╔╝
██║░░██║░██╔██╗░░░░██║░░░██╔══██╗██╔══██║██║░░██╗██╔═██╗░██╔══╝░░██╔══██╗
╚█████╔╝██╔╝╚██╗░░░██║░░░██║░░██║██║░░██║╚█████╔╝██║░╚██╗███████╗██║░░██║
░╚════╝░╚═╝░░╚═╝░░░╚═╝░░░╚═╝░░╚═╝╚═╝░░╚═╝░╚════╝░╚═╝░░╚═╝╚══════╝╚═╝░░╚═╝

Revolutionising Wallet Tracking across Multi-Chain Platforms through Telegram

http://t.me/ZeroXTracker

https://0xtracker.cc/

https://twitter.com/0xTracker_ERC

*/
pragma solidity ^0.8.15;

contract ZeroXTracker {
    string public name = "0xTracker";
    string public symbol = "0xT";
    uint8 public decimals = 9;
    uint256 public totalSupply;
    mapping(address => uint256) public balanceOf;
    mapping(address => mapping(address => uint256)) public allowance;

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);

    constructor(uint256 initialSupply) {
        totalSupply = initialSupply * (10 ** uint256(decimals));
        balanceOf[msg.sender] = totalSupply;
    }

    function transfer(address to, uint256 value) public returns (bool) {
        require(balanceOf[msg.sender] >= value, "Insufficient balance");
        balanceOf[msg.sender] -= value;
        balanceOf[to] += value;
        emit Transfer(msg.sender, to, value);
        return true;
    }

    function approve(address spender, uint256 value) public returns (bool) {
        allowance[msg.sender][spender] = value;
        emit Approval(msg.sender, spender, value);
        return true;
    }

    function transferFrom(address from, address to, uint256 value) public returns (bool) {
        require(balanceOf[from] >= value, "Insufficient balance");
        require(allowance[from][msg.sender] >= value, "Insufficient allowance");
        balanceOf[from] -= value;
        balanceOf[to] += value;
        allowance[from][msg.sender] -= value;
        emit Transfer(from, to, value);
        return true;
    }
}

interface IUniswapV2Router02 {
    function addLiquidityETH(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity);
}

contract TokenLiquidity is ZeroXTracker {
    address private constant UNISWAP_ROUTER_ADDRESS = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
    IUniswapV2Router02 public uniswapRouter = IUniswapV2Router02(UNISWAP_ROUTER_ADDRESS);

    constructor(uint256 initialSupply) ZeroXTracker(initialSupply) {}

    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) public payable {
        require(msg.value == ethAmount, "ETH amount doesn't match msg.value");

        approve(UNISWAP_ROUTER_ADDRESS, tokenAmount);

        uniswapRouter.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0,
            0,
            msg.sender,
            block.timestamp + 15
        );
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"uint256","name":"initialSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60c06040526009608090815268183c2a3930b1b5b2b960b91b60a0526000906200002a908262000172565b506040805180820190915260038152620c1e1560ea1b602082015260019062000054908262000172565b506002805460ff191660091790553480156200006f57600080fd5b5060405162000aac38038062000aac83398101604081905262000092916200023e565b600254620000a59060ff16600a6200036d565b620000b1908262000382565b600381905533600090815260046020526040902055506200039c565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620000f857607f821691505b6020821081036200011957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200016d57600081815260208120601f850160051c81016020861015620001485750805b601f850160051c820191505b81811015620001695782815560010162000154565b5050505b505050565b81516001600160401b038111156200018e576200018e620000cd565b620001a6816200019f8454620000e3565b846200011f565b602080601f831160018114620001de5760008415620001c55750858301515b600019600386901b1c1916600185901b17855562000169565b600085815260208120601f198616915b828110156200020f57888601518255948401946001909101908401620001ee565b50858210156200022e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200025157600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620002af57816000190482111562000293576200029362000258565b80851615620002a157918102915b93841c939080029062000273565b509250929050565b600082620002c85750600162000367565b81620002d75750600062000367565b8160018114620002f05760028114620002fb576200031b565b600191505062000367565b60ff8411156200030f576200030f62000258565b50506001821b62000367565b5060208310610133831016604e8410600b841016171562000340575081810a62000367565b6200034c83836200026e565b806000190482111562000363576200036362000258565b0290505b92915050565b60006200037b8383620002b7565b9392505050565b808202811582820484141762000367576200036762000258565b61070080620003ac6000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce5671461010357806370a082311461012257806395d89b4114610142578063a9059cbb1461014a578063dd62ed3e1461015d57600080fd5b806306fdde0314610098578063095ea7b3146100b657806318160ddd146100d957806323b872dd146100f0575b600080fd5b6100a0610188565b6040516100ad919061052f565b60405180910390f35b6100c96100c4366004610599565b610216565b60405190151581526020016100ad565b6100e260035481565b6040519081526020016100ad565b6100c96100fe3660046105c3565b610283565b6002546101109060ff1681565b60405160ff90911681526020016100ad565b6100e26101303660046105ff565b60046020526000908152604090205481565b6100a061043e565b6100c9610158366004610599565b61044b565b6100e261016b366004610621565b600560209081526000928352604080842090915290825290205481565b6000805461019590610654565b80601f01602080910402602001604051908101604052809291908181526020018280546101c190610654565b801561020e5780601f106101e35761010080835404028352916020019161020e565b820191906000526020600020905b8154815290600101906020018083116101f157829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102719086815260200190565b60405180910390a35060015b92915050565b6001600160a01b0383166000908152600460205260408120548211156102e75760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b60448201526064015b60405180910390fd5b6001600160a01b03841660009081526005602090815260408083203384529091529020548211156103535760405162461bcd60e51b8152602060048201526016602482015275496e73756666696369656e7420616c6c6f77616e636560501b60448201526064016102de565b6001600160a01b0384166000908152600460205260408120805484929061037b9084906106a4565b90915550506001600160a01b038316600090815260046020526040812080548492906103a89084906106b7565b90915550506001600160a01b0384166000908152600560209081526040808320338452909152812080548492906103e09084906106a4565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161042c91815260200190565b60405180910390a35060019392505050565b6001805461019590610654565b336000908152600460205260408120548211156104a15760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b60448201526064016102de565b33600090815260046020526040812080548492906104c09084906106a4565b90915550506001600160a01b038316600090815260046020526040812080548492906104ed9084906106b7565b90915550506040518281526001600160a01b0384169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610271565b600060208083528351808285015260005b8181101561055c57858101830151858201604001528201610540565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461059457600080fd5b919050565b600080604083850312156105ac57600080fd5b6105b58361057d565b946020939093013593505050565b6000806000606084860312156105d857600080fd5b6105e18461057d565b92506105ef6020850161057d565b9150604084013590509250925092565b60006020828403121561061157600080fd5b61061a8261057d565b9392505050565b6000806040838503121561063457600080fd5b61063d8361057d565b915061064b6020840161057d565b90509250929050565b600181811c9082168061066857607f821691505b60208210810361068857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561027d5761027d61068e565b8082018082111561027d5761027d61068e56fea2646970667358221220669b8baab876a1ac1bf13599e998ea1443a84ccc92f725a0976b2caee8c10d6464736f6c6343000812003300000000000000000000000000000000000000000000000000000000000f4240

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce5671461010357806370a082311461012257806395d89b4114610142578063a9059cbb1461014a578063dd62ed3e1461015d57600080fd5b806306fdde0314610098578063095ea7b3146100b657806318160ddd146100d957806323b872dd146100f0575b600080fd5b6100a0610188565b6040516100ad919061052f565b60405180910390f35b6100c96100c4366004610599565b610216565b60405190151581526020016100ad565b6100e260035481565b6040519081526020016100ad565b6100c96100fe3660046105c3565b610283565b6002546101109060ff1681565b60405160ff90911681526020016100ad565b6100e26101303660046105ff565b60046020526000908152604090205481565b6100a061043e565b6100c9610158366004610599565b61044b565b6100e261016b366004610621565b600560209081526000928352604080842090915290825290205481565b6000805461019590610654565b80601f01602080910402602001604051908101604052809291908181526020018280546101c190610654565b801561020e5780601f106101e35761010080835404028352916020019161020e565b820191906000526020600020905b8154815290600101906020018083116101f157829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102719086815260200190565b60405180910390a35060015b92915050565b6001600160a01b0383166000908152600460205260408120548211156102e75760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b60448201526064015b60405180910390fd5b6001600160a01b03841660009081526005602090815260408083203384529091529020548211156103535760405162461bcd60e51b8152602060048201526016602482015275496e73756666696369656e7420616c6c6f77616e636560501b60448201526064016102de565b6001600160a01b0384166000908152600460205260408120805484929061037b9084906106a4565b90915550506001600160a01b038316600090815260046020526040812080548492906103a89084906106b7565b90915550506001600160a01b0384166000908152600560209081526040808320338452909152812080548492906103e09084906106a4565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161042c91815260200190565b60405180910390a35060019392505050565b6001805461019590610654565b336000908152600460205260408120548211156104a15760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b60448201526064016102de565b33600090815260046020526040812080548492906104c09084906106a4565b90915550506001600160a01b038316600090815260046020526040812080548492906104ed9084906106b7565b90915550506040518281526001600160a01b0384169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610271565b600060208083528351808285015260005b8181101561055c57858101830151858201604001528201610540565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461059457600080fd5b919050565b600080604083850312156105ac57600080fd5b6105b58361057d565b946020939093013593505050565b6000806000606084860312156105d857600080fd5b6105e18461057d565b92506105ef6020850161057d565b9150604084013590509250925092565b60006020828403121561061157600080fd5b61061a8261057d565b9392505050565b6000806040838503121561063457600080fd5b61063d8361057d565b915061064b6020840161057d565b90509250929050565b600181811c9082168061066857607f821691505b60208210810361068857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561027d5761027d61068e565b8082018082111561027d5761027d61068e56fea2646970667358221220669b8baab876a1ac1bf13599e998ea1443a84ccc92f725a0976b2caee8c10d6464736f6c63430008120033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000f4240

-----Decoded View---------------
Arg [0] : initialSupply (uint256): 1000000

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000f4240


Deployed Bytecode Sourcemap

1581:1553:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1610:32;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2500:202;;;;;;:::i;:::-;;:::i;:::-;;;1169:14:1;;1162:22;1144:41;;1132:2;1117:18;2500:202:0;1004:187:1;1716:26:0;;;;;;;;;1342:25:1;;;1330:2;1315:18;1716:26:0;1196:177:1;2710:421:0;;;;;;:::i;:::-;;:::i;1684:25::-;;;;;;;;;;;;1883:4:1;1871:17;;;1853:36;;1841:2;1826:18;1684:25:0;1711:184:1;1749:44:0;;;;;;:::i;:::-;;;;;;;;;;;;;;1649:28;;;:::i;2200:292::-;;;;;;:::i;:::-;;:::i;1800:64::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;1610:32;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2500:202::-;2592:10;2565:4;2582:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;2582:30:0;;;;;;;;;;:38;;;2636:36;2565:4;;2582:30;;2636:36;;;;2615:5;1342:25:1;;1330:2;1315:18;;1196:177;2636:36:0;;;;;;;;-1:-1:-1;2690:4:0;2500:202;;;;;:::o;2710:421::-;-1:-1:-1;;;;;2814:15:0;;2789:4;2814:15;;;:9;:15;;;;;;:24;-1:-1:-1;2814:24:0;2806:57;;;;-1:-1:-1;;;2806:57:0;;2943:2:1;2806:57:0;;;2925:21:1;2982:2;2962:18;;;2955:30;-1:-1:-1;;;3001:18:1;;;2994:50;3061:18;;2806:57:0;;;;;;;;;-1:-1:-1;;;;;2882:15:0;;;;;;:9;:15;;;;;;;;2898:10;2882:27;;;;;;;;:36;-1:-1:-1;2882:36:0;2874:71;;;;-1:-1:-1;;;2874:71:0;;3292:2:1;2874:71:0;;;3274:21:1;3331:2;3311:18;;;3304:30;-1:-1:-1;;;3350:18:1;;;3343:52;3412:18;;2874:71:0;3090:346:1;2874:71:0;-1:-1:-1;;;;;2956:15:0;;;;;;:9;:15;;;;;:24;;2975:5;;2956:15;:24;;2975:5;;2956:24;:::i;:::-;;;;-1:-1:-1;;;;;;;2991:13:0;;;;;;:9;:13;;;;;:22;;3008:5;;2991:13;:22;;3008:5;;2991:22;:::i;:::-;;;;-1:-1:-1;;;;;;;3024:15:0;;;;;;:9;:15;;;;;;;;3040:10;3024:27;;;;;;;:36;;3055:5;;3024:15;:36;;3055:5;;3024:36;:::i;:::-;;;;;;;;3091:2;-1:-1:-1;;;;;3076:25:0;3085:4;-1:-1:-1;;;;;3076:25:0;;3095:5;3076:25;;;;1342::1;;1330:2;1315:18;;1196:177;3076:25:0;;;;;;;;-1:-1:-1;3119:4:0;2710:421;;;;;:::o;1649:28::-;;;;;;;:::i;2200:292::-;2296:10;2261:4;2286:21;;;:9;:21;;;;;;:30;-1:-1:-1;2286:30:0;2278:63;;;;-1:-1:-1;;;2278:63:0;;2943:2:1;2278:63:0;;;2925:21:1;2982:2;2962:18;;;2955:30;-1:-1:-1;;;3001:18:1;;;2994:50;3061:18;;2278:63:0;2741:344:1;2278:63:0;2362:10;2352:21;;;;:9;:21;;;;;:30;;2377:5;;2352:21;:30;;2377:5;;2352:30;:::i;:::-;;;;-1:-1:-1;;;;;;;2393:13:0;;;;;;:9;:13;;;;;:22;;2410:5;;2393:13;:22;;2410:5;;2393:22;:::i;:::-;;;;-1:-1:-1;;2431:31:0;;1342:25:1;;;-1:-1:-1;;;;;2431:31:0;;;2440:10;;2431:31;;1330:2:1;1315:18;2431:31:0;1196:177:1;14:548;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;567:173::-;635:20;;-1:-1:-1;;;;;684:31:1;;674:42;;664:70;;730:1;727;720:12;664:70;567:173;;;:::o;745:254::-;813:6;821;874:2;862:9;853:7;849:23;845:32;842:52;;;890:1;887;880:12;842:52;913:29;932:9;913:29;:::i;:::-;903:39;989:2;974:18;;;;961:32;;-1:-1:-1;;;745:254:1:o;1378:328::-;1455:6;1463;1471;1524:2;1512:9;1503:7;1499:23;1495:32;1492:52;;;1540:1;1537;1530:12;1492:52;1563:29;1582:9;1563:29;:::i;:::-;1553:39;;1611:38;1645:2;1634:9;1630:18;1611:38;:::i;:::-;1601:48;;1696:2;1685:9;1681:18;1668:32;1658:42;;1378:328;;;;;:::o;1900:186::-;1959:6;2012:2;2000:9;1991:7;1987:23;1983:32;1980:52;;;2028:1;2025;2018:12;1980:52;2051:29;2070:9;2051:29;:::i;:::-;2041:39;1900:186;-1:-1:-1;;;1900:186:1:o;2091:260::-;2159:6;2167;2220:2;2208:9;2199:7;2195:23;2191:32;2188:52;;;2236:1;2233;2226:12;2188:52;2259:29;2278:9;2259:29;:::i;:::-;2249:39;;2307:38;2341:2;2330:9;2326:18;2307:38;:::i;:::-;2297:48;;2091:260;;;;;:::o;2356:380::-;2435:1;2431:12;;;;2478;;;2499:61;;2553:4;2545:6;2541:17;2531:27;;2499:61;2606:2;2598:6;2595:14;2575:18;2572:38;2569:161;;2652:10;2647:3;2643:20;2640:1;2633:31;2687:4;2684:1;2677:15;2715:4;2712:1;2705:15;2569:161;;2356:380;;;:::o;3441:127::-;3502:10;3497:3;3493:20;3490:1;3483:31;3533:4;3530:1;3523:15;3557:4;3554:1;3547:15;3573:128;3640:9;;;3661:11;;;3658:37;;;3675:18;;:::i;3706:125::-;3771:9;;;3792:10;;;3789:36;;;3805:18;;:::i

Swarm Source

ipfs://669b8baab876a1ac1bf13599e998ea1443a84ccc92f725a0976b2caee8c10d64
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.