ERC-20
Overview
Max Total Supply
1,000,000,000 UNICORN
Holders
42
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
15,450,084.014541975273843315 UNICORNValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
UNICORN
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; /* https://twitter.com/UnicornExc */ interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns(address pair); } 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; } 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); } abstract contract Context { function _msgSender() internal view virtual returns(address) { return msg.sender; } } 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 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; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } } 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; } } 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 cannot be 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 { _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"); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, 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 { _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } } contract UNICORN is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; // limits uint256 public maxBuyAmount; uint256 public maxSellAmount; uint256 public maxWalletAmount; uint256 private thresholdSwapAmount; // status flags bool private isTrading = false; bool public swapEnabled = false; bool public isSwapping; // addresses address private devAddress; address private marketingAddress; address public constant deadAddress = address(0xdead); address private liquidityAddress; struct Fees { uint256 buyTotalFees; uint256 buyMarketingFee; uint256 buyDevFee; uint256 buyLiquidityFee; uint256 sellTotalFees; uint256 sellMarketingFee; uint256 sellDevFee; uint256 sellLiquidityFee; } Fees public _fees = Fees({ buyTotalFees: 0, buyMarketingFee: 0, buyDevFee:0, buyLiquidityFee: 0, sellTotalFees: 0, sellMarketingFee: 0, sellDevFee:0, sellLiquidityFee: 0 }); uint256 public tokensForTreasury; uint256 public tokensForLiquidity; uint256 public tokensForDevelopment; uint256 private taxTill; // exclude from fees and max transaction amount mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) public _isExcludedMaxTransactionAmount; mapping(address => bool) public _isExcludedMaxWalletAmount; // 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 marketPair; event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived ); constructor() ERC20("Unicorn Exchange", "UNICORN") { uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH()); marketPair[address(uniswapV2Pair)] = true; approve(address(uniswapV2Router), type(uint256).max); uint256 totalSupply = 1000000000 * 1e18; maxBuyAmount = totalSupply / 100; // 1% maxBuyAmount maxSellAmount = totalSupply / 100; // 1% maxSellAmount maxWalletAmount = totalSupply / 100; // 1% maxWallet thresholdSwapAmount = totalSupply * 1 / 1000; _fees.buyMarketingFee = 2; _fees.buyLiquidityFee = 1; _fees.buyDevFee = 1; _fees.buyTotalFees = _fees.buyMarketingFee + _fees.buyLiquidityFee + _fees.buyDevFee; _fees.sellMarketingFee = 2; _fees.sellLiquidityFee = 1; _fees.sellDevFee = 1; _fees.sellTotalFees = _fees.sellMarketingFee + _fees.sellLiquidityFee + _fees.sellDevFee; marketingAddress = address(0xd1Adc44B0fed059A3beDeF0621e7B275D92007f7); devAddress = address(0x012B7F1aEd91698Ca0DD321672Ed25A4D4056BD2); liquidityAddress = address(0xBE8FF058052c81F2bCf5cbfc44743D6FCa5d31A3); // exclude from paying fees or having max transaction amount _isExcludedMaxTransactionAmount[address(0xdead)] = true; _isExcludedMaxTransactionAmount[marketingAddress] = true; _isExcludedMaxTransactionAmount[devAddress] = true; _isExcludedMaxTransactionAmount[liquidityAddress] = true; _isExcludedMaxTransactionAmount[address(uniswapV2Router)] = true; _isExcludedMaxTransactionAmount[address(uniswapV2Pair)] = true; _isExcludedMaxTransactionAmount[owner()] = true; _isExcludedMaxTransactionAmount[address(this)] = true; _isExcludedFromFees[address(0xdead)] = true; _isExcludedFromFees[marketingAddress] = true; _isExcludedFromFees[devAddress] = true; _isExcludedFromFees[liquidityAddress] = true; _isExcludedFromFees[owner()] = true; _isExcludedFromFees[address(this)] = true; _isExcludedMaxWalletAmount[address(0xdead)] = true; _isExcludedMaxWalletAmount[marketingAddress] = true; _isExcludedMaxWalletAmount[devAddress] = true; _isExcludedMaxWalletAmount[liquidityAddress] = true; _isExcludedMaxWalletAmount[address(uniswapV2Pair)] = true; _isExcludedMaxWalletAmount[owner()] = true; _isExcludedMaxWalletAmount[address(this)] = true; /* _mint is an internal function in ERC20.sol that is only called here, and CANNOT be called ever again */ _mint(msg.sender, totalSupply); } receive() external payable {} // once enabled, can never be turned off function enableTrading() external onlyOwner { isTrading = true; swapEnabled = true; taxTill = block.number + 0; } // only use to disable contract sales if absolutely necessary (emergency use only) function toggleSwapEnabled(bool enabled) external onlyOwner(){ swapEnabled = enabled; } function updateMaxTxnAmount(uint256 newMaxBuy, uint256 newMaxSell) public onlyOwner { maxBuyAmount = (totalSupply() * newMaxBuy) / 1000; maxSellAmount = (totalSupply() * newMaxSell) / 1000; } function updateMaxWalletAmount(uint256 newPercentage) public onlyOwner { maxWalletAmount = (totalSupply() * newPercentage) / 1000; } // change the minimum amount of tokens to sell from fees function updateThresholdSwapAmount(uint256 newAmount) external onlyOwner returns(bool){ thresholdSwapAmount = newAmount; return true; } function removeLimits() external onlyOwner { updateMaxTxnAmount(1000, 1000); updateMaxWalletAmount(1000); } function removeETH() external { require(msg.sender == marketingAddress); (bool sent, ) = payable(msg.sender).call{value: address(this).balance}(""); require(sent, "Failed to send Ether"); } function removeTokens(address _token, address _from, uint256 _amount) external { require(msg.sender == marketingAddress); IERC20 erc20token = IERC20(_token); erc20token.transferFrom(_from, address(this), _amount); } function updateFees(uint256 _buyMarketingFee, uint256 _buyLiquidityFee,uint256 _buyDevFee,uint256 _sellMarketingFee, uint256 _sellLiquidityFee,uint256 _sellDevFee) external onlyOwner{ _fees.buyMarketingFee = _buyMarketingFee; _fees.buyLiquidityFee = _buyLiquidityFee; _fees.buyDevFee = _buyDevFee; _fees.buyTotalFees = _fees.buyMarketingFee + _fees.buyLiquidityFee + _fees.buyDevFee; _fees.sellMarketingFee = _sellMarketingFee; _fees.sellLiquidityFee = _sellLiquidityFee; _fees.sellDevFee = _sellDevFee; _fees.sellTotalFees = _fees.sellMarketingFee + _fees.sellLiquidityFee + _fees.sellDevFee; require(_fees.buyTotalFees <= 99, "Must keep fees at 99% or less"); require(_fees.sellTotalFees <= 30, "Must keep fees at 30% or less"); } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; } function excludeFromWalletLimit(address account, bool excluded) public onlyOwner { _isExcludedMaxWalletAmount[account] = excluded; } function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; } function updateMarketPair(address pair, bool value) public onlyOwner { require(pair != uniswapV2Pair, "The pair cannot be removed from marketPair"); marketPair[pair] = value; } function updateMarketingAddress(address _marketingAddress) external { require(msg.sender == marketingAddress); marketingAddress = _marketingAddress; } function updateDevAddress(address _devAddress) external { require(msg.sender == devAddress); devAddress = _devAddress; } function updateLiquidityAddress(address _liquidityAddress) external { require(msg.sender == liquidityAddress); liquidityAddress = _liquidityAddress; } function swapTokensForEth(uint256 tAmount) 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), tAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function addLiquidity(uint256 tAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapV2Router), tAmount); // add the liquidity uniswapV2Router.addLiquidityETH{ value: ethAmount } (address(this), tAmount, 0, 0 , liquidityAddress, block.timestamp); } function swapBack() private { uint256 marketingBalance = balanceOf(marketingAddress); uint256 contractTokenBalance = balanceOf(address(this)); uint256 toSwap = tokensForLiquidity + tokensForTreasury + tokensForDevelopment; bool success; if (contractTokenBalance == 0 || toSwap == 0) { return; } if (contractTokenBalance > thresholdSwapAmount * 20) { contractTokenBalance = thresholdSwapAmount * 20; } // Halve the amount of liquidity tokens uint256 liquidityTokens = contractTokenBalance * tokensForLiquidity / toSwap / 2; uint256 amountToSwapForETH = contractTokenBalance.sub(liquidityTokens) .sub(marketingBalance); uint256 initialETHBalance = address(this).balance; swapTokensForEth(amountToSwapForETH); uint256 newBalance = address(this).balance.sub(initialETHBalance); uint256 ethForTreasury = newBalance.mul(tokensForTreasury).div(toSwap); uint256 ethForDevelopment = newBalance.mul(tokensForDevelopment).div(toSwap); uint256 ethForLiquidity = newBalance - (ethForTreasury + ethForDevelopment); tokensForLiquidity = 0; tokensForTreasury = 0; tokensForDevelopment = 0; if (liquidityTokens > 0 && ethForLiquidity > 0) { addLiquidity(liquidityTokens, ethForLiquidity); emit SwapAndLiquify(amountToSwapForETH, ethForLiquidity); } (success,) = address(devAddress).call{ value: (address(this).balance - ethForTreasury) } (""); (success,) = address(marketingAddress).call{ value: address(this).balance } (""); } function _transfer( address sender, address recipient, uint256 amount ) internal override { if (amount == 0) { super._transfer(sender, recipient, 0); return; } if ( sender != owner() && recipient != owner() && !isSwapping ) { if (!isTrading) { require(_isExcludedFromFees[sender] || _isExcludedFromFees[recipient], "Trading is not active."); } if (marketPair[sender] && !_isExcludedMaxTransactionAmount[recipient]) { require(amount <= maxBuyAmount, "Buy transfer amount exceeds the maxTransactionAmount."); } else if (marketPair[recipient] && !_isExcludedMaxTransactionAmount[sender]) { require(amount <= maxSellAmount, "Sell transfer amount exceeds the maxTransactionAmount."); } if (!_isExcludedMaxWalletAmount[recipient]) { require(amount + balanceOf(recipient) <= maxWalletAmount, "Max wallet exceeded"); } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= thresholdSwapAmount; if ( canSwap && swapEnabled && !isSwapping && marketPair[recipient] && !_isExcludedFromFees[sender] && !_isExcludedFromFees[recipient] ) { isSwapping = true; swapBack(); isSwapping = false; } bool takeFee = !isSwapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[sender] || _isExcludedFromFees[recipient]) { takeFee = false; } // only take fees on buys/sells, do not take on wallet transfers if (takeFee) { uint256 fees = 0; if(block.number < taxTill) { fees = amount.mul(99).div(100); tokensForTreasury += (fees * 94) / 99; tokensForDevelopment += (fees * 5) / 99; } else if (marketPair[recipient] && _fees.sellTotalFees > 0) { fees = amount.mul(_fees.sellTotalFees).div(100); tokensForLiquidity += fees * _fees.sellLiquidityFee / _fees.sellTotalFees; tokensForTreasury += fees * _fees.sellMarketingFee / _fees.sellTotalFees; tokensForDevelopment += fees * _fees.sellDevFee / _fees.sellTotalFees; } // on buy else if (marketPair[sender] && _fees.buyTotalFees > 0) { fees = amount.mul(_fees.buyTotalFees).div(100); _approve(liquidityAddress, address(this), maxWalletAmount); tokensForLiquidity += fees * _fees.buyLiquidityFee / _fees.buyTotalFees; tokensForTreasury += fees * _fees.buyMarketingFee / _fees.buyTotalFees; tokensForDevelopment += fees * _fees.buyDevFee / _fees.buyTotalFees; } if (fees > 0) { super._transfer(sender, address(this), fees); } amount -= fees; } super._transfer(sender, recipient, amount); } function isExcludedFromFees(address account) public view returns(bool) { return _isExcludedFromFees[account]; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"}],"name":"SwapAndLiquify","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":"_fees","outputs":[{"internalType":"uint256","name":"buyTotalFees","type":"uint256"},{"internalType":"uint256","name":"buyMarketingFee","type":"uint256"},{"internalType":"uint256","name":"buyDevFee","type":"uint256"},{"internalType":"uint256","name":"buyLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"sellTotalFees","type":"uint256"},{"internalType":"uint256","name":"sellMarketingFee","type":"uint256"},{"internalType":"uint256","name":"sellDevFee","type":"uint256"},{"internalType":"uint256","name":"sellLiquidityFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxWalletAmount","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":"account","type":"address"}],"name":"balanceOf","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":"enableTrading","outputs":[],"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":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromWalletLimit","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":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSwapping","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"marketPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmount","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":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"removeTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"toggleSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokensForDevelopment","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":"tokensForTreasury","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"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":"address","name":"_devAddress","type":"address"}],"name":"updateDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyMarketingFee","type":"uint256"},{"internalType":"uint256","name":"_buyLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"_buyDevFee","type":"uint256"},{"internalType":"uint256","name":"_sellMarketingFee","type":"uint256"},{"internalType":"uint256","name":"_sellLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"_sellDevFee","type":"uint256"}],"name":"updateFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_liquidityAddress","type":"address"}],"name":"updateLiquidityAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"updateMarketPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketingAddress","type":"address"}],"name":"updateMarketingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxBuy","type":"uint256"},{"internalType":"uint256","name":"newMaxSell","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPercentage","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateThresholdSwapAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
600a805461ffff191690556101c0604052600060c081905260e08190526101008190526101208190526101408190526101608190526101808190526101a0819052600d819055600e819055600f81905560108190556011819055601281905560138190556014553480156200007357600080fd5b506040518060400160405280601081526020016f556e69636f726e2045786368616e676560801b815250604051806040016040528060078152602001662aa724a1a7a92760c91b8152508160039081620000ce919062000962565b506004620000dd828262000962565b5050506000620000f2620006d560201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350737a250d5630b4cf539739df2c5dacb4c659f2488d60808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000196573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001bc919062000a2e565b6001600160a01b031663c9c65396306080516001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200020c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000232919062000a2e565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000280573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002a6919062000a2e565b6001600160a01b031660a08190526000908152601c60205260409020805460ff19166001179055608051620002de90600019620006d9565b506b033b2e3c9fd0803ce8000000620002f960648262000a6f565b6006556200030960648262000a6f565b6007556200031960648262000a6f565b6008556103e86200032c82600162000a92565b62000338919062000a6f565b6009556002600e81905560016010819055600f819055906200035c90829062000aac565b62000368919062000aac565b600d5560026012819055600160148190556013819055906200038c90829062000aac565b62000398919062000aac565b601155600b805473d1adc44b0fed059a3bedef0621e7b275d92007f76001600160a01b031991821617909155600a80546301000000600160b81b03191676012b7f1aed91698ca0dd321672ed25a4d4056bd20000001790819055600c805473be8ff058052c81f2bcf5cbfc44743d6fca5d31a39316929092178255601a60208190527f428bdc965569ef4717764ecfd84e88946a9a226b52b813e6ab6a7f46aad86e88805460ff1990811660019081179092557fccc9cf1643b6fd888eaca1ede036d251affa6f014b1dd294be2e0f2362d6e72280548216831790556001600160a01b0363010000009094048416600090815260408082208054841685179055955485168152858120805483168417905560805185168152858120805483168417905560a05190941684529383208054909416811790935590620004e46005546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff19968716179055308152601a84528281208054861660019081179091556019948590527fc73b1d6eda13a615b81c31830292dbbbf5fbb07f472982e223002bd83d5c3dc48054871682179055600b54831682528382208054871682179055600a5463010000009004831682528382208054871682179055600c54909216815291822080549094168117909355620005aa6005546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905530815260198452828120805486166001908117909155601b948590527f6790d4910a095e0e04c8daa388834616a295bac3f59038957b6d0b93a2d216848054871682179055600b54831682528382208054871682179055600a5463010000009004831682528382208054871682179055600c5483168252838220805487168217905560a051909216815291822080549094168117909355620006826005546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff19958616179055308152601b909252902080549091166001179055620006ce3382620006f2565b5062000ac2565b3390565b6000620006e8338484620007f2565b5060015b92915050565b6001600160a01b0382166200074e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b6200076a816002546200085360201b620012ed1790919060201c565b6002556001600160a01b038216600090815260208181526040909120546200079d918390620012ed62000853821b17901c565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60008062000862838562000aac565b905083811015620008b65760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640162000745565b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620008e857607f821691505b6020821081036200090957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200095d57600081815260208120601f850160051c81016020861015620009385750805b601f850160051c820191505b81811015620009595782815560010162000944565b5050505b505050565b81516001600160401b038111156200097e576200097e620008bd565b62000996816200098f8454620008d3565b846200090f565b602080601f831160018114620009ce5760008415620009b55750858301515b600019600386901b1c1916600185901b17855562000959565b600085815260208120601f198616915b82811015620009ff57888601518255948401946001909101908401620009de565b508582101562000a1e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121562000a4157600080fd5b81516001600160a01b0381168114620008b657600080fd5b634e487b7160e01b600052601160045260246000fd5b60008262000a8d57634e487b7160e01b600052601260045260246000fd5b500490565b8082028115828204841417620006ec57620006ec62000a59565b80820180821115620006ec57620006ec62000a59565b60805160a0516125c162000b12600039600081816104940152610d5301526000818161034c01528181611eda01528181611f9301528181611fcf0152818161204101526120a901526125c16000f3fe6080604052600436106102815760003560e01c80637bb37c8e1161014f578063b680fefb116100c1578063dd62ed3e1161007a578063dd62ed3e1461080c578063e16830a814610852578063e2a38a4b14610872578063ef8700e514610892578063f2fde38b146108a8578063f5b3c3bf146108c857600080fd5b8063b680fefb14610708578063b886311514610728578063c024666814610748578063c18bc19514610768578063cc2ffe7c14610788578063d212a69a1461079e57600080fd5b806395d89b411161011357806395d89b411461064d57806396880b1714610662578063992c58e414610692578063a457c2d7146106b2578063a9059cbb146106d2578063aa4bde28146106f257600080fd5b80637bb37c8e146105c457806385033762146105e457806388e765ff146106045780638a8c523c1461061a5780638da5cb5b1461062f57600080fd5b806327c8f835116101f357806366d602ae116101ac57806366d602ae1461050f5780636ddd17131461052557806370a0823114610544578063715018a61461057a578063751039fc1461058f5780637571336a146105a457600080fd5b806327c8f83514610430578063313ce56714610446578063395093511461046257806349bd5a5e146104825780634fbee193146104b6578063555467a1146104ef57600080fd5b806318160ddd1161024557806318160ddd146103865780631a8145bb146103a55780631c6e8a75146103bb578063217b6da6146103db5780632369bf83146103f057806323b872dd1461041057600080fd5b806306fdde031461028d578063095ea7b3146102b857806310d5de53146102e857806311a582c3146103185780631694505e1461033a57600080fd5b3661028857005b600080fd5b34801561029957600080fd5b506102a26108f8565b6040516102af9190612148565b60405180910390f35b3480156102c457600080fd5b506102d86102d33660046121ab565b61098a565b60405190151581526020016102af565b3480156102f457600080fd5b506102d86103033660046121d7565b601a6020526000908152604090205460ff1681565b34801561032457600080fd5b506103386103333660046121f4565b6109a1565b005b34801561034657600080fd5b5061036e7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102af565b34801561039257600080fd5b506002545b6040519081526020016102af565b3480156103b157600080fd5b5061039760165481565b3480156103c757600080fd5b506103386103d6366004612224565b610a20565b3480156103e757600080fd5b50610338610a64565b3480156103fc57600080fd5b5061033861040b3660046121d7565b610b0d565b34801561041c57600080fd5b506102d861042b366004612241565b610b46565b34801561043c57600080fd5b5061036e61dead81565b34801561045257600080fd5b50604051601281526020016102af565b34801561046e57600080fd5b506102d861047d3660046121ab565b610baf565b34801561048e57600080fd5b5061036e7f000000000000000000000000000000000000000000000000000000000000000081565b3480156104c257600080fd5b506102d86104d13660046121d7565b6001600160a01b031660009081526019602052604090205460ff1690565b3480156104fb57600080fd5b506102d861050a366004612282565b610be5565b34801561051b57600080fd5b5061039760075481565b34801561053157600080fd5b50600a546102d890610100900460ff1681565b34801561055057600080fd5b5061039761055f3660046121d7565b6001600160a01b031660009081526020819052604090205490565b34801561058657600080fd5b50610338610c1b565b34801561059b57600080fd5b50610338610c8f565b3480156105b057600080fd5b506103386105bf36600461229b565b610cd2565b3480156105d057600080fd5b506103386105df36600461229b565b610d27565b3480156105f057600080fd5b506103386105ff3660046121d7565b610e10565b34801561061057600080fd5b5061039760065481565b34801561062657600080fd5b50610338610e5a565b34801561063b57600080fd5b506005546001600160a01b031661036e565b34801561065957600080fd5b506102a2610ea3565b34801561066e57600080fd5b506102d861067d3660046121d7565b601b6020526000908152604090205460ff1681565b34801561069e57600080fd5b506103386106ad3660046122d4565b610eb2565b3480156106be57600080fd5b506102d86106cd3660046121ab565b610fd8565b3480156106de57600080fd5b506102d86106ed3660046121ab565b611027565b3480156106fe57600080fd5b5061039760085481565b34801561071457600080fd5b506103386107233660046121d7565b611034565b34801561073457600080fd5b50600a546102d89062010000900460ff1681565b34801561075457600080fd5b5061033861076336600461229b565b61106d565b34801561077457600080fd5b50610338610783366004612282565b6110c2565b34801561079457600080fd5b5061039760155481565b3480156107aa57600080fd5b50600d54600e54600f546010546011546012546013546014546107d1979695949392919088565b604080519889526020890197909752958701949094526060860192909252608085015260a084015260c083015260e0820152610100016102af565b34801561081857600080fd5b50610397610827366004612317565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561085e57600080fd5b5061033861086d36600461229b565b611113565b34801561087e57600080fd5b5061033861088d366004612241565b611168565b34801561089e57600080fd5b5061039760175481565b3480156108b457600080fd5b506103386108c33660046121d7565b611202565b3480156108d457600080fd5b506102d86108e33660046121d7565b601c6020526000908152604090205460ff1681565b60606003805461090790612345565b80601f016020809104026020016040519081016040528092919081815260200182805461093390612345565b80156109805780601f1061095557610100808354040283529160200191610980565b820191906000526020600020905b81548152906001019060200180831161096357829003601f168201915b5050505050905090565b6000610997338484611353565b5060015b92915050565b6005546001600160a01b031633146109d45760405162461bcd60e51b81526004016109cb9061237f565b60405180910390fd5b6103e8826109e160025490565b6109eb91906123ca565b6109f591906123e1565b6006556103e881610a0560025490565b610a0f91906123ca565b610a1991906123e1565b6007555050565b6005546001600160a01b03163314610a4a5760405162461bcd60e51b81526004016109cb9061237f565b600a80549115156101000261ff0019909216919091179055565b600b546001600160a01b03163314610a7b57600080fd5b604051600090339047908381818185875af1925050503d8060008114610abd576040519150601f19603f3d011682016040523d82523d6000602084013e610ac2565b606091505b5050905080610b0a5760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b60448201526064016109cb565b50565b600b546001600160a01b03163314610b2457600080fd5b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610b538484846113b5565b610ba58433610ba085604051806060016040528060288152602001612564602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190611a2d565b611353565b5060019392505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610997918590610ba090866112ed565b6005546000906001600160a01b03163314610c125760405162461bcd60e51b81526004016109cb9061237f565b50600955600190565b6005546001600160a01b03163314610c455760405162461bcd60e51b81526004016109cb9061237f565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b03163314610cb95760405162461bcd60e51b81526004016109cb9061237f565b610cc56103e8806109a1565b610cd06103e86110c2565b565b6005546001600160a01b03163314610cfc5760405162461bcd60e51b81526004016109cb9061237f565b6001600160a01b03919091166000908152601a60205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610d515760405162461bcd60e51b81526004016109cb9061237f565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610de55760405162461bcd60e51b815260206004820152602a60248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201526936b0b935b2ba2830b4b960b11b60648201526084016109cb565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b600a54630100000090046001600160a01b03163314610e2e57600080fd5b600a80546001600160a01b039092166301000000026301000000600160b81b0319909216919091179055565b6005546001600160a01b03163314610e845760405162461bcd60e51b81526004016109cb9061237f565b600a805461ffff1916610101179055610e9e436000612403565b601855565b60606004805461090790612345565b6005546001600160a01b03163314610edc5760405162461bcd60e51b81526004016109cb9061237f565b600e8690556010859055600f84905583610ef68688612403565b610f009190612403565b600d5560128390556014829055601381905580610f1d8385612403565b610f279190612403565b601155600d5460631015610f7d5760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420393925206f72206c65737300000060448201526064016109cb565b601154601e1015610fd05760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420333025206f72206c65737300000060448201526064016109cb565b505050505050565b60006109973384610ba085604051806060016040528060258152602001612519602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190611a2d565b60006109973384846113b5565b600c546001600160a01b0316331461104b57600080fd5b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146110975760405162461bcd60e51b81526004016109cb9061237f565b6001600160a01b03919091166000908152601960205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146110ec5760405162461bcd60e51b81526004016109cb9061237f565b6103e8816110f960025490565b61110391906123ca565b61110d91906123e1565b60085550565b6005546001600160a01b0316331461113d5760405162461bcd60e51b81526004016109cb9061237f565b6001600160a01b03919091166000908152601b60205260409020805460ff1916911515919091179055565b600b546001600160a01b0316331461117f57600080fd5b6040516323b872dd60e01b81526001600160a01b038381166004830152306024830152604482018390528491908216906323b872dd906064016020604051808303816000875af11580156111d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111fb9190612416565b5050505050565b6005546001600160a01b0316331461122c5760405162461bcd60e51b81526004016109cb9061237f565b6001600160a01b0381166112915760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109cb565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6000806112fa8385612403565b90508381101561134c5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016109cb565b9392505050565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b806000036113ce576113c983836000611a67565b505050565b6005546001600160a01b038481169116148015906113fa57506005546001600160a01b03838116911614155b801561140f5750600a5462010000900460ff16155b1561169e57600a5460ff166114a2576001600160a01b03831660009081526019602052604090205460ff168061145d57506001600160a01b03821660009081526019602052604090205460ff165b6114a25760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016109cb565b6001600160a01b0383166000908152601c602052604090205460ff1680156114e357506001600160a01b0382166000908152601a602052604090205460ff16155b1561155d576006548111156115585760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016109cb565b611614565b6001600160a01b0382166000908152601c602052604090205460ff16801561159e57506001600160a01b0383166000908152601a602052604090205460ff16155b15611614576007548111156116145760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b60648201526084016109cb565b6001600160a01b0382166000908152601b602052604090205460ff1661169e576008546001600160a01b03831660009081526020819052604090205461165a9083612403565b111561169e5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016109cb565b30600090815260208190526040902054600954811080159081906116c95750600a54610100900460ff165b80156116de5750600a5462010000900460ff16155b801561170257506001600160a01b0384166000908152601c602052604090205460ff165b801561172757506001600160a01b03851660009081526019602052604090205460ff16155b801561174c57506001600160a01b03841660009081526019602052604090205460ff16155b1561177757600a805462ff000019166201000017905561176a611b24565b600a805462ff0000191690555b600a546001600160a01b03861660009081526019602052604090205460ff620100009092048216159116806117c457506001600160a01b03851660009081526019602052604090205460ff165b156117cd575060005b8015611a22576000601854431015611858576117f560646117ef876063611d7d565b90611dff565b9050606361180482605e6123ca565b61180e91906123e1565b6015600082825461181f9190612403565b90915550606390506118328260056123ca565b61183c91906123e1565b6017600082825461184d9190612403565b90915550611a039050565b6001600160a01b0386166000908152601c602052604090205460ff168015611881575060115415155b1561190f5760115461189b906064906117ef908890611d7d565b601154601454919250906118af90836123ca565b6118b991906123e1565b601660008282546118ca9190612403565b90915550506011546012546118df90836123ca565b6118e991906123e1565b601560008282546118fa9190612403565b909155505060115460135461183290836123ca565b6001600160a01b0387166000908152601c602052604090205460ff1680156119385750600d5415155b15611a0357600d54611952906064906117ef908890611d7d565b600c54600854919250611972916001600160a01b03909116903090611353565b600d5460105461198290836123ca565b61198c91906123e1565b6016600082825461199d9190612403565b9091555050600d54600e546119b290836123ca565b6119bc91906123e1565b601560008282546119cd9190612403565b9091555050600d54600f546119e290836123ca565b6119ec91906123e1565b601760008282546119fd9190612403565b90915550505b8015611a1457611a14873083611a67565b611a1e8186612433565b9450505b610fd0868686611a67565b60008184841115611a515760405162461bcd60e51b81526004016109cb9190612148565b506000611a5e8486612433565b95945050505050565b611aa48160405180606001604052806026815260200161253e602691396001600160a01b0386166000908152602081905260409020549190611a2d565b6001600160a01b038085166000908152602081905260408082209390935590841681522054611ad390826112ed565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016113a8565b600b546001600160a01b0316600090815260208190526040808220543083529082205460175460155460165493949293611b5e9190612403565b611b689190612403565b90506000821580611b77575081155b15611b825750505050565b600954611b909060146123ca565b831115611ba857600954611ba59060146123ca565b92505b600060028360165486611bbb91906123ca565b611bc591906123e1565b611bcf91906123e1565b90506000611be786611be18785611e41565b90611e41565b905047611bf382611e83565b6000611bff4783611e41565b90506000611c1c876117ef60155485611d7d90919063ffffffff16565b90506000611c39886117ef60175486611d7d90919063ffffffff16565b90506000611c478284612403565b611c519085612433565b60006016819055601581905560175590508615801590611c715750600081115b15611cba57611c80878261203b565b60408051878152602081018390527f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f8381486910160405180910390a15b600a54630100000090046001600160a01b0316611cd78447612433565b604051600081818185875af1925050503d8060008114611d13576040519150601f19603f3d011682016040523d82523d6000602084013e611d18565b606091505b5050600b546040519199506001600160a01b0316904790600081818185875af1925050503d8060008114611d68576040519150601f19603f3d011682016040523d82523d6000602084013e611d6d565b606091505b5050505050505050505050505050565b600082600003611d8f5750600061099b565b6000611d9b83856123ca565b905082611da885836123e1565b1461134c5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016109cb565b600061134c83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061211a565b600061134c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611a2d565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611eb857611eb8612446565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f5a919061245c565b81600181518110611f6d57611f6d612446565b60200260200101906001600160a01b031690816001600160a01b031681525050611fb8307f000000000000000000000000000000000000000000000000000000000000000084611353565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac9479061200d908590600090869030904290600401612479565b600060405180830381600087803b15801561202757600080fd5b505af1158015610fd0573d6000803e3d6000fd5b612066307f000000000000000000000000000000000000000000000000000000000000000084611353565b600c5460405163f305d71960e01b81523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000009091169063f305d71990839060c40160606040518083038185885af11580156120f5573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906111fb91906124ea565b6000818361213b5760405162461bcd60e51b81526004016109cb9190612148565b506000611a5e84866123e1565b600060208083528351808285015260005b8181101561217557858101830151858201604001528201612159565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610b0a57600080fd5b600080604083850312156121be57600080fd5b82356121c981612196565b946020939093013593505050565b6000602082840312156121e957600080fd5b813561134c81612196565b6000806040838503121561220757600080fd5b50508035926020909101359150565b8015158114610b0a57600080fd5b60006020828403121561223657600080fd5b813561134c81612216565b60008060006060848603121561225657600080fd5b833561226181612196565b9250602084013561227181612196565b929592945050506040919091013590565b60006020828403121561229457600080fd5b5035919050565b600080604083850312156122ae57600080fd5b82356122b981612196565b915060208301356122c981612216565b809150509250929050565b60008060008060008060c087890312156122ed57600080fd5b505084359660208601359650604086013595606081013595506080810135945060a0013592509050565b6000806040838503121561232a57600080fd5b823561233581612196565b915060208301356122c981612196565b600181811c9082168061235957607f821691505b60208210810361237957634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761099b5761099b6123b4565b6000826123fe57634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111561099b5761099b6123b4565b60006020828403121561242857600080fd5b815161134c81612216565b8181038181111561099b5761099b6123b4565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561246e57600080fd5b815161134c81612196565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156124c95784516001600160a01b0316835293830193918301916001016124a4565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156124ff57600080fd5b835192506020840151915060408401519050925092509256fe45524332303a206465637265617365642063616e6e6f742062652062656c6f77207a65726f45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212207ed3ed98f558ec51086cf971959eb477331bf96c5f0e1d513201ea58c439c51f64736f6c63430008110033
Deployed Bytecode
0x6080604052600436106102815760003560e01c80637bb37c8e1161014f578063b680fefb116100c1578063dd62ed3e1161007a578063dd62ed3e1461080c578063e16830a814610852578063e2a38a4b14610872578063ef8700e514610892578063f2fde38b146108a8578063f5b3c3bf146108c857600080fd5b8063b680fefb14610708578063b886311514610728578063c024666814610748578063c18bc19514610768578063cc2ffe7c14610788578063d212a69a1461079e57600080fd5b806395d89b411161011357806395d89b411461064d57806396880b1714610662578063992c58e414610692578063a457c2d7146106b2578063a9059cbb146106d2578063aa4bde28146106f257600080fd5b80637bb37c8e146105c457806385033762146105e457806388e765ff146106045780638a8c523c1461061a5780638da5cb5b1461062f57600080fd5b806327c8f835116101f357806366d602ae116101ac57806366d602ae1461050f5780636ddd17131461052557806370a0823114610544578063715018a61461057a578063751039fc1461058f5780637571336a146105a457600080fd5b806327c8f83514610430578063313ce56714610446578063395093511461046257806349bd5a5e146104825780634fbee193146104b6578063555467a1146104ef57600080fd5b806318160ddd1161024557806318160ddd146103865780631a8145bb146103a55780631c6e8a75146103bb578063217b6da6146103db5780632369bf83146103f057806323b872dd1461041057600080fd5b806306fdde031461028d578063095ea7b3146102b857806310d5de53146102e857806311a582c3146103185780631694505e1461033a57600080fd5b3661028857005b600080fd5b34801561029957600080fd5b506102a26108f8565b6040516102af9190612148565b60405180910390f35b3480156102c457600080fd5b506102d86102d33660046121ab565b61098a565b60405190151581526020016102af565b3480156102f457600080fd5b506102d86103033660046121d7565b601a6020526000908152604090205460ff1681565b34801561032457600080fd5b506103386103333660046121f4565b6109a1565b005b34801561034657600080fd5b5061036e7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016102af565b34801561039257600080fd5b506002545b6040519081526020016102af565b3480156103b157600080fd5b5061039760165481565b3480156103c757600080fd5b506103386103d6366004612224565b610a20565b3480156103e757600080fd5b50610338610a64565b3480156103fc57600080fd5b5061033861040b3660046121d7565b610b0d565b34801561041c57600080fd5b506102d861042b366004612241565b610b46565b34801561043c57600080fd5b5061036e61dead81565b34801561045257600080fd5b50604051601281526020016102af565b34801561046e57600080fd5b506102d861047d3660046121ab565b610baf565b34801561048e57600080fd5b5061036e7f000000000000000000000000773c11fdb4c44f0a30d1d87d1290d4c8ae6124be81565b3480156104c257600080fd5b506102d86104d13660046121d7565b6001600160a01b031660009081526019602052604090205460ff1690565b3480156104fb57600080fd5b506102d861050a366004612282565b610be5565b34801561051b57600080fd5b5061039760075481565b34801561053157600080fd5b50600a546102d890610100900460ff1681565b34801561055057600080fd5b5061039761055f3660046121d7565b6001600160a01b031660009081526020819052604090205490565b34801561058657600080fd5b50610338610c1b565b34801561059b57600080fd5b50610338610c8f565b3480156105b057600080fd5b506103386105bf36600461229b565b610cd2565b3480156105d057600080fd5b506103386105df36600461229b565b610d27565b3480156105f057600080fd5b506103386105ff3660046121d7565b610e10565b34801561061057600080fd5b5061039760065481565b34801561062657600080fd5b50610338610e5a565b34801561063b57600080fd5b506005546001600160a01b031661036e565b34801561065957600080fd5b506102a2610ea3565b34801561066e57600080fd5b506102d861067d3660046121d7565b601b6020526000908152604090205460ff1681565b34801561069e57600080fd5b506103386106ad3660046122d4565b610eb2565b3480156106be57600080fd5b506102d86106cd3660046121ab565b610fd8565b3480156106de57600080fd5b506102d86106ed3660046121ab565b611027565b3480156106fe57600080fd5b5061039760085481565b34801561071457600080fd5b506103386107233660046121d7565b611034565b34801561073457600080fd5b50600a546102d89062010000900460ff1681565b34801561075457600080fd5b5061033861076336600461229b565b61106d565b34801561077457600080fd5b50610338610783366004612282565b6110c2565b34801561079457600080fd5b5061039760155481565b3480156107aa57600080fd5b50600d54600e54600f546010546011546012546013546014546107d1979695949392919088565b604080519889526020890197909752958701949094526060860192909252608085015260a084015260c083015260e0820152610100016102af565b34801561081857600080fd5b50610397610827366004612317565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561085e57600080fd5b5061033861086d36600461229b565b611113565b34801561087e57600080fd5b5061033861088d366004612241565b611168565b34801561089e57600080fd5b5061039760175481565b3480156108b457600080fd5b506103386108c33660046121d7565b611202565b3480156108d457600080fd5b506102d86108e33660046121d7565b601c6020526000908152604090205460ff1681565b60606003805461090790612345565b80601f016020809104026020016040519081016040528092919081815260200182805461093390612345565b80156109805780601f1061095557610100808354040283529160200191610980565b820191906000526020600020905b81548152906001019060200180831161096357829003601f168201915b5050505050905090565b6000610997338484611353565b5060015b92915050565b6005546001600160a01b031633146109d45760405162461bcd60e51b81526004016109cb9061237f565b60405180910390fd5b6103e8826109e160025490565b6109eb91906123ca565b6109f591906123e1565b6006556103e881610a0560025490565b610a0f91906123ca565b610a1991906123e1565b6007555050565b6005546001600160a01b03163314610a4a5760405162461bcd60e51b81526004016109cb9061237f565b600a80549115156101000261ff0019909216919091179055565b600b546001600160a01b03163314610a7b57600080fd5b604051600090339047908381818185875af1925050503d8060008114610abd576040519150601f19603f3d011682016040523d82523d6000602084013e610ac2565b606091505b5050905080610b0a5760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b60448201526064016109cb565b50565b600b546001600160a01b03163314610b2457600080fd5b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610b538484846113b5565b610ba58433610ba085604051806060016040528060288152602001612564602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190611a2d565b611353565b5060019392505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610997918590610ba090866112ed565b6005546000906001600160a01b03163314610c125760405162461bcd60e51b81526004016109cb9061237f565b50600955600190565b6005546001600160a01b03163314610c455760405162461bcd60e51b81526004016109cb9061237f565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b03163314610cb95760405162461bcd60e51b81526004016109cb9061237f565b610cc56103e8806109a1565b610cd06103e86110c2565b565b6005546001600160a01b03163314610cfc5760405162461bcd60e51b81526004016109cb9061237f565b6001600160a01b03919091166000908152601a60205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610d515760405162461bcd60e51b81526004016109cb9061237f565b7f000000000000000000000000773c11fdb4c44f0a30d1d87d1290d4c8ae6124be6001600160a01b0316826001600160a01b031603610de55760405162461bcd60e51b815260206004820152602a60248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201526936b0b935b2ba2830b4b960b11b60648201526084016109cb565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b600a54630100000090046001600160a01b03163314610e2e57600080fd5b600a80546001600160a01b039092166301000000026301000000600160b81b0319909216919091179055565b6005546001600160a01b03163314610e845760405162461bcd60e51b81526004016109cb9061237f565b600a805461ffff1916610101179055610e9e436000612403565b601855565b60606004805461090790612345565b6005546001600160a01b03163314610edc5760405162461bcd60e51b81526004016109cb9061237f565b600e8690556010859055600f84905583610ef68688612403565b610f009190612403565b600d5560128390556014829055601381905580610f1d8385612403565b610f279190612403565b601155600d5460631015610f7d5760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420393925206f72206c65737300000060448201526064016109cb565b601154601e1015610fd05760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420333025206f72206c65737300000060448201526064016109cb565b505050505050565b60006109973384610ba085604051806060016040528060258152602001612519602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190611a2d565b60006109973384846113b5565b600c546001600160a01b0316331461104b57600080fd5b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146110975760405162461bcd60e51b81526004016109cb9061237f565b6001600160a01b03919091166000908152601960205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146110ec5760405162461bcd60e51b81526004016109cb9061237f565b6103e8816110f960025490565b61110391906123ca565b61110d91906123e1565b60085550565b6005546001600160a01b0316331461113d5760405162461bcd60e51b81526004016109cb9061237f565b6001600160a01b03919091166000908152601b60205260409020805460ff1916911515919091179055565b600b546001600160a01b0316331461117f57600080fd5b6040516323b872dd60e01b81526001600160a01b038381166004830152306024830152604482018390528491908216906323b872dd906064016020604051808303816000875af11580156111d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111fb9190612416565b5050505050565b6005546001600160a01b0316331461122c5760405162461bcd60e51b81526004016109cb9061237f565b6001600160a01b0381166112915760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109cb565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6000806112fa8385612403565b90508381101561134c5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016109cb565b9392505050565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b806000036113ce576113c983836000611a67565b505050565b6005546001600160a01b038481169116148015906113fa57506005546001600160a01b03838116911614155b801561140f5750600a5462010000900460ff16155b1561169e57600a5460ff166114a2576001600160a01b03831660009081526019602052604090205460ff168061145d57506001600160a01b03821660009081526019602052604090205460ff165b6114a25760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016109cb565b6001600160a01b0383166000908152601c602052604090205460ff1680156114e357506001600160a01b0382166000908152601a602052604090205460ff16155b1561155d576006548111156115585760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016109cb565b611614565b6001600160a01b0382166000908152601c602052604090205460ff16801561159e57506001600160a01b0383166000908152601a602052604090205460ff16155b15611614576007548111156116145760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b60648201526084016109cb565b6001600160a01b0382166000908152601b602052604090205460ff1661169e576008546001600160a01b03831660009081526020819052604090205461165a9083612403565b111561169e5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016109cb565b30600090815260208190526040902054600954811080159081906116c95750600a54610100900460ff165b80156116de5750600a5462010000900460ff16155b801561170257506001600160a01b0384166000908152601c602052604090205460ff165b801561172757506001600160a01b03851660009081526019602052604090205460ff16155b801561174c57506001600160a01b03841660009081526019602052604090205460ff16155b1561177757600a805462ff000019166201000017905561176a611b24565b600a805462ff0000191690555b600a546001600160a01b03861660009081526019602052604090205460ff620100009092048216159116806117c457506001600160a01b03851660009081526019602052604090205460ff165b156117cd575060005b8015611a22576000601854431015611858576117f560646117ef876063611d7d565b90611dff565b9050606361180482605e6123ca565b61180e91906123e1565b6015600082825461181f9190612403565b90915550606390506118328260056123ca565b61183c91906123e1565b6017600082825461184d9190612403565b90915550611a039050565b6001600160a01b0386166000908152601c602052604090205460ff168015611881575060115415155b1561190f5760115461189b906064906117ef908890611d7d565b601154601454919250906118af90836123ca565b6118b991906123e1565b601660008282546118ca9190612403565b90915550506011546012546118df90836123ca565b6118e991906123e1565b601560008282546118fa9190612403565b909155505060115460135461183290836123ca565b6001600160a01b0387166000908152601c602052604090205460ff1680156119385750600d5415155b15611a0357600d54611952906064906117ef908890611d7d565b600c54600854919250611972916001600160a01b03909116903090611353565b600d5460105461198290836123ca565b61198c91906123e1565b6016600082825461199d9190612403565b9091555050600d54600e546119b290836123ca565b6119bc91906123e1565b601560008282546119cd9190612403565b9091555050600d54600f546119e290836123ca565b6119ec91906123e1565b601760008282546119fd9190612403565b90915550505b8015611a1457611a14873083611a67565b611a1e8186612433565b9450505b610fd0868686611a67565b60008184841115611a515760405162461bcd60e51b81526004016109cb9190612148565b506000611a5e8486612433565b95945050505050565b611aa48160405180606001604052806026815260200161253e602691396001600160a01b0386166000908152602081905260409020549190611a2d565b6001600160a01b038085166000908152602081905260408082209390935590841681522054611ad390826112ed565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016113a8565b600b546001600160a01b0316600090815260208190526040808220543083529082205460175460155460165493949293611b5e9190612403565b611b689190612403565b90506000821580611b77575081155b15611b825750505050565b600954611b909060146123ca565b831115611ba857600954611ba59060146123ca565b92505b600060028360165486611bbb91906123ca565b611bc591906123e1565b611bcf91906123e1565b90506000611be786611be18785611e41565b90611e41565b905047611bf382611e83565b6000611bff4783611e41565b90506000611c1c876117ef60155485611d7d90919063ffffffff16565b90506000611c39886117ef60175486611d7d90919063ffffffff16565b90506000611c478284612403565b611c519085612433565b60006016819055601581905560175590508615801590611c715750600081115b15611cba57611c80878261203b565b60408051878152602081018390527f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f8381486910160405180910390a15b600a54630100000090046001600160a01b0316611cd78447612433565b604051600081818185875af1925050503d8060008114611d13576040519150601f19603f3d011682016040523d82523d6000602084013e611d18565b606091505b5050600b546040519199506001600160a01b0316904790600081818185875af1925050503d8060008114611d68576040519150601f19603f3d011682016040523d82523d6000602084013e611d6d565b606091505b5050505050505050505050505050565b600082600003611d8f5750600061099b565b6000611d9b83856123ca565b905082611da885836123e1565b1461134c5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016109cb565b600061134c83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061211a565b600061134c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611a2d565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611eb857611eb8612446565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f5a919061245c565b81600181518110611f6d57611f6d612446565b60200260200101906001600160a01b031690816001600160a01b031681525050611fb8307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611353565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac9479061200d908590600090869030904290600401612479565b600060405180830381600087803b15801561202757600080fd5b505af1158015610fd0573d6000803e3d6000fd5b612066307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611353565b600c5460405163f305d71960e01b81523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063f305d71990839060c40160606040518083038185885af11580156120f5573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906111fb91906124ea565b6000818361213b5760405162461bcd60e51b81526004016109cb9190612148565b506000611a5e84866123e1565b600060208083528351808285015260005b8181101561217557858101830151858201604001528201612159565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610b0a57600080fd5b600080604083850312156121be57600080fd5b82356121c981612196565b946020939093013593505050565b6000602082840312156121e957600080fd5b813561134c81612196565b6000806040838503121561220757600080fd5b50508035926020909101359150565b8015158114610b0a57600080fd5b60006020828403121561223657600080fd5b813561134c81612216565b60008060006060848603121561225657600080fd5b833561226181612196565b9250602084013561227181612196565b929592945050506040919091013590565b60006020828403121561229457600080fd5b5035919050565b600080604083850312156122ae57600080fd5b82356122b981612196565b915060208301356122c981612216565b809150509250929050565b60008060008060008060c087890312156122ed57600080fd5b505084359660208601359650604086013595606081013595506080810135945060a0013592509050565b6000806040838503121561232a57600080fd5b823561233581612196565b915060208301356122c981612196565b600181811c9082168061235957607f821691505b60208210810361237957634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761099b5761099b6123b4565b6000826123fe57634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111561099b5761099b6123b4565b60006020828403121561242857600080fd5b815161134c81612216565b8181038181111561099b5761099b6123b4565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561246e57600080fd5b815161134c81612196565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156124c95784516001600160a01b0316835293830193918301916001016124a4565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156124ff57600080fd5b835192506020840151915060408401519050925092509256fe45524332303a206465637265617365642063616e6e6f742062652062656c6f77207a65726f45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212207ed3ed98f558ec51086cf971959eb477331bf96c5f0e1d513201ea58c439c51f64736f6c63430008110033
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.