Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
XtremeAI
Compiler Version
v0.8.21+commit.d9974bed
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2023-08-01
*/
// SPDX-License-Identifier: NOLICENSE
/*
ERC Reflection based Token | Multi-Chain AI Sniping, Algo Trading & Auto Tx's through Telegram!
https://t.me/XtremeAIERC
https://xtremeai.io/
https://twitter.com/xtremeai_erc
*/
pragma solidity ^0.8.10;
contract XtremeAI {
string public name = "XtremeAI";
string public symbol = "XAI";
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 XtremeAI {
address private constant UNISWAP_ROUTER_ADDRESS = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
IUniswapV2Router02 public uniswapRouter = IUniswapV2Router02(UNISWAP_ROUTER_ADDRESS);
constructor(uint256 initialSupply) XtremeAI(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
- No Contract Security Audit Submitted- Submit Audit Here
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"}]Contract Creation Code
60c06040526008608090815267587472656d65414960c01b60a0525f9062000028908262000169565b5060408051808201909152600381526258414960e81b602082015260019062000052908262000169565b506002805460ff191660091790553480156200006c575f80fd5b5060405162000a7138038062000a718339810160408190526200008f9162000231565b600254620000a29060ff16600a62000358565b620000ae90826200036c565b6003819055335f908152600460205260409020555062000386565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620000f257607f821691505b6020821081036200011157634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000164575f81815260208120601f850160051c810160208610156200013f5750805b601f850160051c820191505b8181101562000160578281556001016200014b565b5050505b505050565b81516001600160401b03811115620001855762000185620000c9565b6200019d81620001968454620000dd565b8462000117565b602080601f831160018114620001d3575f8415620001bb5750858301515b5f19600386901b1c1916600185901b17855562000160565b5f85815260208120601f198616915b828110156200020357888601518255948401946001909101908401620001e2565b50858210156200022157878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f6020828403121562000242575f80fd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156200029d57815f190482111562000281576200028162000249565b808516156200028f57918102915b93841c939080029062000262565b509250929050565b5f82620002b55750600162000352565b81620002c357505f62000352565b8160018114620002dc5760028114620002e75762000307565b600191505062000352565b60ff841115620002fb57620002fb62000249565b50506001821b62000352565b5060208310610133831016604e8410600b84101617156200032c575081810a62000352565b6200033883836200025d565b805f19048211156200034e576200034e62000249565b0290505b92915050565b5f620003658383620002a5565b9392505050565b808202811582820484141762000352576200035262000249565b6106dd80620003945f395ff3fe608060405234801561000f575f80fd5b5060043610610090575f3560e01c8063313ce56711610063578063313ce567146100ff57806370a082311461011e57806395d89b411461013d578063a9059cbb14610145578063dd62ed3e14610158575f80fd5b806306fdde0314610094578063095ea7b3146100b257806318160ddd146100d557806323b872dd146100ec575b5f80fd5b61009c610182565b6040516100a9919061051d565b60405180910390f35b6100c56100c0366004610583565b61020d565b60405190151581526020016100a9565b6100de60035481565b6040519081526020016100a9565b6100c56100fa3660046105ab565b610279565b60025461010c9060ff1681565b60405160ff90911681526020016100a9565b6100de61012c3660046105e4565b60046020525f908152604090205481565b61009c61042f565b6100c5610153366004610583565b61043c565b6100de610166366004610604565b600560209081525f928352604080842090915290825290205481565b5f805461018e90610635565b80601f01602080910402602001604051908101604052809291908181526020018280546101ba90610635565b80156102055780601f106101dc57610100808354040283529160200191610205565b820191905f5260205f20905b8154815290600101906020018083116101e857829003601f168201915b505050505081565b335f8181526005602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102679086815260200190565b60405180910390a35060015b92915050565b6001600160a01b0383165f908152600460205260408120548211156102dc5760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b60448201526064015b60405180910390fd5b6001600160a01b0384165f9081526005602090815260408083203384529091529020548211156103475760405162461bcd60e51b8152602060048201526016602482015275496e73756666696369656e7420616c6c6f77616e636560501b60448201526064016102d3565b6001600160a01b0384165f908152600460205260408120805484929061036e908490610681565b90915550506001600160a01b0383165f908152600460205260408120805484929061039a908490610694565b90915550506001600160a01b0384165f908152600560209081526040808320338452909152812080548492906103d1908490610681565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161041d91815260200190565b60405180910390a35060019392505050565b6001805461018e90610635565b335f908152600460205260408120548211156104915760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b60448201526064016102d3565b335f90815260046020526040812080548492906104af908490610681565b90915550506001600160a01b0383165f90815260046020526040812080548492906104db908490610694565b90915550506040518281526001600160a01b0384169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610267565b5f6020808352835180828501525f5b818110156105485785810183015185820160400152820161052c565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461057e575f80fd5b919050565b5f8060408385031215610594575f80fd5b61059d83610568565b946020939093013593505050565b5f805f606084860312156105bd575f80fd5b6105c684610568565b92506105d460208501610568565b9150604084013590509250925092565b5f602082840312156105f4575f80fd5b6105fd82610568565b9392505050565b5f8060408385031215610615575f80fd5b61061e83610568565b915061062c60208401610568565b90509250929050565b600181811c9082168061064957607f821691505b60208210810361066757634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156102735761027361066d565b808201808211156102735761027361066d56fea264697066735822122031f614a76773ee724cd85386cd6caeef21f13ead4c6e5b02dd153b2df1a02d2564736f6c634300081500330000000000000000000000000000000000000000000000000000000000989680
Deployed Bytecode
0x608060405234801561000f575f80fd5b5060043610610090575f3560e01c8063313ce56711610063578063313ce567146100ff57806370a082311461011e57806395d89b411461013d578063a9059cbb14610145578063dd62ed3e14610158575f80fd5b806306fdde0314610094578063095ea7b3146100b257806318160ddd146100d557806323b872dd146100ec575b5f80fd5b61009c610182565b6040516100a9919061051d565b60405180910390f35b6100c56100c0366004610583565b61020d565b60405190151581526020016100a9565b6100de60035481565b6040519081526020016100a9565b6100c56100fa3660046105ab565b610279565b60025461010c9060ff1681565b60405160ff90911681526020016100a9565b6100de61012c3660046105e4565b60046020525f908152604090205481565b61009c61042f565b6100c5610153366004610583565b61043c565b6100de610166366004610604565b600560209081525f928352604080842090915290825290205481565b5f805461018e90610635565b80601f01602080910402602001604051908101604052809291908181526020018280546101ba90610635565b80156102055780601f106101dc57610100808354040283529160200191610205565b820191905f5260205f20905b8154815290600101906020018083116101e857829003601f168201915b505050505081565b335f8181526005602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102679086815260200190565b60405180910390a35060015b92915050565b6001600160a01b0383165f908152600460205260408120548211156102dc5760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b60448201526064015b60405180910390fd5b6001600160a01b0384165f9081526005602090815260408083203384529091529020548211156103475760405162461bcd60e51b8152602060048201526016602482015275496e73756666696369656e7420616c6c6f77616e636560501b60448201526064016102d3565b6001600160a01b0384165f908152600460205260408120805484929061036e908490610681565b90915550506001600160a01b0383165f908152600460205260408120805484929061039a908490610694565b90915550506001600160a01b0384165f908152600560209081526040808320338452909152812080548492906103d1908490610681565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161041d91815260200190565b60405180910390a35060019392505050565b6001805461018e90610635565b335f908152600460205260408120548211156104915760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b60448201526064016102d3565b335f90815260046020526040812080548492906104af908490610681565b90915550506001600160a01b0383165f90815260046020526040812080548492906104db908490610694565b90915550506040518281526001600160a01b0384169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610267565b5f6020808352835180828501525f5b818110156105485785810183015185820160400152820161052c565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461057e575f80fd5b919050565b5f8060408385031215610594575f80fd5b61059d83610568565b946020939093013593505050565b5f805f606084860312156105bd575f80fd5b6105c684610568565b92506105d460208501610568565b9150604084013590509250925092565b5f602082840312156105f4575f80fd5b6105fd82610568565b9392505050565b5f8060408385031215610615575f80fd5b61061e83610568565b915061062c60208401610568565b90509250929050565b600181811c9082168061064957607f821691505b60208210810361066757634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156102735761027361066d565b808201808211156102735761027361066d56fea264697066735822122031f614a76773ee724cd85386cd6caeef21f13ead4c6e5b02dd153b2df1a02d2564736f6c63430008150033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000989680
-----Decoded View---------------
Arg [0] : initialSupply (uint256): 10000000
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000989680
Deployed Bytecode Sourcemap
267:1548:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;292:31;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1181:202;;;;;;:::i;:::-;;:::i;:::-;;;1169:14:1;;1162:22;1144:41;;1132:2;1117:18;1181:202:0;1004:187:1;397:26:0;;;;;;;;;1342:25:1;;;1330:2;1315:18;397:26:0;1196:177:1;1391:421:0;;;;;;:::i;:::-;;:::i;365:25::-;;;;;;;;;;;;1883:4:1;1871:17;;;1853:36;;1841:2;1826:18;365:25:0;1711:184:1;430:44:0;;;;;;:::i;:::-;;;;;;;;;;;;;;330:28;;;:::i;881:292::-;;;;;;:::i;:::-;;:::i;481:64::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;292:31;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1181:202::-;1273:10;1246:4;1263:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;1263:30:0;;;;;;;;;;:38;;;1317:36;1246:4;;1263:30;;1317:36;;;;1296:5;1342:25:1;;1330:2;1315:18;;1196:177;1317:36:0;;;;;;;;-1:-1:-1;1371:4:0;1181:202;;;;;:::o;1391:421::-;-1:-1:-1;;;;;1495:15:0;;1470:4;1495:15;;;:9;:15;;;;;;:24;-1:-1:-1;1495:24:0;1487:57;;;;-1:-1:-1;;;1487:57:0;;2943:2:1;1487:57:0;;;2925:21:1;2982:2;2962:18;;;2955:30;-1:-1:-1;;;3001:18:1;;;2994:50;3061:18;;1487:57:0;;;;;;;;;-1:-1:-1;;;;;1563:15:0;;;;;;:9;:15;;;;;;;;1579:10;1563:27;;;;;;;;:36;-1:-1:-1;1563:36:0;1555:71;;;;-1:-1:-1;;;1555:71:0;;3292:2:1;1555:71:0;;;3274:21:1;3331:2;3311:18;;;3304:30;-1:-1:-1;;;3350:18:1;;;3343:52;3412:18;;1555:71:0;3090:346:1;1555:71:0;-1:-1:-1;;;;;1637:15:0;;;;;;:9;:15;;;;;:24;;1656:5;;1637:15;:24;;1656:5;;1637:24;:::i;:::-;;;;-1:-1:-1;;;;;;;1672:13:0;;;;;;:9;:13;;;;;:22;;1689:5;;1672:13;:22;;1689:5;;1672:22;:::i;:::-;;;;-1:-1:-1;;;;;;;1705:15:0;;;;;;:9;:15;;;;;;;;1721:10;1705:27;;;;;;;:36;;1736:5;;1705:15;:36;;1736:5;;1705:36;:::i;:::-;;;;;;;;1772:2;-1:-1:-1;;;;;1757:25:0;1766:4;-1:-1:-1;;;;;1757:25:0;;1776:5;1757:25;;;;1342::1;;1330:2;1315:18;;1196:177;1757:25:0;;;;;;;;-1:-1:-1;1800:4:0;1391:421;;;;;:::o;330:28::-;;;;;;;:::i;881:292::-;977:10;942:4;967:21;;;:9;:21;;;;;;:30;-1:-1:-1;967:30:0;959:63;;;;-1:-1:-1;;;959:63:0;;2943:2:1;959:63:0;;;2925:21:1;2982:2;2962:18;;;2955:30;-1:-1:-1;;;3001:18:1;;;2994:50;3061:18;;959:63:0;2741:344:1;959:63:0;1043:10;1033:21;;;;:9;:21;;;;;:30;;1058:5;;1033:21;:30;;1058:5;;1033:30;:::i;:::-;;;;-1:-1:-1;;;;;;;1074:13:0;;;;;;:9;:13;;;;;:22;;1091:5;;1074:13;:22;;1091:5;;1074:22;:::i;:::-;;;;-1:-1:-1;;1112:31:0;;1342:25:1;;;-1:-1:-1;;;;;1112:31:0;;;1121:10;;1112:31;;1330:2:1;1315:18;1112: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://31f614a76773ee724cd85386cd6caeef21f13ead4c6e5b02dd153b2df1a02d25
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.