ERC-20
Overview
Max Total Supply
1,000,000,000 $DUMB
Holders
42
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
8,900,910 $DUMBValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DUMB
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// https://www.thedumbdragon.com/ // https://t.me/dumbdragonerc // SPDX-License-Identifier: MIT // File: @uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol pragma solidity >=0.5.0; 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; } // File: @uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint ); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair( address tokenA, address tokenB ) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair( address tokenA, address tokenB ) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } // File: @uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable returns (uint[] memory amounts); function swapTokensForExactETH( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactTokensForETH( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapETHForExactTokens( uint amountOut, address[] calldata path, address to, uint deadline ) external payable returns (uint[] memory amounts); function quote( uint amountA, uint reserveA, uint reserveB ) external pure returns (uint amountB); function getAmountOut( uint amountIn, uint reserveIn, uint reserveOut ) external pure returns (uint amountOut); function getAmountIn( uint amountOut, uint reserveIn, uint reserveOut ) external pure returns (uint amountIn); function getAmountsOut( uint amountIn, address[] calldata path ) external view returns (uint[] memory amounts); function getAmountsIn( uint amountOut, address[] calldata path ) external view returns (uint[] memory amounts); } // File: @uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol pragma solidity >=0.6.2; 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; } // File: @openzeppelin/contracts/utils/math/SafeMath.sol // OpenZeppelin Contracts v4.4.0 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { // 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 (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @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) { return a + b; } /** * @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 a - b; } /** * @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) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting 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 a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting 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) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * 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) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual 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 { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require( newOwner != address(0), "Ownable: new owner is the zero address" ); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ 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 ); } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts v4.4.0 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ 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); } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol // OpenZeppelin Contracts v4.4.0 (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { 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); uint256 currentAllowance = _allowances[sender][_msgSender()]; require( currentAllowance >= amount, "ERC20: transfer amount exceeds allowance" ); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } 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] + 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) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require( currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero" ); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This 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); uint256 senderBalance = _balances[sender]; require( senderBalance >= amount, "ERC20: transfer amount exceeds balance" ); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; if (amount > 0) { emit Transfer(sender, recipient, amount); } _afterTokenTransfer(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 += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(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); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(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 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 {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } // File: contracts/Token.sol pragma solidity ^0.8.7; contract DUMB is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public uniswapV2Router; address public immutable uniswapV2Pair; address public constant deadAddress = address(0xdead); struct BuyFee { uint16 marketingFee; uint16 liquidityFee; } struct SellFee { uint16 marketingFee; uint16 liquidityFee; } bool private swapping; BuyFee public buyFee; SellFee public sellFee; uint256 public swapTokensAtAmount = 10**5 * (10**18); //0.01% of the supply uint256 public maxBuyAmount = 10**6 * (10**18); // 0.1% of the supply uint256 public maxWalletAmount = 10**7 * (10**18); // 1% of the supply (antiwhale) uint16 public totalBuyFee; uint16 public totalSellFee; bool public swapEnabled; bool public isTradingEnabled; uint256 public tradingStartBlock = 0; uint8 public constant BLOCKCOUNT = 0; address payable _marketingWallet = payable(address(0x55EdC2A4B9262819fD94905d73bEcaDC69220934)); // marketingWallet address payable _devWallet = payable(address(0x088eeb85D8f1E643328a800B8e32A25877d8763B)); // devWallet mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) private _isExcludedFromLimit; mapping(address => bool) public _isBlackListed; // 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 ExcludeMultipleAccountsFromFees(address[] accounts, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event GasForProcessingUpdated( uint256 indexed newValue, uint256 indexed oldValue ); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity ); modifier lockTheSwap() { swapping = true; _; swapping = false; } constructor() ERC20("Dumb Dragon", "$DUMB") { buyFee.marketingFee = 9; buyFee.liquidityFee = 1; totalBuyFee = 10; sellFee.marketingFee = 23; sellFee.liquidityFee = 1; totalSellFee = 24; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D // Uniswap V2 Router ); // Create a uniswap pair for this new token address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = _uniswapV2Pair; _setAutomatedMarketMakerPair(_uniswapV2Pair, true); // exclude from paying fees or having max transaction amount excludeFromFees(owner(), true); excludeFromFees(address(this), true); swapEnabled = true; /* _mint is an internal function in ERC20.sol that is only called here, and CANNOT be called ever again */ _mint(owner(), 10**9 * (10**18)); // 1 billion tokens } receive() external payable {} function updateUniswapV2Router(address newAddress) public onlyOwner { require( newAddress != address(uniswapV2Router), "Token: The router already has that address" ); emit UpdateUniswapV2Router(newAddress, address(uniswapV2Router)); uniswapV2Router = IUniswapV2Router02(newAddress); } function excludeFromFees(address account, bool excluded) public onlyOwner { require( _isExcludedFromFees[account] != excluded, "Token: Account is already the value of 'excluded'" ); _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function claimStuckTokens(address _token) external onlyOwner { require(_token != address(this), "No rugs"); if (_token == address(0x0)) { payable(owner()).transfer(address(this).balance); return; } IERC20 erc20token = IERC20(_token); uint256 balance = erc20token.balanceOf(address(this)); erc20token.transfer(owner(), balance); } function excludeFromLimit( address account, bool excluded ) external onlyOwner { _isExcludedFromLimit[account] = excluded; } function setBlackList(address addr, bool value) external onlyOwner { _isBlackListed[addr] = value; } function enableTrading() external onlyOwner { isTradingEnabled = true; if (tradingStartBlock == 0) tradingStartBlock = block.number; } function setAutomatedMarketMakerPair( address pair, bool value ) public onlyOwner { require( pair != uniswapV2Pair, "Token: The PancakeSwap pair cannot be removed from automatedMarketMakerPairs" ); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { require( automatedMarketMakerPairs[pair] != value, "Token: Automated market maker pair is already set to that value" ); automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function setBuyFee(uint16 marketing, uint16 liquidity) external onlyOwner { require(marketing + liquidity <= 25, "tax too high"); buyFee.marketingFee = marketing; buyFee.liquidityFee = liquidity; totalBuyFee = marketing+liquidity; } function setSellFee(uint16 marketing, uint16 liquidity) external onlyOwner { require(marketing + liquidity <= 25, "tax too high"); sellFee.marketingFee = marketing; sellFee.liquidityFee = liquidity; totalSellFee = marketing+liquidity; } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } function isExcludedFromLimit(address account) public view returns (bool) { return _isExcludedFromLimit[account]; } function setMarketingWallet(address newWallet) external onlyOwner { require( newWallet != address(0), "Marketing wallet can not be a zero address" ); _marketingWallet = payable(newWallet); } function setSwapEnabled(bool value) external onlyOwner { swapEnabled = value; } function setMaxWallet(uint256 amount) external onlyOwner { maxWalletAmount = amount * 10 ** 18; } function setMaxBuyAmount(uint256 amount) external onlyOwner { require(amount >= 100000, "Can't set lower amount, No rugPull"); maxBuyAmount = amount * 10 ** 18; } function setSwapTokensAtAmount(uint256 amount) external onlyOwner { swapTokensAtAmount = amount * 10 ** 18; } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "Token: transfer from the zero address"); require(to != address(0), "Token: transfer to the zero address"); require( !_isBlackListed[from] && !_isBlackListed[to], "Account is blacklisted" ); require( isTradingEnabled || _isExcludedFromFees[from], "Trading not enabled yet" ); if (amount == 0) { super._transfer(from, to, 0); return; } uint256 contractTokenBalance = balanceOf(address(this)); bool overMinimumTokenBalance = contractTokenBalance >= swapTokensAtAmount; if ( swapEnabled && !swapping && from != uniswapV2Pair && overMinimumTokenBalance ) { contractTokenBalance = swapTokensAtAmount; uint16 totalFee = totalBuyFee + totalSellFee; uint256 swapTokens = contractTokenBalance .mul(buyFee.liquidityFee + sellFee.liquidityFee) .div(totalFee); swapAndLiquify(swapTokens); uint256 feeTokens = contractTokenBalance - swapTokens; swapAndSendToMarketing(feeTokens); } bool takeFee = true; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } if (takeFee) { uint256 fees; if (automatedMarketMakerPairs[to]) { fees = totalSellFee; } else if (automatedMarketMakerPairs[from]) { fees = totalBuyFee; } if (!_isExcludedFromLimit[from] && !_isExcludedFromLimit[to]) { if (automatedMarketMakerPairs[from]) { require(amount <= maxBuyAmount, "Buy exceeds limit"); if (block.number < tradingStartBlock + BLOCKCOUNT) { _isBlackListed[to] = true; } } if (!automatedMarketMakerPairs[to]) { require( balanceOf(to) + amount <= maxWalletAmount, "Balance exceeds limit" ); } } uint256 feeAmount = amount.mul(fees).div(100); amount = amount.sub(feeAmount); super._transfer(from, address(this), feeAmount); } super._transfer(from, to, amount); } function swapAndSendToMarketing(uint256 tokens) private lockTheSwap { uint256 initialBalance = address(this).balance; swapTokensForEth(tokens); // how much ETH did we just swap into? uint256 newBalance = address(this).balance.sub(initialBalance); uint256 devShare = newBalance.div(3); uint256 marketingShare = newBalance - devShare; _devWallet.transfer(devShare); _marketingWallet.transfer(marketingShare); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapV2Router), tokenAmount); // add the liquidity uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable deadAddress, block.timestamp ); } function swapAndLiquify(uint256 tokens) private lockTheSwap { // split the contract balance into halves uint256 half = tokens.div(2); uint256 otherHalf = tokens.sub(half); uint256 initialBalance = address(this).balance; // swap tokens for ETH swapTokensForEth(half); // <- this breaks the ETH -> HATE swap when swap+liquify is triggered // how much ETH did we just swap into? uint256 newBalance = address(this).balance.sub(initialBalance); // add liquidity to uniswap addLiquidity(otherHalf, newBalance); emit SwapAndLiquify(half, newBalance, otherHalf); } 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 ); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"accounts","type":"address[]"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeMultipleAccountsFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"GasForProcessingUpdated","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":"tokensIntoLiqudity","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"},{"inputs":[],"name":"BLOCKCOUNT","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isBlackListed","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":"buyFee","outputs":[{"internalType":"uint16","name":"marketingFee","type":"uint16"},{"internalType":"uint16","name":"liquidityFee","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"claimStuckTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromLimit","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":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromLimit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFee","outputs":[{"internalType":"uint16","name":"marketingFee","type":"uint16"},{"internalType":"uint16","name":"liquidityFee","type":"uint16"}],"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":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setBlackList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"marketing","type":"uint16"},{"internalType":"uint16","name":"liquidity","type":"uint16"}],"name":"setBuyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxBuyAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"marketing","type":"uint16"},{"internalType":"uint16","name":"liquidity","type":"uint16"}],"name":"setSellFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setSwapTokensAtAmount","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":"totalBuyFee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSellFee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingStartBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateUniswapV2Router","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a060405269152d02c7e14af680000060095569d3c21bcecceda1000000600a556a084595161401484a000000600b556000600d55600e80546001600160a01b03199081167355edc2a4b9262819fd94905d73becadc6922093417909155600f805490911673088eeb85d8f1e643328a800b8e32a25877d8763b1790553480156200008957600080fd5b50604080518082018252600b81526a223ab6b110223930b3b7b760a91b60208083019182528351808501909452600584526412222aa6a160d91b908401528151919291620000da91600391620006ef565b508051620000f0906004906020840190620006ef565b5050506200010d620001076200037f60201b60201c565b62000383565b6007805463ffffffff199081166201000917909155600c8054600880548416620100171790559091166218000a1790556040805163c45a015560e01b81529051737a250d5630b4cf539739df2c5dacb4c659f2488d91600091839163c45a0155916004828101926020929190829003018186803b1580156200018e57600080fd5b505afa158015620001a3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c9919062000795565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200021257600080fd5b505afa15801562000227573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200024d919062000795565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200029657600080fd5b505af1158015620002ab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002d1919062000795565b600680546001600160a01b0319166001600160a01b038516179055606081901b6001600160601b03191660805290506200030d816001620003d5565b6200032c620003246005546001600160a01b031690565b6001620004c4565b62000339306001620004c4565b600c805460ff60201b191664010000000017905562000377620003646005546001600160a01b031690565b6b033b2e3c9fd0803ce80000006200060a565b50506200082b565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526013602052604090205460ff1615158115151415620004705760405162461bcd60e51b815260206004820152603f60248201527f546f6b656e3a204175746f6d61746564206d61726b6574206d616b657220706160448201527f697220697320616c72656164792073657420746f20746861742076616c75650060648201526084015b60405180910390fd5b6001600160a01b038216600081815260136020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b03163314620005205760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000467565b6001600160a01b03821660009081526010602052604090205460ff1615158115151415620005ab5760405162461bcd60e51b815260206004820152603160248201527f546f6b656e3a204163636f756e7420697320616c7265616479207468652076616044820152706c7565206f6620276578636c756465642760781b606482015260840162000467565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620006625760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000467565b8060026000828254620006769190620007c7565b90915550506001600160a01b03821660009081526020819052604081208054839290620006a5908490620007c7565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054620006fd90620007ee565b90600052602060002090601f0160209004810192826200072157600085556200076c565b82601f106200073c57805160ff19168380011785556200076c565b828001600101855582156200076c579182015b828111156200076c5782518255916020019190600101906200074f565b506200077a9291506200077e565b5090565b5b808211156200077a57600081556001016200077f565b600060208284031215620007a857600080fd5b81516001600160a01b0381168114620007c057600080fd5b9392505050565b60008219821115620007e957634e487b7160e01b600052601160045260246000fd5b500190565b600181811c908216806200080357607f821691505b602082108114156200082557634e487b7160e01b600052602260045260246000fd5b50919050565b60805160601c61271a620008586000396000818161044d01528181610e9f01526118ca015261271a6000f3fe6080604052600436106102815760003560e01c80637afad2491161014f578063afa4f3b2116100c1578063e01af92c1161007a578063e01af92c14610844578063e2f4560514610864578063ec2a520a1461087a578063f2fde38b1461089a578063f34eb0b8146108ba578063f9d0831a146108da57600080fd5b8063afa4f3b21461073f578063b62496f51461075f578063c02466681461078f578063d798cbd2146107af578063d94160e0146107c5578063dd62ed3e146107fe57600080fd5b806395d89b411161011357806395d89b41146106935780639a7a23d6146106a85780639d9241ec146106c8578063a457c2d7146106e9578063a9059cbb14610709578063aa4bde281461072957600080fd5b80637afad2491461060a57806381905bf81461062a57806388e765ff1461064a5780638a8c523c146106605780638da5cb5b1461067557600080fd5b806349bd5a5e116101f357806365b8dbc0116101ac57806365b8dbc01461052d57806368092bd91461054d5780636c9bb93b1461056d5780636ddd17131461059d57806370a08231146105bf578063715018a6146105f557600080fd5b806349bd5a5e1461043b5780634dce97f11461046f5780634fbee1931461048457806359b107b9146104bd5780635d0044ca146104eb5780635d098b381461050d57600080fd5b806323b872dd1161024557806323b872dd1461035e57806327c8f8351461037e5780632b14ca5614610394578063313ce567146103d457806339509351146103f6578063470624021461041657600080fd5b8063064a59d01461028d57806306fdde03146102c5578063095ea7b3146102e75780631694505e1461030757806318160ddd1461033f57600080fd5b3661028857005b600080fd5b34801561029957600080fd5b50600c546102b09065010000000000900460ff1681565b60405190151581526020015b60405180910390f35b3480156102d157600080fd5b506102da6108fa565b6040516102bc91906124c9565b3480156102f357600080fd5b506102b06103023660046123d0565b61098c565b34801561031357600080fd5b50600654610327906001600160a01b031681565b6040516001600160a01b0390911681526020016102bc565b34801561034b57600080fd5b506002545b6040519081526020016102bc565b34801561036a57600080fd5b506102b0610379366004612361565b6109a2565b34801561038a57600080fd5b5061032761dead81565b3480156103a057600080fd5b506008546103b99061ffff808216916201000090041682565b6040805161ffff9384168152929091166020830152016102bc565b3480156103e057600080fd5b5060125b60405160ff90911681526020016102bc565b34801561040257600080fd5b506102b06104113660046123d0565b610a51565b34801561042257600080fd5b506007546103b99061ffff808216916201000090041682565b34801561044757600080fd5b506103277f000000000000000000000000000000000000000000000000000000000000000081565b34801561047b57600080fd5b506103e4600081565b34801561049057600080fd5b506102b061049f3660046122ee565b6001600160a01b031660009081526010602052604090205460ff1690565b3480156104c957600080fd5b50600c546104d89061ffff1681565b60405161ffff90911681526020016102bc565b3480156104f757600080fd5b5061050b610506366004612469565b610a8d565b005b34801561051957600080fd5b5061050b6105283660046122ee565b610acf565b34801561053957600080fd5b5061050b6105483660046122ee565b610b84565b34801561055957600080fd5b5061050b6105683660046123a2565b610c7c565b34801561057957600080fd5b506102b06105883660046122ee565b60126020526000908152604090205460ff1681565b3480156105a957600080fd5b50600c546102b090640100000000900460ff1681565b3480156105cb57600080fd5b506103506105da3660046122ee565b6001600160a01b031660009081526020819052604090205490565b34801561060157600080fd5b5061050b610cd1565b34801561061657600080fd5b5061050b610625366004612436565b610d07565b34801561063657600080fd5b5061050b6106453660046123a2565b610dc1565b34801561065657600080fd5b50610350600a5481565b34801561066c57600080fd5b5061050b610e16565b34801561068157600080fd5b506005546001600160a01b0316610327565b34801561069f57600080fd5b506102da610e64565b3480156106b457600080fd5b5061050b6106c33660046123a2565b610e73565b3480156106d457600080fd5b50600c546104d89062010000900461ffff1681565b3480156106f557600080fd5b506102b06107043660046123d0565b610f68565b34801561071557600080fd5b506102b06107243660046123d0565b611001565b34801561073557600080fd5b50610350600b5481565b34801561074b57600080fd5b5061050b61075a366004612469565b61100e565b34801561076b57600080fd5b506102b061077a3660046122ee565b60136020526000908152604090205460ff1681565b34801561079b57600080fd5b5061050b6107aa3660046123a2565b611050565b3480156107bb57600080fd5b50610350600d5481565b3480156107d157600080fd5b506102b06107e03660046122ee565b6001600160a01b031660009081526011602052604090205460ff1690565b34801561080a57600080fd5b50610350610819366004612328565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561085057600080fd5b5061050b61085f3660046123fc565b611162565b34801561087057600080fd5b5061035060095481565b34801561088657600080fd5b5061050b610895366004612436565b6111ac565b3480156108a657600080fd5b5061050b6108b53660046122ee565b61126c565b3480156108c657600080fd5b5061050b6108d5366004612469565b611307565b3480156108e657600080fd5b5061050b6108f53660046122ee565b6113a7565b6060600380546109099061265a565b80601f01602080910402602001604051908101604052809291908181526020018280546109359061265a565b80156109825780601f1061095757610100808354040283529160200191610982565b820191906000526020600020905b81548152906001019060200180831161096557829003601f168201915b5050505050905090565b6000610999338484611580565b50600192915050565b60006109af8484846116a4565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610a395760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b610a468533858403611580565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610999918590610a889086906125ea565b611580565b6005546001600160a01b03163314610ab75760405162461bcd60e51b8152600401610a309061251e565b610ac981670de0b6b3a7640000612624565b600b5550565b6005546001600160a01b03163314610af95760405162461bcd60e51b8152600401610a309061251e565b6001600160a01b038116610b625760405162461bcd60e51b815260206004820152602a60248201527f4d61726b6574696e672077616c6c65742063616e206e6f742062652061207a65604482015269726f206164647265737360b01b6064820152608401610a30565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610bae5760405162461bcd60e51b8152600401610a309061251e565b6006546001600160a01b0382811691161415610c1f5760405162461bcd60e51b815260206004820152602a60248201527f546f6b656e3a2054686520726f7574657220616c7265616479206861732074686044820152696174206164647265737360b01b6064820152608401610a30565b6006546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610ca65760405162461bcd60e51b8152600401610a309061251e565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610cfb5760405162461bcd60e51b8152600401610a309061251e565b610d056000611c04565b565b6005546001600160a01b03163314610d315760405162461bcd60e51b8152600401610a309061251e565b6019610d3d82846125c4565b61ffff161115610d7e5760405162461bcd60e51b815260206004820152600c60248201526b0e8c2f040e8dede40d0d2ced60a31b6044820152606401610a30565b6007805461ffff838116620100000263ffffffff1990921690851617179055610da781836125c4565b600c805461ffff191661ffff929092169190911790555050565b6005546001600160a01b03163314610deb5760405162461bcd60e51b8152600401610a309061251e565b6001600160a01b03919091166000908152601160205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610e405760405162461bcd60e51b8152600401610a309061251e565b600c805465ff0000000000191665010000000000179055600d54610d055743600d55565b6060600480546109099061265a565b6005546001600160a01b03163314610e9d5760405162461bcd60e51b8152600401610a309061251e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415610f5a5760405162461bcd60e51b815260206004820152604c60248201527f546f6b656e3a205468652050616e63616b655377617020706169722063616e6e60448201527f6f742062652072656d6f7665642066726f6d206175746f6d617465644d61726b60648201526b65744d616b6572506169727360a01b608482015260a401610a30565b610f648282611c56565b5050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610fea5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a30565b610ff73385858403611580565b5060019392505050565b60006109993384846116a4565b6005546001600160a01b031633146110385760405162461bcd60e51b8152600401610a309061251e565b61104a81670de0b6b3a7640000612624565b60095550565b6005546001600160a01b0316331461107a5760405162461bcd60e51b8152600401610a309061251e565b6001600160a01b03821660009081526010602052604090205460ff16151581151514156111035760405162461bcd60e51b815260206004820152603160248201527f546f6b656e3a204163636f756e7420697320616c7265616479207468652076616044820152706c7565206f6620276578636c756465642760781b6064820152608401610a30565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b0316331461118c5760405162461bcd60e51b8152600401610a309061251e565b600c80549115156401000000000264ff0000000019909216919091179055565b6005546001600160a01b031633146111d65760405162461bcd60e51b8152600401610a309061251e565b60196111e282846125c4565b61ffff1611156112235760405162461bcd60e51b815260206004820152600c60248201526b0e8c2f040e8dede40d0d2ced60a31b6044820152606401610a30565b6008805461ffff838116620100000263ffffffff199092169085161717905561124c81836125c4565b600c60026101000a81548161ffff021916908361ffff1602179055505050565b6005546001600160a01b031633146112965760405162461bcd60e51b8152600401610a309061251e565b6001600160a01b0381166112fb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a30565b61130481611c04565b50565b6005546001600160a01b031633146113315760405162461bcd60e51b8152600401610a309061251e565b620186a081101561138f5760405162461bcd60e51b815260206004820152602260248201527f43616e277420736574206c6f77657220616d6f756e742c204e6f2072756750756044820152611b1b60f21b6064820152608401610a30565b6113a181670de0b6b3a7640000612624565b600a5550565b6005546001600160a01b031633146113d15760405162461bcd60e51b8152600401610a309061251e565b6001600160a01b0381163014156114145760405162461bcd60e51b81526020600482015260076024820152664e6f207275677360c81b6044820152606401610a30565b6001600160a01b03811661145b576005546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610f64573d6000803e3d6000fd5b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a082319060240160206040518083038186803b15801561149f57600080fd5b505afa1580156114b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d79190612482565b9050816001600160a01b031663a9059cbb6114fa6005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101849052604401602060405180830381600087803b15801561154257600080fd5b505af1158015611556573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061157a9190612419565b50505050565b6001600160a01b0383166115e25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a30565b6001600160a01b0382166116435760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a30565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166117085760405162461bcd60e51b815260206004820152602560248201527f546f6b656e3a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a30565b6001600160a01b03821661176a5760405162461bcd60e51b815260206004820152602360248201527f546f6b656e3a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a30565b6001600160a01b03831660009081526012602052604090205460ff161580156117ac57506001600160a01b03821660009081526012602052604090205460ff16155b6117f15760405162461bcd60e51b81526020600482015260166024820152751058d8dbdd5b9d081a5cc8189b1858dadb1a5cdd195960521b6044820152606401610a30565b600c5465010000000000900460ff168061182357506001600160a01b03831660009081526010602052604090205460ff165b61186f5760405162461bcd60e51b815260206004820152601760248201527f54726164696e67206e6f7420656e61626c6564207965740000000000000000006044820152606401610a30565b806118855761188083836000611d3f565b505050565b30600090815260208190526040902054600954600c549082101590640100000000900460ff1680156118c15750600654600160a01b900460ff16155b80156118ff57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031614155b80156119085750805b1561199a57600954600c5490925060009061192f9061ffff620100008204811691166125c4565b6008546007549192506000916119749161ffff8086169261196e9261196392620100009182900481169291909104166125c4565b879061ffff16611f12565b90611f25565b905061197f81611f31565b600061198b8286612643565b905061199681611fd8565b5050505b6001600160a01b03851660009081526010602052604090205460019060ff16806119dc57506001600160a01b03851660009081526010602052604090205460ff165b156119e5575060005b8015611bf1576001600160a01b03851660009081526013602052604081205460ff1615611a1f5750600c5462010000900461ffff16611a49565b6001600160a01b03871660009081526013602052604090205460ff1615611a495750600c5461ffff165b6001600160a01b03871660009081526011602052604090205460ff16158015611a8b57506001600160a01b03861660009081526011602052604090205460ff16155b15611bc4576001600160a01b03871660009081526013602052604090205460ff1615611b3157600a54851115611af75760405162461bcd60e51b8152602060048201526011602482015270109d5e48195e18d959591cc81b1a5b5a5d607a1b6044820152606401610a30565b600d54611b06906000906125ea565b431015611b31576001600160a01b0386166000908152601260205260409020805460ff191660011790555b6001600160a01b03861660009081526013602052604090205460ff16611bc457600b5485611b74886001600160a01b031660009081526020819052604090205490565b611b7e91906125ea565b1115611bc45760405162461bcd60e51b815260206004820152601560248201527410985b185b98d948195e18d959591cc81b1a5b5a5d605a1b6044820152606401610a30565b6000611bd5606461196e8885611f12565b9050611be186826120a9565b9550611bee883083611d3f565b50505b611bfc868686611d3f565b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526013602052604090205460ff1615158115151415611ceb5760405162461bcd60e51b815260206004820152603f60248201527f546f6b656e3a204175746f6d61746564206d61726b6574206d616b657220706160448201527f697220697320616c72656164792073657420746f20746861742076616c7565006064820152608401610a30565b6001600160a01b038216600081815260136020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611da35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a30565b6001600160a01b038216611e055760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a30565b6001600160a01b03831660009081526020819052604090205481811015611e7d5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a30565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611eb49084906125ea565b90915550508115611f0d57826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611f0491815260200190565b60405180910390a35b61157a565b6000611f1e8284612624565b9392505050565b6000611f1e8284612602565b6006805460ff60a01b1916600160a01b1790556000611f51826002611f25565b90506000611f5f83836120a9565b905047611f6b836120b5565b6000611f7747836120a9565b9050611f838382612216565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a150506006805460ff60a01b19169055505050565b6006805460ff60a01b1916600160a01b17905547611ff5826120b5565b600061200147836120a9565b90506000612010826003611f25565b9050600061201e8284612643565b600f546040519192506001600160a01b03169083156108fc029084906000818181858888f19350505050158015612059573d6000803e3d6000fd5b50600e546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015612094573d6000803e3d6000fd5b50506006805460ff60a01b1916905550505050565b6000611f1e8284612643565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106120ea576120ea6126ab565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561213e57600080fd5b505afa158015612152573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612176919061230b565b81600181518110612189576121896126ab565b6001600160a01b0392831660209182029290920101526006546121af9130911684611580565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac947906121e8908590600090869030904290600401612553565b600060405180830381600087803b15801561220257600080fd5b505af1158015611bfc573d6000803e3d6000fd5b60065461222e9030906001600160a01b031684611580565b60065460405163f305d71960e01b815230600482015260248101849052600060448201819052606482015261dead60848201524260a48201526001600160a01b039091169063f305d71990839060c4016060604051808303818588803b15801561229757600080fd5b505af11580156122ab573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906122d0919061249b565b5050505050565b803561ffff811681146122e957600080fd5b919050565b60006020828403121561230057600080fd5b8135611f1e816126c1565b60006020828403121561231d57600080fd5b8151611f1e816126c1565b6000806040838503121561233b57600080fd5b8235612346816126c1565b91506020830135612356816126c1565b809150509250929050565b60008060006060848603121561237657600080fd5b8335612381816126c1565b92506020840135612391816126c1565b929592945050506040919091013590565b600080604083850312156123b557600080fd5b82356123c0816126c1565b91506020830135612356816126d6565b600080604083850312156123e357600080fd5b82356123ee816126c1565b946020939093013593505050565b60006020828403121561240e57600080fd5b8135611f1e816126d6565b60006020828403121561242b57600080fd5b8151611f1e816126d6565b6000806040838503121561244957600080fd5b612452836122d7565b9150612460602084016122d7565b90509250929050565b60006020828403121561247b57600080fd5b5035919050565b60006020828403121561249457600080fd5b5051919050565b6000806000606084860312156124b057600080fd5b8351925060208401519150604084015190509250925092565b600060208083528351808285015260005b818110156124f6578581018301518582016040015282016124da565b81811115612508576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156125a35784516001600160a01b03168352938301939183019160010161257e565b50506001600160a01b03969096166060850152505050608001529392505050565b600061ffff8083168185168083038211156125e1576125e1612695565b01949350505050565b600082198211156125fd576125fd612695565b500190565b60008261261f57634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561263e5761263e612695565b500290565b60008282101561265557612655612695565b500390565b600181811c9082168061266e57607f821691505b6020821081141561268f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038116811461130457600080fd5b801515811461130457600080fdfea264697066735822122017d9d7ad083747367639faf73289457d68dbf58e0de789722b1efc7f3c2f63a164736f6c63430008070033
Deployed Bytecode
0x6080604052600436106102815760003560e01c80637afad2491161014f578063afa4f3b2116100c1578063e01af92c1161007a578063e01af92c14610844578063e2f4560514610864578063ec2a520a1461087a578063f2fde38b1461089a578063f34eb0b8146108ba578063f9d0831a146108da57600080fd5b8063afa4f3b21461073f578063b62496f51461075f578063c02466681461078f578063d798cbd2146107af578063d94160e0146107c5578063dd62ed3e146107fe57600080fd5b806395d89b411161011357806395d89b41146106935780639a7a23d6146106a85780639d9241ec146106c8578063a457c2d7146106e9578063a9059cbb14610709578063aa4bde281461072957600080fd5b80637afad2491461060a57806381905bf81461062a57806388e765ff1461064a5780638a8c523c146106605780638da5cb5b1461067557600080fd5b806349bd5a5e116101f357806365b8dbc0116101ac57806365b8dbc01461052d57806368092bd91461054d5780636c9bb93b1461056d5780636ddd17131461059d57806370a08231146105bf578063715018a6146105f557600080fd5b806349bd5a5e1461043b5780634dce97f11461046f5780634fbee1931461048457806359b107b9146104bd5780635d0044ca146104eb5780635d098b381461050d57600080fd5b806323b872dd1161024557806323b872dd1461035e57806327c8f8351461037e5780632b14ca5614610394578063313ce567146103d457806339509351146103f6578063470624021461041657600080fd5b8063064a59d01461028d57806306fdde03146102c5578063095ea7b3146102e75780631694505e1461030757806318160ddd1461033f57600080fd5b3661028857005b600080fd5b34801561029957600080fd5b50600c546102b09065010000000000900460ff1681565b60405190151581526020015b60405180910390f35b3480156102d157600080fd5b506102da6108fa565b6040516102bc91906124c9565b3480156102f357600080fd5b506102b06103023660046123d0565b61098c565b34801561031357600080fd5b50600654610327906001600160a01b031681565b6040516001600160a01b0390911681526020016102bc565b34801561034b57600080fd5b506002545b6040519081526020016102bc565b34801561036a57600080fd5b506102b0610379366004612361565b6109a2565b34801561038a57600080fd5b5061032761dead81565b3480156103a057600080fd5b506008546103b99061ffff808216916201000090041682565b6040805161ffff9384168152929091166020830152016102bc565b3480156103e057600080fd5b5060125b60405160ff90911681526020016102bc565b34801561040257600080fd5b506102b06104113660046123d0565b610a51565b34801561042257600080fd5b506007546103b99061ffff808216916201000090041682565b34801561044757600080fd5b506103277f000000000000000000000000444a3364519c022c131aeb128d5e8efe52e04f3d81565b34801561047b57600080fd5b506103e4600081565b34801561049057600080fd5b506102b061049f3660046122ee565b6001600160a01b031660009081526010602052604090205460ff1690565b3480156104c957600080fd5b50600c546104d89061ffff1681565b60405161ffff90911681526020016102bc565b3480156104f757600080fd5b5061050b610506366004612469565b610a8d565b005b34801561051957600080fd5b5061050b6105283660046122ee565b610acf565b34801561053957600080fd5b5061050b6105483660046122ee565b610b84565b34801561055957600080fd5b5061050b6105683660046123a2565b610c7c565b34801561057957600080fd5b506102b06105883660046122ee565b60126020526000908152604090205460ff1681565b3480156105a957600080fd5b50600c546102b090640100000000900460ff1681565b3480156105cb57600080fd5b506103506105da3660046122ee565b6001600160a01b031660009081526020819052604090205490565b34801561060157600080fd5b5061050b610cd1565b34801561061657600080fd5b5061050b610625366004612436565b610d07565b34801561063657600080fd5b5061050b6106453660046123a2565b610dc1565b34801561065657600080fd5b50610350600a5481565b34801561066c57600080fd5b5061050b610e16565b34801561068157600080fd5b506005546001600160a01b0316610327565b34801561069f57600080fd5b506102da610e64565b3480156106b457600080fd5b5061050b6106c33660046123a2565b610e73565b3480156106d457600080fd5b50600c546104d89062010000900461ffff1681565b3480156106f557600080fd5b506102b06107043660046123d0565b610f68565b34801561071557600080fd5b506102b06107243660046123d0565b611001565b34801561073557600080fd5b50610350600b5481565b34801561074b57600080fd5b5061050b61075a366004612469565b61100e565b34801561076b57600080fd5b506102b061077a3660046122ee565b60136020526000908152604090205460ff1681565b34801561079b57600080fd5b5061050b6107aa3660046123a2565b611050565b3480156107bb57600080fd5b50610350600d5481565b3480156107d157600080fd5b506102b06107e03660046122ee565b6001600160a01b031660009081526011602052604090205460ff1690565b34801561080a57600080fd5b50610350610819366004612328565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561085057600080fd5b5061050b61085f3660046123fc565b611162565b34801561087057600080fd5b5061035060095481565b34801561088657600080fd5b5061050b610895366004612436565b6111ac565b3480156108a657600080fd5b5061050b6108b53660046122ee565b61126c565b3480156108c657600080fd5b5061050b6108d5366004612469565b611307565b3480156108e657600080fd5b5061050b6108f53660046122ee565b6113a7565b6060600380546109099061265a565b80601f01602080910402602001604051908101604052809291908181526020018280546109359061265a565b80156109825780601f1061095757610100808354040283529160200191610982565b820191906000526020600020905b81548152906001019060200180831161096557829003601f168201915b5050505050905090565b6000610999338484611580565b50600192915050565b60006109af8484846116a4565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610a395760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b610a468533858403611580565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610999918590610a889086906125ea565b611580565b6005546001600160a01b03163314610ab75760405162461bcd60e51b8152600401610a309061251e565b610ac981670de0b6b3a7640000612624565b600b5550565b6005546001600160a01b03163314610af95760405162461bcd60e51b8152600401610a309061251e565b6001600160a01b038116610b625760405162461bcd60e51b815260206004820152602a60248201527f4d61726b6574696e672077616c6c65742063616e206e6f742062652061207a65604482015269726f206164647265737360b01b6064820152608401610a30565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610bae5760405162461bcd60e51b8152600401610a309061251e565b6006546001600160a01b0382811691161415610c1f5760405162461bcd60e51b815260206004820152602a60248201527f546f6b656e3a2054686520726f7574657220616c7265616479206861732074686044820152696174206164647265737360b01b6064820152608401610a30565b6006546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610ca65760405162461bcd60e51b8152600401610a309061251e565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610cfb5760405162461bcd60e51b8152600401610a309061251e565b610d056000611c04565b565b6005546001600160a01b03163314610d315760405162461bcd60e51b8152600401610a309061251e565b6019610d3d82846125c4565b61ffff161115610d7e5760405162461bcd60e51b815260206004820152600c60248201526b0e8c2f040e8dede40d0d2ced60a31b6044820152606401610a30565b6007805461ffff838116620100000263ffffffff1990921690851617179055610da781836125c4565b600c805461ffff191661ffff929092169190911790555050565b6005546001600160a01b03163314610deb5760405162461bcd60e51b8152600401610a309061251e565b6001600160a01b03919091166000908152601160205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610e405760405162461bcd60e51b8152600401610a309061251e565b600c805465ff0000000000191665010000000000179055600d54610d055743600d55565b6060600480546109099061265a565b6005546001600160a01b03163314610e9d5760405162461bcd60e51b8152600401610a309061251e565b7f000000000000000000000000444a3364519c022c131aeb128d5e8efe52e04f3d6001600160a01b0316826001600160a01b03161415610f5a5760405162461bcd60e51b815260206004820152604c60248201527f546f6b656e3a205468652050616e63616b655377617020706169722063616e6e60448201527f6f742062652072656d6f7665642066726f6d206175746f6d617465644d61726b60648201526b65744d616b6572506169727360a01b608482015260a401610a30565b610f648282611c56565b5050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610fea5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a30565b610ff73385858403611580565b5060019392505050565b60006109993384846116a4565b6005546001600160a01b031633146110385760405162461bcd60e51b8152600401610a309061251e565b61104a81670de0b6b3a7640000612624565b60095550565b6005546001600160a01b0316331461107a5760405162461bcd60e51b8152600401610a309061251e565b6001600160a01b03821660009081526010602052604090205460ff16151581151514156111035760405162461bcd60e51b815260206004820152603160248201527f546f6b656e3a204163636f756e7420697320616c7265616479207468652076616044820152706c7565206f6620276578636c756465642760781b6064820152608401610a30565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b0316331461118c5760405162461bcd60e51b8152600401610a309061251e565b600c80549115156401000000000264ff0000000019909216919091179055565b6005546001600160a01b031633146111d65760405162461bcd60e51b8152600401610a309061251e565b60196111e282846125c4565b61ffff1611156112235760405162461bcd60e51b815260206004820152600c60248201526b0e8c2f040e8dede40d0d2ced60a31b6044820152606401610a30565b6008805461ffff838116620100000263ffffffff199092169085161717905561124c81836125c4565b600c60026101000a81548161ffff021916908361ffff1602179055505050565b6005546001600160a01b031633146112965760405162461bcd60e51b8152600401610a309061251e565b6001600160a01b0381166112fb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a30565b61130481611c04565b50565b6005546001600160a01b031633146113315760405162461bcd60e51b8152600401610a309061251e565b620186a081101561138f5760405162461bcd60e51b815260206004820152602260248201527f43616e277420736574206c6f77657220616d6f756e742c204e6f2072756750756044820152611b1b60f21b6064820152608401610a30565b6113a181670de0b6b3a7640000612624565b600a5550565b6005546001600160a01b031633146113d15760405162461bcd60e51b8152600401610a309061251e565b6001600160a01b0381163014156114145760405162461bcd60e51b81526020600482015260076024820152664e6f207275677360c81b6044820152606401610a30565b6001600160a01b03811661145b576005546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610f64573d6000803e3d6000fd5b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a082319060240160206040518083038186803b15801561149f57600080fd5b505afa1580156114b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d79190612482565b9050816001600160a01b031663a9059cbb6114fa6005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101849052604401602060405180830381600087803b15801561154257600080fd5b505af1158015611556573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061157a9190612419565b50505050565b6001600160a01b0383166115e25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a30565b6001600160a01b0382166116435760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a30565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166117085760405162461bcd60e51b815260206004820152602560248201527f546f6b656e3a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a30565b6001600160a01b03821661176a5760405162461bcd60e51b815260206004820152602360248201527f546f6b656e3a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a30565b6001600160a01b03831660009081526012602052604090205460ff161580156117ac57506001600160a01b03821660009081526012602052604090205460ff16155b6117f15760405162461bcd60e51b81526020600482015260166024820152751058d8dbdd5b9d081a5cc8189b1858dadb1a5cdd195960521b6044820152606401610a30565b600c5465010000000000900460ff168061182357506001600160a01b03831660009081526010602052604090205460ff165b61186f5760405162461bcd60e51b815260206004820152601760248201527f54726164696e67206e6f7420656e61626c6564207965740000000000000000006044820152606401610a30565b806118855761188083836000611d3f565b505050565b30600090815260208190526040902054600954600c549082101590640100000000900460ff1680156118c15750600654600160a01b900460ff16155b80156118ff57507f000000000000000000000000444a3364519c022c131aeb128d5e8efe52e04f3d6001600160a01b0316856001600160a01b031614155b80156119085750805b1561199a57600954600c5490925060009061192f9061ffff620100008204811691166125c4565b6008546007549192506000916119749161ffff8086169261196e9261196392620100009182900481169291909104166125c4565b879061ffff16611f12565b90611f25565b905061197f81611f31565b600061198b8286612643565b905061199681611fd8565b5050505b6001600160a01b03851660009081526010602052604090205460019060ff16806119dc57506001600160a01b03851660009081526010602052604090205460ff165b156119e5575060005b8015611bf1576001600160a01b03851660009081526013602052604081205460ff1615611a1f5750600c5462010000900461ffff16611a49565b6001600160a01b03871660009081526013602052604090205460ff1615611a495750600c5461ffff165b6001600160a01b03871660009081526011602052604090205460ff16158015611a8b57506001600160a01b03861660009081526011602052604090205460ff16155b15611bc4576001600160a01b03871660009081526013602052604090205460ff1615611b3157600a54851115611af75760405162461bcd60e51b8152602060048201526011602482015270109d5e48195e18d959591cc81b1a5b5a5d607a1b6044820152606401610a30565b600d54611b06906000906125ea565b431015611b31576001600160a01b0386166000908152601260205260409020805460ff191660011790555b6001600160a01b03861660009081526013602052604090205460ff16611bc457600b5485611b74886001600160a01b031660009081526020819052604090205490565b611b7e91906125ea565b1115611bc45760405162461bcd60e51b815260206004820152601560248201527410985b185b98d948195e18d959591cc81b1a5b5a5d605a1b6044820152606401610a30565b6000611bd5606461196e8885611f12565b9050611be186826120a9565b9550611bee883083611d3f565b50505b611bfc868686611d3f565b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526013602052604090205460ff1615158115151415611ceb5760405162461bcd60e51b815260206004820152603f60248201527f546f6b656e3a204175746f6d61746564206d61726b6574206d616b657220706160448201527f697220697320616c72656164792073657420746f20746861742076616c7565006064820152608401610a30565b6001600160a01b038216600081815260136020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611da35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a30565b6001600160a01b038216611e055760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a30565b6001600160a01b03831660009081526020819052604090205481811015611e7d5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a30565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611eb49084906125ea565b90915550508115611f0d57826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611f0491815260200190565b60405180910390a35b61157a565b6000611f1e8284612624565b9392505050565b6000611f1e8284612602565b6006805460ff60a01b1916600160a01b1790556000611f51826002611f25565b90506000611f5f83836120a9565b905047611f6b836120b5565b6000611f7747836120a9565b9050611f838382612216565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a150506006805460ff60a01b19169055505050565b6006805460ff60a01b1916600160a01b17905547611ff5826120b5565b600061200147836120a9565b90506000612010826003611f25565b9050600061201e8284612643565b600f546040519192506001600160a01b03169083156108fc029084906000818181858888f19350505050158015612059573d6000803e3d6000fd5b50600e546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015612094573d6000803e3d6000fd5b50506006805460ff60a01b1916905550505050565b6000611f1e8284612643565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106120ea576120ea6126ab565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561213e57600080fd5b505afa158015612152573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612176919061230b565b81600181518110612189576121896126ab565b6001600160a01b0392831660209182029290920101526006546121af9130911684611580565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac947906121e8908590600090869030904290600401612553565b600060405180830381600087803b15801561220257600080fd5b505af1158015611bfc573d6000803e3d6000fd5b60065461222e9030906001600160a01b031684611580565b60065460405163f305d71960e01b815230600482015260248101849052600060448201819052606482015261dead60848201524260a48201526001600160a01b039091169063f305d71990839060c4016060604051808303818588803b15801561229757600080fd5b505af11580156122ab573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906122d0919061249b565b5050505050565b803561ffff811681146122e957600080fd5b919050565b60006020828403121561230057600080fd5b8135611f1e816126c1565b60006020828403121561231d57600080fd5b8151611f1e816126c1565b6000806040838503121561233b57600080fd5b8235612346816126c1565b91506020830135612356816126c1565b809150509250929050565b60008060006060848603121561237657600080fd5b8335612381816126c1565b92506020840135612391816126c1565b929592945050506040919091013590565b600080604083850312156123b557600080fd5b82356123c0816126c1565b91506020830135612356816126d6565b600080604083850312156123e357600080fd5b82356123ee816126c1565b946020939093013593505050565b60006020828403121561240e57600080fd5b8135611f1e816126d6565b60006020828403121561242b57600080fd5b8151611f1e816126d6565b6000806040838503121561244957600080fd5b612452836122d7565b9150612460602084016122d7565b90509250929050565b60006020828403121561247b57600080fd5b5035919050565b60006020828403121561249457600080fd5b5051919050565b6000806000606084860312156124b057600080fd5b8351925060208401519150604084015190509250925092565b600060208083528351808285015260005b818110156124f6578581018301518582016040015282016124da565b81811115612508576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156125a35784516001600160a01b03168352938301939183019160010161257e565b50506001600160a01b03969096166060850152505050608001529392505050565b600061ffff8083168185168083038211156125e1576125e1612695565b01949350505050565b600082198211156125fd576125fd612695565b500190565b60008261261f57634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561263e5761263e612695565b500290565b60008282101561265557612655612695565b500390565b600181811c9082168061266e57607f821691505b6020821081141561268f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038116811461130457600080fd5b801515811461130457600080fdfea264697066735822122017d9d7ad083747367639faf73289457d68dbf58e0de789722b1efc7f3c2f63a164736f6c63430008070033
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.