ERC-20
Overview
Max Total Supply
1,000,000,000,000 CHESTER
Holders
64
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
1,497,360,571.683635466157003941 CHESTERValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CHESTER
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** Donald Trump's Hampster Telegram: https://t.me/ChesterPortal Website: https://www.chestertrump.vip/ Twitter: https://x.com/ChesterOnETH https://www.dailymail.co.uk/femail/article-12771041/Ivanka-Trump-family-adopted-dog-Simba-buying-purebred.html */ // SPDX-License-Identifier: MIT pragma solidity = 0.8.19; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } interface IUniswapV2Pair { event Sync(uint112 reserve0, uint112 reserve1); function sync() external; } interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function createPair(address tokenA, address tokenB) external returns (address pair); } interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) 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 `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * 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 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @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); } interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } contract ERC20 is Context, IERC20, IERC20Metadata { using SafeMath for uint256; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = 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 { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } library SafeMathInt { int256 private constant MIN_INT256 = int256(1) << 255; int256 private constant MAX_INT256 = ~(int256(1) << 255); /** * @dev Multiplies two int256 variables and fails on overflow. */ function mul(int256 a, int256 b) internal pure returns (int256) { int256 c = a * b; // Detect overflow when multiplying MIN_INT256 with -1 require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256)); require((b == 0) || (c / b == a)); return c; } /** * @dev Division of two int256 variables and fails on overflow. */ function div(int256 a, int256 b) internal pure returns (int256) { // Prevent overflow when dividing MIN_INT256 by -1 require(b != -1 || a != MIN_INT256); // Solidity already throws when dividing by 0. return a / b; } /** * @dev Subtracts two int256 variables and fails on overflow. */ function sub(int256 a, int256 b) internal pure returns (int256) { int256 c = a - b; require((b >= 0 && c <= a) || (b < 0 && c > a)); return c; } /** * @dev Adds two int256 variables and fails on overflow. */ function add(int256 a, int256 b) internal pure returns (int256) { int256 c = a + b; require((b >= 0 && c >= a) || (b < 0 && c < a)); return c; } /** * @dev Converts to absolute value, and fails on overflow. */ function abs(int256 a) internal pure returns (int256) { require(a != MIN_INT256); return a < 0 ? -a : a; } function toUint256Safe(int256 a) internal pure returns (uint256) { require(a >= 0); return uint256(a); } } library SafeMathUint { function toInt256Safe(uint256 a) internal pure returns (int256) { int256 b = int256(a); require(b >= 0); return b; } } interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); } interface IUniswapV2Router02 is IUniswapV2Router01 { function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } contract CHESTER is ERC20, Ownable { IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; address public constant deadAddress = address(0xdead); bool private swapping; address public marketingWallet; address public devWallet; uint256 public maxTransactionAmount; uint256 public swapTokensAtAmount; uint256 public maxWallet; uint256 public percentForLPBurn = 25; // 25 = .25% bool public lpBurnEnabled = false; uint256 public lpBurnFrequency = 3600 seconds; uint256 public lastLpBurnTime; uint256 public manualBurnFrequency = 30 minutes; uint256 public lastManualLpBurnTime; bool public limitsInEffect = true; bool public tradingActive = false; bool public swapEnabled = false; // Anti-bot and anti-whale mappings and variables mapping(address => uint256) private _holderLastTransferTimestamp; // to hold last Transfers temporarily during launch mapping (address => bool) public isBlacklisted; bool public transferDelayEnabled = true; uint256 public buyTotalFees; uint256 public buyMarketingFee; uint256 public buyLiquidityFee; uint256 public buyDevFee; uint256 public sellTotalFees; uint256 public sellMarketingFee; uint256 public sellLiquidityFee; uint256 public sellDevFee; uint256 public tokensForMarketing; uint256 public tokensForLiquidity; uint256 public tokensForDev; // exlcude from fees and max transaction amount mapping (address => bool) private _isExcludedFromFees; mapping (address => bool) public _isExcludedMaxTransactionAmount; // store addresses that a automatic market maker pairs. Any transfer *to* these addresses // could be subject to a maximum transfer amount mapping (address => bool) public automatedMarketMakerPairs; constructor() ERC20("Chester", "CHESTER") { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH()); excludeFromMaxTransaction(address(uniswapV2Pair), true); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); uint256 _buyMarketingFee = 20; uint256 _buyLiquidityFee = 0; uint256 _buyDevFee = 0; uint256 _sellMarketingFee = 25; uint256 _sellLiquidityFee = 0; uint256 _sellDevFee = 0; uint256 totalSupply = 1000000000000 * 1e18; maxTransactionAmount = totalSupply * 2 / 100; maxWallet = totalSupply * 2 / 100; swapTokensAtAmount = totalSupply * 2 / 1000; buyMarketingFee = _buyMarketingFee; buyLiquidityFee = _buyLiquidityFee; buyDevFee = _buyDevFee; buyTotalFees = buyMarketingFee + buyLiquidityFee + buyDevFee; sellMarketingFee = _sellMarketingFee; sellLiquidityFee = _sellLiquidityFee; sellDevFee = _sellDevFee; sellTotalFees = sellMarketingFee + sellLiquidityFee + sellDevFee; marketingWallet = address(owner()); devWallet = address(owner()); // // exclude from paying fees or having max transaction amount excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(0xdead), true); _mint(msg.sender, totalSupply); } receive() external payable { } // once enabled, can never be turned off function openTrading() external onlyOwner { tradingActive = true; swapEnabled = true; lastLpBurnTime = block.timestamp; } // remove limits after token is stable function disablelimits() external onlyOwner returns (bool){ limitsInEffect = false; transferDelayEnabled = false; return true; } // change the minimum amount of tokens to sell from fees function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner returns (bool){ require(newAmount <= 1, "Swap amount cannot be higher than 1% total supply."); swapTokensAtAmount = totalSupply() * newAmount / 100; return true; } function updateMaxTxnAmount(uint256 txNum, uint256 walNum) external onlyOwner { require(txNum >= 1, "Cannot set maxTransactionAmount lower than 1%"); maxTransactionAmount = (totalSupply() * txNum / 100)/1e18; require(walNum >= 1, "Cannot set maxWallet lower than 1%"); maxWallet = (totalSupply() * walNum / 100)/1e18; } function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; } // only use to disable contract sales if absolutely necessary (emergency use only) function updateSwapEnabled(bool enabled) external onlyOwner(){ swapEnabled = enabled; } function updateBuyFees(uint256 _marketingFee, uint256 _liquidityFee, uint256 _devFee) external onlyOwner { buyMarketingFee = _marketingFee; buyLiquidityFee = _liquidityFee; buyDevFee = _devFee; buyTotalFees = buyMarketingFee + buyLiquidityFee + buyDevFee; require(buyTotalFees <= 35, "Must keep fees at 20% or less"); } function updateSellFees(uint256 _marketingFee, uint256 _liquidityFee, uint256 _devFee) external onlyOwner { sellMarketingFee = _marketingFee; sellLiquidityFee = _liquidityFee; sellDevFee = _devFee; sellTotalFees = sellMarketingFee + sellLiquidityFee + sellDevFee; require(sellTotalFees <= 99, "Must keep fees at 25% or less"); } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; } function updatemarketingWallet(address newMarketingWallet) external onlyOwner { marketingWallet = newMarketingWallet; } function updateDevelopmentWallet(address newWallet) external onlyOwner { devWallet = newWallet; } function isExcludedFromFees(address account) public view returns(bool) { return _isExcludedFromFees[account]; } function managechester_bots(address _address, bool status) external onlyOwner { require(_address != address(0),"Address should not be 0"); isBlacklisted[_address] = status; } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(!isBlacklisted[from] && !isBlacklisted[to],"Blacklisted"); if(amount == 0) { super._transfer(from, to, 0); return; } if(limitsInEffect){ if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !swapping ){ if(!tradingActive){ require(_isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active."); } // at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch. if (transferDelayEnabled){ if (to != owner() && to != address(uniswapV2Router) && to != address(uniswapV2Pair)){ require(_holderLastTransferTimestamp[tx.origin] < block.number, "_transfer:: Transfer Delay enabled. Only one purchase per block allowed."); _holderLastTransferTimestamp[tx.origin] = block.number; } } //when buy if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]) { require(amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount."); require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded"); } //when sell else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from]) { require(amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount."); } else if(!_isExcludedMaxTransactionAmount[to]){ require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded"); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if( canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapBack(); swapping = false; } bool takeFee = !swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if(_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; // only take fees on buys/sells, do not take on wallet transfers if(takeFee){ // on sell if (automatedMarketMakerPairs[to] && sellTotalFees > 0){ fees = amount * sellTotalFees/100; tokensForLiquidity += fees * sellLiquidityFee / sellTotalFees; tokensForDev += fees * sellDevFee / sellTotalFees; tokensForMarketing += fees * sellMarketingFee / sellTotalFees; } // on buy else if(automatedMarketMakerPairs[from] && buyTotalFees > 0) { fees = amount * buyTotalFees/100; tokensForLiquidity += fees * buyLiquidityFee / buyTotalFees; tokensForDev += fees * buyDevFee / buyTotalFees; tokensForMarketing += fees * buyMarketingFee / buyTotalFees; } if(fees > 0){ super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapV2Router), tokenAmount); // add the liquidity uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable deadAddress, block.timestamp ); } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = tokensForLiquidity + tokensForMarketing + tokensForDev; bool success; if(contractBalance == 0 || totalTokensToSwap == 0) {return;} if(contractBalance > swapTokensAtAmount * 20){ contractBalance = swapTokensAtAmount * 20; } uint256 liquidityTokens = contractBalance * tokensForLiquidity / totalTokensToSwap / 2; uint256 amountToSwapForETH = contractBalance - liquidityTokens; uint256 initialETHBalance = address(this).balance; swapTokensForEth(amountToSwapForETH); uint256 ethBalance = address(this).balance - initialETHBalance; uint256 ethForMarketing = ethBalance * tokensForMarketing/totalTokensToSwap; uint256 ethForDev = ethBalance * tokensForDev/totalTokensToSwap; uint256 ethForLiquidity = ethBalance - ethForMarketing - ethForDev; tokensForLiquidity = 0; tokensForMarketing = 0; tokensForDev = 0; (success,) = address(devWallet).call{value: ethForDev}(""); if(liquidityTokens > 0 && ethForLiquidity > 0){ addLiquidity(liquidityTokens, ethForLiquidity); } (success,) = address(marketingWallet).call{value: address(this).balance}(""); } function manualBurnLiquidityPairTokens(uint256 percent) external onlyOwner returns (bool){ require(block.timestamp > lastManualLpBurnTime + manualBurnFrequency , "Must wait for cooldown to finish"); require(percent <= 1000, "May not nuke more than 10% of tokens in LP"); lastManualLpBurnTime = block.timestamp; uint256 liquidityPairBalance = this.balanceOf(uniswapV2Pair); uint256 amountToBurn = liquidityPairBalance * percent/10000; if (amountToBurn > 0){ super._transfer(uniswapV2Pair, address(0xdead), amountToBurn); } IUniswapV2Pair pair = IUniswapV2Pair(uniswapV2Pair); pair.sync(); return true; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disablelimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastLpBurnTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastManualLpBurnTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpBurnEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpBurnFrequency","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"managechester_bots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualBurnFrequency","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"manualBurnLiquidityPairTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"percentForLPBurn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForDev","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForMarketing","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":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_devFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateDevelopmentWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"txNum","type":"uint256"},{"internalType":"uint256","name":"walNum","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_devFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMarketingWallet","type":"address"}],"name":"updatemarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c06040526019600b55600c805460ff19908116909155610e10600d55610708600f556011805462ffffff19166001908117909155601480549092161790553480156200004b57600080fd5b506040518060400160405280600781526020016621b432b9ba32b960c91b8152506040518060400160405280600781526020016621a422a9aa22a960c91b81525081600390816200009d91906200072b565b506004620000ac82826200072b565b5050506000620000c16200043f60201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350737a250d5630b4cf539739df2c5dacb4c659f2488d6200013181600162000443565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156200017c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001a29190620007f7565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001f0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002169190620007f7565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000264573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200028a9190620007f7565b6001600160a01b031660a0819052620002a590600162000443565b60a0516001600160a01b03166000908152602260205260409020805460ff191660011790556014600080601981806c0c9f2c9cd04674edea400000006064620002f082600262000838565b620002fc919062000852565b60085560646200030e82600262000838565b6200031a919062000852565b600a556103e86200032d82600262000838565b62000339919062000852565b6009556016879055601786905560188590558462000358878962000875565b62000364919062000875565b601555601a849055601b839055601c8290558162000383848662000875565b6200038f919062000875565b601955600554600680546001600160a01b03199081166001600160a01b039093169283179091556007805490911682179055620003ce906001620004bd565b620003db306001620004bd565b620003ea61dead6001620004bd565b62000409620004016005546001600160a01b031690565b600162000443565b6200041630600162000443565b6200042561dead600162000443565b62000431338262000532565b50505050505050506200088b565b3390565b6005546001600160a01b03163314620004925760405162461bcd60e51b815260206004820181905260248201526000805160206200349e83398151915260448201526064015b60405180910390fd5b6001600160a01b03919091166000908152602160205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314620005085760405162461bcd60e51b815260206004820181905260248201526000805160206200349e833981519152604482015260640162000489565b6001600160a01b039190911660009081526020805260409020805460ff1916911515919091179055565b6001600160a01b0382166200058a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000489565b6002546200059990826200061b565b6002556001600160a01b038216600090815260208190526040902054620005c190826200061b565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b6000806200062a838562000875565b9050838110156200067e5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640162000489565b90505b92915050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620006b257607f821691505b602082108103620006d357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200061657600081815260208120601f850160051c81016020861015620007025750805b601f850160051c820191505b8181101562000723578281556001016200070e565b505050505050565b81516001600160401b0381111562000747576200074762000687565b6200075f816200075884546200069d565b84620006d9565b602080601f8311600181146200079757600084156200077e5750858301515b600019600386901b1c1916600185901b17855562000723565b600085815260208120601f198616915b82811015620007c857888601518255948401946001909101908401620007a7565b5085821015620007e75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200080a57600080fd5b81516001600160a01b03811681146200067e57600080fd5b634e487b7160e01b600052601160045260246000fd5b808202811582820484141762000681576200068162000822565b6000826200087057634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111562000681576200068162000822565b60805160a051612ba7620008f7600039600081816105e001528181611549015281816115e5015281816116110152611a03015260008181610466015281816119c50152818161246d0152818161252601528181612562015281816125dc01526126390152612ba76000f3fe60806040526004361061039b5760003560e01c806392136913116101dc578063c876d0b911610102578063e528f1ca116100a0578063f63743421161006f578063f637434214610a7e578063f8b45b0514610a94578063fe575a8714610aaa578063fe72b27a14610ada57600080fd5b8063e528f1ca14610a08578063f023f57314610a28578063f11a24d314610a48578063f2fde38b14610a5e57600080fd5b8063d257b34f116100dc578063d257b34f14610976578063d85ba06314610996578063dd62ed3e146109ac578063e2f45605146109f257600080fd5b8063c876d0b914610931578063c8c8ebe41461094b578063c9567bf91461096157600080fd5b8063a457c2d71161017a578063bbc0c74211610149578063bbc0c742146108b2578063bff78169146108d1578063c0246668146108f1578063c17b5b8c1461091157600080fd5b8063a457c2d71461082c578063a4c82a001461084c578063a9059cbb14610862578063b62496f51461088257600080fd5b80639c3b4fdc116101b65780639c3b4fdc146107d45780639ec22c0e146107ea5780639fccce3214610800578063a0d82dc51461081657600080fd5b80639213691314610789578063924de9b71461079f57806395d89b41146107bf57600080fd5b8063313ce567116102c157806370a082311161025f5780637bce5a041161022e5780637bce5a04146107155780638095d5641461072b5780638da5cb5b1461074b5780638ea5220f1461076957600080fd5b806370a082311461068a578063715018a6146106c05780637571336a146106d557806375f0a874146106f557600080fd5b80634a62bb651161029b5780634a62bb65146106025780634fbee1931461061c5780636a486a8e146106545780636ddd17131461066a57600080fd5b8063313ce5671461059257806339509351146105ae57806349bd5a5e146105ce57600080fd5b8063199ffc72116103395780632688f539116103085780632688f5391461053757806327c8f8351461054c5780632c3e486c146105625780632e82f1a01461057857600080fd5b8063199ffc72146104d55780631a8145bb146104eb5780631f3fed8f1461050157806323b872dd1461051757600080fd5b806311a582c31161037557806311a582c3146104325780631694505e1461045457806318160ddd146104a0578063184c16c5146104bf57600080fd5b806306fdde03146103a7578063095ea7b3146103d257806310d5de531461040257600080fd5b366103a257005b600080fd5b3480156103b357600080fd5b506103bc610afa565b6040516103c991906126b7565b60405180910390f35b3480156103de57600080fd5b506103f26103ed36600461271d565b610b8c565b60405190151581526020016103c9565b34801561040e57600080fd5b506103f261041d366004612749565b60216020526000908152604090205460ff1681565b34801561043e57600080fd5b5061045261044d366004612766565b610ba3565b005b34801561046057600080fd5b506104887f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016103c9565b3480156104ac57600080fd5b506002545b6040519081526020016103c9565b3480156104cb57600080fd5b506104b1600f5481565b3480156104e157600080fd5b506104b1600b5481565b3480156104f757600080fd5b506104b1601e5481565b34801561050d57600080fd5b506104b1601d5481565b34801561052357600080fd5b506103f2610532366004612788565b610d09565b34801561054357600080fd5b506103f2610d72565b34801561055857600080fd5b5061048861dead81565b34801561056e57600080fd5b506104b1600d5481565b34801561058457600080fd5b50600c546103f29060ff1681565b34801561059e57600080fd5b50604051601281526020016103c9565b3480156105ba57600080fd5b506103f26105c936600461271d565b610dbb565b3480156105da57600080fd5b506104887f000000000000000000000000000000000000000000000000000000000000000081565b34801561060e57600080fd5b506011546103f29060ff1681565b34801561062857600080fd5b506103f2610637366004612749565b6001600160a01b0316600090815260208052604090205460ff1690565b34801561066057600080fd5b506104b160195481565b34801561067657600080fd5b506011546103f29062010000900460ff1681565b34801561069657600080fd5b506104b16106a5366004612749565b6001600160a01b031660009081526020819052604090205490565b3480156106cc57600080fd5b50610452610df1565b3480156106e157600080fd5b506104526106f03660046127d9565b610e65565b34801561070157600080fd5b50600654610488906001600160a01b031681565b34801561072157600080fd5b506104b160165481565b34801561073757600080fd5b5061045261074636600461280e565b610eba565b34801561075757600080fd5b506005546001600160a01b0316610488565b34801561077557600080fd5b50600754610488906001600160a01b031681565b34801561079557600080fd5b506104b1601a5481565b3480156107ab57600080fd5b506104526107ba36600461283a565b610f62565b3480156107cb57600080fd5b506103bc610fa8565b3480156107e057600080fd5b506104b160185481565b3480156107f657600080fd5b506104b160105481565b34801561080c57600080fd5b506104b1601f5481565b34801561082257600080fd5b506104b1601c5481565b34801561083857600080fd5b506103f261084736600461271d565b610fb7565b34801561085857600080fd5b506104b1600e5481565b34801561086e57600080fd5b506103f261087d36600461271d565b611006565b34801561088e57600080fd5b506103f261089d366004612749565b60226020526000908152604090205460ff1681565b3480156108be57600080fd5b506011546103f290610100900460ff1681565b3480156108dd57600080fd5b506104526108ec366004612749565b611013565b3480156108fd57600080fd5b5061045261090c3660046127d9565b61105f565b34801561091d57600080fd5b5061045261092c36600461280e565b6110b3565b34801561093d57600080fd5b506014546103f29060ff1681565b34801561095757600080fd5b506104b160085481565b34801561096d57600080fd5b50610452611156565b34801561098257600080fd5b506103f2610991366004612855565b611197565b3480156109a257600080fd5b506104b160155481565b3480156109b857600080fd5b506104b16109c736600461286e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156109fe57600080fd5b506104b160095481565b348015610a1457600080fd5b50610452610a233660046127d9565b61125c565b348015610a3457600080fd5b50610452610a43366004612749565b611307565b348015610a5457600080fd5b506104b160175481565b348015610a6a57600080fd5b50610452610a79366004612749565b611353565b348015610a8a57600080fd5b506104b1601b5481565b348015610aa057600080fd5b506104b1600a5481565b348015610ab657600080fd5b506103f2610ac5366004612749565b60136020526000908152604090205460ff1681565b348015610ae657600080fd5b506103f2610af5366004612855565b61143e565b606060038054610b09906128a7565b80601f0160208091040260200160405190810160405280929190818152602001828054610b35906128a7565b8015610b825780601f10610b5757610100808354040283529160200191610b82565b820191906000526020600020905b815481529060010190602001808311610b6557829003601f168201915b5050505050905090565b6000610b99338484611690565b5060015b92915050565b6005546001600160a01b03163314610bd65760405162461bcd60e51b8152600401610bcd906128e1565b60405180910390fd5b6001821015610c3d5760405162461bcd60e51b815260206004820152602d60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526c6c6f776572207468616e20312560981b6064820152608401610bcd565b670de0b6b3a7640000606483610c5260025490565b610c5c919061292c565b610c669190612943565b610c709190612943565b6008556001811015610ccf5760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015261312560f01b6064820152608401610bcd565b670de0b6b3a7640000606482610ce460025490565b610cee919061292c565b610cf89190612943565b610d029190612943565b600a555050565b6000610d168484846117b5565b610d688433610d6385604051806060016040528060288152602001612b25602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190612077565b611690565b5060019392505050565b6005546000906001600160a01b03163314610d9f5760405162461bcd60e51b8152600401610bcd906128e1565b506011805460ff19908116909155601480549091169055600190565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610b99918590610d6390866120b1565b6005546001600160a01b03163314610e1b5760405162461bcd60e51b8152600401610bcd906128e1565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b03163314610e8f5760405162461bcd60e51b8152600401610bcd906128e1565b6001600160a01b03919091166000908152602160205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610ee45760405162461bcd60e51b8152600401610bcd906128e1565b60168390556017829055601881905580610efe8385612965565b610f089190612965565b601581905560231015610f5d5760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420323025206f72206c6573730000006044820152606401610bcd565b505050565b6005546001600160a01b03163314610f8c5760405162461bcd60e51b8152600401610bcd906128e1565b60118054911515620100000262ff000019909216919091179055565b606060048054610b09906128a7565b6000610b993384610d6385604051806060016040528060258152602001612b4d602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190612077565b6000610b993384846117b5565b6005546001600160a01b0316331461103d5760405162461bcd60e51b8152600401610bcd906128e1565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146110895760405162461bcd60e51b8152600401610bcd906128e1565b6001600160a01b039190911660009081526020805260409020805460ff1916911515919091179055565b6005546001600160a01b031633146110dd5760405162461bcd60e51b8152600401610bcd906128e1565b601a839055601b829055601c819055806110f78385612965565b6111019190612965565b601981905560631015610f5d5760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420323525206f72206c6573730000006044820152606401610bcd565b6005546001600160a01b031633146111805760405162461bcd60e51b8152600401610bcd906128e1565b6011805462ffff0019166201010017905542600e55565b6005546000906001600160a01b031633146111c45760405162461bcd60e51b8152600401610bcd906128e1565b60018211156112305760405162461bcd60e51b815260206004820152603260248201527f5377617020616d6f756e742063616e6e6f74206265206869676865722074686160448201527137101892903a37ba30b61039bab838363c9760711b6064820152608401610bcd565b60648261123c60025490565b611246919061292c565b6112509190612943565b6009555060015b919050565b6005546001600160a01b031633146112865760405162461bcd60e51b8152600401610bcd906128e1565b6001600160a01b0382166112dc5760405162461bcd60e51b815260206004820152601760248201527f416464726573732073686f756c64206e6f7420626520300000000000000000006044820152606401610bcd565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146113315760405162461bcd60e51b8152600401610bcd906128e1565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461137d5760405162461bcd60e51b8152600401610bcd906128e1565b6001600160a01b0381166113e25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bcd565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546000906001600160a01b0316331461146b5760405162461bcd60e51b8152600401610bcd906128e1565b600f5460105461147b9190612965565b42116114c95760405162461bcd60e51b815260206004820181905260248201527f4d757374207761697420666f7220636f6f6c646f776e20746f2066696e6973686044820152606401610bcd565b6103e882111561152e5760405162461bcd60e51b815260206004820152602a60248201527f4d6179206e6f74206e756b65206d6f7265207468616e20313025206f6620746f60448201526906b656e7320696e204c560b41b6064820152608401610bcd565b426010556040516370a0823160e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016600482015260009030906370a0823190602401602060405180830381865afa158015611599573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115bd9190612978565b905060006127106115ce858461292c565b6115d89190612943565b9050801561160d5761160d7f000000000000000000000000000000000000000000000000000000000000000061dead83612117565b60007f00000000000000000000000000000000000000000000000000000000000000009050806001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561166d57600080fd5b505af1158015611681573d6000803e3d6000fd5b50600198975050505050505050565b6001600160a01b0383166116f25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610bcd565b6001600160a01b0382166117535760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610bcd565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166117db5760405162461bcd60e51b8152600401610bcd90612991565b6001600160a01b0382166118015760405162461bcd60e51b8152600401610bcd906129d6565b6001600160a01b03831660009081526013602052604090205460ff1615801561184357506001600160a01b03821660009081526013602052604090205460ff16155b61187d5760405162461bcd60e51b815260206004820152600b60248201526a109b1858dadb1a5cdd195960aa1b6044820152606401610bcd565b8060000361189157610f5d83836000612117565b60115460ff1615611d4c576005546001600160a01b038481169116148015906118c857506005546001600160a01b03838116911614155b80156118dc57506001600160a01b03821615155b80156118f357506001600160a01b03821661dead14155b80156119095750600554600160a01b900460ff16155b15611d4c57601154610100900460ff1661199f576001600160a01b038316600090815260208052604090205460ff168061195a57506001600160a01b038216600090815260208052604090205460ff165b61199f5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610bcd565b60145460ff1615611ae6576005546001600160a01b038381169116148015906119fa57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b8015611a3857507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b15611ae657326000908152601260205260409020544311611ad35760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610bcd565b3260009081526012602052604090204390555b6001600160a01b03831660009081526022602052604090205460ff168015611b2757506001600160a01b03821660009081526021602052604090205460ff16155b15611c0b57600854811115611b9c5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610bcd565b600a546001600160a01b038316600090815260208190526040902054611bc29083612965565b1115611c065760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610bcd565b611d4c565b6001600160a01b03821660009081526022602052604090205460ff168015611c4c57506001600160a01b03831660009081526021602052604090205460ff16155b15611cc257600854811115611c065760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610bcd565b6001600160a01b03821660009081526021602052604090205460ff16611d4c57600a546001600160a01b038316600090815260208190526040902054611d089083612965565b1115611d4c5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610bcd565b3060009081526020819052604090205460095481108015908190611d78575060115462010000900460ff165b8015611d8e5750600554600160a01b900460ff16155b8015611db357506001600160a01b03851660009081526022602052604090205460ff16155b8015611dd757506001600160a01b038516600090815260208052604090205460ff16155b8015611dfb57506001600160a01b038416600090815260208052604090205460ff16155b15611e29576005805460ff60a01b1916600160a01b179055611e1b612220565b6005805460ff60a01b191690555b6005546001600160a01b038616600090815260208052604090205460ff600160a01b909204821615911680611e7557506001600160a01b038516600090815260208052604090205460ff165b15611e7e575060005b60008115612063576001600160a01b03861660009081526022602052604090205460ff168015611eb057506000601954115b15611f6857606460195486611ec5919061292c565b611ecf9190612943565b9050601954601b5482611ee2919061292c565b611eec9190612943565b601e6000828254611efd9190612965565b9091555050601954601c54611f12908361292c565b611f1c9190612943565b601f6000828254611f2d9190612965565b9091555050601954601a54611f42908361292c565b611f4c9190612943565b601d6000828254611f5d9190612965565b909155506120459050565b6001600160a01b03871660009081526022602052604090205460ff168015611f9257506000601554115b1561204557606460155486611fa7919061292c565b611fb19190612943565b905060155460175482611fc4919061292c565b611fce9190612943565b601e6000828254611fdf9190612965565b9091555050601554601854611ff4908361292c565b611ffe9190612943565b601f600082825461200f9190612965565b9091555050601554601654612024908361292c565b61202e9190612943565b601d600082825461203f9190612965565b90915550505b801561205657612056873083612117565b6120608186612a19565b94505b61206e878787612117565b50505050505050565b6000818484111561209b5760405162461bcd60e51b8152600401610bcd91906126b7565b5060006120a88486612a19565b95945050505050565b6000806120be8385612965565b9050838110156121105760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610bcd565b9392505050565b6001600160a01b03831661213d5760405162461bcd60e51b8152600401610bcd90612991565b6001600160a01b0382166121635760405162461bcd60e51b8152600401610bcd906129d6565b6121a081604051806060016040528060268152602001612aff602691396001600160a01b0386166000908152602081905260409020549190612077565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546121cf90826120b1565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016117a8565b3060009081526020819052604081205490506000601f54601d54601e546122479190612965565b6122519190612965565b90506000821580612260575081155b1561226a57505050565b60095461227890601461292c565b8311156122905760095461228d90601461292c565b92505b6000600283601e54866122a3919061292c565b6122ad9190612943565b6122b79190612943565b905060006122c58286612a19565b9050476122d182612416565b60006122dd8247612a19565b9050600086601d54836122f0919061292c565b6122fa9190612943565b9050600087601f548461230d919061292c565b6123179190612943565b90506000816123268486612a19565b6123309190612a19565b6000601e819055601d819055601f8190556007546040519293506001600160a01b031691849181818185875af1925050503d806000811461238d576040519150601f19603f3d011682016040523d82523d6000602084013e612392565b606091505b509098505086158015906123a65750600081115b156123b5576123b587826125d6565b6006546040516001600160a01b03909116904790600081818185875af1925050503d8060008114612402576040519150601f19603f3d011682016040523d82523d6000602084013e612407565b606091505b50505050505050505050505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061244b5761244b612a2c565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156124c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124ed9190612a42565b8160018151811061250057612500612a2c565b60200260200101906001600160a01b031690816001600160a01b03168152505061254b307f000000000000000000000000000000000000000000000000000000000000000084611690565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac947906125a0908590600090869030904290600401612a5f565b600060405180830381600087803b1580156125ba57600080fd5b505af11580156125ce573d6000803e3d6000fd5b505050505050565b612601307f000000000000000000000000000000000000000000000000000000000000000084611690565b60405163f305d71960e01b815230600482015260248101839052600060448201819052606482015261dead60848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f305d71990839060c40160606040518083038185885af115801561268b573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906126b09190612ad0565b5050505050565b600060208083528351808285015260005b818110156126e4578581018301518582016040015282016126c8565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461271a57600080fd5b50565b6000806040838503121561273057600080fd5b823561273b81612705565b946020939093013593505050565b60006020828403121561275b57600080fd5b813561211081612705565b6000806040838503121561277957600080fd5b50508035926020909101359150565b60008060006060848603121561279d57600080fd5b83356127a881612705565b925060208401356127b881612705565b929592945050506040919091013590565b8035801515811461125757600080fd5b600080604083850312156127ec57600080fd5b82356127f781612705565b9150612805602084016127c9565b90509250929050565b60008060006060848603121561282357600080fd5b505081359360208301359350604090920135919050565b60006020828403121561284c57600080fd5b612110826127c9565b60006020828403121561286757600080fd5b5035919050565b6000806040838503121561288157600080fd5b823561288c81612705565b9150602083013561289c81612705565b809150509250929050565b600181811c908216806128bb57607f821691505b6020821081036128db57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610b9d57610b9d612916565b60008261296057634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610b9d57610b9d612916565b60006020828403121561298a57600080fd5b5051919050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610b9d57610b9d612916565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612a5457600080fd5b815161211081612705565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612aaf5784516001600160a01b031683529383019391830191600101612a8a565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215612ae557600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212209529dfc1b058703414f6838a71545617d5496776bb6c93748286cf8cb278745e64736f6c634300081300334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572
Deployed Bytecode
0x60806040526004361061039b5760003560e01c806392136913116101dc578063c876d0b911610102578063e528f1ca116100a0578063f63743421161006f578063f637434214610a7e578063f8b45b0514610a94578063fe575a8714610aaa578063fe72b27a14610ada57600080fd5b8063e528f1ca14610a08578063f023f57314610a28578063f11a24d314610a48578063f2fde38b14610a5e57600080fd5b8063d257b34f116100dc578063d257b34f14610976578063d85ba06314610996578063dd62ed3e146109ac578063e2f45605146109f257600080fd5b8063c876d0b914610931578063c8c8ebe41461094b578063c9567bf91461096157600080fd5b8063a457c2d71161017a578063bbc0c74211610149578063bbc0c742146108b2578063bff78169146108d1578063c0246668146108f1578063c17b5b8c1461091157600080fd5b8063a457c2d71461082c578063a4c82a001461084c578063a9059cbb14610862578063b62496f51461088257600080fd5b80639c3b4fdc116101b65780639c3b4fdc146107d45780639ec22c0e146107ea5780639fccce3214610800578063a0d82dc51461081657600080fd5b80639213691314610789578063924de9b71461079f57806395d89b41146107bf57600080fd5b8063313ce567116102c157806370a082311161025f5780637bce5a041161022e5780637bce5a04146107155780638095d5641461072b5780638da5cb5b1461074b5780638ea5220f1461076957600080fd5b806370a082311461068a578063715018a6146106c05780637571336a146106d557806375f0a874146106f557600080fd5b80634a62bb651161029b5780634a62bb65146106025780634fbee1931461061c5780636a486a8e146106545780636ddd17131461066a57600080fd5b8063313ce5671461059257806339509351146105ae57806349bd5a5e146105ce57600080fd5b8063199ffc72116103395780632688f539116103085780632688f5391461053757806327c8f8351461054c5780632c3e486c146105625780632e82f1a01461057857600080fd5b8063199ffc72146104d55780631a8145bb146104eb5780631f3fed8f1461050157806323b872dd1461051757600080fd5b806311a582c31161037557806311a582c3146104325780631694505e1461045457806318160ddd146104a0578063184c16c5146104bf57600080fd5b806306fdde03146103a7578063095ea7b3146103d257806310d5de531461040257600080fd5b366103a257005b600080fd5b3480156103b357600080fd5b506103bc610afa565b6040516103c991906126b7565b60405180910390f35b3480156103de57600080fd5b506103f26103ed36600461271d565b610b8c565b60405190151581526020016103c9565b34801561040e57600080fd5b506103f261041d366004612749565b60216020526000908152604090205460ff1681565b34801561043e57600080fd5b5061045261044d366004612766565b610ba3565b005b34801561046057600080fd5b506104887f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016103c9565b3480156104ac57600080fd5b506002545b6040519081526020016103c9565b3480156104cb57600080fd5b506104b1600f5481565b3480156104e157600080fd5b506104b1600b5481565b3480156104f757600080fd5b506104b1601e5481565b34801561050d57600080fd5b506104b1601d5481565b34801561052357600080fd5b506103f2610532366004612788565b610d09565b34801561054357600080fd5b506103f2610d72565b34801561055857600080fd5b5061048861dead81565b34801561056e57600080fd5b506104b1600d5481565b34801561058457600080fd5b50600c546103f29060ff1681565b34801561059e57600080fd5b50604051601281526020016103c9565b3480156105ba57600080fd5b506103f26105c936600461271d565b610dbb565b3480156105da57600080fd5b506104887f0000000000000000000000009e4e09aef629555ebe735ec086843dfa98770c1881565b34801561060e57600080fd5b506011546103f29060ff1681565b34801561062857600080fd5b506103f2610637366004612749565b6001600160a01b0316600090815260208052604090205460ff1690565b34801561066057600080fd5b506104b160195481565b34801561067657600080fd5b506011546103f29062010000900460ff1681565b34801561069657600080fd5b506104b16106a5366004612749565b6001600160a01b031660009081526020819052604090205490565b3480156106cc57600080fd5b50610452610df1565b3480156106e157600080fd5b506104526106f03660046127d9565b610e65565b34801561070157600080fd5b50600654610488906001600160a01b031681565b34801561072157600080fd5b506104b160165481565b34801561073757600080fd5b5061045261074636600461280e565b610eba565b34801561075757600080fd5b506005546001600160a01b0316610488565b34801561077557600080fd5b50600754610488906001600160a01b031681565b34801561079557600080fd5b506104b1601a5481565b3480156107ab57600080fd5b506104526107ba36600461283a565b610f62565b3480156107cb57600080fd5b506103bc610fa8565b3480156107e057600080fd5b506104b160185481565b3480156107f657600080fd5b506104b160105481565b34801561080c57600080fd5b506104b1601f5481565b34801561082257600080fd5b506104b1601c5481565b34801561083857600080fd5b506103f261084736600461271d565b610fb7565b34801561085857600080fd5b506104b1600e5481565b34801561086e57600080fd5b506103f261087d36600461271d565b611006565b34801561088e57600080fd5b506103f261089d366004612749565b60226020526000908152604090205460ff1681565b3480156108be57600080fd5b506011546103f290610100900460ff1681565b3480156108dd57600080fd5b506104526108ec366004612749565b611013565b3480156108fd57600080fd5b5061045261090c3660046127d9565b61105f565b34801561091d57600080fd5b5061045261092c36600461280e565b6110b3565b34801561093d57600080fd5b506014546103f29060ff1681565b34801561095757600080fd5b506104b160085481565b34801561096d57600080fd5b50610452611156565b34801561098257600080fd5b506103f2610991366004612855565b611197565b3480156109a257600080fd5b506104b160155481565b3480156109b857600080fd5b506104b16109c736600461286e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156109fe57600080fd5b506104b160095481565b348015610a1457600080fd5b50610452610a233660046127d9565b61125c565b348015610a3457600080fd5b50610452610a43366004612749565b611307565b348015610a5457600080fd5b506104b160175481565b348015610a6a57600080fd5b50610452610a79366004612749565b611353565b348015610a8a57600080fd5b506104b1601b5481565b348015610aa057600080fd5b506104b1600a5481565b348015610ab657600080fd5b506103f2610ac5366004612749565b60136020526000908152604090205460ff1681565b348015610ae657600080fd5b506103f2610af5366004612855565b61143e565b606060038054610b09906128a7565b80601f0160208091040260200160405190810160405280929190818152602001828054610b35906128a7565b8015610b825780601f10610b5757610100808354040283529160200191610b82565b820191906000526020600020905b815481529060010190602001808311610b6557829003601f168201915b5050505050905090565b6000610b99338484611690565b5060015b92915050565b6005546001600160a01b03163314610bd65760405162461bcd60e51b8152600401610bcd906128e1565b60405180910390fd5b6001821015610c3d5760405162461bcd60e51b815260206004820152602d60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526c6c6f776572207468616e20312560981b6064820152608401610bcd565b670de0b6b3a7640000606483610c5260025490565b610c5c919061292c565b610c669190612943565b610c709190612943565b6008556001811015610ccf5760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015261312560f01b6064820152608401610bcd565b670de0b6b3a7640000606482610ce460025490565b610cee919061292c565b610cf89190612943565b610d029190612943565b600a555050565b6000610d168484846117b5565b610d688433610d6385604051806060016040528060288152602001612b25602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190612077565b611690565b5060019392505050565b6005546000906001600160a01b03163314610d9f5760405162461bcd60e51b8152600401610bcd906128e1565b506011805460ff19908116909155601480549091169055600190565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610b99918590610d6390866120b1565b6005546001600160a01b03163314610e1b5760405162461bcd60e51b8152600401610bcd906128e1565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b03163314610e8f5760405162461bcd60e51b8152600401610bcd906128e1565b6001600160a01b03919091166000908152602160205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610ee45760405162461bcd60e51b8152600401610bcd906128e1565b60168390556017829055601881905580610efe8385612965565b610f089190612965565b601581905560231015610f5d5760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420323025206f72206c6573730000006044820152606401610bcd565b505050565b6005546001600160a01b03163314610f8c5760405162461bcd60e51b8152600401610bcd906128e1565b60118054911515620100000262ff000019909216919091179055565b606060048054610b09906128a7565b6000610b993384610d6385604051806060016040528060258152602001612b4d602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190612077565b6000610b993384846117b5565b6005546001600160a01b0316331461103d5760405162461bcd60e51b8152600401610bcd906128e1565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146110895760405162461bcd60e51b8152600401610bcd906128e1565b6001600160a01b039190911660009081526020805260409020805460ff1916911515919091179055565b6005546001600160a01b031633146110dd5760405162461bcd60e51b8152600401610bcd906128e1565b601a839055601b829055601c819055806110f78385612965565b6111019190612965565b601981905560631015610f5d5760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420323525206f72206c6573730000006044820152606401610bcd565b6005546001600160a01b031633146111805760405162461bcd60e51b8152600401610bcd906128e1565b6011805462ffff0019166201010017905542600e55565b6005546000906001600160a01b031633146111c45760405162461bcd60e51b8152600401610bcd906128e1565b60018211156112305760405162461bcd60e51b815260206004820152603260248201527f5377617020616d6f756e742063616e6e6f74206265206869676865722074686160448201527137101892903a37ba30b61039bab838363c9760711b6064820152608401610bcd565b60648261123c60025490565b611246919061292c565b6112509190612943565b6009555060015b919050565b6005546001600160a01b031633146112865760405162461bcd60e51b8152600401610bcd906128e1565b6001600160a01b0382166112dc5760405162461bcd60e51b815260206004820152601760248201527f416464726573732073686f756c64206e6f7420626520300000000000000000006044820152606401610bcd565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146113315760405162461bcd60e51b8152600401610bcd906128e1565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461137d5760405162461bcd60e51b8152600401610bcd906128e1565b6001600160a01b0381166113e25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bcd565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546000906001600160a01b0316331461146b5760405162461bcd60e51b8152600401610bcd906128e1565b600f5460105461147b9190612965565b42116114c95760405162461bcd60e51b815260206004820181905260248201527f4d757374207761697420666f7220636f6f6c646f776e20746f2066696e6973686044820152606401610bcd565b6103e882111561152e5760405162461bcd60e51b815260206004820152602a60248201527f4d6179206e6f74206e756b65206d6f7265207468616e20313025206f6620746f60448201526906b656e7320696e204c560b41b6064820152608401610bcd565b426010556040516370a0823160e01b81526001600160a01b037f0000000000000000000000009e4e09aef629555ebe735ec086843dfa98770c1816600482015260009030906370a0823190602401602060405180830381865afa158015611599573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115bd9190612978565b905060006127106115ce858461292c565b6115d89190612943565b9050801561160d5761160d7f0000000000000000000000009e4e09aef629555ebe735ec086843dfa98770c1861dead83612117565b60007f0000000000000000000000009e4e09aef629555ebe735ec086843dfa98770c189050806001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561166d57600080fd5b505af1158015611681573d6000803e3d6000fd5b50600198975050505050505050565b6001600160a01b0383166116f25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610bcd565b6001600160a01b0382166117535760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610bcd565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166117db5760405162461bcd60e51b8152600401610bcd90612991565b6001600160a01b0382166118015760405162461bcd60e51b8152600401610bcd906129d6565b6001600160a01b03831660009081526013602052604090205460ff1615801561184357506001600160a01b03821660009081526013602052604090205460ff16155b61187d5760405162461bcd60e51b815260206004820152600b60248201526a109b1858dadb1a5cdd195960aa1b6044820152606401610bcd565b8060000361189157610f5d83836000612117565b60115460ff1615611d4c576005546001600160a01b038481169116148015906118c857506005546001600160a01b03838116911614155b80156118dc57506001600160a01b03821615155b80156118f357506001600160a01b03821661dead14155b80156119095750600554600160a01b900460ff16155b15611d4c57601154610100900460ff1661199f576001600160a01b038316600090815260208052604090205460ff168061195a57506001600160a01b038216600090815260208052604090205460ff165b61199f5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610bcd565b60145460ff1615611ae6576005546001600160a01b038381169116148015906119fa57507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316826001600160a01b031614155b8015611a3857507f0000000000000000000000009e4e09aef629555ebe735ec086843dfa98770c186001600160a01b0316826001600160a01b031614155b15611ae657326000908152601260205260409020544311611ad35760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610bcd565b3260009081526012602052604090204390555b6001600160a01b03831660009081526022602052604090205460ff168015611b2757506001600160a01b03821660009081526021602052604090205460ff16155b15611c0b57600854811115611b9c5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610bcd565b600a546001600160a01b038316600090815260208190526040902054611bc29083612965565b1115611c065760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610bcd565b611d4c565b6001600160a01b03821660009081526022602052604090205460ff168015611c4c57506001600160a01b03831660009081526021602052604090205460ff16155b15611cc257600854811115611c065760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610bcd565b6001600160a01b03821660009081526021602052604090205460ff16611d4c57600a546001600160a01b038316600090815260208190526040902054611d089083612965565b1115611d4c5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610bcd565b3060009081526020819052604090205460095481108015908190611d78575060115462010000900460ff165b8015611d8e5750600554600160a01b900460ff16155b8015611db357506001600160a01b03851660009081526022602052604090205460ff16155b8015611dd757506001600160a01b038516600090815260208052604090205460ff16155b8015611dfb57506001600160a01b038416600090815260208052604090205460ff16155b15611e29576005805460ff60a01b1916600160a01b179055611e1b612220565b6005805460ff60a01b191690555b6005546001600160a01b038616600090815260208052604090205460ff600160a01b909204821615911680611e7557506001600160a01b038516600090815260208052604090205460ff165b15611e7e575060005b60008115612063576001600160a01b03861660009081526022602052604090205460ff168015611eb057506000601954115b15611f6857606460195486611ec5919061292c565b611ecf9190612943565b9050601954601b5482611ee2919061292c565b611eec9190612943565b601e6000828254611efd9190612965565b9091555050601954601c54611f12908361292c565b611f1c9190612943565b601f6000828254611f2d9190612965565b9091555050601954601a54611f42908361292c565b611f4c9190612943565b601d6000828254611f5d9190612965565b909155506120459050565b6001600160a01b03871660009081526022602052604090205460ff168015611f9257506000601554115b1561204557606460155486611fa7919061292c565b611fb19190612943565b905060155460175482611fc4919061292c565b611fce9190612943565b601e6000828254611fdf9190612965565b9091555050601554601854611ff4908361292c565b611ffe9190612943565b601f600082825461200f9190612965565b9091555050601554601654612024908361292c565b61202e9190612943565b601d600082825461203f9190612965565b90915550505b801561205657612056873083612117565b6120608186612a19565b94505b61206e878787612117565b50505050505050565b6000818484111561209b5760405162461bcd60e51b8152600401610bcd91906126b7565b5060006120a88486612a19565b95945050505050565b6000806120be8385612965565b9050838110156121105760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610bcd565b9392505050565b6001600160a01b03831661213d5760405162461bcd60e51b8152600401610bcd90612991565b6001600160a01b0382166121635760405162461bcd60e51b8152600401610bcd906129d6565b6121a081604051806060016040528060268152602001612aff602691396001600160a01b0386166000908152602081905260409020549190612077565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546121cf90826120b1565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016117a8565b3060009081526020819052604081205490506000601f54601d54601e546122479190612965565b6122519190612965565b90506000821580612260575081155b1561226a57505050565b60095461227890601461292c565b8311156122905760095461228d90601461292c565b92505b6000600283601e54866122a3919061292c565b6122ad9190612943565b6122b79190612943565b905060006122c58286612a19565b9050476122d182612416565b60006122dd8247612a19565b9050600086601d54836122f0919061292c565b6122fa9190612943565b9050600087601f548461230d919061292c565b6123179190612943565b90506000816123268486612a19565b6123309190612a19565b6000601e819055601d819055601f8190556007546040519293506001600160a01b031691849181818185875af1925050503d806000811461238d576040519150601f19603f3d011682016040523d82523d6000602084013e612392565b606091505b509098505086158015906123a65750600081115b156123b5576123b587826125d6565b6006546040516001600160a01b03909116904790600081818185875af1925050503d8060008114612402576040519150601f19603f3d011682016040523d82523d6000602084013e612407565b606091505b50505050505050505050505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061244b5761244b612a2c565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156124c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124ed9190612a42565b8160018151811061250057612500612a2c565b60200260200101906001600160a01b031690816001600160a01b03168152505061254b307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611690565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac947906125a0908590600090869030904290600401612a5f565b600060405180830381600087803b1580156125ba57600080fd5b505af11580156125ce573d6000803e3d6000fd5b505050505050565b612601307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611690565b60405163f305d71960e01b815230600482015260248101839052600060448201819052606482015261dead60848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b03169063f305d71990839060c40160606040518083038185885af115801561268b573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906126b09190612ad0565b5050505050565b600060208083528351808285015260005b818110156126e4578581018301518582016040015282016126c8565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461271a57600080fd5b50565b6000806040838503121561273057600080fd5b823561273b81612705565b946020939093013593505050565b60006020828403121561275b57600080fd5b813561211081612705565b6000806040838503121561277957600080fd5b50508035926020909101359150565b60008060006060848603121561279d57600080fd5b83356127a881612705565b925060208401356127b881612705565b929592945050506040919091013590565b8035801515811461125757600080fd5b600080604083850312156127ec57600080fd5b82356127f781612705565b9150612805602084016127c9565b90509250929050565b60008060006060848603121561282357600080fd5b505081359360208301359350604090920135919050565b60006020828403121561284c57600080fd5b612110826127c9565b60006020828403121561286757600080fd5b5035919050565b6000806040838503121561288157600080fd5b823561288c81612705565b9150602083013561289c81612705565b809150509250929050565b600181811c908216806128bb57607f821691505b6020821081036128db57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610b9d57610b9d612916565b60008261296057634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610b9d57610b9d612916565b60006020828403121561298a57600080fd5b5051919050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610b9d57610b9d612916565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612a5457600080fd5b815161211081612705565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612aaf5784516001600160a01b031683529383019391830191600101612a8a565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215612ae557600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212209529dfc1b058703414f6838a71545617d5496776bb6c93748286cf8cb278745e64736f6c63430008130033
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.