Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
420,690,000,000,000 CORN
Holders
39
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
122,429,948,966.907531235 CORNValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
PEPECORN
Compiler Version
v0.8.24+commit.e11b9ed9
Optimization Enabled:
Yes with 1336 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.24; // Local Imports import "./ICORN.sol"; // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%%%%%%%@@@@@@@@@@@@@%%#*+=====++*#%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%#+=::::::::::-=+#%%%@@%%+:-===========---*%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#=:------------------:::+:-==================-+%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%+:--============--------:-=====================-=%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%=-=================-----:========================-=%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%%=-===================---:=====-----------==========-=%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#=-------------------====--:----------------------=====-=#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%+-=======================---:-====================-======-+%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%=--======================---==============================-:=#%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%*----------::::-------====--================================-:-:-*%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%+--:-----:::----====--:----:-------===========================---:=%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%+=##############****=----:-========-------======================---+%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%++%%%%++*-::-*%%%%%###*=-==--=+******#####***+-==================---*%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%*=*%%+::-:...:=%@@@@@@%==+*##*+-----=#%%%%%%%%#*----==============--=#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%+--=*=:::::....=%@@@@@%*#%%%=-+:......:+@@@@%%+-==================--:+%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%+--=-::::::::::+****+=-#%@=:.:...:....:#%#*+-=====================---*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%+::--------==========-+#:.:*:..-...:::-=========================--:+%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%=::------=---::----======--::::::--=============================----#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%+-++++++++++++++=--:--=-::--======--:::-=========================--:+%@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%+=--===========++++++==--=+++++++++++++=-======================--:+%@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#+=---===========--=+++==+=------+++++:=====================--:=%@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%@%=-==============--=--=++++++++++--=====================--:+%@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#=-===================---------======================----#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#=--=============================================-----*%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#=:--:-=======================================-----:::-+%@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#---==---:--::-========================--------:::--------=#@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#=--========--:--------::::::::::::::::::::----------=====---=#@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%+--=============---:----------------------------::-=========---+%@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%=-====================---=----------======------==============---#@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#--=============================================================---*@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#=-======-======================================================----*@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%*=-==----==-=========================================-===========---+%@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%+--=---=#+=*%========================================--===========--:+@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%+-==---++*%%%%%#=-===================================---===========--:+%@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#=-===--++*%%%%%%%#--=-==============================----===========---:+%@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%*--===---+*#%%%%%%%%%*==========$CORN=================---============---:+%@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%+-======--+*#%%%%%%%%+#*-=============================----===========----:+@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%+-=======--=*#%%###%%%##%*===========================-----============-----*@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%+--=======---+*#%#*#%%%%#%%*==========================----============------#@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@%+-========----+*##%*#%%%%%%%%+-=======================---==============-----=#@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@%+-==========----+==*%%%%%%%%%##+=====================-----=============------=#@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@#--=========----:=**#%%%%###=*#%#-=:================--:-===============-------=#@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@%+-=========----:==+*#**##*++==###=++==============--:-================---------#@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@*--========-----*%==**#%%*++*+++=--:#*=============-:-===============-----------*@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@%+-----==------*%%%=+*#*==-::+*+---=*#==-=-=====----=----=========-------------:+%@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@%%+:-----------*%@@%+=****=--:**+%#*#%#+*-===-----======-----====----------------+%@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@%#=-=====-----:+%@@@%#=++*#%%%%%*#%%%#*++=-==-:---========-------------------------*@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@%*-=========--=#%@%%#=:-==#++++======+*=++-===-==--=======-:-----------------------:+%@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@%*-==========:-##+-::--==-+*=++=====++*=+#*#-==--:=:-====::--------------------------=#@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@#=-=========-:-----==--=---+*##*****##%%%**%+-=+*+---:--------------------------------#@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@#=-===--====---===========-=***#%%%%%%%#+##==+***+=---------------------------------::*@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@%#=-====----==---------:::::-===+++++==++=--=++**+-------------------------------==++-*@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@%*--===-=++++++++++++++++++++++++++++++++++=========-----------=========+++++++++++=#@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@%#+====-=+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++==#@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%+-=++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++=++=+%@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%+-=+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++===+++-+%@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%=-++++++++++++++++++++++++++++++++++++++++++++++++++++++----=++++++==*@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#=-+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-+%@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#=-=+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-+%@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%==++++++++++++++++++++++++++++++++++++++++++++++++++++++++++==#@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%==++++++++++++++++++++++++++++++++++++++++++++++++++++++++++=*%@@@@@@@@@@@@@@@@@@@@@@@@@@@ // // $CORN. The most memeable memecoin’s 🌽 in existence. // Telegram: https://t.me/pepecorneth // Website: https://www.pepecorneth.com // X: https://x.com/pepecorneth contract PEPECORN is ICORN, Context, Ownable { using SafeMath for uint256; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => bool) private _isExcludedFromFee; mapping(address => bool) private bots; uint256 firstBlock; uint256 private _tax = 5; // Initial tax - Reduced to 0/0 uint8 private constant _decimals = 9; uint256 private constant _tTotal = 420690000000000 * 10 ** _decimals; string private constant _name = unicode"PepeCorn"; string private constant _symbol = unicode"CORN"; uint256 public _maxTxAmount = 7572420000000 * 10 ** _decimals; uint256 public _maxWalletSize = 7572420000000 * 10 ** _decimals; IUniswapV2Router02 private uniswapV2Router; address private uniswapV2Pair; bool private tradingOpen; bool private inSwap = false; bool private swapEnabled = false; modifier lockTheSwap() { inSwap = true; _; inSwap = false; } constructor() Ownable(_msgSender()) { _balances[owner()] = _tTotal; _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; emit Transfer(address(0), owner(), _balances[owner()]); } function name() public pure returns (string memory) { return _name; } function symbol() public pure returns (string memory) { return _symbol; } function decimals() public pure returns (uint8) { return _decimals; } function totalSupply() public pure override returns (uint256) { return _tTotal; } function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } function transfer( address recipient, uint256 amount ) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance( address owner, address spender ) public view override returns (uint256) { return _allowances[owner][spender]; } function approve( address spender, uint256 amount ) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) public override returns (bool) { _transfer(sender, recipient, amount); _approve( sender, _msgSender(), _allowances[sender][_msgSender()].sub( amount, "ERC20: transfer amount exceeds allowance" ) ); return true; } function _approve(address owner, address spender, uint256 amount) private { 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); } function _transfer(address from, address to, uint256 amount) private { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); uint256 taxAmount = 0; if (from != owner() && to != owner()) { require(!bots[from] && !bots[to]); taxAmount = amount.mul(_tax).div(100); if ( from == uniswapV2Pair && to != address(uniswapV2Router) && !_isExcludedFromFee[to] ) { require( amount <= _maxTxAmount, "$CORN amount exceeds the maxTxAmount." ); require( balanceOf(to) + amount <= _maxWalletSize, "$CORN amount exceeds the maxWalletSize." ); if (firstBlock + 3 > block.number) { require(!isContract(to)); } } if (to != uniswapV2Pair && !_isExcludedFromFee[to]) require( balanceOf(to) + amount <= _maxWalletSize, "$CORN amount exceeds the maxWalletSize." ); if (to == uniswapV2Pair && from != address(this)) taxAmount = amount.mul(_tax).div(100); } if (taxAmount > 0) { _balances[owner()] = _balances[owner()].add(taxAmount); emit Transfer(from, owner(), taxAmount); } _balances[from] = _balances[from].sub(amount); _balances[to] = _balances[to].add(amount.sub(taxAmount)); emit Transfer(from, to, amount.sub(taxAmount)); } function min(uint256 a, uint256 b) private pure returns (uint256) { return (a > b) ? b : a; } function isContract(address account) private view returns (bool) { uint256 size; assembly { size := extcodesize(account) } return size > 0; } function removeLimits() external onlyOwner { // Unlock limits _maxTxAmount = _tTotal; _maxWalletSize = _tTotal; emit CornMaxTxAmountUpdated(_tTotal); // Reduce Tax _tax = 0; // 0/0 tax emit CornTaxReducedToZero(); } function conify() external onlyOwner { require(!tradingOpen, "$CORN trading is already open"); uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); _approve(address(this), address(uniswapV2Router), _tTotal); uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair( address(this), uniswapV2Router.WETH() ); uniswapV2Router.addLiquidityETH{value: address(this).balance}( address(this), balanceOf(address(this)), 0, 0, owner(), block.timestamp ); IERC20(uniswapV2Pair).approve(address(uniswapV2Router), type(uint).max); swapEnabled = true; tradingOpen = true; firstBlock = block.number; } receive() external payable {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets a `value` amount of tokens 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 * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.24; import "./math/SafeMath.sol"; import "./uniswap/IUniswapV2Factory.sol"; import "./uniswap/IUniswapV2Router02.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; interface ICORN is IERC20 { event CornMaxTxAmountUpdated(uint value); event CornTaxReducedToZero(); }
// SPDX-License-Identifier: MIT pragma solidity 0.8.24; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; return c; } function min(uint256 a, uint256 b) private pure returns (uint256) { return (a > b) ? b : a; } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.24; interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint ); 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 feeTo() external view returns (address); function feeToSetter() external view returns (address); function createPair( address tokenA, address tokenB ) external returns (address pair); }
// SPDX-License-Identifier: MIT 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); } 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; }
{ "optimizer": { "enabled": true, "runs": 1336 }, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"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":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"CornMaxTxAmountUpdated","type":"event"},{"anonymous":false,"inputs":[],"name":"CornTaxReducedToZero","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":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxWalletSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"conify","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","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"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526005600655620000176009600a62000358565b62000029906506e31767790062000370565b6007556200003a6009600a62000358565b6200004c906506e31767790062000370565b600855600a805461ffff60a81b191690553480156200006a57600080fd5b5033806200009257604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6200009d81620001e4565b50620000ac6009600a62000358565b620000bf9066017e9d8602b40062000370565b60016000620000d66000546001600160a01b031690565b6001600160a01b03166001600160a01b0316815260200190815260200160002081905550600160036000620001106200023460201b60201c565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff199586161790553081526003909252902080549091166001179055620001636000546001600160a01b031690565b6001600160a01b031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600182620001a56000546001600160a01b031690565b6001600160a01b03166001600160a01b0316815260200190815260200160002054604051620001d691815260200190565b60405180910390a36200038a565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b031690565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200029a5781600019048211156200027e576200027e62000243565b808516156200028c57918102915b93841c93908002906200025e565b509250929050565b600082620002b35750600162000352565b81620002c25750600062000352565b8160018114620002db5760028114620002e65762000306565b600191505062000352565b60ff841115620002fa57620002fa62000243565b50506001821b62000352565b5060208310610133831016604e8410600b84101617156200032b575081810a62000352565b62000337838362000259565b80600019048211156200034e576200034e62000243565b0290505b92915050565b60006200036960ff841683620002a2565b9392505050565b808202811582820484141762000352576200035262000243565b61171b806200039a6000396000f3fe6080604052600436106100f75760003560e01c80637d1db4a51161008a578063a9059cbb11610059578063a9059cbb146102e6578063dd62ed3e14610306578063f2fde38b1461034c578063fb6e3d4d1461036c57600080fd5b80637d1db4a51461024c5780638da5cb5b146102625780638f9a55c01461028a57806395d89b41146102a057600080fd5b8063313ce567116100c6578063313ce567146101ce57806370a08231146101ea578063715018a614610220578063751039fc1461023757600080fd5b806306fdde0314610103578063095ea7b31461015b57806318160ddd1461018b57806323b872dd146101ae57600080fd5b366100fe57005b600080fd5b34801561010f57600080fd5b5060408051808201909152600881527f50657065436f726e00000000000000000000000000000000000000000000000060208201525b60405161015291906113c1565b60405180910390f35b34801561016757600080fd5b5061017b610176366004611425565b610381565b6040519015158152602001610152565b34801561019757600080fd5b506101a0610398565b604051908152602001610152565b3480156101ba57600080fd5b5061017b6101c9366004611451565b6103bc565b3480156101da57600080fd5b5060405160098152602001610152565b3480156101f657600080fd5b506101a0610205366004611492565b6001600160a01b031660009081526001602052604090205490565b34801561022c57600080fd5b50610235610425565b005b34801561024357600080fd5b50610235610439565b34801561025857600080fd5b506101a060075481565b34801561026e57600080fd5b506000546040516001600160a01b039091168152602001610152565b34801561029657600080fd5b506101a060085481565b3480156102ac57600080fd5b5060408051808201909152600481527f434f524e000000000000000000000000000000000000000000000000000000006020820152610145565b3480156102f257600080fd5b5061017b610301366004611425565b610500565b34801561031257600080fd5b506101a06103213660046114af565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b34801561035857600080fd5b50610235610367366004611492565b61050d565b34801561037857600080fd5b50610235610569565b600061038e3384846109a7565b5060015b92915050565b60006103a66009600a6115e2565b6103b79066017e9d8602b4006115f1565b905090565b60006103c9848484610aff565b61041b8433610416856040518060600160405280602881526020016116be602891396001600160a01b038a166000908152600260209081526040808320338452909152902054919061112e565b6109a7565b5060019392505050565b61042d611168565b61043760006111ae565b565b610441611168565b61044d6009600a6115e2565b61045e9066017e9d8602b4006115f1565b60075561046d6009600a6115e2565b61047e9066017e9d8602b4006115f1565b6008557ffead3f5d72caf22e5188803b9fe44ac57abce33217f6c1666a28786e810fc5066104ae6009600a6115e2565b6104bf9066017e9d8602b4006115f1565b60405190815260200160405180910390a1600060068190556040517fb392208c051a8e1294516a92ad5fc8c75177efbbfcf88540b7f6884bf08923429190a1565b600061038e338484610aff565b610515611168565b6001600160a01b03811661055d576040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600060048201526024015b60405180910390fd5b610566816111ae565b50565b610571611168565b600a5474010000000000000000000000000000000000000000900460ff16156105dc5760405162461bcd60e51b815260206004820152601d60248201527f24434f524e2074726164696e6720697320616c7265616479206f70656e0000006044820152606401610554565b6009805473ffffffffffffffffffffffffffffffffffffffff1916737a250d5630b4cf539739df2c5dacb4c659f2488d90811782556106349130919061062390600a6115e2565b6104169066017e9d8602b4006115f1565b600960009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610687573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ab9190611608565b6001600160a01b031663c9c6539630600960009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561070d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107319190611608565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610796573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ba9190611608565b600a80546001600160a01b0392831673ffffffffffffffffffffffffffffffffffffffff199091161790556009541663f305d719473061080f816001600160a01b031660009081526001602052604090205490565b6000806108246000546001600160a01b031690565b60405160e088901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156108a4573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906108c99190611625565b5050600a546009546040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af115801561093b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095f9190611653565b50600a80547fffffffffffffffffff00ff00ffffffffffffffffffffffffffffffffffffffff1676010001000000000000000000000000000000000000000017905543600555565b6001600160a01b038316610a225760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610554565b6001600160a01b038216610a9e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610554565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610b7b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610554565b6001600160a01b038216610bf75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610554565b60008111610c6d5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060448201527f7468616e207a65726f00000000000000000000000000000000000000000000006064820152608401610554565b600080546001600160a01b03858116911614801590610c9a57506000546001600160a01b03848116911614155b15610f96576001600160a01b03841660009081526004602052604090205460ff16158015610ce157506001600160a01b03831660009081526004602052604090205460ff16155b610cea57600080fd5b610d0a6064610d046006548561120b90919063ffffffff16565b906112b0565b600a549091506001600160a01b038581169116148015610d3857506009546001600160a01b03848116911614155b8015610d5d57506001600160a01b03831660009081526003602052604090205460ff16155b15610e8757600754821115610dda5760405162461bcd60e51b815260206004820152602560248201527f24434f524e20616d6f756e74206578636565647320746865206d61785478416d60448201527f6f756e742e0000000000000000000000000000000000000000000000000000006064820152608401610554565b60085482610dfd856001600160a01b031660009081526001602052604090205490565b610e079190611675565b1115610e655760405162461bcd60e51b815260206004820152602760248201527f24434f524e20616d6f756e74206578636565647320746865206d617857616c6c60448201526632ba29b4bd329760c91b6064820152608401610554565b436005546003610e759190611675565b1115610e8757823b15610e8757600080fd5b600a546001600160a01b03848116911614801590610ebe57506001600160a01b03831660009081526003602052604090205460ff16155b15610f4e5760085482610ee6856001600160a01b031660009081526001602052604090205490565b610ef09190611675565b1115610f4e5760405162461bcd60e51b815260206004820152602760248201527f24434f524e20616d6f756e74206578636565647320746865206d617857616c6c60448201526632ba29b4bd329760c91b6064820152608401610554565b600a546001600160a01b038481169116148015610f7457506001600160a01b0384163014155b15610f9657610f936064610d046006548561120b90919063ffffffff16565b90505b801561106557610fd68160016000610fb66000546001600160a01b031690565b6001600160a01b03168152602081019190915260400160002054906112f2565b60016000610fec6000546001600160a01b031690565b6001600160a01b031681526020810191909152604001600020556110186000546001600160a01b031690565b6001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161105c91815260200190565b60405180910390a35b6001600160a01b0384166000908152600160205260409020546110889083611351565b6001600160a01b0385166000908152600160205260409020556110cd6110ae8383611351565b6001600160a01b038516600090815260016020526040902054906112f2565b6001600160a01b0380851660008181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6111178585611351565b60405190815260200160405180910390a350505050565b600081848411156111525760405162461bcd60e51b815260040161055491906113c1565b50600061115f8486611688565b95945050505050565b6000546001600160a01b03163314610437576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610554565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008260000361121d57506000610392565b600061122983856115f1565b905082611236858361169b565b146112a95760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60448201527f77000000000000000000000000000000000000000000000000000000000000006064820152608401610554565b9392505050565b60006112a983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611393565b6000806112ff8385611675565b9050838110156112a95760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610554565b60006112a983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061112e565b600081836113b45760405162461bcd60e51b815260040161055491906113c1565b50600061115f848661169b565b60006020808352835180602085015260005b818110156113ef578581018301518582016040015282016113d3565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461056657600080fd5b6000806040838503121561143857600080fd5b823561144381611410565b946020939093013593505050565b60008060006060848603121561146657600080fd5b833561147181611410565b9250602084013561148181611410565b929592945050506040919091013590565b6000602082840312156114a457600080fd5b81356112a981611410565b600080604083850312156114c257600080fd5b82356114cd81611410565b915060208301356114dd81611410565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111561153957816000190482111561151f5761151f6114e8565b8085161561152c57918102915b93841c9390800290611503565b509250929050565b60008261155057506001610392565b8161155d57506000610392565b8160018114611573576002811461157d57611599565b6001915050610392565b60ff84111561158e5761158e6114e8565b50506001821b610392565b5060208310610133831016604e8410600b84101617156115bc575081810a610392565b6115c683836114fe565b80600019048211156115da576115da6114e8565b029392505050565b60006112a960ff841683611541565b8082028115828204841417610392576103926114e8565b60006020828403121561161a57600080fd5b81516112a981611410565b60008060006060848603121561163a57600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561166557600080fd5b815180151581146112a957600080fd5b80820180821115610392576103926114e8565b81810381811115610392576103926114e8565b6000826116b857634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212200bd08c79acd1910b67f5ebccfb40ad9227a1ec8f1560449e83ec277461c5ee0d64736f6c63430008180033
Deployed Bytecode
0x6080604052600436106100f75760003560e01c80637d1db4a51161008a578063a9059cbb11610059578063a9059cbb146102e6578063dd62ed3e14610306578063f2fde38b1461034c578063fb6e3d4d1461036c57600080fd5b80637d1db4a51461024c5780638da5cb5b146102625780638f9a55c01461028a57806395d89b41146102a057600080fd5b8063313ce567116100c6578063313ce567146101ce57806370a08231146101ea578063715018a614610220578063751039fc1461023757600080fd5b806306fdde0314610103578063095ea7b31461015b57806318160ddd1461018b57806323b872dd146101ae57600080fd5b366100fe57005b600080fd5b34801561010f57600080fd5b5060408051808201909152600881527f50657065436f726e00000000000000000000000000000000000000000000000060208201525b60405161015291906113c1565b60405180910390f35b34801561016757600080fd5b5061017b610176366004611425565b610381565b6040519015158152602001610152565b34801561019757600080fd5b506101a0610398565b604051908152602001610152565b3480156101ba57600080fd5b5061017b6101c9366004611451565b6103bc565b3480156101da57600080fd5b5060405160098152602001610152565b3480156101f657600080fd5b506101a0610205366004611492565b6001600160a01b031660009081526001602052604090205490565b34801561022c57600080fd5b50610235610425565b005b34801561024357600080fd5b50610235610439565b34801561025857600080fd5b506101a060075481565b34801561026e57600080fd5b506000546040516001600160a01b039091168152602001610152565b34801561029657600080fd5b506101a060085481565b3480156102ac57600080fd5b5060408051808201909152600481527f434f524e000000000000000000000000000000000000000000000000000000006020820152610145565b3480156102f257600080fd5b5061017b610301366004611425565b610500565b34801561031257600080fd5b506101a06103213660046114af565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b34801561035857600080fd5b50610235610367366004611492565b61050d565b34801561037857600080fd5b50610235610569565b600061038e3384846109a7565b5060015b92915050565b60006103a66009600a6115e2565b6103b79066017e9d8602b4006115f1565b905090565b60006103c9848484610aff565b61041b8433610416856040518060600160405280602881526020016116be602891396001600160a01b038a166000908152600260209081526040808320338452909152902054919061112e565b6109a7565b5060019392505050565b61042d611168565b61043760006111ae565b565b610441611168565b61044d6009600a6115e2565b61045e9066017e9d8602b4006115f1565b60075561046d6009600a6115e2565b61047e9066017e9d8602b4006115f1565b6008557ffead3f5d72caf22e5188803b9fe44ac57abce33217f6c1666a28786e810fc5066104ae6009600a6115e2565b6104bf9066017e9d8602b4006115f1565b60405190815260200160405180910390a1600060068190556040517fb392208c051a8e1294516a92ad5fc8c75177efbbfcf88540b7f6884bf08923429190a1565b600061038e338484610aff565b610515611168565b6001600160a01b03811661055d576040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600060048201526024015b60405180910390fd5b610566816111ae565b50565b610571611168565b600a5474010000000000000000000000000000000000000000900460ff16156105dc5760405162461bcd60e51b815260206004820152601d60248201527f24434f524e2074726164696e6720697320616c7265616479206f70656e0000006044820152606401610554565b6009805473ffffffffffffffffffffffffffffffffffffffff1916737a250d5630b4cf539739df2c5dacb4c659f2488d90811782556106349130919061062390600a6115e2565b6104169066017e9d8602b4006115f1565b600960009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610687573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ab9190611608565b6001600160a01b031663c9c6539630600960009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561070d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107319190611608565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610796573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ba9190611608565b600a80546001600160a01b0392831673ffffffffffffffffffffffffffffffffffffffff199091161790556009541663f305d719473061080f816001600160a01b031660009081526001602052604090205490565b6000806108246000546001600160a01b031690565b60405160e088901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156108a4573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906108c99190611625565b5050600a546009546040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af115801561093b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095f9190611653565b50600a80547fffffffffffffffffff00ff00ffffffffffffffffffffffffffffffffffffffff1676010001000000000000000000000000000000000000000017905543600555565b6001600160a01b038316610a225760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610554565b6001600160a01b038216610a9e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610554565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610b7b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610554565b6001600160a01b038216610bf75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610554565b60008111610c6d5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060448201527f7468616e207a65726f00000000000000000000000000000000000000000000006064820152608401610554565b600080546001600160a01b03858116911614801590610c9a57506000546001600160a01b03848116911614155b15610f96576001600160a01b03841660009081526004602052604090205460ff16158015610ce157506001600160a01b03831660009081526004602052604090205460ff16155b610cea57600080fd5b610d0a6064610d046006548561120b90919063ffffffff16565b906112b0565b600a549091506001600160a01b038581169116148015610d3857506009546001600160a01b03848116911614155b8015610d5d57506001600160a01b03831660009081526003602052604090205460ff16155b15610e8757600754821115610dda5760405162461bcd60e51b815260206004820152602560248201527f24434f524e20616d6f756e74206578636565647320746865206d61785478416d60448201527f6f756e742e0000000000000000000000000000000000000000000000000000006064820152608401610554565b60085482610dfd856001600160a01b031660009081526001602052604090205490565b610e079190611675565b1115610e655760405162461bcd60e51b815260206004820152602760248201527f24434f524e20616d6f756e74206578636565647320746865206d617857616c6c60448201526632ba29b4bd329760c91b6064820152608401610554565b436005546003610e759190611675565b1115610e8757823b15610e8757600080fd5b600a546001600160a01b03848116911614801590610ebe57506001600160a01b03831660009081526003602052604090205460ff16155b15610f4e5760085482610ee6856001600160a01b031660009081526001602052604090205490565b610ef09190611675565b1115610f4e5760405162461bcd60e51b815260206004820152602760248201527f24434f524e20616d6f756e74206578636565647320746865206d617857616c6c60448201526632ba29b4bd329760c91b6064820152608401610554565b600a546001600160a01b038481169116148015610f7457506001600160a01b0384163014155b15610f9657610f936064610d046006548561120b90919063ffffffff16565b90505b801561106557610fd68160016000610fb66000546001600160a01b031690565b6001600160a01b03168152602081019190915260400160002054906112f2565b60016000610fec6000546001600160a01b031690565b6001600160a01b031681526020810191909152604001600020556110186000546001600160a01b031690565b6001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161105c91815260200190565b60405180910390a35b6001600160a01b0384166000908152600160205260409020546110889083611351565b6001600160a01b0385166000908152600160205260409020556110cd6110ae8383611351565b6001600160a01b038516600090815260016020526040902054906112f2565b6001600160a01b0380851660008181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6111178585611351565b60405190815260200160405180910390a350505050565b600081848411156111525760405162461bcd60e51b815260040161055491906113c1565b50600061115f8486611688565b95945050505050565b6000546001600160a01b03163314610437576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610554565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008260000361121d57506000610392565b600061122983856115f1565b905082611236858361169b565b146112a95760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60448201527f77000000000000000000000000000000000000000000000000000000000000006064820152608401610554565b9392505050565b60006112a983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611393565b6000806112ff8385611675565b9050838110156112a95760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610554565b60006112a983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061112e565b600081836113b45760405162461bcd60e51b815260040161055491906113c1565b50600061115f848661169b565b60006020808352835180602085015260005b818110156113ef578581018301518582016040015282016113d3565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461056657600080fd5b6000806040838503121561143857600080fd5b823561144381611410565b946020939093013593505050565b60008060006060848603121561146657600080fd5b833561147181611410565b9250602084013561148181611410565b929592945050506040919091013590565b6000602082840312156114a457600080fd5b81356112a981611410565b600080604083850312156114c257600080fd5b82356114cd81611410565b915060208301356114dd81611410565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111561153957816000190482111561151f5761151f6114e8565b8085161561152c57918102915b93841c9390800290611503565b509250929050565b60008261155057506001610392565b8161155d57506000610392565b8160018114611573576002811461157d57611599565b6001915050610392565b60ff84111561158e5761158e6114e8565b50506001821b610392565b5060208310610133831016604e8410600b84101617156115bc575081810a610392565b6115c683836114fe565b80600019048211156115da576115da6114e8565b029392505050565b60006112a960ff841683611541565b8082028115828204841417610392576103926114e8565b60006020828403121561161a57600080fd5b81516112a981611410565b60008060006060848603121561163a57600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561166557600080fd5b815180151581146112a957600080fd5b80820180821115610392576103926114e8565b81810381811115610392576103926114e8565b6000826116b857634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212200bd08c79acd1910b67f5ebccfb40ad9227a1ec8f1560449e83ec277461c5ee0d64736f6c63430008180033
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.