ERC-20
Overview
Max Total Supply
100,000,000 KOM
Holders
27
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
990,000 KOMValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
KOM
Compiler Version
v0.8.23+commit.f704f362
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//https://www.komerc.vip/ //https://t.me/Kom_erc //https://twitter.com/KOM_ERC // SPDX-License-Identifier: MIT pragma solidity ^0.8.21; import {ERC20} from "contracts/solmate/ERC20.sol"; import {Owned} from "contracts/solmate/Owned.sol"; import {IUniswapV2Router02} from "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; import {IUniswapV2Factory} from "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import {EnumerableSet} from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; contract KOM is ERC20, Owned { using EnumerableSet for EnumerableSet.AddressSet; EnumerableSet.AddressSet receivers; mapping(address => uint256) public receiversShares; uint256 public totalShares; uint256 public TOTAL_SUPPLY = 100_000_000 ether; IUniswapV2Router02 public constant uniswapRouter = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); mapping(address => bool) public isExcludedFromFee; mapping(address => bool) public isWhitelisted; mapping(address => uint256) public boughtAmount; // 1% of total supply uint256 public maxBuyAmount = 1_000_000 ether; uint256 public buyFee = 50; uint256 public sellFee = 50; address public immutable pair; bool public tradingEnabled; constructor() ERC20("Kingdom Of Meme", "KOM", 18) Owned(msg.sender) { _mint(msg.sender, TOTAL_SUPPLY); isExcludedFromFee[msg.sender] = true; isWhitelisted[msg.sender] = true; address _weth = uniswapRouter.WETH(); pair = IUniswapV2Factory(uniswapRouter.factory()).createPair(address(this), _weth); isExcludedFromFee[pair] = true; isExcludedFromFee[address(this)] = true; allowance[address(this)][address(uniswapRouter)] = type(uint256).max; } function setMaxBuyAmountKom(uint256 _maxBuyAmount) external onlyOwner { require(_maxBuyAmount > 0, "max-buy-amount-must-be-greater-than-zero"); maxBuyAmount = _maxBuyAmount; } function setExcludedFromFeeTrading(address account, bool excluded) external onlyOwner { isExcludedFromFee[account] = excluded; } function setWhitelistedBuyer(address account, bool whitelisted) external onlyOwner { isWhitelisted[account] = whitelisted; } function changeBuyFee(uint256 _buyFee) external onlyOwner { buyFee = _buyFee; } function changeSellFee(uint256 _sellFee) external onlyOwner { sellFee = _sellFee; } function startTrading() external onlyOwner { tradingEnabled = true; } function removeLimits() external onlyOwner { maxBuyAmount = type(uint256).max; } function transfer(address to, uint256 amount) public override returns (bool) { balanceOf[msg.sender] -= amount; if (msg.sender == pair) { require(tradingEnabled || isWhitelisted[to], "trading-not-enabled"); if (!isExcludedFromFee[to]) { uint256 taxAmount = amount * buyFee / 100; amount -= taxAmount; boughtAmount[to] += amount; require(boughtAmount[to] <= maxBuyAmount, "max-buy-amount-exceeded"); balanceOf[address(this)] += taxAmount; distributeShares(); } } unchecked { balanceOf[to] += amount; } emit Transfer(msg.sender, to, amount); return true; } function transferFrom(address from, address to, uint256 amount) public override returns (bool) { uint256 allowed = allowance[from][msg.sender]; if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount; balanceOf[from] -= amount; if (to == pair) { require(tradingEnabled || isWhitelisted[from], "trading-not-enabled"); if (!isExcludedFromFee[from]) { uint256 taxAmount = amount * sellFee / 100; amount -= taxAmount; balanceOf[address(this)] += taxAmount; _swapTokensForEth(balanceOf[address(this)]); } } unchecked { balanceOf[to] += amount; } emit Transfer(from, to, amount); return true; } function _swapTokensForEth(uint256 tokenAmount) internal { if (tokenAmount == 0) return; address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapRouter.WETH(); uniswapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function addReceiverForFees(address receiver, uint256 shares) external onlyOwner { require(!receivers.contains(receiver), "receiver-already-added"); require(shares > 0, "shares-must-be-greater-than-zero"); require(totalShares + shares <= 100, "max-shares-exceeded"); receivers.add(receiver); receiversShares[receiver] = shares; totalShares += shares; } function removeReceiver(address receiver) external onlyOwner { require(receivers.contains(receiver), "receiver-not-added"); receivers.remove(receiver); totalShares -= receiversShares[receiver]; receiversShares[receiver] = 0; } function getReceivers() public view returns (address[] memory, uint256[] memory) { address[] memory _receivers = new address[](receivers.length()); uint256[] memory _shares = new uint256[](receivers.length()); for (uint256 i = 0; i < receivers.length(); i++) { _receivers[i] = receivers.at(i); _shares[i] = receiversShares[_receivers[i]]; } return (_receivers, _shares); } function distributeShares() public { uint256 balance = address(this).balance; if (balance == 0) return; (address[] memory _receivers, uint256[] memory _shares) = getReceivers(); for (uint256 i = 0; i < _receivers.length; i++) { payable(_receivers[i]).transfer((balance * _shares[i]) / 100); } } receive() external payable {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/structs/EnumerableSet.sol) // This file was procedurally generated from scripts/generate/templates/EnumerableSet.js. pragma solidity ^0.8.20; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ```solidity * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. * * [WARNING] * ==== * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure * unusable. * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. * * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an * array of EnumerableSet. * ==== */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position is the index of the value in the `values` array plus 1. // Position 0 is used to mean a value is not in the set. mapping(bytes32 value => uint256) _positions; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._positions[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We cache the value's position to prevent multiple reads from the same storage slot uint256 position = set._positions[value]; if (position != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 valueIndex = position - 1; uint256 lastIndex = set._values.length - 1; if (valueIndex != lastIndex) { bytes32 lastValue = set._values[lastIndex]; // Move the lastValue to the index where the value to delete is set._values[valueIndex] = lastValue; // Update the tracked position of the lastValue (that was just moved) set._positions[lastValue] = position; } // Delete the slot where the moved value was stored set._values.pop(); // Delete the tracked position for the deleted slot delete set._positions[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._positions[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { bytes32[] memory store = _values(set._inner); bytes32[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values in the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Simple single owner authorization mixin. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/auth/Owned.sol) abstract contract Owned { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event OwnershipTransferred(address indexed user, address indexed newOwner); /*////////////////////////////////////////////////////////////// OWNERSHIP STORAGE //////////////////////////////////////////////////////////////*/ address public owner; modifier onlyOwner() virtual { require(msg.sender == owner, "UNAUTHORIZED"); _; } /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor(address _owner) { owner = _owner; emit OwnershipTransferred(address(0), _owner); } /*////////////////////////////////////////////////////////////// OWNERSHIP LOGIC //////////////////////////////////////////////////////////////*/ function transferOwnership(address newOwner) public virtual onlyOwner { owner = newOwner; emit OwnershipTransferred(msg.sender, newOwner); } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Modern and gas efficient ERC20 + EIP-2612 implementation. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol) /// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol) /// @dev Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it. abstract contract ERC20 { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Transfer(address indexed from, address indexed to, uint256 amount); event Approval(address indexed owner, address indexed spender, uint256 amount); /*////////////////////////////////////////////////////////////// METADATA STORAGE //////////////////////////////////////////////////////////////*/ string public name; string public symbol; uint8 public immutable decimals; /*////////////////////////////////////////////////////////////// ERC20 STORAGE //////////////////////////////////////////////////////////////*/ uint256 public totalSupply; mapping(address => uint256) public balanceOf; mapping(address => mapping(address => uint256)) public allowance; /*////////////////////////////////////////////////////////////// EIP-2612 STORAGE //////////////////////////////////////////////////////////////*/ uint256 internal immutable INITIAL_CHAIN_ID; bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR; mapping(address => uint256) public nonces; /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor( string memory _name, string memory _symbol, uint8 _decimals ) { name = _name; symbol = _symbol; decimals = _decimals; INITIAL_CHAIN_ID = block.chainid; INITIAL_DOMAIN_SEPARATOR = computeDomainSeparator(); } /*////////////////////////////////////////////////////////////// ERC20 LOGIC //////////////////////////////////////////////////////////////*/ function approve(address spender, uint256 amount) public virtual returns (bool) { allowance[msg.sender][spender] = amount; emit Approval(msg.sender, spender, amount); return true; } function transfer(address to, uint256 amount) public virtual returns (bool) { balanceOf[msg.sender] -= amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(msg.sender, to, amount); return true; } function transferFrom( address from, address to, uint256 amount ) public virtual returns (bool) { uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals. if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount; balanceOf[from] -= amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(from, to, amount); return true; } /*////////////////////////////////////////////////////////////// EIP-2612 LOGIC //////////////////////////////////////////////////////////////*/ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public virtual { require(deadline >= block.timestamp, "PERMIT_DEADLINE_EXPIRED"); // Unchecked because the only math done is incrementing // the owner's nonce which cannot realistically overflow. unchecked { address recoveredAddress = ecrecover( keccak256( abi.encodePacked( "\x19\x01", DOMAIN_SEPARATOR(), keccak256( abi.encode( keccak256( "Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)" ), owner, spender, value, nonces[owner]++, deadline ) ) ) ), v, r, s ); require(recoveredAddress != address(0) && recoveredAddress == owner, "INVALID_SIGNER"); allowance[recoveredAddress][spender] = value; } emit Approval(owner, spender, value); } function DOMAIN_SEPARATOR() public view virtual returns (bytes32) { return block.chainid == INITIAL_CHAIN_ID ? INITIAL_DOMAIN_SEPARATOR : computeDomainSeparator(); } function computeDomainSeparator() internal view virtual returns (bytes32) { return keccak256( abi.encode( keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"), keccak256(bytes(name)), keccak256("1"), block.chainid, address(this) ) ); } /*////////////////////////////////////////////////////////////// INTERNAL MINT/BURN LOGIC //////////////////////////////////////////////////////////////*/ function _mint(address to, uint256 amount) internal virtual { totalSupply += amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(address(0), to, amount); } function _burn(address from, uint256 amount) internal virtual { balanceOf[from] -= amount; // Cannot underflow because a user's balance // will never be larger than the total supply. unchecked { totalSupply -= amount; } emit Transfer(from, address(0), amount); } }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
{ "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":[],"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":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","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":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"shares","type":"uint256"}],"name":"addReceiverForFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"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":[{"internalType":"address","name":"","type":"address"}],"name":"boughtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyFee","type":"uint256"}],"name":"changeBuyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_sellFee","type":"uint256"}],"name":"changeSellFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"distributeShares","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getReceivers","outputs":[{"internalType":"address[]","name":"","type":"address[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"receiversShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"removeReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"setExcludedFromFeeTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxBuyAmount","type":"uint256"}],"name":"setMaxBuyAmountKom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"whitelisted","type":"bool"}],"name":"setWhitelistedBuyer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapRouter","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6101006040526a52b7d2dcc80cd2e4000000600b5569d3c21bcecceda1000000600f556032601055603260115534801562000038575f80fd5b50336040518060400160405280600f81526020016e4b696e67646f6d204f66204d656d6560881b815250604051806040016040528060038152602001624b4f4d60e81b8152506012825f9081620000909190620004b5565b5060016200009f8382620004b5565b5060ff81166080524660a052620000b562000312565b60c0525050600680546001600160a01b0319166001600160a01b0384169081179091556040519091505f907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506200011a33600b54620003ac60201b60201c565b335f908152600c602090815260408083208054600160ff199182168117909255600d84528285208054909116909117905580516315ab88c960e31b81529051737a250d5630b4cf539739df2c5dacb4c659f2488d9263ad5c464892600480820193918290030181865afa15801562000194573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001ba919062000581565b9050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200020d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000233919062000581565b6040516364e329cb60e11b81523060048201526001600160a01b038381166024830152919091169063c9c65396906044016020604051808303815f875af115801562000281573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620002a7919062000581565b6001600160a01b031660e08190525f908152600c602090815260408083208054600160ff1991821681179092553085528285208054909116909117905560048252808320737a250d5630b4cf539739df2c5dacb4c659f2488d845290915290205f1990555062000650565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f5f604051620003449190620005b0565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b8060025f828254620003bf91906200062a565b90915550506001600160a01b0382165f818152600360209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200044057607f821691505b6020821081036200045f57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620004b057805f5260205f20601f840160051c810160208510156200048c5750805b601f840160051c820191505b81811015620004ad575f815560010162000498565b50505b505050565b81516001600160401b03811115620004d157620004d162000417565b620004e981620004e284546200042b565b8462000465565b602080601f8311600181146200051f575f8415620005075750858301515b5f19600386901b1c1916600185901b17855562000579565b5f85815260208120601f198616915b828110156200054f578886015182559484019460019091019084016200052e565b50858210156200056d57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b5f6020828403121562000592575f80fd5b81516001600160a01b0381168114620005a9575f80fd5b9392505050565b5f808354620005bf816200042b565b60018281168015620005da5760018114620005f0576200061e565b60ff19841687528215158302870194506200061e565b875f526020805f205f5b85811015620006155781548a820152908401908201620005fa565b50505082870194505b50929695505050505050565b808201808211156200064a57634e487b7160e01b5f52601160045260245ffd5b92915050565b60805160a05160c05160e051611de9620006925f395f8181610619015281816108f20152610f6101525f610ae601525f610ab101525f6103410152611de95ff3fe608060405260043610610215575f3560e01c80636552d8b41161011e578063902d55a5116100a8578063d505accf1161006d578063d505accf1461065a578063dd62ed3e14610679578063e061646b146106af578063e0655fe5146106d1578063f2fde38b146106f0575f80fd5b8063902d55a5146105c057806395d89b41146105d55780639cb11107146105e9578063a8aa1b3114610608578063a9059cbb1461063b575f80fd5b8063764a730a116100ee578063764a730a146105175780637ecebe001461054257806386605d1e1461056d57806388e765ff1461058c5780638da5cb5b146105a1575f80fd5b80636552d8b41461047a57806370a0823114610499578063735de9f7146104c4578063751039fc14610503575f80fd5b80633644e5151161019f578063470624021161016f57806347062402146103e05780634ada218b146103f55780635342acb41461040e5780636466cfa11461043c578063650f7eb41461045b575f80fd5b80633644e515146103755780633a98ef39146103895780633af32abf1461039e578063429e3846146103cc575f80fd5b80631b974c36116101e55780631b974c36146102c757806323b872dd146102e8578063293230b8146103075780632b14ca561461031b578063313ce56714610330575f80fd5b806306fdde0314610220578063095ea7b31461024a57806310b21dcb1461027957806318160ddd146102b2575f80fd5b3661021c57005b5f80fd5b34801561022b575f80fd5b5061023461070f565b6040516102419190611948565b60405180910390f35b348015610255575f80fd5b506102696102643660046119ab565b61079a565b6040519015158152602001610241565b348015610284575f80fd5b506102a46102933660046119d5565b60096020525f908152604090205481565b604051908152602001610241565b3480156102bd575f80fd5b506102a460025481565b3480156102d2575f80fd5b506102e66102e13660046119f0565b610806565b005b3480156102f3575f80fd5b50610269610302366004611a2b565b610863565b348015610312575f80fd5b506102e6610a75565b348015610326575f80fd5b506102a460115481565b34801561033b575f80fd5b506103637f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610241565b348015610380575f80fd5b506102a4610aae565b348015610394575f80fd5b506102a4600a5481565b3480156103a9575f80fd5b506102696103b83660046119d5565b600d6020525f908152604090205460ff1681565b3480156103d7575f80fd5b506102e6610b08565b3480156103eb575f80fd5b506102a460105481565b348015610400575f80fd5b506012546102699060ff1681565b348015610419575f80fd5b506102696104283660046119d5565b600c6020525f908152604090205460ff1681565b348015610447575f80fd5b506102e6610456366004611a69565b610bb8565b348015610466575f80fd5b506102e66104753660046119ab565b610be7565b348015610485575f80fd5b506102e66104943660046119d5565b610d46565b3480156104a4575f80fd5b506102a46104b33660046119d5565b60036020525f908152604090205481565b3480156104cf575f80fd5b506104eb737a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610241565b34801561050e575f80fd5b506102e6610e11565b348015610522575f80fd5b506102a46105313660046119d5565b600e6020525f908152604090205481565b34801561054d575f80fd5b506102a461055c3660046119d5565b60056020525f908152604090205481565b348015610578575f80fd5b506102e6610587366004611a69565b610e42565b348015610597575f80fd5b506102a4600f5481565b3480156105ac575f80fd5b506006546104eb906001600160a01b031681565b3480156105cb575f80fd5b506102a4600b5481565b3480156105e0575f80fd5b50610234610ed1565b3480156105f4575f80fd5b506102e66106033660046119f0565b610ede565b348015610613575f80fd5b506104eb7f000000000000000000000000000000000000000000000000000000000000000081565b348015610646575f80fd5b506102696106553660046119ab565b610f32565b348015610665575f80fd5b506102e6610674366004611a80565b611150565b348015610684575f80fd5b506102a4610693366004611af1565b600460209081525f928352604080842090915290825290205481565b3480156106ba575f80fd5b506106c361138e565b604051610241929190611b60565b3480156106dc575f80fd5b506102e66106eb366004611a69565b6114eb565b3480156106fb575f80fd5b506102e661070a3660046119d5565b61151a565b5f805461071b90611bb5565b80601f016020809104026020016040519081016040528092919081815260200182805461074790611bb5565b80156107925780601f1061076957610100808354040283529160200191610792565b820191905f5260205f20905b81548152906001019060200180831161077557829003601f168201915b505050505081565b335f8181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906107f49086815260200190565b60405180910390a35060015b92915050565b6006546001600160a01b031633146108395760405162461bcd60e51b815260040161083090611bed565b60405180910390fd5b6001600160a01b03919091165f908152600c60205260409020805460ff1916911515919091179055565b6001600160a01b0383165f9081526004602090815260408083203384529091528120545f1981146108bc576108988382611c27565b6001600160a01b0386165f9081526004602090815260408083203384529091529020555b6001600160a01b0385165f90815260036020526040812080548592906108e3908490611c27565b90915550506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811690851603610a0d5760125460ff168061094357506001600160a01b0385165f908152600d602052604090205460ff165b6109855760405162461bcd60e51b81526020600482015260136024820152721d1c98591a5b99cb5b9bdd0b595b98589b1959606a1b6044820152606401610830565b6001600160a01b0385165f908152600c602052604090205460ff16610a0d575f6064601154856109b59190611c3a565b6109bf9190611c51565b90506109cb8185611c27565b305f908152600360205260408120805492965083929091906109ee908490611c70565b9091555050305f90815260036020526040902054610a0b9061158f565b505b6001600160a01b038085165f81815260036020526040908190208054870190555190918716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610a629087815260200190565b60405180910390a3506001949350505050565b6006546001600160a01b03163314610a9f5760405162461bcd60e51b815260040161083090611bed565b6012805460ff19166001179055565b5f7f00000000000000000000000000000000000000000000000000000000000000004614610ae357610ade6116fb565b905090565b507f000000000000000000000000000000000000000000000000000000000000000090565b475f819003610b145750565b5f80610b1e61138e565b915091505f5b8251811015610bb257828181518110610b3f57610b3f611c83565b60200260200101516001600160a01b03166108fc6064848481518110610b6757610b67611c83565b602002602001015187610b7a9190611c3a565b610b849190611c51565b6040518115909202915f818181858888f19350505050158015610ba9573d5f803e3d5ffd5b50600101610b24565b50505050565b6006546001600160a01b03163314610be25760405162461bcd60e51b815260040161083090611bed565b601155565b6006546001600160a01b03163314610c115760405162461bcd60e51b815260040161083090611bed565b610c1c600783611793565b15610c625760405162461bcd60e51b81526020600482015260166024820152751c9958d95a5d995c8b585b1c9958591e4b585919195960521b6044820152606401610830565b5f8111610cb15760405162461bcd60e51b815260206004820181905260248201527f7368617265732d6d7573742d62652d677265617465722d7468616e2d7a65726f6044820152606401610830565b606481600a54610cc19190611c70565b1115610d055760405162461bcd60e51b81526020600482015260136024820152721b585e0b5cda185c995ccb595e18d959591959606a1b6044820152606401610830565b610d106007836117b7565b506001600160a01b0382165f908152600960205260408120829055600a8054839290610d3d908490611c70565b90915550505050565b6006546001600160a01b03163314610d705760405162461bcd60e51b815260040161083090611bed565b610d7b600782611793565b610dbc5760405162461bcd60e51b81526020600482015260126024820152711c9958d95a5d995c8b5b9bdd0b585919195960721b6044820152606401610830565b610dc76007826117cb565b506001600160a01b0381165f90815260096020526040812054600a805491929091610df3908490611c27565b90915550506001600160a01b03165f90815260096020526040812055565b6006546001600160a01b03163314610e3b5760405162461bcd60e51b815260040161083090611bed565b5f19600f55565b6006546001600160a01b03163314610e6c5760405162461bcd60e51b815260040161083090611bed565b5f8111610ecc5760405162461bcd60e51b815260206004820152602860248201527f6d61782d6275792d616d6f756e742d6d7573742d62652d677265617465722d7460448201526768616e2d7a65726f60c01b6064820152608401610830565b600f55565b6001805461071b90611bb5565b6006546001600160a01b03163314610f085760405162461bcd60e51b815260040161083090611bed565b6001600160a01b03919091165f908152600d60205260409020805460ff1916911515919091179055565b335f90815260036020526040812080548391908390610f52908490611c27565b90915550506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036110ff5760125460ff1680610faf57506001600160a01b0383165f908152600d602052604090205460ff165b610ff15760405162461bcd60e51b81526020600482015260136024820152721d1c98591a5b99cb5b9bdd0b595b98589b1959606a1b6044820152606401610830565b6001600160a01b0383165f908152600c602052604090205460ff166110ff575f6064601054846110219190611c3a565b61102b9190611c51565b90506110378184611c27565b6001600160a01b0385165f908152600e6020526040812080549295508592909190611063908490611c70565b9091555050600f546001600160a01b0385165f908152600e602052604090205411156110d15760405162461bcd60e51b815260206004820152601760248201527f6d61782d6275792d616d6f756e742d65786365656465640000000000000000006044820152606401610830565b305f90815260036020526040812080548392906110ef908490611c70565b909155506110fd9050610b08565b505b6001600160a01b0383165f81815260036020526040908190208054850190555133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906107f49086815260200190565b428410156111a05760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f455850495245440000000000000000006044820152606401610830565b5f60016111ab610aae565b6001600160a01b038a81165f8181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f1981840301815282825280516020918201205f84529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa1580156112b3573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116158015906112e95750876001600160a01b0316816001600160a01b0316145b6113265760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b6044820152606401610830565b6001600160a01b039081165f9081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b6060805f61139c60076117df565b67ffffffffffffffff8111156113b4576113b4611c97565b6040519080825280602002602001820160405280156113dd578160200160208202803683370190505b5090505f6113eb60076117df565b67ffffffffffffffff81111561140357611403611c97565b60405190808252806020026020018201604052801561142c578160200160208202803683370190505b5090505f5b61143b60076117df565b8110156114e15761144d6007826117e8565b83828151811061145f5761145f611c83565b60200260200101906001600160a01b031690816001600160a01b03168152505060095f84838151811061149457611494611c83565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f20548282815181106114ce576114ce611c83565b6020908102919091010152600101611431565b5090939092509050565b6006546001600160a01b031633146115155760405162461bcd60e51b815260040161083090611bed565b601055565b6006546001600160a01b031633146115445760405162461bcd60e51b815260040161083090611bed565b600680546001600160a01b0319166001600160a01b03831690811790915560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a350565b805f036115995750565b6040805160028082526060820183525f9260208301908036833701905050905030815f815181106115cc576115cc611c83565b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561163c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116609190611cab565b8160018151811061167357611673611c83565b6001600160a01b039092166020928302919091019091015260405163791ac94760e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac947906116ca9085905f90869030904290600401611cc6565b5f604051808303815f87803b1580156116e1575f80fd5b505af11580156116f3573d5f803e3d5ffd5b505050505050565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f5f60405161172b9190611d01565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b6001600160a01b0381165f90815260018301602052604081205415155b9392505050565b5f6117b0836001600160a01b0384166117f3565b5f6117b0836001600160a01b03841661183f565b5f610800825490565b5f6117b08383611922565b5f81815260018301602052604081205461183857508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610800565b505f610800565b5f8181526001830160205260408120548015611919575f611861600183611c27565b85549091505f9061187490600190611c27565b90508082146118d3575f865f01828154811061189257611892611c83565b905f5260205f200154905080875f0184815481106118b2576118b2611c83565b5f918252602080832090910192909255918252600188019052604090208390555b85548690806118e4576118e4611d9f565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050610800565b5f915050610800565b5f825f01828154811061193757611937611c83565b905f5260205f200154905092915050565b5f602080835283518060208501525f5b8181101561197457858101830151858201604001528201611958565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146119a8575f80fd5b50565b5f80604083850312156119bc575f80fd5b82356119c781611994565b946020939093013593505050565b5f602082840312156119e5575f80fd5b81356117b081611994565b5f8060408385031215611a01575f80fd5b8235611a0c81611994565b915060208301358015158114611a20575f80fd5b809150509250929050565b5f805f60608486031215611a3d575f80fd5b8335611a4881611994565b92506020840135611a5881611994565b929592945050506040919091013590565b5f60208284031215611a79575f80fd5b5035919050565b5f805f805f805f60e0888a031215611a96575f80fd5b8735611aa181611994565b96506020880135611ab181611994565b95506040880135945060608801359350608088013560ff81168114611ad4575f80fd5b9699959850939692959460a0840135945060c09093013592915050565b5f8060408385031215611b02575f80fd5b8235611b0d81611994565b91506020830135611a2081611994565b5f815180845260208085019450602084015f5b83811015611b555781516001600160a01b031687529582019590820190600101611b30565b509495945050505050565b604081525f611b726040830185611b1d565b8281036020848101919091528451808352858201928201905f5b81811015611ba857845183529383019391830191600101611b8c565b5090979650505050505050565b600181811c90821680611bc957607f821691505b602082108103611be757634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252600c908201526b15539055551213d49256915160a21b604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561080057610800611c13565b808202811582820484141761080057610800611c13565b5f82611c6b57634e487b7160e01b5f52601260045260245ffd5b500490565b8082018082111561080057610800611c13565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215611cbb575f80fd5b81516117b081611994565b85815284602082015260a060408201525f611ce460a0830186611b1d565b6001600160a01b0394909416606083015250608001529392505050565b5f8083545f60018260011c91506001831680611d1e57607f831692505b60208084108203611d3d57634e487b7160e01b5f52602260045260245ffd5b818015611d515760018114611d6657611d91565b60ff1986168952841515850289019650611d91565b5f8a8152602090205f5b86811015611d895781548b820152908501908301611d70565b505084890196505b509498975050505050505050565b634e487b7160e01b5f52603160045260245ffdfea264697066735822122017dc04cdddddbcd60c52f4e30b6471b19086e6d92eb9141fe7b97f1d419d2b3b64736f6c63430008170033
Deployed Bytecode
0x608060405260043610610215575f3560e01c80636552d8b41161011e578063902d55a5116100a8578063d505accf1161006d578063d505accf1461065a578063dd62ed3e14610679578063e061646b146106af578063e0655fe5146106d1578063f2fde38b146106f0575f80fd5b8063902d55a5146105c057806395d89b41146105d55780639cb11107146105e9578063a8aa1b3114610608578063a9059cbb1461063b575f80fd5b8063764a730a116100ee578063764a730a146105175780637ecebe001461054257806386605d1e1461056d57806388e765ff1461058c5780638da5cb5b146105a1575f80fd5b80636552d8b41461047a57806370a0823114610499578063735de9f7146104c4578063751039fc14610503575f80fd5b80633644e5151161019f578063470624021161016f57806347062402146103e05780634ada218b146103f55780635342acb41461040e5780636466cfa11461043c578063650f7eb41461045b575f80fd5b80633644e515146103755780633a98ef39146103895780633af32abf1461039e578063429e3846146103cc575f80fd5b80631b974c36116101e55780631b974c36146102c757806323b872dd146102e8578063293230b8146103075780632b14ca561461031b578063313ce56714610330575f80fd5b806306fdde0314610220578063095ea7b31461024a57806310b21dcb1461027957806318160ddd146102b2575f80fd5b3661021c57005b5f80fd5b34801561022b575f80fd5b5061023461070f565b6040516102419190611948565b60405180910390f35b348015610255575f80fd5b506102696102643660046119ab565b61079a565b6040519015158152602001610241565b348015610284575f80fd5b506102a46102933660046119d5565b60096020525f908152604090205481565b604051908152602001610241565b3480156102bd575f80fd5b506102a460025481565b3480156102d2575f80fd5b506102e66102e13660046119f0565b610806565b005b3480156102f3575f80fd5b50610269610302366004611a2b565b610863565b348015610312575f80fd5b506102e6610a75565b348015610326575f80fd5b506102a460115481565b34801561033b575f80fd5b506103637f000000000000000000000000000000000000000000000000000000000000001281565b60405160ff9091168152602001610241565b348015610380575f80fd5b506102a4610aae565b348015610394575f80fd5b506102a4600a5481565b3480156103a9575f80fd5b506102696103b83660046119d5565b600d6020525f908152604090205460ff1681565b3480156103d7575f80fd5b506102e6610b08565b3480156103eb575f80fd5b506102a460105481565b348015610400575f80fd5b506012546102699060ff1681565b348015610419575f80fd5b506102696104283660046119d5565b600c6020525f908152604090205460ff1681565b348015610447575f80fd5b506102e6610456366004611a69565b610bb8565b348015610466575f80fd5b506102e66104753660046119ab565b610be7565b348015610485575f80fd5b506102e66104943660046119d5565b610d46565b3480156104a4575f80fd5b506102a46104b33660046119d5565b60036020525f908152604090205481565b3480156104cf575f80fd5b506104eb737a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610241565b34801561050e575f80fd5b506102e6610e11565b348015610522575f80fd5b506102a46105313660046119d5565b600e6020525f908152604090205481565b34801561054d575f80fd5b506102a461055c3660046119d5565b60056020525f908152604090205481565b348015610578575f80fd5b506102e6610587366004611a69565b610e42565b348015610597575f80fd5b506102a4600f5481565b3480156105ac575f80fd5b506006546104eb906001600160a01b031681565b3480156105cb575f80fd5b506102a4600b5481565b3480156105e0575f80fd5b50610234610ed1565b3480156105f4575f80fd5b506102e66106033660046119f0565b610ede565b348015610613575f80fd5b506104eb7f00000000000000000000000072a3260ece7b79c42cc43fcdfeb664a855a2996981565b348015610646575f80fd5b506102696106553660046119ab565b610f32565b348015610665575f80fd5b506102e6610674366004611a80565b611150565b348015610684575f80fd5b506102a4610693366004611af1565b600460209081525f928352604080842090915290825290205481565b3480156106ba575f80fd5b506106c361138e565b604051610241929190611b60565b3480156106dc575f80fd5b506102e66106eb366004611a69565b6114eb565b3480156106fb575f80fd5b506102e661070a3660046119d5565b61151a565b5f805461071b90611bb5565b80601f016020809104026020016040519081016040528092919081815260200182805461074790611bb5565b80156107925780601f1061076957610100808354040283529160200191610792565b820191905f5260205f20905b81548152906001019060200180831161077557829003601f168201915b505050505081565b335f8181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906107f49086815260200190565b60405180910390a35060015b92915050565b6006546001600160a01b031633146108395760405162461bcd60e51b815260040161083090611bed565b60405180910390fd5b6001600160a01b03919091165f908152600c60205260409020805460ff1916911515919091179055565b6001600160a01b0383165f9081526004602090815260408083203384529091528120545f1981146108bc576108988382611c27565b6001600160a01b0386165f9081526004602090815260408083203384529091529020555b6001600160a01b0385165f90815260036020526040812080548592906108e3908490611c27565b90915550506001600160a01b037f00000000000000000000000072a3260ece7b79c42cc43fcdfeb664a855a29969811690851603610a0d5760125460ff168061094357506001600160a01b0385165f908152600d602052604090205460ff165b6109855760405162461bcd60e51b81526020600482015260136024820152721d1c98591a5b99cb5b9bdd0b595b98589b1959606a1b6044820152606401610830565b6001600160a01b0385165f908152600c602052604090205460ff16610a0d575f6064601154856109b59190611c3a565b6109bf9190611c51565b90506109cb8185611c27565b305f908152600360205260408120805492965083929091906109ee908490611c70565b9091555050305f90815260036020526040902054610a0b9061158f565b505b6001600160a01b038085165f81815260036020526040908190208054870190555190918716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610a629087815260200190565b60405180910390a3506001949350505050565b6006546001600160a01b03163314610a9f5760405162461bcd60e51b815260040161083090611bed565b6012805460ff19166001179055565b5f7f00000000000000000000000000000000000000000000000000000000000000014614610ae357610ade6116fb565b905090565b507f09781236ed7e842ff638d9f620cfbafb0cb3a1ee02039a5e5c728a08135a1be090565b475f819003610b145750565b5f80610b1e61138e565b915091505f5b8251811015610bb257828181518110610b3f57610b3f611c83565b60200260200101516001600160a01b03166108fc6064848481518110610b6757610b67611c83565b602002602001015187610b7a9190611c3a565b610b849190611c51565b6040518115909202915f818181858888f19350505050158015610ba9573d5f803e3d5ffd5b50600101610b24565b50505050565b6006546001600160a01b03163314610be25760405162461bcd60e51b815260040161083090611bed565b601155565b6006546001600160a01b03163314610c115760405162461bcd60e51b815260040161083090611bed565b610c1c600783611793565b15610c625760405162461bcd60e51b81526020600482015260166024820152751c9958d95a5d995c8b585b1c9958591e4b585919195960521b6044820152606401610830565b5f8111610cb15760405162461bcd60e51b815260206004820181905260248201527f7368617265732d6d7573742d62652d677265617465722d7468616e2d7a65726f6044820152606401610830565b606481600a54610cc19190611c70565b1115610d055760405162461bcd60e51b81526020600482015260136024820152721b585e0b5cda185c995ccb595e18d959591959606a1b6044820152606401610830565b610d106007836117b7565b506001600160a01b0382165f908152600960205260408120829055600a8054839290610d3d908490611c70565b90915550505050565b6006546001600160a01b03163314610d705760405162461bcd60e51b815260040161083090611bed565b610d7b600782611793565b610dbc5760405162461bcd60e51b81526020600482015260126024820152711c9958d95a5d995c8b5b9bdd0b585919195960721b6044820152606401610830565b610dc76007826117cb565b506001600160a01b0381165f90815260096020526040812054600a805491929091610df3908490611c27565b90915550506001600160a01b03165f90815260096020526040812055565b6006546001600160a01b03163314610e3b5760405162461bcd60e51b815260040161083090611bed565b5f19600f55565b6006546001600160a01b03163314610e6c5760405162461bcd60e51b815260040161083090611bed565b5f8111610ecc5760405162461bcd60e51b815260206004820152602860248201527f6d61782d6275792d616d6f756e742d6d7573742d62652d677265617465722d7460448201526768616e2d7a65726f60c01b6064820152608401610830565b600f55565b6001805461071b90611bb5565b6006546001600160a01b03163314610f085760405162461bcd60e51b815260040161083090611bed565b6001600160a01b03919091165f908152600d60205260409020805460ff1916911515919091179055565b335f90815260036020526040812080548391908390610f52908490611c27565b90915550506001600160a01b037f00000000000000000000000072a3260ece7b79c42cc43fcdfeb664a855a299691633036110ff5760125460ff1680610faf57506001600160a01b0383165f908152600d602052604090205460ff165b610ff15760405162461bcd60e51b81526020600482015260136024820152721d1c98591a5b99cb5b9bdd0b595b98589b1959606a1b6044820152606401610830565b6001600160a01b0383165f908152600c602052604090205460ff166110ff575f6064601054846110219190611c3a565b61102b9190611c51565b90506110378184611c27565b6001600160a01b0385165f908152600e6020526040812080549295508592909190611063908490611c70565b9091555050600f546001600160a01b0385165f908152600e602052604090205411156110d15760405162461bcd60e51b815260206004820152601760248201527f6d61782d6275792d616d6f756e742d65786365656465640000000000000000006044820152606401610830565b305f90815260036020526040812080548392906110ef908490611c70565b909155506110fd9050610b08565b505b6001600160a01b0383165f81815260036020526040908190208054850190555133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906107f49086815260200190565b428410156111a05760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f455850495245440000000000000000006044820152606401610830565b5f60016111ab610aae565b6001600160a01b038a81165f8181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f1981840301815282825280516020918201205f84529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa1580156112b3573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116158015906112e95750876001600160a01b0316816001600160a01b0316145b6113265760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b6044820152606401610830565b6001600160a01b039081165f9081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b6060805f61139c60076117df565b67ffffffffffffffff8111156113b4576113b4611c97565b6040519080825280602002602001820160405280156113dd578160200160208202803683370190505b5090505f6113eb60076117df565b67ffffffffffffffff81111561140357611403611c97565b60405190808252806020026020018201604052801561142c578160200160208202803683370190505b5090505f5b61143b60076117df565b8110156114e15761144d6007826117e8565b83828151811061145f5761145f611c83565b60200260200101906001600160a01b031690816001600160a01b03168152505060095f84838151811061149457611494611c83565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f20548282815181106114ce576114ce611c83565b6020908102919091010152600101611431565b5090939092509050565b6006546001600160a01b031633146115155760405162461bcd60e51b815260040161083090611bed565b601055565b6006546001600160a01b031633146115445760405162461bcd60e51b815260040161083090611bed565b600680546001600160a01b0319166001600160a01b03831690811790915560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a350565b805f036115995750565b6040805160028082526060820183525f9260208301908036833701905050905030815f815181106115cc576115cc611c83565b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561163c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116609190611cab565b8160018151811061167357611673611c83565b6001600160a01b039092166020928302919091019091015260405163791ac94760e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac947906116ca9085905f90869030904290600401611cc6565b5f604051808303815f87803b1580156116e1575f80fd5b505af11580156116f3573d5f803e3d5ffd5b505050505050565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f5f60405161172b9190611d01565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b6001600160a01b0381165f90815260018301602052604081205415155b9392505050565b5f6117b0836001600160a01b0384166117f3565b5f6117b0836001600160a01b03841661183f565b5f610800825490565b5f6117b08383611922565b5f81815260018301602052604081205461183857508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610800565b505f610800565b5f8181526001830160205260408120548015611919575f611861600183611c27565b85549091505f9061187490600190611c27565b90508082146118d3575f865f01828154811061189257611892611c83565b905f5260205f200154905080875f0184815481106118b2576118b2611c83565b5f918252602080832090910192909255918252600188019052604090208390555b85548690806118e4576118e4611d9f565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050610800565b5f915050610800565b5f825f01828154811061193757611937611c83565b905f5260205f200154905092915050565b5f602080835283518060208501525f5b8181101561197457858101830151858201604001528201611958565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146119a8575f80fd5b50565b5f80604083850312156119bc575f80fd5b82356119c781611994565b946020939093013593505050565b5f602082840312156119e5575f80fd5b81356117b081611994565b5f8060408385031215611a01575f80fd5b8235611a0c81611994565b915060208301358015158114611a20575f80fd5b809150509250929050565b5f805f60608486031215611a3d575f80fd5b8335611a4881611994565b92506020840135611a5881611994565b929592945050506040919091013590565b5f60208284031215611a79575f80fd5b5035919050565b5f805f805f805f60e0888a031215611a96575f80fd5b8735611aa181611994565b96506020880135611ab181611994565b95506040880135945060608801359350608088013560ff81168114611ad4575f80fd5b9699959850939692959460a0840135945060c09093013592915050565b5f8060408385031215611b02575f80fd5b8235611b0d81611994565b91506020830135611a2081611994565b5f815180845260208085019450602084015f5b83811015611b555781516001600160a01b031687529582019590820190600101611b30565b509495945050505050565b604081525f611b726040830185611b1d565b8281036020848101919091528451808352858201928201905f5b81811015611ba857845183529383019391830191600101611b8c565b5090979650505050505050565b600181811c90821680611bc957607f821691505b602082108103611be757634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252600c908201526b15539055551213d49256915160a21b604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561080057610800611c13565b808202811582820484141761080057610800611c13565b5f82611c6b57634e487b7160e01b5f52601260045260245ffd5b500490565b8082018082111561080057610800611c13565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215611cbb575f80fd5b81516117b081611994565b85815284602082015260a060408201525f611ce460a0830186611b1d565b6001600160a01b0394909416606083015250608001529392505050565b5f8083545f60018260011c91506001831680611d1e57607f831692505b60208084108203611d3d57634e487b7160e01b5f52602260045260245ffd5b818015611d515760018114611d6657611d91565b60ff1986168952841515850289019650611d91565b5f8a8152602090205f5b86811015611d895781548b820152908501908301611d70565b505084890196505b509498975050505050505050565b634e487b7160e01b5f52603160045260245ffdfea264697066735822122017dc04cdddddbcd60c52f4e30b6471b19086e6d92eb9141fe7b97f1d419d2b3b64736f6c63430008170033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.