Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 177 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 21505467 | 4 hrs ago | IN | 0 ETH | 0.00023341 | ||||
Approve | 21503359 | 11 hrs ago | IN | 0 ETH | 0.00035784 | ||||
Approve | 21503024 | 12 hrs ago | IN | 0 ETH | 0.00023911 | ||||
Approve | 21503003 | 12 hrs ago | IN | 0 ETH | 0.00023135 | ||||
Approve | 21501642 | 16 hrs ago | IN | 0 ETH | 0.00038806 | ||||
Approve | 21499057 | 25 hrs ago | IN | 0 ETH | 0.00025949 | ||||
Approve | 21498595 | 27 hrs ago | IN | 0 ETH | 0.00009282 | ||||
Approve | 21497295 | 31 hrs ago | IN | 0 ETH | 0.00022787 | ||||
Approve | 21497236 | 31 hrs ago | IN | 0 ETH | 0.00028441 | ||||
Approve | 21495567 | 37 hrs ago | IN | 0 ETH | 0.0003628 | ||||
Approve | 21492885 | 46 hrs ago | IN | 0 ETH | 0.0004401 | ||||
Approve | 21491806 | 2 days ago | IN | 0 ETH | 0.00026407 | ||||
Approve | 21491436 | 2 days ago | IN | 0 ETH | 0.00028051 | ||||
Approve | 21491400 | 2 days ago | IN | 0 ETH | 0.00025086 | ||||
Approve | 21490766 | 2 days ago | IN | 0 ETH | 0.00023697 | ||||
Approve | 21490765 | 2 days ago | IN | 0 ETH | 0.0002377 | ||||
Approve | 21490573 | 2 days ago | IN | 0 ETH | 0.00026295 | ||||
Approve | 21488854 | 2 days ago | IN | 0 ETH | 0.00033476 | ||||
Approve | 21488325 | 2 days ago | IN | 0 ETH | 0.0004393 | ||||
Approve | 21488001 | 2 days ago | IN | 0 ETH | 0.00055699 | ||||
Transfer | 21487969 | 2 days ago | IN | 0 ETH | 0.00044554 | ||||
Approve | 21487966 | 2 days ago | IN | 0 ETH | 0.00041239 | ||||
Approve | 21487859 | 2 days ago | IN | 0 ETH | 0.00054297 | ||||
Approve | 21487371 | 2 days ago | IN | 0 ETH | 0.00048033 | ||||
Approve | 21487343 | 2 days ago | IN | 0 ETH | 0.00050325 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
RAID
Compiler Version
v0.8.28+commit.7893614a
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // // ███████╗██╗ ██████╗ ███╗ ██╗ // ██╔════╝██║ ██╔═══██╗████╗ ██║ // █████╗ ██║ ██║ ██║██╔██╗ ██║ // ██╔══╝ ██║ ██║ ██║██║╚██╗██║ // ███████╗███████╗╚██████╔╝██║ ╚████║ // ╚══════╝╚══════╝ ╚═════╝ ╚═╝ ╚═══╝ // ██████╗ █████╗ ██╗██████╗ ███████╗ // ██╔══██╗██╔══██╗██║██╔══██╗██╔════╝ // ██████╔╝███████║██║██║ ██║███████╗ // ██╔══██╗██╔══██║██║██║ ██║╚════██║ // ██║ ██║██║ ██║██║██████╔╝███████║ // ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚═════╝ ╚══════╝ // ███╗ ███╗ █████╗ ██████╗ ███████╗ // ████╗ ████║██╔══██╗██╔══██╗██╔════╝ // ██╔████╔██║███████║██████╔╝███████╗ // ██║╚██╔╝██║██╔══██║██╔══██╗╚════██║ // ██║ ╚═╝ ██║██║ ██║██║ ██║███████║ // ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝ // // ELON RAIDS MARS ($RAID) // ERC-20 Token Contract V2 (taxless) // // https://ElonRaidsMars.com // https://t.me/ElonRaidsMars // https://x.com/ElonRaidsMars pragma solidity ^0.8.28; interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns (address pair); } interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); } contract RAID { string public name = "Elon Raids Mars"; string public symbol = "RAID"; uint8 public decimals = 18; uint256 public totalSupply = 100_000_000 * 10 ** 18; address public owner; address public uniswapPair; bool public tradingEnabled; 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() { owner = msg.sender; balanceOf[msg.sender] = totalSupply; emit Transfer(address(0), msg.sender, totalSupply); IUniswapV2Router02 uniswapRouter = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); uniswapPair = IUniswapV2Factory(uniswapRouter.factory()).createPair(address(this), uniswapRouter.WETH()); } modifier onlyOwner { require(msg.sender == owner, "Not the owner"); _; } function enableTrading() external onlyOwner { tradingEnabled = true; } function renounceOwnership() external onlyOwner { owner = address(0); } function _beforeTransfer(address from, address to) internal view { if (!tradingEnabled && (from == uniswapPair || to == uniswapPair)) { require(from == owner || to == owner, "Trading not enabled"); } } function transfer(address to, uint256 amount) external returns (bool) { require(balanceOf[msg.sender] >= amount, "Not enough balance"); _beforeTransfer(msg.sender, to); unchecked { balanceOf[msg.sender] -= amount; } balanceOf[to] += amount; emit Transfer(msg.sender, to, amount); return true; } function approve(address spender, uint256 amount) external returns (bool) { allowance[msg.sender][spender] = amount; emit Approval(msg.sender, spender, amount); return true; } function transferFrom(address from, address to, uint256 amount) external returns (bool) { require(balanceOf[from] >= amount, "Not enough balance"); require(allowance[from][msg.sender] >= amount, "Not enough allowance"); _beforeTransfer(from, to); unchecked { balanceOf[from] -= amount; allowance[from][msg.sender] -= amount; } balanceOf[to] += amount; emit Transfer(from, to, amount); return true; } function website() public pure returns (string memory) { return "https://ElonRaidsMars.com/"; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":"amount","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":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":[],"name":"tradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","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":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"website","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"}]
Contract Creation Code
60c0604052600f60809081526e456c6f6e205261696473204d61727360881b60a05260009061002e9082610306565b506040805180820190915260048152631490525160e21b60208201526001906100579082610306565b506002805460ff191660121790556a52b7d2dcc80cd2e400000060035534801561008057600080fd5b50600480546001600160a01b031916339081179091556003546000828152600660205260408082208390555190917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef916100dc91815260200190565b60405180910390a36000737a250d5630b4cf539739df2c5dacb4c659f2488d9050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561013b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061015f91906103c4565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d091906103c4565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801561021d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061024191906103c4565b600580546001600160a01b0319166001600160a01b0392909216919091179055506103f4565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168061029157607f821691505b6020821081036102b157634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561030157806000526020600020601f840160051c810160208510156102de5750805b601f840160051c820191505b818110156102fe57600081556001016102ea565b50505b505050565b81516001600160401b0381111561031f5761031f610267565b6103338161032d845461027d565b846102b7565b6020601f821160018114610367576000831561034f5750848201515b600019600385901b1c1916600184901b1784556102fe565b600084815260208120601f198516915b828110156103975787850151825560209485019460019092019101610377565b50848210156103b55786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b6000602082840312156103d657600080fd5b81516001600160a01b03811681146103ed57600080fd5b9392505050565b61090e806104036000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c8063715018a611610097578063a9059cbb11610066578063a9059cbb146101fd578063beb0a41614610210578063c816841b14610249578063dd62ed3e1461025c57600080fd5b8063715018a6146101b85780638a8c523c146101c25780638da5cb5b146101ca57806395d89b41146101f557600080fd5b806323b872dd116100d357806323b872dd14610152578063313ce567146101655780634ada218b1461018457806370a082311461019857600080fd5b806306fdde03146100fa578063095ea7b31461011857806318160ddd1461013b575b600080fd5b610102610287565b60405161010f9190610757565b60405180910390f35b61012b6101263660046107c1565b610315565b604051901515815260200161010f565b61014460035481565b60405190815260200161010f565b61012b6101603660046107eb565b610382565b6002546101729060ff1681565b60405160ff909116815260200161010f565b60055461012b90600160a01b900460ff1681565b6101446101a6366004610828565b60066020526000908152604090205481565b6101c0610508565b005b6101c0610564565b6004546101dd906001600160a01b031681565b6040516001600160a01b03909116815260200161010f565b6101026105c3565b61012b61020b3660046107c1565b6105d0565b60408051808201909152601a81527f68747470733a2f2f456c6f6e52616964734d6172732e636f6d2f0000000000006020820152610102565b6005546101dd906001600160a01b031681565b61014461026a36600461084a565b600760209081526000928352604080842090915290825290205481565b600080546102949061087d565b80601f01602080910402602001604051908101604052809291908181526020018280546102c09061087d565b801561030d5780601f106102e25761010080835404028352916020019161030d565b820191906000526020600020905b8154815290600101906020018083116102f057829003601f168201915b505050505081565b3360008181526007602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103709086815260200190565b60405180910390a35060015b92915050565b6001600160a01b0383166000908152600660205260408120548211156103e45760405162461bcd60e51b81526020600482015260126024820152714e6f7420656e6f7567682062616c616e636560701b60448201526064015b60405180910390fd5b6001600160a01b038416600090815260076020908152604080832033845290915290205482111561044e5760405162461bcd60e51b81526020600482015260146024820152734e6f7420656e6f75676820616c6c6f77616e636560601b60448201526064016103db565b61045884846106a5565b6001600160a01b038085166000908152600660208181526040808420805488900390556007825280842033855282528084208054889003905593871683525290812080548492906104aa9084906108b7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516104f691815260200190565b60405180910390a35060019392505050565b6004546001600160a01b031633146105525760405162461bcd60e51b815260206004820152600d60248201526c2737ba103a34329037bbb732b960991b60448201526064016103db565b600480546001600160a01b0319169055565b6004546001600160a01b031633146105ae5760405162461bcd60e51b815260206004820152600d60248201526c2737ba103a34329037bbb732b960991b60448201526064016103db565b6005805460ff60a01b1916600160a01b179055565b600180546102949061087d565b336000908152600660205260408120548211156106245760405162461bcd60e51b81526020600482015260126024820152714e6f7420656e6f7567682062616c616e636560701b60448201526064016103db565b61062e33846106a5565b33600090815260066020526040808220805485900390556001600160a01b0385168252812080548492906106639084906108b7565b90915550506040518281526001600160a01b0384169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610370565b600554600160a01b900460ff161580156106e357506005546001600160a01b03838116911614806106e357506005546001600160a01b038281169116145b15610753576004546001600160a01b038381169116148061071157506004546001600160a01b038281169116145b6107535760405162461bcd60e51b8152602060048201526013602482015272151c98591a5b99c81b9bdd08195b98589b1959606a1b60448201526064016103db565b5050565b602081526000825180602084015260005b818110156107855760208186018101516040868401015201610768565b506000604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b03811681146107bc57600080fd5b919050565b600080604083850312156107d457600080fd5b6107dd836107a5565b946020939093013593505050565b60008060006060848603121561080057600080fd5b610809846107a5565b9250610817602085016107a5565b929592945050506040919091013590565b60006020828403121561083a57600080fd5b610843826107a5565b9392505050565b6000806040838503121561085d57600080fd5b610866836107a5565b9150610874602084016107a5565b90509250929050565b600181811c9082168061089157607f821691505b6020821081036108b157634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561037c57634e487b7160e01b600052601160045260246000fdfea2646970667358221220bf566200c13bbf0554416ee5c81794921a3f32f2a2502195ef466a1947670cb564736f6c634300081c0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100f55760003560e01c8063715018a611610097578063a9059cbb11610066578063a9059cbb146101fd578063beb0a41614610210578063c816841b14610249578063dd62ed3e1461025c57600080fd5b8063715018a6146101b85780638a8c523c146101c25780638da5cb5b146101ca57806395d89b41146101f557600080fd5b806323b872dd116100d357806323b872dd14610152578063313ce567146101655780634ada218b1461018457806370a082311461019857600080fd5b806306fdde03146100fa578063095ea7b31461011857806318160ddd1461013b575b600080fd5b610102610287565b60405161010f9190610757565b60405180910390f35b61012b6101263660046107c1565b610315565b604051901515815260200161010f565b61014460035481565b60405190815260200161010f565b61012b6101603660046107eb565b610382565b6002546101729060ff1681565b60405160ff909116815260200161010f565b60055461012b90600160a01b900460ff1681565b6101446101a6366004610828565b60066020526000908152604090205481565b6101c0610508565b005b6101c0610564565b6004546101dd906001600160a01b031681565b6040516001600160a01b03909116815260200161010f565b6101026105c3565b61012b61020b3660046107c1565b6105d0565b60408051808201909152601a81527f68747470733a2f2f456c6f6e52616964734d6172732e636f6d2f0000000000006020820152610102565b6005546101dd906001600160a01b031681565b61014461026a36600461084a565b600760209081526000928352604080842090915290825290205481565b600080546102949061087d565b80601f01602080910402602001604051908101604052809291908181526020018280546102c09061087d565b801561030d5780601f106102e25761010080835404028352916020019161030d565b820191906000526020600020905b8154815290600101906020018083116102f057829003601f168201915b505050505081565b3360008181526007602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103709086815260200190565b60405180910390a35060015b92915050565b6001600160a01b0383166000908152600660205260408120548211156103e45760405162461bcd60e51b81526020600482015260126024820152714e6f7420656e6f7567682062616c616e636560701b60448201526064015b60405180910390fd5b6001600160a01b038416600090815260076020908152604080832033845290915290205482111561044e5760405162461bcd60e51b81526020600482015260146024820152734e6f7420656e6f75676820616c6c6f77616e636560601b60448201526064016103db565b61045884846106a5565b6001600160a01b038085166000908152600660208181526040808420805488900390556007825280842033855282528084208054889003905593871683525290812080548492906104aa9084906108b7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516104f691815260200190565b60405180910390a35060019392505050565b6004546001600160a01b031633146105525760405162461bcd60e51b815260206004820152600d60248201526c2737ba103a34329037bbb732b960991b60448201526064016103db565b600480546001600160a01b0319169055565b6004546001600160a01b031633146105ae5760405162461bcd60e51b815260206004820152600d60248201526c2737ba103a34329037bbb732b960991b60448201526064016103db565b6005805460ff60a01b1916600160a01b179055565b600180546102949061087d565b336000908152600660205260408120548211156106245760405162461bcd60e51b81526020600482015260126024820152714e6f7420656e6f7567682062616c616e636560701b60448201526064016103db565b61062e33846106a5565b33600090815260066020526040808220805485900390556001600160a01b0385168252812080548492906106639084906108b7565b90915550506040518281526001600160a01b0384169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610370565b600554600160a01b900460ff161580156106e357506005546001600160a01b03838116911614806106e357506005546001600160a01b038281169116145b15610753576004546001600160a01b038381169116148061071157506004546001600160a01b038281169116145b6107535760405162461bcd60e51b8152602060048201526013602482015272151c98591a5b99c81b9bdd08195b98589b1959606a1b60448201526064016103db565b5050565b602081526000825180602084015260005b818110156107855760208186018101516040868401015201610768565b506000604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b03811681146107bc57600080fd5b919050565b600080604083850312156107d457600080fd5b6107dd836107a5565b946020939093013593505050565b60008060006060848603121561080057600080fd5b610809846107a5565b9250610817602085016107a5565b929592945050506040919091013590565b60006020828403121561083a57600080fd5b610843826107a5565b9392505050565b6000806040838503121561085d57600080fd5b610866836107a5565b9150610874602084016107a5565b90509250929050565b600181811c9082168061089157607f821691505b6020821081036108b157634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561037c57634e487b7160e01b600052601160045260246000fdfea2646970667358221220bf566200c13bbf0554416ee5c81794921a3f32f2a2502195ef466a1947670cb564736f6c634300081c0033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
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.